/* ==========================================================================
   最驰科技 zuichi.com — 官网样式表
   设计方向：工程白皮书 / 「升维档案」
   —— 纸面为底、墨蓝为骨、一线主蓝为重音；无辉光、无渐变文字、无 emoji。
   结构：01 设计令牌 · 02 基础层 · 03 导航 · 04 首屏 · 05 页头 ·
        06 章节通用 · 07 三层结构 · 08 索引寄存器 · 09 业务模块 ·
        10 案例 · 11 条款表 · 12 作业流程 · 13 联系 · 14 页脚 ·
        15 组件（按钮/链接/标签/toast）· 16 文档导轨 · 17 动效 · 18 响应式
   ========================================================================== */

/* --------------------------------------------------------------------------
   01 设计令牌
   -------------------------------------------------------------------------- */
:root {
    /* 纸面与墨 */
    --paper: #F3F4F6;          /* 页面底色：冷调纸面 */
    --paper-2: #ECEEF1;        /* 次级纸面 / 表头 */
    --surface: #FFFFFF;        /* 白面（表单、案例、模块） */
    --ink: #0E2145;            /* 品牌墨蓝（取自企业标识深色） */
    --ink-2: #152C52;          /* 墨底上的次级表面 */
    --slate: #5A6478;          /* 正文次级 */
    --muted: #697385;          /* 弱化文字 / 出处标注 */
    --line: #DEE2E8;           /* 浅色细线 */
    --line-strong: #C7CDD7;    /* 浅色较强细线 */
    --line-ink: rgba(255, 255, 255, 0.16);   /* 墨底细线 */
    --line-ink-soft: rgba(255, 255, 255, 0.09);

    /* 主蓝一族 */
    --azure: #1259C3;          /* 主强调：可交互、可读 */
    --azure-deep: #0C47A1;     /* 主蓝按下态 */
    --azure-wash: rgba(18, 89, 195, 0.08);   /* 主蓝淡洗 */
    --cyan: #6FB8E8;           /* 墨底上的品牌亮蓝（图形、数据） */
    --warn: #D9A03A;           /* 功能态：发送结果未确认（琥珀） */

    /* 墨底文字 */
    --on-ink: #EEF1F6;
    --on-ink-2: rgba(210, 220, 234, 0.82);
    --on-ink-3: rgba(198, 210, 226, 0.6);

    /* 圆角层级：控件 < 面板 < 媒体 */
    --r-ctl: 8px;
    --r-sheet: 10px;
    --r-media: 12px;
    --r-chip: 4px;

    /* 版心与节奏 */
    --w: 1152px;
    --gutter: 24px;
    --sec-y: 104px;
    --nav-h: 68px;

    /* 字体族：中文系统字体优先，避免外链字体（加载速度与国内可达性） */
    --font-sans: system-ui, -apple-system, "Segoe UI", "PingFang SC",
        "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans CJK SC",
        "Microsoft YaHei", sans-serif;
}

/* --------------------------------------------------------------------------
   02 基础层
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 20px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.78;
    color: var(--ink);
    background-color: var(--paper);
    overflow-x: hidden;
    font-feature-settings: "tnum" 1;
    text-rendering: optimizeLegibility;
}

::selection {
    background: rgba(18, 89, 195, 0.16);
}

img,
video,
svg {
    max-width: 100%;
    display: block;
}

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

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.32;
    letter-spacing: -0.01em;
}

strong {
    font-weight: 600;
}

:focus-visible {
    outline: 2px solid var(--azure);
    outline-offset: 3px;
    border-radius: 2px;
}

.ink-surface :focus-visible,
.site-footer :focus-visible {
    outline-color: var(--cyan);
}

/* 版心 */
.wrap {
    width: 100%;
    max-width: var(--w);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* 墨面（首屏 / 页头 / 页脚） */
.ink-surface {
    position: relative;
    background-color: var(--ink);
    color: var(--on-ink);
    isolation: isolate;
}

/* 墨面纹理：细网格 + 唯一一处柔光（克制，不做霓虹） */
.ink-surface::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.038) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
    background-size: 56px 56px;
    background-position: center top;
    mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
    pointer-events: none;
}

.ink-surface::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(
        620px 360px at 84% 4%,
        rgba(72, 140, 226, 0.16),
        transparent 68%
    );
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   03 导航
   -------------------------------------------------------------------------- */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.25s ease, border-color 0.25s ease,
        box-shadow 0.25s ease;
    border-bottom: 1px solid transparent;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--nav-h);
}

/* 品牌 */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--on-ink);
    transition: color 0.25s ease;
    flex: none;
}

.brand-mark {
    width: 30px;
    height: 30px;
    flex: none;
}

.brand-name {
    font-size: 1.06rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1;
}

.brand-domain {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--on-ink-3);
    line-height: 1;
    margin-top: 3px;
    display: block;
}

/* 导航链接 */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    position: relative;
    display: inline-block;
    padding: 8px 11px;
    font-size: 0.9063rem;
    color: var(--on-ink-2);
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    bottom: 1px;
    height: 2px;
    background: var(--azure);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
    border-radius: 1px;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
    transform: scaleX(1);
}

.nav-links a[aria-current="page"] {
    color: #fff;
}

/* 滚动后：磨砂纸面 */
.site-nav.is-solid {
    background-color: rgba(243, 244, 246, 0.86);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
    border-bottom-color: var(--line);
}

.site-nav.is-solid .brand {
    color: var(--ink);
}

.site-nav.is-solid .brand-domain {
    color: var(--muted);
}

.site-nav.is-solid .nav-links a {
    color: var(--slate);
}

.site-nav.is-solid .nav-links a:hover,
.site-nav.is-solid .nav-links a[aria-current="page"] {
    color: var(--ink);
}

.site-nav.is-solid .nav-toggle span {
    background: var(--ink);
}

/* 汉堡按钮 */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 9px;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 1px;
    background: var(--on-ink);
    transition: transform 0.22s ease, opacity 0.22s ease, background-color 0.25s ease;
}

.site-nav.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.site-nav.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.site-nav.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   04 首屏（首页）
   -------------------------------------------------------------------------- */
.hero {
    padding: clamp(132px, 17vh, 184px) 0 88px;
    min-height: min(94vh, 900px);
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 48px 56px;
    align-items: center;
    width: 100%;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    color: var(--on-ink-3);
    margin-bottom: 26px;
}

.hero-kicker::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--cyan);
    opacity: 0.85;
}

.hero-title {
    font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.05rem);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -0.015em;
    color: #fff;
    text-wrap: balance;
}

.hero-quote {
    margin-top: 22px;
    font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.3rem);
    line-height: 1.7;
    color: var(--cyan);
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* 品牌“+”号：全局以主蓝强调，墨底转为亮蓝 */
.plus {
    color: var(--azure);
    font-weight: 500;
}

.ink-surface .plus {
    color: var(--cyan);
}

.hero-desc {
    margin-top: 18px;
    max-width: 34em;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--on-ink-2);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 40px;
}

/* 首屏图形（图 1） */
.hero-fig {
    margin: 0;
}

.hero-fig svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.fig-cap {
    margin-top: 18px;
    font-size: 0.8125rem;
    line-height: 1.7;
    letter-spacing: 0.02em;
    color: var(--on-ink-3);
    display: flex;
    gap: 12px;
    align-items: baseline;
}

.fig-cap b {
    color: var(--on-ink-2);
    font-weight: 500;
    flex: none;
}

/* 图 1 内部元素（SVG） */
.fig-step {
    fill: rgba(255, 255, 255, 0.045);
    stroke: rgba(255, 255, 255, 0.16);
    stroke-width: 1;
}

.fig-top {
    stroke: var(--cyan);
    stroke-width: 2;
    opacity: 0.85;
}

.fig-label {
    fill: #fff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.fig-sub {
    fill: rgba(198, 210, 226, 0.62);
    font-size: 11.5px;
    letter-spacing: 0.04em;
}

.fig-tag {
    fill: var(--cyan);
    font-size: 11px;
    letter-spacing: 0.14em;
}

.fig-base {
    stroke: rgba(255, 255, 255, 0.14);
    stroke-width: 1;
}

.fig-path {
    fill: none;
    stroke: var(--cyan);
    stroke-width: 1.4;
    stroke-dasharray: 5 6;
    opacity: 0.9;
}

.fig-node {
    fill: var(--ink);
    stroke: var(--cyan);
    stroke-width: 1.5;
}

.fig-arrow {
    fill: var(--cyan);
}

/* 入场动画（唯一一次编排好的入场） */
.hero-copy > * {
    animation: rise 0.72s cubic-bezier(0.2, 0.72, 0.3, 1) both;
    animation-delay: calc(var(--i, 0) * 90ms + 60ms);
}

.hero-fig {
    animation: rise 0.8s cubic-bezier(0.2, 0.72, 0.3, 1) both;
    animation-delay: 0.34s;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 图 1 的绘制：随首屏入场一次编排完成（三级台阶依次立起 → 轨迹线描出 → 箭头落位） */
.fig-plus {
    fill: var(--cyan);
}

.fig-stepg {
    animation: fig-rise 0.72s cubic-bezier(0.2, 0.72, 0.3, 1) both;
    animation-delay: calc(var(--s, 0) * 110ms + 460ms);
}

.fig-path {
    animation: fig-line 0.9s ease-out 0.95s both;
}

.fig-arrow {
    animation: fig-fade 0.5s ease 1.65s both;
}

@keyframes fig-rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fig-line {
    from {
        opacity: 0;
    }
    25% {
        opacity: 0.9;
    }
    to {
        opacity: 0.9;
    }
}

@keyframes fig-fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 进入视口后的绘制（供其他页面复用，仅触发一次） */
[data-draw] .fig-stepg,
[data-draw] .fig-path,
[data-draw] .fig-node,
[data-draw] .fig-arrow {
    animation: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

[data-draw].is-in .fig-stepg,
[data-draw].is-in .fig-path,
[data-draw].is-in .fig-node,
[data-draw].is-in .fig-arrow {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   05 页头（内页）
   -------------------------------------------------------------------------- */
.page-head {
    padding: clamp(128px, 15vh, 168px) 0 64px;
}

.page-head h1 {
    font-size: clamp(1.95rem, 1.4rem + 2.4vw, 3rem);
    color: #fff;
    letter-spacing: -0.015em;
    max-width: 22em;
}

.page-head .page-sub {
    margin-top: 16px;
    font-size: clamp(1rem, 0.94rem + 0.3vw, 1.125rem);
    line-height: 1.8;
    color: var(--on-ink-2);
    max-width: 44em;
}

.page-head .page-src {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid var(--line-ink-soft);
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    color: var(--on-ink-3);
    max-width: 44em;
}

/* --------------------------------------------------------------------------
   06 章节通用
   -------------------------------------------------------------------------- */
.chapter {
    padding: var(--sec-y) 0;
    background: var(--paper);
}

.chapter--white {
    background: var(--surface);
}

.chapter-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px 32px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
    margin-bottom: 56px;
}

.chapter-title {
    font-size: clamp(1.625rem, 1.25rem + 1.5vw, 2.375rem);
    letter-spacing: -0.012em;
}

.chapter-lead {
    margin-top: 16px;
    max-width: 46em;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--slate);
}

.chapter-src {
    font-size: 0.7813rem;
    letter-spacing: 0.05em;
    color: var(--muted);
    white-space: nowrap;
    padding-bottom: 6px;
}

.chapter-foot {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    align-items: baseline;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   07 三层结构（三大核心路径）
   -------------------------------------------------------------------------- */
.strata {
    border-top: 0;
}

.stratum {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 24px 48px;
    padding: 40px 0;
    border-bottom: 1px solid var(--line);
    position: relative;
}

.stratum:first-child {
    padding-top: 8px;
}

.stratum-title {
    font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
    letter-spacing: -0.01em;
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.stratum-title .plus {
    color: var(--azure);
}

.stratum-body p {
    color: var(--slate);
    max-width: 62ch;
}

.stratum-body p + p {
    margin-top: 14px;
}

/* L 层标记：真实的层序 */
.stratum-mark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 14px;
}

.stratum-mark::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 1px;
    background: var(--azure);
}

.stratum-mark b {
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   08 索引寄存器（行业 / 模块清单）
   -------------------------------------------------------------------------- */
.register {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 44px;
    border-top: 1px solid var(--line);
}

.reg-item {
    padding: 26px 0 30px;
    border-bottom: 1px solid var(--line);
    min-height: 100%;
}

.reg-no {
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    color: var(--azure);
    font-weight: 500;
}

.reg-title {
    margin-top: 10px;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: 0;
}

.reg-title .reg-no {
    margin-right: 8px;
}

.reg-desc {
    margin-top: 10px;
    font-size: 0.9063rem;
    line-height: 1.75;
    color: var(--slate);
    max-width: 40ch;
}

.reg-item .x-link {
    margin-top: 18px;
}

/* 更密的寄存器：四列（案例页行业分布） */
.register--dense {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 36px;
}

.register--dense .reg-item {
    padding: 22px 0 24px;
}

.register--dense .reg-desc {
    font-size: 0.875rem;
    max-width: 32ch;
}

/* 两列寄存器（定价说明） */
.register--duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 56px;
}

.register--duo .reg-desc {
    max-width: 52ch;
}

/* --------------------------------------------------------------------------
   09 业务模块（三大智能服务引擎）
   -------------------------------------------------------------------------- */
.modules {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.module {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 28px 56px;
    padding: 52px 0 56px;
    border-bottom: 1px solid var(--line);
}

.module-head .module-no {
    display: inline-block;
    font-size: 0.8125rem;
    letter-spacing: 0.12em;
    color: var(--azure);
    margin-bottom: 16px;
    font-weight: 500;
}

.module-title {
    font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.625rem);
    line-height: 1.4;
    letter-spacing: -0.008em;
}

.module-desc {
    margin-top: 16px;
    color: var(--slate);
    max-width: 40ch;
}

.module-caps {
    align-self: start;
}

.caps-label {
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 8px;
}

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

.caps li {
    position: relative;
    padding: 11px 0 11px 24px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--ink);
    border-bottom: 1px solid var(--line-ink-soft);
    border-bottom-color: var(--paper-2);
}

.caps li::before {
    content: "+";
    position: absolute;
    left: 2px;
    top: 11px;
    color: var(--azure);
    font-weight: 500;
    font-size: 0.9375rem;
    line-height: inherit;
}

/* --------------------------------------------------------------------------
   10 案例
   -------------------------------------------------------------------------- */
.case-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.case {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-sheet);
    padding: 32px 32px 28px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease;
}

.case:hover {
    border-color: var(--line-strong);
}

.case-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.case-title {
    font-size: 1.1875rem;
    line-height: 1.45;
    letter-spacing: -0.006em;
}

.chip {
    flex: none;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--slate);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-chip);
    padding: 3px 9px;
    white-space: nowrap;
}

.case-rows {
    margin-top: 8px;
}

.case-row {
    display: grid;
    grid-template-columns: 4.6em minmax(0, 1fr);
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--paper-2);
    font-size: 0.9375rem;
    line-height: 1.72;
    color: var(--slate);
}

.case-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.case-label {
    color: var(--muted);
    font-size: 0.8438rem;
    letter-spacing: 0.04em;
    padding-top: 2px;
}

.case-row--result {
    color: var(--ink);
}

.case-row--result .case-label {
    color: var(--azure);
}

.case-row--result b,
.case-row--result strong {
    color: var(--ink);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   11 条款表（收费模式）
   -------------------------------------------------------------------------- */
.terms {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid var(--line);
}

.terms th {
    text-align: left;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--muted);
    padding: 14px 20px 14px 0;
    border-bottom: 1px solid var(--line);
    vertical-align: bottom;
}

.terms td {
    vertical-align: top;
    padding: 26px 20px 28px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--slate);
}

.terms .col-term {
    width: 22%;
    padding-right: 28px;
}

.terms .col-desc {
    width: 30%;
}

.terms .col-adv {
    width: 24%;
}

.terms .col-fit {
    width: 24%;
    padding-right: 0;
}

.term-name {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.5;
}

.term-badge {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    color: var(--azure);
    background: var(--azure-wash);
    border-radius: var(--r-chip);
    padding: 3px 9px;
}

.terms td strong {
    color: var(--ink);
    font-weight: 600;
}

/* 数值型紧凑表（案例评分表：单行短文本，收紧行高避免纵向过长） */
.terms--compact th {
    padding-top: 12px;
    padding-bottom: 12px;
}

.terms--compact td {
    padding-top: 15px;
    padding-bottom: 16px;
}

.terms--compact th:nth-child(1) {
    width: 12%;
}

.terms--compact th:nth-child(2) {
    width: 24%;
}

.terms--compact th:nth-child(3) {
    width: 20%;
}

/* --------------------------------------------------------------------------
   12 作业流程（时间线）
   -------------------------------------------------------------------------- */
.runbook {
    position: relative;
    display: grid;
    gap: 0;
}

.runbook-step {
    position: relative;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0 32px;
    padding: 34px 0 40px;
}

.runbook-step::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line);
}

.runbook-step:first-child::before {
    top: 46px;
}

.runbook-step:last-child::before {
    bottom: auto;
    height: 46px;
}

.runbook-no {
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--paper);
    border: 1px solid var(--line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--azure);
}

.runbook-step:first-child .runbook-no {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.runbook-body {
    padding-top: 6px;
    max-width: 62ch;
}

.runbook-title {
    font-size: 1.25rem;
    letter-spacing: -0.006em;
}

.runbook-desc {
    margin-top: 12px;
    color: var(--slate);
}

.runbook-details {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 36px;
    border-top: 1px solid var(--line);
}

.runbook-details li {
    position: relative;
    padding: 12px 0 12px 24px;
    font-size: 0.9063rem;
    color: var(--slate);
    border-bottom: 1px solid var(--paper-2);
}

.runbook-details li::before {
    content: "+";
    position: absolute;
    left: 2px;
    top: 12px;
    color: var(--azure);
    font-size: 0.9063rem;
    line-height: inherit;
}

/* 极简流程（为何选择我们页） */
.runbook--lean .runbook-step {
    padding: 28px 0 32px;
}

/* --------------------------------------------------------------------------
   13 联系
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 32px;
    align-items: start;
}

.form-sheet,
.info-sheet {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-sheet);
    padding: 36px;
}

.sheet-title {
    font-size: 1.25rem;
    letter-spacing: -0.006em;
}

.sheet-sub {
    margin-top: 10px;
    font-size: 0.9375rem;
    color: var(--slate);
}

.form-sheet .sheet-sub {
    padding-bottom: 26px;
    border-bottom: 1px solid var(--line);
}

.form {
    margin-top: 26px;
    display: grid;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    color: var(--ink);
    margin-bottom: 9px;
    letter-spacing: 0.02em;
}

.form-group label .req {
    color: var(--azure);
    margin-left: 3px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-ctl);
    padding: 12px 14px;
    transition: border-color 0.18s ease, background-color 0.18s ease,
        box-shadow 0.18s ease;
    appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: var(--muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--surface);
    border-color: var(--azure);
    box-shadow: 0 0 0 3px rgba(18, 89, 195, 0.14);
}

.form-group textarea {
    resize: vertical;
    min-height: 148px;
    line-height: 1.75;
}

/* Cloudflare Turnstile 人机校验：预留高度，避免 widget 注入时的布局跳动。
   iframe 由 Turnstile 自己插入，这里只负责容器宽度不被撑破（min-width:0 是关键，
   .form 是 grid，默认 min-width:auto 会让 300px 的 iframe 撑开整张卡片）。 */
.cf-turnstile {
    width: 100%;
    min-width: 0;
    min-height: 65px;
}

.cf-turnstile[data-size="compact"] {
    width: auto;
    min-height: 140px;
}

.form-actions {
    margin-top: 4px;
}

/* 信息面板 */
.info-block {
    padding: 24px 0 26px;
    border-bottom: 1px solid var(--line);
}

.info-block:first-of-type {
    padding-top: 6px;
}

.info-block:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.info-block h3 {
    font-size: 1.0625rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-block h3::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 1px;
    background: var(--azure);
    flex: none;
}

.info-label {
    font-size: 0.8438rem;
    letter-spacing: 0.03em;
    color: var(--muted);
    margin-bottom: 4px;
}

.info-label + .info-value {
    margin-bottom: 20px;
}

.info-block .info-label:last-child {
    margin-bottom: 0;
}

.info-value {
    font-size: 1rem;
    color: var(--ink);
    display: inline-block;
    transition: color 0.18s ease;
}

a.info-value:hover {
    color: var(--azure);
}

.qr {
    width: 184px;
    height: 184px;
    border: 1px solid var(--line);
    border-radius: var(--r-ctl);
    background: #fff;
    padding: 8px;
    object-fit: contain;
}

.info-hours {
    font-size: 0.9375rem;
    color: var(--slate);
}

.info-hours li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--paper-2);
    max-width: 320px;
}

.info-hours li:last-child {
    border-bottom: 0;
}

.info-hours b {
    font-weight: 500;
    color: var(--ink);
}

/* 视频（我们是谁）—— 承接页头的墨面，保持同一张纸 */
.video-band {
    padding: 4px 0 96px;
}

.video-fig {
    margin: 0;
}

.video-band .fig-cap {
    color: var(--on-ink-3);
}

.video-band .fig-cap b {
    color: var(--on-ink-2);
}

.video-frame {
    position: relative;
    border: 1px solid var(--line-ink);
    border-radius: var(--r-media);
    overflow: hidden;
    background: #0A1730;
}

.intro-video-player {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    cursor: pointer;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    padding: 0;
    border-radius: 50%;
    background: rgba(243, 244, 246, 0.94);
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 12px 32px rgba(8, 18, 40, 0.35);
}

.play-button::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 16px solid var(--ink);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 5px;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.06);
    background: #fff;
}

.play-button.is-hidden {
    display: none;
}

/* 声音开关：首次播放后出现在画面右上角，可随时静音 / 恢复 */
.sound-toggle {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(243, 244, 246, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.18s ease, transform 0.18s ease;
    box-shadow: 0 6px 18px rgba(8, 18, 40, 0.28);
    z-index: 2;
}

.sound-toggle[hidden] {
    display: none;
}

.sound-toggle:hover {
    background: #fff;
    transform: scale(1.05);
}

.sound-toggle svg {
    width: 20px;
    height: 20px;
}

.sound-toggle .ic-speaker {
    fill: var(--ink);
}

.sound-toggle .ic-wave,
.sound-toggle .ic-slash {
    fill: none;
    stroke: var(--ink);
    stroke-width: 1.7;
    stroke-linecap: round;
}

.sound-toggle .ic-slash {
    display: none;
}

.sound-toggle.is-muted .ic-wave {
    display: none;
}

.sound-toggle.is-muted .ic-slash {
    display: block;
}

.video-fig .fig-cap {
    color: var(--on-ink-3);
}

.video-fig .fig-cap b {
    color: var(--on-ink-2);
}

/* 介绍文本（编辑式两栏） */
.editorial {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 24px 56px;
    border-top: 1px solid var(--line);
    padding-top: 40px;
}

.editorial-aside .editorial-label {
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    color: var(--muted);
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.editorial-aside h2 {
    margin-top: 18px;
    font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
    letter-spacing: -0.01em;
}

.editorial-body p {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: var(--slate);
    max-width: 40em;
}

.editorial-body p + p {
    margin-top: 22px;
}

.editorial-body p:first-child {
    color: var(--ink);
}

/* 使命 / 愿景 / 优势 */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 44px;
    border-top: 1px solid var(--line);
}

.mv-card {
    padding: 30px 0 36px;
    border-bottom: 1px solid var(--line);
}

.mv-card h3 {
    font-size: 1.125rem;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.mv-card h3::before {
    content: "+";
    color: var(--azure);
    font-weight: 500;
}

.mv-card p,
.mv-card li {
    margin-top: 16px;
    color: var(--slate);
    font-size: 0.9688rem;
    line-height: 1.8;
    max-width: 36ch;
}

.mv-card ul li {
    position: relative;
    padding-left: 24px;
    margin-top: 12px;
}

.mv-card ul li::before {
    content: "+";
    position: absolute;
    left: 2px;
    top: 0;
    color: var(--azure);
}

/* 优势（为何选择我们 / 流程优势） */
.edges {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.edge {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 20px 48px;
    padding: 40px 0;
    border-bottom: 1px solid var(--line);
}

.edge-title {
    font-size: clamp(1.1875rem, 1.02rem + 0.8vw, 1.5rem);
    letter-spacing: -0.008em;
}

.edge-desc {
    color: var(--slate);
    max-width: 62ch;
}

/* 流程优势（四项短条目） */
.merits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 40px;
    border-top: 1px solid var(--line);
}

.merit {
    padding: 28px 0 32px;
    border-bottom: 1px solid var(--line);
}

.merit h3 {
    font-size: 1.0625rem;
}

.merit p {
    margin-top: 12px;
    font-size: 0.9375rem;
    color: var(--slate);
    max-width: 30ch;
}

/* --------------------------------------------------------------------------
   14 页脚
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--ink);
    color: var(--on-ink-2);
    padding: 72px 0 32px;
    border-top: 1px solid var(--ink-2);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr);
    gap: 40px 48px;
}

.footer-brand .brand {
    color: #fff;
}

.footer-mission {
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--on-ink-2);
    max-width: 30em;
}

.footer-note {
    margin-top: 14px;
    font-size: 0.8438rem;
    letter-spacing: 0.04em;
    color: var(--on-ink-3);
}

.footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--on-ink-3);
    margin-bottom: 20px;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    font-size: 0.9375rem;
    color: var(--on-ink-2);
    transition: color 0.18s ease;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--line-ink-soft);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--on-ink-3);
}

.footer-bottom a {
    color: var(--on-ink-3);
    transition: color 0.18s ease;
}

.footer-bottom a:hover {
    color: #fff;
}

/* --------------------------------------------------------------------------
   15 组件
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 28px;
    border-radius: var(--r-ctl);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.18s ease, border-color 0.18s ease,
        color 0.18s ease;
    white-space: nowrap;
}

/* 墨底：主按钮为白面 */
.btn--light {
    background: #fff;
    color: var(--ink);
}

.btn--light:hover {
    background: var(--cyan);
    color: var(--ink);
}

.btn--ghost-light {
    background: transparent;
    color: var(--on-ink);
    border-color: var(--line-ink);
}

.btn--ghost-light:hover {
    border-color: rgba(255, 255, 255, 0.42);
    color: #fff;
}

/* 纸面：主按钮为主蓝 */
.btn--primary {
    background: var(--azure);
    color: #fff;
}

.btn--primary:hover {
    background: var(--azure-deep);
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-strong);
}

.btn--ghost:hover {
    border-color: var(--ink);
}

.btn--block {
    width: 100%;
}

.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 文本链接：悬停出现细箭头 */
.x-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--azure);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.x-link::after {
    content: "";
    width: 6px;
    height: 6px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    opacity: 0;
    margin-left: -2px;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.x-link:hover {
    border-bottom-color: currentColor;
}

.x-link:hover::after {
    opacity: 1;
    transform: rotate(45deg) translateY(-1px) translateX(2px);
}

/* 标签页级引用行 */
.provenance {
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    color: var(--muted);
}

/* Toast */
.toast {
    position: fixed;
    top: calc(var(--nav-h) + 16px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: #fff;
    padding: 14px 22px;
    border-radius: var(--r-ctl);
    border-left: 3px solid var(--cyan);
    box-shadow: 0 16px 40px rgba(8, 18, 40, 0.28);
    z-index: 2000;
    font-size: 0.9375rem;
    max-width: min(90vw, 480px);
    animation: toast-in 0.26s cubic-bezier(0.2, 0.72, 0.3, 1);
}

/* Toast：成功（主蓝亮线）/ 结果未确认（琥珀亮线）——不再设“失败”态，
   因服务端失败回执无法证明邮件未送达，前端不做不实断言 */
.toast.is-warn {
    border-left-color: var(--warn);
}

.toast.is-out {
    animation: toast-out 0.26s ease forwards;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translate(-50%, -12px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes toast-out {
    to {
        opacity: 0;
        transform: translate(-50%, -12px);
    }
}

/* --------------------------------------------------------------------------
   16 文档导轨（大屏）
   -------------------------------------------------------------------------- */
.doc-rail {
    position: fixed;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 600;
    display: none;
    width: 124px;
}

.doc-rail-title {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--muted);
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--line-strong);
}

.doc-rail a {
    position: relative;
    display: block;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--muted);
    padding: 7px 0 7px 16px;
    transition: color 0.18s ease;
}

.doc-rail a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 1px;
    background: var(--line-strong);
    transition: width 0.2s ease, background-color 0.2s ease;
}

.doc-rail a:hover {
    color: var(--ink);
}

.doc-rail a.is-active {
    color: var(--ink);
}

.doc-rail a.is-active::before {
    width: 14px;
    background: var(--azure);
}

/* --------------------------------------------------------------------------
   17 动效偏好
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-delay: 0ms !important;
        transition-duration: 0.001ms !important;
        transition-delay: 0ms !important;
    }
}

/* --------------------------------------------------------------------------
   18 响应式
   -------------------------------------------------------------------------- */
@media (min-width: 1440px) {
    .doc-rail.is-available {
        display: block;
    }
}

@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero-fig {
        max-width: 560px;
    }

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

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

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

    .module {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {
    :root {
        --sec-y: 72px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--paper);
        padding: 16px 28px 40px;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
        border-top: 1px solid var(--line);
    }

    .site-nav.is-open {
        background-color: var(--paper);
        border-bottom-color: var(--line);
    }

    .site-nav.is-open .nav-links {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .site-nav.is-open .brand {
        color: var(--ink);
    }

    .site-nav.is-open .brand-domain {
        color: var(--muted);
    }

    .site-nav.is-open .nav-toggle span {
        background: var(--ink);
    }

    .nav-links a {
        color: var(--ink);
        font-size: 1.0625rem;
        padding: 16px 4px;
        border-bottom: 1px solid var(--line);
    }

    .nav-links a::after {
        left: 4px;
        right: auto;
        width: 22px;
        bottom: 10px;
    }

    .nav-links a:hover,
    .nav-links a[aria-current="page"] {
        color: var(--ink);
    }

    .stratum,
    .edge,
    .editorial {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stratum {
        padding: 32px 0;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .runbook-step {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 0 20px;
    }

    .runbook-step::before {
        left: 19px;
    }

    .runbook-no {
        width: 38px;
        height: 38px;
        font-size: 0.8125rem;
    }

    .runbook-step:first-child::before {
        top: 38px;
    }

    .runbook-step:last-child::before {
        height: 38px;
    }

    .runbook-details {
        grid-template-columns: 1fr;
    }

    /* 条款表转为分组块 */
    .terms,
    .terms tbody,
    .terms tr,
    .terms td {
        display: block;
        width: 100%;
    }

    .terms thead {
        display: none;
    }

    .terms tr {
        padding: 26px 0 8px;
        border-top: 1px solid var(--line);
    }

    .terms tr:first-child {
        border-top: 0;
        padding-top: 8px;
    }

    .terms td {
        padding: 0 0 14px;
        border-bottom: 0;
    }

    .terms td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.7813rem;
        letter-spacing: 0.06em;
        color: var(--muted);
        margin-bottom: 4px;
    }

    .terms td.col-term::before {
        display: none;
    }

    .terms .col-term,
    .terms .col-desc,
    .terms .col-adv,
    .terms .col-fit {
        width: 100%;
    }

    .editorial {
        padding-top: 32px;
    }

    .chapter-head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .chapter-src {
        padding-bottom: 0;
        order: 3;
    }

    .hero {
        min-height: 0;
        padding: 116px 0 72px;
    }

    .page-head {
        padding: 112px 0 52px;
    }
}

@media (max-width: 720px) {
    .register,
    .mv-grid,
    .merits,
    .caps,
    .footer-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-row {
        gap: 20px;
    }

    .form-sheet,
    .info-sheet {
        padding: 26px 22px;
    }

    .case {
        padding: 26px 22px 22px;
    }

    .case-top {
        flex-direction: column;
        gap: 10px;
    }

    .case-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .hero-quote {
        font-size: 1.0625rem;
    }

    .stratum-title {
        gap: 10px;
    }

    .footer-grid {
        gap: 36px;
    }

    .site-footer {
        padding: 56px 0 28px;
    }

    .footer-bottom {
        margin-top: 40px;
    }

    .video-chapter {
        padding-top: 0;
    }

    /* 小屏下图内文字等比放大，保证可读 */
    .fig-label {
        font-size: 21px;
    }

    .fig-sub {
        font-size: 15px;
    }

    .fig-tag {
        font-size: 14px;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .qr {
        width: 168px;
        height: 168px;
    }
}

@media (max-width: 480px) {
    :root {
        --gutter: 20px;
    }

    .hero {
        padding-top: 104px;
    }

    .btn {
        width: 100%;
    }

    .hero-actions {
        gap: 12px;
    }

    .info-hours li {
        max-width: none;
    }
}

/* --------------------------------------------------------------------------
   19 案例索引（成功案例页 · 档案卡片）
   -------------------------------------------------------------------------- */
.case-index {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.case-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-sheet);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.case-card:hover {
    border-color: var(--line-strong);
}

.case-thumb {
    margin: 0;
    aspect-ratio: 16 / 10;
    background-color: var(--paper);
    background-image:
        linear-gradient(rgba(14, 33, 69, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 33, 69, 0.035) 1px, transparent 1px);
    background-size: 22px 22px;
    border-bottom: 1px solid var(--line);
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-thumb svg {
    width: 100%;
    height: 100%;
}

.case-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 26px 26px;
}

.case-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.case-card-no {
    font-size: 0.7813rem;
    letter-spacing: 0.12em;
    color: var(--muted);
    font-weight: 500;
}

.case-card-title {
    margin-top: 14px;
    font-size: 1.0625rem;
    line-height: 1.5;
    letter-spacing: -0.004em;
}

.case-card-desc {
    margin-top: 12px;
    font-size: 0.9063rem;
    line-height: 1.75;
    color: var(--slate);
    flex: 1;
}

.case-card .x-link {
    margin-top: 20px;
    font-size: 0.875rem;
    align-self: flex-start;
}

.case-card:hover .x-link {
    border-bottom-color: currentColor;
}

.case-card:hover .x-link::after {
    opacity: 1;
    transform: rotate(45deg) translateY(-1px) translateX(2px);
}

/* 图纸语言：缩略图与详情配图共用（细线墨蓝 + 主蓝重音） */
.dg-frame { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1; }
.dg-soft { fill: var(--paper-2); stroke: var(--line-strong); stroke-width: 1; }
.dg-wash { fill: var(--azure-wash); stroke: none; }
.dg-accent-soft { fill: var(--azure-wash); stroke: var(--azure); stroke-width: 1.3; }
.dg-line { stroke: var(--line-strong); stroke-width: 1; fill: none; }
.dg-ink { stroke: var(--ink); stroke-width: 1.3; fill: none; }
.dg-accent { stroke: var(--azure); stroke-width: 1.3; fill: none; }
.dg-accent-2 { stroke: var(--azure); stroke-width: 2; fill: none; }
.dg-line-f { fill: var(--line-strong); }
.dg-ink-f { fill: var(--ink); }
.dg-accent-f { fill: var(--azure); }
.dg-dash { stroke-dasharray: 4 5; }

/* --------------------------------------------------------------------------
   20 案例详情（档案页）
   -------------------------------------------------------------------------- */
.backlink {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 9px;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    color: var(--on-ink-3);
    margin-bottom: 30px;
    transition: color 0.18s ease;
}

.backlink::before {
    content: "";
    width: 7px;
    height: 7px;
    border-left: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin: 0 2px 2px 1px;
}

.backlink:hover {
    color: #fff;
}

.case-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    color: var(--on-ink-3);
    margin-bottom: 18px;
}

.case-kicker::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--cyan);
    opacity: 0.85;
}

.case-meta {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--line-ink-soft);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px 32px;
    max-width: 62em;
}

.case-meta dt {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--on-ink-3);
    margin-bottom: 7px;
}

.case-meta dd {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--on-ink);
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 44px;
    border-top: 1px solid var(--line);
}

.metric {
    padding: 30px 0 34px;
    border-bottom: 1px solid var(--line);
}

.metric-value {
    font-size: clamp(1.75rem, 1.35rem + 1.4vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--ink);
}

.metric-label {
    margin-top: 12px;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--slate);
    max-width: 30ch;
}

.metrics-note {
    margin-top: 36px;
    max-width: 62ch;
}

.metrics-note p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--slate);
}

.metrics-note p + p {
    margin-top: 14px;
}

.figure-block {
    margin: 56px 0 0;
    border: 1px solid var(--line);
    border-radius: var(--r-media);
    background-color: var(--paper);
    background-image:
        linear-gradient(rgba(14, 33, 69, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 33, 69, 0.035) 1px, transparent 1px);
    background-size: 22px 22px;
    padding: clamp(20px, 4vw, 48px) clamp(20px, 5vw, 64px) clamp(20px, 4vw, 40px);
}

.figure-block svg {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
}

/* 图表的窄屏替代列表（图表整体缩放后文字不可读时启用） */
.figure-list {
    display: none;
}

.figure-cap {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 0.8125rem;
    line-height: 1.7;
    letter-spacing: 0.02em;
    color: var(--muted);
    display: flex;
    gap: 12px;
    align-items: baseline;
}

.figure-cap b {
    font-weight: 500;
    color: var(--ink);
    flex: none;
}

.pager {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 40px;
}

.pager a {
    display: block;
}

.pager-label {
    font-size: 0.7813rem;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 10px;
}

.pager-title {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--ink);
    max-width: 26em;
    transition: color 0.18s ease;
}

.pager a:hover .pager-title {
    color: var(--azure);
}

.pager .is-next {
    text-align: right;
}

.pager .is-next .pager-title {
    margin-left: auto;
}

/* 案例页响应式 */
@media (max-width: 1080px) {
    .case-index {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .metrics {
        gap: 0 28px;
    }
}

@media (max-width: 720px) {
    .case-index {
        grid-template-columns: 1fr;
    }

    .case-meta {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .metrics {
        grid-template-columns: 1fr;
    }

    .metric {
        padding: 24px 0 26px;
    }

    .figure-block {
        padding: 20px 16px 18px;
    }

    .pager {
        grid-template-columns: 1fr;
    }

    .pager .is-next {
        text-align: left;
    }
}

/* --------------------------------------------------------------------------
   21 案例素材（v2 · 截图 / 图库 / 版本线 / 代码面板）
   -------------------------------------------------------------------------- */
.case-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    display: block;
}

.shot {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-media);
    overflow: hidden;
    background: var(--surface);
}

.shot img,
.shot video {
    width: 100%;
    display: block;
}

.shot a {
    display: block;
}

.shot--video video {
    background: #0A1730;
}

/* 图集中横跨整行的媒体（如案例样片视频） */
.shot--wide {
    grid-column: 1 / -1;
}

.shot-cap {
    display: flex;
    gap: 12px;
    align-items: baseline;
    padding: 13px 18px;
    border-top: 1px solid var(--line);
    font-size: 0.8125rem;
    line-height: 1.65;
    color: var(--muted);
    background: var(--surface);
}

.shot-cap b {
    color: var(--ink);
    font-weight: 500;
    flex: none;
}

.gallery {
    display: grid;
    gap: 24px;
    align-items: start;
}

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

/* 作品备注：展映记录、题材说明等事实性附注 */
.sample-note {
    margin: 30px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 16px;
    max-width: 62em;
}

.sample-note > div {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 8px 24px;
}

.sample-note dt {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--muted);
    padding-top: 3px;
}

.sample-note dd {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--slate);
}

@media (max-width: 720px) {
    .sample-note > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .sample-note dt {
        padding-top: 0;
    }
}

.subhead {
    margin: 48px 0 20px;
    font-size: 0.9375rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
}

.subhead:first-child {
    margin-top: 0;
}

.subhead::before {
    content: "";
    width: 16px;
    height: 2px;
    border-radius: 1px;
    background: var(--azure);
    flex: none;
}

.versions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    align-items: start;
}

.vitem {
    margin: 0;
}

.vitem a {
    display: block;
}

.vitem a:hover img {
    border-color: var(--line-strong);
}

.vitem img {
    width: 100%;
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--r-media);
}

.vitem figcaption {
    margin-top: 12px;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--slate);
}

.vitem figcaption b {
    color: var(--azure);
    font-weight: 600;
    margin-right: 6px;
}

.codepanel {
    margin: 40px 0 0;
    border-radius: var(--r-media);
    overflow: hidden;
    background: var(--ink);
    border: 1px solid var(--ink);
}

.codepanel-bar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 20px;
    border-bottom: 1px solid var(--line-ink);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--on-ink-3);
}

.codepanel pre {
    margin: 0;
    padding: 22px 24px;
    overflow-x: auto;
}

.codepanel code {
    font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.8125rem;
    line-height: 1.9;
    color: var(--on-ink-2);
    white-space: pre;
}

.codepanel .c {
    color: rgba(111, 184, 232, 0.72);
}

.codepanel .shot-cap {
    background: var(--ink);
    border-top-color: var(--line-ink);
    color: var(--on-ink-3);
}

.codepanel .shot-cap b {
    color: var(--on-ink-2);
}

.caps--wide {
    margin-top: 36px;
    border-top: 1px solid var(--line);
}

/* 图纸注释文字（纸面 SVG） */
.dg-label {
    fill: var(--ink);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    font-family: var(--font-sans);
}

.dg-sub {
    fill: var(--muted);
    font-size: 12.5px;
    letter-spacing: 0.03em;
    font-family: var(--font-sans);
}

/* 素材区响应式 */
@media (max-width: 1080px) {
    .gallery--3,
    .gallery--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .gallery--2,
    .gallery--3,
    .gallery--4 {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .versions {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   22 案例评分表与图表的窄屏适配
   （数值表在手机上转为行式布局；带替代列表的图表隐藏 SVG）
   -------------------------------------------------------------------------- */
@media (max-width: 720px) {
    .terms--compact tr {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr) auto;
        column-gap: 12px;
        align-items: baseline;
        padding: 18px 0 6px;
    }

    .terms--compact td {
        padding: 0;
        border-bottom: 0;
    }

    .terms--compact td::before {
        display: none;
    }

    .terms--compact td:nth-child(1) {
        grid-column: 1;
        font-size: 0.75rem;
        letter-spacing: 0.1em;
        color: var(--muted);
    }

    .terms--compact td:nth-child(2) {
        grid-column: 2;
        font-weight: 600;
        color: var(--ink);
    }

    .terms--compact td:nth-child(3) {
        grid-column: 3;
        text-align: right;
        font-variant-numeric: tabular-nums;
    }

    .terms--compact td:nth-child(4) {
        grid-column: 2 / -1;
        padding-top: 6px;
        font-size: 0.875rem;
        line-height: 1.65;
        color: var(--muted);
    }

    .figure-block--list svg {
        display: none;
    }

    .figure-block--list .figure-list {
        display: grid;
        gap: 0;
    }

    .figure-list li {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 14px;
        align-items: baseline;
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
        font-size: 0.9375rem;
        color: var(--slate);
    }

    .figure-list li b {
        color: var(--ink);
        font-weight: 600;
    }
}

/* 规格表（板型 / 豆位 / 用豆 / 占板率）：窄屏转两行式，一行看档位与用豆，一行看豆位与占板率 */
@media (max-width: 720px) {
    .terms--sizes tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 4px 12px;
        padding: 16px 0 12px;
        border-top: 1px solid var(--line);
    }

    .terms--sizes tr:first-child {
        border-top: 0;
        padding-top: 4px;
    }

    .terms--sizes td {
        padding: 0;
        border-bottom: 0;
    }

    .terms--sizes td::before {
        display: none;
    }

    .terms--sizes td:nth-child(1) {
        grid-area: 1 / 1;
        font-size: 1rem;
        font-weight: 600;
        color: var(--ink);
    }

    .terms--sizes td:nth-child(2) {
        grid-area: 2 / 1;
        font-size: 0.8125rem;
        line-height: 1.6;
        color: var(--muted);
    }

    .terms--sizes td:nth-child(2)::before {
        content: "网格 ";
        display: inline;
    }

    .terms--sizes td:nth-child(3) {
        grid-area: 1 / 2;
        text-align: right;
        font-variant-numeric: tabular-nums;
        color: var(--ink);
    }

    .terms--sizes td:nth-child(3)::after {
        content: " 颗";
        font-size: 0.8125rem;
        color: var(--muted);
    }

    .terms--sizes td:nth-child(4) {
        grid-area: 2 / 2;
        text-align: right;
        font-size: 0.8125rem;
        line-height: 1.6;
        color: var(--muted);
    }

    .terms--sizes td:nth-child(4)::before {
        content: "占板 ";
        display: inline;
    }
}
