/* ==========================================================================
   拾贝 LinkMaw · 官网首页与 404
   颜色、字号、间距、圆角、动效全部取自 tokens.css，这里只写布局。
   节奏：深色 Hero → 白（宣言 / 问题 / 能力）→ 深色（流程）→ 白（对比 / 问答）
        → 深色（收尾）→ 白（页脚）
   ========================================================================== */

/* ==========================================================================
   Hero
   ========================================================================== */

/* Hero 是整站唯一的"舞台"：允许网格纹理 + 品牌光晕，其余区块仍是纯色。
   两层伪元素都锁在 z-index 0，内容靠 .hero-in / .hero-stats 的 z-index 1 浮上来；
   ::before 用 mask 从顶部向两侧淡出，避免网格铺满屏幕变成廉价的科技感底纹。 */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  /* 88vh：大屏不再只占半屏、下面空一大片白；内容靠 .hero-in 的 flex:1 垂直居中，
     底部指标条自然贴到舞台下沿。 */
  min-height: 88vh;
  background: var(--dark);
  color: var(--dark-ink);
  padding: 148px 0 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: var(--s-700) var(--s-700);
  background-position: center top;
  -webkit-mask-image: radial-gradient(
    ellipse 78% 62% at 50% 4%,
    #000 12%,
    rgba(0, 0, 0, 0.45) 46%,
    transparent 82%
  );
  mask-image: radial-gradient(
    ellipse 78% 62% at 50% 4%,
    #000 12%,
    rgba(0, 0, 0, 0.45) 46%,
    transparent 82%
  );
}

.hero::after {
  content: '';
  position: absolute;
  top: -280px;
  left: 50%;
  z-index: 0;
  width: 1180px;
  height: 760px;
  margin-left: -590px;
  pointer-events: none;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(184, 242, 79, 0.2) 0%,
    rgba(184, 242, 79, 0.075) 38%,
    rgba(184, 242, 79, 0) 68%
  );
  filter: blur(8px);
}

.hero-in {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: var(--wrap-hero);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--s-300);
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: var(--s-700);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: var(--s-700);
}

/* 版本状态条：比横幅公告克制，也更像产品而不是营销页 */
.status {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  margin-bottom: var(--s-400);
  padding: var(--s-75) var(--s-100);
  border: 1px solid var(--dark-3);
  border-radius: var(--r-full);
  background: var(--dark-1);
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  color: var(--dark-ink-2);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--r-full);
  background: var(--brand);
  animation: pulse 2.4s var(--ease) infinite;
}

.status a {
  color: var(--brand);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease);
}

.status a:hover {
  border-bottom-color: var(--brand);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

/* 标题是全站唯一允许出现渐变的地方。88px 起步，大字距收 -0.045em 让两行咬紧，
   否则中文在负字距下容易显得松散。 */
.hero h1 {
  max-width: 700px;
  font-size: var(--t-8xl);
  line-height: var(--lh-8xl);
  letter-spacing: -0.045em;
  font-weight: 600;
  background: linear-gradient(94deg, #ffffff 0%, #ffffff 34%, #b6b6b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 560px;
  margin-top: var(--s-400);
  font-size: var(--t-lg);
  line-height: var(--lh-lg);
  color: var(--dark-ink-2);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-300);
  margin-top: var(--s-500);
}

/* 首屏主 CTA 比正文按钮大一档：88px 标题旁边挂 48px 的按钮会显得小气 */
.hero-actions .btn-primary {
  min-height: 56px;
  padding: 0 var(--s-400);
  font-size: var(--t-lg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-75);
  padding: var(--s-100) var(--s-300);
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  font-size: var(--t-base);
  line-height: var(--lh-base);
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
}

.btn svg {
  transition: transform var(--dur) var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--brand);
  color: var(--brand-on);
}

.btn-primary:hover {
  background: #c8f76a;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--muted);
  transform: translateY(-1px);
}

/* 次级入口：文字 + 箭头，比第二个实心按钮轻一档，不与主 CTA 抢注意力 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  font-size: var(--t-base);
  font-weight: 500;
  color: var(--dark-ink);
  opacity: 0.72;
  transition: opacity var(--dur-fast) var(--ease);
}

.link-arrow svg {
  transition: transform var(--dur) var(--ease);
}

.link-arrow:hover {
  opacity: 1;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

.proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-75) var(--s-300);
  margin: var(--s-400) 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  color: var(--dark-muted);
}

.proof li {
  display: flex;
  align-items: center;
  gap: var(--s-75);
}

.proof li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: var(--r-full);
  background: var(--brand);
}

/* ---- 产品面板 ---- */

/* 面板当"屏幕"来做：外发光把它从深色舞台里托起来，顶部一道反射高光，
   内描边把边缘从死黑里提出来，否则它只是一张贴上去的灰卡片。 */
.hero-panel {
  position: relative;
  z-index: 1;
  margin-bottom: var(--s-700);
  padding: var(--s-75);
  border: 1px solid #2e2e2e;
  border-radius: var(--r-2xl);
  background: var(--dark-1);
  color: #ededed;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 0 0 1px rgba(255, 255, 255, 0.035),
    0 2px 6px rgba(0, 0, 0, 0.7),
    0 32px 72px -16px rgba(0, 0, 0, 0.95),
    0 0 120px -40px rgba(184, 242, 79, 0.6);
}

/* 屏幕顶部的反射光，只压在最上沿，不铺满 */
.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.018) 13%,
    rgba(255, 255, 255, 0) 24%
  );
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: var(--s-75);
  padding: var(--s-75) var(--s-100);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-full);
  background: var(--dark-4);
}

.panel-title {
  margin-left: var(--s-75);
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  color: var(--dark-muted);
  letter-spacing: 0.02em;
}

.panel-mode {
  margin-left: auto;
  padding: 2px var(--s-75);
  border: 1px solid #2f3d1c;
  border-radius: var(--r-sm);
  font-size: 10px;
  line-height: 16px;
  color: var(--brand);
  background: #141a0e;
}

.panel-body {
  padding: var(--s-75);
  display: grid;
  gap: var(--s-75);
}

.panel-input {
  display: flex;
  align-items: center;
  gap: var(--s-75);
  padding: var(--s-75);
  padding-left: var(--s-100);
  background: var(--dark);
  border: 1px solid var(--dark-3);
  border-radius: var(--r-lg);
}

.panel-url {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: var(--dark-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-parse {
  flex: none;
  padding: var(--s-50) var(--s-100);
  background: var(--brand);
  color: var(--brand-on);
  border-radius: var(--r-sm);
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  font-weight: 600;
}

.panel-list {
  display: grid;
  gap: var(--s-75);
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-75) var(--s-100);
  padding: var(--s-100);
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.row-main {
  min-width: 0;
  display: grid;
  gap: var(--s-25);
}

.row-name {
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  font-weight: 600;
  color: #f2f2f2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  line-height: 16px;
  color: var(--dark-muted);
}

.row-meta .tag {
  font-style: normal;
  padding: 0 var(--s-50);
  border: 1px solid var(--dark-4);
  border-radius: var(--r-sm);
  font-size: 10px;
  line-height: 15px;
  color: var(--dark-ink-2);
}

.row-pct {
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  font-weight: 600;
  color: var(--brand);
  align-self: center;
}

.row-pct.is-done {
  color: var(--brand-2);
}

.row-pct.is-rec {
  padding: 2px var(--s-50);
  border-radius: var(--r-sm);
  background: #2a1918;
  color: #ff8f87;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.row-bar {
  grid-column: 1 / -1;
  height: 3px;
  background: var(--dark);
  border-radius: var(--r-full);
  overflow: hidden;
}

.row-bar i {
  display: block;
  height: 100%;
  border-radius: var(--r-full);
  background: var(--brand);
  box-shadow: 0 0 10px rgba(184, 242, 79, 0.5);
  animation: bar-in 900ms var(--ease) both;
}

.row-bar i.is-full {
  width: 100%;
  background: var(--brand-2);
}

.row-bar i.is-rec-bar {
  width: 38%;
  background: #ff5a5f;
  animation: rec-pulse 2s var(--ease) infinite;
}

@keyframes bar-in {
  from {
    transform: scaleX(0);
    transform-origin: left;
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes rec-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.row-speed {
  grid-column: 2;
  justify-self: end;
  font-size: 11px;
  line-height: 16px;
  color: var(--dark-muted);
}

.panel-foot {
  display: flex;
  align-items: center;
  gap: var(--s-75);
  padding: var(--s-50) var(--s-100) var(--s-25);
  font-size: 11px;
  line-height: 16px;
  color: #6e6e6e;
}

.panel-foot .sep {
  width: 2px;
  height: 2px;
  border-radius: var(--r-full);
  background: var(--dark-4);
}

/* ---- Hero 指标条 ---- */

.hero-stats {
  position: relative;
  z-index: 1;
  /* flex 子项的 margin:auto 会让它 shrink-to-fit，必须显式给宽度，
     否则整条指标缩成内容宽度挤在中间。 */
  width: 100%;
  max-width: var(--wrap-hero);
  margin: 0 auto;
  padding: 0 var(--s-300);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--dark-3);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: var(--s-25);
  padding: var(--s-400) 0;
}

.stat + .stat {
  padding-left: var(--s-400);
  border-left: 1px solid var(--dark-3);
}

.stat b {
  font-size: var(--t-4xl);
  line-height: var(--lh-4xl);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--dark-ink);
}

/* 单位缩成小字：「10 GB+」六个字符在 36px 下会把整列撑得比「16」「0」「6」重一圈，
   数字大、单位小，四个指标才是同一视觉级别。 */
.stat b .stat-u {
  margin-left: 0.16em;
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: 0.02em;
  vertical-align: 0.14em;
  color: var(--dark-ink-2);
}

.stat span {
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  color: var(--dark-muted);
}

/* ==========================================================================
   大字宣言
   ========================================================================== */

.tagline {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: var(--s-900) var(--s-300);
}

.tagline::before {
  content: '';
  display: block;
  width: var(--s-600);
  height: 2px;
  margin-bottom: var(--s-500);
  background: var(--brand);
}

.tag-text {
  /* 第一句 15 字 × 60px − 字距 ≈ 871px，原来给 860 只差 11px 就折成
     "…和播放器的" / "拉锯。" 两行，留下一个孤零零的短尾。给到 920 让整句落在一行。 */
  max-width: 920px;
  font-size: var(--t-6xl);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-break: strict;
  word-break: normal;
  /* 窄屏放不下时让浏览器均分两行，而不是甩一个孤字到下一行 */
  text-wrap: balance;
}

/* 两句话各自成行：靠 max-width 硬凑会在词中间断开 */
.tag-text .tag-l {
  display: block;
}

.tag-text .w {
  color: var(--ink);
  opacity: 0.2;
  transition: opacity var(--dur-slow) var(--ease);
}

.tag-text .w.on {
  opacity: 1;
}

/* ==========================================================================
   通用区块
   ========================================================================== */

.sec {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: var(--s-900) var(--s-300);
  scroll-margin-top: var(--s-900);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--s-100);
  margin-bottom: var(--s-300);
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.kicker .mono {
  color: var(--brand-ink);
  font-weight: 600;
}

.kicker::after {
  content: '';
  width: var(--s-300);
  height: 1px;
  background: var(--line);
}

.sec-head {
  max-width: 720px;
  margin-bottom: var(--s-600);
}

.sec-head h2 {
  font-size: var(--t-5xl);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.sec-sub {
  margin-top: var(--s-200);
  font-size: var(--t-lg);
  line-height: var(--lh-lg);
  color: var(--muted);
}

/* ==========================================================================
   01 问题 → 解决
   ========================================================================== */

.problem {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--s-700);
  align-items: start;
  border-top: 1px solid var(--line);
}

.problem h2 {
  font-size: var(--t-5xl);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 560px;
}

.problem-copy p {
  margin-top: var(--s-300);
  max-width: 560px;
  font-size: var(--t-lg);
  line-height: 32px;
  color: var(--muted);
}

.problem-facts {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem-facts li {
  display: flex;
  align-items: baseline;
  gap: var(--s-300);
  padding: var(--s-500) 0;
  border-top: 1px solid var(--line);
}

.problem-facts li:last-child {
  border-bottom: 1px solid var(--line);
}

.fact-num {
  flex: none;
  min-width: 68px;
  font-size: var(--t-5xl);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.fact-label {
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  color: var(--muted);
}

/* ==========================================================================
   02 能力
   ========================================================================== */

.features {
  border-top: 1px solid var(--line);
}

/* 用 1px 间隙 + 底色做连续分隔线，比每张卡单独描边更整体 */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.card {
  position: relative;
  padding: var(--s-400);
  background: var(--bg);
  transition: background-color var(--dur-fast) var(--ease);
}

.card:hover {
  background: var(--bg-soft);
}

.card-n {
  position: absolute;
  top: var(--s-300);
  right: var(--s-300);
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  color: #cfcfcf;
  transition: color var(--dur-fast) var(--ease);
}

.card:hover .card-n {
  color: var(--brand-ink);
}

.card-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: var(--s-300);
  border: 1px solid var(--brand-line);
  border-radius: var(--r-md);
  background: var(--brand-soft);
  color: var(--brand-ink);
  transition: background-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.card:hover .card-ico {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-on);
}

.card h3 {
  font-size: var(--t-xl);
  line-height: var(--lh-xl);
  letter-spacing: -0.02em;
}

.card p {
  margin-top: var(--s-75);
  font-size: var(--t-sm);
  line-height: var(--lh-base);
  color: var(--muted);
}

/* ==========================================================================
   03 流程（深色带）
   ========================================================================== */

.band {
  background: var(--dark);
  padding: var(--s-900) 0;
}

.band-in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--s-300);
}

.band .kicker {
  color: var(--dark-muted);
}

.band .kicker .mono {
  color: var(--brand);
}

.band .kicker::after {
  background: var(--dark-3);
}

.band .sec-head h2 {
  color: var(--dark-ink);
}

.band .sec-sub {
  color: var(--dark-ink-2);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-600);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding-top: var(--s-400);
  border-top: 1px solid var(--dark-3);
}

.step-n {
  display: block;
  font-size: var(--t-5xl);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--brand);
}

.steps h3 {
  margin-top: var(--s-300);
  font-size: var(--t-xl);
  line-height: var(--lh-xl);
  letter-spacing: -0.02em;
  color: var(--dark-ink);
}

.steps p {
  margin-top: var(--s-75);
  font-size: var(--t-sm);
  line-height: var(--lh-base);
  color: var(--dark-ink-2);
}

/* ==========================================================================
   04 对比
   ========================================================================== */

.compare {
  border-top: 1px solid var(--line);
}

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
}

thead th:first-child {
  width: 28%;
}

thead th {
  padding: var(--s-200) var(--s-300);
  text-align: left;
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

tbody th {
  padding: var(--s-200) var(--s-300);
  text-align: left;
  font-weight: 500;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

tbody td {
  padding: var(--s-200) var(--s-300);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* 自己这一列整列反白：一眼就能看出差别 */
thead th.col-us,
tbody td.col-us {
  background: var(--dark);
  color: var(--dark-ink-2);
  border-top-color: var(--dark-3);
}

thead th.col-us {
  color: var(--brand);
  border-bottom-color: var(--dark-3);
}

td.col-us .yes {
  color: var(--dark-ink);
  font-weight: 500;
}

.compare-note {
  margin-top: var(--s-200);
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  color: var(--muted);
}

/* ==========================================================================
   05 FAQ
   ========================================================================== */

.faq {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: var(--s-700);
  align-items: start;
  border-top: 1px solid var(--line);
}

.faq .sec-head {
  position: sticky;
  top: var(--s-900);
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-200);
  padding: var(--s-300) 0;
  font-size: var(--t-lg);
  line-height: var(--lh-lg);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color var(--dur-fast) var(--ease);
}

summary::-webkit-details-marker {
  display: none;
}

summary:hover {
  color: var(--brand-ink);
}

/* 加号用两条线画，展开时竖线转 90 度，比换字符连贯 */
summary::after {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  background: linear-gradient(var(--muted), var(--muted)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--muted), var(--muted)) center / 1.5px 100% no-repeat;
  transition: transform var(--dur) var(--ease);
}

details[open] summary::after {
  transform: rotate(90deg);
  opacity: 0.5;
}

details p {
  max-width: 640px;
  padding: 0 var(--s-600) var(--s-300) 0;
  font-size: var(--t-sm);
  line-height: var(--lh-base);
  color: var(--muted);
}

/* ==========================================================================
   收尾 CTA
   ========================================================================== */

.final {
  background: var(--dark);
  padding: var(--s-900) var(--s-300);
}

.final-in {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-700);
  align-items: end;
}

.final h2 {
  font-size: var(--t-6xl);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--dark-ink);
}

.final-main > p {
  margin-top: var(--s-200);
  font-size: var(--t-lg);
  line-height: var(--lh-lg);
  color: var(--dark-ink-2);
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-300);
  margin-top: var(--s-500);
}

.final-fine {
  margin-top: var(--s-300) !important;
  font-size: var(--t-xs) !important;
  line-height: var(--lh-xs) !important;
  color: var(--dark-muted) !important;
}

.final-side {
  display: grid;
  gap: var(--s-300);
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
}

.final-side li {
  display: grid;
  gap: var(--s-25);
}

.final-side b {
  font-size: var(--t-4xl);
  line-height: var(--lh-4xl);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--dark-ink);
}

.final-side span {
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  color: var(--dark-muted);
}

/* ==========================================================================
   404
   ========================================================================== */

.nf {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--s-900) var(--s-300) var(--s-900);
}

.nf-code {
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--brand-ink);
}

.nf h1 {
  margin-top: var(--s-200);
  font-size: var(--t-6xl);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.nf-lede {
  max-width: 560px;
  margin-top: var(--s-300);
  font-size: var(--t-lg);
  line-height: var(--lh-lg);
  color: var(--muted);
}

.nf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-200);
  margin-top: var(--s-500);
}

.nf-actions .btn-ghost {
  --ink: var(--ink);
}

.nf-links {
  display: grid;
  gap: var(--s-100);
  margin: var(--s-700) 0 0;
  padding-top: var(--s-300);
  list-style: none;
  border-top: 1px solid var(--line);
}

.nf-links a {
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  color: var(--ink-2);
  transition: color var(--dur-fast) var(--ease);
}

.nf-links a:hover {
  color: var(--brand-ink);
}

/* ==========================================================================
   滚动进场
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* 只在窄屏生效的换行点 */
.br-narrow {
  display: none;
}

/* ==========================================================================
   响应式
   ========================================================================== */

/* 双栏区间 1025–1199 时左栏只有 520–620px 宽，88px 的七个字放不下会硬折行，
   退回 72px。这是排版宽度决定的，不是"小屏降级"。 */
@media (max-width: 1199px) {
  .hero h1 {
    max-width: 580px;
    font-size: var(--t-7xl);
    line-height: var(--lh-7xl);
  }
}

/* 超宽屏才放到 96px：1500 以上左栏有 660px+，刚好容得下七个字 */
@media (min-width: 1500px) {
  .hero h1 {
    max-width: 720px;
    font-size: var(--t-9xl);
    line-height: var(--lh-9xl);
  }
}

@media (max-width: 1024px) {
  .hero {
    /* 单栏后内容本来就超一屏，再撑 88vh 只会多出空白 */
    min-height: auto;
    padding-top: 120px;
  }

  .hero-in {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-600);
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-panel {
    /* 单栏后如果让它吃满 976px，里面的 14px 文字和进度条会被拉得很空，
       限宽居中保持它原本的"产品截图"比例 */
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }

  .hero h1 {
    max-width: none;
    font-size: var(--t-6xl);
    line-height: 1.05;
  }

  .hero-stats {
    margin-top: var(--s-700);
  }

  .problem,
  .faq,
  .final-in {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-500);
  }

  .faq .sec-head {
    position: static;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-400);
  }

  .tag-text {
    font-size: var(--t-5xl);
  }

  .final-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-300);
    text-align: left;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 112px;
  }

  /* 手机上网格线会从标题笔画之间穿过去，干扰阅读；只保留光晕 */
  .hero::before {
    display: none;
  }

  .hero-in,
  .hero-stats,
  .sec,
  .band-in,
  .final {
    padding-left: var(--s-200);
    padding-right: var(--s-200);
  }

  .hero h1 {
    font-size: var(--t-5xl);
    line-height: 1.06;
  }

  .lede {
    font-size: var(--t-base);
    line-height: var(--lh-base);
  }

  .hero-actions {
    gap: var(--s-200);
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat {
    padding: var(--s-300) 0;
  }

  /* 两列时只保留第二列的分隔线，避免出现半截竖线 */
  .stat + .stat {
    padding-left: 0;
    border-left: 0;
  }

  .stat:nth-child(even) {
    padding-left: var(--s-300);
    border-left: 1px solid var(--dark-3);
  }

  .stat b {
    font-size: var(--t-2xl);
    line-height: var(--lh-2xl);
  }

  .tagline,
  .sec,
  .band,
  .final {
    padding-top: var(--s-700);
    padding-bottom: var(--s-700);
  }

  .tag-text {
    font-size: var(--t-3xl);
    line-height: 1.2;
  }

  .tag-text .tag-l {
    display: inline;
  }

  .sec-head h2,
  .problem h2 {
    font-size: var(--t-3xl);
    line-height: 1.15;
  }

  .sec-sub,
  .problem-copy p {
    font-size: var(--t-base);
    line-height: var(--lh-base);
  }

  .br-narrow {
    display: inline;
  }

  .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .card {
    padding: var(--s-300);
  }

  .fact-num,
  .step-n {
    font-size: var(--t-4xl);
  }

  .table-wrap {
    overflow-x: auto;
  }

  table {
    min-width: 640px;
  }

  thead th,
  tbody th,
  tbody td {
    padding: var(--s-100) var(--s-200);
  }

  details p {
    padding-right: 0;
  }

  .final h2 {
    font-size: var(--t-4xl);
    line-height: 1.15;
  }

  .final-side {
    grid-template-columns: minmax(0, 1fr);
  }

  .nf {
    padding-top: 128px;
  }

  .nf h1 {
    font-size: var(--t-4xl);
    line-height: 1.15;
  }

  .btn {
    width: 100%;
  }

  .btn.link-arrow {
    width: auto;
  }
}

/* 360–400 的小屏：48px 的「能播的，就能存」七个字会硬折成三行 */
@media (max-width: 400px) {
  .hero h1 {
    font-size: var(--t-4xl);
    line-height: 1.1;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .tag-text .w {
    opacity: 1;
  }

  .row-bar i,
  .status-dot {
    animation: none;
  }
}

/* 大号数字统一用主字的等宽数字，不切等宽字体（Consolas 那类在大字号下发虚） */
.stat b,
.fact-num,
.step-n,
.final-side b {
  font-family: var(--f-sans);
  font-variant-numeric: tabular-nums lining-nums;
  /* .mono 的 0.04em 字距在 36px 下会把「10 GB+」撑得比「16」宽一圈，
     同一行里就看成字号不一致。数字列统一归零。 */
  letter-spacing: 0;
}
