:root {
    --ink: #14324d;
    --muted: #5e7389;
    --line: #d9e5ed;
    --paper: #ffffff;
    --canvas: #f4f9fc;
    --blue: #1f83e5;
    --blue-deep: #1662b4;
    --teal: #109d93;
    --teal-soft: #d9f4ef;
    --orange: #f39a45;
    --orange-soft: #fff1df;
    --blue-soft: #e5f3ff;
    --footer: #173754;
    --max-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue-deep); }

.container {
    width: min(100% - 48px, var(--max-width));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(20, 50, 77, .10);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 1px 0 rgba(20, 50, 77, .03);
    backdrop-filter: blur(12px);
}

.header-inner,
.footer-inner,
.download-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-inner { min-height: 68px; }

.brand {
    color: var(--ink);
    font-size: 20px;
    font-weight: 780;
    letter-spacing: 0;
}

.brand:hover { color: var(--blue-deep); }

.site-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 650;
}

.site-nav .nav-download {
    padding: 7px 14px;
    border-radius: 6px;
    background: var(--orange);
    color: #4b2a0a;
    font-weight: 780;
}

.site-nav .nav-download:hover { background: #ffb15f; color: #4b2a0a; }

.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #c9e5ed;
    background: #dff6f7;
}

/* Bright flat-color panels keep the hero lively without relying on gradients. */
.hero::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 32%;
    background: #b7ece7;
    content: "";
}

.hero::after {
    position: absolute;
    top: 52px;
    right: 10%;
    width: 88px;
    height: 10px;
    background: var(--orange);
    content: "";
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 354px;
    align-items: center;
    gap: 84px;
    min-height: 610px;
}

.hero-copy {
    max-width: 670px;
    padding: 88px 0;
}

.eyebrow {
    margin: 0 0 15px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
    max-width: 640px;
    margin-bottom: 20px;
    color: var(--ink);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 14px;
    color: var(--ink);
    font-size: 34px;
    font-weight: 780;
    line-height: 1.28;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 9px;
    color: var(--ink);
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: 0;
}

.hero-lede {
    max-width: 610px;
    margin-bottom: 30px;
    color: #3f617a;
    font-size: 20px;
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 780;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.button-primary { background: var(--orange); color: #4b2a0a; }
.button-primary:hover { background: #ffb15f; color: #4b2a0a; transform: translateY(-1px); }
.button-secondary { border-color: #78b8cf; background: rgba(255,255,255,.68); color: var(--blue-deep); }
.button-secondary:hover { border-color: var(--blue); background: #ffffff; color: var(--blue-deep); }

.hero-note {
    max-width: 600px;
    margin: 20px 0 0;
    color: #53738a;
    font-size: 14px;
}

.hero-visual {
    position: relative;
    align-self: end;
    justify-self: center;
    width: 306px;
    margin: 0;
    padding: 42px 25px 0;
    border: 1px solid rgba(31, 131, 229, .18);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: #eaf8ff;
    box-shadow: 0 18px 32px rgba(21, 79, 106, .14);
}

.hero-visual::before {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 52px;
    height: 8px;
    background: var(--blue);
    content: "";
}

.hero-visual::after {
    position: absolute;
    top: 20px;
    left: 80px;
    width: 26px;
    height: 8px;
    background: var(--teal);
    content: "";
}

.hero-visual img {
    display: block;
    width: 256px;
    height: 432px;
    filter: drop-shadow(0 16px 18px rgba(18, 54, 74, .23));
}

.section { padding: 94px 0; }
.section-muted { background: var(--canvas); }
.stack { display: grid; gap: 40px; }
.section-heading { max-width: 760px; }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 18px; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature-card {
    min-height: 186px;
    padding: 26px;
    border: 1px solid #d6e5eb;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(25, 75, 100, .05);
}

.feature-card:nth-child(3n+1) { border-top: 4px solid var(--blue); }
.feature-card:nth-child(3n+2) { border-top: 4px solid var(--teal); }
.feature-card:nth-child(3n+3) { border-top: 4px solid var(--orange); }
.feature-card p { margin-bottom: 0; color: var(--muted); }

.guide-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.guide-link {
    display: grid;
    min-height: 164px;
    gap: 10px;
    align-content: start;
    padding: 24px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--blue-soft);
}

.guide-link:nth-child(2) { background: var(--teal-soft); }
.guide-link:nth-child(3) { background: var(--orange-soft); }
.guide-link:nth-child(4) { background: #eeeaff; }
.guide-link:hover { border-color: #91c4e6; color: var(--ink); }
.guide-link span { color: var(--muted); font-size: 14px; font-weight: 750; }
.guide-link strong { color: var(--ink); font-size: 18px; line-height: 1.5; }

.faq-preview { max-width: 850px; }
.faq-list { display: grid; gap: 0; margin: 30px 0 20px; border-top: 1px solid var(--line); }
.faq-list > div { padding: 21px 0; border-bottom: 1px solid var(--line); }
.faq-list dt { color: var(--ink); font-weight: 780; }
.faq-list dd { margin: 8px 0 0; color: var(--muted); }
.text-link { color: var(--blue-deep); font-weight: 780; }

.download-band { padding: 58px 0; background: var(--blue-soft); border-top: 1px solid #c8e4f6; }
.download-band h2 { margin: 0; font-size: 29px; }
.download-band .eyebrow { margin-bottom: 4px; }

.site-footer { padding: 46px 0 24px; background: var(--footer); color: #d4e5ee; }
.site-footer strong { color: #ffffff; font-size: 18px; }
.site-footer p { margin: 4px 0 0; color: #a9c4d2; font-size: 14px; }
.site-footer nav, .filing { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer a:hover { color: #ffffff; }
.filing { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); color: #a9c4d2; font-size: 13px; }

.article-page { background: var(--canvas); }
.article-main { padding: 56px 0 88px; }
.article-shell, #content {
    max-width: 840px;
    margin: 0 auto;
    padding: 44px;
    border: 1px solid #d6e5eb;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(25, 75, 100, .05);
}

.article-shell > header { margin-bottom: 36px; padding-bottom: 26px; border-bottom: 3px solid var(--blue); }
.article-shell h1, #content .title { color: var(--ink); font-size: 42px; }
.article-shell .meta { color: var(--muted); font-size: 14px; }
.article-shell section, #content .outline-2 { margin: 32px 0; }
.article-shell p, .article-shell li, #content p, #content li { color: #405a70; }
.article-shell ul, .article-shell ol, #content ul, #content ol { padding-left: 22px; }
.article-shell a, #content a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }
.article-shell .faq-list { margin-bottom: 0; }
.article-shell .faq-list dt { font-size: 18px; }
.page-breadcrumb { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
#content { margin-top: 56px; margin-bottom: 88px; }
#content .title { margin-bottom: 26px; }
#content h2 { margin-top: 34px; color: var(--ink); font-size: 28px; }
#content h3 { margin-top: 28px; color: var(--ink); }

@media (max-width: 920px) {
    .hero-layout { grid-template-columns: minmax(0, 1fr) 306px; gap: 48px; }
    .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .container { width: min(100% - 32px, var(--max-width)); }
    .header-inner { min-height: 60px; }
    .site-nav { gap: 10px; font-size: 14px; }
    .site-nav a:not(.nav-download) { display: none; }
    .hero::before { width: 100%; height: 136px; top: auto; bottom: 0; }
    .hero::after { top: 28px; right: 24px; width: 54px; height: 7px; }
    .hero-layout { grid-template-columns: 1fr; gap: 0; min-height: 0; text-align: center; }
    .hero-copy { padding: 68px 0 32px; }
    .hero-actions { justify-content: center; }
    .hero-note { margin-right: auto; margin-left: auto; }
    .hero-visual { width: 284px; padding: 38px 14px 0; }
    .hero-visual img { width: 256px; }
    h1 { font-size: 40px; }
    h2 { font-size: 29px; }
    .hero-lede { font-size: 18px; }
    .section { padding: 62px 0; }
    .feature-grid, .guide-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 0; padding: 24px; }
    .guide-link { min-height: 130px; }
    .download-band-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
    .article-main { padding: 34px 0 60px; }
    .article-shell, #content { padding: 28px 22px; border-radius: 8px; }
    .article-shell h1, #content .title { font-size: 32px; }
    #content { margin-top: 34px; margin-bottom: 60px; }
}
