/* ==========================================================================
   拾光集 · Lumina — 首页样式
   深色电影感 / 暖金点缀 / 自托管生活记录合集
   ========================================================================== */

/* ── tokens ─────────────────────────────────────────────── */
:root {
  --bg: #0a0908;
  --bg-raise: #100e0c;
  --paper: #f3ece2;
  --paper-dim: #cdc3b6;
  --muted: #948a7e;
  --gold: #e8b473;
  --gold-hi: #f7d9a9;
  --gold-deep: #c2884a;
  --line: rgba(243, 236, 226, 0.1);
  --line-strong: rgba(243, 236, 226, 0.18);
  --panel: rgba(255, 248, 238, 0.035);
  --radius: 18px;
  --wrap: 1180px;
  --font-display: "Source Han Serif SC", "Noto Serif SC", "Songti SC", STSong, SimSun, "Times New Roman", serif;
  --font-body: "Inter", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background:
    radial-gradient(1200px 680px at 50% -8%, rgba(232, 180, 115, 0.14), transparent 62%),
    radial-gradient(900px 520px at 88% 24%, rgba(190, 120, 78, 0.07), transparent 64%),
    radial-gradient(900px 600px at 8% 62%, rgba(150, 100, 70, 0.05), transparent 66%),
    var(--bg);
  color: var(--paper-dim);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; color: var(--paper); font-weight: 600; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
svg { flex: none; }
::selection { background: rgba(232, 180, 115, 0.28); color: #fff; }

:focus-visible {
  outline: 2px solid rgba(232, 180, 115, 0.7);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ── atmospheric layers ─────────────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.beam {
  position: fixed;
  top: -22vh;
  left: 50%;
  width: 130vw;
  height: 72vh;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background: radial-gradient(closest-side, rgba(232, 180, 115, 0.16), transparent 72%);
}

main, footer { position: relative; z-index: 2; }
.nav { position: fixed; inset: 0 0 auto; z-index: 50; }

/* ── layout helpers ─────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px 2px rgba(232, 180, 115, 0.55);
}

.section {
  position: relative;
  padding: clamp(72px, 9vw, 126px) 0;
  scroll-margin-top: 90px;
}
.section + .section { padding-top: clamp(48px, 6vw, 80px); }

/* ── buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }

.btn-primary {
  background: linear-gradient(180deg, #f6d3a0, #e3a961);
  color: #221505;
  box-shadow: 0 12px 34px -14px rgba(232, 180, 115, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px -16px rgba(232, 180, 115, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--paper);
}
.btn-ghost:hover {
  border-color: rgba(232, 180, 115, 0.4);
  background: rgba(232, 180, 115, 0.07);
  transform: translateY(-2px);
}
.btn-quiet { color: var(--paper-dim); padding: 0 10px; }
.btn-quiet:hover { color: var(--paper); }
.btn-ico { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ── nav ────────────────────────────────────────────────── */
.nav-inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  height: 74px;
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  pointer-events: none;
}
.nav.is-scrolled::before {
  background: rgba(10, 9, 8, 0.72);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
}
.nav-inner, .nav-mobile { position: relative; z-index: 2; }

.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: 30px; height: 30px; color: var(--gold); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text b {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.15;
  color: var(--paper);
}
.brand-text i {
  display: block;
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.34em;
  color: var(--muted);
  margin-top: 1px;
}

.nav-links { display: flex; gap: clamp(14px, 2.2vw, 28px); }
.nav-links a {
  position: relative;
  font-size: 13.5px;
  color: var(--paper-dim);
  padding: 4px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.3s var(--ease);
}
.nav-links a:hover { color: var(--paper); }
.nav-links a:hover::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: 6px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 16px;
  height: 1.5px;
  background: var(--paper);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.nav-mobile {
  display: grid;
  gap: 2px;
  padding: 6px clamp(18px, 4vw, 40px) 22px;
  background: rgba(10, 9, 8, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile > a { padding: 11px 0; font-size: 14.5px; color: var(--paper-dim); border-bottom: 1px solid rgba(243, 236, 226, 0.06); }
.nav-mobile-actions { display: flex; gap: 8px; padding-top: 14px; }

/* ── hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(122px, 17vh, 186px) 0 clamp(56px, 7vw, 88px);
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -34vw;
  left: 50%;
  width: min(1500px, 160vw);
  aspect-ratio: 1.6;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(232, 180, 115, 0.2), rgba(232, 180, 115, 0.05) 55%, transparent 76%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }

.hero h1 {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5.6vw, 4.05rem);
  line-height: 1.28;
  letter-spacing: 0.01em;
  font-weight: 600;
}
.hero h1 .accent {
  background: linear-gradient(104deg, #f9e2bd 8%, #e8b473 46%, #c88c4d 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 12px 40px rgba(232, 180, 115, 0.22));
}

.hero-lead {
  width: 100%;
  margin: 22px auto 0;
  max-width: 620px;
  font-size: clamp(14.5px, 1.5vw, 17px);
  line-height: 1.95;
  color: var(--paper-dim);
}

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--muted);
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fc9a0;
  box-shadow: 0 0 0 3px rgba(143, 201, 160, 0.14);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

.hero-frame { position: relative; width: 100%; max-width: 1040px; margin: 46px auto 0; }
.hero-frame::before {
  content: "";
  position: absolute;
  inset: -12% -6% -18%;
  background: radial-gradient(closest-side, rgba(232, 180, 115, 0.16), transparent 74%);
  filter: blur(16px);
  z-index: 0;
  pointer-events: none;
}
.hero-frame .window { position: relative; z-index: 1; }

/* ── window / stage ─────────────────────────────────────── */
.window {
  border: 1px solid rgba(243, 236, 226, 0.13);
  border-radius: 16px;
  overflow: hidden;
  background: #0b0a0d;
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 36px;
  padding: 0 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border-bottom: 1px solid rgba(243, 236, 226, 0.08);
}
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(243, 236, 226, 0.16); }
.win-dots i:first-child { background: rgba(232, 180, 115, 0.55); }
.win-url {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #8c847a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.win-meta { font-family: var(--font-mono); font-size: 10px; color: #6f6860; white-space: nowrap; }

.stage-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0b0a0d;
}
.stage-sizer { position: relative; margin: 0 auto; }
.stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 960px;
  height: 600px;
  transform-origin: top left;
  will-change: transform;
}

/* ── stats ──────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 3vw, 26px);
  width: 100%;
  max-width: 860px;
  margin: 46px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  margin-bottom: 0;
}
.stats div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stats dt {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.stats dt i { font-style: normal; font-size: 0.62em; color: var(--gold); margin-left: 1px; }
.stats dd { font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }

/* ── section head ───────────────────────────────────────── */
.sec-head { display: grid; gap: 13px; margin-bottom: clamp(28px, 4vw, 46px); }
.sec-num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.sec-num::after {
  content: "";
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.3vw, 2.7rem);
  line-height: 1.32;
  letter-spacing: 0.01em;
}
.sec-lead { max-width: 62ch; font-size: 14.5px; color: var(--muted); line-height: 1.85; }

/* ── module cards ───────────────────────────────────────── */
.mod-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.mod-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 20px 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.042), rgba(255, 250, 242, 0.012));
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s, background 0.35s;
}
.mod-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  opacity: 0.7;
}
.mod-card:hover,
.mod-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(232, 180, 115, 0.34);
  background: linear-gradient(180deg, rgba(232, 180, 115, 0.09), rgba(255, 250, 242, 0.015));
  box-shadow: 0 24px 50px -34px rgba(0, 0, 0, 0.9);
}
.mod-card.is-live {
  border-color: rgba(232, 180, 115, 0.5);
  background: linear-gradient(180deg, rgba(232, 180, 115, 0.12), rgba(232, 180, 115, 0.02));
  box-shadow: 0 26px 60px -40px rgba(232, 180, 115, 0.6);
}
.mod-card.is-live::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, var(--gold-hi), rgba(232, 180, 115, 0.2));
  animation: livebar 5s linear;
}
@keyframes livebar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.mod-idx {
  position: absolute;
  top: 15px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: #6b645b;
}
.mod-ico {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 3px;
  border: 1px solid rgba(232, 180, 115, 0.16);
  border-radius: 11px;
  background: rgba(232, 180, 115, 0.08);
  color: var(--gold);
  transition: background 0.3s, border-color 0.3s;
}
.mod-ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mod-card:hover .mod-ico { background: rgba(232, 180, 115, 0.15); border-color: rgba(232, 180, 115, 0.3); }
.mod-card h3 { font-size: 15.5px; letter-spacing: 0.02em; }
.mod-card p { font-size: 12.3px; line-height: 1.7; color: var(--muted); }
.mod-go {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 4px;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.mod-go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mod-card:hover .mod-go, .mod-card.is-live .mod-go { opacity: 1; transform: none; }

/* ── preview section ────────────────────────────────────── */
.preview-grid {
  display: grid;
  grid-template-columns: 194px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.preview-tabs { display: flex; flex-direction: column; gap: 2px; }
.ptab {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: none;
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.ptab span { width: 18px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; color: #625b53; }
.ptab:hover { color: var(--paper); background: rgba(255, 255, 255, 0.03); }
.ptab[aria-selected="true"] {
  color: var(--paper);
  background: linear-gradient(90deg, rgba(232, 180, 115, 0.14), rgba(232, 180, 115, 0.02));
  border-color: rgba(232, 180, 115, 0.22);
}
.ptab[aria-selected="true"] span { color: var(--gold); }
.ptab[aria-selected="true"]::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 180, 115, 0.16);
}

.preview-stage { min-width: 0; }
.stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding: 0 2px;
}
.stage-caption {
  min-height: 1.6em;
  font-size: 12.5px;
  color: var(--muted);
  transition: opacity 0.25s;
}
.stage-caption b { color: var(--paper-dim); font-weight: 500; }
.stage-ctrls { display: flex; align-items: center; gap: 10px; }
.stage-counter { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: #8c847a; }
.icon-btn {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  color: var(--paper-dim);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.icon-btn:hover { border-color: rgba(232, 180, 115, 0.4); background: rgba(232, 180, 115, 0.08); color: var(--gold); }
.icon-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#prevBtn svg { transform: rotate(180deg); }

/* ── phones ─────────────────────────────────────────────── */
.phones-block { margin-top: clamp(34px, 5vw, 52px); }
.phones-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.phones-head span { color: var(--paper-dim); }
.phones-head span::after { content: "·"; margin-left: 10px; color: #5c554d; }
.phones {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(232, 180, 115, 0.3) transparent;
}
.ph-wrap {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.ph {
  position: relative;
  width: 206px;
  padding: 7px;
  border: 1px solid rgba(243, 236, 226, 0.14);
  border-radius: 27px;
  background: linear-gradient(160deg, #16130f, #0a090c);
  box-shadow: 0 26px 60px -34px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.ph-wrap:hover .ph { transform: translateY(-4px); border-color: rgba(232, 180, 115, 0.35); }
.ph-screen {
  position: relative;
  height: 396px;
  display: flex;
  flex-direction: column;
  border-radius: 21px;
  overflow: hidden;
  background: #0b0a0e;
}
.ph-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  z-index: 3;
  width: 54px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #060507;
}
.ph-status {
  display: flex;
  justify-content: space-between;
  padding: 8px 13px 2px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  color: #cfc5b8;
}
.ph-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 6px 10px 10px; overflow: hidden; }
.ph-title { margin: 2px 0 1px; font-family: var(--font-display); font-size: 14px; color: #f4ebdd; }
.ph-sub { font-size: 7.5px; color: #7d766e; letter-spacing: 0.04em; }
.ph-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.ph-tile { padding: 6px 7px; border: 1px solid rgba(243, 236, 226, 0.08); border-radius: 8px; background: rgba(255, 255, 255, 0.025); }
.ph-tile b { display: block; font-size: 11px; color: #f4ebdd; line-height: 1.3; }
.ph-tile span { font-size: 6.8px; color: #7d766e; }
.ph-card { padding: 7px; border: 1px solid rgba(243, 236, 226, 0.08); border-radius: 8px; background: rgba(255, 255, 255, 0.025); }
.ph-card h4 { font-size: 8px; font-weight: 500; color: #cfc5b8; margin-bottom: 4px; }
.ph-row { display: flex; align-items: center; gap: 5px; padding: 2.5px 0; font-size: 7.5px; color: #b8afa3; }
.ph-cover { width: 14px; height: 19px; border-radius: 2.5px; flex: none; background: linear-gradient(150deg, #7a5432, #2a1d14); }
.ph-bar { height: 3px; border-radius: 2px; background: rgba(243, 236, 226, 0.08); overflow: hidden; }
.ph-bar i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #c2884a, #f3cd8c); }
.ph-nav {
  display: flex;
  justify-content: space-around;
  padding: 6px 4px 3px;
  border-top: 1px solid rgba(243, 236, 226, 0.06);
  font-size: 6.8px;
  color: #6f6860;
}
.ph-nav .on { color: #e8b473; }
.ph-cap { font-size: 11.5px; color: var(--muted); letter-spacing: 0.03em; }
.ph-wrap[aria-current="true"] .ph-cap { color: var(--paper); }

/* ── pwa band ───────────────────────────────────────────── */
.pwa-band {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
  margin-top: clamp(26px, 4vw, 40px);
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(560px 220px at 0% 0%, rgba(232, 180, 115, 0.12), transparent 72%),
    rgba(255, 255, 255, 0.02);
}
.pwa-copy h3 { margin: 9px 0 7px; font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.55rem); }
.pwa-copy p { max-width: 46ch; font-size: 13.3px; color: var(--muted); line-height: 1.8; }
.pwa-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.pwa-list li {
  display: grid;
  gap: 2px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}
.pwa-ico { color: var(--gold); margin-bottom: 6px; }
.pwa-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pwa-list b { font-size: 13.5px; color: var(--paper); font-weight: 600; }
.pwa-list li > span:last-child { font-size: 11.5px; color: var(--muted); }

/* ── why ────────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.why-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transition: border-color 0.3s, transform 0.35s var(--ease), background 0.3s;
}
.why-card:hover { transform: translateY(-3px); border-color: rgba(232, 180, 115, 0.28); }
.why-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; color: #6b645b; }
.why-ico {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin: 16px 0 14px;
  border: 1px solid rgba(232, 180, 115, 0.16);
  border-radius: 12px;
  background: rgba(232, 180, 115, 0.08);
  color: var(--gold);
}
.why-ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.why-card h3 { font-size: 16px; }
.why-card p { margin: 8px 0 16px; font-size: 12.8px; line-height: 1.8; color: var(--muted); }
.why-tag {
  margin-top: auto;
  align-self: flex-start;
  padding: 4px 9px;
  border: 1px dashed rgba(232, 180, 115, 0.24);
  border-radius: 6px;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: #b3a998;
}

/* ── compare ────────────────────────────────────────────── */
.compare-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; align-items: stretch; }
.cmp {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
}
.cmp h3 { font-family: var(--font-display); font-size: 18px; color: var(--paper-dim); }
.cmp-sub { min-height: 3.5em; margin: 8px 0 18px; font-size: 12.5px; line-height: 1.75; color: var(--muted); }
.cmp-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.cmp-list li { position: relative; padding-left: 23px; font-size: 13px; line-height: 1.65; color: #b0a698; }
.cmp-list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 8px;
  line-height: 1;
  color: #625b53;
  content: "✕";
}
.cmp-list li.yes::before { content: "✓"; color: var(--gold); border-color: rgba(232, 180, 115, 0.5); }
.cmp-hero {
  border-color: rgba(232, 180, 115, 0.4);
  background:
    radial-gradient(520px 220px at 82% -8%, rgba(232, 180, 115, 0.17), transparent 72%),
    rgba(232, 180, 115, 0.035);
  box-shadow: 0 34px 80px -56px rgba(232, 180, 115, 0.7);
}
.cmp-hero h3 { color: var(--paper); }
.cmp-hero .cmp-sub { color: var(--paper-dim); }
.cmp-hero .cmp-list li { color: var(--paper); }
.cmp-badge {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6d3a0, #e3a961);
  color: #221505;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* ── steps ──────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.step {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}
.step-num { font-family: var(--font-display); font-size: 34px; line-height: 1; color: rgba(232, 180, 115, 0.5); }
.step h3 { font-size: 17px; }
.step > p { margin-bottom: 6px; font-size: 12.8px; line-height: 1.8; color: var(--muted); }

.demo-card {
  display: grid;
  gap: 9px;
  margin-top: auto;
  padding: 13px;
  border: 1px dashed rgba(243, 236, 226, 0.16);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  transition: border-color 0.3s, background 0.3s;
}
.demo-card.is-ok { border-color: rgba(143, 201, 160, 0.4); background: rgba(143, 201, 160, 0.05); }
.demo-row { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--muted); }
.demo-label { letter-spacing: 0.1em; }
.demo-pill {
  padding: 2px 8px;
  border: 1px solid rgba(232, 180, 115, 0.3);
  border-radius: 999px;
  background: rgba(232, 180, 115, 0.08);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold);
}
.demo-form { display: flex; gap: 7px; }
.demo-input {
  flex: 1;
  min-width: 0;
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(243, 236, 226, 0.16);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--paper);
  font-family: inherit;
  font-size: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.demo-input::placeholder { color: #6f6860; }
.demo-input:focus {
  outline: none;
  border-color: rgba(232, 180, 115, 0.5);
  box-shadow: 0 0 0 3px rgba(232, 180, 115, 0.12);
}
.demo-form .btn-sm { height: 34px; padding: 0 12px; font-size: 12px; }
.demo-form .btn-sm svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.demo-hint { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 10.5px; line-height: 1.6; color: #7f776d; }
.demo-hint a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.demo-hint code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
}
.quick-out { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 32px; }
.chip {
  padding: 3px 9px;
  border: 1px solid rgba(232, 180, 115, 0.3);
  border-radius: 999px;
  background: rgba(232, 180, 115, 0.08);
  font-size: 11px;
  color: #f0d3ac;
  animation: chipIn 0.35s var(--ease) both;
}
.chip.dim { border-color: var(--line); background: transparent; color: var(--muted); }
@keyframes chipIn { from { opacity: 0; transform: translateY(6px) scale(0.96); } }
.mini-bars { display: flex; align-items: flex-end; gap: 4px; height: 56px; }
.mini-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, #e8b473, rgba(232, 180, 115, 0.12));
}
.demo-report { border-style: solid; }

/* ── CTA ────────────────────────────────────────────────── */
.cta { position: relative; padding: clamp(90px, 12vw, 152px) 0; text-align: center; overflow: hidden; }
.cta-glow {
  position: absolute;
  left: 50%;
  bottom: -46%;
  width: min(1200px, 140vw);
  aspect-ratio: 1.4;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(232, 180, 115, 0.18), transparent 74%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta h2 { margin: 16px 0 0; font-family: var(--font-display); font-size: clamp(2rem, 4.8vw, 3.5rem); line-height: 1.34; }
.cta-lead { margin-top: 18px; font-size: 15px; color: var(--paper-dim); }
.cta-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.cta-chips li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 11.5px; color: var(--muted); }

/* ── faq ────────────────────────────────────────────────── */
.faq-wrap { max-width: 880px; margin: 0 auto; }
.faq-list { display: grid; gap: 8px; }
.faq {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.018);
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
}
.faq[open] { border-color: rgba(232, 180, 115, 0.28); background: rgba(232, 180, 115, 0.03); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  font-size: 14.5px;
  color: var(--paper);
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-ico {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: transform 0.3s var(--ease), color 0.3s, border-color 0.3s;
}
.faq-ico svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.faq[open] .faq-ico { transform: rotate(45deg); color: var(--gold); border-color: rgba(232, 180, 115, 0.4); }
.faq-body {
  max-width: 72ch;
  padding: 0 18px 18px;
  font-size: 13.3px;
  line-height: 1.9;
  color: var(--muted);
  animation: fadeUp 0.35s var(--ease) both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(-4px); } }

.help-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: radial-gradient(420px 160px at 0% 0%, rgba(232, 180, 115, 0.1), transparent 74%), rgba(255, 255, 255, 0.015);
}
.help-cta h3 { font-size: 16px; }
.help-cta p { margin-top: 6px; max-width: 52ch; font-size: 12.5px; line-height: 1.75; color: var(--muted); }

/* ── footer ─────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: clamp(44px, 6vw, 64px) 0 26px; background: rgba(0, 0, 0, 0.28); }
.footer-inner { display: grid; grid-template-columns: 1.05fr 1.5fr; gap: 44px; }
.footer-brand p { margin-top: 14px; max-width: 30ch; font-size: 12.5px; line-height: 1.8; color: var(--muted); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.footer-cols h4 { margin: 0 0 12px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; color: var(--paper-dim); }
.footer-cols a { display: block; padding: 4px 0; font-size: 12.8px; color: var(--muted); transition: color 0.2s; }
.footer-cols a:hover { color: var(--paper); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #6b645b;
}
.footer-icp { color: #6b645b; }
.footer-icp a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* ── toast ──────────────────────────────────────────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 80;
  padding: 11px 19px;
  border: 1px solid rgba(232, 180, 115, 0.32);
  border-radius: 999px;
  background: rgba(20, 17, 14, 0.96);
  color: var(--paper);
  font-size: 13px;
  box-shadow: 0 24px 60px -24px #000;
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── 小屏滑动提示 ───────────────────────────────────────── */
.swipe-hint {
  display: none;
  margin-top: 9px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
@media (max-width: 640px) {
  .swipe-hint { display: block; }
}

/* ── reveal ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* 截图模式：跳过所有出现动画 */
html.is-shot .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ==========================================================================
   App mock — 960 × 600 stage
   ========================================================================== */
.m-app {
  --m-paper: #efe6d9;
  --m-muted: #8b8379;
  --m-line: rgba(240, 230, 215, 0.08);
  --m-line2: rgba(240, 230, 215, 0.16);
  --m-gold: #e7b06a;
  --m-gold-soft: rgba(231, 176, 106, 0.13);
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  background:
    radial-gradient(820px 380px at 72% -12%, rgba(231, 176, 106, 0.1), transparent 72%),
    #0b0a0d;
  color: #b8afa3;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  overflow: hidden;
}
.m-app * { box-sizing: border-box; }
.m-app svg { display: block; }

.m-side {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 16px 11px 12px;
  border-right: 1px solid var(--m-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
}
.m-brand { display: flex; align-items: center; gap: 7px; padding: 0 6px 14px; color: var(--m-gold); }
.m-brand svg { width: 17px; height: 17px; }
.m-brand b { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.14em; color: #f0e6d8; font-weight: 600; }
.m-brand small { display: block; font-size: 7px; letter-spacing: 0.24em; color: #8b8379; }
.m-nav { display: flex; flex-direction: column; gap: 1px; }
.m-nav-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5.5px 8px;
  border-radius: 7px;
  font-size: 10.5px;
  color: #8d857c;
}
.m-nav-item svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
.m-nav-item.on {
  background: var(--m-gold-soft);
  color: #f0d3ac;
  box-shadow: inset 0 0 0 1px rgba(231, 176, 106, 0.18);
}
.m-nav-item.on svg { opacity: 1; }
.m-side-foot {
  margin-top: auto;
  padding: 10px 6px 0;
  border-top: 1px solid var(--m-line);
  font-size: 8.5px;
  line-height: 1.7;
  color: #6f6860;
}
.m-side-foot b { color: #a99f92; font-weight: 500; }

.m-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.m-topbar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--m-line);
}
.m-search {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 300px;
  height: 25px;
  padding: 0 10px;
  border: 1px solid var(--m-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 9.5px;
  color: #6f6860;
}
.m-search svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.m-topbar .spacer { flex: 1; }
.m-avatar {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, #e7b06a, #8a5f33);
  color: #22160a;
  font-size: 9.5px;
  font-weight: 700;
}
.m-body { flex: 1; min-height: 0; padding: 13px 16px 14px; overflow: hidden; }

.m-page { display: flex; flex-direction: column; gap: 9px; height: 100%; min-height: 0; }
.m-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.m-title { margin: 0; font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: 0.01em; color: #f4ebdd; }
.m-sub { margin: 2px 0 0; font-size: 9.5px; color: var(--m-muted); letter-spacing: 0.03em; }
.m-actions { display: flex; align-items: center; gap: 6px; }
.m-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3cd8c, #dfa660);
  color: #241708;
  font-family: inherit;
  font-size: 9.5px;
  font-weight: 600;
  white-space: nowrap;
}
.m-btn.ghost { border: 1px solid var(--m-line2); background: transparent; color: #cfc5b8; font-weight: 500; }
.m-pill {
  padding: 3px 8px;
  border: 1px solid var(--m-line2);
  border-radius: 999px;
  font-size: 9px;
  color: #b9afa2;
  white-space: nowrap;
}
.m-pill.on { border-color: rgba(231, 176, 106, 0.35); background: var(--m-gold-soft); color: #f0d3ac; }
.m-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.m-tile {
  padding: 9px 11px;
  border: 1px solid var(--m-line);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}
.m-tile b { display: block; font-size: 15px; font-weight: 600; color: #f4ebdd; letter-spacing: 0.01em; }
.m-tile b em { margin-left: 2px; font-style: normal; font-size: 9px; font-weight: 400; color: var(--m-muted); }
.m-tile span { display: block; margin-top: 1px; font-size: 8.8px; letter-spacing: 0.06em; color: #7d766e; }

.m-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 10px 12px;
  border: 1px solid var(--m-line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.02);
}
.m-card-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 10px;
  color: #cfc5b8;
  letter-spacing: 0.02em;
}
.m-card-h small { font-size: 8.5px; color: #6f6860; }
.m-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(240, 230, 215, 0.055);
  font-size: 10.2px;
  color: #cfc5b8;
}
.m-row:last-child { border-bottom: 0; padding-bottom: 0; }
.m-row .grow { flex: 1; min-width: 0; }
.m-row .sub { display: block; margin-top: 1px; font-size: 8.4px; color: #7a736b; }
.m-row .num { margin-left: auto; font-size: 9.5px; color: #b9afa2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.m-cover {
  width: 24px;
  height: 32px;
  flex: none;
  border-radius: 4px;
  background: linear-gradient(150deg, #6b4a2f, #2a1d14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.m-tag {
  padding: 2px 6px;
  border: 1px solid var(--m-line2);
  border-radius: 999px;
  font-size: 8.2px;
  color: #a99f92;
  white-space: nowrap;
}
.m-tag.gold { border-color: rgba(231, 176, 106, 0.35); background: var(--m-gold-soft); color: #f0d3ac; }
.m-tag.ok { border-color: rgba(143, 201, 160, 0.32); color: #9ccfa9; }
.m-tag.bad { border-color: rgba(206, 133, 110, 0.32); color: #d79a84; }

.m-progress { height: 4px; border-radius: 2px; background: rgba(240, 230, 215, 0.08); overflow: hidden; }
.m-progress i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #c2884a, #f3cd8c); }

.m-bars { display: flex; align-items: flex-end; gap: 5px; height: 54px; }
.m-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, #e7b06a, rgba(231, 176, 106, 0.12));
}
.m-bars.labels { height: auto; gap: 5px; }
.m-bars-wrap { display: grid; gap: 4px; }
.m-card > .m-bars-wrap { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.m-bar-labels { display: flex; gap: 5px; font-size: 7.5px; color: #6f6860; }
.m-bar-labels span { flex: 1; text-align: center; }

.m-donut {
  position: relative;
  width: 66px;
  height: 66px;
  flex: none;
  border-radius: 50%;
  background: conic-gradient(#e7b06a 0 38%, #b98b57 38% 62%, #7d6446 62% 82%, #4a3d30 82% 100%);
}
.m-donut.small { width: 52px; height: 52px; }
.m-donut::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #0e0c10; }
.m-donut.small::after { inset: 10px; }
.m-donut b {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 500;
  color: #f4ebdd;
}
.m-legend { display: flex; flex-direction: column; gap: 4px; font-size: 8.8px; color: #a99f92; }
.m-legend span { display: flex; align-items: center; gap: 5px; }
.m-legend i { width: 6px; height: 6px; border-radius: 2px; background: var(--c, #e7b06a); }
.m-legend em { margin-left: auto; font-style: normal; color: #6f6860; }

.m-heat { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 2.5px; }
.m-heat i { aspect-ratio: 1; border-radius: 1.5px; background: rgba(240, 230, 215, 0.055); }
.m-heat i.l1 { background: rgba(231, 176, 106, 0.22); }
.m-heat i.l2 { background: rgba(231, 176, 106, 0.42); }
.m-heat i.l3 { background: rgba(231, 176, 106, 0.68); }
.m-heat i.l4 { background: rgba(231, 176, 106, 0.95); }

.m-grid2 { display: grid; grid-template-columns: 1.45fr minmax(0, 1fr); gap: 8px; }
.m-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.m-split { display: grid; grid-template-columns: 1fr 220px; gap: 8px; }

.m-posters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.m-poster { overflow: hidden; border: 1px solid var(--m-line); border-radius: 7px; background: #111; }
.m-poster .art {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 2 / 2.75;
  padding: 6px;
  background: linear-gradient(150deg, #4a3322, #120c09);
}
.m-poster .art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.72));
}
.m-poster .art b {
  position: relative;
  z-index: 2;
  font-size: 8px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px #000;
}
.m-poster .cap { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 4px 6px; font-size: 8px; color: #a99f92; }
.m-poster .cap b { font-weight: 500; color: #cfc5b8; }
.m-star { font-size: 8px; letter-spacing: 0.5px; color: #e7b06a; white-space: nowrap; }

.m-map {
  position: relative;
  min-height: 0;
  border: 1px solid var(--m-line);
  border-radius: 9px;
  overflow: hidden;
  background:
    radial-gradient(420px 220px at 30% 20%, rgba(231, 176, 106, 0.1), transparent 70%),
    linear-gradient(160deg, #12100f, #0c0b0e);
}
.m-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-pin { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--m-gold); box-shadow: 0 0 0 4px rgba(231, 176, 106, 0.14); }
.m-pin.big { width: 9px; height: 9px; }
.m-pin span {
  position: absolute;
  left: 12px;
  top: -4px;
  padding: 1px 5px;
  border: 1px solid rgba(231, 176, 106, 0.25);
  border-radius: 4px;
  background: rgba(14, 12, 10, 0.85);
  font-size: 7.5px;
  color: #e8d3b4;
  white-space: nowrap;
}

.m-badges { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 7px; }
.m-badge {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--m-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: #4f4942;
}
.m-badge svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.m-badge.on {
  border-color: rgba(231, 176, 106, 0.3);
  background: radial-gradient(circle at 32% 22%, rgba(231, 176, 106, 0.32), rgba(231, 176, 106, 0.05));
  color: #f0d3ac;
}

.m-trans { display: grid; grid-template-columns: 1fr auto; gap: 1px 10px; padding: 4.5px 0; border-bottom: 1px dashed rgba(240, 230, 215, 0.055); font-size: 9.8px; color: #cfc5b8; }
.m-trans:last-child { border-bottom: 0; }
.m-trans small { grid-column: 1; font-size: 7.8px; color: #6f6860; }
.m-amt { align-self: center; font-variant-numeric: tabular-nums; font-size: 10px; color: #e8d3b4; }
.m-amt.out { color: #d79a84; }
.m-amt.in { color: #9ccfa9; }

.m-note { padding: 7px 9px; border: 1px solid var(--m-line); border-radius: 8px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)); }
.m-note b { display: block; font-size: 10px; font-weight: 500; color: #e6dccd; }
.m-note p { margin-top: 2px; font-size: 8.6px; line-height: 1.55; color: #8b8379; }
.m-link { color: #e7b06a; }
.m-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.m-chart { width: 100%; height: 118px; }
.m-report {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(231, 176, 106, 0.25);
  border-radius: 11px;
  background:
    radial-gradient(560px 240px at 88% -6%, rgba(231, 176, 106, 0.18), transparent 70%),
    rgba(231, 176, 106, 0.035);
}
.m-year { font-family: var(--font-display); font-size: 46px; line-height: 0.95; color: #f4ebdd; letter-spacing: 0.02em; }
.m-report-line { font-size: 10px; letter-spacing: 0.16em; color: #a99f92; }
.m-quote { margin-top: auto; font-family: var(--font-display); font-size: 12px; color: #e6dccd; }

/* mock 细节组件 */
.m-time { width: 30px; flex: none; font-family: var(--font-mono); font-size: 8px; color: #6f6860; }
.m-tl-dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--m-gold); box-shadow: 0 0 0 3px rgba(231, 176, 106, 0.12); }
.m-kv { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-bottom: 1px dashed rgba(240, 230, 215, 0.055); font-size: 9.5px; color: #a99f92; }
.m-kv:last-child { border-bottom: 0; }
.m-kv b { font-weight: 500; color: #e6dccd; }
.m-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.m-photo { display: block; aspect-ratio: 1; border: 1px solid var(--m-line); border-radius: 6px; }
.m-card > .m-photos { flex: 1; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); }
.m-card > .m-photos .m-photo { aspect-ratio: auto; height: 100%; min-height: 0; }
.m-budget { display: grid; gap: 3px; padding: 4px 0; }
.m-budget-top { display: flex; justify-content: space-between; font-size: 8.8px; color: #a99f92; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .mod-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: block; }
  .mod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .preview-grid { grid-template-columns: 1fr; gap: 12px; }
  .preview-tabs {
    flex-direction: row;
    gap: 6px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .preview-tabs::-webkit-scrollbar { display: none; }
  .ptab { width: auto; flex: none; padding: 7px 11px; border-radius: 999px; }
  .ptab span { display: none; }
  .ptab[aria-selected="true"]::after { display: none; }
  .pwa-band { grid-template-columns: 1fr; }
  .compare-grid, .steps { grid-template-columns: 1fr; }
  .cmp-sub { min-height: 0; }
  .stage-caption { font-size: 12px; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .mod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .stats div:nth-child(n + 3) { padding-top: 6px; }
  .hero-frame { margin-top: 38px; }
  .hero { padding-top: 116px; }
  .hero h1 { font-size: clamp(1.9rem, 8.4vw, 2.6rem); line-height: 1.42; }
  .hero h1 br { display: block; }
  .pwa-list { grid-template-columns: 1fr; }
  .help-cta { flex-direction: column; align-items: flex-start; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .phones { gap: 12px; }
  .ph { width: 190px; }
  .ph-screen { height: 366px; }
  .toast { width: max-content; max-width: calc(100vw - 40px); text-align: center; }
}

@media (max-width: 560px) {
  .mod-grid { grid-template-columns: 1fr; }
  .sec-title { font-size: 1.55rem; }
  .win-url { display: none; }
  .window-bar { justify-content: space-between; }
  .stage-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .stage-ctrls { align-self: flex-end; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 160px; }
  .steps { gap: 11px; }
  .cta-chips li { font-size: 11px; }
}

/* ── reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
