/* ═══════════════════════════════════════════════════════════════
   DFM 隐藏工具箱 · 产品页
   方向：冷白纸 + 瑞士式排版 + 仪器读数带
   一条强调色（深青），零卡片阴影，靠细线与字号建立层级
   ═══════════════════════════════════════════════════════════════ */

:root {
  --paper:  #FFFFFF;
  --paper-2:#FBFBFB;
  --band:   #F3F4F5;
  --ink:    #0B0C0D;
  --ink-2:  #4A4F55;
  --ink-3:  #666C72;
  --rule:   #E7E9EB;
  --rule-2: #F0F2F4;
  --teal:   #0B5C63;
  --teal-w: #EAF2F3;

  /* 宋体只做展示字（大标题/品牌），黑体承担全部正文 */
  --serif: "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans:  "Noto Sans SC", "Inter", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;

  --wrap: 1240px;
  --gut: 40px;
  --ease: cubic-bezier(.2,.7,.3,1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "tnum" 1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
dl, dd, dt, ol, ul, li, figure, figcaption { margin: 0; padding: 0; list-style: none; }
svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.skip { position: absolute; left: -9999px; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { left: 0; z-index: 99; }

/* ─────────── 动态点缀 ─────────── */

/* 顶部滚动进度条（2px 深青，贴着页面最顶） */
.progress {
  position: fixed; top: 0; left: 0; z-index: 60;
  width: 100%; height: 2px; transform-origin: 0 50%;
  transform: scaleX(0); background: var(--teal);
  will-change: transform; pointer-events: none;
}


/* 执行流程索引：静态细线表，替代跑马灯（自动滚动内容会藏住一半信息） */
.flow-index { border-top: 1px solid var(--rule); padding: 26px 0 30px; }
.flow-in { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 12px 40px; align-items: start; }
.flow-cap {
  font-size: 12.5px; color: var(--ink-2); white-space: nowrap;
  padding-top: 3px;
}
.flow-list { display: flex; flex-wrap: wrap; gap: 10px 34px; }
.flow-list li { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.flow-list b { font-family: var(--mono); font-size: 11.5px; font-weight: 400; color: var(--teal); margin-right: 7px; }
@media (max-width: 860px) {
  .flow-in { grid-template-columns: 1fr; gap: 10px; }
  .flow-list { gap: 8px 26px; }
}

/* 图版左侧竖排注记 */
.plate-wrap { position: relative; }
.plate-side {
  position: absolute; left: 0; top: 6px;
  writing-mode: vertical-rl; text-orientation: mixed;
  font-family: var(--mono); font-size: 11px; letter-spacing: .05em;
  color: var(--ink-3); white-space: nowrap;
}
@media (max-width: 1080px) { .plate-side { display: none; } }

/* ─────────── 背景层：白纸的高级质感 ─────────── */

/* 1. 纸张底纹：细网点（铜版印刷的 halftone 视觉），静态、几乎不可见，放大看得到 */
.grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(11,12,13,.055) .8px, transparent .9px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(115% 90% at 50% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(115% 90% at 50% 0%, #000 30%, transparent 78%);
}
/* 2. 首屏晕染：纸上极淡的青与灰墨（无彩色高级感的来源），随滚动轻微衰减 */
.washes { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.wash {
  position: absolute; border-radius: 50%; filter: blur(90px);
  opacity: .5; will-change: transform;
}
.wash-a {
  width: 56vw; height: 46vh; left: -14vw; top: -10vh;
  background: radial-gradient(circle, rgba(11,92,99,.10) 0%, rgba(11,92,99,0) 66%);
  animation: drift 26s var(--ease) infinite alternate;
}
.wash-b {
  width: 46vw; height: 52vh; right: -12vw; top: 4vh;
  background: radial-gradient(circle, rgba(11,12,13,.075) 0%, rgba(11,12,13,0) 68%);
  animation: drift 34s var(--ease) infinite alternate-reverse;
}
.wash-c {
  width: 30vw; height: 30vh; left: 36vw; top: 34vh;
  background: radial-gradient(circle, rgba(160,180,185,.10) 0%, rgba(160,180,185,0) 70%);
  animation: drift2 30s var(--ease) infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(4vw,3vh,0) scale(1.08); }
}
@keyframes drift2 {
  from { transform: translate3d(-3vw,0,0) scale(1); }
  to   { transform: translate3d(3vw,2vh,0) scale(1.05); }
}

/* 竖向细线：整页的暗纹，只做气质不抢内容 */
.gridlines { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.gridlines-in { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); height: 100%; display: grid; grid-template-columns: repeat(4, 1fr); }
.gridlines-in span { border-left: 1px solid var(--rule-2); }
.gridlines-in span:last-child { border-right: 1px solid var(--rule-2); }
main, .site-foot, .site-head { position: relative; z-index: 1; }
@media (max-width: 760px) { .gridlines, .wash-b, .wash-c { display: none; } }

/* 3. 区块交替的另一种灰：band 降噪 + 极淡纸浆纤维 */
.band {
  background:
    radial-gradient(rgba(11,12,13,.028) .8px, transparent .9px) 0 0 / 26px 26px,
    var(--band);
}

/* ─────────── 顶栏 ─────────── */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.62);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-head.is-stuck { border-bottom-color: rgba(11,12,13,.08); background: rgba(255,255,255,.78); }

.head-inner { display: flex; align-items: center; gap: 22px; height: 72px; }

.logo { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.logo-mark { width: 34px; height: 34px; flex: 0 0 auto; }
.logo-mark rect { stroke: none; }
.logo-mark path { stroke-width: 2.6; }
.logo-text { display: flex; flex-direction: column; line-height: 1.22; }
.logo-text strong { font-size: 14px; font-weight: 600; letter-spacing: -.005em; font-family: var(--serif); }
.logo-text small { font-size: 11px; color: var(--ink-3); }

.tabs { display: flex; gap: 26px; margin-left: auto; }
.tabs a {
  font-size: 13.5px; color: var(--ink-2); padding-block: 6px;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.tabs a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.tabs a.is-cur { color: var(--teal); border-bottom-color: var(--teal); }

.head-cta {
  flex: 0 0 auto; padding: 10px 20px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 500;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.head-cta:hover { transform: translateY(-1px); opacity: .88; }

.menu-toggle { display: none; width: 40px; height: 40px; padding: 12px 10px; margin-left: auto; background: none; border: 1px solid var(--rule); border-radius: 999px; cursor: pointer; }
.menu-toggle span { display: block; height: 1.4px; background: var(--ink); }
.menu-toggle span + span { margin-top: 6px; }

/* ─────────── 首屏 ─────────── */
.hero { padding-top: 92px; position: relative; }
.hero > .wrap { position: relative; z-index: 2; }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; letter-spacing: .04em; color: var(--ink-2);
  text-transform: none;
  animation: fadeUp .7s var(--ease) both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* 大字排版：宋体展示字，逐行揭开。竖排的「格」字与横排大字对话 */
.display {
  margin-top: 30px;
  font-family: var(--serif);
  font-size: clamp(52px, 10vw, 148px);
  line-height: 1.02;
  letter-spacing: .012em;
  font-weight: 600;
}
.display .hollow {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(11,12,13,.85);
}
.display span { display: block; overflow: hidden; }
.display i {
  display: block; font-style: normal;
  transform: translateY(102%);
  animation: rise 1s var(--ease) forwards;
}
.display span:nth-child(1) i { animation-delay: .06s; }
.display span:nth-child(2) i { animation-delay: .18s; }
@keyframes rise { to { transform: translateY(0); } }

/* 首屏右侧竖排「格物」：全页唯一的大胆元素 */
.seal {
  position: absolute; right: calc(var(--gut) + 4px); top: 104px; z-index: 2;
  writing-mode: vertical-rl; text-orientation: upright;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(34px, 4vw, 56px); letter-spacing: .34em;
  color: var(--ink);
  animation: fadeUp 1s var(--ease) .5s both;
}
.seal::after {
  content: ""; position: absolute; right: -14px; top: 2px; bottom: 2px;
  width: 1px; background: var(--ink); opacity: .22;
}
.seal em { font-style: normal; color: var(--teal); }
@media (max-width: 1080px) { .seal { display: none; } }

.hero-brand { animation: fadeUp .7s var(--ease) .3s both; }
.hero-sub   { animation: fadeUp .7s var(--ease) .38s both; }
.hero-actions { animation: fadeUp .7s var(--ease) .46s both; }

.hero-brand {
  margin-top: 26px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em;
  color: var(--ink-3);
}
.hero-sub { margin-top: 20px; max-width: 52ch; color: var(--ink-2); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
/* 按压即时反馈：按下的瞬间就缩，不等松手 */
.btn:active { transform: scale(.97); transition-duration: .08s; }
.btn-ink { background: var(--teal); color: #fff; }
.btn-ink:hover { transform: translateY(-1.5px); background: #094E54; }
.btn-line { background: transparent; border-color: var(--rule); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); transform: translateY(-1.5px); }

/* ─────────── 读数带 ─────────── */
.readout { margin-top: 68px; }
.readout-in { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule); border-radius: 14px; background: #fff; overflow: hidden; }
.readout-cell { padding: 34px 48px 30px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.readout-cell + .readout-cell { border-left: 1px solid var(--rule); }
.readout-cell b {
  font-family: var(--serif);
  font-size: clamp(38px, 4.6vw, 58px); font-weight: 600; letter-spacing: .01em;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.readout-cell b::after {
  content: ""; display: inline-block; width: 22px; height: 2px; margin-left: 12px;
  background: var(--teal); vertical-align: calc(.34em); opacity: 0;
  transition: opacity .5s var(--ease);
}
.readout-cell.is-done b::after { opacity: 1; }
.readout-cell span { font-size: 13px; color: var(--ink-3); }

/* ─────────── 图版（截图 / 界面示意） ─────────── */
.plate-band { padding: 56px 0 90px; background: var(--paper); }
.plate-wrap { display: flex; justify-content: flex-end; }

.plate { margin: 0; width: 100%; }
.plates { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 52px; }
.plates .plate:first-child { grid-column: 1 / -1; }

.plate-cap {
  display: flex; align-items: baseline; gap: 12px;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule);
  font-size: 12.5px; color: var(--ink-3);
}
.cap-n { font-family: var(--mono); font-size: 11.5px; color: var(--ink); letter-spacing: .02em; }

/* 界面示意：直接照抄客户端白色界面 */
.app {
  width: min(560px, 100%);
  margin-left: auto;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 7px 14px -10px rgba(11,12,13,.24);
}
.app-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--rule-2);
}
.app-id { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.app-id svg { width: 20px; height: 20px; }
.app-id svg rect { stroke: none; }
.app-chip {
  font-size: 11.5px; font-weight: 500; padding: 4px 11px; border-radius: 999px;
  background: var(--band); color: var(--ink-2);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.app-chip.is-ready { background: var(--teal-w); color: var(--teal); }

.app-rows { padding: 4px 20px 12px; }
.app-row {
  display: grid; grid-template-columns: 88px minmax(0,1fr) 20px;
  align-items: center; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--rule-2); font-size: 13.5px;
}
.app-row:last-child { border-bottom: 0; }
.app-row dt { color: var(--ink-3); font-size: 12.5px; }
.app-row dd { font-variant-numeric: tabular-nums; }
.tick { width: 18px; height: 18px; border-radius: 50%; background: var(--band); position: relative; justify-self: end; transition: background .35s var(--ease); }
.tick::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 8px; height: 4.5px; border-left: 1.6px solid #fff; border-bottom: 1.6px solid #fff;
  transform: rotate(-45deg) translate(.5px,-1px) scale(.4); opacity: 0;
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.app-row.is-done .tick { background: var(--teal); }
.app-row.is-done .tick::after { opacity: 1; transform: rotate(-45deg) translate(.5px,-1px) scale(1); }

.app-log {
  padding: 13px 20px; background: var(--ink); color: #9DA3A9;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.caret { display: inline-block; width: 6px; height: 12px; margin-left: 6px; background: var(--teal); vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ─────────── 区块骨架 ─────────── */
.sec { padding: 112px 0; scroll-margin-top: 72px; }

/* 分区大标题逐行揭开（与首屏同一动作语言） */
.split-side h2 span { display: block; overflow: hidden; }
.split-side h2 i { display: block; font-style: normal; }
.split-side h2.is-in i { animation: rise .9s var(--ease) both; }
.split-side h2.is-in span:nth-child(1) i { animation-delay: 0s; }
.split-side h2.is-in span:nth-child(2) i { animation-delay: .12s; }

.split { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); gap: 72px; align-items: start; }
.split-top { margin-bottom: 0; }
.split-side h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 46px); line-height: 1.18; letter-spacing: .01em;
}
.split-side p { margin-top: 20px; color: var(--ink-2); max-width: 34ch; font-size: 15.5px; }

.fine { margin-top: 22px; font-size: 12.5px; color: var(--ink-3); }

.link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font-size: 14px; font-weight: 500; color: var(--teal);
}
.link svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* ─────────── 能力清单 ─────────── */
.cap-list { border-top: 1px solid var(--rule); }
.cap-list li {
  display: grid; grid-template-columns: 66px minmax(0,1fr); gap: 24px;
  padding: 26px 0 28px; border-bottom: 1px solid var(--rule);
}
/* 悬浮指示用 transform（合成器属性），不动布局 */
.cap-list li::after {
  content: ""; grid-column: 1 / -1; grid-row: 1; align-self: stretch;
  width: 0; height: 100%;
  border-left: 2px solid var(--teal);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .3s var(--ease);
  margin-left: -14px;
}
.cap-list li:hover::after { transform: scaleX(1); }
.cap-list li:hover h3 { color: var(--teal); }
.cap-list li h3 { transition: color .25s var(--ease); }
.cap-list li::before {
  content: counter(item, decimal-leading-zero);
  counter-increment: item;
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-3);
  padding-top: 6px; letter-spacing: .04em;
}
.cap-list { counter-reset: item; }
.cap-list h3 { font-size: 19px; letter-spacing: -.018em; }
.cap-list p { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; max-width: 46ch; }

/* ─────────── 截图 ─────────── */
.shot {
  position: relative; display: block; width: 100%; padding: 0;
  border: 1px solid var(--rule); border-radius: 12px; overflow: hidden;
  background: #fff; cursor: zoom-in;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.shot:hover { transform: translateY(-4px); border-color: #CDD2D6; box-shadow: 0 12px 24px -14px rgba(11,12,13,.22); }
.shot img { width: 100%; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.014); }
.shot-zoom {
  position: absolute; left: 14px; bottom: 14px;
  font-size: 11.5px; padding: 5px 12px; border-radius: 999px;
  background: rgba(11,12,13,.74); color: #fff; backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.shot:hover .shot-zoom, .shot:focus-visible .shot-zoom { opacity: 1; transform: none; }

/* ─────────── 指南 ─────────── */
.steps { border-top: 1px solid var(--rule); }
.steps li { display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 22px; padding: 26px 0 28px; border-bottom: 1px solid var(--rule); }
.step-n { font-family: var(--mono); font-size: 12px; color: var(--teal); padding-top: 5px; }
.steps h3 { font-size: 18px; letter-spacing: -.016em; }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; max-width: 54ch; }

.specs { margin-top: 34px; border: 1px solid var(--rule); border-radius: 12px; padding: 26px 24px 22px; background: #fff; }
.specs h3 { font-size: 15px; margin-bottom: 4px; }
.specs dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--rule-2); font-size: 14px; }
.specs dt { color: var(--ink-3); }
.specs dd { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }

/* ─────────── 开通 ─────────── */
.mini { margin-top: 34px; display: flex; flex-direction: column; gap: 16px; }
.mini li { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 16px; align-items: start; font-size: 14.5px; color: var(--ink-2); }
.mini span { font-family: var(--mono); font-size: 12px; color: var(--teal); padding-top: 3px; }

.card { border: 1px solid var(--rule); border-radius: 14px; background: #fff; padding: 30px 28px 26px; }
.card h3 { font-size: 15px; margin-bottom: 6px; }
.ct { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--rule-2); }
.ct:last-of-type { border-bottom: 0; }
.ct-key { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; background: var(--band); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.ct-val { display: flex; flex-direction: column; font-size: 17px; font-weight: 600; letter-spacing: -.018em; font-variant-numeric: tabular-nums; }
.ct-val small { font-size: 12.5px; font-weight: 400; color: var(--ink-3); margin-top: 1px; letter-spacing: 0; }
.ct-go { width: 16px; height: 16px; color: var(--ink-3); transition: transform .25s var(--ease), color .25s var(--ease); }
a.ct:hover .ct-go { transform: translateX(4px); color: var(--teal); }
.ct-copy {
  font: inherit; font-size: 12.5px; padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--rule); background: #fff; color: var(--ink-2); cursor: pointer;
  transition: border-color .22s var(--ease), color .22s var(--ease);
}
.ct-copy:hover { border-color: var(--ink); color: var(--ink); }
.is-off .ct-val { color: var(--ink-3); font-weight: 500; }
.ct-time { margin-top: 20px; font-size: 12.5px; color: var(--ink-3); }
.copy-state { font-size: 12.5px; color: var(--teal); margin-top: 8px; min-height: 1.4em; }

/* ─────────── 问答 ─────────── */
.faq { border-top: 1px solid var(--rule); padding-top: 18px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; font-size: 16.5px; font-weight: 500; cursor: pointer; list-style: none;
  transition: color .22s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal); }
.faq summary svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--ink-3); transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); font-size: 14.5px; max-width: 62ch; }

/* ─────────── 页脚 ─────────── */
.site-foot { border-top: 1px solid var(--rule); padding: 60px 0 44px; }
.foot-inner { display: grid; gap: 16px; }
.foot-brand { display: flex; flex-direction: column; gap: 3px; }
.foot-brand strong { font-size: 15px; font-family: var(--serif); }
.foot-brand span { font-size: 12.5px; color: var(--ink-3); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; color: var(--ink-2); }
.foot-nav a:hover { color: var(--teal); }
.foot-note { font-size: 12.5px; color: var(--ink-3); max-width: 62ch; }
.foot-copy { font-size: 12px; color: var(--ink-3); font-family: var(--mono); letter-spacing: .02em; }

.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 30;
  width: 44px; height: 44px; padding: 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--rule); color: var(--ink-2); cursor: pointer;
  box-shadow: 0 6px 14px -8px rgba(11,12,13,.32);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--teal); border-color: var(--ink); }

/* ─────────── 对话框 ─────────── */
dialog { border: 0; padding: 0; background: transparent; }
dialog::backdrop { background: rgba(11,12,13,.5); backdrop-filter: blur(6px) saturate(120%); }

.menu-dialog { width: min(340px, calc(100vw - 28px)); margin: 0 0 0 auto; height: 100dvh; background: rgba(255,255,255,.94); backdrop-filter: blur(24px); border-radius: 0; }
.menu-dialog[open] { animation: slideIn .32s var(--ease); }
@keyframes slideIn { from { transform: translateX(24px); opacity: 0; } }
.menu-top { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--rule); font-size: 12.5px; color: var(--ink-3); }
.menu-list { display: flex; flex-direction: column; padding: 10px; }
.menu-list a { padding: 15px 14px; border-radius: 10px; font-size: 16px; }
.menu-list a:hover { background: var(--band); }

.icon-btn { width: 32px; height: 32px; padding: 7px; background: none; border: 0; color: var(--ink-2); cursor: pointer; border-radius: 8px; }
.icon-btn:hover { background: var(--band); color: var(--ink); }

/* 灯箱：材质感到达——缩放+模糊一起进，不是纯 fade */
.lightbox { width: min(1280px, calc(100vw - 40px)); background: #fff; border-radius: 12px; overflow: hidden; }
.lightbox[open] { animation: materialize .38s var(--ease); }
@keyframes materialize {
  from { transform: scale(.965) translateY(10px); opacity: 0; }
}
.lb-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--ink-2); }
.lightbox img { width: 100%; max-height: 82dvh; object-fit: contain; background: var(--band); }

/* ─────────── 滚动进入 ─────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .display i, .split-side h2 i { transform: none; animation: none; }
  .kicker, .hero-brand, .hero-sub, .hero-actions, .seal { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .caret { animation: none; }
  .progress { transition: none; }
  .shot:hover img { transform: none; }
  .wash { animation: none !important; }
  .menu-dialog[open], .lightbox[open] { animation: none; }
}

/* ─────────── 响应式 ─────────── */
@media (max-width: 1080px) {
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split-side p { max-width: 52ch; }
  .plate-wrap { justify-content: flex-start; }
  .app { margin-left: 0; }
  .plates { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --gut: 24px; }
  .tabs, .head-cta { display: none; }
  .menu-toggle { display: block; }
  .hero { padding-top: 48px; }
  .display { font-size: clamp(40px, 12vw, 72px); }
  .readout-in { grid-template-columns: 1fr; }
  .readout-cell + .readout-cell { border-left: 0; border-top: 1px solid var(--rule); }
  .sec { padding: 76px 0; }
  .plate-band { padding-bottom: 64px; }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .cap-list li { grid-template-columns: 1fr; gap: 6px; }
  .steps li { grid-template-columns: 40px minmax(0,1fr); gap: 14px; }
  .card { padding: 24px 20px 20px; }
  .ct { grid-template-columns: 40px minmax(0,1fr); row-gap: 10px; }
  .ct .ct-go, .ct-copy { grid-column: 2; justify-self: start; }
  .to-top { right: 16px; bottom: 16px; }
}

@media print {
  .site-head, .to-top, .gridlines, .app, .progress, .grain, .washes { display: none; }
  .sec { padding: 24px 0; }
}
