﻿:root {
    --bg: #ffffff;
    --bg-soft: #f6f8fd;
    --surface: #ffffff;
    --ink: #12172b;
    --ink-2: #2b3147;
    --muted: #5f6780;
    --line: #e5e8f2;
    --brand: #3446a8;
    --brand-2: #6d5bd0;
    --brand-3: #8d7cf0;
    --green: #1f8a5b;
    --amber: #c47a15;
    --shadow: 0 18px 50px rgba(28, 38, 92, .08);
    --radius: 18px;
    --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --mono: Consolas, "SFMono-Regular", "Cascadia Code", monospace;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: clip;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
code, pre { font-family: var(--mono); }

:focus-visible {
    outline: 2px solid var(--brand-2);
    outline-offset: 2px;
}

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

.container.narrow { max-width: 840px; }

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    background: var(--ink);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    transition: top .15s;
}
.skip-link:focus { top: 12px; }

.ico {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex: none;
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    box-shadow: 0 10px 24px rgba(52, 70, 168, .24);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(52, 70, 168, .3); }
.btn-ghost {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
}
.btn-ghost:hover { border-color: #cfd6ea; background: #fafbff; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { transform: translateY(-1px); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-head {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(229,232,242,.8);
}
.head-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-logo { border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 16px; letter-spacing: .01em; }
.brand-text small { font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: 6px; }
.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
    color: #3b435c;
    cursor: pointer;
}
.nav-link:hover { background: #f1f3fa; color: var(--ink); }
.nav-link.is-active { color: var(--brand); background: #eef1fb; }
.nav-extra { display: none; }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang-switch {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--muted);
    border: 1px solid var(--line);
    padding: 6px 10px;
    border-radius: 8px;
}
.lang-switch:hover { color: var(--brand); border-color: #cfd6ea; }
.login-link { font-size: 14px; color: var(--muted); }
.login-link:hover { color: var(--ink); }
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

.dl-menu { position: relative; }
.dl-menu > summary { list-style: none; }
.dl-menu > summary::-webkit-details-marker { display: none; }
.dl-pop {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 340px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(18, 23, 43, .16);
    padding: 12px;
}
.dl-pop-title { font-size: 12px; color: var(--muted); padding: 4px 8px 8px; }
.dl-row { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; }
.dl-row:hover { background: #f6f7fb; }
.dl-row .ico { width: 22px; height: 22px; color: var(--brand); }
.dl-row b { display: block; font-size: 14px; }
.dl-row small { display: block; font-size: 12px; color: var(--muted); }
.dl-more {
    display: block;
    margin-top: 6px;
    padding: 10px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    font-weight: 700;
    color: var(--brand);
}

/* ---------- hero ---------- */
.hero {
    position: relative;
    padding: 72px 0 64px;
    background: linear-gradient(180deg, #f2f5ff 0%, #fbfcff 58%, #fff 100%);
    overflow: hidden;
}
.hero-glow {
    position: absolute;
    inset: -30% -10% auto;
    height: 80%;
    background:
        radial-gradient(560px 340px at 18% 20%, rgba(109,91,208,.16), transparent 70%),
        radial-gradient(520px 320px at 86% 12%, rgba(52,70,168,.12), transparent 70%);
    pointer-events: none;
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: 54px;
    align-items: center;
}
.hero-copy { max-width: 620px; min-width: 0; }
.hero-visual, .scene-copy, .scene-visual, .scene-grid > *, .docs-content, .cta-inner > *, .hero-grid > * { min-width: 0; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #e9edfb;
    border: 1px solid #dbe2f7;
    color: var(--brand);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .03em;
}
.hero-title {
    overflow-wrap: anywhere;
    margin: 18px 0 16px;
    font-size: clamp(38px, 4.6vw, 62px);
    line-height: 1.08;
    letter-spacing: -.025em;
    font-weight: 800;
}
.hero-title-en { font-size: clamp(34px, 3.5vw, 48px); text-wrap: balance; }
.hero-title .accent {
    display: inline-block;
    background: linear-gradient(120deg, var(--brand), var(--brand-2) 58%, var(--brand-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-sub { overflow-wrap: anywhere; font-size: 16.5px; color: #4b5470; max-width: 560px; }
.hero-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-chips li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #3b435c;
    background: #fff;
    border: 1px solid var(--line);
    padding: 5px 10px;
    border-radius: 999px;
}
.hero-chips .ico { width: 13px; height: 13px; color: var(--green); }

.dl-panel {
    margin: 26px 0 16px;
    max-width: 520px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 18px 44px rgba(28, 38, 92, .08);
}
.dl-panel-head { display: flex; flex-direction: column; gap: 2px; padding: 2px 4px 10px; }
.dl-panel-title { font-weight: 800; font-size: 15px; }
.dl-panel-sub { font-size: 12.5px; color: var(--muted); }
.dl-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: background .16s, border-color .16s;
}
.dl-opt:hover { background: #f6f7fb; border-color: #e8ebf5; }
.dl-opt-main { background: linear-gradient(135deg, #f2f4ff, #fbfbff); border-color: #e3e7fb; }
.dl-opt-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e6e9f4;
    display: grid;
    place-items: center;
    color: var(--brand);
    flex: none;
}
.dl-opt-icon .ico { width: 22px; height: 22px; }
.dl-opt-copy { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.dl-opt-copy b { font-size: 14px; }
.dl-opt-copy small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-opt-cta {
    margin-left: auto;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--brand);
    background: #e9edfb;
    padding: 6px 10px;
    border-radius: 8px;
    flex: none;
}
.dl-opt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.dl-panel-foot {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--line);
    margin-top: 12px;
    padding: 10px 4px 0;
    font-size: 12px;
    color: var(--muted);
}
.dl-panel-foot a { color: var(--brand); font-weight: 700; white-space: nowrap; }

.hero-visual {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-window {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border: 1px solid #e3e7f4;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(20, 30, 80, .18);
    overflow: hidden;
    transform: rotate(-1.2deg);
}
.pw-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 11px 14px;
    background: #f7f8fc;
    border-bottom: 1px solid #eceff7;
}
.pw-dot { width: 9px; height: 9px; border-radius: 50%; background: #d7dbe8; }
.pw-title { margin-left: 8px; font-size: 12px; color: #6b7387; }
.pw-live {
    margin-left: auto;
    font-size: 11px;
    color: var(--green);
    background: #e6f4ec;
    padding: 3px 8px;
    border-radius: 999px;
}
.pw-body { display: grid; grid-template-columns: 132px minmax(0, 1fr); min-height: 360px; }
.pw-side {
    background: #fbfcff;
    border-right: 1px solid #eef1f8;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pw-side-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6b7387;
    padding: 8px;
    border-radius: 8px;
}
.pw-side-item.is-active { background: #eef1fb; color: var(--brand); font-weight: 700; }
.pw-ico { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .5; }
.pw-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.pw-task { border: 1px solid #e8ebf5; border-radius: 14px; padding: 12px; background: #fff; }
.pw-task-head { display: flex; align-items: center; gap: 8px; }
.pw-task-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.pw-task-head b { font-size: 13px; display: block; }
.pw-task-head small { font-size: 10.5px; color: var(--muted); display: block; }
.pw-status {
    margin-left: auto;
    font-size: 10.5px;
    color: var(--amber);
    background: #fdf3e5;
    padding: 3px 8px;
    border-radius: 999px;
}
.pw-steps { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.pw-steps li { position: relative; padding-left: 18px; font-size: 11.5px; color: #6b7387; }
.pw-steps li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dce0ec;
}
.pw-steps li.is-done::before { background: #2b8a5a; }
.pw-steps li.is-active::before { background: var(--amber); box-shadow: 0 0 0 4px rgba(196,122,21,.12); }
.pw-chat { display: flex; flex-direction: column; gap: 8px; }
.pw-bubble { max-width: 92%; padding: 9px 11px; border-radius: 12px; font-size: 11.5px; line-height: 1.5; }
.pw-bubble.is-user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.pw-bubble.is-bot { background: #f5f6fb; color: var(--ink-2); border-bottom-left-radius: 4px; }
.pw-bot-name { display: block; margin-bottom: 3px; font-size: 10px; font-weight: 800; color: var(--brand); }
.pw-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.pw-chips span {
    font-size: 9.5px;
    color: #6b7387;
    background: #fff;
    border: 1px solid #e6e9f4;
    padding: 2px 6px;
    border-radius: 999px;
}
.pw-foot { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: #6b7387; }
.pw-pulse { width: 7px; height: 7px; border-radius: 50%; background: #2b8a5a; box-shadow: 0 0 0 4px rgba(43,138,90,.12); }
.hero-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(20, 30, 80, .12);
    font-size: 12px;
    font-weight: 700;
}
.hero-float .ico { width: 16px; height: 16px; color: var(--green); }
.hero-float-a { top: -18px; right: -8px; z-index: 2; }
.hero-float-b { bottom: -22px; left: 24px; z-index: 2; }

.trust-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 18px 0; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: #4b5470; }
.trust-item .ico { width: 16px; height: 16px; color: var(--green); }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-soft { background: linear-gradient(180deg, #f7f9ff, #fbfcff); }
.section-dark { background: #12172b; color: #e9ecf8; }
.section-head { max-width: 780px; margin-bottom: 36px; }
.section-head h2 {
    margin: 10px 0;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.2;
    letter-spacing: -.02em;
}
.section-head p { color: var(--muted); font-size: 16px; }
.section-head-light h2 { color: #fff; }
.section-head-light p { color: #aeb6d4; }
.eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand);
}
.section-dark .eyebrow { color: #9aa6ff; }
.subhead { margin: 34px 0 14px; font-size: 18px; }
.section-link { margin-top: 28px; }

/* ---------- tabs / scenarios ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.tab-btn { padding: 9px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); }
.tab-btn:hover { background: #f1f3fa; }
.tab-btn.is-active { background: var(--ink); color: #fff; }
.tab-panels { margin-top: 26px; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade .24s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.scene-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
    padding: 36px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.scene-copy h3 { font-size: 28px; letter-spacing: -.01em; margin-bottom: 10px; }
.scene-copy p { color: var(--muted); font-size: 15.5px; }
.scene-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.scene-meta span { display: block; margin-bottom: 4px; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.scene-meta b { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.scene-visual { display: grid; gap: 10px; align-content: start; }
.artifact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    background: #fbfcff;
    border: 1px solid #e8ebf5;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(28, 38, 92, .04);
}
.artifact-2 { margin-left: 24px; }
.artifact-3 { margin-left: 48px; }
.artifact-ico {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #eef1fb;
    color: var(--brand);
    display: grid;
    place-items: center;
}
.artifact-ico .ico { width: 18px; height: 18px; }
.artifact b { font-size: 13px; }
.artifact-line { display: block; width: 90%; height: 6px; border-radius: 999px; background: #e9ecf5; }
.artifact-line.short { width: 60%; }

/* ---------- platform layers ---------- */
.layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.layer { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.layer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.layer-num { font-size: 12px; font-weight: 800; color: #aab2c8; letter-spacing: .1em; }
.layer-ico {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #eef1fb;
    color: var(--brand);
    display: grid;
    place-items: center;
}
.layer-ico .ico { width: 20px; height: 20px; }
.layer h3 { font-size: 20px; margin-bottom: 6px; }
.layer p { color: var(--muted); font-size: 14px; }
.layer ul { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.layer li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #3b435c; }
.layer li span { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-3); }

/* ---------- verification ---------- */
.verify-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.verify-step {
    position: relative;
    padding: 22px;
    border-radius: 18px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
}
.verify-flow-light .verify-step { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.verify-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    background: #2c3566;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}
.verify-flow-light .verify-num { background: #eef1fb; color: var(--brand); }
.verify-step h3 { font-size: 17px; margin-bottom: 6px; }
.verify-step p { font-size: 13.5px; color: #aeb6d4; }
.verify-flow-light .verify-step p { color: var(--muted); }
.verify-arrow { position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: #5f6aa8; font-size: 18px; }
.verify-note { display: flex; justify-content: center; margin-top: 22px; }
.verify-pill {
    padding: 7px 14px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    font-size: 12.5px;
    color: #c7cee8;
}

/* ---------- ecosystem ---------- */
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.role-card { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.role-ico {
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: #eef1fb;
    color: var(--brand);
    display: grid;
    place-items: center;
}
.role-card b { display: block; font-size: 15px; margin-bottom: 4px; }
.role-card p { font-size: 12.5px; color: var(--muted); }
.marquee {
    overflow: hidden;
    margin: 4px 0 8px;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 10px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.chip {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: #3b435c;
    font-size: 13px;
    white-space: nowrap;
}
.conn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.conn-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid #e6e9f4;
    border-radius: 999px;
    background: #f4f6fc;
    color: #3b435c;
    font-size: 13px;
}
.conn-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-3); }

/* ---------- security ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sec-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.sec-ico {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef1fb, #f7f5ff);
    color: var(--brand);
    display: grid;
    place-items: center;
}
.sec-card h2, .sec-card h3 { font-size: 17px; margin-bottom: 6px; }
.sec-card p { font-size: 13.5px; color: var(--muted); }
.sec-grid-lg .sec-card { padding: 28px; }
.sec-grid-lg .sec-card h2 { font-size: 20px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { padding: 0 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 16px; height: 16px; flex: none; }
.faq-plus::before, .faq-plus::after {
    content: "";
    position: absolute;
    background: var(--brand);
    border-radius: 2px;
}
.faq-plus::before { left: 7px; top: 2px; width: 2px; height: 12px; }
.faq-plus::after { left: 2px; top: 7px; width: 12px; height: 2px; transition: transform .16s, opacity .16s; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-item p { padding: 0 0 16px; color: var(--muted); font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
    padding: 56px 0;
    background: linear-gradient(120deg, #1e2a56, #3446a8 55%, #6d5bd0);
    color: #fff;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-inner h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; }
.cta-inner p { margin-top: 6px; color: #cfd6f7; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- footer ---------- */
.site-foot { padding: 56px 0 28px; background: #0f1426; color: #aab2c8; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.brand-foot .brand-text b { color: #fff; }
.brand-foot .brand-text small { color: #8a93ad; }
.foot-tagline { max-width: 270px; margin: 14px 0 10px; font-size: 13px; line-height: 1.6; }
.foot-mail { font-size: 13px; color: #cfd6f7; }
.foot-col h4 { margin-bottom: 12px; font-size: 13px; color: #fff; }
.foot-col a { display: block; padding: 5px 0; font-size: 13px; color: #aab2c8; }
.foot-col a:hover { color: #fff; }
.foot-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 12px;
}
.foot-legal { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- page hero ---------- */
.page-hero { padding: 64px 0 8px; background: linear-gradient(180deg, #f3f6ff, #fff); }
.page-hero-inner { max-width: 840px; }
.page-hero h1 { margin: 10px 0 12px; font-size: clamp(32px, 4vw, 52px); line-height: 1.12; letter-spacing: -.02em; }
.page-hero p { max-width: 740px; color: var(--muted); font-size: 16.5px; }
.page-hero .hero-actions { margin-top: 22px; }
.page-hero-compact { padding-top: 56px; }

/* ---------- product / steps ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap-card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.cap-ico {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef1fb, #f7f5ff);
    color: var(--brand);
    display: grid;
    place-items: center;
}
.cap-card h2 { font-size: 20px; margin-bottom: 6px; }
.cap-card p { color: var(--muted); font-size: 14px; }
.cap-card ul { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }
.cap-card li { display: flex; gap: 7px; align-items: flex-start; font-size: 13.5px; color: #3b435c; }
.cap-card li .ico { width: 15px; height: 15px; margin-top: 3px; color: var(--green); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.step-num {
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: #eef1fb;
    color: var(--brand);
    display: grid;
    place-items: center;
    font-weight: 800;
}
.step-card h2, .step-card h3 { font-size: 19px; margin-bottom: 6px; }
.step-card p { color: var(--muted); font-size: 14px; }

/* ---------- scenarios page ---------- */
.scenario-list { display: flex; flex-direction: column; gap: 18px; }
.scenario-row {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
}
.scenario-index { font-size: 12px; font-weight: 800; color: #aab2c8; letter-spacing: .1em; }
.scenario-copy h2 { font-size: 24px; margin: 6px 0 8px; }
.scenario-copy p { color: var(--muted); font-size: 14.5px; }
.scenario-artifacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: center; }

/* ---------- skills ---------- */
.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.skill-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.skill-ico {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    border-radius: 11px;
    background: #eef1fb;
    color: var(--brand);
    display: grid;
    place-items: center;
}
.skill-card h2 { font-size: 19px; }
.skill-card p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.skill-card ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.skill-card li { padding: 4px 8px; border: 1px solid #e8ebf5; border-radius: 999px; background: #f4f6fc; font-size: 12px; }
.conn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.conn-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    font-size: 14px;
}
.conn-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #eef1fb;
    color: var(--brand);
    display: grid;
    place-items: center;
}

/* ---------- download ---------- */
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.download-card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.download-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.download-ico {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #eef1fb;
    color: var(--brand);
    display: grid;
    place-items: center;
}
.download-head h2 { font-size: 20px; }
.download-head p { font-size: 13px; color: var(--muted); }
.download-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding: 10px 0;
    border-top: 1px dashed var(--line);
    border-bottom: 1px dashed var(--line);
    font-size: 12px;
    color: var(--muted);
}
.download-meta b { color: var(--ink); }
.download-card .btn-block { margin-bottom: 12px; }
.download-offline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    background: #f7f8fc;
    border: 1px solid #eceff7;
    border-radius: 12px;
}
.download-offline small { display: block; font-size: 11.5px; color: var(--muted); }
.sha-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 11.5px; color: var(--muted); }
.sha-row code { padding: 3px 6px; border-radius: 5px; background: #f4f6fc; }
.copy-btn { font-size: 11.5px; font-weight: 700; color: var(--brand); }
.offline-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.step-list { margin: 14px 0; padding-left: 20px; color: #3b435c; font-size: 14px; }
.step-list li { margin-bottom: 6px; list-style: decimal; }
.note { font-size: 12.5px; color: var(--muted); }
.req-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.req-card ul { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.req-card li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.req-card .ico { width: 16px; height: 16px; color: var(--green); }

/* ---------- pricing ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
}
.plan-card.is-featured {
    border-color: #c9d1f5;
    background: linear-gradient(180deg, #f6f8ff, #fff);
    box-shadow: 0 18px 50px rgba(52, 70, 168, .12);
}
.plan-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e6eafb;
    color: var(--brand);
    font-size: 10.5px;
    font-weight: 800;
}
.plan-card h2 { font-size: 19px; }
.plan-audience { margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.plan-price { margin: 16px 0 4px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.plan-note { font-size: 12px; color: var(--muted); }
.plan-card ul { display: flex; flex-direction: column; gap: 8px; margin: 18px 0 22px; }
.plan-card li { display: flex; gap: 7px; font-size: 13px; color: #3b435c; }
.plan-card li .ico { width: 15px; height: 15px; margin-top: 2px; color: var(--green); }
.plan-card .btn { margin-top: auto; }
.note-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 18px;
    padding: 16px 18px;
    background: #f7f8fc;
    border: 1px solid var(--line);
    border-radius: 14px;
    font-size: 13px;
    color: var(--muted);
}
.note-card b { color: var(--ink); white-space: nowrap; }
.note-card-lg { flex-direction: column; gap: 6px; }

/* ---------- security / deploy ---------- */
.deploy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.deploy-grid h2 { margin: 8px 0 10px; color: #fff; font-size: 32px; }
.deploy-grid p { color: #aeb6d4; }
.deploy-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.deploy-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    color: #e9ecf8;
    font-size: 14px;
}
.deploy-list .ico { width: 16px; height: 16px; color: #7ee0a8; }

/* ---------- trial / about / contact ---------- */
.trial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.check-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.check-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.check-list .ico { width: 16px; height: 16px; color: var(--green); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.value-num { font-size: 12px; font-weight: 800; color: #aab2c8; letter-spacing: .1em; }
.value-card h2 { margin: 8px 0 6px; font-size: 20px; }
.value-card p { color: var(--muted); font-size: 14px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.contact-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eef1fb;
    color: var(--brand);
    display: grid;
    place-items: center;
}
.contact-card h2 { font-size: 19px; }
.contact-card p { flex: 1; color: var(--muted); font-size: 13.5px; }
.contact-card small { font-size: 12px; color: var(--muted); }
.wecom-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 18px;
    padding: 24px;
    background: #f7f8fc;
    border: 1px solid var(--line);
    border-radius: 18px;
}
.wecom-qr { padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.wecom-placeholder {
    display: grid;
    place-items: center;
    width: 148px;
    min-height: 100px;
    padding: 12px;
    border: 1px dashed #cfd6ea;
    border-radius: 12px;
    background: #fff;
    color: var(--muted);
    font-size: 11.5px;
    text-align: center;
}

/* ---------- docs ---------- */
.docs-shell {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 200px;
    gap: 36px;
    padding-top: 40px;
    padding-bottom: 72px;
    align-items: start;
}
.docs-side { position: sticky; top: 96px; font-size: 13.5px; }
.docs-side-title { margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.docs-side-group { margin-bottom: 18px; }
.docs-side-heading { display: block; margin-bottom: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: #8a93ad; }
.docs-side li a { display: block; padding: 5px 10px; border-radius: 7px; color: #4b5470; }
.docs-side li a:hover { background: #f1f3fa; }
.docs-side li a.is-active { background: #eef1fb; color: var(--brand); font-weight: 700; }
.docs-side-help { padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.docs-side-help b { display: block; margin-bottom: 4px; color: var(--ink); }
.docs-side-help p { margin-bottom: 10px; }
.docs-content { min-width: 0; }
.docs-breadcrumb { display: flex; gap: 8px; margin-bottom: 18px; font-size: 12px; color: var(--muted); }
.docs-content h1 { margin-bottom: 10px; font-size: 38px; line-height: 1.15; letter-spacing: -.02em; }
.docs-lead { color: var(--muted); font-size: 16px; }
.docs-updated { margin: 10px 0 22px; font-size: 12px; color: #8a93ad; }
.docs-prose { color: var(--ink-2); font-size: 15px; line-height: 1.8; }
.docs-prose h2 { margin: 36px 0 12px; font-size: 24px; letter-spacing: -.01em; }
.docs-prose h3 { margin: 26px 0 8px; font-size: 18px; }
.docs-prose p { margin: 0 0 12px; }
.docs-prose ul, .docs-prose ol { margin: 0 0 14px; padding-left: 22px; }
.docs-prose ul li { list-style: disc; margin-bottom: 6px; }
.docs-prose ol li { list-style: decimal; margin-bottom: 6px; }
.docs-prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.docs-prose code { padding: 2px 5px; border-radius: 5px; background: #f4f6fc; font-size: .92em; }
.docs-prose pre { margin: 0 0 16px; padding: 16px; border-radius: 12px; background: #12172b; color: #e9ecf8; overflow: auto; }
.docs-prose pre code { padding: 0; background: none; color: inherit; }
.docs-prose blockquote {
    margin: 0 0 16px;
    padding: 12px 16px;
    border-left: 3px solid var(--brand-3);
    border-radius: 0 10px 10px 0;
    background: #f7f8ff;
    color: #4b5470;
}
.docs-prose table { width: 100%; margin: 0 0 16px; border-collapse: collapse; font-size: 14px; }
.docs-prose th, .docs-prose td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; }
.docs-prose th { background: #f7f8fc; }
.docs-prose hr { margin: 28px 0; border: 0; border-top: 1px solid var(--line); }
.docs-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
.docs-pager-link { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.docs-pager-link span { font-size: 11.5px; color: var(--muted); }
.docs-pager-link b { font-size: 13.5px; color: var(--brand); }
.docs-pager-link.is-next { align-items: flex-end; text-align: right; }
.docs-toc { position: sticky; top: 96px; font-size: 12.5px; }
.docs-toc-title { margin-bottom: 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.docs-toc li { margin-bottom: 6px; }
.docs-toc li.is-sub { padding-left: 12px; }
.docs-toc a { display: block; padding: 3px 0; color: #6b7387; }
.docs-toc a:hover { color: var(--brand); }
.docs-groups { display: flex; flex-direction: column; gap: 34px; }
.docs-group-title { margin-bottom: 12px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #8a93ad; }
.docs-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.doc-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: transform .16s, box-shadow .16s, border-color .16s;
}
.doc-card:hover { transform: translateY(-3px); border-color: #d9def2; box-shadow: 0 16px 40px rgba(28, 38, 92, .08); }
.doc-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eef1fb;
    color: var(--brand);
    display: grid;
    place-items: center;
}
.doc-card b { font-size: 15px; }
.doc-card p { flex: 1; color: var(--muted); font-size: 13px; }
.doc-card-arrow { color: var(--brand); font-weight: 700; }

/* ---------- legal / prose ---------- */
.legal h2 { margin: 28px 0 8px; font-size: 20px; }
.legal p { margin-bottom: 10px; color: #3b435c; font-size: 14.5px; }
.prose p { margin-bottom: 16px; color: #3b435c; font-size: 16px; line-height: 1.8; }

/* ---------- changelog ---------- */
.release-list { display: flex; flex-direction: column; gap: 26px; }
.release { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.release-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.release-version { padding: 3px 9px; border-radius: 999px; background: #eef1fb; color: var(--brand); font-size: 12px; font-weight: 800; }
.release-date { font-size: 12px; color: var(--muted); }
.release h2 { margin-bottom: 10px; font-size: 20px; }
.release-items > li { margin-bottom: 10px; font-size: 14px; }
.release-items ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.release-items ul li { margin-bottom: 3px; list-style: disc; }

/* ---------- error ---------- */
.error-page { padding: 100px 0; text-align: center; }
.error-inner { max-width: 520px; margin: 0 auto; }
.error-code { font-size: 64px; font-weight: 800; letter-spacing: -.04em; color: #d9def2; }
.error-inner h1 { margin: 8px 0 10px; font-size: 30px; }
.error-inner p { margin-bottom: 22px; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
    .hero-grid { gap: 36px; }
    .role-grid { grid-template-columns: repeat(3, 1fr); }
    .plan-grid { grid-template-columns: repeat(2, 1fr); }
    .docs-shell { grid-template-columns: 200px minmax(0, 1fr); }
    .docs-toc { display: none; }
    .docs-card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
    .site-nav, .head-actions .login-link, .head-actions .lang-switch { display: none; }
    .nav-toggle { display: flex; }
    .head-actions { margin-left: 0; }
    body.nav-open .site-nav {
        display: flex;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 72px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 14px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: 0 24px 60px rgba(18, 23, 43, .16);
    }
    body.nav-open .nav-link { padding: 10px 12px; }
    body.nav-open .dl-menu > summary { padding: 10px 12px; }
    body.nav-open .dl-pop { position: static; width: auto; border: 0; box-shadow: none; padding: 0 0 8px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 0; margin-top: 10px; }
    .product-window { transform: none; max-width: 620px; }
    .hero-float { display: none; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .scene-grid, .scenario-row { grid-template-columns: 1fr; }
    .layers, .cap-grid, .sec-grid, .skill-grid, .steps, .value-grid, .contact-grid, .download-grid, .offline-grid, .deploy-grid, .trial-grid { grid-template-columns: 1fr; }
    .verify-flow { grid-template-columns: repeat(2, 1fr); }
    .verify-arrow { display: none; }
    .conn-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .docs-shell { grid-template-columns: 1fr; gap: 24px; }
    .docs-side { position: static; }
    .docs-side-help { display: none; }
    .docs-side-group ul { display: flex; flex-wrap: wrap; gap: 4px; }
    .docs-side-group li a { background: #f7f8fc; }
}

@media (max-width: 680px) {
    .container { width: min(100% - 32px, 1180px); }
    .head-inner { min-height: 64px; gap: 12px; }
    .brand-text small { display: none; }
    .hero { padding: 48px 0 44px; }
    .hero-title { font-size: clamp(32px, 9vw, 44px); }
    .hero-sub { font-size: 15px; }
    .dl-opt-row { grid-template-columns: 1fr; }
    .dl-panel-foot { flex-direction: column; align-items: flex-start; }
    .section { padding: 60px 0; }
    .section-head h2 { font-size: 28px; }
    .tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 10px; }
    .tab-btn { white-space: nowrap; }
    .scene-grid { padding: 22px; }
    .scene-copy h3 { font-size: 22px; }
    .artifact-2, .artifact-3 { margin-left: 0; }
    .role-grid { grid-template-columns: repeat(2, 1fr); }
    .verify-flow { grid-template-columns: 1fr; }
    .conn-grid { grid-template-columns: 1fr; }
    .scenario-artifacts { grid-template-columns: 1fr; }
    .plan-grid { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; gap: 22px; }
    .foot-bottom { flex-direction: column; align-items: flex-start; }
    .docs-card-grid { grid-template-columns: 1fr; }
    .docs-pager { grid-template-columns: 1fr; }
    .docs-pager-link.is-next { align-items: flex-start; text-align: left; }
    .wecom-card { flex-direction: column; align-items: flex-start; }
    .hero-actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .marquee-track { animation: none; }
}


.site-head.is-scrolled { box-shadow: 0 10px 30px rgba(18, 23, 43, .06); }

@media (max-width: 960px) {
    body.nav-open .nav-extra {
        display: flex;
        gap: 6px;
        margin-top: 6px;
        padding-top: 10px;
        border-top: 1px solid var(--line);
    }
    body.nav-open .nav-extra .nav-link { flex: 1; justify-content: center; border: 1px solid var(--line); }
}


