:root {
    --bg: #06111d;
    --bg-soft: #0d2035;
    --surface: rgba(11, 27, 46, 0.78);
    --surface-strong: rgba(13, 33, 56, 0.92);
    --line: rgba(163, 211, 255, 0.18);
    --text: #ecf6ff;
    --muted: #94abc3;
    --accent: #90e8ff;
    --accent-strong: #4ab8ff;
    --accent-soft: rgba(144, 232, 255, 0.12);
    --shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
    --radius: 30px;
    --font-display: "Bahnschrift", "Microsoft YaHei", sans-serif;
    --font-body: "Trebuchet MS", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: var(--font-body);
    background:
        radial-gradient(circle at 12% 18%, rgba(74, 184, 255, 0.24), transparent 24%),
        radial-gradient(circle at 82% 10%, rgba(144, 232, 255, 0.15), transparent 22%),
        linear-gradient(145deg, #04101a 0%, #071625 42%, #091c30 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.skip-link {
    position: absolute;
    left: -999px;
}

.skip-link:focus {
    left: 24px;
    top: 20px;
    z-index: 100;
    padding: 10px 14px;
    color: #031018;
    background: #fff;
}

.site-backdrop {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 0%, rgba(144, 232, 255, 0.08), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 32%);
}

.wrap {
    width: min(1220px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(20px);
    background: rgba(3, 10, 18, 0.76);
    border-bottom: 1px solid var(--line);
}

.site-topline,
.header-inner,
.nav,
.btn-row,
.metric-row,
.route-grid,
.footer-bar {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.site-topline {
    justify-content: space-between;
    padding: 14px 0;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.header-inner {
    align-items: center;
    justify-content: space-between;
    padding: 18px 0 22px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #04101a;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 14px 32px rgba(74, 184, 255, 0.28);
}

.brand-copy strong,
.board-title,
.footer-block h3 {
    display: block;
    font-family: var(--font-display);
}

.brand-copy strong {
    font-size: 20px;
}

.brand-copy span,
.meta,
.footer-bar,
.footer-eyebrow,
.eyebrow {
    color: var(--muted);
}

.nav {
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
}

.nav-link,
.btn,
.btn-alt,
.text-link,
.route-grid a {
    transition: 0.2s ease;
}

.nav-link {
    padding: 10px 16px;
    border-radius: 999px;
}

.nav-link:hover,
.nav-link.is-active {
    background: var(--accent-soft);
    color: #fff;
}

.btn,
.btn-alt {
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    font-weight: 700;
}

.btn {
    color: #04111c;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.btn-alt {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.site-main {
    position: relative;
    z-index: 1;
    padding: 26px 0 80px;
}

.hero,
.showcase,
.insight-band,
.panel-grid,
.page-hero,
.split,
.article-shell,
.link-grid,
.steps,
.cta-band {
    margin-top: 28px;
}

.hero-portal,
.page-hero,
.article-shell,
.split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 28px;
}

.hero-portal {
    min-height: calc(100vh - 174px);
    align-items: center;
}

.hero-copy h1,
.page-hero h1,
.article-shell h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(44px, 6vw, 78px);
    line-height: 0.98;
}

.section-heading h2,
.showcase-card p,
.cta-band h2,
.panel h2,
.card h3,
.article-body h2 {
    margin-top: 0;
}

.lead,
p,
li {
    line-height: 1.8;
}

.eyebrow,
.footer-eyebrow {
    margin: 0 0 12px;
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.hero-board,
.showcase-card,
.panel,
.tile,
.card,
.article-body,
.side-card,
.footer-block,
.cta-band,
.steps article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-board,
.panel,
.tile,
.card,
.side-card,
.footer-block,
.steps article {
    padding: 26px;
}

.hero-board {
    background: linear-gradient(180deg, rgba(13, 33, 56, 0.9), rgba(8, 22, 38, 0.88));
}

.bullet,
.footer-links {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.bullet li,
.footer-links li {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.metric-row article {
    min-width: 128px;
    padding: 18px 20px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.metric-row strong {
    display: block;
    font-size: 28px;
    font-family: var(--font-display);
}

.route-grid {
    margin-top: 22px;
}

.route-grid a {
    flex: 1 1 46%;
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.route-grid a:hover,
.text-link:hover {
    color: var(--accent);
}

.showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 24px;
    align-items: start;
}

.showcase-grid,
.panel-grid,
.link-grid,
.steps,
.footer-grid {
    display: grid;
    gap: 20px;
}

.showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.showcase-card {
    min-height: 200px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-index {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    border-radius: 16px;
    color: #06111d;
    background: linear-gradient(135deg, var(--accent), #d0f4ff);
    font-weight: 700;
}

.insight-band,
.cta-band {
    padding: 28px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border-radius: 32px;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(144, 232, 255, 0.16), rgba(74, 184, 255, 0.06));
}

.article-heading {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
}

.panel-grid,
.link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card h3,
.card h3 {
    font-size: 24px;
    line-height: 1.35;
}

.page-hero,
.split,
.article-shell {
    align-items: start;
}

.stack,
.article-list,
.faq-list,
.side-col {
    display: grid;
    gap: 18px;
}

.steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps article span {
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    margin-bottom: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
}

.article-body {
    padding: 34px;
}

.pager {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.pager-item {
    min-width: 46px;
    min-height: 46px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.pager-link:hover,
.pager-current {
    color: var(--accent);
    background: var(--accent-soft);
}

.pager-disabled {
    opacity: 0.45;
}

.site-footer {
    padding: 0 0 42px;
}

.footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-bar {
    justify-content: space-between;
    padding-top: 18px;
    margin-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 84px;
    transform: translateX(-50%);
    padding: 12px 18px;
    border-radius: 999px;
    color: #05111b;
    background: #fff;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-8px);
}

@media (max-width: 1080px) {
    .header-inner,
    .hero-portal,
    .showcase,
    .page-hero,
    .split,
    .article-shell,
    .article-heading,
    .insight-band,
    .cta-band {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .panel-grid,
    .link-grid,
    .steps,
    .footer-grid,
    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        width: 100%;
    }

    .hero-portal {
        min-height: auto;
    }
}

@media (max-width: 720px) {
    .wrap {
        width: min(100% - 24px, 1220px);
    }

    .hero-copy h1,
    .page-hero h1,
    .article-shell h1 {
        font-size: 36px;
    }
}
