:root {
    color-scheme: light;
    --bg: #f5f8fd;
    --bg-strong: #eaf1fb;
    --surface: #ffffff;
    --surface-soft: #f8fbff;
    --text: #10213a;
    --muted: #5b6d86;
    --border: #dbe5f2;
    --accent: #2563eb;
    --accent-strong: #1d4ed8;
    --accent-soft: #e8f0ff;
    --green: #047857;
    --green-soft: #e8f8f1;
    --shadow: 0 24px 70px rgba(27, 55, 100, 0.12);
    --radius: 22px;
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --bg: #07111f;
        --bg-strong: #0a1729;
        --surface: #0d1b2f;
        --surface-soft: #0a1729;
        --text: #e7f1ff;
        --muted: #9db1ca;
        --border: #1d324e;
        --accent: #7dd3fc;
        --accent-strong: #38bdf8;
        --accent-soft: rgba(56, 189, 248, 0.12);
        --green: #34d399;
        --green-soft: rgba(52, 211, 153, 0.12);
        --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100%;
    background:
        radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.12), transparent 34rem),
        radial-gradient(circle at 90% 8%, rgba(4, 120, 87, 0.09), transparent 30rem),
        var(--bg);
    color: var(--text);
    font: 16px/1.65 "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-strong);
    text-decoration: underline;
}

img {
    max-width: 100%;
}

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

h1,
h2,
h3 {
    letter-spacing: -0.035em;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 18px 0;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand:hover {
    color: var(--text);
    text-decoration: none;
}

.brand img {
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.22);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 13px;
    font-weight: 600;
}

.site-nav a {
    color: var(--muted);
}

.site-nav a:hover {
    color: var(--accent);
    text-decoration: none;
}

.site-nav .lang-switch {
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font-size: 12px;
}

.site-nav .lang-switch:hover {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
    color: var(--accent);
}

main {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: center;
    gap: 64px;
    padding: 82px 0 72px;
}

.pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 18px;
    padding: 6px 12px;
    border: 1px solid color-mix(in srgb, var(--green) 32%, transparent);
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 22px;
    font-size: clamp(40px, 6.2vw, 72px);
    line-height: 1.02;
}

.lead {
    max-width: 720px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: clamp(17px, 1.6vw, 20px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.button:hover {
    color: var(--text);
    border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
    background: var(--surface-soft);
    text-decoration: none;
    transform: translateY(-1px);
}

.button.primary {
    border-color: var(--accent);
    background: var(--accent);
    color: #ffffff;
}

.button.primary:hover {
    background: var(--accent-strong);
}

.button.ghost {
    background: transparent;
}

.fine-print {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 12px;
}

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

.window {
    width: min(100%, 460px);
    border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    overflow: hidden;
    transform: rotate(1.5deg);
}

.window-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
    background: var(--surface-soft);
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.dot.red {
    background: #fb7185;
}

.dot.yellow {
    background: #fbbf24;
}

.dot.green {
    background: #34d399;
}

.window-title {
    margin-left: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
}

.window-body {
    padding: 22px;
}

.window-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 11px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
    font-size: 12px;
}

.window-row:last-of-type {
    border-bottom: 0;
}

.row-label {
    color: var(--muted);
}

.row-value {
    color: var(--text);
    font-weight: 600;
    text-align: right;
}

.window-separator {
    height: 1px;
    margin: 8px 0 16px;
    background: var(--border);
}

.window-status {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px var(--green-soft);
}

.section {
    padding: 66px 0;
    border-top: 1px solid var(--border);
}

.section-head {
    max-width: 760px;
    margin-bottom: 30px;
}

.eyebrow {
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.section h2 {
    margin-bottom: 12px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
}

.section-head > p:last-child,
.section-copy {
    color: var(--muted);
}

.section-copy {
    margin-bottom: 18px;
}

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

.feature-card {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface) 82%, transparent);
}

.feature-card h3 {
    margin-bottom: 8px;
    font-size: 16px;
}

.feature-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 56px;
    align-items: start;
}

.inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
    font-size: 13px;
    font-weight: 700;
}

.steps {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps li {
    display: flex;
    gap: 14px;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
}

.step-number {
    display: grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

.steps strong {
    display: block;
    margin-bottom: 3px;
    font-size: 14px;
}

.steps p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13px;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.link-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    color: var(--text);
}

.link-card:hover {
    color: var(--text);
    border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
    text-decoration: none;
    transform: translateY(-1px);
    transition: transform 150ms ease, border-color 150ms ease;
}

.link-label {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.link-value {
    font-size: 16px;
    font-weight: 700;
}

.link-note {
    color: var(--muted);
    font-size: 13px;
}

.notice-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 24px 0 72px;
    padding: 24px;
    border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--border));
    border-radius: 20px;
    background: var(--accent-soft);
}

.notice-band div {
    max-width: 840px;
    color: var(--muted);
    font-size: 13px;
}

.notice-band strong {
    color: var(--text);
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 24px 0 34px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}

.footer-separator {
    padding: 0 6px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-weight: 600;
}

.footer-links a {
    color: var(--muted);
}

.legal-page {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: 58px 0 80px;
}

.legal-page h1 {
    max-width: 820px;
    margin-bottom: 10px;
    font-size: clamp(38px, 5.4vw, 62px);
    line-height: 1.05;
}

.legal-meta {
    margin-bottom: 36px;
    color: var(--muted);
    font-size: 13px;
}

.legal-card {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
}

.legal-page h2 {
    margin: 34px 0 8px;
    font-size: 21px;
}

.legal-page h2:first-child {
    margin-top: 0;
}

.legal-page p,
.legal-page li {
    color: var(--muted);
    font-size: 14px;
}

.legal-page ul {
    margin: 8px 0 0;
    padding-left: 22px;
}

.legal-page li + li {
    margin-top: 6px;
}

.legal-callout {
    margin: 22px 0;
    padding: 16px 18px;
    border-left: 3px solid var(--accent);
    border-radius: 0 12px 12px 0;
    background: var(--accent-soft);
    color: var(--text);
    font-size: 14px;
}

.legal-page code {
    padding: 2px 5px;
    border-radius: 5px;
    background: var(--surface-soft);
    font-family: "Cascadia Code", "Consolas", monospace;
    font-size: 0.92em;
}

@media (max-width: 980px) {
    .hero,
    .split-section {
        grid-template-columns: 1fr;
    }

    .hero {
        gap: 34px;
        padding-top: 56px;
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .window {
        transform: none;
    }

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

@media (max-width: 700px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 14px 0;
    }

    .site-nav {
        justify-content: flex-start;
        gap: 8px 14px;
    }

    main {
        width: min(100% - 26px, 1180px);
    }

    .hero {
        padding: 42px 0 48px;
    }

    .hero h1 {
        font-size: clamp(34px, 11vw, 52px);
    }

    .section {
        padding: 48px 0;
    }

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

    .notice-band,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer {
        width: min(100% - 26px, 1180px);
    }

    .legal-page {
        width: min(100% - 26px, 900px);
        padding-top: 40px;
    }

    .legal-card {
        padding: 20px;
    }
}
