/* ============================================================
   百橙科技 v5 — 共享站点样式（Style A 设计系统）
   来源：OpenDesign 验收稿 style-a-dark.html（Task 1/2 用户验收版）
   逐行抽取自原型 <style> 块；仅一处适配：
   1. .lang-btn 增加 .active-lang 状态选择器（i18n.js _updateSwitcher
      以 active-lang 标记当前语言，与原型的 .is-on 等效）。
   复用约定（后续 23 页）：
   - 页面只写「本页特有样式」，公共令牌/组件一律引本文件；
   - 主题：html[data-theme="light"] 覆盖令牌，勿硬编码颜色；
   - 图标：内联 SVG + class="ic"（源文件在 assets/icons/ 备查）。
   ============================================================ */
  /* ============ 设计令牌 · 暗色（默认） ============ */
  :root {
    color-scheme: dark;
    --nav-h: 72px;
    --bg: oklch(0.15 0.018 258);
    --bg-deep: oklch(0.125 0.016 258);
    --surface: oklch(0.185 0.018 255);
    --surface-2: oklch(0.225 0.02 252);
    --fg: oklch(0.95 0.008 250);
    --fg-soft: oklch(0.84 0.014 250);
    --muted: oklch(0.68 0.02 248);
    --faint: oklch(0.6 0.02 248);
    --border: oklch(0.93 0.01 250 / 0.09);
    --border-strong: oklch(0.93 0.01 250 / 0.17);
    --accent: oklch(0.70 0.19 45);
    --accent-hi: oklch(0.75 0.19 45);
    --on-accent: oklch(0.16 0.03 45);
    --accent-line: oklch(0.70 0.19 45 / 0.45);
    --accent-glow: oklch(0.70 0.19 45 / 0.4);
    --cyan: oklch(0.78 0.1 214);
    --cyan-soft: oklch(0.78 0.1 214 / 0.1);
    --cyan-line: oklch(0.78 0.1 214 / 0.45);
    --ring: oklch(0.83 0.15 55);
    --nav-bg: oklch(0.15 0.018 258 / 0.7);
    --glow-a: oklch(0.70 0.19 45 / 0.10);
    --glow-b: oklch(0.78 0.1 214 / 0.08);
    --grid-line: oklch(0.95 0.008 250 / 0.05);
    --hover-tint: oklch(0.95 0.008 250 / 0.06);
    --diag-row-bg: oklch(0.15 0.018 258 / 0.55);
    --shadow: rgb(0 0 0 / 0.6);
    --font-display: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    --font-mono: 'JetBrains Mono','SF Mono',Menlo,Consolas,'Courier New',monospace;
  }

  /* ============ 设计令牌 · 亮色（单独调校） ============ */
  html[data-theme="light"] {
    color-scheme: light;
    --bg: oklch(0.975 0.005 250);
    --bg-deep: oklch(0.95 0.008 250);
    --surface: oklch(1 0 0);
    --surface-2: oklch(0.96 0.006 250);
    --fg: oklch(0.24 0.02 248);
    --fg-soft: oklch(0.36 0.02 248);
    --muted: oklch(0.47 0.02 248);
    --faint: oklch(0.48 0.02 248);
    --border: oklch(0.24 0.02 248 / 0.12);
    --border-strong: oklch(0.24 0.02 248 / 0.24);
    --accent: oklch(0.60 0.17 40);
    --accent-hi: oklch(0.55 0.17 40);
    --on-accent: oklch(0.13 0.03 45);
    --accent-line: oklch(0.60 0.17 40 / 0.5);
    --accent-glow: oklch(0.60 0.17 40 / 0.35);
    --cyan: oklch(0.50 0.10 220);
    --cyan-soft: oklch(0.50 0.10 220 / 0.09);
    --cyan-line: oklch(0.50 0.10 220 / 0.5);
    --ring: oklch(0.52 0.16 40);
    --nav-bg: oklch(0.975 0.005 250 / 0.82);
    --glow-a: oklch(0.60 0.17 40 / 0.08);
    --glow-b: oklch(0.50 0.10 220 / 0.06);
    --grid-line: oklch(0.24 0.02 248 / 0.06);
    --hover-tint: oklch(0.24 0.02 248 / 0.05);
    --diag-row-bg: oklch(1 0 0 / 0.72);
    --shadow: rgb(0 0 0 / 0.12);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
  body {
    background: var(--bg);
    color: var(--fg);
    font: 16px/1.7 var(--font-body);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  img, svg { display: block; }
  a { color: inherit; text-decoration: none; }
  ul, ol { list-style: none; }
  ::selection { background: var(--accent-glow); }
  :focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
  .ic { fill: currentColor; }

  .wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 28px; }
  .section { padding-block: 104px; }

  html.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
  html.js .rv.in { opacity: 1; transform: none; transition-delay: calc(var(--d, 0) * 60ms); }

  /* ============ 按钮 ============ */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 52px; padding: 0 26px; border-radius: 12px;
    font: 600 16px/1 var(--font-body); cursor: pointer;
    border: 1px solid transparent; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  }
  .btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 30px -12px var(--accent-glow); }
  .btn-primary:hover { background: var(--accent-hi); transform: translateY(-1px); }
  .btn-primary:active { transform: translateY(0); }
  .btn-ghost { border-color: var(--border-strong); color: var(--fg); background: transparent; }
  .btn-ghost:hover { border-color: var(--fg-soft); background: var(--hover-tint); }
  .btn-lg { min-height: 56px; padding: 0 32px; font-size: 17px; }
  .btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; border-radius: 10px; }
  .icon-btn {
    flex: none; width: 44px; height: 44px; display: grid; place-items: center;
    border: 1px solid var(--border-strong); border-radius: 10px;
    background: transparent; color: var(--fg-soft); cursor: pointer;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
  }
  .icon-btn:hover { color: var(--fg); background: var(--hover-tint); }
  .icon-btn .ic { width: 19px; height: 19px; }

  /* ============ 导航 ============ */
  .nav {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    background: var(--nav-bg);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease;
  }
  .nav.scrolled { background: var(--bg); border-bottom-color: var(--border); }
  .nav-in { display: flex; align-items: center; gap: 16px; height: var(--nav-h); }
  .logo { display: inline-flex; align-items: center; gap: 6px; flex: none; }
  /* 品牌区：导航与页脚均用横条组合 logo（图标+百橙科技+100SUCCESS 一体）；reverse（橙+白）默认/深色主题，color（橙+深绿）浅色主题；横条整体为位图，勿加 border-radius */
  .logo-strip { display: block; height: 44px; width: auto; }
  .logo-strip.logo-mark-light { display: none; }
  html[data-theme="light"] .logo-strip:not(.logo-mark-light) { display: none; }
  html[data-theme="light"] .logo-strip.logo-mark-light { display: block; }
  .nav-links { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
  .nav-a { padding: 10px 13px; border-radius: 10px; font-size: 15px; color: var(--muted); transition: color .15s ease, background .15s ease; }
  .nav-a:hover { color: var(--fg); background: var(--hover-tint); }
  .nav-a[aria-current="page"] { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; text-decoration-color: var(--accent); }
  .nav-tools { display: flex; align-items: center; gap: 10px; flex: none; }

  .lang { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--border-strong); border-radius: 10px; }
  .lang > .ic { width: 15px; height: 15px; color: var(--faint); margin: 0 8px 0 7px; }
  .lang-btn {
    min-width: 30px; height: 28px; padding: 0 4px; border: 0; border-radius: 7px;
    background: transparent; color: var(--muted); font: 600 12.5px/1 var(--font-mono); cursor: pointer;
    transition: color .15s ease, background .15s ease;
  }
  .lang-btn:hover { color: var(--fg); }
  /* .is-on 为原型态；.active-lang 由 i18n.js _updateSwitcher 维护，二者等效 */
  .lang-btn.is-on, .lang-btn.active-lang { background: var(--fg); color: var(--bg); }

  .ic-moon { display: none; }
  html[data-theme="light"] .ic-sun { display: none; }
  html[data-theme="light"] .ic-moon { display: block; }

  .nav-burger {
    display: none; flex: none; margin-left: auto; height: 44px; padding: 0 18px;
    align-items: center; justify-content: center;
    background: transparent; border: 1px solid var(--border-strong); border-radius: 10px;
    color: var(--fg-soft); font: 500 15px/1 var(--font-body); cursor: pointer;
  }
  .nav-burger:hover { background: var(--hover-tint); color: var(--fg); }

  .mnav {
    display: none; position: fixed; top: var(--nav-h); inset-inline: 0; z-index: 49;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 14px 28px 26px;
  }
  .mnav.open { display: block; }
  .mnav-a { display: block; padding: 14px 10px; border-radius: 10px; font-size: 17px; color: var(--fg-soft); }
  .mnav-a:hover { background: var(--hover-tint); color: var(--fg); }
  .mnav-a[aria-current="page"] { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; text-decoration-color: var(--accent); }
  .mnav .btn { width: 100%; margin-top: 14px; }
  .mnav-tools { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
  .mnav-tools .lang { flex: 1; justify-content: center; }

  /* ============ Hero：不对称版式 ============ */
  .hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + 92px) 0 104px; }
  .hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background: radial-gradient(520px 380px at 12% 18%, var(--glow-a), transparent 70%);
  }
  .hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background: radial-gradient(600px 460px at 92% 92%, var(--glow-b), transparent 70%);
  }
  .hero-grid2 { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
  .badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px; border-radius: 999px;
    background: var(--hover-tint); border: 1px solid var(--border-strong);
    font-size: 14px; color: var(--fg-soft);
  }
  .badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-glow); animation: pulse 2.4s ease-out infinite; }
  @keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
  .hero-title { margin-top: 30px; font: 900 clamp(40px, 4.6vw, 66px)/1.18 var(--font-display); letter-spacing: 0.01em; }
  .hero-sub { max-width: 560px; margin-top: 24px; font-size: 18px; line-height: 1.85; color: var(--muted); }
  .hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

  /* 诊断面板 */
  .diag {
    border: 1px solid var(--border-strong); border-radius: 14px;
    background: var(--surface); overflow: hidden;
    box-shadow: 0 28px 60px -30px var(--shadow);
  }
  .diag-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); font: 500 12.5px/1 var(--font-mono); color: var(--muted); }
  .diag-dots { display: flex; gap: 6px; }
  .diag-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
  .diag-dots i:first-child { background: var(--accent); }
  .diag-head-meta { margin-left: auto; color: var(--faint); letter-spacing: 0.12em; }
  .diag-body { position: relative; padding: 22px 20px; overflow: hidden; }
  .diag-grid-bg {
    position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
                      linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 26px 26px;
  }
  .diag-scan {
    position: absolute; left: 0; right: 0; top: 8%; height: 2px; pointer-events: none; opacity: 0.5;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: scanY 4.6s ease-in-out infinite;
  }
  @keyframes scanY { 0%, 100% { top: 8%; } 50% { top: 90%; } }
  .diag-steps { position: relative; display: flex; flex-direction: column; gap: 14px; }
  .diag-steps li {
    display: flex; align-items: center; gap: 14px;
    padding: 13px 15px; border: 1px solid var(--border); border-radius: 10px;
    background: var(--diag-row-bg);
  }
  .diag-steps li.is-run { border-color: var(--accent-line); }
  .ds-idx { font: 600 13px/1 var(--font-mono); color: var(--faint); }
  .ds-name { font: 600 15px/1.4 var(--font-display); color: var(--fg-soft); }
  .ds-state { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font: 500 12.5px/1 var(--font-body); color: var(--accent); }
  .pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-glow); animation: pulse 2s ease-out infinite; }
  .diag-foot { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--border); font: 500 12.5px/1.5 var(--font-mono); }
  .diag-foot-t { color: var(--faint); letter-spacing: 0.14em; }
  .diag-foot-v { color: var(--fg-soft); }

  /* ============ 章节头（左对齐） ============ */
  .sec-head { max-width: 620px; margin-bottom: 44px; }
  .eyebrow { font: 500 12.5px/1 var(--font-mono); letter-spacing: 0.18em; color: var(--faint); }
  .sec-title { margin-top: 12px; font: 800 clamp(28px, 2.8vw, 36px)/1.3 var(--font-display); }
  .sec-sub { margin-top: 12px; font-size: 16px; color: var(--muted); }

  /* ============ 三大支柱 ============ */
  .svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .svc-card {
    display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
    padding: 26px 26px 24px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  }
  .svc-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: 0 20px 40px -22px var(--shadow); }
  .svc-top { display: flex; align-items: flex-start; justify-content: space-between; }
  .svc-ic { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: var(--cyan-soft); color: var(--cyan); }
  .svc-ic .ic { width: 24px; height: 24px; }
  .svc-idx { font: 600 13px/1 var(--font-mono); color: var(--faint); letter-spacing: 0.08em; }
  .svc-card h3 { margin-top: 20px; font: 700 19.5px/1.4 var(--font-display); }
  .svc-card p { margin-top: 10px; font-size: 14.5px; line-height: 1.8; color: var(--muted); }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .chip { padding: 4px 10px; border-radius: 8px; font: 500 12.5px/1.5 var(--font-mono); color: var(--cyan); background: var(--cyan-soft); border: 1px solid var(--cyan-line); }

  /* ============ KPI：表头式横向栅格 ============ */
  .kpi { border-block: 1px solid var(--border); }
  .kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
  .kpi-cell { padding: 32px 28px 28px; }
  .kpi-cell + .kpi-cell { border-left: 1px solid var(--border); }
  .kpi-label { font-size: 13.5px; letter-spacing: 0.04em; color: var(--muted); }
  .kpi-num { margin-top: 12px; font: 650 clamp(38px, 3.6vw, 50px)/1 var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
  .kpi-suf { color: var(--fg-soft); font-weight: 500; }

  /* ============ 真实案例：编号横条列表 ============ */
  .case-list { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
  .case-row {
    display: grid; grid-template-columns: 56px 1fr 208px; gap: 20px; align-items: center;
    padding: 18px 22px; transition: background .2s ease;
  }
  .case-row + .case-row { border-top: 1px solid var(--border); }
  .case-row:hover { background: var(--hover-tint); }
  .case-idx { font: 600 15px/1 var(--font-mono); color: var(--faint); letter-spacing: 0.06em; transition: color .2s ease; }
  .case-row:hover .case-idx { color: var(--accent); }
  .case-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
  .case-head h3 { font: 700 17px/1.5 var(--font-display); }
  .tag { padding: 3px 10px; border-radius: 999px; font-size: 12.5px; color: var(--fg-soft); border: 1px solid var(--border-strong); }
  .tag-live { color: var(--cyan); border: 1px dashed var(--cyan-line); }
  .case-desc { margin-top: 6px; font-size: 14px; color: var(--muted); }
  .case-shot {
    display: block; aspect-ratio: 16 / 9; overflow: hidden;
    border: 1px solid var(--border); border-radius: 9px;
    background: var(--surface-2);
  }
  .case-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .case-shot-txt { display: flex; align-items: center; justify-content: center; padding: 0 14px; text-align: center; font: 600 12px/1.7 var(--font-mono); color: var(--faint); letter-spacing: 0.05em; }

  /* ============ Why Us：两列紧凑清单 ============ */
  .why-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
  .why-item { display: flex; align-items: flex-start; gap: 16px; padding: 24px 26px; border-bottom: 1px solid var(--border); transition: background .2s ease; }
  .why-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .why-item:nth-last-child(-n+2) { border-bottom: 0; }
  .why-item:hover { background: var(--hover-tint); }
  .why-ic { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--cyan-soft); color: var(--cyan); }
  .why-ic .ic { width: 21px; height: 21px; }
  .why-item h3 { font: 700 16.5px/1.5 var(--font-display); }
  .why-item p { margin-top: 6px; font-size: 13.5px; line-height: 1.75; color: var(--muted); }

  /* ============ 尾部 CTA：横向面板 ============ */
  .cta {
    position: relative; overflow: hidden;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
    border: 1px solid var(--border-strong); border-radius: 16px;
    background: var(--surface); padding: 48px 52px;
  }
  .cta::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background: radial-gradient(560px 320px at 88% 50%, var(--glow-a), transparent 70%);
  }
  .cta > * { position: relative; z-index: 1; }
  .cta-title { max-width: 600px; font: 800 clamp(26px, 2.6vw, 34px)/1.4 var(--font-display); }
  .cta-mail {
    display: inline-flex; align-items: center; gap: 9px; margin-top: 18px;
    font: 500 15px/1 var(--font-mono); color: var(--muted); transition: color .15s ease;
  }
  .cta-mail .ic { width: 17px; height: 17px; }
  .cta-mail:hover { color: var(--fg); }

  /* ============ Footer ============ */
  .footer { border-top: 1px solid var(--border); background: var(--bg-deep); padding: 38px 0 42px; }
  .footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
  .footer-brand { display: inline-flex; align-items: center; gap: 12px; }
  .footer-brand .logo-strip { height: 34px; width: auto; }
  .footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 14px; color: var(--muted); }
  .footer-meta > * + *::before { content: "·"; margin-right: 16px; color: var(--faint); }
  .footer-domain { font: 500 14px/1 var(--font-mono); color: var(--fg-soft); transition: color .15s ease; }
  .footer-beian a { color: inherit; text-decoration: none; transition: color .15s ease; }
  .footer-beian a:hover { color: var(--fg); }
  .footer-domain:hover { color: var(--fg); }

  /* ============ 响应式 ============ */
  @media (max-width: 1024px) {
    .nav-links, .nav-tools { display: none; }
    .nav-burger { display: inline-flex; }
    .hero-grid2 { grid-template-columns: 1fr; gap: 44px; }
    .diag { max-width: 560px; }
  }
  @media (max-width: 960px) {
    .svc-grid { grid-template-columns: 1fr; }
    .section { padding-block: 84px; }
  }
  @media (max-width: 900px) {
    .kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .kpi-cell:nth-child(n+3) { border-top: 1px solid var(--border); }
    .kpi-cell:nth-child(odd) { border-left: 0; }
  }
  @media (max-width: 700px) {
    .case-row { grid-template-columns: 40px 1fr; gap: 14px; }
    .case-shot { display: none; }
  }
  @media (max-width: 640px) {
    :root { --nav-h: 64px; }
    .wrap { padding-inline: 20px; }
    .hero { padding: calc(var(--nav-h) + 68px) 0 76px; }
    .hero-title { font-size: clamp(36px, 9.5vw, 42px); }
    .hero-sub { font-size: 16.5px; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .why-grid { grid-template-columns: 1fr; }
    .why-item:nth-child(odd) { border-right: 0; }
    .why-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
    .why-item:last-child { border-bottom: 0; }
    .sec-head { margin-bottom: 36px; }
    .kpi-cell { padding: 26px 20px 22px; }
    .cta { padding: 36px 26px; }
    .footer-in { justify-content: center; text-align: center; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    html.js .rv { opacity: 1; transform: none; transition: none; }
    .badge-dot, .pulse-dot, .diag-scan { animation: none; }
    * { animation-duration: 0.01ms !important; }
  }

  /* ============================================================
     增量（Task 4-6，2026-10）：面板组件 .spec
     来源：OpenDesign 验收稿 style-a-solutions.html「价格带全览」面板。
     solutions（价格带）/ inside（百小橙名片）/ ai-implementation-partner
     （五步流程索引）三页共用，故按复用约定上收至共享文件。
     ============================================================ */
  .spec {
    border: 1px solid var(--border-strong); border-radius: 14px;
    background: var(--surface); overflow: hidden;
    box-shadow: 0 28px 60px -30px var(--shadow);
  }
  .spec-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); font: 500 12.5px/1 var(--font-mono); color: var(--muted); }
  .spec-dots { display: flex; gap: 6px; }
  .spec-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
  .spec-dots i:first-child { background: var(--accent); }
  .spec-head-meta { margin-left: auto; color: var(--faint); letter-spacing: 0.12em; }
  .spec-body { display: flex; flex-direction: column; }
  .spec-row {
    display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center;
    padding: 15px 20px; transition: background .2s ease;
  }
  .spec-row + .spec-row { border-top: 1px solid var(--border); }
  .spec-row:hover { background: var(--hover-tint); }
  .spec-idx { font: 600 13px/1 var(--font-mono); color: var(--faint); transition: color .2s ease; }
  .spec-row:hover .spec-idx { color: var(--accent); }
  .spec-name { font: 600 15px/1.4 var(--font-display); color: var(--fg-soft); }
  .spec-price { font: 500 13px/1 var(--font-mono); color: var(--muted); font-variant-numeric: tabular-nums; }
  .spec-foot { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--border); font: 500 12.5px/1.5 var(--font-mono); }
  .spec-foot-t { color: var(--faint); letter-spacing: 0.14em; }
  .spec-foot-v { color: var(--fg-soft); }
  @media (max-width: 1024px) {
    .spec { max-width: 560px; }
  }

/* Seven primary links: keep medium screens and short mobile menus usable. */
@media (min-width:1025px) and (max-width:1280px){.nav-links,.nav-tools{display:none}.nav-burger{display:inline-flex}}
.mnav{max-height:calc(100vh - var(--nav-h));max-height:calc(100dvh - var(--nav-h));overflow-y:auto;overscroll-behavior:contain}
.nav-a{white-space:nowrap}
.nav-links{gap:0}.nav-a{padding-inline:9px;font-size:14px}
.nav-tools>.btn{max-width:180px;padding:8px 14px;line-height:1.35;font-size:13px;text-align:center;white-space:normal}
