/* 智剪课官网样式。

   配色沿用品牌：暖调的纸白 / 炭黑两套底色（跟随系统）加一个朱红强调色（和软件录制键同族）。
   版式：无衬线粗体大标题、大留白、靠色块与留白分区，不用描边框线；按钮一律胶囊形。
   宽度全部流式：容器 clamp 边距，标题字号随视口缩放，栅格在窄屏自动改单列。
   首页只有一张产品图（static/img/editor-*.webp）：官网专用的编辑器布景页 tools/product_shot.html 的截图，
   由 tools/make_product_shot.mjs 生成；功能介绍是在这张图上轮流提亮区域，不另放局部图。纯本地资源，字体走系统字体栈。 */

:root {
  color-scheme: light dark;

  --ground: #faf9f5;
  --ground-2: #f0eee6;
  --panel: #f0eee6;
  --field: #f0eee6;
  --hover: #f5f4ed;
  --seg: #f0eee6;
  --seg-on: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f4ed;
  --line: #e8e6dc;
  --line-2: #d1cfc5;
  --ink: #141413;
  --ink-2: #5e5d59;
  --ink-3: #87867f;
  --ink-4: #b0aea5;

  --primary: #141413;
  --primary-hover: #30302e;
  --on-primary: #faf9f5;
  --quiet: #e8e6dc;
  --quiet-hover: #dedcd1;

  --accent: #de4640;
  --accent-2: #c23b36;
  --accent-soft: #f8e6e1;

  --good: #2f7a57;
  --good-soft: #e3efe6;
  --warn: #8a5f14;
  --warn-soft: #f5ecd8;
  --bad: #bf4d43;
  --bad-soft: #f8e6e1;

  /* 舞台：深色色块（推荐方案、下载区），浅色与深色主题下都是深的 */
  --stage: #141413;
  --stage-2: #1f1e1d;
  --stage-3: #2a2a28;
  --stage-line: #30302e;
  --stage-ink: #faf9f5;
  --stage-ink-2: #c2c0b6;
  --stage-ink-3: #87867f;
  --stage-ink-4: #5e5d59;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-2xl: clamp(24px, 3vw, 40px);
  --shadow-1: 0 1px 2px rgba(20, 20, 19, .06);
  --shadow-2: 0 1px 2px rgba(20, 20, 19, .04), 0 18px 48px -24px rgba(20, 20, 19, .2);
  --shadow-card: 0 1px 2px rgba(20, 20, 19, .04), 0 12px 32px -18px rgba(20, 20, 19, .14);
  --shadow-shot: 0 2px 6px rgba(20, 20, 19, .06), 0 48px 96px -40px rgba(20, 20, 19, .45);
  --ring: 0 0 0 3px rgba(20, 20, 19, .14);

  --maxw: 1240px;
  --maxw-app: 1320px;
  --gutter: clamp(20px, 4.4vw, 56px);
  --space: clamp(88px, 11vw, 168px);

  --font: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
          "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
          "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --mono: "Cascadia Mono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #141413;
    --ground-2: #1a1918;
    --panel: #1f1e1d;
    --field: #2a2a28;
    --hover: #262624;
    --seg: #1f1e1d;
    --seg-on: #3d3d3a;
    --surface: #1f1e1d;
    --surface-2: #262624;
    --line: #30302e;
    --line-2: #3d3d3a;
    --ink: #faf9f5;
    --ink-2: #c2c0b6;
    --ink-3: #9c9a92;
    --ink-4: #5e5d59;

    --primary: #faf9f5;
    --primary-hover: #ffffff;
    --on-primary: #141413;
    --quiet: #30302e;
    --quiet-hover: #3d3d3a;

    --accent: #e5564f;
    --accent-2: #f07a74;
    --accent-soft: rgba(229, 86, 79, .14);

    --good: #6fbf98;
    --good-soft: rgba(111, 191, 152, .12);
    --warn: #dcab5c;
    --warn-soft: rgba(220, 171, 92, .12);
    --bad: #ee7a72;
    --bad-soft: rgba(238, 122, 114, .12);

    --stage: #0f0f0e;
    --stage-2: #1a1918;
    --stage-3: #262624;
    --stage-line: #30302e;

    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-2: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 48px -24px rgba(0, 0, 0, .7);
    --shadow-card: none;
    --shadow-shot: 0 0 0 1px rgba(250, 249, 245, .06), 0 48px 96px -40px rgba(0, 0, 0, .9);
    --ring: 0 0 0 3px rgba(250, 249, 245, .18);
  }
}

/* ------------------------------------------------------------------ 基础 */

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
p a, li a, dd a, .note a, .link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
p a:hover, li a:hover, dd a:hover, .note a:hover, .link:hover { text-decoration-color: currentColor; }
p a, .note a { white-space: nowrap; }

h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 600; line-height: 1.3; color: var(--ink); }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; }
h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.18; }
h3 { font-size: 18px; line-height: 1.4; }
h4 { font-size: 15px; line-height: 1.5; }

p { margin: 0 0 1em; }
p, li, dd, .answer { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: .3em; }
strong { font-weight: 600; }
code, kbd, pre, .mono { font-family: var(--mono); font-size: .88em; }
code { padding: .1em .4em; border-radius: 5px; background: var(--surface-2); }
hr { border: 0; height: 0; margin: 40px 0; }
img, svg { max-width: 100%; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.app-wrap { max-width: calc(var(--maxw-app) + var(--gutter) * 2); }
.wrap.narrow { max-width: calc(760px + var(--gutter) * 2); }

.muted { color: var(--ink-2); }
.dim { color: var(--ink-3); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.stack > * + * { margin-top: 20px; }
.hide { display: none !important; }
.m0 { margin: 0 !important; }
.mt-s { margin-top: 12px !important; }
.mt { margin-top: 24px !important; }
.mt-l { margin-top: 48px !important; }

.eyebrow { margin-bottom: 14px; font-size: 14px; color: var(--ink-3); }
.lede { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.65; color: var(--ink-2); }

.grid { display: grid; gap: 24px; }
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.golden { grid-template-columns: minmax(0, 61.8fr) minmax(0, 38.2fr); }
.grid.golden-rev { grid-template-columns: minmax(0, 38.2fr) minmax(0, 61.8fr); }
.grid.top { align-items: start; }

/* ------------------------------------------------------------------ 顶栏：不画底线，半透明磨砂浮在内容上 */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ground) 78%, transparent);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
}
.topbar-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { display: block; height: 30px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { font-size: 14px; color: var(--ink-2); transition: color .15s ease; }
.nav a:hover, .nav a.on { color: var(--ink); }

.topbar-right { display: flex; align-items: center; gap: 6px; }
.topbar-right .text-link { font-size: 14px; color: var(--ink-2); padding: 0 12px; background: none; border: 0; cursor: pointer; font-family: inherit; }
.topbar-right .text-link:hover { color: var(--ink); }
.topbar-right form { margin: 0; }
.me { display: flex; align-items: center; gap: 10px; max-width: 220px; padding: 4px 14px 4px 4px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: background-color .15s ease; }
.me:hover { color: var(--ink); background: var(--quiet); text-decoration: none; }
.me .avatar { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-size: 14px; font-weight: 600; }
.me .name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.messages { padding-top: 20px; }
.messages .note { margin: 0; }
.messages .note + .note { margin-top: 10px; }

/* ------------------------------------------------------------------ 按钮：胶囊形 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--primary-hover); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn.quiet { background: var(--quiet); color: var(--ink); }
.btn.quiet:hover { background: var(--quiet-hover); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn.ghost:hover { background: var(--quiet); box-shadow: none; }
.btn.accent { background: var(--accent); color: #fff; }
.btn.accent:hover { background: var(--accent-2); }
.btn.danger { background: var(--bad-soft); color: var(--bad); }
.btn.lg { height: 50px; padding: 0 28px; font-size: 15px; }
.btn.sm { height: 34px; padding: 0 15px; font-size: 13px; }
.btn.block { display: flex; width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ------------------------------------------------------------------ 区块 */

.section { padding: var(--space) 0; }
.section.tight { padding: clamp(56px, 8vw, 104px) 0 var(--space); }
.section.alt { background: var(--ground-2); }
.section.flush { padding-top: 0; }

/* 区块标题：标题在左、说明在右，窄屏上下排 */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px clamp(32px, 6vw, 96px);
  margin-bottom: clamp(32px, 5vw, 64px);
}
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.7; color: var(--ink-2); }
.sec-head.solo { grid-template-columns: minmax(0, 1fr); max-width: 760px; }

/* ------------------------------------------------------------------ 首屏：大字居中，产品截图压在下面一条色带上 */

.hero { position: relative; padding-top: clamp(40px, 6vw, 88px); }
.hero-copy { text-align: center; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(20px, 3vw, 32px);
  padding: 6px 16px 6px 8px;
  border-radius: 999px;
  background: var(--panel);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.hero-tag b { padding: 2px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; }
.display {
  margin: 0 auto;
  font-family: var(--display);
  font-size: clamp(38px, 5.6vw, 76px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.035em;
}
.display em { font-style: normal; color: var(--accent); }
.hero .lede { max-width: 32em; margin: clamp(18px, 2.4vw, 28px) auto 0; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(28px, 3.6vw, 44px); }

/* 截图下半截坐在一条通栏色带上，色带一直延到下一节（.intro 同色） */
.shot-stage { position: relative; margin-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(56px, 7vw, 104px); }
.shot-stage::before { content: ""; position: absolute; inset: 30% 0 0; background: var(--ground-2); }
.shot-stage .wrap { position: relative; max-width: calc(1120px + var(--gutter) * 2); }

.shot { margin: 0; }
.shot-frame {
  position: relative;
  overflow: hidden;
  border-radius: clamp(8px, 1vw, 14px);
  background: #17181a;
  box-shadow: var(--shadow-shot);
}
.shot-frame img { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .shot-frame { transform-origin: 50% 0; animation: shot-rise linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
    @keyframes shot-rise {
      from { transform: perspective(2400px) rotateX(12deg) scale(.95); }
      to { transform: none; }
    }
  }
}

/* 功能提亮：轮到哪一项，截图上除它的区域外都压暗（.spot 的遮罩挖出这些区域），所在的轨道扫过一道光。
   区域来自 pages/product_shot.json，由截图工具量布景页得出。 */
.spot { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.spot > rect { fill: rgba(9, 11, 15, .68); }
.spot.on { opacity: 1; }
.sweep { position: absolute; overflow: hidden; opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.sweep.on { opacity: 1; }
.sweep::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 22%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
  transform: translateX(-100%);
}
@media (prefers-reduced-motion: no-preference) {
  .sweep.on::after { animation: sweep 2.4s var(--ease) .3s infinite; }
  @keyframes sweep { to { transform: translateX(460%); } }
}

.spot-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 48px); margin-top: clamp(24px, 3vw, 40px); }
.spot-tab {
  align-self: start;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  font: inherit;
  text-align: left;
  cursor: pointer;
  opacity: .62;
  transition: opacity .3s ease;
}
.spot-tab:hover, .spot-tab[aria-pressed="true"] { opacity: 1; }
.spot-tab:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r); }
.spot-tab b { display: block; margin: 14px 0 4px; font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--ink); }
.spot-tab > span:last-child { display: block; font-size: 14px; line-height: 1.65; }
/* 进度条：只在轮播时走；走完一条换下一项 */
.spot-meter { display: block; height: 3px; border-radius: 3px; background: var(--seg); overflow: hidden; }
.spot-meter i { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.spot-tab[aria-pressed="true"] .spot-meter i { transform: none; }
.shot.auto .spot-tab[aria-pressed="true"] .spot-meter i { animation: spot-fill var(--dwell, 6.5s) linear both; }
.shot.auto.paused .spot-meter i, .shot.auto:hover .spot-meter i { animation-play-state: paused; }
@keyframes spot-fill { from { transform: scaleX(0); } to { transform: none; } }

/* ------------------------------------------------------------------ 介绍视频（录好之前是占位框） */

.intro { padding: 0 0 var(--space); background: var(--ground-2); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(32px, 5vw, 80px); align-items: center; max-width: calc(1120px + var(--gutter) * 2); }
.intro-head h2 { margin: 0 0 16px; }
.intro-head p { margin: 0; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.7; color: var(--ink-2); }
.intro-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  background: #17181a;
}
.intro-frame video { display: block; width: 100%; height: 100%; }
.intro-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  padding: 24px;
  background: radial-gradient(120% 90% at 50% 110%, rgba(222, 70, 64, .22), transparent 60%);
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  text-align: center;
}
.intro-soon b { color: #fff; font-family: var(--display); font-size: clamp(18px, 2vw, 24px); font-weight: 700; }
.intro-play {
  display: grid;
  place-items: center;
  width: clamp(56px, 7vw, 84px);
  aspect-ratio: 1;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}
.intro-play::after { content: ""; margin-left: 12%; border-style: solid; border-width: .62em 0 .62em 1.05em; border-color: transparent transparent transparent rgba(255, 255, 255, .85); font-size: clamp(14px, 1.6vw, 20px); }

/* ------------------------------------------------------------------ 标签切换（价格的月付 / 年付） */

.tabs {
  display: inline-flex;
  gap: 4px;
  margin: 0 0 40px;
  padding: 5px;
  border-radius: 999px;
  background: var(--seg);
}
.tab {
  height: 38px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.tab:hover { color: var(--ink); }
.tab.on { background: var(--seg-on); color: var(--ink); box-shadow: var(--shadow-1); }
.tab:focus-visible { outline: none; box-shadow: var(--ring); }

.ticks { list-style: none; margin: 24px 0 0; padding: 0; }
.ticks li { position: relative; margin: 0; padding: 5px 0 5px 28px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 12px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ------------------------------------------------------------------ 价格：色块卡片，不描边 */

.pricing { padding: var(--space) 0; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.plans.single { grid-template-columns: minmax(0, 1fr); max-width: 440px; }
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--r-xl);
  background: var(--panel);
}
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan h3 { margin: 0; font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.plan-sub { margin: 4px 0 0; font-size: 14px; color: var(--ink-3); }
.plan-badge {
  flex: none;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.price { display: flex; align-items: baseline; gap: 8px; margin: 36px 0 6px; }
.price .amount { font-family: var(--display); font-size: clamp(40px, 3.8vw, 50px); font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.price .unit { font-size: 15px; color: var(--ink-3); white-space: nowrap; }
.plan-note { margin: 0; font-size: 14px; color: var(--ink-3); }
.plan-note s { margin-right: 10px; }
.plan-note .save { color: var(--accent-2); font-weight: 600; }
.plan-fine { margin: 4px 0 0; font-size: 13px; line-height: 1.6; color: var(--ink-3); }
.plan-value { min-height: 52px; }
.plan-comparison { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 20px 0 0; padding: 18px 20px; border-radius: var(--r-lg); background: var(--ground); font-size: 14px; }
.plan-comparison dt { color: var(--ink-3); }
.plan-comparison dd { margin: 0; text-align: right; font-weight: 600; }
.plan .ticks { margin: 20px 0 0; }
.plan-cta { margin-top: auto; }
.plan > :nth-last-child(2) { margin-bottom: 36px; }

.plan.featured { background: var(--stage); color: var(--stage-ink); }
.plan.featured h3, .plan.featured .amount { color: var(--stage-ink); }
.plan.featured .plan-sub, .plan.featured .unit, .plan.featured .plan-note, .plan.featured .plan-fine { color: var(--stage-ink-3); }
.plan.featured .plan-note .save { color: #f07a74; }
.plan.featured .plan-comparison { background: var(--stage-2); }
.plan.featured .plan-comparison dt { color: var(--stage-ink-3); }
.plan.featured .btn { background: var(--stage-ink); color: #141413; }
.plan.featured .btn:hover { background: #fff; }
.plan.featured .ticks li { color: var(--stage-ink-2); }
@media (prefers-color-scheme: dark) {
  .plan.featured { background: var(--surface-2); }
  .plan.featured .plan-comparison { background: var(--stage-3); }
}

.plan-shared { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 28px; font-size: 14px; color: var(--ink-3); }
.plan-shared h3 { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.plan-shared ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.plan-shared li { margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--panel); color: var(--ink-2); }

.plan-group + .plan-group { margin-top: 48px; }
.plan-group-title { margin: 0 0 20px; font-size: 16px; color: var(--ink-2); }
.plan-tabs[hidden] { display: none; }
.js-plans .plan-group:not(.on) { display: none; }
.js-plans .plan-group-title { display: none; }
.js-plans .plan-group + .plan-group { margin-top: 0; }

/* ------------------------------------------------------------------ 下载：一整块深色 */

.get { padding: 0 0 clamp(40px, 5vw, 72px); }
.get-band {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(32px, 6vw, 88px);
  border-radius: var(--r-2xl);
  background: var(--stage);
  color: var(--stage-ink-2);
}
@media (prefers-color-scheme: dark) { .get-band { background: var(--surface); } }
.get-band h2 { margin: 0 0 16px; color: var(--stage-ink); }
.get-head p { margin: 0; color: var(--stage-ink-3); font-size: 14px; }
.get-head .get-trial { margin: 20px 0 28px; font-size: clamp(15px, 1.2vw, 17px); color: var(--stage-ink-2); }
.get-band .btn { background: var(--stage-ink); color: #141413; }
.get-band .btn:hover { background: #fff; }
.get-band .btn.quiet { background: var(--stage-3); color: var(--stage-ink); }
.get-band .btn.quiet:hover { background: var(--stage-line); }
.get-band .note { margin: 24px 0 0; background: var(--stage-2); color: var(--stage-ink-2); }
.get-band .note strong { color: var(--stage-ink); }

.dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.dl-card { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-xl); background: var(--stage-2); }
@media (prefers-color-scheme: dark) { .dl-card { background: var(--stage-3); } }
.dl-os { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 4px; }
.dl-os h3 { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--stage-ink); }
.dl-os .tag { background: var(--stage-3); color: var(--stage-ink-2); }
.dl-req { margin: 0 0 24px; font-size: 14px; line-height: 1.6; color: var(--stage-ink-3); }
.dl-asset { margin-top: auto; }
.dl-asset + .dl-asset { margin-top: 12px; }
.dl-asset .meta { margin-top: 8px; font-size: 13px; color: var(--stage-ink-3); text-align: center; }
.dl-empty { margin: auto 0 0; padding: 14px; border-radius: 999px; background: var(--stage-3); font-size: 14px; color: var(--stage-ink-3); text-align: center; }
.dl-none p { margin: 0; color: var(--stage-ink-2); }
.dl-reqs { margin: 16px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--stage-ink-3); }
.hash { font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--ink-3); word-break: break-all; }

.release-notes { margin-top: 28px; }
.release-notes h3 { margin: 0 0 10px; font-size: 14px; color: var(--stage-ink); }
.release-notes ul { margin: 0; padding: 0; list-style: none; color: var(--stage-ink-2); font-size: 14px; }
.release-notes li { position: relative; padding-left: 18px; }
.release-notes li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ------------------------------------------------------------------ 常见问题：左标题、右列表，靠色块区分展开项 */

.faq-page { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro h1 { margin-bottom: 16px; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.03em; }
.faq-intro p { color: var(--ink-2); }
.faq-list { display: grid; gap: 8px; }
details.faq { border-radius: var(--r-xl); transition: background-color .2s ease; }
details.faq:hover, details.faq[open] { background: var(--panel); }
details.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--quiet);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink-2);
  transition: transform .25s var(--ease), background-color .2s ease;
}
details.faq[open] summary::after { transform: rotate(45deg); background: var(--primary); color: var(--on-primary); }
details.faq .answer { padding: 0 72px 24px 28px; font-size: 15px; color: var(--ink-2); }

/* ------------------------------------------------------------------ 页脚：不画分隔线 */

.footer { padding: clamp(40px, 5vw, 72px) 0 40px; font-size: 14px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px 72px; }
.footer-brand img { display: block; height: 30px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 24em; margin: 0; color: var(--ink-3); line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0; padding: 4px 0; }
.footer li a { color: var(--ink-2); text-decoration: none; }
.footer li a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  margin-top: 56px;
  color: var(--ink-3);
  font-size: 13px;
}
.footer.compact { padding: 28px 0; }
.footer.compact .footer-bottom { margin: 0; }

/* ------------------------------------------------------------------ 条款正文 */

.doc { max-width: 720px; margin: 0 auto; }
.doc-head { margin-bottom: 40px; }
.doc-head h1 { margin-bottom: 12px; font-size: clamp(32px, 4.2vw, 48px); letter-spacing: -.03em; line-height: 1.08; }
.doc-head .meta { margin: 0; font-size: 14px; color: var(--ink-3); }
.doc h2 { margin: 48px 0 14px; font-size: 20px; letter-spacing: -.01em; }
.doc p, .doc li { color: var(--ink-2); }
.doc strong { color: var(--ink); }

/* ------------------------------------------------------------------ 卡片、徽标、提示（用户中心、管理后台、结账共用）
   不描边：浅色主题下卡片是白底加一层很淡的投影，深色主题下靠底色深浅区分；卡片里的分区靠留白。 */

.card { padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-card); }
.card.flat { background: var(--panel); box-shadow: none; }
.card > h2, .card > h3 { margin-top: 0; }
.card h2, .card h3 { font-family: var(--font); font-weight: 600; letter-spacing: 0; }
.card h2 { font-size: 17px; line-height: 1.4; }
.card h3 { font-size: 15px; margin-bottom: 12px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.card-head h2, .card-head h3 { margin: 0; }
.card-head a { font-size: 14px; color: var(--ink-3); }
.card-head a:hover { color: var(--ink); }
.card-foot { margin-top: 28px; }
p.card-foot, dl.card-foot { margin-bottom: 0; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--quiet);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
}
.tag.good { background: var(--good-soft); color: var(--good); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.bad { background: var(--bad-soft); color: var(--bad); }
.tag.accent { background: var(--primary); color: var(--on-primary); }
.tag.good::before, .tag.warn::before, .tag.bad::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.note {
  margin: 0 0 20px;
  padding: 14px 20px;
  border-radius: var(--r-lg);
  background: var(--panel);
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}
.note strong { color: var(--ink); }
.note.good { background: var(--good-soft); }
.note.warn { background: var(--warn-soft); }
.note.bad { background: var(--bad-soft); }
.note.good strong { color: var(--good); }
.note.warn strong { color: var(--warn); }
.note.bad strong { color: var(--bad); }
.note p:last-child { margin-bottom: 0; }
.note.small { font-size: 14px; }

.empty { padding: 56px 24px; text-align: center; color: var(--ink-3); }
.empty p { margin: 0 0 16px; }
.empty p:last-child { margin: 0; }

/* ------------------------------------------------------------------ 表格：不画格线，悬停整行铺一层底色 */

.table-wrap { overflow-x: auto; padding: 6px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-card); }
.card .table-wrap { margin: 0 -16px; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
.card .table-wrap:last-child { margin-bottom: -8px; }
table.data { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
table.data th, table.data td { padding: 12px 10px; text-align: left; vertical-align: middle; }
table.data th:first-child, table.data td:first-child { padding-left: 16px; }
table.data th:last-child, table.data td:last-child { padding-right: 16px; }
table.data th { padding-top: 8px; padding-bottom: 8px; font-size: 12.5px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
table.data tbody td { transition: background-color .12s ease; }
table.data tbody tr:hover td { background: var(--hover); }
table.data tbody tr td:first-child { border-radius: 12px 0 0 12px; }
table.data tbody tr td:last-child { border-radius: 0 12px 12px 0; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data td.nowrap { white-space: nowrap; }
table.data td.clip { max-width: 0; width: 38%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
table.data a { text-decoration: none; }
table.data a:hover { text-decoration: underline; text-underline-offset: 3px; }
table.data td .btn + .btn, table.data td form + form, table.data td .btn + form, table.data td form + .btn { margin-left: 6px; }
table.data td form { display: inline; margin: 0; }
table.plain { width: 100%; border-collapse: collapse; font-size: 14px; }
table.plain td { padding: 9px 0; }

/* ------------------------------------------------------------------ 表单：输入框是一块浅色填充，不描边 */

.field { margin-bottom: 20px; }
.field > label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field .help { margin-top: 6px; font-size: 13px; line-height: 1.6; color: var(--ink-3); }
.field .errors { margin-top: 6px; font-size: 13px; color: var(--bad); }
.field ul { margin: 0; padding: 0; list-style: none; }
.field ul li { margin: 0; }
.errors { color: var(--bad); }

input[type=text], input[type=email], input[type=password], input[type=number], input[type=url],
input[type=datetime-local], input[type=date], input[type=month], input[type=search], select, textarea {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: var(--field);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  transition: border-color .15s ease, background-color .15s ease;
}
textarea { height: auto; min-height: 104px; padding: 12px 14px; line-height: 1.6; resize: vertical; }
select { padding-right: 32px; }
input:hover, select:hover, textarea:hover { border-color: var(--line-2); }
/* 输入状态只显示光标，不加聚焦高亮 */
input:focus, select:focus, textarea:focus { outline: none; }
input::placeholder, textarea::placeholder { color: var(--ink-4); }
input[readonly] { background: transparent; border-color: var(--line); color: var(--ink-2); }
input[type=checkbox], input[type=radio] { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); }
input[type=file] { font-family: var(--font); font-size: 14px; color: var(--ink-2); }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.6; cursor: pointer; }
.check input { margin-top: 4px; flex: none; }
.checkboxes { display: grid; gap: 8px; }
.checkboxes label { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 400; }
.checkboxes input { margin-top: 5px; flex: none; }

.input-row { display: flex; gap: 10px; }
.input-row input { flex: 1 1 auto; min-width: 0; }
.input-row .btn { flex: none; min-width: 116px; height: 44px; }
.implicit-submit { position: absolute; width: 0; height: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.inline-form { display: flex; align-items: flex-start; gap: 10px; }
.inline-form input { flex: 1 1 auto; }
.inline-form .btn { flex: none; height: 44px; }

fieldset { margin: 0 0 20px; padding: 18px 20px; border: 0; border-radius: var(--r-lg); background: var(--panel); }
legend { float: left; width: 100%; margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }

fieldset > legend + * { clear: both; }

/* ------------------------------------------------------------------ 登录注册 */

.auth { padding: clamp(48px, 8vw, 104px) 0 var(--space); }
.auth-box { width: 100%; max-width: 440px; margin: 0 auto; padding: 0 20px; }
.auth-mark { display: block; width: 52px; height: 52px; margin: 0 auto 28px; }
.auth-box h1 { margin-bottom: 8px; font-size: clamp(32px, 4vw, 40px); text-align: center; }
.auth-intro { margin: 0 0 32px; font-size: 15px; color: var(--ink-3); text-align: center; }
.auth-card { padding: clamp(24px, 4vw, 36px); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-2); }
@media (prefers-color-scheme: dark) { .auth-card { box-shadow: none; } }
.auth-card .note { margin-bottom: 20px; }
.auth-links { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; font-size: 14px; color: var(--ink-3); }
.auth-links.center { justify-content: center; }
.auth-links a { color: var(--ink-2); }
.auth-links a:hover { color: var(--ink); }

/* ------------------------------------------------------------------ 用户中心 / 管理后台
   左栏胶囊导航（当前页实心），页内子页是一组胶囊页签；卡片、表格、分组表单都不画分隔线。 */

.shell { display: grid; grid-template-columns: 184px minmax(0, 1fr); gap: clamp(28px, 3.2vw, 48px); align-items: start; padding-top: clamp(28px, 4vw, 48px); padding-bottom: 96px; }
.side { position: sticky; top: 96px; }
.side-title { margin: 0 0 12px 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; color: var(--ink-3); }
.side-group { margin: 24px 0 6px 14px; font-size: 12.5px; font-weight: 600; color: var(--ink-4); }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.side nav a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 15px; line-height: 1.6; color: var(--ink-2); transition: background-color .15s ease, color .15s ease; }
.side nav a:hover { background: var(--quiet); color: var(--ink); }
.side nav a.on { background: var(--primary); color: var(--on-primary); font-weight: 600; }
.side .side-end { margin-top: 28px; }
.side-end form { margin: 0; }
.side-end button { display: block; width: 100%; padding: 8px 14px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 15px; line-height: 1.6; text-align: left; color: var(--ink-3); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.side-end button:hover { background: var(--quiet); color: var(--ink); }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.page-head h1 { margin: 0; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.15; letter-spacing: -.025em; }
.page-head .sub { margin: 8px 0 0; font-size: 15px; color: var(--ink-3); }
.page-head .btn-row { flex: none; }
/* 页面里的小节标题（卡片内外同一档），不用营销页的大标题字号 */
.shell main h2 { font-family: var(--font); font-size: 17px; font-weight: 600; letter-spacing: 0; line-height: 1.4; }

/* 页内页签：一个入口下的几个子页 */
.subnav { display: flex; flex-wrap: wrap; width: max-content; max-width: 100%; gap: 4px; margin: -4px 0 28px; padding: 5px; border-radius: 22px; background: var(--seg); }
.subnav a { padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--ink-2); transition: background-color .15s ease, color .15s ease; }
.subnav a:hover { color: var(--ink); }
.subnav a.on { background: var(--seg-on); color: var(--ink); font-weight: 600; box-shadow: var(--shadow-1); }

/* 分组表单：左边组名，右边字段；组与组之间只留白 */
.form-section { display: grid; grid-template-columns: 184px minmax(0, 1fr); gap: 32px; padding: 0; }
.form-section + .form-section { margin-top: 44px; }
.form-section > h3 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.6; }
.form-section .field:last-child { margin-bottom: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 32px; }

/* 可折叠卡片：次要区块默认收起 */
details.fold { padding: 0; }
details.fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px clamp(22px, 2.4vw, 32px); font-size: 15px; font-weight: 600; list-style: none; cursor: pointer; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--quiet); font-size: 18px; font-weight: 400; line-height: 1; color: var(--ink-2); transition: transform .25s var(--ease);
}
details.fold[open] > summary::after { transform: rotate(45deg); }
details.fold > summary .dim { margin-left: 12px; font-size: 14px; font-weight: 400; }
details.fold > .fold-body { padding: 0 clamp(22px, 2.4vw, 32px) clamp(22px, 2.4vw, 32px); }
details.fold + details.fold, .card + details.fold, details.fold + .card { margin-top: 16px; }
.stack > * + details.fold, .stack > details.fold + * { margin-top: 20px; }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; }
.filters select { width: 180px; }
.filters input[type=text] { width: 300px; }
.problem-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 16px; align-items: end; }
.problem-filters .field { min-width: 0; margin-bottom: 0; }
.problem-filters input, .problem-filters select { min-width: 0; }

.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; font-size: 14px; color: var(--ink-3); }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 14px; }
.kpi { padding: 22px 24px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-card); }
.kpi .label { font-size: 13px; color: var(--ink-3); }
.kpi .label a { color: inherit; }
.kpi .label a:hover { color: var(--ink); }
.kpi .value {
  margin: 10px 0 4px;
  font-family: var(--display);
  font-size: clamp(30px, 2.6vw, 38px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.kpi .value small { margin-left: 3px; font-family: var(--font); font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); }
.kpi .sub { font-size: 13px; color: var(--ink-3); }
.kpi .sub a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }

.sub-status { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.sub-status .plan-name { font-family: var(--display); font-size: clamp(28px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.025em; line-height: 1.25; }
.sub-status .days { font-size: 15px; color: var(--ink-3); }
.bar { height: 8px; overflow: hidden; border-radius: 999px; background: var(--quiet); }
.bar > span { display: block; height: 100%; border-radius: 999px; background: var(--ink); }
.bar.accent > span { background: var(--accent); }

.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 24px; margin: 0; font-size: 15px; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; color: var(--ink); }
.kv.small { font-size: 14px; gap: 8px 20px; }

.copy-field { font-family: var(--mono); font-size: 13px; }

.messages-inline { margin-bottom: 24px; }
.messages-inline .note { margin: 0; }
.messages-inline .note + .note { margin-top: 10px; }
.section-title { margin: 48px 0 16px; font-family: var(--font); font-size: 17px; font-weight: 600; letter-spacing: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.form-grid .field.wide { grid-column: 1 / -1; }
.key-item { padding: 18px 20px; border-radius: var(--r-lg); background: var(--panel); }
.key-item + .key-item { margin-top: 10px; }
pre.hash { margin: 8px 0 0; white-space: pre-wrap; }
.code-block { padding: 12px 16px; border-radius: 12px; background: var(--field); }

/* ------------------------------------------------------------------ 结账与订单 */

.checkout-wrap { max-width: calc(1040px + var(--gutter) * 2); }
.checkout { display: grid; grid-template-columns: minmax(0, 61.8fr) minmax(0, 38.2fr); gap: 24px; align-items: start; }
.checkout .summary { position: sticky; top: 96px; }
.channel {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
  padding: 16px 20px;
  border-radius: var(--r-lg);
  background: var(--field);
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease;
}
.channel:hover { background: var(--hover); }
.channel:has(input:checked) { background: var(--surface); box-shadow: inset 0 0 0 2px var(--ink); }
.channel input { margin-top: 4px; flex: none; }
.channel .name { display: block; font-weight: 600; }
.channel .desc { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-3); }

.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 15px; }
.sum-row span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-row.total { align-items: baseline; margin-top: 16px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--panel); font-size: 15px; font-weight: 600; }
.sum-row.total span:last-child { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }

.order-box { max-width: 640px; margin: 0 auto; }
.order-status { text-align: center; margin-bottom: 36px; }
.order-status .icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--quiet); color: var(--ink); }
.order-status .icon svg { width: 28px; height: 28px; }
.order-status .icon.good { background: var(--good-soft); color: var(--good); }
.order-status h1 { margin-bottom: 8px; font-size: clamp(30px, 3.2vw, 40px); }
.order-status p { margin: 0; color: var(--ink-3); }
.qr { width: max-content; margin: 8px auto 0; padding: 18px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-2); }
.qr img, .qr svg { display: block; width: 220px; height: 220px; }

/* ------------------------------------------------------------------ 错误页 */

.error-page { padding: clamp(88px, 14vw, 180px) 0; text-align: center; }
.error-page .code { margin-bottom: 8px; font-family: var(--display); font-size: clamp(88px, 14vw, 168px); font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--quiet); }
.error-page h1 { margin-bottom: 12px; }
.error-page p { color: var(--ink-3); }
.error-page .btn-row { justify-content: center; margin-top: 32px; }

/* ------------------------------------------------------------------ 窄窗口 */

@media (max-width: 1180px) {
  .shell { gap: 40px; }
}

@media (max-width: 960px) {
  .sec-head, .get-band, .faq-page { grid-template-columns: minmax(0, 1fr); }
  .grid.c2, .grid.c3, .grid.golden, .grid.golden-rev { grid-template-columns: minmax(0, 1fr); }
  .grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-intro { position: static; }
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .side nav { flex-direction: row; flex-wrap: wrap; }
  .form-section { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .checkout { grid-template-columns: minmax(0, 1fr); }
  .checkout .summary { position: static; }
  .spot-tabs, .intro-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

@media (max-width: 720px) {
  .problem-filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .problem-filters > .btn { grid-column: 1 / -1; justify-self: start; }
  .nav { display: none; }
  .topbar-right { margin-left: auto; }
  .topbar-inner { height: 64px; }
  .cta-row .btn { flex: 1 1 100%; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .grid.c4 { grid-template-columns: minmax(0, 1fr); }
  /* 窄屏上长按钮允许折行，不撑破卡片 */
  .btn { height: auto; min-height: 42px; padding-top: 10px; padding-bottom: 10px; white-space: normal; text-align: center; line-height: 1.35; }
  .btn.sm { min-height: 36px; padding-top: 8px; padding-bottom: 8px; }
  .btn.lg { min-height: 50px; }
  details.faq summary { padding: 18px 20px; }
  details.faq .answer { padding: 0 20px 20px; }
  .page-head { flex-direction: column; align-items: flex-start; }
}
