/* 站点公共样式。文档和邀请页在此基础上加载 docs.css、invite.css。 */
@font-face {
  font-family: "DD Sans";
  src: url("/dd-font/DMSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DD Sans";
  src: url("/dd-font/DMSans-SemiBold.ttf") format("truetype");
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --surface: #f7f8fa;
  --ink: #0f1c37;
  --navy: #172b4d;
  --text: #3a4a66;
  --muted: #5d6c85;
  --faint: #8591a5;
  --line: #e4e7ec;
  --line-strong: #d0d5dd;
  --blue: #246bfd;
  --blue-dark: #1650d0;
  --soft: #eaf2ff;
  --on-dark: #a4b3c9;
  --code-line: #24324f;
  --green: #12a150;
  --sans: "DD Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "PingFang SC", "Microsoft YaHei", monospace;
  --wrap: 1160px;
  --radius: 8px;
  --radius-lg: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 600; }
p { margin: 0; }
code, pre { font-family: var(--mono); }
button { font-family: inherit; }
::selection { background: rgba(36, 107, 253, .16); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: var(--radius); border: 1px solid transparent;
  font: 600 15px/1 var(--sans); cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-text { color: var(--text); }
.btn-text:hover { color: var(--ink); background: var(--surface); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--surface); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--soft); }
.btn-outline { color: #fff; border-color: rgba(255, 255, 255, .32); }
.btn-outline:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }

.copy {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; flex: none;
  border-radius: 6px; border: 1px solid var(--line-strong); background: var(--white); color: var(--muted);
  font: 500 12px/1 var(--sans); cursor: pointer; transition: color .15s, border-color .15s;
}
.copy:hover { color: var(--ink); border-color: var(--faint); }
.copy svg { width: 13px; height: 13px; }
.copy.done { color: var(--green); border-color: rgba(18, 161, 80, .45); }

/* ---------- 顶栏 ---------- */
.iv-banner {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 16px; background: var(--ink); color: #dfe6f2; font-size: 13px; text-align: center;
}
.iv-banner[hidden] { display: none; }
.iv-banner b { color: #fff; font-weight: 600; }
.iv-banner a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { height: 64px; display: flex; align-items: center; gap: 36px; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 26px; flex: 1; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang-switch {
  height: 32px; min-width: 44px; padding: 0 10px; border-radius: 6px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--muted);
  font: 500 13px/1 var(--sans); cursor: pointer; transition: color .15s, border-color .15s;
}
.lang-switch:hover { color: var(--ink); border-color: var(--faint); }

/* ---------- 首屏 ---------- */
.hero { position: relative; overflow: hidden; padding: 80px 0 72px; background: linear-gradient(180deg, #f3f7ff 0%, var(--white) 72%); }
/* logo 放大作底纹，只露出右上角一部分，不抢正文。 */
.hero::before {
  content: ""; position: absolute; top: -56px; right: max(-140px, calc(50% - 800px)); width: 820px; aspect-ratio: 204 / 140;
  background: url("/brand/dd-symbol-blue.svg") center / contain no-repeat; opacity: .07; pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 72px; align-items: center; }
.eyebrow { color: var(--blue-dark); font-size: 14px; font-weight: 600; line-height: 1.4; }
.brand-chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 10px; border: 1px solid #cfe0ff; border-radius: 16px; background: var(--white); color: var(--blue-dark); font-size: 13px; font-weight: 600; }
.brand-chip img { height: 14px; width: auto; }
.hero h1 { margin-top: 20px; font-size: clamp(38px, 4.7vw, 54px); line-height: 1.2; letter-spacing: -.01em; }
html[lang="en"] .hero h1 { letter-spacing: -.025em; line-height: 1.12; }
.hero-sub { margin-top: 20px; max-width: 560px; font-size: 18px; line-height: 1.75; color: var(--muted); }
.hero-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .btn { height: 48px; padding: 0 24px; }

.field {
  margin-top: 32px; max-width: 520px; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white);
}
.field-label { font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.field code { flex: 1; min-width: 0; font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hero-facts { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 14px; color: var(--muted); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 15px; height: 15px; flex: none; color: var(--blue); }

/* ---------- 费用估算面板 ---------- */
.calc { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 1px 2px rgba(15, 28, 55, .05), 0 16px 40px -20px rgba(15, 28, 55, .2); font-size: 14px; }
.calc-head { display: flex; align-items: center; gap: 10px; }
.calc-head img { height: 18px; width: auto; }
.calc-head h2 { flex: 1; font-size: 16px; line-height: 1.4; }
.calc-head span { color: var(--faint); font-size: 12px; font-weight: 500; }

.calc-field { display: block; margin-top: 18px; color: var(--muted); font-size: 13px; font-weight: 500; }
.calc-field select {
  display: block; width: 100%; height: 40px; margin-top: 6px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--white); color: var(--ink); font: 500 14px var(--mono); cursor: pointer;
}
.calc-field select:disabled { color: var(--faint); cursor: default; }

.calc-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 12px; padding: 3px; border-radius: var(--radius); background: var(--surface); }
.calc-presets button {
  min-height: 30px; padding: 4px 6px; border: 0; border-radius: 6px; background: transparent;
  color: var(--muted); font: 500 13px/1.3 var(--sans); cursor: pointer; transition: color .15s, background .15s;
}
.calc-presets button:hover { color: var(--ink); }
.calc-presets button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(15, 28, 55, .12); }

.calc-range { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin-top: 16px; color: var(--muted); font-size: 13px; font-weight: 500; }
.calc-range output { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
/* --fill 由脚本按滑块位置写入，已选部分显示品牌蓝。 */
.calc-range input {
  --track: linear-gradient(to right, var(--blue) var(--fill, 50%), var(--line) var(--fill, 50%));
  grid-column: 1 / -1; width: 100%; height: 18px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer;
}
.calc-range input::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: var(--track); }
.calc-range input::-moz-range-track { height: 4px; border-radius: 2px; background: var(--track); }
.calc-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); box-shadow: 0 1px 2px rgba(15, 28, 55, .2); }
.calc-range input::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); }
.calc-range input:disabled { opacity: .4; cursor: default; }

.calc-lines { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); min-height: 112px; }
.calc-lines div { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; }
.calc-lines dt { color: var(--muted); }
.calc-lines dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-lines .is-struck dd { color: var(--faint); text-decoration: line-through; }

.calc-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.calc-total span { color: var(--ink); font-weight: 600; }
.calc-total strong { color: var(--ink); font-size: 30px; line-height: 1.15; letter-spacing: -.02em; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-foot { min-height: 22px; color: var(--blue-dark); font-size: 13px; text-align: right; }
.calc-note { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; line-height: 1.5; }

/* ---------- 站点数据 ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-row > div { padding: 22px 0 22px 28px; border-left: 1px solid var(--line); }
.stats-row > div:first-child { padding-left: 0; border-left: 0; }
.stats-row strong { display: block; color: var(--ink); font-size: 28px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stats-row span { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; }

/* ---------- 通用分区 ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); }
.head { max-width: 720px; }
.head h2, .start-side h2 { margin-top: 10px; font-size: clamp(28px, 3.2vw, 36px); line-height: 1.3; }
html[lang="en"] .head h2, html[lang="en"] .start-side h2 { letter-spacing: -.02em; line-height: 1.2; }
.head > p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.head a { color: var(--blue-dark); font-weight: 500; }
.head a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 价格表 ---------- */
.prices { margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.shelf-tabs { display: flex; gap: 4px; overflow-x: auto; min-height: 53px; padding: 0 12px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.shelf-tabs::-webkit-scrollbar { display: none; }
.shelf-tab {
  flex: none; padding: 14px 12px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted);
  font: 500 14px/1.4 var(--sans); cursor: pointer; transition: color .15s, border-color .15s;
}
.shelf-tab:hover { color: var(--ink); }
.shelf-tab[aria-selected="true"] { color: var(--blue-dark); border-bottom-color: var(--blue); font-weight: 600; }

.price-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-table th {
  padding: 12px 24px; background: var(--surface); border-bottom: 1px solid var(--line); text-align: left;
  color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap;
}
.price-table td { padding: 13px 24px; border-bottom: 1px solid var(--line); color: var(--ink); font-variant-numeric: tabular-nums; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr[data-model] { cursor: pointer; transition: background .12s; }
.price-table tbody tr[data-model]:hover { background: #f8faff; }
.price-table .col-action { width: 1%; text-align: right; }
.row-name { font-family: var(--mono); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.row-price b { font-weight: 600; }
.row-price s { margin-left: 8px; color: var(--faint); font-size: 12.5px; }
.row-try { padding: 4px 0; border: 0; background: transparent; color: var(--blue-dark); font: 500 13px/1.4 var(--sans); cursor: pointer; white-space: nowrap; }
.row-try:hover { text-decoration: underline; text-underline-offset: 3px; }
.prices-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 24px; border-top: 1px solid var(--line); background: var(--surface); font-size: 13px; color: var(--muted); }
.prices-foot a { color: var(--blue-dark); font-weight: 500; }
.prices-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.empty { padding: 40px 24px !important; text-align: center; color: var(--muted) !important; }
.skeleton { display: inline-block; height: 12px; width: 120px; border-radius: 3px; background: linear-gradient(90deg, #eceff3, #f6f7f9, #eceff3); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- 请求流程 ---------- */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.steps { position: relative; }
.steps li { position: relative; padding-top: 24px; border-top: 2px solid var(--line-strong); }
/* 节点取自 logo 里 d 的圆环，内外径比例和字形一致。 */
.steps li::before { content: ""; position: absolute; top: -10px; left: 0; width: 18px; height: 18px; border: 5px solid var(--blue); border-radius: 50%; background: var(--surface); }
.step-no { color: var(--blue-dark); font-size: 13px; font-weight: 600; font-style: normal; font-variant-numeric: tabular-nums; }
.steps h3 { margin-top: 8px; font-size: 17px; line-height: 1.4; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.steps code { display: inline-block; margin-top: 12px; padding: 2px 7px; border-radius: 5px; background: #eceff4; color: var(--text); font-size: 12px; }

/* ---------- 接入指南 ---------- */
.start-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 64px; align-items: center; }
.start-lead { margin-top: 14px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.todo { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: todo; }
.todo li { counter-increment: todo; }
.todo a { display: flex; gap: 14px; padding: 12px; margin: 0 -12px; border-radius: var(--radius); transition: background .15s; }
.todo a:hover { background: var(--surface); }
.todo a::before {
  content: counter(todo); flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%;
  background: var(--soft); color: var(--blue-dark); font-size: 13px; font-weight: 600;
}
.todo b { display: block; color: var(--ink); font-size: 16px; font-weight: 600; }
.todo small { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.console { min-width: 0; background: var(--ink); color: #d7def0; border-radius: var(--radius-lg); overflow: hidden; }
.console-bar { display: flex; align-items: center; gap: 12px; padding: 0 12px 0 8px; border-bottom: 1px solid var(--code-line); }
.tabs { display: flex; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; height: 46px; padding: 0 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--on-dark); font: 500 13px/1 var(--sans); cursor: pointer; transition: color .15s; }
.tab:hover { color: #fff; }
.tab[aria-selected="true"] { color: #fff; border-bottom-color: #6ea2ff; }
.console .copy { margin-left: auto; background: transparent; border-color: #3a4c72; color: var(--on-dark); }
.console .copy:hover { color: #fff; border-color: #6d82ab; }
.console pre { margin: 0; padding: 20px 24px; min-height: 276px; font-size: 13.5px; line-height: 1.75; overflow: auto; white-space: pre; tab-size: 2; }
.console-note { padding: 12px 24px; border-top: 1px solid var(--code-line); color: var(--on-dark); font-size: 13px; }
.tk-k { color: #8ab4ff; }
.tk-s { color: #a5e3b5; }
.tk-n { color: #f7c27a; }
.tk-c { color: #7d8db0; }
.tk-f { color: #c9b2ff; }

/* ---------- 计费说明 ---------- */
.rules { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.rule { display: flex; gap: 18px; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.rule-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius); background: var(--soft); color: var(--blue-dark); }
.rule-icon svg { width: 20px; height: 20px; }
.rule h3 { font-size: 17px; line-height: 1.4; }
.rule p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ---------- 常见问题 ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 72px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer;
  color: var(--ink); font-size: 16px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: translateY(-2px) rotate(45deg); transition: transform .18s;
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { padding: 0 32px 20px 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.faq code { font-size: 13px; padding: 1px 5px; border-radius: 4px; background: var(--surface); color: var(--ink); }

/* ---------- 收尾 ---------- */
.close { position: relative; overflow: hidden; padding: 80px 0; background: var(--ink); text-align: center; }
.close::before {
  content: ""; position: absolute; right: -90px; bottom: -130px; width: 560px; aspect-ratio: 204 / 140;
  background: url("/brand/dd-symbol-white.svg") center / contain no-repeat; opacity: .05; pointer-events: none;
}
.close .wrap { position: relative; }
.close h2 { color: #fff; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.3; }
html[lang="en"] .close h2 { letter-spacing: -.02em; }
.close p { margin-top: 12px; font-size: 17px; color: var(--on-dark); }
.close-actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.footer { padding: 56px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-brand img { height: 26px; width: auto; }
.footer-brand p { margin-top: 12px; color: var(--muted); max-width: 340px; line-height: 1.7; }
.footer h4 { font-size: 13px; }
.footer ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); transition: color .15s; }
.footer ul a:hover { color: var(--ink); }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; color: var(--faint); font-size: 13px; flex-wrap: wrap; }
.status-dot { display: inline-flex; align-items: center; gap: 8px; }
.status-dot i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .skeleton { animation: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 44px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
  .faq-wrap, .start-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn-text { display: none; }
  .hero { padding: 52px 0 56px; }
  .hero::before { top: -24px; right: -90px; width: 460px; opacity: .05; }
  .close::before { width: 380px; right: -80px; bottom: -90px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stats-row > div { padding: 16px 0 16px 20px; }
  .stats-row > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stats-row > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .section { padding: 72px 0; }
  .rules { grid-template-columns: minmax(0, 1fr); }
  .close { padding: 64px 0; }
}
/* 手机上表头收起，每行拆成两层：模型名一层，价格一层，标签来自 data-label。 */
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .hero-actions .btn { flex: 1 1 100%; }
  .price-table thead { display: none; }
  .price-table, .price-table tbody { display: block; }
  .price-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .price-table tbody tr:last-child { border-bottom: 0; }
  .price-table td { padding: 0; border: 0; }
  .price-table .col-name { grid-column: 1 / -2; min-width: 0; }
  .price-table .col-action { grid-column: -2 / -1; grid-row: 1; width: auto; }
  .price-table td[data-label]::before { content: attr(data-label); display: block; color: var(--muted); font-size: 12px; }
  .price-table td.empty { grid-column: 1 / -1; padding: 24px 0 !important; }
  .row-name { white-space: normal; overflow-wrap: anywhere; }
  .row-price s { display: block; margin-left: 0; font-size: 12px; }
  .prices-foot { padding: 12px 16px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .console pre { padding: 18px; min-height: 0; font-size: 12px; }
  .console-note { padding: 12px 18px; }
  .console .copy span { display: none; }
  .rule { padding: 20px; gap: 14px; }
  .faq details p { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
