/* Homepage only. Workbench, native shells and the protected filing footer keep their own contracts. */
:root {
    color-scheme: dark;
    --bg: #141c23;
    --surface: #19232c;
    --text: #edf0f1;
    --muted: #a9b3bc;
    --subtle: #8996a1;
    --line: #303b44;
    --accent: #dba17d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "PingFang SC", "Microsoft YaHei UI", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { max-width: 100%; display: block; }
p, figure { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
h2 { font-size: 28px; line-height: 1.4; }
h3 { font-size: 21px; line-height: 1.4; }
.shell { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 30; padding: 10px 16px; background: var(--text); color: var(--bg); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.nav { position: sticky; top: 0; z-index: 10; background: #141c23; border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand-label { font-size: 21px; font-weight: 650; line-height: 1.25; letter-spacing: .015em; }
.brand-label small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: .04em; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 27px; font-size: 14px; }
.nav-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; }
.nav-detail { color: var(--muted); }
.nav-detail:hover { color: var(--text); }
.nav-cta { gap: 12px; border: 1px solid #626a6b; padding: 0 16px; border-radius: 8px; font-weight: 500; }
.nav-cta:hover { background: #23303a; border-color: var(--accent); }
.hero { padding: 70px 0 66px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 42px; align-items: center; }
.eyebrow { color: var(--accent); font-size: 13px; margin-bottom: 20px; letter-spacing: .08em; }
h1 { font-size: 48px; line-height: 1.23; letter-spacing: .01em; }
h1 span { display: block; }
.hero-copy { margin-top: 22px; color: #c2cad0; font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 0 19px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; border: 1px solid transparent; }
.btn-primary { color: #192026; background: var(--accent); }
.btn-primary:hover { background: #e7b08e; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-size: 14px; }
.text-link:hover { color: var(--accent); }
.hero-note { font-size: 12px; line-height: 1.7; margin-top: 17px; color: var(--subtle); max-width: 280px; }
.workbench-figure { min-width: 0; }
.workbench-preview { display: block; border: 1px solid #3b4954; border-radius: 12px; overflow: hidden; background: #253541; text-decoration: none; }
.workbench-preview img { width: 100%; height: auto; }
.workbench-figure figcaption { margin-top: 12px; display: flex; justify-content: space-between; gap: 12px; color: var(--subtle); font-size: 11px; line-height: 1.7; }
.workbench-figure figcaption span:last-child { flex-shrink: 0; }
.section { padding: 56px 0; }
.section-head { margin-bottom: 32px; }
.section-label { color: var(--subtle); font-size: 13px; margin-bottom: 9px; }
.use-cases { border-top: 1px solid var(--line); }
.use-case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.use-case { position: relative; min-width: 0; padding-left: 20px; border-left: 1px solid var(--line); }
.case-number { color: var(--accent); font: 12px/1.5 "Consolas", monospace; display: block; margin-bottom: 17px; }
.case-question { color: #d4dbe0; font-size: 14px; margin: 14px 0 9px; }
.use-case > p:not(.case-question) { color: var(--muted); font-size: 14px; line-height: 1.8; max-width: 320px; }
.case-meta { color: var(--subtle); display: block; font-size: 12px; margin-top: 22px; }
.example-section { background: #18222b; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.example-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 70px; align-items: start; }
.example-intro h2 { font-size: 27px; line-height: 1.55; }
.example-intro > p:not(.section-label) { color: var(--muted); font-size: 15px; margin-top: 19px; max-width: 350px; }
.example-intro .example-caption { color: var(--subtle); font-size: 12px; }
.example-result { min-width: 0; }
.result-heading { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 12px; padding-bottom: 14px; border-bottom: 1px solid #45515a; }
.result-heading span:first-child { color: var(--text); }
.result-rows { margin: 0; }
.result-rows > div { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.result-rows dt { font-size: 18px; font-weight: 600; }
.result-rows dt span { display: block; font-size: 11px; font-weight: 400; color: var(--subtle); margin-top: 4px; }
.result-rows dd { margin: 0; color: #c2cbd2; font-size: 14px; line-height: 1.8; }
.result-source { margin-top: 17px; font-size: 12px; }
.result-source > span { color: var(--accent); }
.result-source p { color: var(--muted); margin-top: 3px; }
.result-note { font-size: 11px; color: var(--subtle); margin-top: 9px; }
.product-scope { margin-top: 42px; border-top: 1px solid var(--line); }
.product-scope summary { display: flex; justify-content: space-between; align-items: center; min-height: 64px; gap: 16px; cursor: pointer; list-style: none; font-size: 14px; }
.product-scope summary::-webkit-details-marker { display: none; }
.scope-hint { font-size: 12px; color: var(--muted); white-space: nowrap; }
.scope-hint > span { display: inline-block; font-size: 17px; margin-left: 12px; }
.product-scope[open] .scope-hint > span { transform: rotate(45deg); }
.scope-content { max-width: 850px; color: #c2cbd2; font-size: 14px; padding-bottom: 10px; }
.scope-content p + p { font-size: 12px; color: var(--subtle); margin-top: 12px; }
.download-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.download-head > .text-link { color: var(--muted); }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.download-item { border-top: 1px solid #4a555d; padding-top: 23px; }
.platform-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.platform-heading h3 { font-size: 23px; font-weight: 500; }
.platform-heading > span { font-size: 12px; color: var(--subtle); }
.download-item > p { font-size: 14px; color: var(--muted); margin-top: 14px; line-height: 1.8; }
.download-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 23px; }
.btn-download { background: #222e38; border-color: #43525e; color: var(--text); }
.btn-download:hover { background: #2a3945; border-color: #7b8b96; }
.browser-note { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--subtle); }
.browser-note a { color: #cbd4da; text-underline-offset: 4px; margin: 0 3px; }
.usage-note { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 30px; padding: 0 0 50px; }
.usage-note h2 { font-size: 13px; color: var(--muted); line-height: 1.8; }
.usage-note p { color: var(--subtle); font-size: 12px; line-height: 1.9; }
.footer {
            padding: 30px 0 44px;
            color: rgba(220, 227, 234, 0.72);
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            font-size: 13px;
        }

        .footer-inner {
            display: flex;
            justify-content: space-between;
            gap: 20px;
            flex-wrap: wrap;
        }

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

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

        .beian-row {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            flex-wrap: wrap;
        }

        .mps-beian {
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .mps-beian img {
            width: 16px;
            height: 16px;
            display: block;
        }
.footer { background: #0b1118; }
.footer .shell { width: min(1120px, calc(100% - 32px)); }
@media (min-width: 1600px) {
    .shell { width: min(1240px, calc(100% - 96px)); }
    .hero { padding: 84px 0 76px; }
    .hero-grid { gap: 66px; }
}
@media (max-width: 1050px) {
    .hero-grid { gap: 28px; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
    h1 { font-size: 43px; }
    .hero-copy { font-size: 15px; }
    .hero-actions { gap: 16px; }
    .example-grid { gap: 38px; }
    .example-intro h2 { font-size: 24px; }
    .result-rows > div { grid-template-columns: 112px minmax(0, 1fr); }
}
@media (max-width: 800px) {
    .shell { width: calc(100% - 40px); }
    .nav-detail { display: none !important; }
    .hero { padding: 42px 0; }
    .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    h1 { font-size: 38px; }
    h1 span { display: inline; }
    .hero-copy br { display: none; }
    .hero-copy { max-width: 520px; }
    .hero-note { max-width: none; }
    .hero-actions { margin-top: 22px; }
    .workbench-figure { max-width: 650px; }
    .use-case-grid { gap: 22px; }
    .example-grid { grid-template-columns: 1fr; gap: 30px; }
    .example-intro > p:not(.section-label) { max-width: 520px; }
    .example-caption br { display: none; }
    .usage-note { grid-template-columns: 1fr; gap: 9px; }
}
@media (max-width: 640px) {
    html { scroll-padding-top: 88px; }
    .shell { width: calc(100% - 32px); }
    .nav-inner { min-height: 68px; gap: 12px; }
    .brand { gap: 9px; }
    .brand img { width: 32px; height: 32px; border-radius: 8px; }
    .brand-label { font-size: 18px; }
    .brand-label small { font-size: 10px; letter-spacing: 0; }
    .nav-links { gap: 0; font-size: 12px; }
    .nav-cta { padding: 0 11px; gap: 8px; }
    .hero { padding: 32px 0 34px; }
    .eyebrow { font-size: 12px; margin-bottom: 12px; }
    h1 { font-size: 32px; line-height: 1.35; }
    .hero-copy { font-size: 15px; line-height: 1.85; margin-top: 14px; max-width: 330px; }
    .hero-note { font-size: 11px; margin-top: 13px; }
    .hero-actions { margin-top: 20px; gap: 23px; }
    .hero-grid { gap: 26px; }
    .workbench-preview { border-radius: 9px; }
    .workbench-preview img { aspect-ratio: 390 / 520; width: 100%; height: auto; object-fit: cover; object-position: top; }
    .workbench-figure figcaption { font-size: 10px; }
    .workbench-figure figcaption span:last-child { display: none; }
    .section { padding: 36px 0; }
    h2, .example-intro h2 { font-size: 23px; line-height: 1.5; }
    .section-head { margin-bottom: 25px; }
    .section-label { font-size: 12px; margin-bottom: 7px; }
    .use-case-grid { grid-template-columns: 1fr; gap: 0; }
    .use-case { padding: 20px 0 20px 42px; border-left: 0; border-bottom: 1px solid var(--line); }
    .use-case:first-child { padding-top: 0; }
    .use-case:last-child { border-bottom: 0; padding-bottom: 0; }
    .case-number { position: absolute; left: 0; top: 23px; margin: 0; }
    .use-case:first-child .case-number { top: 3px; }
    .use-case h3 { font-size: 19px; }
    .case-question { margin: 8px 0 5px; font-size: 13px; }
    .use-case > p:not(.case-question) { font-size: 13px; line-height: 1.8; max-width: none; }
    .case-meta { display: none; }
    .example-intro > p:not(.section-label) { font-size: 14px; margin-top: 12px; }
    .example-intro .example-caption { font-size: 11px; }
    .result-rows > div { grid-template-columns: 97px minmax(0, 1fr); gap: 15px; padding: 17px 0; }
    .result-rows dd { font-size: 13px; }
    .result-rows dt span { font-size: 10px; }
    .product-scope { margin-top: 28px; }
    .product-scope summary { font-size: 13px; min-height: 58px; }
    .download-head { align-items: flex-start; flex-direction: column; gap: 9px; }
    .download-head .text-link { font-size: 12px; }
    .download-grid { grid-template-columns: 1fr; gap: 32px; }
    .platform-heading h3 { font-size: 21px; }
    .download-item > p { font-size: 13px; }
    .download-actions { margin-top: 17px; }
    .browser-note { line-height: 1.9; font-size: 12px; margin-top: 24px; padding-top: 24px; }
    .usage-note { padding-bottom: 32px; }
    .usage-note p { font-size: 11px; }
    .footer .shell { width: min(100% - 24px, 1120px); }
}
@media (max-width: 359px) {
    h1 { font-size: 29px; }
    .hero-actions { gap: 17px; }
    .btn { padding: 0 14px; gap: 12px; }
    .scope-hint { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
