/* ════════════════════════════════════════════════════════════════
   APRSNET.CN 首页样式
   本站自己的一套皮肤：NASA punk —— 混凝土白地 / 墨字 / 钢材灰，只有一支亮橙。
   浅色是默认皮肤，深色是同义变体（深空黑仪器面板）。
   规矩：规则里只写 token，不写死颜色；强调色只有一支（--hot*）。
   目录：01 token / 02 基础 / 03 导航 / 04 首屏 / 05 区块 / 06 清单 / 07 页脚 / 08 响应式 / 09 动效
   ════════════════════════════════════════════════════════════════ */

/* ── 01. token ── */
:root {
  color-scheme: light;
  /* 面：实心白面板（工业面板不用毛玻璃） */
  --surface-1: #ffffff;
  --surface-2: #f7f6f2;
  --surface-4: #e8e6e0;
  --bg-1: #f2f0ea;               /* 混凝土白 */
  --bg-2: #e9e7e1;
  /* 线：钢材灰的极细边框 */
  --line: rgba(21, 24, 28, .20);
  --line-strong: rgba(21, 24, 28, .38);
  --line-hot: rgba(217, 79, 0, .42);
  /* 蓝图网格：细格 32px / 粗格 160px */
  --grid-minor: rgba(21, 24, 28, .07);
  --grid-major: rgba(21, 24, 28, .15);
  /* 文字：墨 / 淡墨（最淡的 #6c747a 压在白地上 4.6:1，过 AA） */
  --text: #15181c;
  --text-dim: #4b535a;
  --text-faint: #6c747a;
  /* 强调：只有一支亮橙 —— --hot 能当小字用（5.2:1），--hot-bright 只做底与标线 */
  --hot: #b23c00;
  --hot-deep: #8a2e00;
  --hot-bright: #ff6a00;
  /* 淡染层 / 投影：哑光，不发光 */
  --halo-hot: rgba(217, 79, 0, .10);
  --halo-warm: rgba(255, 106, 0, .10);
  --shadow-color: rgba(21, 24, 28, .13);
  --shadow-hot: rgba(217, 79, 0, .22);
  /* 渐变：主号召一律橙底 + 墨字（白字压橙只有 2.9:1，过不了 AA） */
  --grad: linear-gradient(120deg, #ff6a00, #d94f00);
  --on-accent: #16110c;
  /* 字体：正文无衬线，数据 / 编号走等宽（栈里全是系统字体，不额外拉网络字体） */
  --font-sans: Inter, "IBM Plex Sans", "SF Pro Text", system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
  /* 微圆角：工业面板是切角，不是药丸 */
  --radius: 8px;
  --radius-sm: 4px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* 深色 = 深空黑仪器面板，整体覆盖上面的 token */
:root[data-theme="dark"] {
  color-scheme: dark;
  --surface-1: #1b2026;
  --surface-2: #161b20;
  --surface-4: #0f1317;
  --bg-1: #0b0e11;
  --bg-2: #080a0d;
  --line: rgba(218, 221, 224, .16);
  --line-strong: rgba(218, 221, 224, .30);
  --line-hot: rgba(255, 106, 0, .46);
  --grid-minor: rgba(218, 221, 224, .055);
  --grid-major: rgba(218, 221, 224, .13);
  --text: #dadde0;
  --text-dim: #98a1a7;
  --text-faint: #7d868c;
  --hot: #ff8a3d;
  --hot-deep: #ff6a00;
  --hot-bright: #ffb066;
  --halo-hot: rgba(255, 138, 61, .12);
  --halo-warm: rgba(255, 106, 0, .08);
  --shadow-color: rgba(0, 0, 0, .55);
  --shadow-hot: rgba(255, 106, 0, .18);
  --grad: linear-gradient(120deg, #ff6a00, #c2410c);
  --on-accent: #12100c;
}

/* ── 02. 基础 ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  background:
    radial-gradient(1200px 700px at 85% -10%, var(--halo-hot), transparent 62%),
    radial-gradient(1000px 620px at 0% 42%, var(--halo-warm), transparent 62%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
b, strong { font-weight: 800; }
code {
  font-family: var(--font-mono);
  background: var(--halo-hot);
  color: var(--hot-deep);
  padding: .1em .4em;
  border-radius: 6px;
  font-size: .9em;
}
:root[data-theme="dark"] code { color: var(--hot-bright); }
::selection { background: var(--halo-hot); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: var(--hot); border-radius: 8px; }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  padding: 12px 18px; border-radius: 0 0 var(--radius) 0;
  background: var(--grad); color: var(--on-accent); font-weight: 700;
}
.skip-link:focus { left: 0; }

/* 顶部阅读进度：贴在最上面的一条橙线，随滚动拉长（transform 由脚本写） */
.read-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 140; height: 3px; background: var(--hot-bright); transform: scaleX(0); transform-origin: left center; }

/* ── 03. 导航 ── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 18px 0; transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease); }
.nav.scrolled { padding: 10px 0; background: var(--surface-2); border-bottom: 2px solid var(--text); box-shadow: 0 10px 30px var(--shadow-color); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 12px; height: 12px; border-radius: 3px; background: var(--grad); box-shadow: 0 0 18px var(--shadow-hot); }
.brand-name { font-family: var(--font-mono); font-weight: 800; font-size: 16px; letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { position: relative; padding: 9px 13px; border-radius: var(--radius-sm); font-size: 14.5px; color: var(--text-dim); transition: color .25s var(--ease), background .25s var(--ease); }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.active { color: var(--text); background: transparent; }
.nav-links a.active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px; background: var(--hot-bright); }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-left: 6px; border-radius: var(--radius-sm); cursor: pointer;
  color: var(--text-dim); background: transparent; border: 1px solid transparent;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.theme-toggle:hover { color: var(--hot); background: var(--surface-2); border-color: var(--line); }
.theme-toggle .ico { width: 17px; height: 17px; fill: currentColor; }
.theme-toggle .ico-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 04. 首屏 ── */
.hero { position: relative; z-index: 1; min-height: 100svh; display: flex; align-items: center; padding: clamp(140px, 20vh, 200px) clamp(20px, 6vw, 96px) clamp(72px, 10vh, 110px); overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: .9; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 40% 35%, #000 40%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 40% 35%, #000 40%, transparent 78%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1180px; margin: 0 auto; display: grid; gap: 46px; opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
body.loaded .hero-inner { opacity: 1; transform: none; }
.hero-kicker { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; letter-spacing: .18em; color: var(--text-faint); margin-bottom: 20px; }
.hero-kicker::before { content: ""; width: 9px; height: 9px; background: var(--hot-bright); flex: none; }
.hero-wordmark {
  font-size: clamp(40px, 7.2vw, 88px); font-weight: 900; letter-spacing: -.04em; line-height: .98;
  background: linear-gradient(120deg, var(--text) 0%, var(--hot) 46%, var(--text) 96%);
  background-size: 240% 100%; background-position: 0% 50%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: wordFlow 13s ease-in-out infinite;
}
@keyframes wordFlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero-slogan { margin-top: 16px; font-size: clamp(19px, 2.5vw, 28px); font-weight: 700; letter-spacing: -.01em; }
.hero-sub { border-left: 2px solid var(--text); padding-left: 16px; color: var(--text-dim); font-size: clamp(15px, 1.6vw, 17.5px); margin: 24px 0 34px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* 摩尔士带：首屏那串「点划」，纯装饰（读屏由 aria-hidden 挡掉） */
.morse-band { display: block; margin-top: 38px; width: min(174px, 42vw); height: 5px; fill: currentColor; color: var(--text-faint); opacity: .5; }

/* 四角裁切标线：工业面板的版面标记，随主题走 token */
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  left: clamp(18px, 3vw, 46px); right: clamp(18px, 3vw, 46px); height: 44px;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(var(--line-strong), var(--line-strong)),
    linear-gradient(var(--line-strong), var(--line-strong)),
    linear-gradient(var(--line-strong), var(--line-strong)),
    linear-gradient(var(--line-strong), var(--line-strong));
  background-size: 44px 3px, 3px 44px, 44px 3px, 3px 44px;
}
.hero::before { top: clamp(92px, 11vh, 128px); background-position: left top, left top, right top, right top; }
.hero::after { bottom: clamp(26px, 5vh, 54px); background-position: left bottom, left bottom, right bottom, right bottom; }

/* 打孔纸带分隔线：一排等距小孔，压在两段内容之间 */
.tape-rule {
  position: relative; z-index: 1; height: 13px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background-color: var(--surface-4);
  background-image: radial-gradient(circle, var(--line-strong) 2.2px, transparent 2.4px);
  background-size: 17px 13px; background-repeat: repeat-x; background-position: 6px center;
  animation: tapeRun 7s linear infinite;
}

.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; padding: 14px 24px; border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease); }
.btn-primary { color: var(--on-accent); background: var(--grad); box-shadow: 0 14px 32px var(--shadow-hot); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px var(--shadow-hot); }
.btn-ghost { color: var(--text); background: var(--surface-1); border: 1px solid var(--line); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--line-hot); color: var(--hot); }

/* ── 05. 区块 ── */
/* 首屏两栏：左文案、右仪器面板图（宽屏才分栏） */
.hero-copy { min-width: 0; }
.hero-figure { margin: 0 auto; max-width: min(440px, 58vh); }
.hero-panel-svg { display: block; width: 100%; height: auto; }
@media (min-width: 1000px) {
  .hero-inner { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); align-items: center; gap: clamp(30px, 4vw, 66px); }
  .hero-figure { max-width: min(100%, 58vh); }
}

.section { position: relative; z-index: 1; padding: clamp(72px, 9vw, 108px) clamp(20px, 6vw, 96px); }
.section.alt {
  background-color: var(--surface-4);
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 100%;
  border-top: 2px solid var(--text); border-bottom: 2px solid var(--text);
}
.section-head { position: relative; max-width: 720px; margin: 0 0 44px; }
/* 区块编号：只有带 .section 的内容区计数（首屏不算）；压顶的墨线由 ::after 画，能单独扫进来 */
main { counter-reset: sec; }
main > section.section { counter-increment: sec; }
.section-head::before {
  content: counter(sec, decimal-leading-zero);
  display: block; padding-top: 16px; margin-bottom: 22px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .3em; color: var(--hot);
}
.section-head::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--text); transform-origin: left center;
}
.section-head.in::after { animation: ruleIn .55s var(--ease) both; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 900; letter-spacing: -.03em; line-height: 1.22; }
.section-head p { color: var(--text-dim); margin-top: 14px; font-size: 16.5px; }
.section-body { max-width: 820px; }
.prose { color: var(--text-dim); font-size: 16.5px; }
.prose + .prose { margin-top: 18px; }
.prose b { color: var(--text); }

/* ── 06. 清单（行式，不是卡片） ── */
.fact-list, .link-list { list-style: none; border-top: 2px solid var(--text); }
.fact-list { margin: 26px 0; counter-reset: fact; }
.fact-list li { position: relative; counter-increment: fact; padding: 16px 0 16px 36px; border-bottom: 1px solid var(--line); color: var(--text-dim); font-size: 16px; }
.fact-list li::before {
  content: counter(fact, decimal-leading-zero); position: absolute; left: 0; top: 19px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--hot);
}
.fact-list b { display: block; color: var(--text); font-size: 16.5px; margin-bottom: 4px; }
.link-list { counter-reset: lk; }
.link-list li { position: relative; counter-increment: lk; border-bottom: 1px solid var(--line); }
.link-list li::before {
  content: counter(lk, decimal-leading-zero); position: absolute; left: 6px; top: 23px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--hot);
}
.link-row { display: flex; align-items: center; gap: 20px; padding: 20px 4px 20px 40px; transition: transform .3s var(--ease); }
.link-row:hover { transform: translateX(4px); }
.link-row:hover .lr-main b { color: var(--hot); }
.lr-main { flex: 1; }
.lr-main b { display: block; font-size: 17px; transition: color .25s var(--ease); }
.lr-main span { display: block; color: var(--text-dim); font-size: 15px; margin-top: 3px; }
.lr-go { color: var(--hot); font-weight: 800; font-size: 17px; }
.lr-tag { flex: none; font-family: var(--font-mono); font-size: 13px; color: var(--hot); border: 1px solid var(--line-hot); background: var(--halo-hot); padding: 6px 12px; border-radius: var(--radius-sm); }
.link-row.is-static:hover { transform: none; }

.glossary { border-top: 2px solid var(--text); display: grid; grid-template-columns: minmax(120px, 168px) 1fr; }
.glossary dt { padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 800; font-size: 16px; }
.glossary dd { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text-dim); font-size: 15.5px; }

/* 步骤：真 ol，编号交给 ::marker */
.steps { list-style: decimal; padding-left: 30px; border-top: 2px solid var(--text); }
.steps li { padding: 16px 0 16px 6px; border-bottom: 1px solid var(--line); color: var(--text-dim); font-size: 16px; }
.steps li::marker { color: var(--hot); font-family: var(--font-mono); font-weight: 700; font-size: 15px; }
.steps b { display: block; color: var(--text); font-size: 16.5px; margin-bottom: 4px; }

/* 问答：真 details / summary，不用 JS 折叠 */
.faq { border-top: 2px solid var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; gap: 12px; padding: 16px 0; cursor: pointer; font-size: 16.5px; font-weight: 700; list-style: none; transition: color .25s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--hot); font-family: var(--font-mono); font-size: 17px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover, .faq details[open] summary { color: var(--hot); }
.faq p { padding: 0 0 18px; color: var(--text-dim); font-size: 15.5px; max-width: 760px; }

/* ── 07. 回到顶部（带滚动进度环） ── */
.backtop {
  position: fixed; right: 26px; bottom: 26px; z-index: 90; width: 48px; height: 48px; border-radius: var(--radius);
  display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line);
  box-shadow: 0 12px 30px var(--shadow-color);
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), border-color .3s var(--ease);
}
.backtop.show { opacity: 1; pointer-events: auto; transform: none; }
.backtop:hover { border-color: var(--hot); }
.backtop-arrow { width: 20px; height: 20px; fill: var(--hot); }
.backtop-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring-bg { fill: none; stroke: var(--line); stroke-width: 2.5; }
.ring-fg {
  fill: none; stroke: var(--hot); stroke-width: 2.5; stroke-linecap: round;
  transform: rotate(-90deg); transform-origin: 50% 50%;
  stroke-dasharray: 106.8; stroke-dashoffset: 106.8; transition: stroke-dashoffset .12s linear;
}

/* ── 08. 页脚 ── */
.footer { position: relative; z-index: 1; border-top: 2px solid var(--text); background: var(--surface-4); padding: 48px clamp(20px, 6vw, 96px) 56px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer-brand b { display: block; font-family: var(--font-mono); font-size: 16px; font-weight: 800; letter-spacing: .02em; }
.footer-brand span { color: var(--text-faint); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-links a { padding: 7px 12px; border-radius: var(--radius); font-size: 14px; color: var(--text-dim); border: 1px solid transparent; transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease); }
.footer-links a:hover { color: var(--hot); border-color: var(--line); background: var(--surface-1); }
.footer-note { color: var(--text-faint); font-size: 13.5px; max-width: 760px; margin-top: 26px; }
.footer-edit { color: var(--text-faint); font-size: 13.5px; margin-top: 10px; }
.footer-edit a { color: var(--hot); }
.footer-edit a:hover { text-decoration: underline; }
.footer-copy { color: var(--text-faint); font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; margin-top: 12px; }

/* ── 08. 响应式与动效 ── */
@media (max-width: 860px) {
  .nav-links a { padding: 9px 10px; font-size: 14px; }
}
@media (max-width: 720px) {
  /* 窄屏：锚点收进右侧抽屉（真开合，不是隐藏） */
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(300px, 80vw); z-index: 120;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
    padding: 90px 24px 30px; background: var(--surface-2); border-left: 1px solid var(--line);
    box-shadow: -20px 0 60px var(--shadow-color);
    transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
  }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links a { padding: 14px 16px; font-size: 16px; }
  .nav-burger { display: flex; z-index: 130; }
  .theme-toggle { width: 100%; justify-content: flex-start; gap: 10px; margin: 6px 0 0; padding-left: 16px; }
  .footer-top { align-items: flex-start; }
}
@media (max-width: 640px) {
  .glossary { grid-template-columns: 1fr; }
  .glossary dt { padding-bottom: 2px; border-bottom: 0; }
  .glossary dd { padding-top: 8px; }
  .link-row { gap: 14px; }
  .lr-tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-inner { opacity: 1; transform: none; transition: none; }
  .btn:hover, .link-row:hover { transform: none; }
}

/* ── 09. 动效 ── */
/* 首屏分层入场：每个直接子元素错开一点升上来 */
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* 区块那条墨线从左扫到右 */
@keyframes ruleIn { from { transform: scaleX(0); } to { transform: none; } }
/* 打孔纸带慢慢往前走 */
@keyframes tapeRun { from { background-position: 6px center; } to { background-position: 23px center; } }
body.loaded .hero-copy > * { animation: riseIn .68s var(--ease) both; }
body.loaded .hero-copy > *:nth-child(2) { animation-delay: .07s; }
body.loaded .hero-copy > *:nth-child(3) { animation-delay: .14s; }
body.loaded .hero-copy > *:nth-child(4) { animation-delay: .21s; }
body.loaded .hero-copy > *:nth-child(5) { animation-delay: .28s; }
body.loaded .hero-copy > *:nth-child(6) { animation-delay: .35s; }
body.loaded .hero-figure { animation: riseIn .78s var(--ease) .3s both; }

/* 滚动揭示：JS 挂上 .reveal 之后才隐藏（脚本不在时内容照常可见） */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .62s var(--ease) var(--d, 0s), transform .62s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* 视差、倾斜与揭示都改 transform，提前提个醒 */
.hero-grid, .hero-panel-svg { will-change: transform; }

/* 列表行：悬停时那条分隔线亮成橙色 */
.fact-list li, .steps li, .glossary dt, .glossary dd { transition: border-color .3s var(--ease), color .3s var(--ease); }
.fact-list li:hover, .steps li:hover, .glossary dd:hover { border-bottom-color: var(--hot-bright); }
.link-row { transition: transform .3s var(--ease), background-color .3s var(--ease); }
.link-row:hover { background-color: var(--halo-hot); }

/* 按钮：按下时压一下 */
.btn:active { transform: translateY(-1px) scale(.985); transition-duration: .12s; }

/* 问答：展开时内容升上来，加号转个身 */
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq details[open] p { animation: faqIn .34s var(--ease) both; }
.faq summary::after { transition: transform .3s var(--ease), color .25s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  body.loaded .hero-copy > *, body.loaded .hero-figure { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .faq details[open] p { animation: none; }
  .btn:active { transform: none; }
  .hero-wordmark, .tape-rule, .section-head.in::after { animation: none; }
}

/* 窄屏：视差与鼠标倾斜都收掉，别在手机上抖 */
@media (max-width: 999px) {
  .hero-grid, .hero-panel-svg { transform: none !important; }
}
