:root {
    --bg: #07111d;
    --panel: rgba(9, 20, 36, 0.72);
    --panel-strong: rgba(11, 25, 44, 0.9);
    --line: rgba(255, 255, 255, 0.1);
    --text: #eef4ff;
    --muted: #9cb0cb;
    --accent: #6fd4ff;
    --accent-warm: #f8c978;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Noto Serif SC", "Source Han Serif SC", "Microsoft YaHei", serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(111, 212, 255, 0.16), transparent 32%),
        radial-gradient(circle at 85% 15%, rgba(248, 201, 120, 0.16), transparent 24%),
        linear-gradient(180deg, #08111b 0%, #0a1625 48%, #08111b 100%);
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
}

.page-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 24px 0 48px;
}

.site-header,
.site-footer,
.hero,
.content-card,
.check-card,
.faq-item,
.metric-card {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 22px;
    background: rgba(6, 14, 24, 0.78);
    border: 1px solid var(--line);
    border-radius: 999px;
    position: sticky;
    top: 18px;
    z-index: 10;
    box-shadow: var(--shadow);
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.brand-text {
    width: 138px;
    max-width: 42vw;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}

.site-nav a,
.site-footer a {
    color: var(--text);
    text-decoration: none;
}

.site-nav a {
    font-size: 0.96rem;
    color: var(--muted);
    transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible,
.button:hover,
.button:focus-visible {
    color: #ffffff;
    transform: translateY(-1px);
}

.hero,
.content-section,
.site-footer {
    margin-top: 26px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 24px;
    padding: 42px;
    background: linear-gradient(145deg, rgba(10, 21, 38, 0.9), rgba(8, 16, 28, 0.7));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.eyebrow,
.section-heading p {
    margin: 0 0 14px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--accent);
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(2.3rem, 5vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 20px;
    max-width: 12ch;
}

.lead,
.content-card p,
.faq-item p,
.site-footer p,
.check-card p {
    color: var(--muted);
    line-height: 1.9;
    font-size: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button-primary {
    color: #07111d;
    background: linear-gradient(135deg, var(--accent), #d8f4ff);
}

.button-secondary {
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
}

.hero-panel {
    display: grid;
    gap: 16px;
    align-content: end;
}

.metric-card,
.content-card,
.check-card,
.faq-item,
.subhero,
.prose-panel,
.link-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.metric-card {
    padding: 22px;
}

.metric-card span {
    display: block;
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.metric-card strong {
    font-size: 1.08rem;
    line-height: 1.5;
}

.section-heading {
    margin-bottom: 18px;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 0;
    max-width: 15ch;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.content-card,
.faq-item {
    padding: 28px;
}

h3 {
    font-size: 1.38rem;
    margin-bottom: 12px;
}

h4 {
    font-size: 1rem;
    color: var(--accent-warm);
    margin: 14px 0 8px;
    letter-spacing: 0.04em;
}

.accent-section {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(12, 26, 42, 0.85), rgba(7, 14, 25, 0.7));
}

.check-grid,
.faq-list {
    display: grid;
    gap: 18px;
}

.check-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.check-card {
    padding: 24px;
}

.faq-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 30px;
    background: var(--panel-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.site-footer p {
    margin-bottom: 0;
    max-width: 50ch;
}

.subhero,
.prose-panel {
    padding: 34px;
}

.trail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.92rem;
}

.trail a,
.link-card {
    color: var(--text);
    text-decoration: none;
}

.trail a:hover,
.trail a:focus-visible,
.link-card:hover,
.link-card:focus-visible {
    color: #ffffff;
}

.prose-panel {
    margin-top: 20px;
}

.prose-panel h2,
.prose-panel h3,
.prose-panel h4 {
    max-width: none;
}

.prose-panel p,
.prose-panel li {
    color: var(--muted);
    line-height: 1.92;
    font-size: 1rem;
}

.prose-panel ul {
    margin: 0 0 18px;
    padding-left: 20px;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.link-card {
    display: block;
    padding: 28px;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.link-card span {
    display: block;
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.link-card strong {
    display: block;
    font-size: 1.48rem;
    margin-bottom: 10px;
}

.link-card p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.8;
}

.link-card:hover,
.link-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(111, 212, 255, 0.28);
    background: rgba(14, 29, 48, 0.84);
}

@media (max-width: 1024px) {
    .hero,
    .article-grid,
    .check-grid,
    .faq-list,
    .link-grid {
        grid-template-columns: 1fr;
    }

    h1,
    h2 {
        max-width: none;
    }
}

@media (max-width: 720px) {
    .page-shell {
        width: min(100% - 24px, 1180px);
        padding-top: 14px;
    }

    .site-header,
    .site-footer {
        border-radius: 28px;
    }

    .site-header,
    .site-footer,
    .hero,
    .accent-section,
    .content-card,
    .faq-item,
    .subhero,
    .prose-panel,
    .link-card {
        padding-left: 18px;
        padding-right: 18px;
    }

    .site-header,
    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav {
        justify-content: flex-start;
    }

    h1 {
        font-size: 2.3rem;
    }
}