﻿/* ==========================================================================
   CuePointsCN 官网 · 样式表
   零构建 / 零 CDN：系统字体栈 + 内联 SVG + CSS 渐变
   配色与桌面产品一致：深色专业风
   ========================================================================== */

:root {
  /* 底色 */
  --bg: #141414;
  --bg-deep: #0e0e0e;
  --card: #1e1e1e;
  --card-raised: #242424;
  --border: #2a2a2a;
  --border-strong: #3a3a3a;

  /* 文字 */
  --text: #e6e6e6;
  --muted: #9a9a9a;
  --dim: #6e6e6e;

  /* 语义色 */
  --accent: #4da3ff;
  --accent-strong: #78bbff;
  --accent-ink: #0e0e0e;
  --accent-soft: rgba(77, 163, 255, 0.12);
  --rec: #e0564f;
  --rec-soft: rgba(224, 86, 79, 0.14);
  --ok: #46c07a;
  --warn: #e0a33f;

  /* 形状与节奏 */
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  --wrap: 1180px;
  --header-h: 68px;

  /* 系统字体栈（不引外部字体） */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC",
    Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas,
    "Liberation Mono", monospace;
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

h3 {
  font-size: 1.125rem;
}

p {
  margin: 0 0 1em;
}

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

a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

li + li {
  margin-top: 0.35em;
}

img,
svg {
  max-width: 100%;
}

code,
kbd,
pre {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* 跳到主内容（键盘用户） */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius);
  font-weight: 600;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 布局 ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.section--tight {
  padding: clamp(1.75rem, 3vw, 2.75rem) 0;
}

.section--alt {
  background: linear-gradient(180deg, var(--bg-deep), #121212 60%, var(--bg));
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--muted);
  margin-bottom: 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--muted);
}

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

.dim {
  color: var(--dim);
}

.small {
  font-size: 0.875rem;
}

.mono {
  font-family: var(--font-mono);
}

.center {
  text-align: center;
}

/* ---------- 页头 / 导航 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 14, 14, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(14, 14, 14, 0.97);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  flex: 0 0 auto;
}

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

.brand-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--dim);
  border-left: 1px solid var(--border-strong);
  padding-left: 10px;
}

.nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

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

.nav-list a[aria-current="page"] {
  color: var(--text);
  background: var(--card);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.nav-list .btn {
  margin-left: 8px;
}

/* 汉堡按钮（移动端） */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--border-strong);
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  border-radius: 2px;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bar::before {
  transform: translateY(-6px);
}

.nav-toggle-bar::after {
  transform: translateY(4px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translateY(-2px) rotate(-45deg);
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    transform 0.1s ease;
}

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

.btn:active {
  transform: translateY(0);
}

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

.btn-primary:hover {
  background: var(--accent-strong);
  color: var(--accent-ink);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--card);
  border-color: var(--accent);
  color: var(--text);
}

.btn-rec {
  background: var(--rec);
  color: #140505;
}

.btn-rec:hover {
  background: #ee6b64;
  color: #140505;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: -30% 30% auto -20%;
  height: 520px;
  background: radial-gradient(
    closest-side,
    rgba(77, 163, 255, 0.16),
    transparent 70%
  );
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.hero h1 .h1-accent {
  color: var(--accent);
}

.hero .lead {
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.75rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  margin: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font-size: 0.8rem;
}

.badge strong {
  color: var(--text);
  font-weight: 600;
}

/* 应用界面示意（SVG 容器） */
.app-mock {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-deep);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.app-mock svg {
  display: block;
  width: 100%;
  height: auto;
}

.app-mock-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  background: var(--card);
  color: var(--dim);
  font-size: 0.78rem;
}

/* ---------- 卡片与网格 ---------- */

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.card:hover {
  border-color: var(--border-strong);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.75rem;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}

.icon svg {
  width: 20px;
  height: 20px;
}

.icon--rec {
  background: var(--rec-soft);
  color: var(--rec);
}

/* 带勾的清单 */
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.check-list li:last-child {
  margin-bottom: 0;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
  content: "";
}

.check-list strong {
  color: var(--text);
  font-weight: 600;
}

/* 统计条 */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
  overflow: hidden;
}

.stat {
  padding: 1.25rem 1.5rem;
  background: var(--card);
}

.stat b {
  display: block;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.25;
  margin-bottom: 2px;
}

.stat span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- 步骤 ---------- */

.steps {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps > li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 3.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  counter-increment: step;
}

.steps > li::before {
  position: absolute;
  left: 1.25rem;
  top: 1.2rem;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  content: counter(step);
}

.steps > li h3 {
  margin-bottom: 0.35rem;
}

.steps > li p:last-child {
  margin-bottom: 0;
}

/* ---------- 表格 ---------- */

.table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  background: var(--card);
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  min-width: 560px;
}

table.data caption {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: left;
}

table.data th,
table.data td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

table.data thead th {
  background: var(--card-raised);
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

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

table.data tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

table.data td code {
  padding: 1px 6px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--bg-deep);
  color: var(--text);
  white-space: nowrap;
}

/* ---------- 价格 ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.plan--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft) inset, var(--shadow);
}

.plan-tag {
  align-self: flex-start;
  margin-bottom: 0.75rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
}

.plan h2,
.plan h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.plan-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.1rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 0.25rem;
}

.plan-price b {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.plan-price span {
  color: var(--muted);
  font-size: 0.9rem;
}

.plan-note {
  color: var(--dim);
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
}

.plan-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
}

.plan-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.plan-list li::before {
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
  content: "";
}

.plan-cta {
  margin-top: auto;
}

/* ---------- 提示 / 说明块 ---------- */

.callout {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--muted);
  font-size: 0.94rem;
}

.callout strong {
  color: var(--text);
}

.callout--warn {
  border-left-color: var(--warn);
}

.callout p:last-child {
  margin-bottom: 0;
}

/* ---------- 代码块 ---------- */

.code-block {
  position: relative;
  margin: 0 0 1rem;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre;
}

.code-inline {
  padding: 1px 6px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.88em;
  white-space: nowrap;
}

.code-copy {
  position: absolute;
  top: 8px;
  right: 8px;
}

.code-host {
  position: relative;
}

/* ---------- 表单 ---------- */

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.field .hint {
  margin-top: 6px;
  color: var(--dim);
  font-size: 0.82rem;
}

.input,
.textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--dim);
}

.input:focus,
.textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

.form-row > .field {
  flex: 1 1 240px;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}

.faq details[open] {
  border-color: var(--border-strong);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
  list-style: none;
}

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

.faq summary::after {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
  content: "";
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.faq summary:hover {
  background: var(--card-raised);
}

.faq-body {
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.faq-body p:last-child,
.faq-body ul:last-child {
  margin-bottom: 0;
}

/* ---------- 状态页 ---------- */

.status-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
  overflow: hidden;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  padding: 14px 18px;
  background: var(--card);
}

.status-row h3 {
  margin: 0;
  font-size: 1rem;
}

.status-row .status-target {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.status-row .pill {
  margin-left: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg-deep);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.pill::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.pill--ok {
  border-color: rgba(70, 192, 122, 0.5);
  color: var(--ok);
}

.pill--warn {
  border-color: rgba(224, 163, 63, 0.5);
  color: var(--warn);
}

.pill--err {
  border-color: rgba(224, 86, 79, 0.5);
  color: var(--rec);
}

.pill--idle {
  color: var(--dim);
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 90;
  max-width: min(92vw, 460px);
  padding: 12px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--card-raised);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 0.9rem;
  transform: translate(-50%, 16px);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- 页脚 ---------- */

.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  max-width: 34ch;
  color: var(--dim);
}

.footer-col h4 {
  margin-bottom: 0.75rem;
  color: var(--text);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

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

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-size: 0.82rem;
}

.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom li {
  margin: 0;
}

/* 文档页正文（条款类长文） */
.prose {
  max-width: 820px;
}

.prose h2 {
  margin-top: 2.25rem;
}

.prose h3 {
  margin-top: 1.5rem;
}

.prose ul,
.prose ol {
  color: var(--muted);
}

.prose p {
  color: var(--muted);
}

.prose strong {
  color: var(--text);
}

.prose .updated {
  color: var(--dim);
  font-size: 0.85rem;
}

/* ---------- 滚动淡入（仅在 JS 可用时隐藏） ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1000px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-mock {
    order: 2;
  }

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

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan--featured {
    grid-column: span 2;
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    margin: 0;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-deep);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-list a {
    padding: 12px 14px;
    font-size: 1rem;
  }

  .nav-list .btn {
    margin: 8px 0 0;
  }

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

  .brand-sub {
    display: none;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .grid-3,
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan--featured {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .steps > li {
    padding: 1.1rem 1.1rem 1.1rem 3.25rem;
  }

  .steps > li::before {
    left: 1rem;
  }

  .section {
    padding-block: 2.25rem;
  }

  .app-mock-caption {
    font-size: 0.72rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* 打印：去掉装饰，保证条款可导出 PDF */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .hero::before,
  .app-mock {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  a {
    color: #111;
  }
}

.history-list { display: grid; gap: 6px; }
.history-row { display: flex; gap: 10px; align-items: baseline; padding: 8px 12px; background: #1E1E1E; border: 1px solid #2A2A2A; border-radius: 6px; }
.history-row a { color: #4DA3FF; text-decoration: none; font-family: ui-monospace, Consolas, monospace; }
.history-row a:hover { text-decoration: underline; }
