* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fb;
    color: #172033;
    line-height: 1.6;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.site-header {
    background: #0f172a;
    color: #ffffff;
    padding: 18px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.brand {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 18px;
    font-size: 14px;
}

nav a:hover {
    text-decoration: underline;
}

.page {
    background: #ffffff;
    margin-top: 32px;
    margin-bottom: 32px;
    padding: 36px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.hero {
    padding: 30px 0;
}

.hero h1 {
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 18px;
}

.hero p {
    max-width: 720px;
    font-size: 18px;
    color: #475569;
}

.button,
button {
    display: inline-block;
    background: #1d4ed8;
    color: #ffffff;
    border: 0;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.button:hover,
button:hover {
    background: #1e40af;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    background: #f8fafc;
}

.card h3 {
    margin-top: 0;
}

.info-box,
.notice {
    padding: 16px;
    background: #eef6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    margin: 18px 0;
}

.form {
    max-width: 520px;
    margin-top: 20px;
}

.form label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    margin-bottom: 14px;
    font-size: 15px;
}

.small {
    font-size: 13px;
    color: #64748b;
}

.site-footer {
    color: #64748b;
    padding: 26px 0;
    text-align: center;
    font-size: 14px;
}

.site-footer a {
    color: #1d4ed8;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 800px) {
    .nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav a {
        margin-left: 0;
        margin-right: 14px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .page {
        padding: 24px;
    }
}