/* ──────────────────────────────────────────────────────────
   KYC/LAB —— 前台样式
   视觉概念：防伪证件。深色桌面上的纸质证件卡、扭索花纹、
   全息箔、机读码（MRZ）与印章。
   ────────────────────────────────────────────────────────── */

:root {
  --ink: #0a0b0d;
  --ink-2: #101215;
  --ink-3: #181b1f;
  --rule: rgba(236, 232, 222, .14);
  --text: #ece8de;
  --mute: #96938c;
  --dim: #5a5853;

  --paper: #f0ece2;
  --paper-2: #e3ded1;
  --paper-ink: #131418;
  --paper-mute: #66645d;
  --paper-rule: rgba(19, 20, 24, .16);

  --stamp: #e0421d;
  --holo: linear-gradient(100deg, #8af3ff 0%, #b7a2ff 22%, #ff9fd4 44%, #ffe58a 66%, #93ffb8 85%, #8af3ff 100%);

  --serif: "Instrument Serif", "Noto Serif SC", "Songti SC", "STSong", serif;
  --serif-cn: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, "PingFang SC", "Microsoft YaHei UI", monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
html:has(dialog[open]) { overflow: hidden; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* 全站底纹：两组极淡的同心圆，模拟证件底纹 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-radial-gradient(circle at 88% -6%, transparent 0 27px, rgba(236, 232, 222, .022) 27px 28px),
    repeating-radial-gradient(circle at 4% 108%, transparent 0 34px, rgba(236, 232, 222, .018) 34px 35px);
}

a { color: inherit; }
::selection { background: #b7a2ff; color: #0a0b0d; }
:focus-visible { outline: 2px solid #8af3ff; outline-offset: 3px; }

.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }

/* ── 开场扫描 ── */
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  pointer-events: none;
  clip-path: inset(0);
  animation: intro-out 1.05s var(--ease) .12s forwards;
}
.intro::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--holo);
  box-shadow: 0 0 28px 3px rgba(183, 162, 255, .65);
  animation: intro-line 1.05s var(--ease) .12s forwards;
}
@keyframes intro-out { to { clip-path: inset(100% 0 0 0); } }
@keyframes intro-line { to { transform: translateY(100vh); } }

/* ── 按钮 ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 500 .84rem/1 var(--mono);
  letter-spacing: .06em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .35s var(--ease), background-position .7s var(--ease), border-color .3s, background-color .3s, color .3s, opacity .3s;
}
.btn-sm { height: 40px; padding: 0 18px; font-size: .78rem; }
.btn-holo { background: var(--holo); background-size: 220% 100%; color: #0a0b0d; }
.btn-holo:hover { background-position: 100% 0; transform: translateY(-2px); }
.btn-line { border-color: var(--rule); color: var(--text); }
.btn-line:hover { border-color: var(--text); transform: translateY(-2px); }
.btn-ink { background: var(--paper-ink); color: var(--paper); }
.btn-ink:hover { transform: translateY(-2px); }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }

/* ── 顶部导航 ── */
.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .4s, border-color .4s;
}
.top.scrolled {
  background: rgba(10, 11, 13, .74);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--rule);
}
.notice {
  padding: 8px 20px;
  text-align: center;
  font: 500 .74rem/1.5 var(--mono);
  letter-spacing: .05em;
  background: var(--holo);
  color: #0a0b0d;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 500 .95rem/1 var(--mono);
  letter-spacing: .14em;
}
.mark { width: 30px; height: 30px; flex: none; transition: transform 1.2s var(--ease); }
.brand:hover .mark { transform: rotate(180deg); }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  position: relative;
  padding: 6px 0;
  font-size: .86rem;
  color: var(--mute);
  text-decoration: none;
  transition: color .3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--holo);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ── 首屏 ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 55% 65% at 74% 46%, rgba(183, 162, 255, .11), transparent 70%);
}
.hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, var(--ink) 6%, transparent 34%),
    linear-gradient(to right, rgba(10, 11, 13, .82) 0%, rgba(10, 11, 13, .35) 42%, transparent 62%);
}
.hero-inner { padding: 120px 0 124px; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font: 500 .7rem/1 var(--mono);
  letter-spacing: .18em;
  color: var(--mute);
}
.hero-meta-rule { flex: 0 0 44px; height: 1px; background: var(--rule); }
.status { display: inline-flex; align-items: center; gap: 9px; color: var(--text); letter-spacing: .1em; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #93ffb8; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(147, 255, 184, .55); }
  100% { box-shadow: 0 0 0 12px rgba(147, 255, 184, 0); }
}

.hero-title {
  margin: 28px 0 24px;
  max-width: 12em;
  font: 900 clamp(2.5rem, min(7.3vw, 10.4vh), 6.7rem)/1.13 var(--serif-cn);
  letter-spacing: -.015em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .line-in {
  display: inline-block;
  transform: translateY(110%);
  animation: line-up 1.1s var(--ease) forwards;
}
.hero-title .line:nth-child(1) .line-in { animation-delay: .7s; }
.hero-title .line:nth-child(2) .line-in { animation-delay: .82s; }
.hero-title .line:nth-child(3) .line-in { animation-delay: .94s; }
.hero-title .line:nth-child(4) .line-in { animation-delay: 1.06s; }
.hero-title .line:last-child .line-in {
  background: var(--holo);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation-name: line-up, holo-shift;
  animation-duration: 1.1s, 9s;
  animation-timing-function: var(--ease), linear;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;
}
@keyframes line-up { to { transform: translateY(0); } }
@keyframes holo-shift { to { background-position: -200% 0; } }

.hero-sub { max-width: 33em; font-size: clamp(1rem, 1.25vw, 1.14rem); color: #c8c4ba; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-sub, .hero-cta, .hero-fields, .hero-meta { animation: fade-up 1s var(--ease) 1.15s both; }
.hero-meta { animation-delay: .6s; }
.hero-cta { animation-delay: 1.25s; }
.hero-fields { animation-delay: 1.35s; }
@keyframes fade-up { from { opacity: 0; translate: 0 18px; } }

.hero-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 820px;
  margin-top: 50px;
  border-top: 1px solid var(--rule);
}
.hero-fields div { padding: 18px 18px 0 0; }
.hero-fields div + div { padding-left: 18px; border-left: 1px solid var(--rule); }
.hero-fields dt { font: 500 .64rem/1 var(--mono); letter-spacing: .16em; color: var(--mute); margin-bottom: 10px; }
.hero-fields dd { font: 700 1.02rem/1.35 var(--serif-cn); }

/* 机读码跑马灯 */
.mrz {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 7px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--rule);
  font: 400 .78rem/1 var(--mono);
  letter-spacing: .34em;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  user-select: none;
}
.mrz-track { display: inline-block; animation: marquee 90s linear infinite; will-change: transform; }
.mrz-rev { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── 通用区块 ── */
.sec { position: relative; z-index: 1; padding: clamp(84px, 11vw, 150px) 0; }
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding-bottom: 30px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--rule);
}
.sec-idx { font: 500 .7rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.sec-title { margin-top: 16px; font: 900 clamp(2.1rem, 4.8vw, 3.8rem)/1.1 var(--serif-cn); letter-spacing: -.01em; }
.sec-title em { margin-left: .18em; font: italic 400 .8em/1 var(--serif); letter-spacing: 0; color: var(--mute); }
.sec-note { max-width: 27em; font-size: .94rem; color: var(--mute); }

.js .reveal { opacity: 0; translate: 0 26px; transition: opacity .9s var(--ease), translate .9s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* ── 服务目录 ── */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--mute);
  font: 500 .8rem/1 var(--mono);
  letter-spacing: .04em;
  cursor: pointer;
  transition: color .3s, border-color .3s, background-color .3s;
}
.chip b { font-weight: 500; font-size: .68rem; opacity: .55; }
.chip:hover { color: var(--text); border-color: var(--mute); }
.chip[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--paper-ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(296px, 1fr)); gap: 30px; }
.grid-empty { grid-column: 1 / -1; padding: 80px 0; text-align: center; color: var(--mute); font: 400 .9rem/1.6 var(--mono); }

/* 证件卡 */
.doc {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
  color: var(--paper-ink);
  cursor: pointer;
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .7s var(--ease), box-shadow .45s var(--ease);
  box-shadow: 0 30px 60px -42px rgba(0, 0, 0, .95);
  animation: card-in .85s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 70ms);
}
.doc.tilting { transition: transform .1s linear, box-shadow .45s var(--ease); }
.doc:hover, .doc:focus-visible { box-shadow: 0 46px 80px -40px #000, 0 0 0 1px rgba(255, 255, 255, .55); }
@keyframes card-in { from { opacity: 0; translate: 0 30px; } }

.doc-cover { position: relative; aspect-ratio: 16 / 10; background: var(--ink-2); overflow: hidden; }
.doc-cover img, .doc-cover svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.doc:hover .doc-cover img, .doc:hover .doc-cover svg { transform: scale(1.05); }
.doc-serial {
  position: absolute;
  top: 14px;
  left: 16px;
  padding: 5px 8px 4px;
  border-radius: 4px;
  background: rgba(10, 11, 13, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font: 500 .64rem/1 var(--mono);
  letter-spacing: .16em;
  color: var(--text);
}

.doc-body { position: relative; flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px 18px; }
/* 骑缝孔 */
.doc-body::before {
  content: "";
  position: absolute;
  inset: -5px 0 auto 0;
  height: 10px;
  background: radial-gradient(circle, var(--ink) 3.1px, transparent 3.7px) 0 0 / 16px 10px repeat-x;
}
.doc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stamp {
  display: inline-block;
  padding: 5px 8px 4px;
  border: 1.3px solid var(--stamp);
  border-radius: 4px;
  font: 500 .68rem/1 var(--mono);
  letter-spacing: .12em;
  color: var(--stamp);
  transform: rotate(-2deg);
}
.doc-code { font: 500 .66rem/1 var(--mono); letter-spacing: .14em; color: var(--paper-mute); }
.doc-name { margin-top: 4px; font: 700 1.32rem/1.32 var(--serif-cn); }
.doc-sum {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-size: .9rem;
  line-height: 1.65;
  color: var(--paper-mute);
}
.doc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--paper-rule);
}
.doc-price { font: 900 1.22rem/1.2 var(--serif-cn); }
.doc-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--paper-ink);
  color: var(--paper);
  font: 500 .76rem/1 var(--mono);
  letter-spacing: .06em;
}
.doc-go i { font-style: normal; transition: transform .4s var(--ease); }
.doc:hover .doc-go i { transform: translateX(4px); }
.doc-mrz {
  padding: 9px 22px 11px;
  background: var(--paper-2);
  font: 400 .6rem/1 var(--mono);
  letter-spacing: .22em;
  color: rgba(19, 20, 24, .4);
  white-space: nowrap;
  overflow: hidden;
}
/* 全息箔：随指针移动 */
.doc-holo {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .55), transparent 44%),
    linear-gradient(115deg, transparent 22%, rgba(138, 243, 255, .6) 36%, rgba(183, 162, 255, .6) 45%, rgba(255, 159, 212, .6) 54%, rgba(255, 229, 138, .6) 63%, transparent 78%) var(--mx, 50%) var(--my, 50%) / 300% 300%;
  mix-blend-mode: overlay;
}
.doc:hover .doc-holo { opacity: 1; }

/* ── 合作流程（纸面区块）── */
.process {
  background-color: var(--paper);
  background-image: repeating-radial-gradient(circle at 100% 0, transparent 0 21px, rgba(19, 20, 24, .045) 21px 22px);
  color: var(--paper-ink);
}
.process::before, .process::after {
  content: "";
  position: absolute;
  inset: -6px 0 auto 0;
  height: 12px;
  background: radial-gradient(circle, var(--ink) 4px, transparent 4.6px) 0 0 / 20px 12px repeat-x;
}
.process::after { inset: auto 0 -6px 0; }
.process .sec-head { border-color: var(--paper-rule); }
.process .sec-idx, .process .sec-note, .process .sec-title em { color: var(--paper-mute); }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { padding: 26px 28px 6px 0; border-top: 2px solid var(--paper-ink); }
.steps li + li { padding-left: 28px; border-left: 1px dashed var(--paper-rule); }
.step-n { display: block; margin-bottom: 30px; font: italic 400 clamp(3.4rem, 6vw, 5.4rem)/1 var(--serif); letter-spacing: -.02em; }
.steps h3 { margin-bottom: 10px; font: 700 1.2rem/1.35 var(--serif-cn); }
.steps p { font-size: .92rem; color: var(--paper-mute); }

/* ── 测评原则 ── */
.seal { flex: none; width: 136px; height: 136px; color: var(--mute); transform: rotate(-8deg); }
.seal text { fill: currentColor; font-family: var(--mono); }
.seal .seal-big { font-family: var(--serif-cn); font-weight: 900; fill: var(--stamp); }
.seal-ring { transform-box: view-box; transform-origin: 50% 50%; animation: spin 50s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rule { padding: 6px 32px 10px 0; }
.rule + .rule { padding-left: 32px; border-left: 1px solid var(--rule); }
.rule-n {
  display: inline-block;
  margin-bottom: 22px;
  font: 500 .72rem/1.2 var(--mono);
  letter-spacing: .14em;
  background: var(--holo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rule h3 { margin-bottom: 12px; font: 700 1.38rem/1.38 var(--serif-cn); }
.rule p { font-size: .94rem; color: var(--mute); }

/* ── 常见问题 ── */
.faq { padding-top: 0; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head .sec-note { margin-top: 20px; }
.faq-list { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
  font: 700 1.1rem/1.4 var(--serif-cn);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font: 400 1.5rem/1 var(--mono);
  color: var(--mute);
  transition: transform .45s var(--ease), color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--text); }
.faq details p { max-width: 42em; padding: 0 40px 26px 0; font-size: .95rem; color: var(--mute); }

/* ── 页脚 ── */
.foot { position: relative; z-index: 1; padding: 64px 0 28px; border-top: 1px solid var(--rule); overflow: hidden; }
.foot-word {
  margin-bottom: 44px;
  font: 900 clamp(3.6rem, 16.5vw, 14.5rem)/.95 var(--serif-cn);
  letter-spacing: -.03em;
  white-space: nowrap;
  background: var(--holo);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: holo-shift 14s linear infinite;
}
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; font-size: .84rem; color: var(--mute); }
.foot-row a { text-decoration: none; transition: color .3s; }
.foot-row a:hover { color: var(--text); }
.foot-mrz {
  margin-top: 22px;
  font: 400 .7rem/1 var(--mono);
  letter-spacing: .3em;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
}

/* ── 详情 / 下单弹层 ── */
dialog.sheet {
  width: min(960px, 100% - 28px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper-ink);
  overflow: visible;
}
dialog.sheet::backdrop {
  background: rgba(5, 6, 7, .72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
dialog.sheet[open] { animation: sheet-in .55s var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(30px) scale(.97); } }

.sheet-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--paper-rule);
  background: var(--paper);
  color: var(--paper-ink);
  font: 400 1.05rem/1 var(--mono);
  cursor: pointer;
  transition: transform .4s var(--ease);
}
.sheet-close:hover { transform: rotate(90deg); }

.sheet-card {
  position: relative;
  display: grid;
  grid-template-columns: 5fr 6fr;
  max-height: min(90svh, 740px);
  border-radius: 22px;
  overflow: hidden;
  background: var(--paper);
}
.sheet-cover { position: relative; min-height: 320px; background: var(--ink-2); }
.sheet-cover img, .sheet-cover svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheet-main { display: flex; flex-direction: column; gap: 14px; padding: 36px 34px 28px; overflow-y: auto; }
.sheet-name { margin-top: 4px; padding-right: 30px; font: 900 1.9rem/1.25 var(--serif-cn); }
.sheet-sum { font-size: .96rem; color: var(--paper-mute); }
.sheet-list { list-style: none; padding: 0; counter-reset: item; border-top: 1px solid var(--paper-rule); }
.sheet-list li {
  display: flex;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--paper-rule);
  font-size: .92rem;
  counter-increment: item;
}
.sheet-list li::before {
  content: counter(item, decimal-leading-zero);
  flex: none;
  padding-top: .5em;
  font: 500 .66rem/1 var(--mono);
  letter-spacing: .1em;
  color: var(--stamp);
}
.sheet-price { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.sheet-price b { font: 900 1.55rem/1.2 var(--serif-cn); }
.label { font: 500 .66rem/1.2 var(--mono); letter-spacing: .15em; color: var(--paper-mute); }
.field { display: grid; gap: 8px; }
.field textarea {
  width: 100%;
  min-height: 78px;
  padding: 12px 14px;
  border: 1px solid var(--paper-rule);
  border-radius: 10px;
  background: rgba(255, 255, 255, .45);
  color: inherit;
  font: inherit;
  font-size: .92rem;
  resize: vertical;
  outline: 0;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea:focus { border-color: var(--paper-ink); box-shadow: 0 0 0 3px rgba(19, 20, 24, .08); }
.sheet-err { min-height: 1.2em; font-size: .84rem; color: var(--stamp); }
.sheet-err:empty { display: none; }
.sheet-submit { width: 100%; height: 54px; border: 0; }
.sheet-hint { font-size: .78rem; text-align: center; color: var(--paper-mute); }

/* 订单凭证 */
.pass { position: relative; width: min(450px, 100%); margin-inline: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .6)); }
.pass-a, .pass-b { background: var(--paper); }
.pass-a { border-radius: 22px 22px 16px 16px; overflow: hidden; }
.pass-b { position: relative; padding: 24px 24px 0; border-radius: 16px 16px 22px 22px; overflow: hidden; }
.pass-b::before { content: ""; position: absolute; inset: 0 20px auto 20px; border-top: 2px dashed var(--paper-rule); }
.pass-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 64px 16px 24px;
  background: var(--holo);
  background-size: 200% 100%;
  animation: holo-shift 7s linear infinite;
  font: 500 .72rem/1 var(--mono);
  letter-spacing: .18em;
  color: #0a0b0d;
}
.pass-body { padding: 26px 24px 24px; }
.pass-code-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; }
.pass-code { font: 500 clamp(1.5rem, 6.4vw, 2rem)/1 var(--mono); letter-spacing: .03em; }
.pass-meta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 24px; }
.pass-meta dt { margin-bottom: 7px; }
.pass-meta dd { font: 700 .98rem/1.4 var(--serif-cn); }
.contacts { list-style: none; padding: 0; display: grid; gap: 8px; margin-top: 12px; }
.contacts li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--paper-rule);
  border-radius: 12px;
  background: rgba(255, 255, 255, .42);
}
.c-label { display: block; margin-bottom: 6px; }
.c-value { font: 500 1rem/1.3 var(--mono); color: inherit; text-decoration: none; word-break: break-all; }
a.c-value:hover { text-decoration: underline; }
.copy {
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--paper-ink);
  background: transparent;
  color: var(--paper-ink);
  font: 500 .7rem/1 var(--mono);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .25s, color .25s;
}
.copy:hover, .copy.done { background: var(--paper-ink); color: var(--paper); }
.pass-tip { margin-top: 16px; font-size: .82rem; color: var(--paper-mute); }
.pass-mrz {
  margin: 20px -24px 0;
  padding: 11px 24px 13px;
  background: var(--paper-2);
  font: 400 .62rem/1.5 var(--mono);
  letter-spacing: .22em;
  color: rgba(19, 20, 24, .42);
  white-space: nowrap;
  overflow: hidden;
}

/* ── 响应式 ── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .rules { grid-template-columns: 1fr; }
  .rule, .rule + .rule { padding: 28px 0; border-left: 0; }
  .rule + .rule { border-top: 1px solid var(--rule); }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}
@media (max-width: 760px) {
  .hide-s { display: none; }
  .hero::after {
    background:
      linear-gradient(to top, var(--ink) 10%, rgba(10, 11, 13, .7) 55%, rgba(10, 11, 13, .25) 100%);
  }
  .hero-inner { padding: 120px 0 124px; }
  .hero-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 44px; }
  .hero-fields div { padding: 16px 12px 16px 0; }
  .hero-fields div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-fields div:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .seal { width: 104px; height: 104px; }
  .sheet-card { display: block; max-height: 92svh; overflow-y: auto; }
  .sheet-cover { min-height: 0; height: clamp(140px, 24svh, 210px); }
  .sheet-main { padding: 26px 20px 22px; overflow: visible; }
  .sheet-name { font-size: 1.55rem; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 22px 0 4px; border-left: 0; }
  .step-n { margin-bottom: 16px; }
  .grid { grid-template-columns: 1fr; gap: 22px; }
  .faq details p { padding-right: 0; }
  .mrz { font-size: .68rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; translate: 0 0; }
}
