/* ============================================================
   三个工具 · Apple-keynote style landing
   no frameworks, no webfonts
   ============================================================ */

:root {
  --black: #050506;
  --near: #0b0b0d;
  --paper: #fbfbfd;
  --ink: #1d1d1f;
  --muted: #86868b;
  --muted-2: #a1a1a6;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(0, 0, 0, 0.1);
  --blue: #0071e3;
  --policy: #002fa7;
  --coffee: #f18b56;
  --lime: #c5e803;
  --radius: 26px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: #fff; color: #000; }

.wrap {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding-inline: clamp(20px, 4.6vw, 76px);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------------- nav ---------------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 52px;
  display: flex;
  align-items: center;
  background: rgba(5, 5, 6, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s;
}
.nav.light {
  background: rgba(251, 251, 253, 0.96);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  color: #1d1d1f;
}
.nav.light .brand span { color: #6e6e73; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav .brand { font-size: 13px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.nav .brand span { color: var(--muted); font-weight: 400; margin-left: 8px; }
.nav .links { display: flex; gap: clamp(14px, 2vw, 30px); font-size: 12px; color: var(--muted); }
.nav.light .links { color: #6e6e73; }
.nav .links a { transition: color 0.2s; }
.nav .links a:hover { color: currentColor; opacity: 0.65; }
.nav .cta {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  white-space: nowrap;
}
.nav.light .cta { background: #1d1d1f; color: #fff; }
@media (max-width: 760px) {
  .nav .links { display: none; }
  .nav .brand span { display: none; }
}

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.85; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 5vw; align-items: center; }
.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(3.4rem, 8.6vw, 8.4rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.hero h1 em { font-style: normal; color: var(--muted-2); }
.hero .sub {
  margin: 26px 0 0;
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  line-height: 1.6;
  color: var(--muted-2);
  max-width: 32ch;
}
.hero .meta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero .meta span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
}
.hero .actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: #fff; color: #000; }
.btn.ghost { border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* hero floating chips */
.hero-stage { position: relative; height: min(58vh, 520px); perspective: 1000px; }
.hero-chip {
  position: absolute;
  width: min(76%, 360px);
  border-radius: 22px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  animation: float 9s ease-in-out infinite;
}
.hero-chip:nth-child(1) { top: 6%; left: 2%; animation-delay: -1s; }
.hero-chip:nth-child(2) { top: 36%; left: 18%; animation-delay: -3.4s; }
.hero-chip:nth-child(3) { top: 66%; left: 6%; animation-delay: -6.1s; }
.hero-chip .n { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--muted); }
.hero-chip .t { margin-top: 8px; font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; }
.hero-chip .d { margin-top: 6px; font-size: 12.5px; line-height: 1.6; color: var(--muted-2); }
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.6deg); }
  50% { transform: translate3d(0, -14px, 0) rotate(0.6deg); }
}
.hero .scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero .scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine { 0%, 100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------------- generic section ---------------- */
section { position: relative; }
.pad { padding: clamp(80px, 12vh, 160px) 0; }
[data-theme="light"] { background: var(--paper); color: var(--ink); }
[data-theme="dark"] { background: var(--black); color: var(--paper); }
[data-theme="blue"] { background: var(--policy); color: #fff; }
[data-theme="grey"] { background: #f2f2f4; color: var(--ink); }

.h2 {
  margin: 14px 0 0;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.lead {
  margin: 22px 0 0;
  font-size: clamp(1.02rem, 1.45vw, 1.3rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 46ch;
}
[data-theme="dark"] .lead, [data-theme="blue"] .lead { color: var(--muted-2); }
[data-theme="blue"] .eyebrow { color: rgba(255, 255, 255, 0.6); }

/* statement */
.statement { text-align: center; }
.statement .big {
  margin: 0 auto;
  font-size: clamp(2.2rem, 6.6vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
  max-width: 20ch;
}
.statement .big em { font-style: normal; color: var(--coffee); }
.stats {
  margin-top: clamp(40px, 7vh, 80px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border-top: 1px solid var(--line-dark);
}
.stat { padding: 28px 16px 8px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; }
.stat .v {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stat .v small { font-size: 0.35em; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.stat .k { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* ---------------- tool sections ---------------- */
.tool { padding: clamp(70px, 10vh, 130px) 0 clamp(40px, 6vh, 80px); }
.tool .grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(30px, 4vw, 70px);
  align-items: start;
}
.tool .copy { position: sticky; top: 90px; }
.tool .num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.tool .num::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.5; }
.tool h2 {
  margin: 16px 0 0;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.tool .tagline { margin: 16px 0 0; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--muted); }
[data-theme="dark"] .tagline { color: var(--muted-2); }
.tool .facts { margin-top: 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 18px; overflow: hidden; }
[data-theme="dark"] .facts { background: var(--line); border-color: var(--line); }
.tool .fact { background: inherit; }
[data-theme="light"] .fact, [data-theme="grey"] .fact { background: var(--paper); }
[data-theme="dark"] .fact { background: var(--black); }
[data-theme="blue"] .fact { background: var(--policy); }
.fact { padding: 16px 18px; }
.fact b { display: block; font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
[data-theme="blue"] .fact span { color: rgba(255, 255, 255, 0.65); }
.tool .for { margin-top: 26px; font-size: 14px; line-height: 1.75; color: var(--muted); }
[data-theme="dark"] .for { color: var(--muted-2); }
.tool .for b { color: currentColor; font-weight: 600; }
.tool .more { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; opacity: 0.85; }

/* stage */
.stage-wrap { position: sticky; top: 88px; }
.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 380px;
  max-height: min(74vh, 720px);
  border-radius: 30px;
  overflow: hidden;
  isolation: isolate;
  background: #0c0c0e;
  border: 1px solid var(--line);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}
[data-theme="light"] .stage, [data-theme="grey"] .stage { border-color: var(--line-dark); box-shadow: 0 40px 100px rgba(20, 18, 14, 0.18); }
.stage canvas.bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.stage .glow {
  position: absolute;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  z-index: 0;
  background: var(--coffee);
}
[data-theme="light"] .stage .glow, [data-theme="grey"] .stage .glow { opacity: 0.16; }
.stage .live {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  backdrop-filter: blur(6px);
}
.stage .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: blink 1.5s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

/* stacked cards */
.stack { position: absolute; inset: 0; z-index: 2; perspective: 1400px; }
.pcard {
  --ty: 0px;
  --rot: 0deg;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: calc(1 + var(--i));
  width: min(80%, 560px);
  height: min(232px, 58%);
  overflow: hidden;
  border-radius: 20px;
  padding: 20px 22px;
  background: #161619;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
  transition: transform 0.9s var(--ease), opacity 0.7s var(--ease);
}
.stage.in .pcard { opacity: 1; transform: translate(-50%, -50%) translateY(var(--ty)) rotate(var(--rot)); }
.pcard[data-i="0"] { --ty: -46px; --rot: -1.4deg; }
.pcard[data-i="1"] { --ty: 0px; --rot: 0.8deg; }
.pcard[data-i="2"] { --ty: 46px; --rot: 0deg; }
[data-theme="light"] .stage .pcard, [data-theme="grey"] .stage .pcard {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 26px 60px rgba(20, 18, 14, 0.16);
}
[data-theme="blue"] .stage .pcard { background: #ffffff; color: #0b1b46; border-color: rgba(255, 255, 255, 0.3); }
.pcard.policy-card { display: flex; flex-direction: column; justify-content: center; }
.pcard .ph { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pcard .ph b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.pcard .ph span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--muted); }
[data-theme="blue"] .pcard .ph span, [data-theme="light"] .pcard .ph span { color: #86868b; }
.pcard .rows { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.prow { display: grid; grid-template-columns: 74px 1fr 58px; gap: 10px; align-items: center; font-size: 12px; }
.prow .l { color: var(--muted); }
[data-theme="light"] .pcard .prow .l, [data-theme="blue"] .pcard .prow .l { color: #6e6e73; }
.prow .bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
[data-theme="light"] .pcard .prow .bar, [data-theme="blue"] .pcard .prow .bar { background: rgba(0, 0, 0, 0.08); }
.prow .bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--coffee); transition: width 1.2s var(--ease); }
.pcard[data-c="coffee"] .prow .bar i { background: var(--coffee); }
.pcard[data-c="green"] .prow .bar i { background: #7fa36b; }
.pcard[data-c="amber"] .prow .bar i { background: #c08a4a; }
.prow .v { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.pcard .big { margin-top: 8px; font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 600; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.pcard .big small { font-size: 0.32em; font-weight: 400; color: var(--muted); margin-left: 6px; letter-spacing: 0; }

/* checklist card */
.check-list { margin-top: 12px; display: flex; flex-direction: column; gap: 9px; }
.check { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.check .box { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid rgba(0, 0, 0, 0.2); display: grid; place-items: center; }
[data-theme="dark"] .check .box { border-color: rgba(255, 255, 255, 0.25); }
.check.on .box { background: var(--lime); border-color: var(--lime); }
.check .box svg { width: 11px; height: 11px; opacity: 0; }
.check.on .box svg { opacity: 1; }
.check .k { color: #1d1d1f; }
[data-theme="dark"] .check .k { color: #f5f5f7; }
.check .m { font-family: var(--mono); font-size: 10px; color: #86868b; }

/* ring */
.ring-wrap { display: flex; align-items: center; gap: 18px; }
.ring { position: relative; width: 120px; height: 120px; flex: 0 0 auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .track { fill: none; stroke: rgba(0, 0, 0, 0.08); stroke-width: 9; }
[data-theme="dark"] .ring .track { stroke: rgba(255, 255, 255, 0.12); }
.ring .val { fill: none; stroke: var(--lime); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; transition: stroke-dashoffset 1.6s var(--ease); }
.ring-num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; font-weight: 600; letter-spacing: -0.04em; }
.ring-cap { font-size: 12px; color: #86868b; }

/* mini plan cards */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.plan { border-radius: 12px; border: 1px solid rgba(0, 0, 0, 0.1); padding: 10px; font-size: 10.5px; line-height: 1.45; color: #6e6e73; }
[data-theme="dark"] .plan { border-color: rgba(255, 255, 255, 0.14); color: var(--muted-2); }
.plan b { display: block; color: inherit; font-size: 11px; margin-bottom: 4px; }
.plan.hot { background: rgba(197, 232, 3, 0.16); border-color: rgba(139, 163, 0, 0.5); color: #3c4a00; }
[data-theme="dark"] .plan.hot { color: #d8f36a; }

/* policy cards */
.policy-card .deadline { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: rgba(241, 139, 86, 0.16); color: #b4571f; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; }
[data-theme="dark"] .policy-card .deadline { color: #ffb183; background: rgba(241, 139, 86, 0.18); }
.policy-card .amt { margin-top: 10px; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 600; letter-spacing: -0.04em; color: var(--policy); }
[data-theme="dark"] .policy-card .amt { color: #8fb3ff; }
.policy-card .who { margin-top: 6px; font-size: 12px; color: #6e6e73; }
[data-theme="dark"] .policy-card .who { color: var(--muted-2); }

/* radar svg */
.radar { width: 100%; max-width: 220px; height: auto; display: block; margin: 4px auto 0; }
.radar .grid { fill: none; stroke: rgba(0, 0, 0, 0.12); stroke-width: 1; }
[data-theme="dark"] .radar .grid { stroke: rgba(255, 255, 255, 0.16); }
.radar .shape { fill: rgba(0, 47, 167, 0.12); stroke: var(--policy); stroke-width: 2; }
[data-theme="dark"] .radar .shape { fill: rgba(120, 160, 255, 0.16); stroke: #8fb3ff; }

/* calendar chips */
.cal { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cal span { font-family: var(--mono); font-size: 11px; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, 0.12); }
[data-theme="dark"] .cal span { border-color: rgba(255, 255, 255, 0.16); }
.cal span.hot { background: var(--policy); color: #fff; border-color: var(--policy); }

/* ---------------- summary ---------------- */
.summary .grid3 { margin-top: clamp(34px, 6vh, 70px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sumcard {
  position: relative;
  border-radius: 26px;
  padding: 28px 26px 24px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-dark);
  box-shadow: 0 24px 60px rgba(20, 18, 14, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.sumcard:hover { transform: translateY(-6px); box-shadow: 0 36px 80px rgba(20, 18, 14, 0.14); }
.sumcard .top { display: flex; justify-content: space-between; align-items: center; }
.sumcard .top .n { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: #86868b; }
.sumcard .top .dot { width: 8px; height: 8px; border-radius: 50%; }
.sumcard h3 { margin: 0; font-size: clamp(1.5rem, 2.2vw, 1.9rem); letter-spacing: -0.03em; }
.sumcard .line { font-size: 13.5px; line-height: 1.6; color: #6e6e73; min-height: 3.2em; }
.sumcard .nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid var(--line-dark); padding-top: 14px; }
.sumcard .nums b { display: block; font-size: 20px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.sumcard .nums span { font-size: 10.5px; color: #86868b; }
.sumcard .mini { height: 64px; display: flex; align-items: flex-end; gap: 6px; margin-top: auto; }
.sumcard .mini i { display: block; flex: 1; border-radius: 4px 4px 0 0; background: #e8e8ed; }
.sumcard .mini i.on { background: var(--coffee); }
.sumcard[data-tool="2"] .mini i.on { background: #9bb800; }
.sumcard[data-tool="3"] .mini i.on { background: var(--policy); }

/* ---------------- chain ---------------- */
.layers { margin-top: clamp(30px, 6vh, 60px); display: flex; flex-direction: column; gap: 14px; }
.layer {
  border-radius: 22px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(0);
  transition: transform 0.6s var(--ease), background 0.4s;
}
.layer:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.07); }
.layer .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--muted); }
.layer .t { font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.45; }
.layer .n { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.layer:nth-child(2) { margin-inline: 4%; }
.layer:nth-child(3) { margin-inline: 8%; background: var(--policy); border-color: transparent; }
.layer:nth-child(3) .k, .layer:nth-child(3) .n { color: rgba(255, 255, 255, 0.6); }

/* ---------------- fde ---------------- */
.steps { margin-top: clamp(34px, 6vh, 64px); display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.step {
  border-radius: 18px;
  border: 1px solid var(--line-dark);
  padding: 20px 18px;
  background: #fff;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.45s var(--ease);
}
.step:hover { transform: translateY(-4px); }
.step .n { font-family: var(--mono); font-size: 10px; color: #86868b; }
.step b { font-size: 15px; letter-spacing: -0.01em; }
.step span { font-size: 12px; line-height: 1.55; color: #6e6e73; }
.step .d { margin-top: auto; font-family: var(--mono); font-size: 10px; color: #86868b; }

/* ---------------- pricing ---------------- */
.prices { margin-top: clamp(34px, 6vh, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price {
  position: relative;
  border-radius: 26px;
  padding: 30px 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.5s var(--ease), background 0.4s;
}
.price:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.07); }
.price .badge { position: absolute; top: 20px; right: 20px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; padding: 5px 9px; border-radius: 999px; background: var(--coffee); color: #1a0f08; }
.price .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--muted); }
.price .v { font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.price .v small { font-size: 0.3em; font-weight: 400; color: var(--muted-2); margin-left: 6px; letter-spacing: 0; }
.price .note { font-size: 13px; line-height: 1.6; color: var(--muted-2); }
.price.hl { background: #fff; color: var(--ink); border-color: transparent; }
.price.hl .note { color: #6e6e73; }
.price.hl .k { color: #86868b; }

/* ---------------- contact ---------------- */
.contact-grid { margin-top: clamp(30px, 6vh, 60px); display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.contact h2 { margin: 12px 0 0; font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.05; letter-spacing: -0.04em; }
.contact .phone { display: inline-block; margin-top: 26px; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -0.02em; border-bottom: 2px solid currentColor; padding-bottom: 4px; }
.contact .rows { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px 26px; font-size: 13px; color: var(--muted); }
.qr-card { justify-self: end; background: #fff; border-radius: 24px; padding: 18px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
.qr-card img { width: 168px; height: 168px; display: block; image-rendering: crisp-edges; }
.qr-card p { margin: 10px 0 0; text-align: center; font-size: 11px; color: #6e6e73; }

/* ---------------- footer ---------------- */
footer { padding: 46px 0 60px; background: var(--black); color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: space-between; font-size: 12px; }
footer a { border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------------- reveal ---------------- */
[data-r] { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-r].in { opacity: 1; transform: none; }
[data-r][data-d="1"] { transition-delay: 0.06s; }
[data-r][data-d="2"] { transition-delay: 0.12s; }
[data-r][data-d="3"] { transition-delay: 0.18s; }
[data-r][data-d="4"] { transition-delay: 0.24s; }
[data-r][data-d="5"] { transition-delay: 0.3s; }

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-stage { height: 360px; }
  .tool .grid { grid-template-columns: 1fr; }
  .tool .copy { position: relative; top: 0; }
  .stage-wrap { position: relative; top: 0; }
  .stage { aspect-ratio: 16 / 10; max-height: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps .step:last-child { grid-column: span 2; }
}
@media (max-width: 860px) {
  .summary .grid3 { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .qr-card { justify-self: start; }
  .stats { grid-template-columns: 1fr; border-top: 0; }
  .stat { border-left: 0; border-top: 1px solid var(--line-dark); }
  .layer { grid-template-columns: 1fr; gap: 8px; }
  .layer:nth-child(2), .layer:nth-child(3) { margin-inline: 0; }
  .tool .facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hero { padding-top: 96px; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .hero-stage { display: none; }
  .stage { aspect-ratio: 3 / 4; min-height: 0; }
  .pcard { width: 88%; }
  .steps { grid-template-columns: 1fr; }
  .steps .step:last-child { grid-column: auto; }
  .tool .facts { grid-template-columns: 1fr 1fr; }
  .contact .phone { font-size: 1.5rem; }
  .qr-card img { width: 148px; height: 148px; }
}

/* short landscape: phones turned sideways, low laptop windows */
@media (max-height: 620px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 92px 0 56px; }
  .hero .wrap { grid-template-columns: 1.2fr 0.8fr; }
  .hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
  .hero-stage { height: 300px; }
  .hero .scroll { display: none; }
  .tool .copy { position: relative; top: 0; }
  .stage-wrap { position: relative; top: 0; }
  .stage { aspect-ratio: 16 / 9; max-height: none; }
  .pad { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
  [data-r] { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
  .pcard { width: 88%; height: min(250px, 54%); padding: 18px; }
  .pcard[data-i="0"] { --ty: -40px; }
  .pcard[data-i="1"] { --ty: 0px; }
  .pcard[data-i="2"] { --ty: 40px; }
  .stage { aspect-ratio: 3 / 4; }
}

/* summary bars grow */
.sumcard .mini i {
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.9s var(--ease);
}
.sumcard.in .mini i { transform: scaleY(1); }
.sumcard.in .mini i:nth-child(2) { transition-delay: 0.06s; }
.sumcard.in .mini i:nth-child(3) { transition-delay: 0.12s; }
.sumcard.in .mini i:nth-child(4) { transition-delay: 0.18s; }
.sumcard.in .mini i:nth-child(5) { transition-delay: 0.24s; }
.sumcard.in .mini i:nth-child(6) { transition-delay: 0.3s; }
.sumcard.in .mini i:nth-child(7) { transition-delay: 0.36s; }

/* short landscape: phones turned sideways, small laptop windows */
@media (max-height: 640px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 84px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 0; }
  .hero-stage { display: none; }
  .hero h1 { font-size: clamp(2.4rem, 5.6vw, 3.8rem); }
  .hero .sub { margin-top: 16px; font-size: 14px; max-width: 56ch; }
  .hero .meta { margin-top: 18px; }
  .hero .actions { margin-top: 20px; }
  .hero .scroll { display: none; }
  .tool { padding: 44px 0; }
  .tool .grid { grid-template-columns: 0.9fr 1.1fr; gap: 22px; }
  .tool .copy { position: relative; top: 0; }
  .stage-wrap { position: relative; top: 0; }
  .stage { aspect-ratio: 4 / 3; max-height: 64vh; min-height: 0; }
  .tool h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
  .tool .tagline { font-size: 13px; margin-top: 8px; }
  .tool .facts { margin-top: 12px; }
  .fact { padding: 8px 10px; }
  .fact b { font-size: 1.15rem; }
  .fact span { font-size: 9.5px; }
  .tool .for { font-size: 11.5px; margin-top: 10px; line-height: 1.6; }
  .tool .more { margin-top: 10px; font-size: 11px; }
  .pcard { height: min(190px, 56%); }
  .pad { padding: 44px 0; }
}

/* short landscape: keep one readable card instead of a clipped stack */
@media (max-height: 640px) and (orientation: landscape) {
  .stage { aspect-ratio: auto; height: 62vh; max-height: none; }
  .pcard[data-i="0"], .pcard[data-i="1"] { display: none; }
  .pcard[data-i="2"] { --ty: 0px; --rot: 0deg; width: 94%; height: 88%; }
  .pcard.policy-card { justify-content: center; }
}

/* anchor offset under fixed nav */
section[id], header[id] { scroll-margin-top: 58px; }
