:root {
    --primary: #0f3f78;
    --primary-dark: #0b2d58;
    --primary-soft: #edf4ff;
    --accent: #d9a441;
    --accent-soft: #fff0c9;
    --text: #1d2430;
    --muted: #586779;
    --border: #dfe7f3;
    --surface: #f7f9fc;
    --white: #ffffff;
    --shadow: 0 14px 40px rgba(26, 53, 90, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #eef3fa;
    color: var(--text);
    line-height: 1.7;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-shell {
    min-height: 100vh;
}

.top-banner {
    background: var(--primary-dark);
    color: var(--white);
    font-size: 0.8rem;
    letter-spacing: 0.03em;
}

.top-banner-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.7rem 0;
    flex-wrap: wrap;
}

.banner-note {
    opacity: 0.8;
}

.site-header {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 30;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1rem 0;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 220px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, #1d5cb5 100%);
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-tag {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.brand-sub {
    font-size: 0.7rem;
    color: var(--muted);
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.menu,
.menu-fallback {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.menu a,
.menu-fallback a {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.45rem 0.7rem;
    display: inline-block;
    border-radius: 999px;
}

.menu a:hover,
.menu-fallback a:hover {
    background: var(--primary-soft);
    text-decoration: none;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.2rem 0.5rem 0.2rem 0.9rem;
}

.search-form input {
    border: 0;
    background: transparent;
    outline: none;
    min-width: 150px;
    padding: 0.7rem 0;
    color: var(--text);
}

.search-form button {
    border: 0;
    background: var(--primary);
    color: var(--white);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    cursor: pointer;
    font-weight: 600;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    width: 44px;
    height: 44px;
    padding: 0.5rem;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary-dark);
    margin: 5px 0;
}

.hero-section {
    background: linear-gradient(135deg, rgba(15,63,120,0.96), rgba(0,78,147,0.88));
    color: var(--white);
    padding: 5rem 0 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 2rem;
    align-items: center;
}

.eyebrow {
    margin: 0 0 0.8rem;
    color: var(--accent);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-copy h1 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.1;
    margin: 0 0 1rem;
    max-width: 640px;
}

.hero-copy p {
    max-width: 620px;
    color: rgba(255,255,255,0.86);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.9rem 1.5rem;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.button:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.button.primary {
    background: var(--accent);
    color: var(--primary-dark);
}

.button.secondary {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
}

.hero-panel {
    display: flex;
    justify-content: flex-end;
}

.panel-card {
    width: min(100%, 380px);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.card-label {
    display: inline-block;
    color: rgba(255,255,255,0.8);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.panel-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.panel-card a {
    color: var(--white);
    font-weight: 600;
}

.quick-links,
.content-grid {
    padding: 4rem 0;
}

.section-heading {
    margin-bottom: 1.5rem;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.8rem, 2vw, 2.4rem);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.quick-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.4rem 1.2rem;
    box-shadow: 0 8px 24px rgba(17, 31, 54, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-card:hover {
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.quick-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.2rem;
    color: var(--primary-dark);
}

.quick-card p {
    margin: 0;
    color: var(--muted);
}

.info-strip {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.info-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.info-item {
    background: var(--primary-soft);
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.label {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}

.info-item strong {
    font-size: 1.05rem;
    color: var(--primary-dark);
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 1.4rem;
}

.feature-panel,
.content-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(17, 31, 54, 0.04);
}

.feature-panel h2,
.content-card h1,
.content-card h2 {
    margin-top: 0;
    color: var(--primary-dark);
    line-height: 1.25;
}

.checklist {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
    color: var(--text);
}

.muted-panel {
    background: linear-gradient(180deg, #fffaf0 0%, #fffefb 100%);
}

.page-shell {
    padding: 3rem 0 4rem;
}

.page-shell.narrow {
    max-width: 760px;
}

.entry-content > *:first-child,
.content-card > *:first-child {
    margin-top: 0;
}

.text-center {
    text-align: center;
}

.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.9);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 1.2rem;
}

.site-footer h4 {
    margin: 0 0 0.8rem;
    color: var(--white);
    font-size: 1rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
    color: rgba(255,255,255,0.8);
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.4rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 1.5rem;
    padding-top: 1rem;
    text-align: center;
    color: rgba(255,255,255,0.7);
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 960px) {
    .hero-grid,
    .two-column-layout,
    .footer-grid,
    .quick-grid,
    .info-strip-grid {
        grid-template-columns: 1fr 1fr;
    }

    .main-navigation {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
    }

    .site-header .search-form {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-grid,
    .quick-grid,
    .two-column-layout,
    .info-strip-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding-top: 4rem;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .brand-block {
        min-width: auto;
    }

    .site-header .search-form {
        display: flex;
        width: 100%;
    }

    .menu-toggle {
        margin-left: auto;
    }

    .search-form {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
