/* AI充值站 · 前台样式
   结构对齐常规充值站（套餐 + 收银台首屏、流程、状态、保障、问答、查单）；荧光青绿强调（终端 / 代码感），白色卡片承载内容。
   默认浅色（雾白网格底）；html[data-theme='dark'] 为深色（石墨黑网格底）。两套只换下面「页面主题」里的变量。
   构图采用「分屏舞台」：左侧滚动阅读，右侧舞台固定，随阅读位置换成收银台 / 流程演示 / 状态预览。 */

:root {
  --ink: #070c0d;
  --ink-2: #0d1618;
  --ink-3: #152326;
  --bg: #070c0d;
  --on-dark: #e4f1ed;
  --on-dark-2: #8ea8a1;
  --accent-light: #7dffc6;
  --mono: 'SF Mono', 'JetBrains Mono', Menlo, Consolas, 'PingFang SC', monospace;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --text: #12151a;
  --text-2: #3a414c;
  --text-3: #6b7280;
  --line: #e5e7eb;
  --line-2: #d1d5db;

  /* 强调色：荧光青绿（变量名沿用 orange，组件无需改动） */
  --orange: #2ef2a0;
  --orange-hover: #7dffc6;
  --orange-text: #04754d;
  --orange-soft: #dcfcee;
  --orange-ring: rgba(46, 242, 160, 0.35);
  --sky: #38d2ff;
  --sky-soft: #e0f8ff;
  --lime: #b6f03c;
  --violet: #b9a4ff;

  --pending-bg: #fff1e0;
  --pending-fg: #b45309;
  --active-bg: #e3f2ff;
  --active-fg: #0b6bcb;
  --ok-bg: #eafbd0;
  --ok-fg: #3f6212;
  --warn-bg: #ffe4e6;
  --warn-fg: #be123c;
  --muted-bg: #eef0f3;
  --muted-fg: #4b5563;

  --font: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header: 64px;
  --shell: 1360px;

  /* 页面主题：浅色 */
  --page: #f3f6f5;
  --grid: rgba(4, 90, 60, 0.07);
  --fg: #1d2529;
  --fg-2: #5a666d;
  --fg-strong: #0b1012;
  --link: #04754d;
  --accent-ink: #00a067;
  --glow: none;
  --chrome: rgba(243, 246, 245, 0.9);
  --chrome-line: rgba(4, 117, 77, 0.16);
  --panel: #ffffff;
  --panel-line: rgba(12, 30, 30, 0.1);
  --wash: #ffffff;
  --wash-2: rgba(4, 117, 77, 0.07);
  --tabs-bg: rgba(12, 30, 30, 0.07);
  --tint: #e6eeeb;
  --flow-line: rgba(12, 30, 30, 0.14);
  --term-bg: #0b1214;
  --info: #0b6bcb;
  --sheet: #ffffff;
}

/* 页面主题：深色 */
:root[data-theme='dark'] {
  color-scheme: dark;
  --page: var(--ink);
  --grid: rgba(46, 242, 160, 0.045);
  --fg: #e4f1ed;
  --fg-2: #8ea8a1;
  --fg-strong: #ffffff;
  --link: #7dffc6;
  --accent-ink: #2ef2a0;
  --glow: 0 0 28px rgba(46, 242, 160, 0.45);
  --chrome: rgba(7, 12, 13, 0.92);
  --chrome-line: rgba(46, 242, 160, 0.28);
  --panel: var(--ink-2);
  --panel-line: rgba(255, 255, 255, 0.12);
  --wash: rgba(255, 255, 255, 0.04);
  --wash-2: rgba(255, 255, 255, 0.09);
  --tabs-bg: rgba(255, 255, 255, 0.08);
  --tint: var(--ink-2);
  --flow-line: rgba(255, 255, 255, 0.14);
  --term-bg: rgba(46, 242, 160, 0.07);
  --info: #7cc4ff;
  --sheet: var(--ink-2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--orange-text);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.3;
}

p,
dl,
dd,
ol,
ul {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--orange-ring);
  outline-offset: 2px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
}

.skip:focus {
  top: 8px;
}

.muted {
  color: var(--text-3);
}

.small {
  font-size: 13px;
}

.ic {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--ok-fg);
}

.devbar {
  margin: 0;
  padding: 6px 20px;
  background: var(--pending-bg);
  color: var(--pending-fg);
  font-size: 13px;
  text-align: center;
}

/* —— 按钮 —— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s var(--ease);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background: var(--orange);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--orange-hover);
}

.btn-line,
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line-2);
}

.btn-line:hover,
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange-text);
}

.btn-sm {
  min-height: 38px;
  padding: 6px 16px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.text-link {
  font-size: 14px;
  font-weight: 600;
}

/* —— 表单 —— */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}

.field input,
.field textarea {
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
  font-size: 13px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8a919c;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-ring);
}

.agree {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
  font-size: 13px;
  color: var(--text-2);
}

.agree input {
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  accent-color: var(--orange);
}

.notice {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--pending-bg);
  color: var(--pending-fg);
  font-size: 13px;
  line-height: 1.6;
}

.flash {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--ok-bg);
  color: var(--ok-fg);
  font-size: 14px;
}

.flash-warn {
  background: var(--warn-bg);
  color: var(--warn-fg);
}

.stack {
  display: grid;
  gap: 12px;
}

/* 状态标签：颜色固定，与「订单状态说明」一致 */
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-pending { background: var(--pending-bg); color: var(--pending-fg); }
.status-active { background: var(--active-bg); color: var(--active-fg); }
.status-ok { background: var(--ok-bg); color: var(--ok-fg); }
.status-warn { background: var(--warn-bg); color: var(--warn-fg); }
.status-muted { background: var(--muted-bg); color: var(--muted-fg); }

/* —— 顶部导航 —— */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 100%;
  padding: 0 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.logo:hover {
  text-decoration: none;
}

.logo span {
  display: grid;
  line-height: 1.2;
}

.logo b {
  font-size: 17px;
}

.logo small {
  font-size: 13px;
  color: var(--text-3);
}

.nav {
  display: flex;
  gap: 26px;
  flex: 1;
}

.nav a {
  position: relative;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.2s var(--ease);
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav a:hover::after {
  transform: scaleX(1);
}

/* —— 分屏：左侧阅读，右侧舞台 —— */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(380px, 29vw, 440px);
  align-items: start;
}

.col {
  min-width: 0;
  padding: 44px clamp(16px, 2vw, 32px) 40px clamp(20px, 3.2vw, 56px);
}

.col > section {
  max-width: 1040px;
}

/* 首屏 */
.intro h1 {
  display: grid;
  gap: 4px;
  font-size: 34px;
  letter-spacing: -0.01em;
  animation: rise 0.7s var(--ease) both;
}

.intro h1 span {
  font-size: 22px;
  color: var(--orange-text);
}

.intro-sub {
  margin-top: 12px;
  max-width: 780px;
  color: var(--text-2);
  font-size: 15.5px;
  animation: rise 0.7s 0.08s var(--ease) both;
}

.chips {
  list-style: none;
  padding: 0;
  margin: 16px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  animation: rise 0.7s 0.16s var(--ease) both;
}

.chips li {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.tabs {
  display: inline-flex;
  padding: 4px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #e6e8ec;
}

.tab {
  min-height: 36px;
  padding: 6px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.tab[aria-selected='true'] {
  background: var(--ink);
  color: #fff;
}

/* 首屏：标题 + 三档套餐卡片，占满整行 */
.hero-band {
  padding: 40px clamp(20px, 4vw, 64px) 56px;
  background: var(--bg);
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.hero-band .intro {
  margin-bottom: 28px;
}

/* 套餐卡片：紧凑尺寸，列数按可用宽度自动排（1440 宽三列，再宽四列），套餐变多也不挤 */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  padding-top: 14px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 18px 18px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 18px;
  transition: border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s;
  animation: rise 0.6s var(--ease) both;
}

.plan:nth-child(2) { animation-delay: 0.08s; }
.plan:nth-child(3) { animation-delay: 0.16s; }
.plan:nth-child(4) { animation-delay: 0.24s; }
.plan:nth-child(5) { animation-delay: 0.32s; }

.plan[hidden] {
  display: none;
}

.plan:hover {
  transform: translateY(-4px);
  border-color: #ffc29f;
}

.plan input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  cursor: pointer;
}

.plan:has(input:checked) {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-ring);
}

.plan:has(input:focus-visible) {
  box-shadow: 0 0 0 5px var(--orange-ring);
}

.plan.is-out {
  opacity: 0.55;
}

.plan.is-out .plan-hit {
  cursor: not-allowed;
}

.plan.is-out:hover {
  transform: none;
  border-color: var(--line);
}

/* 只展示、不开放购买：卡片照常可读，价格位显示「暂未开放」，按钮改为联系客服 */
.plan.is-closed .plan-hit {
  cursor: default;
}

.plan.is-closed .radio {
  display: none;
}

.plan.is-closed:hover {
  transform: none;
  border-color: var(--line);
}

.plan-price.plan-closed b {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--text-2);
}

/* 「推荐」角标骑在卡片上沿 */
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 14px;
  border-radius: 999px;
  background: var(--orange-soft);
  border: 2px solid var(--orange);
  color: var(--orange-text);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* 右上角的选择圈：选中时变成橙色对勾 */
.radio {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  background: var(--surface);
  color: transparent;
  pointer-events: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.radio svg {
  width: 16px;
  height: 16px;
}

.plan:has(input:checked) .radio {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
  animation: pop 0.35s var(--ease);
}

@keyframes pop {
  50% {
    transform: scale(1.2);
  }
}

.plan-name {
  white-space: nowrap;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding-right: 8px;
}

.plan-name small {
  margin-left: 2px;
  font-size: 13px;
  white-space: nowrap;
  font-weight: 700;
  color: var(--text-2);
}

.plan-tag {
  align-self: flex-start;
  margin-top: -2px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-text);
  font-size: 12.5px;
  font-weight: 700;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-save {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: -10px;
}

.plan-price b {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.plan-price small {
  font-size: 14px;
  color: var(--text-2);
}

.plan-save s {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-3);
}

.plan-save em {
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
}

.plan-sum {
  min-height: 3.1em;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
}

/* 亮点：一格一行的规格表（图标 · 名称 …… 说明），卡片窄也不折字 */
.plan-hl {
  list-style: none;
  padding: 0;
  display: grid;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.plan-hl li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  white-space: nowrap;
}

.plan-hl li + li {
  border-top: 1px solid var(--line);
}

.plan:hover .plan-hl {
  border-color: #ffd9c2;
}

.plan-hl b {
  font-size: 13px;
  font-weight: 600;
}

.plan-hl span {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-2);
}

.hl-ic {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--orange);
}

.plan-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 5px;
  font-size: 13.5px;
  color: var(--text-2);
}

.plan-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.plan-list .ic {
  flex: none;
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-text);
}

.plan-cta {
  position: relative;
  z-index: 2;
  margin-top: auto;
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  font-size: 15px;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #262b34;
}

.plan-cta span {
  transition: transform 0.2s var(--ease);
}

.plan-cta:hover span {
  transform: translateX(4px);
}

.plan-stock {
  margin-top: auto;
  font-size: 14px;
  color: var(--ok-fg);
}

.plan-stock.out {
  color: var(--warn-fg);
}

.plans-foot {
  margin-top: 14px;
  text-align: right;
  font-size: 14px;
  font-weight: 600;
}

/* 收银台对面：下单前三点 */
.guide {
  padding: 8px 0 0;
}

.guide h2 {
  font-size: 22px;
}

.guide-list {
  list-style: none;
  padding: 0;
  margin-top: 16px;
  display: grid;
  gap: 10px;
  counter-reset: g;
}

.guide-list li {
  display: grid;
  gap: 2px;
  padding: 16px 18px 16px 56px;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.guide-list li::before {
  counter-increment: g;
  content: counter(g);
  position: absolute;
  left: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.guide-list span {
  font-size: 14px;
  color: var(--text-2);
}

.guide-foot {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-2);
}

/* 各内容区 */
.block {
  padding-top: 88px;
}

.block > h2 {
  font-size: 26px;
  letter-spacing: -0.01em;
}

.block-sub {
  margin-top: 8px;
  max-width: 680px;
  color: var(--text-2);
}

/* 充值流程：竖向时间线 */
.flow {
  list-style: none;
  padding: 0;
  margin-top: 28px;
  display: grid;
  gap: 14px;
  position: relative;
}

.flow::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--line);
}

.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
}

.flow-no {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--line);
  font-weight: 800;
  color: var(--text-3);
  transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}

.flow-step.is-on .flow-no {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: scale(1.08);
}

.flow-body {
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s;
}

.flow-step.is-on .flow-body {
  border-color: #ffc6a5;
}

.flow-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-text);
}

.flow-body h3 {
  margin-top: 2px;
  font-size: 17px;
}

.flow-body > p:not(.flow-meta) {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-2);
}

.flow-inline {
  display: none;
}

/* 订单状态说明 */
.block-tint {
  margin-top: 88px;
  padding: 40px clamp(20px, 3vw, 40px) 36px;
  border-radius: 24px;
  background: var(--sky-soft);
}

.block-tint.block {
  padding-top: 40px;
}

.status-list {
  list-style: none;
  padding: 0;
  margin-top: 22px;
  display: grid;
  gap: 6px;
}

.status-item {
  width: 100%;
  display: grid;
  grid-template-columns: 112px 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  font: inherit;
  font-size: 14px;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}

.status-item .status {
  justify-self: start;
}

.status-item:hover,
.status-item.is-on {
  background: var(--surface);
  border-color: #b9dcff;
  transform: translateX(4px);
}

.status-todo {
  color: var(--text-3);
}

/* 为什么选择我们：大小错落的色块拼板 */
.bento {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tile {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease);
}

.tile:hover {
  transform: translateY(-4px) rotate(-0.4deg);
}

.tile h3 {
  font-size: 17px;
}

.tile p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-2);
}

.tile-0 {
  grid-column: span 2;
  background: var(--ink);
  border-color: var(--ink);
}

.tile-0 h3 {
  font-size: 22px;
  color: #fff;
}

.tile-0 p {
  color: #c7ccd4;
  max-width: 46ch;
}

.tile-1 {
  background: var(--sky);
  border-color: var(--sky);
}

.tile-2 {
  background: var(--orange);
  border-color: var(--orange);
}

.tile-3 {
  background: var(--violet);
  border-color: var(--violet);
}

.tile-1 h3,
.tile-2 h3,
.tile-3 h3,
.tile-1 p,
.tile-2 p,
.tile-3 p {
  color: #111418;
}

.tile-6 {
  grid-column: span 2;
}

/* 常见问题 */
.faq-list {
  margin-top: 24px;
  display: grid;
  gap: 8px;
}

.faq {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.2s;
}

.faq[open] {
  border-color: #ffc6a5;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 15px 20px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary h3 {
  font-size: 15px;
}

.faq > p,
.faq > form {
  padding: 0 20px 18px;
  color: var(--text-2);
  font-size: 14px;
}

.faq[open] > p {
  animation: rise 0.3s var(--ease);
}

.chev {
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s var(--ease);
}

.faq[open] .chev {
  transform: rotate(-135deg) translateY(-2px);
  border-color: var(--orange);
}

/* —— 右侧舞台 —— */

.stage {
  position: sticky;
  top: var(--header);
  height: calc(100svh - var(--header));
  background: var(--ink);
  overflow: hidden;
}

.scene {
  position: absolute;
  inset: 0;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.985);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), visibility 0s 0.55s;
}

.stage[data-on='buy'] .scene-buy,
.stage[data-on='flow'] .scene-flow,
.stage[data-on='status'] .scene-status {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), visibility 0s;
}

.scene-buy {
  overflow-y: auto;
  display: grid;
  align-content: start;
}

.scene-flow,
.scene-status {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding-bottom: 96px;
}

.scene-cap {
  color: #aab1bc;
  font-size: 13px;
}

.scene-cap b {
  color: var(--orange);
}

.screen-slot,
.sheet-slot {
  display: none;
  width: min(380px, 100%);
}

.screen-slot.is-on,
.sheet-slot.is-on {
  display: block;
  animation: swap 0.45s var(--ease);
}

@keyframes swap {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.stage-bar {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 18px;
  border-radius: 999px;
  background: var(--ink-3);
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}

.stage:not([data-on='buy']) .stage-bar {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.stage-bar span {
  display: grid;
  line-height: 1.3;
  min-width: 0;
}

.stage-bar small {
  font-size: 13px;
  color: #aab1bc;
}

.stage-bar b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stage-close {
  display: none;
}

/* 收银台 */
.checkout {
  display: grid;
  gap: 13px;
  padding: 22px;
  background: var(--surface);
  border-radius: 20px;
}

.checkout-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
}

.checkout-title span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
}

.checkout-sum {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.checkout-sum div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
}

.checkout-sum dt {
  color: var(--text-3);
}

.checkout-sum dd {
  font-weight: 700;
  text-align: right;
}

.checkout-sum .total dd {
  font-size: 26px;
  font-weight: 800;
  color: var(--orange-text);
  font-variant-numeric: tabular-nums;
}

[data-out].tick {
  animation: tick 0.35s var(--ease);
}

@keyframes tick {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.checkout-points {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
}

.checkout-points li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.checkout-foot {
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
}

/* —— 流程演示界面（真实界面小样） —— */

.ui {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  border: 1px solid var(--line);
}

.ui-title {
  font-weight: 800;
  font-size: 15px;
}

.ui-plan {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
}

.ui-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
}

.ui-input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  min-height: 42px;
  overflow: hidden;
}

.ui-area {
  min-height: 84px;
  font-size: 13px;
  color: var(--text-2);
  word-break: break-all;
}

.ui-type {
  display: inline-block;
}

.ui-btn {
  padding: 10px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
  text-align: center;
}

.ui-amount {
  font-size: 30px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.ui-note {
  font-size: 13px;
  color: var(--pending-fg);
}

.ui-done {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--ok-bg);
  color: var(--ok-fg);
  font-weight: 700;
}

.ui-tip {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--pending-bg);
  color: var(--pending-fg);
  font-size: 13px;
  line-height: 1.6;
}

.ui-eg {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.ui-eg li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  align-items: start;
  padding: 8px 10px;
  border-radius: 8px;
  word-break: break-all;
}

.ui-eg .ok {
  background: var(--ok-bg);
  color: var(--ok-fg);
}

.ui-eg .bad {
  background: var(--warn-bg);
  color: var(--warn-fg);
}

.ui-track {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
}

.ui-track li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.ui-track li::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--ok-fg);
  background: var(--ok-fg);
}

.ui-track li.ui-final {
  color: var(--ok-fg);
  font-weight: 800;
}

.ui-track li.ui-final::before {
  border-color: var(--lime);
  background: var(--lime);
}

.ui-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--muted-bg);
  overflow: hidden;
}

.ui-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
  transform-origin: left;
}

/* 演示：界面进入（舞台切到该步，或手机上滚到该步）时自动播放一遍 */
.play .ui-plan.is-pick { animation: pick 2.4s var(--ease) both; }
.play .ui-type { animation: type 1.8s 0.5s steps(24) both; }
.play .ui-input:has(.ui-type) { animation: caret 0.8s 0.5s 3; }
.play .ui-btn { animation: press 0.5s 2.3s var(--ease) both; }
.play .ui-press { animation: press 0.5s 1s var(--ease) both; }
.play .ui-done { animation: rise 0.5s 1.5s var(--ease) both; }
.play .ui-tip { animation: rise 0.4s 1.4s var(--ease) both; }
.play .ui-eg li { animation: rise 0.4s var(--ease) both; }
.play .ui-eg li:nth-child(1) { animation-delay: 1.8s; }
.play .ui-eg li:nth-child(2) { animation-delay: 2.1s; }
.play .ui-track li { animation: step-on 0.4s var(--ease) both; }
.play .ui-track li:nth-child(1) { animation-delay: 0.4s; }
.play .ui-track li:nth-child(2) { animation-delay: 1.1s; }
.play .ui-track li:nth-child(3) { animation-delay: 1.8s; }
.play .ui-track li:nth-child(4) { animation: step-final 0.5s 2.6s var(--ease) both; }
.play .ui-bar i { animation: fill 2.6s 0.3s var(--ease) both; }

@keyframes pick {
  0%, 30% { border-color: var(--line); }
  40%, 100% { border-color: var(--orange); background: var(--orange-soft); }
}

@keyframes type {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes caret {
  50% { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-ring); }
}

@keyframes press {
  0% { transform: scale(1); }
  40% { transform: scale(0.95); background: var(--orange-hover); }
  100% { transform: scale(1); }
}

@keyframes step-on {
  from { opacity: 0.25; transform: translateX(-6px); }
}

@keyframes step-final {
  from { opacity: 0; transform: scale(0.9); }
}

@keyframes fill {
  from { transform: scaleX(0); }
}

/* —— 页脚 —— */

.footer {
  background: var(--ink);
  color: #c7ccd4;
  padding: 56px clamp(24px, 4vw, 64px) 28px;
  font-size: 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 32px;
}

.footer .logo {
  color: #fff;
}

.footer .logo small {
  color: #8b93a0;
}

.footer-brand > p:not(.logo) {
  margin-top: 12px;
  max-width: 420px;
  font-size: 13.5px;
}

.footer .muted {
  color: #8b93a0;
}

.footer-col {
  display: grid;
  gap: 6px;
  align-content: start;
}

.footer-col h3 {
  margin-bottom: 4px;
  font-size: 14px;
  color: #fff;
}

.footer-col a {
  color: #c7ccd4;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-notes {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid #2a2f38;
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.footer-notes b {
  color: #fff;
}

/* —— 内页 —— */

.page {
  padding: 32px 0 80px;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 600px;
}

.crumbs {
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-3);
}

.page-head {
  margin-bottom: 20px;
}

.page h1 {
  font-size: 28px;
}

.page-sub {
  margin-top: 8px;
  color: var(--text-2);
}

.block-title {
  margin: 40px 0 16px;
  font-size: 22px;
}

.buy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: start;
}

.buy .plans {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.buy .checkout {
  position: sticky;
  top: 84px;
  border: 1px solid var(--line);
}

.spec div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.spec div:first-child {
  border-top: 0;
}

.spec dt {
  color: var(--text-3);
}

.result {
  display: grid;
  gap: 16px;
  padding: 32px;
}

.result .status {
  justify-self: start;
}

.keybox {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.keybox-title {
  font-size: 14px;
  font-weight: 700;
}

.keyrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
}

.keyrow span {
  color: var(--text-3);
}

.code {
  font-size: 16px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  cursor: copy;
  padding: 2px 8px;
  border-radius: 6px;
  transition: background-color 0.15s;
}

.code:hover {
  background: var(--orange-soft);
}

.code.copied::after {
  content: ' 已复制';
  font-size: 13px;
  font-weight: 600;
  color: var(--ok-fg);
}

.keybox-note {
  font-size: 13px;
  color: var(--text-3);
}

.pay-amount {
  font-size: 36px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.countdown {
  font-weight: 700;
  color: var(--pending-fg);
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 24px;
  align-items: start;
}

.order-main {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.order-main > * {
  width: 100%;
}

.order-main > .btn {
  width: auto;
}

.order-side {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 10px;
}

.live-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--active-fg);
}

.live-hint i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--active-fg);
  animation: blink 1.4s ease-in-out infinite;
}

@keyframes blink {
  50% {
    opacity: 0.3;
  }
}

.order-card {
  padding: 20px;
  display: grid;
  gap: 16px;
}

.order-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.order-no {
  font-size: 13px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.track {
  list-style: none;
  padding: 0;
  display: grid;
}

.track li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 0;
  font-size: 14px;
  color: var(--text-3);
}

.track li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: -6px;
  height: 12px;
  width: 2px;
  background: var(--line);
}

.track li:first-child::before {
  display: none;
}

.track .dot {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  background: var(--surface);
}

.track li.done {
  color: var(--text-2);
}

.track li.done .dot {
  border-color: var(--ok-fg);
  background: var(--ok-fg);
}

.track li.done::before {
  background: var(--ok-fg);
}

.track li.now {
  color: var(--text);
  font-weight: 700;
}

.track li.now .dot {
  border-color: var(--orange);
  background: var(--orange);
  animation: ring 1.6s ease-in-out infinite;
}

.track li.warn {
  color: var(--warn-fg);
  font-weight: 700;
}

.track li.warn .dot {
  border-color: var(--warn-fg);
  background: var(--warn-fg);
}

@keyframes ring {
  0%, 100% { box-shadow: 0 0 0 3px var(--orange-ring); }
  50% { box-shadow: 0 0 0 7px rgba(255, 106, 26, 0.06); }
}

.kv {
  display: grid;
  border-top: 1px solid var(--line);
}

.kv > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}

.kv dt {
  color: var(--text-3);
  flex: none;
}

.kv dd {
  text-align: right;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.kv .kv-total {
  border-bottom: 0;
  padding-top: 12px;
}

.kv .kv-total dt {
  color: var(--text);
  font-weight: 700;
}

.kv .kv-total dd {
  font-size: 20px;
  font-weight: 800;
}

.materials {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.materials h2 {
  font-size: 18px;
}

.howto {
  padding-left: 20px;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--text-2);
}

.howto b {
  color: var(--text);
}

.doc h1 {
  font-size: 28px;
}

.doc h2 {
  margin: 36px 0 12px;
  font-size: 19px;
}

.doc ol,
.doc ul {
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--text-2);
}

/* —— 页面主题（颜色全部取自上方主题变量） —— */

body {
  background-color: var(--page);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--fg);
}

a {
  color: var(--link);
}

/* 白色卡片里恢复深色文字 */
.card,
.plan,
.checkout,
.flow-body,
.faq,
.ui,
.tile,
.result,
.materials,
.order-card {
  color: var(--text);
}

.card a,
.plan a,
.checkout a,
.faq a,
.result a,
.materials a {
  color: var(--orange-text);
}

.header {
  background: var(--chrome);
  border-bottom: 1px solid var(--chrome-line);
  backdrop-filter: blur(10px);
}

.logo {
  color: var(--fg-strong);
}

.logo small {
  color: var(--fg-2);
  letter-spacing: 0.08em;
}

.nav a {
  color: var(--fg);
}

.nav a:hover {
  color: var(--fg-strong);
}

.header .btn-line {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}

.header .btn-line:hover {
  background: var(--accent-light);
  color: var(--ink);
}

.btn-primary {
  color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--ink-3);
}

/* 首屏标题 */
.intro-kicker {
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  animation: rise 0.6s var(--ease) both;
}

.intro h1 {
  display: block;
  margin-top: 6px;
  font-size: clamp(44px, 5.2vw, 76px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--fg-strong);
}

.intro h1 em {
  font-style: normal;
  font-family: var(--mono);
  color: var(--accent-ink);
  text-shadow: var(--glow);
}

.intro-sub {
  color: var(--fg-2);
}

/* 承诺：终端命令行，逐字解码轮换三条 */
.promise {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin: 26px 0 34px;
  padding: 13px 20px 13px 16px;
  border: 1px solid rgba(46, 242, 160, 0.5);
  border-radius: 10px;
  background: var(--term-bg);
  color: var(--orange);
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 600;
  overflow: hidden;
  animation: rise 0.6s 0.2s var(--ease) both;
}

/* 扫描线：一道光自上而下扫过 */
.promise::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0, rgba(125, 255, 198, 0.16) 50%, transparent 100%);
  transform: translateY(-100%);
  animation: scan 3.6s linear infinite;
  pointer-events: none;
}

.promise-prompt {
  flex: none;
  color: #8ea8a1;
}

.promise-lines {
  display: grid;
  min-width: 0;
}

.promise-item {
  grid-area: 1 / 1;
  visibility: hidden;
}

.promise-item.is-on {
  visibility: visible;
}

.promise-item b {
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 14px rgba(46, 242, 160, 0.7);
}

/* 光标紧跟在当前这条文字之后 */
.promise-item::after {
  content: '';
  display: inline-block;
  width: 0.6em;
  height: 1.05em;
  margin-left: 6px;
  vertical-align: -0.15em;
  background: var(--orange);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes scan {
  to { transform: translateY(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .promise::after,
  .promise-item::after {
    animation: none;
  }
}

.tabs {
  background: var(--tabs-bg);
}

.tab {
  color: var(--fg-2);
}

.tab[aria-selected='true'] {
  background: var(--orange);
  color: var(--ink);
}

.plans-foot a {
  color: var(--link);
}

/* 舞台不再是单独的深色栏，收银台卡片直接浮在页面上 */
.stage {
  background: transparent;
}

.scene-cap {
  color: var(--fg-2);
}

.stage-bar {
  background: var(--panel);
  border: 1px solid var(--chrome-line);
  color: var(--fg-strong);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.stage-bar small {
  color: var(--fg-2);
}

/* 内容区 */
.block > h2,
.block-tint h2 {
  color: var(--fg-strong);
}

.block-sub {
  color: var(--fg-2);
}

.flow::before {
  background: var(--flow-line);
}

.flow-no {
  background: var(--panel);
  border-color: var(--panel-line);
  color: var(--fg-2);
}

.flow-step.is-on .flow-no {
  color: var(--ink);
}

.flow-step.is-on .flow-body,
.faq[open] {
  border-color: var(--orange);
}

.block-tint {
  background: var(--tint);
  border: 1px solid var(--panel-line);
}

.status-item {
  background: var(--wash);
  color: var(--fg);
}

.status-item:hover,
.status-item.is-on {
  background: var(--wash-2);
  border-color: rgba(46, 242, 160, 0.55);
}

.status-todo {
  color: var(--fg-2);
}

.tile-0 {
  background: var(--ink-3);
  border-color: rgba(255, 255, 255, 0.08);
}

.footer {
  background: #0a1012;
  border-top: 1px solid rgba(46, 242, 160, 0.2);
}

/* 内页：页面底上的标题与说明 */
.page h1,
.doc h2 {
  color: var(--fg-strong);
}

.page .result h1,
.page .card h1 {
  color: var(--text);
}

.page-sub,
.crumbs,
.doc ol,
.doc ul {
  color: var(--fg-2);
}

.result .page-sub {
  color: var(--text-2);
}

/* —— 充值指南：栏目页与文章页 —— */

.kb .page-head {
  max-width: 720px;
}

.kb-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.kb-card a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 22px 22px 20px;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
  color: var(--fg);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.25s var(--ease);
}

.kb-card a:hover {
  border-color: var(--accent-ink);
  transform: translateY(-2px);
}

.kb-card h2 {
  font-size: 18px;
  line-height: 1.45;
  color: var(--fg-strong);
}

.kb-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-2);
}

.kb-more {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--link);
}

.article {
  max-width: 760px;
}

.article h1 {
  font-size: 30px;
  line-height: 1.35;
}

.article-meta {
  margin-top: 10px;
  font-size: 14px;
  color: var(--fg-2);
}

.article-lead {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--fg);
}

.article-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--fg);
}

.article-body h2 {
  margin: 40px 0 12px;
  font-size: 21px;
  line-height: 1.4;
  color: var(--fg-strong);
}

.article-body p,
.article-body ul,
.article-body ol {
  margin: 0 0 14px;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.article-body b {
  color: var(--fg-strong);
}

.article-body a,
.article-related a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-note {
  padding: 14px 16px;
  background: var(--wash-2);
  border-left: 3px solid var(--accent-ink);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-table {
  margin: 4px 0 12px;
  overflow-x: auto;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-sm);
}

.article-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.article-table th,
.article-table td {
  padding: 11px 14px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--panel-line);
}

.article-table th {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-2);
}

.article-table tr:last-child td {
  border-bottom: 0;
}

.article-table .num {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding: 22px 24px;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
}

.article-cta h2 {
  font-size: 18px;
  color: var(--fg-strong);
}

.article-cta p {
  margin-top: 4px;
  font-size: 15px;
  color: var(--fg-2);
}

.article-cta .btn {
  flex: none;
}

.article-related {
  margin-top: 36px;
}

.article-faq {
  margin-top: 40px;
}

.article-faq h2,
.article-sources h2 {
  font-size: 21px;
  color: var(--fg-strong);
}

.article-faq dl {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.article-faq dl > div {
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-sm);
}

.article-faq dt {
  font-weight: 700;
  color: var(--fg-strong);
}

.article-faq dd {
  margin: 6px 0 0;
  line-height: 1.8;
  color: var(--fg);
}

.article-sources {
  margin-top: 32px;
}

.article-sources ul {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding-left: 20px;
  font-size: 14px;
  color: var(--fg-2);
}

.article-sources a {
  color: var(--link);
  word-break: break-word;
}

.article-related h2 {
  font-size: 17px;
  color: var(--fg-strong);
}

.article-related ul {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-left: 20px;
  font-size: 15px;
}

@media (max-width: 760px) {
  .kb-list {
    grid-template-columns: 1fr;
  }

  .article h1 {
    font-size: 24px;
  }

  .article-cta {
    flex-direction: column;
    align-items: stretch;
  }
}

.order-side .muted {
  color: var(--fg-2);
}

.live-hint {
  color: var(--info);
}

.live-hint i {
  background: var(--info);
}

/* —— 版心：页面左右留白 —— */

.split,
.tail,
.header-inner,
.footer-inner,
.footer-notes {
  max-width: var(--shell);
  margin-inline: auto;
}

/* 收银台区域之后：常见问题与用户反馈占满整行，左边与上方内容对齐 */
.tail {
  /* 与上方 .split 的内边距 + .split > .col 的内边距相加，左边缘对齐 */
  padding: 0 calc(clamp(0px, 1.6vw, 24px) + clamp(16px, 1.6vw, 24px)) 96px;
}

.tail > .block:first-child {
  padding-top: 56px;
}

.tail .faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 10px 14px;
}

/* 用户反馈：一条向左持续滚动的卡片带，两端渐隐；鼠标悬停或键盘聚焦时暂停 */
.marquee {
  margin-top: 24px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-duration, 60s) linear infinite;
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}

/* 两组卡片完全相同，移动一组的宽度后无缝衔接 */
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.marquee-group {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 4px 14px 4px 0;
  list-style: none;
}

.review {
  flex: none;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 14px;
  width: 320px;
  padding: 20px 20px 16px;
  /* 与常见问题卡片一样：深浅色模式下都是白底深字 */
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
}

.review blockquote {
  margin: 0;
}

.review blockquote p {
  font-size: 15px;
  line-height: 1.75;
}

.review-by {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.review-name {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.review-name b {
  font-size: 14px;
}

.review-name small {
  font-size: 13px;
  color: var(--text-3);
}

.review-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 12.5px;
  color: var(--text-3);
}

.review-plan {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-text);
  font-weight: 700;
}

.split {
  grid-template-columns: minmax(0, 1fr) clamp(380px, 28vw, 420px);
  padding-inline: clamp(0px, 1.6vw, 24px);
}

.split > .col {
  padding-inline: clamp(16px, 1.6vw, 24px);
}

/* 英文状态名更长，状态名列放宽 */
@media (min-width: 761px) {
  :root:lang(en) .status-item {
    grid-template-columns: 160px 1fr 1fr;
  }
}

.stage-bar .btn {
  flex: none;
  white-space: nowrap;
}

.invoice-fee {
  font-size: 12px;
  padding-inline: 8px;
}

/* 白色卡片里的原生控件（单选、勾选框）始终按浅色绘制 */
.card,
.plan,
.checkout,
.faq,
.flow-body,
.ui,
.result,
.materials,
.order-card {
  color-scheme: light;
}

/* 卡片变窄时：套餐名和备注可以换行，亮点格子文字不溢出 */
.plan-name {
  white-space: normal;
}

.plan-hl li {
  min-width: 0;
  line-height: 1.35;
}

.field-head b {
  white-space: nowrap;
}

/* 英文标题更长，字号收一档 */
:root:lang(en) .intro h1 {
  font-size: clamp(38px, 4vw, 60px);
}

.header-inner {
  padding-inline: clamp(16px, 4vw, 68px);
}

/* —— 头部工具：语言、深浅色、我的订单 —— */

/* 导航靠右，紧挨着头部工具 */
.nav {
  justify-content: flex-end;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.lang-menu {
  position: relative;
}

.lang-menu summary,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  min-width: 38px;
  padding: 0 10px;
  border: 1px solid var(--panel-line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--fg);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: border-color 0.2s, background-color 0.2s;
}

.lang-menu summary::-webkit-details-marker {
  display: none;
}

.lang-menu summary:hover,
.theme-toggle:hover,
.lang-menu[open] summary {
  border-color: var(--orange);
}

.lang-menu svg,
.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle {
  padding: 0;
}

.theme-toggle .ic-sun,
:root[data-theme='dark'] .theme-toggle .ic-moon {
  display: none;
}

:root[data-theme='dark'] .theme-toggle .ic-sun {
  display: block;
}

.lang-menu ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 70;
  min-width: 150px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--panel-line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  animation: rise 0.18s var(--ease) both;
}

.lang-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--fg);
  font-weight: 600;
}

.lang-menu a:hover {
  background: var(--wash-2);
  text-decoration: none;
}

.lang-menu a[aria-current='true'] {
  color: var(--link);
}

.lang-menu a[aria-current='true']::after {
  content: ' ✓';
}

/* 浅色下白色收银台需要描边 */
.checkout {
  border: 1px solid var(--panel-line);
  box-shadow: 0 18px 50px rgba(10, 40, 30, 0.08);
}

/* —— 收银台：手机号与企业发票 —— */

.total-note {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  text-align: right;
}

.total-note[hidden] {
  display: none;
}

.field-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.field-head small {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-3);
  text-align: right;
}

.input-ic {
  position: relative;
  display: block;
}

.input-ic svg {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--text-3);
  stroke-width: 1.7;
  stroke-linejoin: round;
  pointer-events: none;
}

.input-ic input {
  padding-left: 44px;
}

.invoice {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.invoice-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.invoice-opt:hover {
  border-color: var(--orange);
}

.invoice-opt:has(input:checked) {
  border-color: var(--orange-text);
  background: var(--orange-soft);
}

.invoice-opt input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--orange-text);
}

.invoice-txt {
  flex: 1;
  min-width: 0;
  line-height: 1.4;
}

.invoice-fee {
  flex: none;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-text);
  font-size: 12.5px;
  white-space: nowrap;
}

.invoice-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-3);
}

/* —— 右下角微信客服 —— */

.wx {
  position: fixed;
  right: 14px;
  bottom: 24px;
  z-index: 65;
}

/* 手机下单栏打开时让位 */
:root:has(.stage.is-open) .wx {
  display: none;
}

.wx-fab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.wx-fab::-webkit-details-marker {
  display: none;
}

/* 绿色圆形按钮 + 白色描边对话气泡 */
.wx-ball {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #0a9570;
  box-shadow: 0 8px 22px rgba(10, 149, 112, 0.38);
  transition: transform 0.2s var(--ease), background-color 0.2s;
}

.wx-ball svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wx-fab:hover .wx-ball,
.wx[open] .wx-ball {
  background: #0b8a68;
  transform: translateY(-2px);
}

.wx-fab:focus-visible {
  outline: none;
}

.wx-fab:focus-visible .wx-ball {
  outline: 2px solid #0a9570;
  outline-offset: 3px;
}

.wx-label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: var(--fg-2);
}

.wx-ic {
  flex: none;
  width: 32px;
  height: 32px;
}

.wx-card {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: 300px;
  max-width: calc(100vw - 28px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  color-scheme: light;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  animation: rise 0.2s var(--ease) both;
}

/* 卡片顶部：绿色标题条 + 关闭 */
.wx-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 12px 14px;
  background: #0a9570;
  color: #fff;
  text-align: left;
}

.wx-head p {
  display: grid;
  flex: 1;
  min-width: 0;
  margin: 0;
  line-height: 1.35;
}

.wx-head b {
  font-size: 15px;
}

.wx-head small {
  font-size: 12px;
  opacity: 0.85;
}

.wx-head-ic {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
}

.wx-head svg,
.wx-tabs svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wx-head-ic svg {
  width: 20px;
  height: 20px;
}

.wx-close {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.14);
  color: #fff;
  cursor: pointer;
}

.wx-close:hover {
  background: rgba(0, 0, 0, 0.24);
}

.wx-close svg {
  width: 16px;
  height: 16px;
}

.wx-body {
  padding: 14px 16px 16px;
}

/* 两个标签：联系客服 / 添加收藏 */
.wx-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.wx-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text-3);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.wx-tabs button.is-on {
  background: #fff;
  color: #04754d;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.wx-tabs svg {
  width: 16px;
  height: 16px;
}

.wx-tabs [data-wx-tab='fav'] svg {
  color: #f5b301;
  fill: #f5b301;
}

/* 有脚本时只显示当前标签；无脚本时两块都显示 */
.js .wx-pane:not(.is-on) {
  display: none;
}

.wx-pane + .wx-pane {
  margin-top: 14px;
}

.js .wx-pane + .wx-pane {
  margin-top: 0;
}

.wx-fav-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.wx-keys {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.wx-keys li {
  display: flex;
  text-align: left;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  font-size: 13px;
  color: var(--text-2);
}

/* 访客当前设备那一行高亮 */
.wx-keys li.is-me {
  border-color: rgba(10, 149, 112, 0.55);
  background: #ecfbf4;
  color: var(--text);
}

.wx-keys li.is-me span::after {
  content: attr(data-me);
  display: inline-block;
  white-space: nowrap;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #0a9570;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.wx-keys kbd {
  flex: none;
  padding: 3px 8px;
  border: 1px solid #c9d2cf;
  border-bottom-width: 2px;
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
}

.wx-keys em {
  font-style: normal;
  font-weight: 700;
  color: #04754d;
  text-align: right;
}

.wx-back {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: #0a9570;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.wx-back:hover {
  background: #0b8a68;
}

.wx-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
}

.wx-title .wx-ic {
  width: 22px;
  height: 22px;
}

.wx-card img {
  display: block;
  width: 180px;
  height: 180px;
  margin: 0 auto;
}

.wx-tip {
  margin: 8px 0 12px;
  font-size: 12.5px;
  color: var(--text-3);
}

.wx-id {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 12px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 13px;
  text-align: left;
}

.wx-id span {
  color: var(--text-3);
  white-space: nowrap;
}

.wx-id b {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wx-copy {
  flex: none;
  padding: 6px 12px;
  border: 0;
  border-radius: 9px;
  background: #07c160;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
}

.wx-copy:hover {
  background: #06ad56;
}

.wx-copy.is-done {
  background: var(--ink);
}

/* 页脚的微信客服 */
.footer-wx {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-wx .wx-ic {
  width: 28px;
  height: 28px;
}

.footer-wx span {
  display: grid;
  line-height: 1.35;
  font-size: 13px;
}

.footer-wx b {
  color: #fff;
  font-size: 15px;
}

/* 订单页：企业发票信息 */
.invoice-card {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.invoice-card h2 {
  margin: 0;
  font-size: 18px;
}

/* 桌面：版心两侧留白不够时，右侧多留出按钮的位置，收银台不被挡住 */
@media (min-width: 1101px) and (max-width: 1400px) {
  .split {
    padding-right: 72px;
  }
}

/* 平板与手机：底部是下单栏，按钮抬到它上方 */
@media (max-width: 1100px) {
  .wx {
    right: 12px;
    bottom: 100px;
  }

  .wx-ball {
    width: 50px;
    height: 50px;
  }

  .wx-ball svg {
    width: 24px;
    height: 24px;
  }
}

/* —— 进场 —— */

.js [data-rise] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js [data-rise].in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-rise] {
    transform: none;
  }
}

/* —— 平板与手机：舞台变成底部下单栏 —— */

@media (max-width: 1100px) {
  .split {
    padding-inline: 0;
  }

  .nav {
    gap: 18px;
  }

  .plans {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .split {
    grid-template-columns: 1fr;
  }

  .col {
    padding-bottom: 120px;
  }

  .flow-inline {
    display: block;
    margin-top: 14px;
    max-width: 380px;
  }

  /* 无脚本时舞台按普通区块排在后面，收银台照常可用 */
  .stage {
    position: static;
    height: auto;
    padding: 24px;
  }

  .stage .scene {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
  }

  .stage .scene-flow,
  .stage .scene-status,
  .stage .stage-bar {
    display: none;
  }

  .js .stage {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 60;
    background: var(--sheet);
    border-top: 1px solid var(--chrome-line);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.12);
    height: auto;
    max-height: 100svh;
    padding: 12px;
    border-radius: 20px 20px 0 0;
    overflow: auto;
  }

  .js .stage .stage-bar {
    position: static;
    display: flex;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .js .stage .scene-buy {
    display: none;
  }

  .js .stage.is-open {
    max-height: 92svh;
    animation: sheet-up 0.35s var(--ease);
  }

  @keyframes sheet-up {
    from {
      transform: translateY(40px);
      opacity: 0.6;
    }
  }

  .js .stage.is-open .scene-buy {
    display: grid;
  }

  .js .stage.is-open .stage-bar {
    display: none;
  }

  .js .stage.is-open .stage-close {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 6px 12px;
    color: var(--fg-strong);
    font-weight: 700;
  }

  .stage-close button {
    border: 0;
    background: var(--wash-2);
    color: var(--fg-strong);
    border-radius: 999px;
    padding: 6px 14px;
    font: inherit;
    cursor: pointer;
  }

  .buy {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .order-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .header-inner {
    gap: 12px;
    padding: 0 16px;
  }

  .nav {
    display: none;
  }

  .header-inner .btn {
    white-space: nowrap;
  }

  .header-tools {
    gap: 6px;
  }

  .header-tools .btn {
    padding-inline: 12px;
  }

  .logo small {
    display: none;
  }

  .col {
    padding: 22px 16px 120px;
  }

  .intro-kicker {
    font-size: 17px;
  }

  .intro h1 {
    font-size: 40px;
  }

  .promise {
    margin: 20px 0 28px;
    padding: 10px 16px;
    font-size: 16px;
  }

  .tabs {
    display: flex;
  }

  .tab {
    flex: 1;
  }

  .plans {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .plan {
    padding: 22px 16px 16px;
  }

  .plan-price b {
    font-size: 32px;
  }

  .hero-band {
    padding: 24px 16px 40px;
  }

  .block {
    padding-top: 56px;
  }

  .block > h2 {
    font-size: 21px;
  }

  .flow::before {
    left: 17px;
  }

  .flow-step {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .flow-no {
    width: 36px;
    height: 36px;
  }

  .flow-body {
    padding: 16px;
  }

  .block-tint {
    margin-top: 56px;
    padding: 28px 16px 22px;
  }

  .status-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .tile-0,
  .tile-6 {
    grid-column: auto;
  }

  .query-tile {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .buy,
  .order-layout {
    grid-template-columns: 1fr;
  }

  .buy .checkout,
  .order-side {
    position: static;
  }

  .page {
    padding: 20px 0 56px;
  }

  .page h1 {
    font-size: 24px;
  }

  .result {
    padding: 20px;
  }

  .spec div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* 平板：.split 不再有内边距，只对齐 .col */
@media (max-width: 1100px) {
  .tail {
    padding-inline: clamp(16px, 1.6vw, 24px);
  }
}

/* 手机：常见问题单栏；底部留出「去下单」栏的高度 */
@media (max-width: 760px) {
  .tail {
    padding: 0 16px 120px;
  }

  .tail .faq-list {
    grid-template-columns: 1fr;
  }
}

/* 减少动态效果：不自动滚动，改为手动左右滑动，只显示一组 */
@media (prefers-reduced-motion: reduce) {
  .marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee-track {
    animation: none;
  }

  .marquee-group[aria-hidden='true'] {
    display: none;
  }
}

@media (max-width: 760px) {
  .review {
    width: 280px;
  }
}

/* 404：4 · 点阵地球 · 4，下面是终端回显 */
.nf {
  padding: 72px 0 96px;
}

.nf-wrap {
  max-width: 640px;
  text-align: center;
}

.nf-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 104px;
  font-weight: 800;
  line-height: 1;
  color: var(--fg-strong);
  user-select: none;
  animation: rise 0.6s var(--ease) both;
}

.nf-globe {
  position: relative;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(46, 242, 160, 0.22), transparent 62%);
  box-shadow: inset 0 0 0 1px rgba(46, 242, 160, 0.45), 0 0 36px rgba(46, 242, 160, 0.18);
  animation: nf-float 5s ease-in-out infinite alternate;
}

.nf-globe canvas {
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes nf-float {
  from { transform: translateY(-4px); }
  to { transform: translateY(4px); }
}

.nf .page-sub {
  margin: 10px auto 0;
  max-width: 440px;
}

.nf-term {
  margin: 28px auto 0;
  max-width: 440px;
  padding: 14px 18px;
  border: 1px solid rgba(46, 242, 160, 0.5);
  border-radius: 10px;
  background: var(--term-bg);
  color: #c9dcd6;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
}

.nf-prompt {
  color: #8ea8a1;
}

.nf-path {
  color: #fff;
  word-break: break-all;
}

.nf-err {
  color: #ff8a9a;
}

.nf-ok {
  color: var(--orange);
}

.nf-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

:root:not([data-theme='dark']) .nf-term {
  background: #0b1214;
}

@media (max-width: 560px) {
  .nf {
    padding: 40px 0 72px;
  }

  .nf-code {
    gap: 12px;
    font-size: 72px;
  }

  .nf-globe {
    width: 88px;
    height: 88px;
  }

  .nf-actions .btn {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-globe {
    animation: none;
  }
}
