:root {
    --primary: #465f9c;
    --primary-dark: #304674;
    --accent: #2f8f61;
    --background: #f7f8fc;
    --surface: #ffffff;
    --text: #1f2937;
    --muted: #667085;
    --border: #e4e7ec;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.65;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text);
    font-weight: 600;
}

.hero {
    padding: 96px 0 84px;
    background:
        linear-gradient(
            135deg,
            #eef2ff 0%,
            #f8fafc 55%,
            #eefbf5 100%
        );
}

.hero-content {
    max-width: 820px;
}

.eyebrow {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: #e5ebff;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

h1 {
    margin: 0 0 20px;
    font-size: clamp(2.5rem, 6vw, 4.7rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-top: 0;
    line-height: 1.2;
}

h3 {
    margin-top: 0;
}

.hero p {
    max-width: 720px;
    font-size: 1.2rem;
    color: var(--muted);
}

.buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.button {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 10px;
    background: var(--primary);
    color: white;
    font-weight: 700;
}

.button:hover {
    text-decoration: none;
    background: var(--primary-dark);
}

.button.secondary {
    background: white;
    color: var(--primary);
    border: 1px solid var(--border);
}

section {
    padding: 72px 0;
}

.section-intro {
    max-width: 720px;
    color: var(--muted);
    margin-bottom: 36px;
}

.grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 6px 24px rgba(16, 24, 40, 0.05);
}

.card p {
    color: var(--muted);
    margin-bottom: 0;
}

.highlight {
    background: var(--primary-dark);
    color: white;
}

.highlight p {
    color: #d9e2ff;
}

.content-page {
    padding: 64px 0 90px;
}

.content-page article {
    max-width: 850px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: clamp(24px, 5vw, 48px);
}

.content-page h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.content-page h2 {
    font-size: 1.5rem;
    margin-top: 36px;
}

.content-page ul {
    padding-left: 22px;
}

.notice {
    padding: 16px 18px;
    border-radius: 12px;
    background: #eef2ff;
    border-left: 4px solid var(--primary);
}

footer {
    padding: 30px 0;
    background: #172033;
    color: #d0d5dd;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

footer a {
    color: white;
}

@media (max-width: 640px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
    }

    .nav-links {
        gap: 14px;
    }

    .hero {
        padding: 68px 0 60px;
    }

    section {
        padding: 56px 0;
    }
}