/* taptozero.com
 *
 * Colours are the app's Ember palette (ZeroKit/Sources/ZeroKit/Palette.swift)
 * in its light and dark schemes. A tile's lower edge is its fill at 80%, and
 * the digit colour is whichever of the two inks contrasts more, as in the app.
 * Nothing is loaded from anywhere else: no web fonts, no scripts from others.
 */

:root {
  color-scheme: light dark;

  --bg: #F6F2EA;
  --surface: #FFFDF8;
  --well: #D9D1C2;
  --slot: #EFEAE0;
  --ink: #24170F;
  --ink-soft: #6A5D52;
  --accent: #C9472B;
  --on-accent: #FFFCF5;
  --link: #A93A21;
  --hair: rgba(36, 23, 15, 0.1);
  --pip: #E1DACE;
  --pip-slack: #EDC3B7;
  --bubble: #E9E9EB;
  --bubble-ink: #000;
  --band: #1E1511;
  --band-ink: #F4EEE6;
  --band-soft: #B5A89C;
  --glow-a: rgba(243, 194, 103, 0.42);
  --glow-b: rgba(232, 125, 61, 0.22);
  --shadow-card: 0 1px 1px rgba(36, 23, 15, 0.04), 0 22px 48px -28px rgba(36, 23, 15, 0.35);
  --shadow-phone: 0 40px 70px -36px rgba(36, 23, 15, 0.45);

  --t1: #F5D995; --e1: #C4AD77; --d1: #24170F;
  --t2: #F3C267; --e2: #C29B52; --d2: #24170F;
  --t3: #EFA24A; --e3: #BF813B; --d3: #24170F;
  --t4: #E87D3D; --e4: #B96430; --d4: #24170F;
  --t5: #C9472B; --e5: #A03822; --d5: #FFFCF5;
  --t6: #AE332F; --e6: #8B2825; --d6: #FFFCF5;
  --t7: #8B2437; --e7: #6F1C2C; --d7: #FFFCF5;
  --t8: #661C3B; --e8: #51162F; --d8: #FFFCF5;
  --t9: #3E1635; --e9: #31112A; --d9: #FFFCF5;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 22px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131110;
    --surface: #1D1A18;
    --well: #38322E;
    --slot: #1A1816;
    --ink: #F4EEE6;
    --ink-soft: #A89D92;
    --accent: #EC7F33;
    --on-accent: #1C120C;
    --link: #F2984F;
    --hair: rgba(244, 238, 230, 0.1);
    --pip: #2F2A26;
    --pip-slack: #5A3420;
    --bubble: #262628;
    --bubble-ink: #FFF;
    --band: #1D1A18;
    --band-ink: #F4EEE6;
    --band-soft: #A89D92;
    --glow-a: rgba(236, 127, 51, 0.2);
    --glow-b: rgba(191, 66, 30, 0.16);
    --shadow-card: 0 0 0 1px rgba(244, 238, 230, 0.06), 0 22px 48px -28px rgba(0, 0, 0, 0.8);
    --shadow-phone: 0 0 0 1px rgba(244, 238, 230, 0.08), 0 40px 70px -36px rgba(0, 0, 0, 0.9);

    --t1: #40291F; --e1: #332018; --d1: #FFF9EE;
    --t2: #5C2B1E; --e2: #492218; --d2: #FFF9EE;
    --t3: #7C2D1D; --e3: #632417; --d3: #FFF9EE;
    --t4: #9E341D; --e4: #7E2917; --d4: #FFF9EE;
    --t5: #BF421E; --e5: #983418; --d5: #FFF9EE;
    --t6: #EC7F33; --e6: #BC6528; --d6: #1C120C;
    --t7: #F2A047; --e7: #C18038; --d7: #1C120C;
    --t8: #F6BE62; --e8: #C4984E; --d8: #1C120C;
    --t9: #FADB8C; --e9: #C8AF70; --d9: #1C120C;
  }
}

/* ---------- Base ---------- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
button { font: inherit; color: inherit; }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

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

::selection { background: var(--t2); color: #24170F; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

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

/* ---------- Type ---------- */

.eyebrow {
  font: 600 12.5px/1.2 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow.accent { color: var(--accent); }
@media (max-width: 480px) { .eyebrow { font-size: 11.5px; letter-spacing: 0.11em; } }

.display {
  font: 900 clamp(54px, 9.2vw, 112px)/0.92 var(--font-display);
  letter-spacing: -0.045em;
}
.display .dot { color: var(--accent); }

.h2 {
  font: 850 clamp(34px, 5.2vw, 60px)/1.02 var(--font-display);
  font-weight: 800;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.h3 {
  font: 700 21px/1.25 var(--font-display);
  letter-spacing: -0.015em;
}

.lead {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.mono { font-family: var(--font-mono); }

/* ---------- Buttons and chips ---------- */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 600 16px/1 var(--font-sans); letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.2s ease, opacity 0.2s ease;
}
.button:active { transform: scale(0.97); }
.button.primary { background: var(--accent); color: var(--on-accent); }
.button.dark { background: var(--ink); color: var(--bg); }
.button.secondary { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair); }
.button.small { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.button[disabled] { opacity: 0.4; cursor: default; transform: none; }
.button svg { width: 18px; height: 18px; flex: none; }

.chip {
  display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px;
  font: 600 11.5px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--pip); color: var(--ink-soft); white-space: nowrap;
}
.chip.filled { background: var(--accent); color: var(--on-accent); }

/* ---------- The mark: the app icon's four tiles around an empty slot ---------- */

.mk { --m1: #F3C267; --m1e: #C29B52; --m2: #E87D3D; --m2e: #B96430;
      --m3: #AE332F; --m3e: #8B2825; --m4: #661C3B; --m4e: #51162F;
      --mw: #EFEAE0; --ms: #D9D1C2; }
.mk .f1 { fill: var(--m1); } .mk .e1 { fill: var(--m1e); }
.mk .f2 { fill: var(--m2); } .mk .e2 { fill: var(--m2e); }
.mk .f3 { fill: var(--m3); } .mk .e3 { fill: var(--m3e); }
.mk .f4 { fill: var(--m4); } .mk .e4 { fill: var(--m4e); }
.mk .w { fill: var(--mw); stroke: var(--ms); stroke-width: 10; }

/* The icon's dark appearance, for dark pages and for the dark badge on light pages. */
.soon .mk { --m1: #FADB8C; --m1e: #B49D64; --m2: #F2A047; --m2e: #AE7333;
            --m3: #BF421E; --m3e: #892F15; --m4: #7C2D1D; --m4e: #592014;
            --mw: #2A2420; --ms: #4A423C; }
@media (prefers-color-scheme: dark) {
  .mk { --m1: #FADB8C; --m1e: #B49D64; --m2: #F2A047; --m2e: #AE7333;
        --m3: #BF421E; --m3e: #892F15; --m4: #7C2D1D; --m4e: #592014;
        --mw: #1C1917; --ms: #4A423C; }
  .soon .mk { --m1: #F3C267; --m1e: #C29B52; --m2: #E87D3D; --m2e: #B96430;
              --m3: #AE332F; --m3e: #8B2825; --m4: #661C3B; --m4e: #51162F;
              --mw: #E6DFD3; --ms: #CFC6B6; }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
}
/* A hairline appears once the page scrolls, where browsers support it. */
@supports (animation-timeline: scroll()) {
  .site-header { animation: header-line linear both; animation-timeline: scroll(); animation-range: 0 64px; }
  @keyframes header-line { to { border-bottom-color: var(--hair); } }
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font: 900 23px/1 var(--font-display); letter-spacing: -0.04em;
}
.brand .mk { width: 30px; height: 30px; flex: none; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: 15.5px;
  padding: 8px 12px; border-radius: 999px;
}
.nav a:hover { background: var(--hair); }
.nav a[aria-current="page"] { background: var(--hair); }
.nav .wide { display: none; }

.header-cta { display: none; }

@media (min-width: 760px) {
  .nav .wide { display: inline-block; }
  .header-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */

.hero { position: relative; padding-block: clamp(36px, 6vw, 88px) clamp(64px, 9vw, 120px); }
.hero-grid { display: grid; gap: clamp(44px, 6vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero-copy .lead { max-width: 33em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.soon {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 22px 8px 12px; border-radius: 16px;
  background: var(--ink); color: var(--bg);
}
.soon .mini-mark { width: 34px; height: 34px; }
.soon small { display: block; font-size: 11.5px; line-height: 1.2; opacity: 0.75; letter-spacing: 0.01em; }
.soon strong { display: block; font: 650 18px/1.15 var(--font-display); letter-spacing: -0.015em; }

.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin-top: 4px; }
.facts li {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 12px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft);
}
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 2.5px; background: var(--accent); }

.hero-board { position: relative; }
.hero-board::before {
  content: ""; position: absolute; inset: -8% -12%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 46% at 58% 40%, var(--glow-a), transparent 70%),
    radial-gradient(40% 40% at 36% 70%, var(--glow-b), transparent 70%);
  filter: blur(8px);
}
.board-note { text-align: center; margin-top: 16px; color: var(--ink-soft); font-size: 15px; }

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}

/* ---------- The board ---------- */

.board-wrap { container-type: inline-size; width: 100%; }
.board {
  --n: 4;
  --gap: 2.9cqi;
  --side: calc((100cqi - (var(--n) - 1) * var(--gap)) / var(--n));
  display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--gap);
}

.tile {
  --fill: var(--t1); --edge: var(--e1); --digit: var(--d1);
  position: relative; display: block; width: 100%; aspect-ratio: 1; margin: 0; padding: 0; border: 0;
  border-radius: calc(var(--side) * 0.23);
  background: var(--edge);
  color: var(--digit);
  font: 700 calc(var(--side) * 0.42)/1 var(--font-mono);
  font-variant-numeric: tabular-nums;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none; -webkit-user-select: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.tile::before, .tile > span {
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: calc(var(--side) * 0.075);
  border-radius: inherit;
  transition: transform 0.09s ease, opacity 0.2s ease, background-color 0.2s ease;
}
.tile::before { background: var(--fill); }
.tile > span { display: grid; place-items: center; }

button.tile { cursor: pointer; }
button.tile:active::before, button.tile:active > span,
.tile.is-pressed::before, .tile.is-pressed > span { transform: translateY(calc(var(--side) * 0.075)); }

.tile[data-v="1"] { --fill: var(--t1); --edge: var(--e1); --digit: var(--d1); }
.tile[data-v="2"] { --fill: var(--t2); --edge: var(--e2); --digit: var(--d2); }
.tile[data-v="3"] { --fill: var(--t3); --edge: var(--e3); --digit: var(--d3); }
.tile[data-v="4"] { --fill: var(--t4); --edge: var(--e4); --digit: var(--d4); }
.tile[data-v="5"] { --fill: var(--t5); --edge: var(--e5); --digit: var(--d5); }
.tile[data-v="6"] { --fill: var(--t6); --edge: var(--e6); --digit: var(--d6); }
.tile[data-v="7"] { --fill: var(--t7); --edge: var(--e7); --digit: var(--d7); }
.tile[data-v="8"] { --fill: var(--t8); --edge: var(--e8); --digit: var(--d8); }
.tile[data-v="9"] { --fill: var(--t9); --edge: var(--e9); --digit: var(--d9); }

/* A zero is an empty slot. */
.tile[data-v="0"] {
  background: var(--slot);
  box-shadow: inset 0 0 0 max(1.5px, calc(var(--side) * 0.03)) var(--well);
}
.tile[data-v="0"]::before { opacity: 0; transform: scale(0.7); }
.tile[data-v="0"] > span { opacity: 0; }

.tile.is-hit > span { animation: drop 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.tile.is-wasted { animation: wasted 0.6s ease; }
.tile.is-refused { animation: refused 0.38s ease; }
.tile.is-answer { animation: answer 0.55s ease; }

/* What a tap will reach, shown on hover with a mouse. */
.tile.in-reach { box-shadow: 0 0 0 2.5px var(--surface), 0 0 0 5px color-mix(in srgb, var(--accent) 75%, transparent); }
.tile.in-reach[data-v="0"] {
  box-shadow: inset 0 0 0 max(1.5px, calc(var(--side) * 0.03)) var(--well),
    0 0 0 2.5px var(--surface), 0 0 0 5px color-mix(in srgb, var(--accent) 45%, transparent);
}
button.tile:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: calc(var(--side) * 0.23); }

@keyframes drop {
  from { transform: translateY(-26%); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@keyframes wasted {
  0%, 30% { box-shadow: inset 0 0 0 max(2px, calc(var(--side) * 0.05)) var(--accent); }
  100% { box-shadow: inset 0 0 0 max(1.5px, calc(var(--side) * 0.03)) var(--well); }
}
@keyframes refused {
  20% { transform: translateX(-6%); }
  40% { transform: translateX(6%); }
  60% { transform: translateX(-4%); }
  80% { transform: translateX(3%); }
}
@keyframes answer {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent); }
  100% { box-shadow: 0 0 0 14px transparent; }
}

/* ---------- The playable card ---------- */

.play {
  position: relative; max-width: 410px; margin-inline: auto;
  background: var(--surface); border-radius: 30px;
  padding: clamp(20px, 3.4vw, 30px);
  box-shadow: var(--shadow-card);
  container-type: inline-size;
}
/* Without the script the board is a picture: no buttons that do nothing. */
.play:not(.is-live) .play-actions, .play:not(.is-live) .play-status { display: none; }
.board.one { --n: 1; }
.play-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.play-title { font: 700 19px/1.2 var(--font-mono); letter-spacing: -0.01em; }
.play-proof { font: 500 12.5px/1.3 var(--font-mono); color: var(--ink-soft); text-align: right; }

.play-top { position: relative; min-height: 92px; margin-top: 14px; display: flex; flex-direction: column; justify-content: flex-end; }
.play-stats, .play-verdict { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.play-stats .label, .play-verdict .label { display: block; margin-bottom: 8px; }
.label {
  font: 600 11.5px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
}
.taps-left { font: 700 clamp(60px, 17cqi, 78px)/0.86 var(--font-mono); letter-spacing: -0.05em; }
.par-value { font: 700 34px/1 var(--font-mono); letter-spacing: -0.03em; text-align: right; }
.play-stats .par { text-align: right; }

.play-verdict { display: none; flex-direction: column; align-items: flex-start; gap: 10px; }
.play-verdict .verdict-word { font: 900 clamp(46px, 13cqi, 58px)/0.95 var(--font-display); letter-spacing: -0.045em; }
.play-verdict .verdict-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--ink-soft); font-size: 15.5px; }
.play-verdict .link-button {
  background: none; border: 0; padding: 0; color: var(--link); font-weight: 600; cursor: pointer;
  text-decoration: underline; text-underline-offset: 0.18em;
}
.play[data-phase="won"] .play-stats, .play[data-phase="bust"] .play-stats,
.play[data-phase="answer"] .play-stats, .play[data-phase="answered"] .play-stats { display: none; }
.play[data-phase="won"] .play-verdict, .play[data-phase="bust"] .play-verdict,
.play[data-phase="answer"] .play-verdict, .play[data-phase="answered"] .play-verdict { display: flex; }

.pips { display: flex; gap: 5px; margin: 14px 0 20px; }
.pip { flex: 1 1 0; max-width: 30px; height: 11px; border-radius: 999px; background: var(--pip); transition: background-color 0.18s ease, box-shadow 0.18s ease; }
.pip.slack { background: var(--pip-slack); }
.pip.first-slack { margin-left: 7px; }
.pip.used { background: var(--ink); }
.pip.used.waste { background: transparent; box-shadow: inset 0 0 0 2px var(--ink); }

.play-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
.play-actions .button { min-height: 44px; padding: 0 10px; font-size: 14.5px; }
.play-status { min-height: 1.4em; margin-top: 12px; text-align: center; font-size: 14px; color: var(--ink-soft); }

/* ---------- Sections ---------- */

.section { padding-block: clamp(52px, 7vw, 92px); }
.section-head { display: grid; gap: 16px; max-width: 760px; }
.section-head .lead { max-width: 36em; }

.steps { display: grid; gap: 18px; margin-top: clamp(36px, 5vw, 56px); }
.step { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-card); display: grid; gap: 12px; align-content: start; }
.step p { color: var(--ink-soft); font-size: 16px; }
.step-visual { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 150px; margin-bottom: 8px; }
.step-visual .board-wrap { width: 112px; }
.step-visual .board { --n: 3; --gap: 6cqi; }
.step-visual .arrow { color: var(--ink-soft); font-size: 22px; }
.step-num { font: 600 12px/1 var(--font-mono); letter-spacing: 0.14em; color: var(--accent); }
/* A fingertip on the tapped tile, beside its digit rather than over it. */
.tile.tapped::after {
  content: ""; position: absolute; z-index: 2; width: 34%; aspect-ratio: 1; right: -8%; bottom: -6%;
  border-radius: 50%; background: color-mix(in srgb, var(--ink) 55%, transparent);
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 7px color-mix(in srgb, var(--ink) 14%, transparent);
}
.tile.reach-mark { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px color-mix(in srgb, var(--accent) 70%, transparent); }
.tile.reach-mark[data-v="0"] { box-shadow: inset 0 0 0 max(1.5px, calc(var(--side) * 0.03)) var(--accent); }
.tile.waste-mark > span { opacity: 1; color: var(--accent); font-size: calc(var(--side) * 0.34); }

.budget-visual { display: grid; gap: 14px; width: 100%; max-width: 250px; }
.budget-visual .pips { margin: 0; }
.budget-visual .row { display: flex; justify-content: space-between; align-items: center; }

@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Feature rows: words on one side, phones on the other. */
.feature { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(80px, 9vw, 128px); }
.feature-copy { display: grid; gap: 18px; justify-items: start; }
.feature-copy .lead { max-width: 30em; }
.ticks { list-style: none; display: grid; gap: 12px; margin-top: 6px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); font-size: 16.5px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.28em; width: 18px; height: 18px; border-radius: 5px;
  background: var(--t2); box-shadow: inset 0 -2.5px 0 var(--e2);
}
.ticks li:nth-child(2)::before { background: var(--t3); box-shadow: inset 0 -2.5px 0 var(--e3); }
.ticks li:nth-child(3)::before { background: var(--t4); box-shadow: inset 0 -2.5px 0 var(--e4); }
.ticks li:nth-child(4)::before { background: var(--t5); box-shadow: inset 0 -2.5px 0 var(--e5); }

.phones { position: relative; display: flex; justify-content: center; align-items: flex-start; min-height: 0; }
.phone {
  flex: none; width: clamp(200px, 26vw, 290px); aspect-ratio: 644 / 1400;
  border-radius: clamp(34px, 4.4vw, 48px); padding: clamp(7px, 0.9vw, 10px);
  background: #0D0B0A; box-shadow: var(--shadow-phone);
}
.phone img { width: 100%; height: 100%; border-radius: clamp(27px, 3.6vw, 39px); object-fit: cover; }
.phones .phone + .phone { margin-left: clamp(-90px, -7vw, -40px); margin-top: clamp(48px, 7vw, 88px); }
.phones .phone:first-child { z-index: 1; }

@media (max-width: 520px) {
  .phone { width: min(58vw, 240px); }
  .phones .phone + .phone { margin-left: -22vw; }
}

@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .feature.flip .feature-copy { order: 2; }
}

.bubble-wrap { display: grid; gap: 8px; margin-top: 8px; }
.bubble {
  justify-self: start; max-width: 100%;
  background: var(--bubble); color: var(--bubble-ink);
  border-radius: 20px 20px 20px 6px; padding: 10px 14px 11px;
  font: 400 15.5px/1.38 var(--font-sans); white-space: pre-wrap;
}
.bubble-caption { font-size: 14px; color: var(--ink-soft); }

/* The dark band: every board is proven. */
.band { background: var(--band); color: var(--band-ink); border-radius: clamp(28px, 4vw, 44px); overflow: hidden; }
.band .eyebrow { color: var(--band-soft); }
.band .lead { color: var(--band-soft); }
.band-grid { display: grid; gap: 48px; align-items: center; padding: clamp(36px, 6vw, 80px); }
.proof-line {
  display: inline-flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px;
  font: 600 14px/1.4 var(--font-mono); color: var(--band-ink);
  padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.06);
}
.band .phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 40px 70px -30px rgba(0, 0, 0, 0.8); }
@media (min-width: 900px) {
  .band-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}

/* Small things. */
.grid-6 { display: grid; gap: 14px; margin-top: clamp(36px, 5vw, 56px); }
.cell { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-card); display: grid; gap: 8px; align-content: start; }
.cell p { color: var(--ink-soft); font-size: 15.5px; }
.cell-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 8px; background: var(--slot); color: var(--accent); }
.cell-icon svg { width: 22px; height: 22px; }
@media (min-width: 640px) { .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Privacy promise. */
.promise {
  display: grid; gap: 20px; justify-items: start;
  background: var(--surface); border-radius: clamp(28px, 4vw, 40px); padding: clamp(32px, 6vw, 72px);
  box-shadow: var(--shadow-card);
}
.promise .lead { max-width: 38em; }

/* Closing call. */
.closing { text-align: center; display: grid; gap: 18px; justify-items: center; }
.closing .lead { max-width: 30em; }
.closing-tiles { display: flex; gap: 10px; margin-bottom: 10px; }
.closing-tiles .board-wrap { width: 46px; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--hair); padding-block: 48px 40px; margin-top: clamp(40px, 6vw, 72px); color: var(--ink-soft); font-size: 15px; }
.footer-grid { display: grid; gap: 32px; }
.footer-brand { display: grid; gap: 10px; align-content: start; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 24px; }
.footer-cols h2 { font: 600 11.5px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.footer-cols ul { list-style: none; display: grid; gap: 10px; }
.footer-cols a { color: var(--ink); text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; }
.fineprint { margin-top: 40px; display: grid; gap: 6px; font-size: 13px; line-height: 1.5; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.2fr 2fr; } }

/* ---------- Documents: privacy, terms, support ---------- */

.doc { padding-block: clamp(36px, 6vw, 80px) 0; }
.doc-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.doc-head h1 { font: 900 clamp(42px, 6.5vw, 72px)/0.98 var(--font-display); letter-spacing: -0.045em; }
.doc-head .updated { font: 500 13.5px/1.3 var(--font-mono); color: var(--ink-soft); }

.doc-grid { display: grid; gap: 40px; }
.toc { display: none; }
@media (min-width: 1040px) {
  .doc-grid { grid-template-columns: 230px minmax(0, 740px); gap: 64px; }
  .toc { display: block; position: sticky; top: 92px; align-self: start; }
  .toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--hair); }
  .toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none; font-size: 14.5px; line-height: 1.35; }
  .toc a:hover { color: var(--ink); border-left-color: var(--well); }
}

.prose { min-width: 0; }
.prose > * + * { margin-top: 16px; }
.prose h2 {
  font: 800 clamp(24px, 3vw, 30px)/1.15 var(--font-display); letter-spacing: -0.025em;
  margin-top: 64px; padding-top: 4px; scroll-margin-top: 92px;
}
.prose h3 { font: 700 19px/1.3 var(--font-display); letter-spacing: -0.01em; margin-top: 32px; }
.prose p, .prose li { font-size: 17px; line-height: 1.68; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 8px; }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 650; }
.prose .muted { color: var(--ink-soft); }
.prose .first { margin-top: 0; }
.prose p.eyebrow { font-size: 12.5px; line-height: 1.2; }
.prose p.email-big { font-size: clamp(22px, 3.2vw, 30px); line-height: 1.15; margin-top: 8px; }

.card {
  background: var(--surface); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow-card);
}
.card > * + * { margin-top: 12px; }
.card h2, .card h3 { margin-top: 0; }
.summary-list { list-style: none; padding: 0 !important; display: grid; gap: 14px !important; }
.summary-list li { position: relative; padding-left: 30px; }
.summary-list li::before {
  content: ""; position: absolute; left: 0; top: 0.36em; width: 16px; height: 16px; border-radius: 4.5px;
  background: var(--t2); box-shadow: inset 0 -2.5px 0 var(--e2);
}

.data { display: grid; gap: 0; margin-top: 20px; border-top: 1px solid var(--hair); }
.data-row { display: grid; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.data-row dt { font-weight: 650; }
.data-row dd { margin: 0; color: var(--ink-soft); }
@media (min-width: 700px) { .data-row { grid-template-columns: 190px minmax(0, 1fr); } }

.callout {
  display: grid; gap: 10px;
  border-radius: var(--radius); padding: 22px 24px;
  background: color-mix(in srgb, var(--t1) 38%, var(--surface));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--t3) 40%, transparent);
}
@media (prefers-color-scheme: dark) {
  .callout { background: color-mix(in srgb, var(--t2) 45%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--t4) 50%, transparent); }
}
.callout > * { margin: 0 !important; }

.steps-list { counter-reset: s; list-style: none; padding-left: 0 !important; }
.steps-list li { counter-increment: s; position: relative; padding-left: 42px; }
.steps-list li::before {
  content: counter(s); position: absolute; left: 0; top: 0.08em; width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; font: 700 14px/1 var(--font-mono);
  background: var(--t2); color: #24170F; box-shadow: inset 0 -2.5px 0 var(--e2);
}
@media (prefers-color-scheme: dark) { .steps-list li::before { color: #FFF9EE; } }

.path { font-weight: 650; white-space: nowrap; }

/* Support. */
.contact-card { display: grid; gap: 18px; align-items: center; }
.contact-card .button { justify-self: start; }
.email-big { font: 750 clamp(22px, 3.2vw, 30px)/1.15 var(--font-display); letter-spacing: -0.025em; word-break: break-word; }
.email-big a { color: var(--ink); text-decoration: none; }
.email-big a:hover { text-decoration: underline; }
@media (min-width: 820px) { .contact-card { grid-template-columns: minmax(0, 1fr) auto; } }

.quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px !important; }
.quick a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
  box-shadow: inset 0 0 0 1px var(--hair);
}
.quick a:hover { box-shadow: inset 0 0 0 1px var(--well); }

.faq { display: grid; gap: 10px; margin-top: 18px !important; }
.faq details { background: var(--surface); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--hair); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 650; font-size: 17px; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--slot);
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink));
  background-size: 10px 2px, 2px 10px; background-position: center; background-repeat: no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 20px 20px; color: var(--ink-soft); }
.faq .answer > * + * { margin-top: 10px; }
.faq .answer p, .faq .answer li { font-size: 16px; line-height: 1.62; }

/* ---------- Not found ---------- */

.lost { padding-block: clamp(56px, 10vw, 120px); display: grid; gap: 20px; justify-items: center; text-align: center; }
.lost .board-wrap { width: min(220px, 60vw); margin-bottom: 12px; }
.lost .board { --n: 3; --gap: 6cqi; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
