/* Static site, system fonts, no cookies, nothing loaded from other sites.
   The look is the app's own toy box (Shared/Toybox.swift, design/art-direction.md): butter cream by day,
   deep indigo at night, white tiles with a lip, glossy yellow stars and one toy colour per number. */
:root {
  color-scheme: light;
  --bg: #ffe7c2;
  --bg-top: #fff7e6;
  --pattern: rgba(240, 201, 138, 0.5);
  --surface: #fff;
  --surface-lip: #f0d5ac;
  --well: #f7e9d2;
  --tray: #e4dcff;
  --tray-lip: #c4b6f2;
  --cell: #fff;
  --cell-lip: #d8cbf0;
  --cell-sunk: #eee8ff;
  --ink: #2e2457;
  --ink2: #5f5482;
  --ink3: #8a7fae;
  --hairline: rgba(46, 36, 87, 0.1);
  --faint: rgba(46, 36, 87, 0.05);
  --spark: #ffc423;
  --spark-hi: #ffea8c;
  --spark-deep: #f08a00;
  --on-spark: #3a2a10;
  --spark-text: #6435d6;
  --spark-wash: rgba(255, 196, 35, 0.22);
  --spark-glow: rgba(255, 196, 35, 0.55);
  --blue: #3d8bff; --blue-lip: #2463d6;
  --green: #1a9e5e; --green-lip: #117a47;
  --purple: #8b5cf6; --purple-lip: #6435d6;
  --orange: #ea6a12; --orange-lip: #bf4f06;
  --pink: #ec3f77; --pink-lip: #bd2056;
  --bad: #ff4d5e; --bad-lip: #cc2b3b;
  --shadow-c: rgba(184, 128, 58, 0.18);
  --shadow: 0 7px 0 var(--surface-lip), 0 22px 44px var(--shadow-c);
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --round: ui-rounded, 'SF Pro Rounded', 'Arial Rounded MT Bold', 'Nunito', 'Varela Round', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
/* Night: a deep indigo toy box. Applied when the system is dark and the visitor has not picked light, or when they picked dark. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --bg: #170f45;
    --bg-top: #2d2275;
    --pattern: rgba(106, 91, 208, 0.4);
    --surface: #3a2e8f;
    --surface-lip: #1f1658;
    --well: #271d6b;
    --tray: #22195e;
    --tray-lip: #120b38;
    --cell: #5546b8;
    --cell-lip: #33287f;
    --cell-sunk: #3b308e;
    --ink: #fff7ea;
    --ink2: #d2c9f5;
    --ink3: #a69ce0;
    --hairline: rgba(255, 255, 255, 0.12);
    --faint: rgba(255, 255, 255, 0.07);
    --spark-text: #ffd65a;
    --shadow-c: rgba(5, 2, 26, 0.5);
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #170f45;
  --bg-top: #2d2275;
  --pattern: rgba(106, 91, 208, 0.4);
  --surface: #3a2e8f;
  --surface-lip: #1f1658;
  --well: #271d6b;
  --tray: #22195e;
  --tray-lip: #120b38;
  --cell: #5546b8;
  --cell-lip: #33287f;
  --cell-sunk: #3b308e;
  --ink: #fff7ea;
  --ink2: #d2c9f5;
  --ink3: #a69ce0;
  --hairline: rgba(255, 255, 255, 0.12);
  --faint: rgba(255, 255, 255, 0.07);
  --spark-text: #ffd65a;
  --shadow-c: rgba(5, 2, 26, 0.5);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 500 17px/1.55 var(--sans);
  color: var(--ink);
  background:
    radial-gradient(circle at 12px 12px, var(--pattern) 2.2px, transparent 2.6px) 0 0 / 58px 50px,
    linear-gradient(var(--bg-top), var(--bg) 900px) no-repeat,
    var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--ink3); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--purple); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, p, ul, ol, figure, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.defs { position: absolute; }
.stop-hi { stop-color: var(--spark-hi); }
.stop-lo { stop-color: var(--spark); }
.wrap { width: 100%; max-width: 1136px; margin: 0 auto; padding-inline: 24px; }

.eyebrow {
  font: 800 12.5px/1.3 var(--round);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink2);
}
h2 { font-family: var(--round); font-size: clamp(30px, 4.4vw, 50px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.06; }
h3 { font-family: var(--round); font-size: 19px; font-weight: 800; letter-spacing: -0.005em; line-height: 1.25; }
.eyebrow + h2 { margin-top: 12px; }
.note { font-size: 14.5px; color: var(--ink2); }
.more { margin-top: 28px; font: 800 17px/1.4 var(--round); }
.more a { text-decoration: none; border-bottom: 3px solid var(--spark); padding-bottom: 2px; }
.banner { padding: 8px 16px; text-align: center; font: 800 13.5px/1.4 var(--round); color: var(--on-spark); background: var(--spark); }

/* Header */
.bar { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg-top) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 2px solid var(--hairline); }
.bar .wrap { display: flex; align-items: center; gap: 22px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 900 29px/1 var(--round); letter-spacing: -0.02em; text-decoration: none; }
.brand span { padding-bottom: 3px; }
.mark { width: 32px; height: 32px; overflow: visible; flex: none; }
.nav { display: flex; gap: 22px; margin-left: 14px; font: 800 15.5px/1 var(--round); }
.nav a { color: var(--ink2); text-decoration: none; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current] { box-shadow: inset 0 -3px 0 var(--spark); }
.tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; min-width: 38px; padding: 0 14px;
  font: 800 14px/1 var(--round); letter-spacing: 0.02em; text-decoration: none; white-space: nowrap;
  color: var(--ink); background: var(--surface); border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 4px 0 var(--surface-lip), 0 8px 16px var(--shadow-c);
  transition: transform 0.12s, box-shadow 0.12s;
}
.chip.icon { padding: 0; }
a.chip:active, button.chip:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--surface-lip); }
.chip.soon { cursor: default; color: #fff; background: var(--purple); box-shadow: 0 4px 0 var(--purple-lip); }
.chip.go { color: var(--on-spark); background: linear-gradient(var(--spark-hi), var(--spark)); box-shadow: 0 4px 0 var(--spark-deep); }

/* Buttons: a face on a darker lip; pressing sinks the face. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 28px; border-radius: 20px;
  font: 900 18px/1 var(--round); letter-spacing: 0; text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn.go { color: var(--on-spark); background: linear-gradient(var(--spark-hi), var(--spark)); box-shadow: 0 6px 0 var(--spark-deep), 0 16px 30px rgba(240, 138, 0, 0.3); }
.btn.go:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--spark-deep); }
.btn.soon { color: #fff; background: linear-gradient(#a27dff, var(--purple)); box-shadow: 0 6px 0 var(--purple-lip), 0 16px 30px rgba(100, 53, 214, 0.28); cursor: default; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--spark); box-shadow: 0 0 0 0 var(--spark-glow); animation: pulse 2.4s ease-out infinite; flex: none; }
@keyframes pulse { 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
.quiet {
  height: 50px; padding: 0 18px; border: 0; border-radius: 17px; cursor: pointer;
  font: 900 16px/1 var(--round); color: #fff; background: var(--blue); box-shadow: 0 5px 0 var(--blue-lip);
  transition: transform 0.12s, box-shadow 0.12s;
}
.quiet:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 1px 0 var(--blue-lip); }
.quiet:disabled { opacity: 0.5; cursor: default; }

/* 1. Hero */
.hero { position: relative; padding: 72px 0 56px; }
.hero::before {
  content: ''; position: absolute; inset: -66px 0 0; pointer-events: none;
  background: radial-gradient(520px 420px at 74% 46%, color-mix(in srgb, var(--spark) 26%, transparent), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 56px; align-items: center; }
h1 { font-family: var(--round); font-size: clamp(42px, 6.3vw, 80px); font-weight: 900; letter-spacing: -0.025em; line-height: 1.02; text-wrap: balance; }
h1 em { font-style: normal; color: var(--purple); text-shadow: 0 4px 0 color-mix(in srgb, var(--purple-lip) 45%, transparent); white-space: nowrap; }
.pitch .eyebrow { margin-bottom: 20px; }
.lead { margin-top: 24px; max-width: 33em; font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.55; color: var(--ink2); }
.cta { margin-top: 34px; }
.under { margin-top: 16px; font-size: 14.5px; color: var(--ink2); }
.stage { justify-self: end; width: 100%; max-width: 440px; }
.try { margin-top: 16px; font-size: 14px; line-height: 1.45; color: var(--ink2); text-align: center; text-wrap: balance; }

/* The grid: a toy tray of tiles. Used by the playable demo and by the still diagrams. */
.grid {
  --n: 5; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--gap, 7px);
  container-type: inline-size; padding: var(--tray-pad, 9px) var(--tray-pad, 9px) calc(var(--tray-pad, 9px) + 4px);
  background: var(--tray); border-radius: 22px; box-shadow: 0 6px 0 var(--tray-lip);
}
.cell {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 1; padding: 0; margin: 0; min-width: 0;
  background: var(--cell); border: 0; border-radius: 24%;
  box-shadow: 0 4px 0 var(--cell-lip);
  color: var(--ink); -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: background 0.15s, box-shadow 0.15s, transform 0.18s cubic-bezier(0.3, 1.6, 0.5, 1);
}
button.cell { cursor: pointer; }
button.cell:disabled { cursor: default; }
button.cell:not(.clue):not(:disabled):active { transform: translateY(3px); box-shadow: 0 1px 0 var(--cell-lip); }
.cell.clue { --c: var(--purple); --c-lip: var(--purple-lip); color: #fff; background: linear-gradient(color-mix(in srgb, var(--c) 82%, #fff), var(--c)); box-shadow: 0 4px 0 var(--c-lip); }
.cell.clue.n1 { --c: var(--blue); --c-lip: var(--blue-lip); }
.cell.clue.n2 { --c: var(--green); --c-lip: var(--green-lip); }
.cell.clue.over { --c: var(--bad); --c-lip: var(--bad-lip); }
.cell.clue b { font: 900 calc(44cqw / var(--n)) / 1 var(--round); margin-top: -4%; text-shadow: 0 0.06em 0 var(--c-lip); }
.cell.clue.ok::after {
  content: '✓'; position: absolute; top: -8%; right: -8%; width: 30%; height: 30%;
  display: flex; align-items: center; justify-content: center;
  font: 900 calc(15cqw / var(--n)) / 1 var(--round); color: var(--green);
  background: #fff; border-radius: 50%; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.pips { display: flex; gap: calc(4.5cqw / var(--n)); margin-top: 7%; }
.pips i { width: calc(10cqw / var(--n)); height: calc(10cqw / var(--n)); border-radius: 50%; background: rgba(0, 0, 0, 0.22); }
.pips i.on { background: var(--spark); box-shadow: 0 0 0 1px var(--spark-deep); }
.cell.over .pips i { background: #fff; box-shadow: none; }
.cell.sel { transform: translateY(-2px) scale(1.07); outline: 3px solid #fff; outline-offset: -3px; z-index: 1; box-shadow: 0 4px 0 var(--c-lip), 0 0 0 4px color-mix(in srgb, var(--c) 35%, transparent); }
.cell.lit { background: color-mix(in srgb, var(--spark) 22%, var(--cell)); box-shadow: inset 0 0 0 2px var(--spark-deep), 0 4px 0 var(--cell-lip); }
.cell.spark.lit { background: color-mix(in srgb, var(--spark) 30%, var(--cell)); }
.sp { width: 72%; height: 72%; overflow: visible; }
button.cell .sp { animation: pop 0.34s cubic-bezier(0.3, 1.7, 0.5, 1); }
@keyframes pop { from { transform: scale(0.15) rotate(-70deg); opacity: 0; } }
.cell.dot { background: var(--cell-sunk); box-shadow: none; transform: translateY(3px); }
.cell.dot.lit { box-shadow: inset 0 0 0 2px var(--spark-deep); }
.cell.dot > i { width: 18%; height: 18%; border-radius: 50%; background: var(--ink3); }

/* The demo card */
.demo { padding: 18px; background: var(--surface); border-radius: 32px; box-shadow: var(--shadow); transition: box-shadow 0.5s; }
.demo.solved { box-shadow: var(--shadow), 0 0 90px color-mix(in srgb, var(--spark) 45%, transparent); }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 0; }
.demo-title b { display: block; font: 900 19px/1.2 var(--round); }
.demo-title span { display: inline-block; margin-top: 4px; padding: 3px 10px; font: 800 13px/1.2 var(--round); color: #fff; background: var(--green); border-radius: 999px; box-shadow: 0 2px 0 var(--green-lip); }
.demo-time { min-width: 74px; height: 40px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; font: 900 17px/1 var(--round); font-variant-numeric: tabular-nums; color: var(--ink); background: var(--surface); border-radius: 999px; box-shadow: 0 4px 0 var(--surface-lip), 0 0 0 2px var(--hairline); }
.demo-time::before { content: ''; width: 18px; height: 18px; margin-right: 7px; border-radius: 50%; background: var(--blue); box-shadow: inset 0 0 0 4px var(--blue), inset 0 0 0 6px #fff; }
.demo-progress { display: flex; align-items: center; gap: 12px; margin: 18px 4px 14px; font: 900 15px/1 var(--round); color: var(--ink); font-variant-numeric: tabular-nums; }
.track { flex: 1; height: 16px; border-radius: 999px; background: var(--well); box-shadow: inset 0 0 0 2px var(--hairline); overflow: hidden; }
.track i { display: block; height: 100%; width: 0; min-width: 16px; border-radius: 999px; background: linear-gradient(var(--spark-hi), var(--spark)); box-shadow: inset 0 0 0 2px var(--spark-deep), inset 0 4px 0 rgba(255, 255, 255, 0.45); transition: width 0.35s cubic-bezier(0.3, 1.4, 0.5, 1); }
.demo-msg { min-height: 3.4em; margin: 16px 2px 14px; padding: 10px 14px; display: flex; align-items: center; justify-content: center; text-align: center; font: 700 14.5px/1.4 var(--round); color: var(--ink2); text-wrap: balance; background: var(--well); border-radius: 16px; }
/* The two tools: chunky buttons, the chosen one lit in its colour. */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg button {
  display: flex; align-items: center; justify-content: center; gap: 9px; height: 54px;
  border: 0; border-radius: 18px; cursor: pointer; font: 900 17px/1 var(--round); color: var(--ink2);
  background: var(--surface); box-shadow: 0 5px 0 var(--surface-lip), 0 0 0 2px var(--hairline);
  transition: transform 0.12s, box-shadow 0.12s;
}
.seg button:active { transform: translateY(4px); }
.seg button.on:first-child { color: var(--on-spark); background: linear-gradient(var(--spark-hi), var(--spark)); box-shadow: 0 5px 0 var(--spark-deep), 0 0 0 3px color-mix(in srgb, var(--spark) 45%, transparent); }
.seg button.on:last-child { color: #fff; background: var(--blue); box-shadow: 0 5px 0 var(--blue-lip), 0 0 0 3px color-mix(in srgb, var(--blue) 40%, transparent); }
.seg .sp { width: 24px; height: 24px; animation: none; }
.bullet { width: 10px; height: 10px; border-radius: 50%; background: currentColor; opacity: 0.8; }
.demo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.demo-row .quiet + .quiet { background: var(--pink); box-shadow: 0 5px 0 var(--pink-lip); }
.demo-row .quiet + .quiet:active:not(:disabled) { box-shadow: 0 1px 0 var(--pink-lip); }
.demo-done { margin: 4px 0 2px; padding: 18px 8px 16px; text-align: center; color: #fff; background: var(--purple); border-radius: 24px; box-shadow: 0 6px 0 var(--purple-lip); }
.demo-done .eyebrow { color: #fff; }
.demo-clock { margin-top: 2px; font: 900 76px/1.05 var(--round); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 5px 0 var(--purple-lip); transform: rotate(-3deg); animation: stamp 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) 0.1s both; }
@keyframes stamp { from { transform: scale(2) rotate(-14deg); opacity: 0; } }
.demo-after { margin: 6px 0 16px; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
.demo-done .quiet { min-width: 160px; color: var(--on-spark); background: linear-gradient(var(--spark-hi), var(--spark)); box-shadow: 0 5px 0 var(--spark-deep); }
/* Before demo.js runs (or without JavaScript) the card holds a still grid. */
.demo:not(.live) .grid { margin: 4px; }

/* 2. Facts */
.facts { display: flex; flex-wrap: wrap; gap: 12px; padding: 8px 0 0; }
.facts li { padding: 9px 16px; font: 800 14.5px/1.3 var(--round); color: #fff; border-radius: 999px; background: var(--blue); box-shadow: 0 4px 0 var(--blue-lip); }
.facts li:nth-child(5n + 2) { background: var(--green); box-shadow: 0 4px 0 var(--green-lip); }
.facts li:nth-child(5n + 3) { background: var(--purple); box-shadow: 0 4px 0 var(--purple-lip); }
.facts li:nth-child(5n + 4) { background: var(--orange); box-shadow: 0 4px 0 var(--orange-lip); }
.facts li:nth-child(5n + 5) { background: var(--pink); box-shadow: 0 4px 0 var(--pink-lip); }

.block { padding-top: 104px; }

/* 3. Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.step { position: relative; padding: 22px 22px 26px; background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); }
.step-board { display: flex; align-items: center; justify-content: center; aspect-ratio: 1.12; margin-bottom: 22px; padding: 18px; border-radius: 20px; background: var(--well); }
.step-board .grid { width: min(100%, 236px); --gap: 5px; --tray-pad: 7px; border-radius: 18px; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; font: 900 28px/1 var(--round); color: var(--on-spark); background: linear-gradient(var(--spark-hi), var(--spark)); border-radius: 15px; box-shadow: 0 4px 0 var(--spark-deep); }
.step:nth-child(2) .num { color: #fff; background: var(--blue); box-shadow: 0 4px 0 var(--blue-lip); }
.step:nth-child(3) .num { color: #fff; background: var(--purple); box-shadow: 0 4px 0 var(--purple-lip); }
.step h3 { margin-top: 14px; font-size: 21px; }
.step p { margin-top: 8px; font-size: 15.5px; color: var(--ink2); }

/* 4. Screenshots */
.shots { display: flex; gap: 22px; margin-top: 40px; padding: 4px max(24px, calc((100vw - 1088px) / 2)) 30px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shot { flex: 1 0 184px; max-width: 272px; scroll-snap-align: center; }
.shot img { width: 100%; border-radius: 32px; border: 5px solid var(--surface); box-shadow: var(--shadow); background: var(--surface); }
.shot:nth-child(odd) img { transform: rotate(-1.5deg); }
.shot:nth-child(even) img { transform: rotate(1.5deg); }
.shot figcaption { margin-top: 16px; font: 700 14.5px/1.4 var(--round); color: var(--ink2); text-align: center; text-wrap: balance; }

/* 5. Features */
.features { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; margin-top: 40px; align-items: start; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.feature-list li { position: relative; padding: 20px 0 20px 34px; border-top: 2px solid var(--hairline); }
.feature-list li::before { content: ''; position: absolute; left: 0; top: 23px; width: 20px; height: 20px; border-radius: 7px; background: var(--blue); box-shadow: 0 3px 0 var(--blue-lip); }
.feature-list li:nth-child(5n + 2)::before { background: var(--green); box-shadow: 0 3px 0 var(--green-lip); }
.feature-list li:nth-child(5n + 3)::before { background: var(--purple); box-shadow: 0 3px 0 var(--purple-lip); }
.feature-list li:nth-child(5n + 4)::before { background: var(--orange); box-shadow: 0 3px 0 var(--orange-lip); }
.feature-list li:nth-child(5n + 5)::before { background: var(--pink); box-shadow: 0 3px 0 var(--pink-lip); }
.feature-list p { margin-top: 6px; font-size: 15.5px; color: var(--ink2); }
.share { position: sticky; top: 90px; padding: 22px; background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); }
.bubble { margin: 14px 0; padding: 16px 18px; font: 700 16px/1.32 var(--sans); white-space: pre-wrap; color: #fff; background: var(--blue); border-radius: 22px 22px 22px 6px; box-shadow: 0 4px 0 var(--blue-lip); }

/* 6. Plans */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; align-items: start; }
.plan { padding: 28px; background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); }
.plan h3 { font-size: 32px; font-weight: 900; letter-spacing: -0.015em; }
.plan.plus { box-shadow: 0 0 0 3px var(--purple), 0 8px 0 var(--purple-lip), 0 22px 44px var(--shadow-c); }
.plan.plus h3 { color: var(--purple); }
.plan ul { margin-top: 18px; }
.plan li { position: relative; padding: 11px 0 11px 32px; border-top: 2px solid var(--hairline); font-size: 16px; }
.plan li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 18px; height: 18px; border-radius: 50%; background: var(--well); box-shadow: inset 0 0 0 2px var(--hairline); }
.plan.plus li::before { background: var(--spark); box-shadow: 0 2px 0 var(--spark-deep); }
.plans-note { margin-top: 20px; max-width: 46em; }

/* 7. Questions */
.qa { margin-top: 32px; border-bottom: 2px solid var(--hairline); }
.qa details { border-top: 2px solid var(--hairline); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font: 800 18px/1.3 var(--round); cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; font: 900 22px/1 var(--round); color: #fff; background: var(--purple); border-radius: 50%; box-shadow: 0 3px 0 var(--purple-lip); transition: transform 0.2s; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 40px 22px 0; max-width: 44em; color: var(--ink2); }

/* 8. Last word */
.final { margin-top: 112px; padding: 88px 0 96px; text-align: center; border-top: 2px solid var(--hairline); background: radial-gradient(560px 300px at 50% 0, color-mix(in srgb, var(--spark) 26%, transparent), transparent 70%); }
.final .mark { width: 92px; height: 92px; margin: 0 auto 30px; display: block; transform: rotate(-5deg); }
.final h2 { margin-bottom: 30px; text-wrap: balance; }
.final.small { margin-top: 88px; padding: 64px 0 72px; }
.final.small h2 { font-size: clamp(26px, 3.4vw, 36px); }

/* Footer */
.foot { padding: 44px 0 56px; border-top: 2px solid var(--hairline); font-size: 15px; }
.foot-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.foot .brand { font-size: 25px; }
.foot .mark { width: 28px; height: 28px; }
.foot-line { color: var(--ink2); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 22px 0 26px; font: 800 15px/1.4 var(--round); }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.fine { margin-top: 6px; font-size: 13.5px; color: var(--ink2); }

/* Inner pages */
.doc { max-width: 800px; padding-top: 56px; }
.crumbs { font: 800 14px/1.4 var(--round); color: var(--ink2); }
.crumbs a { text-decoration: none; color: var(--purple); }
.doc h1 { margin-top: 18px; font-size: clamp(38px, 5.6vw, 60px); letter-spacing: -0.02em; line-height: 1.04; }
.doc .lead { margin-top: 20px; max-width: none; }
.updated { margin-top: 16px; font-size: 14px; color: var(--ink2); }
.prose { margin-top: 44px; }
.prose > * + * { margin-top: 16px; }
.prose p, .prose li { color: var(--ink2); }
.prose b { color: var(--ink); font-weight: 700; }
.prose a { color: var(--ink); text-decoration-color: var(--purple); text-decoration-thickness: 2px; }
.prose h2 { margin-top: 52px; font-size: 28px; letter-spacing: -0.01em; line-height: 1.15; }
.prose h3 { margin-top: 30px; }
.prose ul { padding-left: 4px; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li + li { margin-top: 8px; }
.prose ul li::before { content: ''; position: absolute; left: 2px; top: 0.5em; width: 10px; height: 10px; border-radius: 4px; background: var(--spark); box-shadow: 0 2px 0 var(--spark-deep); }
.prose figure { margin: 26px 0 30px; padding: 26px 22px 20px; background: var(--surface); border-radius: 26px; box-shadow: var(--shadow); }
.prose figure .grid { width: min(100%, 250px); margin: 0 auto; --gap: 5px; --tray-pad: 7px; }
.prose figcaption { margin-top: 18px; text-align: center; font: 700 14.5px/1.4 var(--round); color: var(--ink2); text-wrap: balance; }
.prose .contact { margin-top: 0; font: 900 clamp(22px, 4.4vw, 34px)/1.2 var(--round); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.prose .qa { margin-top: 0; }
.prose .qa details p { color: var(--ink2); }

@media (max-width: 960px) {
  .hero { padding: 44px 0 40px; }
  .hero::before { background: radial-gradient(420px 380px at 50% 78%, color-mix(in srgb, var(--spark) 24%, transparent), transparent 70%); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .stage { justify-self: center; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 22px; align-content: start; padding: 18px; }
  .step-board { grid-row: 1 / span 4; aspect-ratio: 1; margin: 0; padding: 12px; align-self: start; }
  .features { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .share { position: static; max-width: 420px; }
  .block { padding-top: 80px; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .feature-list { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .shot { flex: 0 0 62vw; max-width: 260px; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .wrap { padding-inline: 16px; }
  .bar .wrap { height: 60px; gap: 10px; }
  .brand { font-size: 26px; }
  .chip.soon, .chip.go { display: none; }
  .btn { width: 100%; padding: 0 18px; font-size: 17px; }
  .demo { padding: 14px; border-radius: 28px; }
  .step { grid-template-columns: 104px minmax(0, 1fr); column-gap: 16px; }
  .step-board { padding: 8px; border-radius: 16px; }
  .step-board .grid { --gap: 3px; --tray-pad: 5px; border-radius: 12px; }
  .demo .grid { --gap: 6px; --tray-pad: 7px; }
  .num { width: 40px; height: 40px; font-size: 23px; border-radius: 12px; }
  .step h3 { margin-top: 8px; font-size: 19px; }
  .shots { padding-left: 16px; padding-right: 16px; gap: 14px; }
  .plan { padding: 22px; }
  .qa summary { font-size: 17px; }
  .qa details p { padding-right: 0; }
  .final { margin-top: 80px; padding: 64px 0 72px; }
  .demo-clock { font-size: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
