:root {
    color-scheme: light;
    --ink: #0b1830;
    --navy: #0f2b63;
    --navy-soft: #dfe8f7;
    --green: #238558;
    --green-soft: #dff3e8;
    --paper: #fbfaf6;
    --paper-deep: #f1eee5;
    --line: #d8d5ca;
    --muted: #687083;
    --white: #fffefb;
    --shadow: 0 24px 70px rgba(15, 43, 99, 0.12);
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(rgba(15, 43, 99, 0.035) 1px, transparent 1px),
        var(--paper);
    background-size: 100% 32px;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 17px;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--navy);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

a:hover {
    color: var(--green);
}

.shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(15, 43, 99, 0.12);
    background: rgba(251, 250, 246, 0.88);
    backdrop-filter: blur(18px);
}

.nav {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--navy-soft);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(15, 43, 99, 0.1);
}

.brand-mark svg {
    width: 26px;
    height: 26px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 15px;
    font-weight: 600;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
    color: var(--navy);
}

main {
    min-height: calc(100vh - 160px);
}

.hero {
    position: relative;
    padding: 104px 0 88px;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 520px;
    height: 520px;
    right: -180px;
    top: 34px;
    border: 64px solid rgba(15, 43, 99, 0.055);
    border-left-color: rgba(35, 133, 88, 0.1);
    border-radius: 50%;
    transform: rotate(28deg);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: center;
    gap: 72px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin-top: 0;
    font-family: "Songti SC", "STSong", serif;
    line-height: 1.25;
    letter-spacing: -0.035em;
}

h1 {
    max-width: 780px;
    margin-bottom: 24px;
    font-size: clamp(44px, 7vw, 78px);
    font-weight: 800;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(30px, 4vw, 46px);
}

h3 {
    margin-bottom: 10px;
    font-size: 23px;
}

.lead {
    max-width: 700px;
    margin: 0 0 34px;
    color: #445069;
    font-size: clamp(18px, 2vw, 22px);
}

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

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 21px;
    border: 1px solid var(--navy);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button.primary {
    color: white;
    background: var(--navy);
    box-shadow: 0 12px 28px rgba(15, 43, 99, 0.2);
}

.button.secondary {
    color: var(--navy);
    background: rgba(255, 254, 251, 0.74);
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary:hover {
    color: white;
    background: #173b80;
}

.paper-card {
    position: relative;
    min-height: 390px;
    padding: 34px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: rotate(1.4deg);
}

.paper-card::before {
    content: "";
    position: absolute;
    inset: 14px;
    pointer-events: none;
    border: 1px dashed rgba(15, 43, 99, 0.16);
    border-radius: 19px;
}

.timer-visual {
    width: 180px;
    height: 180px;
    margin: 28px auto 34px;
    display: grid;
    place-items: center;
    color: var(--navy);
    border: 12px solid var(--navy);
    border-left-color: var(--green);
    border-radius: 50%;
    font-family: "Avenir Next Condensed", sans-serif;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transform: rotate(-8deg);
}

.timer-visual span {
    transform: rotate(8deg);
}

.paper-note {
    margin: 0;
    padding-top: 20px;
    color: var(--muted);
    border-top: 2px solid var(--navy-soft);
    font-family: "Kaiti SC", "STKaiti", serif;
    font-size: 19px;
    text-align: center;
}

.section {
    padding: 82px 0;
}

.section.tinted {
    background: rgba(223, 232, 247, 0.42);
    border-top: 1px solid rgba(15, 43, 99, 0.08);
    border-bottom: 1px solid rgba(15, 43, 99, 0.08);
}

.section-intro {
    max-width: 690px;
    margin-bottom: 38px;
    color: var(--muted);
}

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

.feature-card,
.trust-card {
    padding: 28px;
    background: rgba(255, 254, 251, 0.9);
    border: 1px solid var(--line);
    border-radius: 22px;
}

.feature-number {
    width: 40px;
    height: 40px;
    margin-bottom: 30px;
    display: grid;
    place-items: center;
    color: var(--green);
    background: var(--green-soft);
    border-radius: 50%;
    font-family: "Avenir Next", sans-serif;
    font-weight: 800;
}

.feature-card p,
.trust-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.page-hero {
    padding: 76px 0 44px;
}

.page-hero h1 {
    max-width: 900px;
    font-size: clamp(40px, 6vw, 66px);
}

.document {
    max-width: 860px;
    margin: 0 auto 90px;
    padding: clamp(28px, 6vw, 68px);
    background: rgba(255, 254, 251, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.document h2 {
    margin-top: 52px;
    padding-top: 8px;
    font-size: 30px;
}

.document h2:first-of-type {
    margin-top: 20px;
}

.document li + li {
    margin-top: 7px;
}

.meta-line {
    color: var(--muted);
    font-size: 15px;
}

.notice {
    margin: 26px 0;
    padding: 20px 22px;
    color: #24553f;
    background: var(--green-soft);
    border-left: 4px solid var(--green);
    border-radius: 0 16px 16px 0;
}

.support-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 30px;
    align-items: start;
}

.support-aside {
    position: sticky;
    top: 104px;
    padding: 28px;
    background: var(--navy);
    color: white;
    border-radius: 24px;
}

.support-aside h2 {
    font-size: 28px;
}

.support-aside p {
    color: rgba(255, 255, 255, 0.74);
}

.support-aside a {
    color: white;
}

.faq details {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
    list-style-position: outside;
}

.faq details p,
.faq details ol,
.faq details ul {
    color: var(--muted);
}

.site-footer {
    padding: 34px 0 46px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 14px;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

@media (max-width: 820px) {
    .hero {
        padding-top: 72px;
    }

    .hero-grid,
    .support-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 48px;
    }

    .paper-card {
        min-height: 340px;
        transform: none;
    }

    .feature-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .support-aside {
        position: static;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 16px;
    }

    .shell {
        width: min(100% - 28px, 1120px);
    }

    .nav {
        min-height: 66px;
    }

    .brand span:last-child {
        display: none;
    }

    .nav-links {
        gap: 14px;
        font-size: 14px;
    }

    .hero {
        padding: 58px 0 66px;
    }

    .section {
        padding: 62px 0;
    }

    .document {
        margin-bottom: 54px;
        border-radius: 20px;
    }

    .footer-row {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button {
        transition: none;
    }
}
