/* 儿孙福 官网样式
 *
 * 设计约束（与项目其它部分一致）：
 *   1. 零外部依赖：不引任何 CDN、字体、统计脚本，全部资源同源。
 *   2. 只用稳定语法：不用 CSS 嵌套 / :has()，因为家长可能用较老的 Android WebView 打开。
 *   3. 暖阳光亲子风：暖橙 + 奶白 + 大圆角卡片，夜里看着不刺眼，白天看着不冷淡。
 *   4. 不假装：所有数字能力都在页面上有据可查（见 index.html 的「能力真相」表）。
 */

/* ── 设计令牌 ───────────────────────────────────────────── */
:root {
  /* 主色：日出橙 */
  --sun-50: #fff9f3;
  --sun-100: #fff0e2;
  --sun-200: #ffdfc2;
  --sun-300: #ffc694;
  --sun-400: #ffa557;
  --sun-500: #ff8a1f;
  --sun-600: #ef7307;
  --sun-700: #c15705;

  /* 辅色：叶子绿（成功/已就绪）+ 天空蓝（说明/隐私）。都只做点缀。 */
  --leaf-50: #edfaf3;
  --leaf-500: #17a06a;
  --leaf-700: #0f7a50;
  --sky-50: #f1f6ff;
  --sky-200: #cbdcff;
  --sky-700: #1d4ed8;

  /* 文字与线条：暖灰，不用纯黑 */
  --ink-900: #241a12;
  --ink-800: #33261b;
  --ink-700: #4c3a2b;
  --ink-600: #6b5647;
  --ink-500: #8a7565;
  --ink-400: #a99a8c;
  --line: #f0e4d7;
  --line-strong: #e4d3c0;

  --page: #fffbf6;
  --surface: #ffffff;
  --surface-warm: #fffdfa;

  --shadow-sm: 0 1px 2px rgba(74, 44, 16, 0.04), 0 4px 12px -8px rgba(120, 70, 20, 0.16);
  --shadow-md: 0 2px 4px rgba(74, 44, 16, 0.05), 0 18px 40px -22px rgba(120, 70, 20, 0.28);
  --shadow-lg: 0 4px 8px rgba(74, 44, 16, 0.06), 0 34px 70px -30px rgba(120, 70, 20, 0.34);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container: 1160px;
  --gutter: clamp(18px, 4vw, 32px);

  /* 系统中文字体栈：不下载字体，首屏不为字体付字节 */
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei UI",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei",
    system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* ── 基础 ───────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink-700);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--sun-600);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink-900);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 800;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--sun-500);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--sun-200);
  color: var(--ink-900);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  z-index: 100;
  background: var(--ink-900);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

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

/* ── 顶栏 ───────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 246, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.topbar.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -22px rgba(120, 70, 20, 0.5);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-900);
  font-weight: 800;
  letter-spacing: -0.01em;
  flex: 0 0 auto;
}

.brand:hover {
  color: var(--ink-900);
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 8px rgba(239, 115, 7, 0.28));
}

.brand__name {
  font-size: 17.5px;
  line-height: 1.1;
}

.brand__sub {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-400);
  letter-spacing: 0.14em;
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  color: var(--ink-600);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease;
}

.nav a:hover {
  background: var(--sun-100);
  color: var(--sun-700);
}

.nav a.is-active {
  color: var(--sun-700);
  background: var(--sun-100);
}

.topbar__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-800);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-toggle__close {
  display: none;
}

.topbar.is-open .nav-toggle__open {
  display: none;
}

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

/* ── 按钮 ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1;
  padding: 13px 22px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease,
    border-color 0.16s ease, color 0.16s ease;
  text-decoration: none;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn--primary {
  background: linear-gradient(180deg, var(--sun-500) 0%, var(--sun-600) 100%);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(239, 115, 7, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn--primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -14px rgba(239, 115, 7, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn--ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink-800);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  color: var(--ink-900);
  border-color: var(--sun-300);
  background: var(--sun-50);
  transform: translateY(-1px);
}

.btn--quiet {
  background: transparent;
  color: var(--ink-700);
  padding: 10px 14px;
}

.btn--quiet:hover {
  background: var(--sun-100);
  color: var(--sun-700);
}

.btn--lg {
  font-size: 17px;
  padding: 16px 30px;
}

.btn--sm {
  font-size: 14.5px;
  padding: 10px 16px;
}

.btn--block {
  width: 100%;
}

/* ── 首屏 ───────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(44px, 7vw, 84px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: -320px -220px auto auto;
  width: 860px;
  height: 860px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 165, 87, 0.42) 0%, rgba(255, 214, 160, 0.22) 42%, rgba(255, 251, 246, 0) 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--sun-200);
  color: var(--sun-700);
  border-radius: 999px;
  padding: 7px 14px 7px 11px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun-500);
  box-shadow: 0 0 0 4px rgba(255, 138, 31, 0.16);
}

.hero h1 {
  margin: 20px 0 0;
  font-size: clamp(30px, 4.9vw, 52px);
  line-height: 1.16;
}

.hero h1 em {
  font-style: normal;
  color: var(--sun-600);
}

.hero__lead {
  margin-top: 20px;
  font-size: clamp(16.5px, 1.6vw, 18.5px);
  color: var(--ink-600);
  max-width: 34em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-500);
}

.hero__note strong {
  color: var(--ink-700);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px dashed var(--line-strong);
  font-size: 14.5px;
  color: var(--ink-600);
}

.hero__facts li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero__facts svg {
  width: 17px;
  height: 17px;
  color: var(--leaf-500);
  flex: 0 0 auto;
}

/* 首屏视觉：浏览器窗口 + 手机，都套真截图 */
.hero__art {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.window {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdfa 0%, #fff7ef 100%);
}

.window__dots {
  display: flex;
  gap: 6px;
}

.window__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}

.window__dots i:first-child {
  background: #ffbfa8;
}

.window__dots i:nth-child(2) {
  background: #ffdfa8;
}

.window__dots i:nth-child(3) {
  background: #bfe6c9;
}

.window__url {
  flex: 1;
  min-width: 0;
  background: var(--sun-50);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shot {
  margin: 0;
}

.shot img {
  width: 100%;
  height: auto;
  background: var(--sun-50);
}

/* 首屏大图：用固定比例裁切，只露最有信息量的那一段 */
.shot--hero img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: left top;
}

.hero__phone {
  position: absolute;
  right: -6px;
  bottom: -38px;
  width: 27%;
  max-width: 190px;
  min-width: 128px;
  border-radius: 26px;
  border: 6px solid #2c2018;
  background: #2c2018;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero__phone img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  aspect-ratio: 9 / 18;
  object-fit: cover;
  object-position: top center;
}

.hero__phone-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 42%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  z-index: 2;
}

/* ── 通用区块 ───────────────────────────────────────────── */
.section {
  padding: clamp(58px, 8vw, 104px) 0;
}

.section--tight {
  padding: clamp(44px, 6vw, 76px) 0;
}

.section--warm {
  background: linear-gradient(180deg, var(--sun-50) 0%, rgba(255, 249, 243, 0.35) 100%);
  border-block: 1px solid var(--line);
}

.section--ink {
  background: radial-gradient(120% 120% at 12% 0%, #36271b 0%, #241a12 55%, #1d150f 100%);
  color: #e8dcd0;
}

.section--ink h2,
.section--ink h3 {
  color: #fff;
}

.section--ink .lead {
  color: #c9b8a7;
}

.section__head {
  max-width: 46em;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--sun-600);
  text-transform: uppercase;
}

.section--ink .eyebrow {
  color: var(--sun-300);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.6;
}

.section__head h2 {
  margin-top: 14px;
  font-size: clamp(25px, 3.4vw, 38px);
  line-height: 1.24;
}

.lead {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-600);
}

.section--ink .lead a {
  color: var(--sun-300);
}

/* ── 数字条 ─────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(34px, 5vw, 52px);
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  box-shadow: var(--shadow-sm);
}

.stat__num {
  font-size: clamp(24px, 2.6vw, 31px);
  font-weight: 800;
  color: var(--sun-600);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stat__num small {
  font-size: 0.5em;
  font-weight: 700;
  color: var(--ink-500);
  margin-left: 3px;
  letter-spacing: 0;
}

.stat__label {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--ink-600);
}

/* ── 卡片网格 ───────────────────────────────────────────── */
.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--sun-100) 0%, var(--sun-200) 100%);
  color: var(--sun-700);
  margin-bottom: 16px;
}

.card__icon svg {
  width: 23px;
  height: 23px;
}

.card h3 {
  font-size: 18.5px;
}

.card p {
  margin-top: 10px;
  font-size: 15.5px;
  color: var(--ink-600);
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--sun-50);
  border: 1px solid var(--sun-200);
  color: var(--sun-700);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12.5px;
  font-weight: 700;
}

.tag--leaf {
  background: var(--leaf-50);
  border-color: #c7ead9;
  color: var(--leaf-700);
}

.tag--ink {
  background: var(--surface-warm);
  border-color: var(--line-strong);
  color: var(--ink-600);
}

/* 痛点：左侧大标题 + 右侧对话式清单 */
.pains {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pain {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sun-300);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}

.pain__quote {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-900);
}

.pain__body {
  margin-top: 8px;
  font-size: 15.5px;
  color: var(--ink-600);
}

/* ── 步骤 ───────────────────────────────────────────────── */
.steps {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px 22px;
  box-shadow: var(--shadow-sm);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 22px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--sun-500) 0%, var(--sun-600) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 10px 20px -12px rgba(239, 115, 7, 0.9);
}

.step h3 {
  font-size: 17.5px;
  margin-top: 14px;
}

.step p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink-600);
}

.step__meta {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-500);
  background: var(--sun-50);
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  padding: 8px 10px;
  word-break: break-all;
}

/* ── 能力真相矩阵 ───────────────────────────────────────── */
.matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

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

table.matrix caption {
  text-align: left;
  padding: 18px 22px 0;
  font-size: 14px;
  color: var(--ink-500);
}

table.matrix th,
table.matrix td {
  padding: 14px 18px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

table.matrix thead th {
  position: sticky;
  top: 0;
  background: var(--sun-50);
  color: var(--ink-800);
  font-size: 14.5px;
  border-bottom: 1px solid var(--line-strong);
}

table.matrix thead th:first-child {
  text-align: left;
}

table.matrix thead th small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-500);
}

table.matrix th[scope="row"] {
  text-align: left;
  font-weight: 700;
  color: var(--ink-800);
}

table.matrix th[scope="row"] small {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-500);
}

table.matrix tbody tr:last-child th,
table.matrix tbody tr:last-child td {
  border-bottom: 0;
}

table.matrix tbody tr:hover th,
table.matrix tbody tr:hover td {
  background: var(--sun-50);
}

.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
}

.mark--yes {
  color: var(--leaf-700);
}

.mark--no {
  color: var(--ink-400);
}

.mark--part {
  color: var(--sun-700);
}

.mark svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

/* 窄屏上这张表要横向滑动：第一列钉住，滑动时仍然知道在看哪一项能力。 */
.matrix-hint {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-500);
}

.matrix-hint svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--sun-500);
}

@media (max-width: 860px) {
  .matrix-hint {
    display: flex;
  }

  table.matrix th[scope="row"] {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--surface);
    box-shadow: 1px 0 0 var(--line);
  }

  table.matrix thead th:first-child {
    left: 0;
    z-index: 2;
  }

  table.matrix tbody tr:hover th[scope="row"] {
    background: var(--sun-50);
  }
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-600);
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.note {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--sky-200);
  background: var(--sky-50);
  color: var(--ink-700);
  font-size: 15.5px;
}

.note--warn {
  border-color: var(--sun-200);
  background: var(--sun-50);
}

.note__icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  color: var(--sky-700);
  margin-top: 2px;
}

.note--warn .note__icon {
  color: var(--sun-600);
}

.note strong {
  color: var(--ink-900);
}

.note p + p {
  margin-top: 10px;
}

.section--ink .note {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #d8c9ba;
}

.section--ink .note strong {
  color: #fff;
}

.section--ink .note__icon {
  color: var(--sun-300);
}

/* ── 价格 ───────────────────────────────────────────────── */
.price {
  display: flex;
  flex-direction: column;
}

.price--main {
  border-color: var(--sun-300);
  background: linear-gradient(180deg, #fffdfa 0%, #fff7ee 100%);
  box-shadow: var(--shadow-md);
}

.price__tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(180deg, var(--sun-500) 0%, var(--sun-600) 100%);
  color: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.price__tag--quiet {
  background: var(--sun-100);
  color: var(--sun-700);
}

.price__amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
}

.price__num {
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--sun-600);
}

.price__num--text {
  font-size: clamp(28px, 3.2vw, 36px);
}

.price__unit {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-600);
}

.price__sub {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--ink-500);
}

.price__body {
  margin-top: 14px;
  font-size: 15.5px;
  color: var(--ink-600);
}

.price__list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.price__list li {
  display: flex;
  gap: 9px;
  font-size: 15.5px;
  color: var(--ink-600);
}

.price__list svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--leaf-500);
}

.price .btn {
  margin-top: 22px;
}

.price__foot {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-500);
}

/* ── 界面画廊 ───────────────────────────────────────────── */
.gallery {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery__item img {
  width: 100%;
  /* height:auto 不能省：HTML 上的 height 属性是一条 presentational hint，
     不写它就等于给图片钉死了原始像素高度，aspect-ratio 与 object-fit 全部失效
     （表现是截图被放大到 1:1 只看得到左上角一块）。 */
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border-bottom: 1px solid var(--line);
  background: var(--sun-50);
}

.gallery__item figcaption {
  padding: 16px 20px 18px;
}

.gallery__item h3 {
  font-size: 16.5px;
}

.gallery__item p {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--ink-600);
}

.gallery__item--tall img {
  aspect-ratio: 4 / 5;
}

/* ── FAQ ────────────────────────────────────────────────── */
.faq {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

details.qa {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 20px;
  box-shadow: var(--shadow-sm);
}

details.qa[open] {
  border-color: var(--sun-200);
  background: var(--surface-warm);
}

details.qa summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-900);
}

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

details.qa summary::after {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin: 9px 2px 0 auto;
  border-right: 2.5px solid var(--sun-500);
  border-bottom: 2.5px solid var(--sun-500);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

details.qa[open] summary::after {
  transform: rotate(-135deg);
}

details.qa .qa__body {
  padding: 0 0 20px;
  font-size: 15.5px;
  color: var(--ink-600);
}

details.qa .qa__body p + p {
  margin-top: 10px;
}

details.qa .qa__body ul {
  margin-top: 10px;
  display: grid;
  gap: 7px;
}

details.qa .qa__body li {
  position: relative;
  padding-left: 18px;
}

details.qa .qa__body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sun-400);
}

/* ── 结尾行动 ───────────────────────────────────────────── */
.finale {
  position: relative;
  overflow: hidden;
}

.finale__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.finale__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.qr-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
}

.qr-card__img {
  background: #fff;
  border-radius: var(--radius);
  padding: 12px;
  margin: 0 auto;
  width: 180px;
}

.qr-card__img img {
  width: 100%;
  height: auto;
}

.qr-card p {
  margin-top: 14px;
  font-size: 14.5px;
  color: #d8c9ba;
  line-height: 1.65;
}

.qr-card strong {
  color: #fff;
}

.qr-card__url {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #b8a696;
  word-break: break-all;
}

/* ── 页脚 ───────────────────────────────────────────────── */
.footer {
  background: var(--sun-50);
  border-top: 1px solid var(--line);
  padding: clamp(40px, 5vw, 60px) 0 28px;
  font-size: 15px;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer h4 {
  font-size: 15px;
  color: var(--ink-800);
  margin-bottom: 12px;
}

.footer ul {
  display: grid;
  gap: 9px;
}

.footer a {
  color: var(--ink-600);
}

.footer a:hover {
  color: var(--sun-700);
}

.footer__brand p {
  margin-top: 14px;
  color: var(--ink-600);
  font-size: 14.5px;
  max-width: 30em;
}

.footer__bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: space-between;
  color: var(--ink-500);
  font-size: 13.5px;
}

.footer__bottom p {
  margin: 0;
}

.footer__bottom--stack {
  align-items: flex-start;
}

/* 页脚备案号曾经用 .footer__pending 标成暖色（提示「部署前替换」）。
   2026-10-15 三个页面都填上真号之后这个类没有任何使用者，规则一并删掉；
   再出现占位时不要靠改颜色提醒——check-site.mjs 的「提醒」列表才是会被看见的那条路。 */

/* ── 合规页（隐私政策 / 用户协议） ──────────────────────── */
.doc-hero {
  padding: clamp(36px, 5vw, 64px) 0 clamp(20px, 3vw, 32px);
  background: linear-gradient(180deg, var(--sun-50) 0%, var(--page) 100%);
  border-bottom: 1px solid var(--line);
}

.doc-hero h1 {
  font-size: clamp(26px, 3.6vw, 40px);
}

.doc-hero__meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 14.5px;
  color: var(--ink-500);
}

.doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  padding: clamp(32px, 4vw, 56px) 0 clamp(56px, 7vw, 88px);
  align-items: start;
}

.toc {
  position: sticky;
  top: 92px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  font-size: 14.5px;
}

.toc h2 {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--ink-500);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.toc ol {
  counter-reset: toc;
  display: grid;
  gap: 8px;
}

.toc a {
  color: var(--ink-600);
  display: block;
}

.toc a:hover {
  color: var(--sun-700);
}

.doc {
  min-width: 0;
  max-width: 44em;
}

.doc h2 {
  font-size: clamp(20px, 2.2vw, 24px);
  margin-top: 42px;
  padding-top: 6px;
  scroll-margin-top: 96px;
}

.doc h2:first-child {
  margin-top: 0;
}

.doc h3 {
  font-size: 17.5px;
  margin-top: 26px;
}

.doc p,
.doc li {
  font-size: 15.8px;
  color: var(--ink-600);
}

.doc p {
  margin-top: 12px;
}

.doc ul,
.doc ol.doc-list {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.doc ul li {
  position: relative;
  padding-left: 20px;
}

.doc ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sun-400);
}

.doc ol.doc-list {
  counter-reset: doclist;
  padding-left: 0;
}

.doc ol.doc-list > li {
  position: relative;
  padding-left: 30px;
  counter-increment: doclist;
}

.doc ol.doc-list > li::before {
  content: counter(doclist) ".";
  position: absolute;
  left: 4px;
  top: 0;
  font-weight: 700;
  color: var(--sun-600);
}

.doc strong {
  color: var(--ink-800);
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--sun-50);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  color: var(--ink-800);
  word-break: break-all;
}

.doc a {
  text-decoration: underline;
  text-decoration-color: var(--sun-200);
  text-underline-offset: 3px;
}

.doc__callout {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--sun-50);
  border: 1px dashed var(--line-strong);
  font-size: 15px;
  color: var(--ink-600);
}

.doc__callout strong {
  color: var(--ink-900);
}

.doc__tldr {
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--sun-200);
  box-shadow: var(--shadow-sm);
}

.doc__tldr h2 {
  margin: 0 0 12px;
  font-size: 17px;
}

.doc__tldr ul {
  margin: 0;
}

.doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* ── 动效 ───────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

/* 没有 JS 时不能把内容藏起来：<html> 上的 no-js 由内联脚本立刻摘掉 */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

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

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

  .btn,
  .card,
  .gallery__item {
    transition: none;
  }
}

/* ── 响应式 ─────────────────────────────────────────────── */
@media (hover: hover) {
  .card:hover,
  .gallery__item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--sun-200);
  }

  .stat:hover {
    border-color: var(--sun-200);
  }
}

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

  .hero__art {
    order: 2;
  }

  .hero__phone {
    right: 4px;
    bottom: -30px;
    width: 24%;
  }

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

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
  }

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

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

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

  .toc {
    position: static;
  }
}

@media (max-width: 1000px) {
  /* 顶栏：六个导航项 + 两个按钮在 1000px 以下就摆不下了（实测 861px 时会溢出 39px），
     所以这里就收成汉堡菜单，比按 860px 断点更早、更稳。 */
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px var(--gutter) 18px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .topbar.is-open .nav {
    display: flex;
  }

  .nav a {
    font-size: 16px;
    padding: 12px 14px;
  }

  /* 抽屉里已经有「登录 / 注册」了，顶栏那个文字按钮就不必再占位置 */
  .topbar__cta .btn--quiet {
    display: none;
  }
}

@media (max-width: 860px) {
  body {
    font-size: 16px;
  }

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

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

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

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

  .qr-card {
    justify-self: start;
    width: 100%;
    max-width: 320px;
  }

  .hero__phone {
    position: relative;
    right: auto;
    bottom: auto;
    width: 42%;
    max-width: 168px;
    margin: -34px auto 0;
  }
}

@media (max-width: 560px) {
  .grid,
  .grid--2,
  .grid--4,
  .steps,
  .stats,
  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__actions .btn {
    width: 100%;
  }

  .card,
  .step {
    padding: 22px 20px;
  }

  .footer__bottom {
    flex-direction: column;
  }
}

/* ── 打印（有人会把隐私政策打出来存档） ─────────────────── */
@media print {
  .topbar,
  .footer__grid,
  .toc,
  .doc-nav,
  .finale__actions,
  .qr-card {
    display: none;
  }

  body {
    background: #fff;
    font-size: 12pt;
  }

  .doc {
    max-width: none;
  }

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