:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --bg: #fbfbfd;
  --bg-alt: #f5f5f7;
  --accent: #0f6b63;
  --stage-bg: #eceef1;
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(36px, 6vw, 64px); }
h2 { font-size: clamp(28px, 4.4vw, 44px); }
h3 { font-size: 19px; line-height: 1.35; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.narrow { width: min(100% - 48px, 720px); margin-inline: auto; }
.narrow-wide { width: min(100% - 48px, 1120px); margin-inline: auto; }
.nb { white-space: nowrap; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  height: 52px; padding: 0 max(24px, env(safe-area-inset-left));
  background: rgba(251, 251, 253, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.nav-brand { font-weight: 600; }
.nav-links { display: flex; gap: 28px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* type */
.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.lede { font-size: clamp(17px, 2.2vw, 21px); line-height: 1.5; color: var(--muted); margin-top: 18px; max-width: 640px; text-wrap: balance; }
.footnote { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 20px; }

/* sections */
.hero { padding: clamp(64px, 10vw, 120px) 0 0; text-align: center; }
.hero .narrow, .hero > * { margin-inline: auto; }
.hero h1 { max-width: 900px; margin-inline: auto; }
.hero .lede { margin-inline: auto; text-align: center; }
.principles { padding: clamp(80px, 12vw, 160px) 0; }
.principles h2 { margin-bottom: 48px; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.rules li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; }
.rules li > span { font-variant-numeric: tabular-nums; font-size: 14px; color: var(--accent); font-weight: 600; padding-top: 4px; }
.rules p { color: var(--muted); margin-top: 8px; }
.feature { padding: clamp(72px, 10vw, 140px) 0; }
.feature-alt { background: var(--bg-alt); }
.feature-head { margin-bottom: clamp(36px, 6vw, 64px); }
.cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 48px; margin-top: 48px; }
.cols p { color: var(--muted); margin-top: 8px; }
.quote { padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.quote blockquote { margin: 0; font-size: clamp(24px, 3.6vw, 36px); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.quote cite { display: block; margin-top: 18px; font-style: normal; font-size: 17px; font-weight: 400; color: var(--muted); }
.footer { padding: 56px 24px calc(48px + env(safe-area-inset-bottom)); text-align: center; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }

/* stage */
.stage {
  position: relative; margin: 0;
  border-radius: var(--radius); overflow: hidden;
  background: var(--stage-bg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.28);
  aspect-ratio: 16 / 10;
}
.stage-hero { width: min(100% - 48px, 1120px); margin: clamp(40px, 6vw, 72px) auto 0; }
.clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: var(--stage-bg); opacity: 0; transition: opacity 480ms ease; }
.clip.is-on { opacity: 1; }
.stage-phone { aspect-ratio: 9 / 19; width: min(100%, 320px); border-radius: 36px; }
.stage-phone .clip { object-fit: cover; }

/* scroll steps：左画面吸顶，右文字滚动，高亮到哪一步就放哪一段 */
.steps {
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 4.5vw, 72px); align-items: start;
  width: min(100% - 48px, 1240px); margin-inline: auto;
}
.steps-media { position: sticky; top: 84px; }
.steps .stage { width: 100%; }
.steps-copy { display: grid; gap: clamp(80px, 18vh, 180px); padding: clamp(16px, 5vh, 64px) 0 clamp(80px, 18vh, 180px); }
.step { opacity: 0.34; transition: opacity 360ms ease; }
.step.is-on { opacity: 1; }
.step .q { font-size: 15px; font-weight: 600; color: var(--accent); }
.step h3 { margin-top: 10px; font-size: 24px; }
.step p:not(.q) { color: var(--muted); margin-top: 10px; }
.duo { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 56px; align-items: center; }
.duo-copy h3 + p { color: var(--muted); margin-top: 8px; }
.duo-copy h3:not(:first-child) { margin-top: 32px; }

@media (max-width: 860px) {
  .cols { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .steps-media { top: 52px; z-index: 2; background: var(--bg); padding-top: 12px; }
  .feature-alt .steps-media { background: var(--bg-alt); }
  .steps-copy { gap: 56px; padding: 16px 0 0; }
  .duo { grid-template-columns: 1fr; justify-items: center; text-align: left; }
}
