/* ==========================================================================
   世亚软件 www.siaware.cn — 设计系统
   自托管、零外部依赖；CJK 排版优先；断点 640 / 900 / 1200
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
    --navy-900: #06172e;
    --navy-800: #0b2545;
    --navy-700: #10365c;
    --navy-600: #174a78;

    --blue-700: #125ea8;
    --blue-600: #1a74c8;
    --blue-500: #2b8ce0;
    --blue-050: #eaf2fb;

    --teal-600: #0f9aa8;
    --teal-050: #e6f6f8;
    --amber-600: #d9871f;
    --amber-050: #fdf3e3;

    --ink: #101a26;
    --ink-2: #3d4d61;
    --ink-3: #6b7c92;
    --line: #e1e7ef;
    --line-2: #cfd9e6;
    --bg: #ffffff;
    --bg-soft: #f6f8fb;
    --bg-tint: #eef3f9;

    --r-xs: 4px;
    --r-sm: 8px;
    --r: 12px;
    --r-lg: 18px;
    --r-xl: 26px;
    --r-pill: 999px;

    --sh-1: 0 1px 2px rgba(11, 37, 69, .06), 0 1px 3px rgba(11, 37, 69, .04);
    --sh-2: 0 4px 14px rgba(11, 37, 69, .07), 0 2px 4px rgba(11, 37, 69, .04);
    --sh-3: 0 14px 40px rgba(11, 37, 69, .12), 0 4px 10px rgba(11, 37, 69, .05);
    --sh-4: 0 30px 70px rgba(6, 23, 46, .22);

    --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px;
    --s-6: 28px; --s-7: 40px; --s-8: 56px; --s-9: 76px; --s-10: 104px;

    --container: 1220px;
    --gutter: clamp(18px, 4vw, 34px);
    --section-y: clamp(52px, 7vw, 100px);

    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Source Han Sans SC",
        "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
    --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

    --header-h: 74px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--blue-500); }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 var(--s-4); }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.25; color: var(--navy-800); letter-spacing: -.01em; }
h1 { font-size: clamp(29px, 4.6vw, 50px); line-height: 1.16; }
h2 { font-size: clamp(23px, 3.2vw, 36px); line-height: 1.22; }
h3 { font-size: clamp(18px, 2.1vw, 22px); }
h4 { font-size: 17px; }
strong { font-weight: 600; }
small { font-size: .82em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 3px; }

.icon { width: 22px; height: 22px; flex: none; stroke-width: 1.7; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 200;
    background: var(--navy-800); color: #fff; padding: 10px 18px; border-radius: var(--r-sm);
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--navy-800); color: #dce7f4; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section + .section { border-top: 1px solid var(--line); }
.section--dark + .section--dark, .section--soft + .section--soft { border-top: 0; }

.section-head { max-width: 760px; margin-bottom: var(--s-8); }
.section-head--split { display: flex; flex-wrap: wrap; gap: var(--s-5); align-items: flex-end; justify-content: space-between; max-width: none; margin-bottom: var(--s-7); }
.section-head p { margin-bottom: 0; color: var(--ink-2); }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--teal-600); margin-bottom: var(--s-3);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; opacity: .5; }
.section--dark .eyebrow { color: #6fd4de; }
.head-title { margin-bottom: var(--s-4); text-wrap: balance; }

.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.split { display: grid; gap: var(--s-8); align-items: center; }
@media (min-width: 900px) { .split-5-7 { grid-template-columns: 5fr 7fr; } .split-7-5 { grid-template-columns: 7fr 5fr; } }

/* ---------- buttons / tags ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 13px 24px; border: 1px solid transparent; border-radius: var(--r-pill);
    font-size: 16px; font-weight: 600; line-height: 1.2; cursor: pointer;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
    text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 22px rgba(26, 116, 200, .28); }
.btn-primary:hover { background: var(--blue-700); color: #fff; box-shadow: 0 10px 26px rgba(26, 116, 200, .34); }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-600); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy-800); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--navy-800); color: var(--navy-800); background: rgba(11, 37, 69, .04); }
.btn-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .32); backdrop-filter: blur(4px); }
.btn-light:hover { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 14.5px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn .icon { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

.textlink { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.textlink .icon { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.textlink:hover .icon { transform: translateX(3px); }

.tag {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px;
    border: 1px solid var(--line-2); border-radius: var(--r-pill);
    font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: #fff;
}
.tag--blue { color: var(--blue-700); background: var(--blue-050); border-color: #cfe1f6; }
.tag--teal { color: var(--teal-600); background: var(--teal-050); border-color: #c6e9ed; }
.tag--amber { color: var(--amber-600); background: var(--amber-050); border-color: #f3dfba; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- topbar ---------- */
.topbar { background: var(--navy-900); color: #a8bdd6; font-size: 13.5px; }
.topbar-inner { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; justify-content: space-between; min-height: 40px; }
.topbar-note { margin: 0; }
.topbar-note span { color: #d8e6f6; }
.topbar-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; color: #a8bdd6; }
.topbar-links a:hover { color: #fff; }
.topbar-links .icon { width: 15px; height: 15px; }
@media (max-width: 640px) { .topbar-inner { display: none; } }

/* ---------- header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(150%) blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--sh-2); }
.header-inner { display: flex; align-items: center; gap: var(--s-5); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy-800); flex: none; }
.brand:hover { color: var(--navy-800); }
/* 真实标识是 2.69:1 的横版字标，宽高交给属性里的 480x178 算比例，避免布局抖动 */
.brand-logo { display: block; height: 40px; width: auto; }
.brand-text {
    padding-left: 12px; border-left: 1px solid var(--line);
    font-size: 11.5px; line-height: 1.3; letter-spacing: .04em; color: var(--ink-3);
}
.brand-text small { font-size: inherit; color: inherit; }
@media (max-width: 480px) {
    .brand-text { display: none; }
    .brand-logo { height: 34px; }
}

.main-nav { margin-left: auto; display: flex; align-items: center; gap: var(--s-5); }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
    display: inline-flex; align-items: center; padding: 10px 14px; border-radius: var(--r-sm);
    font-size: 15.5px; font-weight: 600; color: var(--ink-2);
}
.nav-link:hover { color: var(--navy-800); background: var(--bg-tint); }
.nav-item.is-active > .nav-link { color: var(--blue-700); background: var(--blue-050); }
.sub-toggle { display: none; }

.submenu {
    position: absolute; left: 50%; transform: translate(-50%, 8px); top: calc(100% + 6px);
    min-width: 300px; padding: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--sh-3);
    opacity: 0; visibility: hidden; transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav-item:hover > .submenu, .nav-item:focus-within > .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.submenu ul { display: grid; gap: 2px; }
.submenu a { display: grid; gap: 2px; padding: 9px 12px; border-radius: var(--r-sm); color: var(--ink); }
.submenu a:hover { background: var(--bg-tint); color: var(--blue-700); }
.submenu-title { font-size: 15px; font-weight: 600; }
.submenu-desc { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.submenu-more { display: flex; align-items: center; gap: 6px; margin-top: 6px; padding: 9px 12px; font-size: 13.5px; font-weight: 600; color: var(--teal-600); border-top: 1px solid var(--line); }
.submenu-more .icon { width: 15px; height: 15px; }

.nav-search { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-pill); overflow: hidden; background: #fff; }
.nav-search input { width: 150px; padding: 8px 4px 8px 15px; border: 0; font: inherit; font-size: 14px; background: transparent; }
.nav-search input:focus { outline: none; }
.nav-search button { display: grid; place-items: center; width: 36px; height: 34px; border: 0; background: var(--navy-800); color: #fff; cursor: pointer; }
.nav-search button:hover { background: var(--blue-600); }
.nav-search .icon { width: 16px; height: 16px; }

.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; cursor: pointer; place-items: center; }
.nav-toggle .icon { width: 22px; height: 22px; margin-inline: auto; }
.nav-toggle-close { display: none; }

@media (max-width: 1080px) {
    .nav-search { display: none; }
}
@media (max-width: 900px) {
    .header-inner { flex-wrap: wrap; }
    .nav-toggle { display: grid; order: 4; }
    .header-actions { order: 3; margin-left: auto; }
    .brand { order: 1; }
    .main-nav {
        display: none; order: 5; width: 100%; flex-direction: column; align-items: stretch; gap: 0;
        padding-bottom: var(--s-4); border-top: 1px solid var(--line); margin-top: var(--s-3);
    }
    body.nav-open .main-nav { display: flex; }
    body.nav-open .nav-toggle-open { display: none; }
    body.nav-open .nav-toggle-close { display: block; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-item { border-bottom: 1px solid var(--line); }
    .nav-link { width: 100%; padding: 14px 4px; border-radius: 0; font-size: 16px; }
    .sub-toggle {
        display: grid; place-items: center; position: absolute; right: 0; top: 8px;
        width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer; color: var(--ink-2);
    }
    .sub-toggle .icon { transition: transform .2s var(--ease); }
    .nav-item.is-open .sub-toggle .icon { transform: rotate(45deg); }
    .submenu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; border-radius: 0;
        min-width: 0; padding: 0 0 10px 14px; display: none; background: transparent; }
    .nav-item.is-open .submenu { display: block; }
    .nav-item:hover > .submenu { display: none; }
    .nav-item.is-open:hover > .submenu { display: block; }
    .submenu a { padding: 10px 8px; }
    .submenu-more { border-top: 1px dashed var(--line); }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700) 60%, var(--navy-600));
    color: #fff; padding-block: clamp(38px, 6vw, 68px);
}
.page-hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(680px 300px at 88% -10%, rgba(43, 140, 224, .38), transparent 70%),
        linear-gradient(90deg, transparent 60%, rgba(15, 154, 168, .18));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero .lead { max-width: 68ch; color: #c7d8ec; margin-block: var(--s-4) 0; }
.page-hero .tag-row { margin-top: var(--s-5); }
.page-hero .tag { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #dbe8f7; }
.page-hero .crumbs { margin-bottom: var(--s-4); }
/* li 默认是 list-item（块级），不显式排就会一行一个面包屑 */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.crumbs li { display: flex; align-items: center; gap: 7px; white-space: nowrap; }

/* ---------- home hero ---------- */
.hero {
    position: relative; overflow: hidden; color: #eaf2fb;
    background: radial-gradient(1100px 620px at 78% -12%, rgba(43, 140, 224, .34), transparent 62%),
        radial-gradient(760px 480px at 8% 108%, rgba(15, 154, 168, .24), transparent 60%),
        linear-gradient(160deg, var(--navy-900), var(--navy-800) 52%, #0d2f56);
}
.hero::before {
    content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 62px 62px;
    mask-image: radial-gradient(900px 520px at 60% 0%, #000 30%, transparent 78%);
}
.hero-inner { position: relative; z-index: 1; display: grid; gap: var(--s-9); align-items: center; padding-block: clamp(56px, 9vw, 112px); }
@media (min-width: 980px) { .hero-inner { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { color: #fff; text-wrap: balance; }
.hero h1 em { font-style: normal; color: #7fd8e4; }
.hero-lead { font-size: clamp(16.5px, 1.5vw, 19px); color: #c3d6ea; max-width: 56ch; margin-block: var(--s-5); }
.hero .eyebrow { color: #7fd8e4; }
.hero-list { display: grid; gap: 11px; margin-block: var(--s-6); }
.hero-list li { display: flex; gap: 11px; align-items: flex-start; color: #d9e7f6; font-size: 15.5px; }
.hero-list .icon { width: 20px; height: 20px; color: #7fd8e4; margin-top: 3px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-7); }
.hero-note { margin-top: var(--s-5); font-size: 14px; color: #93aecb; }
.hero-note a { color: #cfe2f7; text-decoration: underline; text-underline-offset: 3px; }

.hero-panel { position: relative; }
.hero-card {
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--r-xl); padding: 18px; box-shadow: var(--sh-4); backdrop-filter: blur(6px);
}
.hero-card img { border-radius: var(--r); width: 100%; }
.hero-card figcaption { margin-top: 12px; font-size: 13.5px; color: #a9c3de; display: flex; justify-content: space-between; gap: 12px; }
.hero-chip {
    position: absolute; left: -14px; bottom: 26px; display: grid; gap: 2px;
    padding: 13px 18px; border-radius: var(--r-lg);
    background: #fff; color: var(--navy-800); box-shadow: var(--sh-3);
}
.hero-chip b { font-size: 24px; line-height: 1.1; }
.hero-chip span { font-size: 12.5px; color: var(--ink-3); }

/* ---------- stats band ---------- */
.stats { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); }
.stat { padding: var(--s-5) var(--s-4); border-left: 2px solid rgba(127, 216, 228, .5); }
.section--dark .stat { border-color: rgba(127, 216, 228, .45); }
.stat b { display: block; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; color: #fff; font-weight: 700; letter-spacing: -.02em; }
.stat span { display: block; margin-top: 6px; font-size: 14.5px; color: #b8cde5; }
.stat em { display: block; font-style: normal; font-size: 12.5px; color: #8aa6c6; margin-top: 2px; }

/* ---------- cards ---------- */
.card {
    display: flex; flex-direction: column; height: 100%;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    overflow: hidden; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: #c9dcf3; }
.card-media { aspect-ratio: 2 / 1; overflow: hidden; background: var(--bg-tint); }
/* contain 而不是 cover：界面截图被裁掉一半就等于在展示另一个产品 */
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.card-body h3, .card-body h3 a { color: var(--navy-800); }
.card-body h3 a:hover { color: var(--blue-600); }
.card-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--teal-600); text-transform: uppercase; }
.card-text { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.72; }
.card-text--clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-4); }
.card-meta { font-size: 13px; color: var(--ink-3); }
.card-icon {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r);
    background: var(--blue-050); color: var(--blue-700);
}
.card-icon .icon { width: 24px; height: 24px; }
.card--flat { border-radius: var(--r); }
.card--accent { border-top: 3px solid var(--blue-600); }

/* wide row card (图 + 正文)：只在真的有封面时套用，否则正文会掉进 220px 的图位里，右边一大块空白 */
.card-row { display: grid; gap: var(--s-5); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 640px) { .card-row { grid-template-columns: 220px 1fr; } }
.card-row .card-media { aspect-ratio: 2 / 1; }

/* 图标 + 文字：图标列只有 46px，不能复用上面 220px 的图片列 */
.icon-row { display: grid; gap: var(--s-4); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 640px) { .icon-row { grid-template-columns: 46px 1fr; } }

/* ---------- feature list ---------- */
.features { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.feature { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start; }
.feature h3 { font-size: 17.5px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.feature--boxed { padding: var(--s-6); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: box-shadow .2s var(--ease), border-color .2s; }
.feature--boxed:hover { box-shadow: var(--sh-2); border-color: #c9dcf3; }
.feature-num {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    background: var(--navy-800); color: #fff; font-weight: 700; font-size: 16px; flex: none;
}

/* pain points */
.pain-list { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); }
.pain {
    display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start;
    padding: var(--s-5); background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--amber-600);
    border-radius: var(--r); font-size: 15.5px; color: var(--ink-2);
}
.pain .icon { width: 19px; height: 19px; color: var(--amber-600); margin-top: 4px; }
.pain b { display: block; color: var(--navy-800); font-size: 15.5px; }

/* ---------- module (功能模块) ---------- */
.modules { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 760px) { .modules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .modules { grid-template-columns: repeat(3, 1fr); } }
.module { background: #fff; padding: var(--s-6); display: flex; flex-direction: column; gap: 10px; }
.module h3 { font-size: 16.5px; display: flex; align-items: center; gap: 9px; }
.module h3 .icon { width: 19px; height: 19px; color: var(--blue-600); }
.module p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.module ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.module li { font-size: 12.5px; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line); padding: 3px 9px; border-radius: var(--r-xs); }

/* ---------- specs table ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.spec-table th, .spec-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 148px; color: var(--ink-3); font-weight: 600; background: var(--bg-soft); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th:first-child { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.spec-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }

/* ---------- screenshots ---------- */
.shots { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.shot { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
/* 宽高由 img 标签的 width/height 决定，浏览器自己算比例：既不裁切也不会跳动 */
.shot img { width: 100%; height: auto; background: var(--bg-tint); }
.shot figcaption { padding: 12px 16px; font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--line); }

/* ---------- faq / accordion ---------- */
.faq { display: grid; gap: var(--s-3); }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.faq details[open] { border-color: #c9dcf3; box-shadow: var(--sh-1); }
.faq summary {
    display: flex; align-items: center; gap: var(--s-3); padding: 16px 18px; cursor: pointer;
    font-weight: 600; color: var(--navy-800); font-size: 16.5px; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq-body { padding: 0 18px 18px; color: var(--ink-2); font-size: 15.5px; line-height: 1.8; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-group-title { margin: var(--s-8) 0 var(--s-4); font-size: 19px; display: flex; align-items: center; gap: 10px; }
.faq-group-title a { font-size: 14px; font-weight: 600; }

/* ---------- prose (文章正文) ---------- */
.prose { max-width: 76ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: var(--s-8) 0 var(--s-4); font-size: clamp(20px, 2.4vw, 27px); }
.prose h3 { margin: var(--s-7) 0 var(--s-3); font-size: 19px; }
.prose h4 { margin: var(--s-6) 0 var(--s-2); font-size: 17px; }
.prose p { margin: 0 0 var(--s-5); line-height: 1.85; color: var(--ink-2); }
.prose ul { margin: 0 0 var(--s-5); display: grid; gap: 9px; }
.prose ol { margin: 0 0 var(--s-5); display: grid; gap: 9px; padding-left: 24px; }
.prose li { color: var(--ink-2); line-height: 1.8; }
.prose ul > li { position: relative; padding-left: 20px; list-style: none; }
.prose ul > li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-600); }
.prose img { border-radius: var(--r); margin-block: var(--s-6); border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; margin-block: var(--s-6); font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.prose th { background: var(--bg-soft); font-weight: 600; color: var(--navy-800); }
.prose blockquote { margin: var(--s-6) 0; padding: var(--s-4) var(--s-6); border-left: 3px solid var(--blue-600); background: var(--blue-050); border-radius: 0 var(--r) var(--r) 0; color: var(--navy-700); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose code { font-family: var(--font-mono); font-size: .92em; background: var(--bg-tint); padding: 2px 6px; border-radius: var(--r-xs); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- call to action band ---------- */
.cta {
    position: relative; overflow: hidden; border-radius: var(--r-xl);
    background: linear-gradient(120deg, var(--navy-800), var(--navy-600) 70%, #14608f);
    color: #fff; padding: clamp(28px, 4vw, 52px);
    display: grid; gap: var(--s-6); align-items: center;
}
@media (min-width: 900px) { .cta { grid-template-columns: 1.4fr 1fr; } }
.cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(520px 260px at 92% 10%, rgba(127, 216, 228, .28), transparent 70%); pointer-events: none; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(21px, 2.6vw, 31px); }
.cta p { color: #c6dbf1; margin: var(--s-3) 0 0; }
.cta-actions { display: grid; gap: var(--s-3); justify-items: stretch; }
@media (min-width: 900px) { .cta-actions { justify-items: end; } }
.cta-tel { font-size: 21px; font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 9px; }
.cta-tel .icon { width: 20px; height: 20px; color: #7fd8e4; }

/* ---------- timeline ---------- */
.timeline { display: grid; gap: var(--s-5); position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--blue-600), var(--teal-600)); opacity: .35; }
.tl-item { position: relative; padding-left: 34px; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue-600); }
.tl-year { font-size: 14px; font-weight: 700; color: var(--blue-700); letter-spacing: .06em; }
.tl-item h3 { font-size: 17px; margin-block: 3px 5px; }
.tl-item p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* ---------- case results ---------- */
.results { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.result { padding: var(--s-5); border-radius: var(--r); background: var(--bg-soft); border: 1px solid var(--line); }
.result b { display: block; font-size: 15.5px; color: var(--navy-800); margin-bottom: 4px; }
.result span { font-size: 14.5px; color: var(--ink-2); }
.quote-card { padding: var(--s-6); border-radius: var(--r-lg); background: var(--navy-800); color: #d7e6f6; display: grid; gap: var(--s-4); }
.quote-card .icon { width: 26px; height: 26px; color: #7fd8e4; }
.quote-card p { margin: 0; font-size: 17px; line-height: 1.8; }
.quote-card footer { font-size: 14px; color: #9cbad9; }

/* ---------- generic panels ---------- */
.panel { padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.panel--soft { background: var(--bg-soft); }
.panel h3 { margin-bottom: var(--s-4); }
.aside-card { position: sticky; top: calc(var(--header-h) + 20px); padding: var(--s-6); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-soft); display: grid; gap: var(--s-4); }
.aside-card h3 { font-size: 18px; }
.aside-list { display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.aside-list li { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: start; }
.aside-list .icon { width: 17px; height: 17px; color: var(--teal-600); margin-top: 4px; }
.layout-aside { display: grid; gap: var(--s-8); align-items: start; }
@media (min-width: 1000px) { .layout-aside { grid-template-columns: minmax(0, 1fr) 320px; } }

.detail-nav { display: flex; flex-wrap: wrap; gap: 8px; position: sticky; top: var(--header-h); z-index: 20;
    padding: 10px 0; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.detail-nav a { padding: 7px 14px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line); }
.detail-nav a:hover { color: var(--blue-700); border-color: #c9dcf3; }

/* ---------- contact ---------- */
.info-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.info-card { padding: var(--s-6); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; display: grid; gap: 9px; align-content: start; }
.info-card .icon { width: 24px; height: 24px; color: var(--blue-600); }
.info-card h3 { font-size: 15.5px; color: var(--ink-3); font-weight: 600; }
.info-card b { font-size: 18px; color: var(--navy-800); line-height: 1.5; word-break: break-word; }
.info-card span { font-size: 14.5px; color: var(--ink-2); }
.form { display: grid; gap: var(--s-4); }
.form label { font-size: 14.5px; font-weight: 600; color: var(--navy-800); display: grid; gap: 6px; }
.form input, .form textarea, .form select {
    font: inherit; font-size: 15.5px; padding: 12px 14px; border: 1px solid var(--line-2);
    border-radius: var(--r-sm); background: #fff; color: var(--ink); width: 100%;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--blue-500); outline-offset: 1px; border-color: var(--blue-500); }
.form textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--ink-3); }
.notice { padding: var(--s-4) var(--s-5); border-radius: var(--r); background: var(--amber-050); border: 1px solid #f0dcb4; color: #7a5410; font-size: 14.5px; }
.notice--info { background: var(--blue-050); border-color: #cfe1f6; color: var(--navy-700); }

/* ---------- list pages ---------- */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s-7); }
.chip { padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: #fff; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.chip:hover, .chip[aria-current="true"] { color: #fff; background: var(--navy-800); border-color: var(--navy-800); }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: var(--s-8); }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: 15px; color: var(--ink-2); background: #fff; }
.pager a:hover { border-color: var(--navy-800); color: var(--navy-800); }
.pager .is-current { background: var(--navy-800); border-color: var(--navy-800); color: #fff; font-weight: 700; }
.pager .is-disabled { opacity: .45; }

.group-title { margin: var(--s-9) 0 var(--s-5); font-size: 20px; display: flex; align-items: baseline; gap: 12px; }
.group-title small { font-size: 13.5px; color: var(--ink-3); font-weight: 400; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: #9db6d1; padding-top: clamp(44px, 6vw, 72px); font-size: 15px; }
.footer-grid { display: grid; gap: var(--s-8); grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; max-width: 340px; } }
.brand-footer { color: #fff; }
.brand-footer:hover { color: #fff; }
.brand-footer img { display: block; height: 34px; width: auto; }
.brand-footer .brand-text { border-left-color: #1d3f66; color: #7f9ab8; }
.footer-brand p { margin-top: var(--s-4); color: #90a9c6; font-size: 14.5px; }
.footer-col h3 { color: #fff; font-size: 15px; letter-spacing: .04em; margin-bottom: var(--s-4); }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: #9db6d1; }
.footer-col a:hover { color: #fff; }
.footer-contact { display: grid; gap: 11px; margin-top: var(--s-5); }
.footer-contact li { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: start; }
.fc-label { display: inline-flex; align-items: center; gap: 6px; color: #7f9ab8; font-size: 13.5px; }
.fc-label .icon { width: 15px; height: 15px; }
.footer-contact a { color: #cfe0f2; }
.footer-qr { display: flex; flex-wrap: wrap; gap: var(--s-6); margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-qr figure { margin: 0; text-align: center; }
.footer-qr img { border-radius: var(--r-sm); background: #fff; padding: 5px; }
.footer-qr figcaption { margin-top: 8px; font-size: 13px; color: #86a0bd; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); align-items: center; justify-content: space-between;
    margin-top: var(--s-8); padding: var(--s-5) 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--s-5); }
.footer-legal a { color: #86a0bd; }
.footer-legal a:hover { color: #fff; }

/* ---------- float contact ---------- */
.float-contact { display: none; }
@media (max-width: 640px) {
    .float-contact {
        display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; position: fixed; inset-inline: 0; bottom: 0; z-index: 90;
        background: var(--line); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
    }
    .float-item { display: grid; place-items: center; gap: 2px; padding: 9px 4px 8px; background: #fff; color: var(--ink-2); font-size: 11.5px; border: 0; cursor: pointer; }
    .float-item:hover, .float-item:first-child { color: var(--blue-700); }
    .float-item .icon { width: 20px; height: 20px; }
    body { padding-bottom: 58px; }
}
@media (min-width: 641px) {
    .float-top { position: fixed; right: 22px; bottom: 26px; z-index: 80; width: 44px; height: 44px; border-radius: 50%;
        display: grid; place-items: center; background: var(--navy-800); color: #fff; border: 0; cursor: pointer; box-shadow: var(--sh-2); opacity: 0; pointer-events: none; transition: opacity .25s; }
    .float-top.is-visible { opacity: 1; pointer-events: auto; }
    .float-contact { display: contents; }
    .float-item:not(.float-top) { display: none; }
}

/* ---------- misc ---------- */
.divider { height: 1px; background: var(--line); border: 0; margin-block: var(--s-8); }
.badge-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); }
.badge { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: 14.5px; color: var(--ink-2); }
.badge .icon { width: 18px; height: 18px; color: var(--teal-600); }
.kv-list { display: grid; gap: 12px; }
.kv-list div { display: grid; grid-template-columns: 120px 1fr; gap: var(--s-3); font-size: 15px; }
.kv-list dt, .kv-list b { color: var(--ink-3); font-weight: 600; }
.err-page { min-height: 52vh; display: grid; place-content: center; text-align: center; gap: var(--s-4); padding-block: var(--s-9); }
.err-code { font-size: 76px; font-weight: 800; color: var(--bg-tint); letter-spacing: -.04em; line-height: 1; }
.muted { color: var(--ink-3); }
.lead { font-size: clamp(16.5px, 1.6vw, 19px); color: var(--ink-2); line-height: 1.8; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.section-anchor { scroll-margin-top: calc(var(--header-h) + 24px); }

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

@media print {
    .topbar, .site-header, .float-contact, .cta, .detail-nav, .pager { display: none !important; }
    body { font-size: 12pt; color: #000; }
    .section { padding-block: 12pt; }
}
