/* FreeModel 内容站
 * 审美家族：Editorial Minimalism（#FFF / #0F0F14 / #5E6AD2），全页三色。
 * 遵循造界守卫：禁紫粉渐变、禁 #3B82F6 tech blue、禁 system-ui/Inter/Roboto、
 * 禁 3 列对称 feature grid、禁 Hero→Features→Testimonials→CTA 套路。
 *
 * 动效原则：**一个精心编排的入场 > 一堆散乱微交互**。
 * 所以首屏是一条 choreographed 序列，其余只保留滚动揭示与 hover 反馈。
 * 全部走 prefers-reduced-motion 降级。
 */

:root {
  --bg:      #ffffff;
  --bg-2:    #fafafa;
  --ink:     #0f0f14;
  --ink-2:   #5b5f6b;
  --ink-3:   #9a9ea9;
  --line:    #e8e8ec;
  --line-2:  #d6d7dd;
  --accent:  #5e6ad2;          /* 靛蓝，不是 tech blue 也不是紫粉 */
  --accent-ink: #ffffff;

  --font-body: "Segoe UI", "Helvetica Neue", Helvetica, "Nimbus Sans", sans-serif;
  --font-mono: Consolas, "SF Mono", Menlo, ui-monospace, monospace;

  --r-sm: 8px;  --r-md: 12px;  --r-lg: 18px;
  --shadow-1: 0 1px 2px rgba(15,15,20,.05);
  --shadow-2: 0 12px 32px -14px rgba(15,15,20,.16);
  --shadow-3: 0 28px 60px -28px rgba(15,15,20,.28);
  --nav-h: 62px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font: 16.5px/1.66 var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════ 入场编排 ═══════════════
 * 首屏元素共用一条时间线：--d 控制各自延迟，统一上移淡入。
 * 一处定义，加元素只需设 style="--d:.12s"。 */

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

.rise { animation: rise .72s var(--ease) both; animation-delay: var(--d, 0s); }
.fade { animation: fade .9s var(--ease) both;  animation-delay: var(--d, 0s); }

/* ═══════════════ 滚动揭示 ═══════════════
 * .pre 由 JS 主动加（见 site.js），不是 CSS 默认态。
 * 这样 JS 失效 / IO 不支持 / 脚本被 CSP 拦掉时，内容照常完整可见。
 * 反面教材：曾用 `.js .reveal { opacity: 0 }`，导致任何不触发滚动的渲染
 * 路径（full-page 截图、部分抓取工具）只看到一屏空白。 */

.reveal.pre { opacity: 0; transform: translateY(18px); }
.reveal.in { animation: rise .7s var(--ease) both; animation-delay: var(--d, 0s); }

/* ═══════════════ 导航 ═══════════════ */

.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 30px;
  height: var(--nav-h); padding: 0 32px;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(15,15,20,.03), 0 6px 20px -14px rgba(15,15,20,.18); }

.brand {
  display: flex; align-items: center; gap: 9px;
  font-weight: 640; font-size: 16px; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.lang-dot { fill: var(--accent); }

.nav nav { display: flex; gap: 26px; flex: 1; }
.nav nav a {
  position: relative; color: var(--ink-2); text-decoration: none; font-size: 14.5px;
  transition: color .2s var(--ease);
}
.nav nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav nav a:hover { color: var(--ink); }
.nav nav a:hover::after { transform: scaleX(1); }

.signin {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 15px; border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 550;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.signin:hover { border-color: var(--ink); background: var(--bg-2); transform: translateY(-1px); }

/* ═══════════════ 首屏 ═══════════════ */

.hero { position: relative; padding: 84px 32px 64px; overflow: hidden; }

/* 两团极淡的呼吸光斑——不是渐变装饰，是让纯白不呆板 */
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(110px); pointer-events: none; z-index: 0;
  animation: drift 22s ease-in-out infinite alternate;
}
.hero::before {
  width: 520px; height: 520px; top: -220px; left: -100px;
  background: radial-gradient(circle, rgba(94,106,210,.13), transparent 70%);
}
.hero::after {
  width: 460px; height: 460px; bottom: -180px; right: -80px;
  background: radial-gradient(circle, rgba(94,106,210,.09), transparent 70%);
  animation-duration: 28s; animation-direction: alternate-reverse;
}
@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(34px, 22px, 0) scale(1.09); }
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 780px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  gap: 20px; text-align: center;
}

.eyebrow {
  font: 500 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
  padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff;
}

h1 {
  font-size: clamp(35px, 5.4vw, 57px);
  line-height: 1.08; letter-spacing: -0.033em; font-weight: 680;
  color: var(--ink);
}

.sub { font-size: clamp(16px, 1.9vw, 19px); color: var(--ink-2); max-width: 540px; }

.hero-cta { display: flex; gap: 11px; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 22px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 560; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease),
              transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn.primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-1); }
.btn.primary:hover { background: #000; transform: translateY(-1.5px); box-shadow: var(--shadow-2); }
.btn.ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); transform: translateY(-1.5px); }
.btn .arw { transition: transform .22s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

/* 数字条 —— 一条横向基线，不是 4 张对称卡片 */
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; width: 100%; max-width: 700px;
  margin-top: 16px; padding-top: 22px;
  border-top: 1px solid var(--line);
}
.stat {
  display: flex; flex-direction: column; gap: 3px; text-align: left;
  padding: 0 18px; border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat-n {
  font: 660 27px/1 var(--font-body); letter-spacing: -0.03em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-l { font-size: 12.5px; line-height: 1.4; color: var(--ink-3); }

/* 主图 */
.hero-shot {
  width: 100%; max-width: 620px; margin-top: 12px;
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-3);
  background: #0b0d12;
}
.hero-shot img { display: block; width: 100%; height: auto; }

/* ═══════════════ 三条特性：错落，非对称 ═══════════════
 * 刻意不用 3 列对称网格（守卫禁止）。改成两种宽度交替的横排。 */

.band { border-top: 1px solid var(--line); background: var(--bg-2); padding: 68px 32px; }
.band-inner { max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }

.feat {
  display: grid; grid-template-columns: 96px 1fr auto;
  gap: 26px; align-items: center;
  padding: 26px 4px; border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease), padding-left .25s var(--ease);
}
.feat:last-child { border-bottom: none; }
.feat:hover { background: #fff; padding-left: 14px; }
.feat-img {
  width: 96px; height: 70px; border-radius: var(--r-sm);
  object-fit: cover; border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feat:hover .feat-img { transform: scale(1.05); box-shadow: var(--shadow-2); }
.feat-txt h3 {
  font-size: 16.5px; font-weight: 620; letter-spacing: -0.012em;
  margin-bottom: 4px; color: var(--ink);
}
.feat-txt p { font-size: 14.5px; color: var(--ink-2); }
.feat .more { white-space: nowrap; }

.more {
  font-size: 14px; font-weight: 540; color: var(--accent); text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
}
.more .arw { transition: transform .22s var(--ease); }
.more:hover .arw, .feat:hover .more .arw { transform: translateX(3px); }
.more:hover { text-decoration: underline; }

/* ═══════════════ 板块 ═══════════════ */

.block { max-width: 1040px; margin: 0 auto; padding: 52px 32px 0; }

.block-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  margin-bottom: 20px; padding-bottom: 13px; border-bottom: 1px solid var(--line);
}
.block-head h2 { font-size: 21px; font-weight: 640; letter-spacing: -0.018em; margin: 0; }
.block-lead { font-size: 16px; color: var(--ink-2); max-width: 700px; }
.block-foot { font-size: 14px; color: var(--ink-3); margin-top: 16px; }
.block-foot code, code {
  font: 0.88em var(--font-mono); background: var(--bg-2);
  padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line);
}

/* 模型条 */
.model-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.model-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 14px; border: 1px solid var(--line); border-radius: var(--r-md);
  text-decoration: none; background: #fff; position: relative; overflow: hidden;
  transition: border-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}
.model-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 2px;
  background: var(--accent); transform: scaleY(0); transform-origin: top;
  transition: transform .28s var(--ease);
}
.model-card:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.model-card:hover::before { transform: scaleY(1); }
.mc-name { font-size: 13.5px; font-weight: 600; color: var(--ink); font-family: var(--font-mono); }
.mc-meta { font-size: 12px; color: var(--ink-3); }

/* 定价 */
.price-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.price-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.price-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); }
.pc-label {
  font: 500 11.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3);
}
.pc-val { font-size: 24px; font-weight: 660; letter-spacing: -0.025em; color: var(--ink); }
.pc-note { font-size: 14px; color: var(--ink-2); }

/* ═══════════════ 终端块 ═══════════════ */

.qs {
  max-width: 680px; border-radius: var(--r-md); overflow: hidden;
  background: #0f0f14; border: 1px solid #1c1d24;
  box-shadow: var(--shadow-3);
}
.qs-head {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 15px; border-bottom: 1px solid #1c1d24;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #2a2c36; }
.dot:first-child { background: #3a3d4a; }
.qs-title { margin-left: 8px; font: 11.5px var(--font-mono); color: #6d7183; }
.qs pre { margin: 0; padding: 18px; overflow-x: auto; }
.qs code { font: 13px/1.85 var(--font-mono); color: #d6d8e0; background: none; padding: 0; border: none; }
.c-dim { color: #5c6070; }
.c-str { color: #8fd4a8; }
.c-caret {
  display: inline-block; width: 7px; height: 14px; vertical-align: -2px;
  background: var(--accent); margin-left: 2px;
  animation: blink 1.15s step-end infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* ═══════════════ FAQ ═══════════════ */

.faq { max-width: 740px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; font-weight: 580; color: var(--ink); font-size: 16px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 2px;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 9px; height: 9px;
  border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3);
  transform: rotate(45deg); transition: transform .26s var(--ease), border-color .2s var(--ease);
  margin-right: 3px;
}
.faq details[open] summary::after { transform: rotate(-135deg); border-color: var(--accent); }
.faq summary:hover { color: var(--accent); padding-left: 6px; }
.faq .faq-body {
  padding: 0 2px 16px; font-size: 15px; color: var(--ink-2);
  animation: rise .34s var(--ease) both;
}

/* ═══════════════ 页脚 ═══════════════ */

footer { border-top: 1px solid var(--line); margin-top: 68px; padding: 46px 32px 62px; }
.foot-inner { max-width: 1040px; margin: 0 auto; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-bottom: 34px; }
.foot-cols > div { display: flex; flex-direction: column; gap: 8px; }
.fc-head {
  font: 500 11.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 4px;
}
.foot-cols a { font-size: 14px; color: var(--ink-2); text-decoration: none; width: fit-content; transition: color .2s var(--ease); }
.foot-cols a:hover { color: var(--accent); }
footer .fine { font-size: 13.5px; color: var(--ink-3); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ═══════════════ 内容页（/models 及后续子页共用）═══════════════ */

.page { max-width: 880px; margin: 0 auto; padding: 64px 32px 0; }

.page-head { padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 44px; }
.page-head .eyebrow { display: inline-block; margin-bottom: 18px; }
.page-head h1 {
  font-size: clamp(29px, 4vw, 42px); line-height: 1.14;
  letter-spacing: -0.028em; font-weight: 660; margin-bottom: 16px;
}
.page-sub { font-size: 17px; color: var(--ink-2); max-width: 660px; }

.page section { margin-bottom: 52px; }
.page h2 {
  font-size: 22px; font-weight: 640; letter-spacing: -0.018em;
  margin-bottom: 14px; padding-bottom: 11px; border-bottom: 1px solid var(--line);
}
.page .lead { font-size: 16px; color: var(--ink-2); max-width: 680px; margin-bottom: 18px; }
.page .note {
  font-size: 14px; color: var(--ink-3); max-width: 680px;
  padding-left: 14px; border-left: 2px solid var(--line); margin-top: 16px;
}

/* 数据表 */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 8px; }
.tbl th, .tbl td {
  text-align: left; padding: 11px 14px; vertical-align: top;
  border-bottom: 1px solid var(--line); color: var(--ink-2);
}
.tbl th {
  font: 500 11.5px/1 var(--font-mono); letter-spacing: .09em; text-transform: uppercase;
  color: var(--ink-3); border-bottom: 1px solid var(--line-2); padding-bottom: 9px;
}
.tbl td:first-child { color: var(--ink); white-space: nowrap; }
.tbl tbody tr { transition: background .18s var(--ease); }
.tbl tbody tr:hover { background: var(--bg-2); }
.tbl code { background: none; border: none; padding: 0; font-size: 13px; color: var(--ink); }
.tbl-tight td:last-child { font-variant-numeric: tabular-nums; }

/* 能力清单：竖向条目，不用卡片阵列 */
.feat-list { display: flex; flex-direction: column; }
.fl-item {
  padding: 20px 0 20px 18px; border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  transition: border-color .25s var(--ease), padding-left .25s var(--ease);
}
.fl-item:last-child { border-bottom: none; }
.fl-item:hover { border-left-color: var(--accent); padding-left: 24px; }
.fl-item h3 { font-size: 16.5px; font-weight: 620; letter-spacing: -0.012em; margin-bottom: 6px; color: var(--ink); }
.fl-item p { font-size: 15px; line-height: 1.62; color: var(--ink-2); max-width: 660px; }

/* 边界清单（否定句，写作规则要求写清不适用） */
.plain-list { list-style: none; display: flex; flex-direction: column; gap: 12px; max-width: 700px; }
.plain-list li {
  font-size: 15.5px; line-height: 1.62; color: var(--ink-2);
  padding-left: 20px; position: relative;
}
.plain-list li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 6px; height: 1.5px; background: var(--ink-3);
}
.plain-list strong { color: var(--ink); font-weight: 620; }

.dim { color: var(--ink-3); font-size: 13.5px; }

/* 问答列表（/faq） */
.qa { margin: 18px 0 8px; }
.qa dt {
  font-size: 16.5px; font-weight: 620; color: var(--ink);
  margin-top: 24px; margin-bottom: 7px;
}
.qa dt:first-child { margin-top: 6px; }
.qa dd {
  margin-left: 0; font-size: 15.5px; line-height: 1.64; color: var(--ink-2);
  padding-left: 16px; border-left: 2px solid var(--line);
}

/* 规范定义句的落点（首页首屏、/about）—— 它必须和 llms.txt 逐字一致 */
.def {
  margin: 26px 0 18px;
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
  background: var(--bg-2);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--ink);
}

/* 首屏是居中的，定义句是一段要读的文字，左对齐才读得下去 */
.hero .def { text-align: left; max-width: 660px; }

/* 编号步骤条（/routing 用）—— 之前 HTML 用了 .steps/.step/.num 但这里没定义，
   渲染成裸文本，序号黏在正文前面，设计意图整个丢掉。 */
.steps { display: flex; flex-direction: column; gap: 16px; margin: 22px 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.step .num {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font: 500 12.5px/1 var(--font-mono);
  color: var(--accent); background: rgba(94,106,210,.10);
  border: 1px solid rgba(94,106,210,.22);
  margin-top: 2px;
}
.step > div { font-size: 15.5px; line-height: 1.62; color: var(--ink-2); }
.step > div strong { color: var(--ink); font-weight: 620; }

/* 公式块 */
.formula {
  margin: 20px 0; padding: 18px 20px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-2);
}
.formula code {
  font-family: var(--font-mono); font-size: 15px;
  background: none; border: none; padding: 0; color: var(--ink);
}

/* ═══════════ 操作台（/compare） ═══════════ */

.gate-box {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; background: var(--bg-2); margin-bottom: 44px;
}

.wb {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; margin-bottom: 24px; background: #fff;
  display: flex; flex-direction: column; gap: 20px;
}
.wb-row { display: flex; flex-direction: column; gap: 8px; }
.wb-row > label {
  font: 500 12px/1 var(--font-mono); letter-spacing: .09em; text-transform: uppercase;
  color: var(--ink-3);
}

.wb input[type="text"], .wb input[type="password"] {
  font: 14px var(--font-body); color: var(--ink);
  padding: 11px 13px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: #fff; width: 100%; max-width: 560px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.wb input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(94,106,210,.13);
}

.picks { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.pick {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; color: var(--ink-2); cursor: pointer;
}
.pick input { accent-color: var(--accent); width: 15px; height: 15px; }
.pick code { font-size: 12.5px; }

.hint { font-size: 13px; color: var(--ink-3); }

.progress { margin: 0 0 24px; }
.progress .bar {
  height: 4px; background: var(--line); border-radius: 999px; overflow: hidden;
  margin-bottom: 9px;
}
.progress .bar span {
  display: block; height: 100%; width: 0;
  background: var(--accent); border-radius: 999px;
  transition: width .3s var(--ease);
}

.score { font-variant-numeric: tabular-nums; font-weight: 620; color: var(--ink); }
.bad { color: #b42318; }

/* ═══════════ 记录（/records） ═══════════ */

.rec {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px 20px; margin-bottom: 12px; background: #fff;
  transition: border-color .18s var(--ease);
}
.rec:hover { border-color: var(--line-2); }
.rec-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; margin-bottom: 10px; flex-wrap: wrap;
}
.rec-when { font: 500 12.5px/1 var(--font-mono); color: var(--ink-3); }
.rec-what { font-size: 15px; color: var(--ink-2); }
.rec-what code { font-size: 13px; }
.empty {
  padding: 32px; text-align: center; color: var(--ink-3);
  border: 1px dashed var(--line-2); border-radius: var(--r-md);
  font-size: 15px;
}

/* 下载卡片（首页 Aiglade 区） */
.dl-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.dl-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; text-decoration: none; position: relative; overflow: hidden;
  transition: border-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}
.dl-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.dl-card:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.dl-card:hover::before { transform: scaleX(1); }
.dl-head { display: flex; align-items: center; gap: 8px; color: var(--accent); }
.dl-os { font: 500 11.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.dl-name { font-size: 16px; font-weight: 620; color: var(--ink); }
.dl-meta { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.dl-cta {
  margin-top: 8px; font-size: 14px; font-weight: 550; color: var(--accent);
  display: inline-flex; align-items: center; gap: 5px;
}
.dl-cta .arw { transition: transform .22s var(--ease); }
.dl-card:hover .dl-cta .arw { transform: translateY(2px); }
.dl-note { font-size: 13.5px; color: var(--ink-3); margin-top: 14px; }

@media (max-width: 620px) {
  .dl-row { grid-template-columns: 1fr; }
}

/* 去下一页 */
.next-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.next-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 18px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; text-decoration: none; position: relative; overflow: hidden;
  transition: border-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}
.next-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.next-card:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.next-card:hover::before { transform: scaleX(1); }
.nc-t { font-size: 15.5px; font-weight: 620; color: var(--ink); }
.nc-d { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }

/* ═══════════════ 窄屏 ═══════════════ */

@media (max-width: 900px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
  .model-row { grid-template-columns: repeat(2, 1fr); }
  .price-row { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .next-row { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 72px 1fr; gap: 18px; }
  .feat-img { width: 72px; height: 54px; }
  .feat .more { grid-column: 2; }
}

@media (max-width: 620px) {
  :root { --nav-h: 56px; }

  /* 实测：flex 不换行时 .signin 的右边缘固定在 503px，375 视口下撑出 128px。
     折成两行 —— 第一行品牌 + 登录，第二行导航项。 */
  .nav {
    height: auto; min-height: var(--nav-h);
    flex-wrap: wrap; padding: 10px 18px; gap: 8px 14px;
    position: static;   /* sticky + 动态高度在窄屏会跳，改为随内容走 */
  }
  .brand { font-size: 15.5px; }
  .nav nav {
    order: 3; flex: 0 0 100%; flex-wrap: wrap; gap: 6px 16px;
    padding-top: 8px; border-top: 1px solid var(--line);
  }
  .nav nav a, .signin { font-size: 13px; }
  .signin { padding: 6px 12px; margin-left: auto; }

  /* .page 之前漏在断点外，8 个正文页在窄屏仍是 32px 左右内边距 */
  .page { padding: 40px 20px 0; }
  .gate-box { padding: 20px; }
  .wb { padding: 18px; }
  .rec { padding: 16px; }

  /* 三列文本表在 375px 下最宽到 554px，放开首列 nowrap 让它能折 */
  .tbl { font-size: 13.5px; }
  .tbl th, .tbl td { padding: 9px 8px; }
  .tbl td:first-child { white-space: normal; }

  .hero { padding: 52px 20px 44px; }
  .hero-inner { gap: 17px; }
  .band { padding: 44px 20px; }
  .block { padding: 38px 20px 0; }
  .block-head h2 { font-size: 19px; }
  footer { padding: 34px 20px 46px; }
}

/* ═══════════════ 降级 ═══════════════
 * 尊重系统设置：关掉所有位移与循环动画，只保留即时可见。 */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero::before, .hero::after { animation: none; }
}
