/* TABL Bowling "Pin & Ball": the site stylesheet for /, /calculator, /download and the 404 page.
   Ported from the owner-approved mockups (2026-09-28). /calculator loads calculator.css after this file for its own
   sections; everything it shares (tokens, fonts, chrome, modal) lives here.
   Order: tokens · fonts · base · type roles · utilities · components · chrome (nav, closing, footer, demo modal) ·
   sections (landing, download, 404) · forced colors / more contrast · motion (reduced motion last).
   Breakpoints: 1100 (nav collapses) · 960 (two-column stacks) · 720 (phone layouts) · 400 (gutters).
   Every color is a token; the only literals are tints derived from a token (color-mix / rgba of a token).
   Old styles.css/footer-mobile.css stay deployed one release — ponytail: delete next release
   (with fonts/barlow-condensed-700.woff2). */

/* ---------- Tokens (Pin & Ball) ---------- */

:root {
  /* Pin white: soft, never glaring. Cards a step lighter, the alternate band a step down. */
  --paper: #F4F3F0;
  --surface: #FBFAF8;
  --sunk: #EBE9E5;
  /* Ink: ball black with a breath of plum, so it belongs to the dark */
  --ink: #17151A;
  --ink-2: #3A373F;
  --ink-3: #5A5660;
  --line: #E0DDD8;
  --line-strong: #CBC7C1;
  --field-border: #807B85;
  /* Night (ball black), the one dark: hero panel, TABL column, You pay, highlight cards.
     Deep: screens, closing, footer. Raised: active thumb, legend plates. */
  --night: #1C1920;
  --night-deep: #131116;
  --night-raised: #26222B;
  --night-line: rgba(244, 243, 240, 0.13);
  --on-night: #F6F4F1;
  --on-night-2: #BAB5BF;
  /* Accent (pin red), the one action color: buttons and TABL marks. */
  --accent: #D71A28;
  --accent-hover: #B3121F;
  --on-accent: #FFFFFF;
  /* Mark: small TABL marks (callout cords and dots, active preset dot, active thumb ring). Pin red too.
     --mark-text: mark-colored labels on dark. Wash/line/ink: quiet status chips on light. */
  --mark: #D71A28;
  --mark-text: #F6F4F1;
  --mark-wash: #EEECE8;
  --mark-line: #CBC7C1;
  --mark-ink: #3A373F;
  --star: #17151A; /* ink: red means TABL or an action, not decoration */
  /* "Included": a pin-white disc with a ball-black tick (reads on the black column). Live dot stays green. */
  --go: #F6F4F1;
  --go-ink: #1C7A45;
  /* Foul: the losing side only (Typical POS ✕ and verdicts, form errors) */
  --foul: #B3261E;
  --foul-wash: #EFEDEA;
  --foul-line: #D9D5CF;
  /* Calculator bars */
  --track: #E6E3DF;
  --bar: #77727C;
  --bezel: #0D0C0F;
  --scrim: rgba(19, 17, 22, 0.55);
  /* Top of the r=299 demo page ("The 10th Frame"), sampled left and right at 390px DPR2 on 2026-09-28.
     The lane-ordering phone's status bar sits on it; re-sample when the poster is re-captured. */
  --demo-top: #EDD2D0;
  --demo-top-end: #F0DCD9;

  /* Derived */
  /* Pin neck: two 2px pin-red lines, 3px apart (the eyebrow tick only). */
  --pin: linear-gradient(var(--accent) 0 2px, transparent 2px 5px, var(--accent) 5px 7px);
  /* The ball's sheen: a soft top-left light on the large night panels (hero, download, modal stage). */
  --night-sheen: radial-gradient(60% 55% at 22% 10%, rgba(246, 244, 241, 0.07), transparent 70%);
  --hatch: repeating-linear-gradient(135deg, rgba(23, 21, 26, 0.045) 0 1px, transparent 1px 9px);
  --hatch-foul: repeating-linear-gradient(135deg, rgba(23, 21, 26, 0.05) 0 1px, transparent 1px 9px);
  /* Focus ring: ball black on light; .is-dark and the dark headers swap it to pin white. */
  --focus: var(--night);

  /* Type (§2.2). --font-display carries the metric-matched fallback (headings only);
     --font-ui is Archivo for labels, buttons and figures, where a 115% fallback would overshoot. */
  --font-display: "Archivo", "Archivo Fallback", Arial, sans-serif;
  --font-ui: "Archivo", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible", Arial, Verdana, sans-serif; /* Arial: same average advance as Atkinson (0.439em), so the swap barely reflows */

  /* Shape and elevation (§2.3) */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 44px;
  --pill: 999px;
  --e1: 0 1px 2px rgba(19, 17, 22, 0.06);
  --e2: 0 1px 2px rgba(19, 17, 22, 0.06), 0 12px 28px -12px rgba(19, 17, 22, 0.22);
  --e3: 0 2px 4px rgba(19, 17, 22, 0.08), 0 30px 60px -22px rgba(19, 17, 22, 0.45);

  /* Layout */
  --container: 1180px;
  --gutter: 32px;
  --section-pad: clamp(72px, 9vw, 128px);
  --nav-h: 68px;

  /* Motion (§7) */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-roll: cubic-bezier(0.16, 0.84, 0.3, 1);

  /* Control glyphs (strokes are --ink-2 / --ink) */
  --i-chevron-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A373F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --i-chevron-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317151A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E");
  --i-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* How far a right-hand panel runs past the container to the viewport edge (download panel). */
:root { --bleed: calc((100vw - min(100vw - 2 * var(--gutter), var(--container))) / 2); }

@media (min-width: 1600px) { :root { --container: 1320px; } }
@media (max-width: 1100px) { :root { --gutter: 24px; --nav-h: 60px; } }
@media (max-width: 400px) { :root { --gutter: 16px; } }

/* ---------- Fonts (self-hosted, OFL; licenses in /fonts/OFL-LICENSES.txt) ---------- */

/* Archivo (OFL), instanced to wdth 72-112 / wght 600-850 and subset to Latin: 49,844 bytes (gstatic file: 90,096).
   Rebuild: fonttools varLib.instancer wdth=72:112 wght=600:850, then pyftsubset (Latin; kern liga tnum pnum case) to woff2.
   Preloaded on every page with crossorigin; keep the preload href identical to this url. */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var-latin-v1.woff2") format("woff2");
  font-weight: 600 850;
  font-stretch: 72% 112%;
  font-display: swap;
}
/* Layout-shift guard for the display text: Arial Bold scaled to Archivo's average advance at wdth 112 / wght 800.
   Capsize-style values measured against Arial Bold (English letter weights). */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Arial");
  font-weight: 600 850;
  size-adjust: 114.94%;
  ascent-override: 76.39%;
  descent-override: 18.27%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/atkinson-hyperlegible-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/atkinson-hyperlegible-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

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

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
svg { flex: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; color: var(--ink); text-wrap: balance; }
h3 { font-weight: 700; }
p { margin: 0; }
p, li, dd, summary { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--night); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 200;
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 12px 18px; border-radius: var(--r-sm);
  background: var(--night); color: var(--on-night);
  font: 700 15px/1 var(--font-ui); text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* Display: H1, closing H2, calculator H1 (each page sets its own clamp) */
/* A condensed, heavy cut, like scoreboard or jersey lettering. */
.display { font-weight: 820; font-stretch: 76%; letter-spacing: 0; word-spacing: 0.06em; line-height: 0.92; }
/* Labels: eyebrows, spec keys, yoke keys, table heads, captions, group labels. Never under 13px. */
.label, .eyebrow, .chip, .tag, .group-label, .footer-label, .footer-socials {
  font-family: var(--font-ui); font-weight: 650; font-stretch: 72%;
  text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.2;
}
.label { font-size: 14px; }
/* Figures: money, rates, counts. Archivo digits (Atkinson's zero is slashed). */
.fig { font-family: var(--font-ui); font-weight: 700; font-stretch: 100%; font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* ---------- Layout utilities ---------- */

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
/* Every band clips sideways overflow, so bleeds (hero panel) never widen the page (§2.3). */
main > section, .closing, .site-footer { overflow-x: clip; }
.band, .testimonials, .compare, .screens, .features, .digital-menu, .partners, .faq { padding-block: var(--section-pad); }
.band--sunk { background: var(--sunk); }
.band--deep { background: var(--night-deep); }

/* Dark containers: pin-white text and focus ring. Goes on every dark block (§2.1 focus rule). */
.is-dark { --focus: var(--on-night); color: var(--on-night); }
.is-dark :is(h1, h2, h3) { color: var(--on-night); }
.is-dark a:not(.btn) { color: var(--on-night); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--e1); }
.card.is-dark { background: var(--night); border-color: var(--night); box-shadow: var(--e2); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* Icons: the inline Lucide sprite (ISC) at the top of each page. <svg class="icon"><use href="#i-check"/></svg> */
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Check / ✕ discs: <svg class="disc disc--yes"><use href="#disc-yes"/></svg>. Pin white = included (on dark), red ✕ = typical. */
.disc { width: 26px; height: 26px; flex: none; --disc-bg: var(--go); --disc-fg: var(--night-deep); }
.disc--no { --disc-bg: var(--foul); --disc-fg: var(--on-accent); }

.stars { color: var(--star); letter-spacing: 2px; }
.is-dark .stars { color: var(--on-night); }

/* ---------- Signature: pin neck, yoke ---------- */

/* A plain 2px ink rule (the 404 figure's frame). The red pin-neck double stripe survives only as the eyebrow tick. */
.pin { display: block; height: 2px; background: var(--ink); }
/* A label sitting on a 2px ink rule (feature groups, FAQ groups, partner groups). */
.group-label { position: relative; margin: 0; padding-bottom: 16px; font-size: 14px; color: var(--ink); }
.group-label::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); }

/* Yoke: a card's header band in the card's contrasting tone. CSS only: put .yoke on the card's existing header.
   Dark by default (You pay, highlight cards); .yoke--light is a sunk band with a hairline under it. */
.yoke {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 16px 24px;
  background: var(--night); color: var(--on-night); --focus: var(--on-night);
}
.yoke :is(h2, h3) { color: var(--on-night); }
.yoke--deep { background: var(--night-deep); }
.yoke--light { background: var(--sunk); color: var(--ink); --focus: var(--night); border-bottom: 1px solid var(--line); }
.yoke--light :is(h2, h3) { color: var(--ink); }
.yoke-key { font-size: 14px; color: inherit; }
/* Step disc for light yokes ("1 · Your numbers") */
.step-disc {
  display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none;
  border-radius: 50%; background: var(--night); color: var(--on-night);
  font: 800 17px/1 var(--font-ui); font-variant-numeric: tabular-nums;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px;
  border: 1.5px solid transparent; border-radius: var(--pill);
  font: 700 15px/1 var(--font-ui); font-stretch: 100%; letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 120ms var(--ease), border-color 120ms var(--ease), color 120ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
/* Pin-red pill: the one action color */
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
/* Ink-outline pill */
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--field-border); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); background: color-mix(in srgb, var(--surface) 70%, transparent); }
/* Pin-white outline pill on dark */
.btn-night { background: transparent; color: var(--on-night); border-color: color-mix(in srgb, var(--on-night) 50%, transparent); }
.btn-night:hover { border-color: var(--on-night); color: var(--on-night); background: color-mix(in srgb, var(--on-night) 8%, transparent); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--sunk); border-color: var(--line-strong); color: var(--ink-3); cursor: not-allowed; transform: none; }

/* ---------- Chips and tags ---------- */

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px;
  border: 1.5px solid transparent; border-radius: var(--r-xs); font-size: 14px;
}
.chip-primary { background: var(--night); border-color: var(--night); color: var(--on-night); }
.chip-outline { border-color: var(--line-strong); color: var(--ink-2); }
/* Flat tag ("Not your cost"): no rotation, no stitch. */
.tag {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px;
  border: 1.5px solid var(--night); border-radius: var(--pill);
  color: var(--night); font-size: 13px; white-space: nowrap;
}

/* ---------- Eyebrow + section header ---------- */

.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 14px; color: var(--ink-3); }
/* The pin-neck tick: 18px of the red double stripe, on light and dark alike. */
.eyebrow::before { content: ""; flex: none; width: 18px; height: 7px; background: var(--pin); }
.is-dark .eyebrow { color: var(--on-night-2); }

.section-header { max-width: 760px; margin-bottom: 48px; }
.section-header h2, .h2 {
  font-weight: 820; font-stretch: 82%; letter-spacing: -0.005em; word-spacing: 0.04em; line-height: 1.04;
  font-size: clamp(1.9rem, 1.25rem + 2.1vw, 3rem);
}
.section-header h2 + p {
  margin-top: 18px; max-width: 60ch;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.55; color: var(--ink-2);
}
.is-dark .section-header h2 + p { color: var(--on-night); }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: var(--nav-h); }
.brand { display: flex; align-items: center; flex: none; min-height: 44px; }
.brand img { width: auto; height: 30px; }
.site-header .brand, .footer-logo-plate { padding: 4px 8px; border: 1px solid rgba(9, 38, 102, 0.1); border-radius: 14px; background: #fff; box-shadow: 0 2px 6px rgba(9, 38, 102, 0.06); }
.site-header .brand img { display: block; height: 34px; }
.footer-logo-plate { display: inline-flex; align-items: center; min-height: 44px; }
.footer-logo { display: block; width: auto; height: 34px; padding: 0; border-radius: 0; background: transparent; }
.nav-links { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav-links > a:not(.btn) {
  padding: 11px 0 9px; border-bottom: 2px solid transparent;
  font: 650 15px/1 var(--font-ui); font-stretch: 100%; color: var(--ink-2); text-decoration: none;
  transition: color 120ms var(--ease), border-color 120ms var(--ease);
}
.nav-links > a:not(.btn):hover { color: var(--ink); border-bottom-color: var(--night); }
.nav-links > .btn-secondary { margin-left: 4px; }
.nav-links > .btn + .btn { margin-left: 0; }
.nav-links .nav-calculator-cta[aria-current="page"] { border-color: var(--night); color: var(--night); background: color-mix(in srgb, var(--night) 8%, transparent); }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; padding: 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
  border: 1.5px solid var(--field-border); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer;
}
.nav-toggle-bar { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 200ms var(--ease), opacity 200ms var(--ease); }

/* Keep the full navigation on one line when the mobile-app action joins the existing pills. */
@media (min-width: 1101px) and (max-width: 1240px) {
  .nav { gap: 16px; }
  .nav-links { gap: 8px; }
  .nav-links > .btn + .btn { margin-left: 0; }
  .nav-links > .btn { padding: 0 12px; font-size: 14px; }
}

@media (max-width: 1100px) {
  .brand img { height: 28px; }
  .site-header .brand img, .footer-logo { height: 30px; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; }
  /* The sheet: full-width paper under the bar, 56px rows, scrim behind. */
  .nav-open .nav-links {
    display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 280px) 1fr; column-gap: 12px; align-content: start;
    position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 49;
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain;
    margin: 0; padding: 4px var(--gutter) 24px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--e3);
  }
  .nav-open .nav-links > a:not(.btn) {
    grid-column: 1 / -1; display: flex; align-items: center; min-height: 56px; padding: 0;
    border-bottom: 1px solid var(--line); font-size: 18px; color: var(--ink);
  }
  .nav-open .nav-links > a:not(.btn):hover { border-bottom-color: var(--line); color: var(--night); }
  .nav-open .nav-links > .btn { margin: 20px 0 0; min-height: 52px; font-size: 17px; }
  /* The first child is the sr-only label, so the bars are children 2-4. */
  .nav-open .nav-toggle-bar:nth-child(2) { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle-bar:nth-child(3) { opacity: 0; }
  .nav-open .nav-toggle-bar:nth-child(4) { transform: translateY(-6px) rotate(-45deg); }
  .nav-open::before { content: ""; position: fixed; inset: var(--nav-h) 0 0; z-index: 48; background: var(--scrim); }
}
@media (max-width: 720px) {
  .nav-open .nav-links { grid-template-columns: minmax(0, 1fr); }
  .nav-open .nav-links > .btn + .btn { margin-top: 10px; }
}

/* ---------- Closing band (after </main>) + footer ---------- */

.closing {
  position: relative;
  padding-block: clamp(80px, 9vw, 128px) clamp(64px, 7vw, 96px);
  background: var(--night-deep); color: var(--on-night-2);
}
.closing-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.closing h2 {
  max-width: 13ch;
  font-size: clamp(2.3rem, 1.2rem + 3.4vw, 4.2rem); font-weight: 820; font-stretch: 76%;
  line-height: 0.92; letter-spacing: 0; word-spacing: 0.06em; color: var(--on-night);
}
.closing p { margin-top: 20px; font-size: 19px; line-height: 1.5; color: var(--on-night-2); }
.closing .cta-row { flex: none; }

.site-footer { background: var(--night-deep); color: var(--on-night-2); }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); column-gap: 48px;
  padding-top: 56px; border-top: 1px solid var(--night-line);
}
/* Footer branding uses the same white plate as the header. */
.footer-brand { margin-top: 24px; font: 750 18px/1.2 var(--font-ui); color: var(--on-night); }
.footer-copy { margin-top: 8px; max-width: 46ch; font-size: 15px; line-height: 1.55; color: var(--on-night-2); }
.footer-label { margin: 0 0 10px; font-size: 13px; color: var(--mark-text); }
.footer-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.footer-link-grid a {
  display: flex; align-items: center; min-height: 44px;
  font: 650 16px/1.2 var(--font-ui); font-stretch: 100%; color: var(--on-night); text-decoration: none;
}
.footer-link-grid a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.footer-legal {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  margin-top: 48px; padding-block: 20px 28px; border-top: 1px solid var(--night-line);
}
.footer-legal > p { font-size: 13px; line-height: 1.4; color: var(--on-night-2); }
.footer-socials { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; font-size: 13px; color: var(--on-night-2); }
.footer-social-group { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.footer-social {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--on-night); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--on-night) 35%, transparent);
  transition: box-shadow 120ms var(--ease);
}
.footer-social:hover { box-shadow: inset 0 0 0 1.5px var(--on-night); }
.footer-social .icon { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .closing-inner { flex-direction: column; align-items: flex-start; gap: 32px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .footer-legal { margin-top: 8px; }
}
@media (max-width: 720px) {
  .closing .cta-row { width: 100%; }
  .closing .cta-row .btn { flex: 1 1 100%; }
  .closing p { font-size: 17px; }
  .footer-grid { padding-top: 44px; }
  .footer-link-grid { column-gap: 16px; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}

/* ---------- Demo modal ---------- */

/* The 160ms opacity transition is load-bearing: script.js hides the modal on its transitionend. */
.demo-modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 32px 24px;
  opacity: 0; transition: opacity 160ms var(--ease);
}
.demo-modal.is-open { opacity: 1; }
.demo-backdrop { position: absolute; inset: 0; background: var(--scrim); }
.demo-dialog {
  position: relative; display: flex; flex-direction: column;
  width: min(100%, 640px); max-height: calc(100dvh - 64px); overflow: hidden;
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--e3);
}
.demo-dialog:focus { outline: none; }
/* First focusable element. A ball-black disc, so the pin-white ✕ reads on the header and over scrolled fields alike. */
.demo-close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1.5px solid var(--night-line); border-radius: 50%;
  background: var(--night); color: var(--on-night); cursor: pointer;
  --focus: var(--on-night);
  transition: border-color 120ms var(--ease), background-color 120ms var(--ease);
}
.demo-close:hover { border-color: var(--on-night); background: var(--night-raised); }
/* Dark halo under the pin-white ring: it reads on the header and on scrolled light fields alike (on-night on night-deep 17:1). */
.demo-close:focus-visible { outline-offset: 0; box-shadow: 0 0 0 6px var(--night-deep); }
.demo-close .icon { width: 20px; height: 20px; }
.demo-modal.is-success .demo-close { display: none; }

.demo-content { overflow-y: auto; overscroll-behavior: contain; padding: 0 40px; scroll-padding-block: 24px 120px; }
/* Header: a ball-black band holding eyebrow + title + intro. */
.demo-header {
  position: relative; margin: 0 -40px 32px; padding: 32px 88px 28px 40px;
  background: var(--night); color: var(--on-night); --focus: var(--on-night);
}
.demo-header .eyebrow { margin-bottom: 12px; color: var(--on-night-2); }
.demo-header h2 { font-size: 30px; font-weight: 820; font-stretch: 82%; line-height: 1.08; letter-spacing: -0.005em; word-spacing: 0.04em; color: var(--on-night); }
.demo-header h2 + p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--on-night); }

/* Subgrid keeps each row's inputs level even when a label wraps. */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.field { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 8px; min-width: 0; }
.field-label { align-self: end; font: 650 15px/1.35 var(--font-ui); font-stretch: 100%; color: var(--ink); text-wrap: balance; }
.field > input, .field > select, .multiselect { align-self: start; }
.field input, .field select, .multiselect-toggle {
  width: 100%; height: 48px; margin: 0; padding: 0 14px;
  border: 1.5px solid var(--field-border); border-radius: var(--r-sm);
  background-color: var(--surface); color: var(--ink);
  font: 400 16px/1.25 var(--font-body);
  transition: border-color 120ms var(--ease), box-shadow 120ms var(--ease);
}
.field input::placeholder { color: var(--ink-3); opacity: 1; }
.field select, .multiselect-toggle {
  -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background: var(--surface) var(--i-chevron-down) right 14px center / 18px no-repeat;
}
.field select:invalid { color: var(--ink-3); }
.field select option { color: var(--ink); }
.field input:hover, .field select:hover, .multiselect-toggle:hover { border-color: var(--ink-2); }
/* Focus: ball-black 1px + 4px ring at 20% */
.field input:focus-visible, .field select:focus-visible, .multiselect-toggle:focus-visible, .multiselect.is-open .multiselect-toggle {
  outline: none; border-color: var(--night);
  box-shadow: 0 0 0 1px var(--night), 0 0 0 5px color-mix(in srgb, var(--night) 20%, transparent);
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid .multiselect-toggle { border-color: var(--foul); box-shadow: 0 0 0 1px var(--foul); }
/* The error rule above replaces the focus box-shadow; keep the red border and add the standard ring outside it. */
.field.is-invalid :is(input, select, .multiselect-toggle):focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.field-error { display: flex; gap: 6px; min-height: 20px; margin-bottom: 14px; font-size: 14px; line-height: 1.4; color: var(--foul); }
/* Icon drawn in CSS so script.js keeps setting textContent. */
.field-error:not(:empty)::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 2px; background: currentColor;
  -webkit-mask: var(--i-alert) center / contain no-repeat; mask: var(--i-alert) center / contain no-repeat;
}

/* Business types: an inline disclosure, custom 20px ball-black checkboxes. */
.multiselect-toggle { display: flex; align-items: center; text-align: left; }
.multiselect-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.multiselect-value.is-placeholder { color: var(--ink-3); }
.multiselect.is-open .multiselect-toggle { background-image: var(--i-chevron-up); }
.multiselect-panel {
  max-height: 212px; overflow-y: auto; overscroll-behavior: contain;
  margin-top: 8px; padding: 4px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--surface);
}
.multiselect-option {
  position: relative; display: flex; align-items: center; gap: 12px;
  min-height: 44px; padding: 0 10px; border-radius: var(--r-xs); cursor: pointer;
  font-size: 16px; color: var(--ink);
}
.multiselect-option + .multiselect-option { margin-top: 2px; }
.multiselect-option:hover { background: var(--paper); }
.multiselect-option:has(input:checked) { background: color-mix(in srgb, var(--night) 8%, transparent); }
.field .multiselect-option input { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.multiselect-box {
  display: grid; place-items: center; flex: none; width: 20px; height: 20px;
  border: 1.5px solid var(--field-border); border-radius: 5px; background: var(--surface);
}
.multiselect-option input:checked + .multiselect-box { background: var(--night); border-color: var(--night); }
.multiselect-option input:checked + .multiselect-box::after {
  content: ""; width: 13px; height: 13px; background: var(--on-night);
  -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat;
}
.multiselect-option input:focus-visible + .multiselect-box { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Business-referral status (business-referral.js inserts <small> + a Retry button after the select for ?ref=biz_ links). */
.field:has(> [data-business-referral-status]) { grid-row: span 4; }
.field:has(> [data-business-referral-status] + .btn:not([hidden])) { grid-row: span 5; }
/* Locked referral select: no chevron, so its text gets the chevron's room back ("Referral verification unavailable" fits). */
.field select:disabled { padding-right: 14px; cursor: not-allowed; opacity: 1; color: var(--ink-2); background-image: none; background-color: var(--sunk); border-color: var(--line-strong); }
[data-business-referral-status] { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
[data-business-referral-status]:empty { display: none; }
.field > .btn { justify-self: start; }

.form-note { margin: 2px 0 20px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.form-actions {
  position: sticky; bottom: 0; z-index: 1;
  display: flex; align-items: center; gap: 12px;
  margin: 0 -40px; padding: 16px 40px 20px;
  background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 20px -16px rgba(19, 17, 22, 0.3);
}
.form-actions .btn { min-height: 48px; padding: 0 24px; font-size: 16px; }
.form-status { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.form-status[data-status="error"] { color: var(--foul); }
.form-status:empty { display: none; }

/* Success: a pin-white check disc on a ball-black tile. */
.demo-modal.is-success .demo-dialog { width: min(100%, 520px); }
.demo-success { overflow-y: auto; padding: 48px 40px 40px; }
.demo-success-card { display: grid; justify-items: center; text-align: center; }
.demo-success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 24px; border-radius: var(--r-md); background: var(--night); box-shadow: var(--e2); }
.demo-success-icon svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--go); color: var(--night-deep); }
.demo-success-card .eyebrow { margin-bottom: 12px; }
.demo-success-card h3 { font-size: 32px; font-weight: 820; font-stretch: 82%; line-height: 1.08; letter-spacing: -0.005em; word-spacing: 0.04em; }
.demo-success-lede { max-width: 36ch; margin-top: 14px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.demo-success-lede strong { color: var(--ink); white-space: nowrap; }
.demo-success-note { justify-self: stretch; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.demo-success-card .btn { min-width: 200px; margin-top: 24px; }

@media (max-width: 720px) {
  /* Bottom sheet that starts 48px down, so a tap at the top of the screen still closes it. */
  .demo-modal { display: block; padding: 0; }
  .demo-dialog { position: absolute; inset: 48px 0 0; width: auto; max-height: none; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .demo-close { top: 14px; right: 14px; }
  .demo-content { padding: 0 20px; scroll-padding-block: 24px 160px; }
  .demo-header { margin: 0 -20px 28px; padding: 26px 72px 22px 20px; }
  .demo-header h2 { font-size: 26px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .field-error { margin-bottom: 16px; }
  .field-error:empty { min-height: 0; }
  .form-actions { margin: 0 -20px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); }
  .form-actions .btn-primary { flex: 2 1 0; }
  .form-actions .btn-secondary { flex: 1 1 0; }
  .form-actions .btn { padding: 0 12px; }
  .demo-modal.is-success .demo-dialog { inset: auto 0 0; max-height: calc(100dvh - 48px); }
  .demo-success { padding: 40px 20px calc(24px + env(safe-area-inset-bottom)); }
  .demo-success-card h3 { font-size: 28px; }
  .demo-success-card .btn { justify-self: stretch; }
}

@media (max-width: 720px) { body { font-size: 16px; } }

.inline-link { font-weight: 700; }

/* ========== Sections: landing (/) ========== */

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

.hero { padding-top: clamp(24px, 3vw, 40px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(32px, 4vw, 64px); align-items: center;
}
.hero-copy { padding-block: 44px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.hero h1 {
  margin-top: 28px;
  font-size: clamp(2.6rem, 1.1rem + 3.9vw, 4.35rem);
  font-weight: 820; font-stretch: 76%; letter-spacing: 0; word-spacing: 0.06em; line-height: 0.92;
}
.lead { margin-top: 26px; max-width: 34ch; font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.25rem); line-height: 1.55; color: var(--ink-2); }
.hero .cta-row { margin-top: 34px; }

.proof { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; margin-top: 30px; color: var(--ink-2); text-decoration: none; }
.proof-avatars { display: flex; }
.proof-avatars > span {
  width: 38px; height: 38px; margin-left: -10px; flex: none; overflow: hidden; border-radius: 50%;
  border: 2px solid var(--paper); background: var(--surface); box-shadow: 0 0 0 1px var(--line-strong);
}
.proof-avatars > span:first-child { margin-left: 0; }
/* 961-1179 has the narrowest hero column: eight logos stack tighter there so the proof text keeps one line from 1001. */
@media (min-width: 961px) and (max-width: 1179px) { .proof-avatars > span { margin-left: -18px; } }
.proof-avatars picture { display: block; width: 100%; height: 100%; }
.proof-avatars img { width: 100%; height: 100%; object-fit: cover; }
.proof-text { display: grid; gap: 3px; font-size: 15px; line-height: 1.3; }
.proof-score { display: flex; align-items: center; gap: 8px; }
.proof .stars { font-size: 15px; }
.proof-text strong { font-size: 16px; font-weight: 800; color: var(--ink); }
.proof-sub { color: var(--ink-3); text-wrap: balance; } /* two even lines where the row wraps (961-1000, <=360) */
.proof:hover .proof-sub { color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; }

/* The ball: a ball-black panel bleeding to the right viewport edge (the band clips it), with a soft top-left
   sheen so it reads as a lit object and the tablet bezel separates. It carries only the product. */
.hero-media { position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 136px 0 104px 60px; }
.hero-panel {
  position: absolute; top: 0; bottom: 0; left: 0; right: -50vw; overflow: hidden;
  background: var(--night-sheen), var(--night);
  border-radius: var(--r-lg) 0 0 0;
}
.device-frame--tablet {
  position: relative; padding: 12px; border-radius: 22px;
  background: var(--bezel); box-shadow: var(--e3), 0 0 0 1px var(--night-line);
}
.device-frame--tablet::before {
  content: ""; position: absolute; left: 5px; top: 50%; width: 3px; height: 3px; margin-top: -1.5px;
  border-radius: 50%; background: color-mix(in srgb, var(--on-night) 18%, var(--bezel));
}
.device-screen { position: relative; }
.device-screen img { width: 100%; border-radius: 10px; }

/* Callouts: dots sit on the exact pixel they describe (% of the 1080x675 screenshot). A pin-red cord with a
   1px dark edge runs from the dot to a pin-white plate with a red left rule. */
.callout { position: absolute; left: var(--x); z-index: 2; pointer-events: none; --reach: 80px; --cord-edge: 0 0 0 1px color-mix(in srgb, var(--bezel) 60%, transparent); }
.callout--2 { --reach: 30px; }
.callout--up { top: calc(-1 * var(--reach)); height: calc(var(--y) + var(--reach)); width: 0; }
.callout--up::before {
  content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--mark); box-shadow: var(--cord-edge);
}
/* Callout 3 dog-legs: right along the ticket row to the card gutter, then down the gutter, below the bezel. */
.callout--dog { top: var(--y); width: calc(var(--x2) - var(--x)); height: calc(100% - var(--y) + var(--reach)); --reach: 44px; }
.callout--dog::before, .callout--dog::after { content: ""; position: absolute; background: var(--mark); box-shadow: var(--cord-edge); }
.callout--dog::before { left: 0; right: -1px; top: -1px; height: 2px; }
.callout--dog::after { right: -1px; top: -1px; bottom: 0; width: 2px; }
.callout-dot {
  position: absolute; left: 0; z-index: 1; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--mark); box-shadow: 0 0 0 2px var(--on-night), 0 0 0 5px color-mix(in srgb, var(--mark) 40%, transparent);
}
.callout--up .callout-dot { top: 100%; }
.callout--dog .callout-dot { top: 0; }
.callout-label {
  position: absolute; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 8px 13px 8px 11px; border-left: 3px solid var(--mark); border-radius: 0 var(--r-xs) var(--r-xs) 0;
  background: var(--on-night); color: var(--ink); box-shadow: var(--e2);
  font: 650 14px/1.2 var(--font-ui); font-stretch: 96%; letter-spacing: 0.005em;
}
.callout--up .callout-label { left: -1.5px; top: 0; transform: translateY(-100%); }
.callout--dog .callout-label { left: calc(100% - 0.5px); bottom: 0; transform: translateY(100%); }
/* "loyalty": the owner's highlighted feature, set in pin red (not underlined: an underline reads as a link). */
.callout-label em, .callout-legend em { font-style: normal; font-weight: 800; color: var(--accent); }
/* LANE 10: the lane printed on ticket #1501. Used nowhere else. */
.lane-plate {
  display: inline-flex; align-items: center; min-height: 22px; padding: 0 7px; border-radius: 4px;
  background: var(--ink); color: var(--on-night);
  font: 700 13px/1 var(--font-ui); font-stretch: 72%; letter-spacing: 0.1em; text-transform: uppercase; font-variant-numeric: tabular-nums;
}
/* Read by screen readers everywhere; a numbered key on phones, where the plates hide. */
.callout-legend {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; list-style: none;
}

/* Spec strip: a full-width band between hairlines; cells share the hero container's edges. */
.hero-specs-band { position: relative; background: var(--paper); border-block: 1px solid var(--line); }
.hero-bullets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; }
.hero-bullets li { padding: 24px 24px 28px; border-left: 1px solid var(--line-strong); font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.hero-bullets li:first-child { padding-left: 0; border-left: 0; }
.hero-bullets li:last-child { padding-right: 0; }
.spec-key {
  display: block; margin-bottom: 8px; color: var(--night);
  font: 650 15px/1.2 var(--font-ui); font-stretch: 72%; letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------- Testimonials ---------- */

/* A card wall. >=961: two columns of pairs matched by quote length (The Greek Kitchen feature + GT's Brownie Bonanza,
   Brazilian BBQ Boys wide + Butter and Brine, Sugar Belle + Hip Sips, Bearded Hogs + Happy Camper), so every row
   fills and the footers line up. The feature and wide type sizes are tuned for those pairs: re-measure if one changes.
   721-960: the first two run full width, then the pairs. <=720: one column, the first 3, then "Show all N reviews".
   One red on the wall: the feature card's opening quote mark. */
.testimonials .section-header { margin-bottom: 40px; }
.testimonial-marquee { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.testimonial-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.testimonial-card {
  display: flex; flex-direction: column; min-width: 0; padding: 28px 30px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--e1);
}
/* Same bottom padding as .testimonial-card: a feature or wide card pairs with a normal one, and the footers line up. */
.tw-card--wide, .tw-card--feature { padding: 34px 40px 24px; }
.tw-card--feature { background: var(--night-sheen), var(--night); border-color: var(--night); box-shadow: var(--e2); }
/* Focused only by the phone disclosure (tabindex -1): no ring on click, a ring from the keyboard. */
.testimonial-card:focus { outline: none; }
.testimonial-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Quote: curly marks from CSS (the copy stays verbatim); the opening mark hangs in the margin. */
.tw-quote { margin: 0 0 24px; }
.testimonial-copy { font-size: 17.5px; line-height: 1.6; color: var(--ink-2); text-indent: -0.42em; }
.testimonial-copy::before { content: "\201C"; }
.testimonial-copy::after { content: "\201D"; }
.tw-card--wide .testimonial-copy { font-size: 20px; line-height: 1.52; color: var(--ink); text-indent: -0.4em; }
.tw-card--feature .testimonial-copy {
  font: 560 24.25px/1.36 var(--font-display); font-stretch: 96%; letter-spacing: -0.008em; color: var(--on-night); text-indent: 0;
}
.tw-card--feature .testimonial-copy::before {
  margin: 0 0.04em 0 -0.5em; font-size: 1.6em; font-weight: 800; line-height: 0; vertical-align: -0.22em; color: var(--accent);
}

/* Attribution: logo | name, person · type, stars + source. One layout on every card. */
.tw-by { display: flex; align-items: flex-start; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.tw-card--feature .tw-by { border-top-color: var(--night-line); }
.tw-logo {
  display: block; width: 48px; height: 48px; flex: none; overflow: hidden; border-radius: 50%;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line-strong);
}
.tw-card--feature .tw-logo { width: 56px; height: 56px; box-shadow: 0 0 0 2px var(--night-line); }
.tw-logo img { width: 100%; height: 100%; object-fit: cover; }
.tw-who { display: grid; gap: 3px; min-width: 0; }
.testimonial-business { font: 700 16px/1.2 var(--font-ui); font-stretch: 100%; color: var(--ink); }
/* Line box pinned to the other names' (16px x 1.2) so the first-row footers line up. */
.tw-card--feature .testimonial-business { font-size: 18px; line-height: 19.2px; color: var(--on-night); }
.tw-meta { font-size: 14px; line-height: 1.35; color: var(--ink-3); }
.testimonial-owner { color: var(--ink-2); }
.tw-dot { color: var(--ink-3); }
.tw-card--feature :is(.tw-meta, .testimonial-owner, .tw-dot) { color: var(--on-night-2); }
.tw-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; margin-top: 3px; }
.tw-proof .stars { font-size: 14px; line-height: 1; }
.tw-source {
  display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 0 4px 0 14px;
  border-left: 1px solid var(--line-strong);
  font: 700 14px/1 var(--font-ui); font-stretch: 100%; color: var(--night); text-decoration: none; white-space: nowrap;
}
.tw-card--feature .tw-source { border-left-color: var(--night-line); }
.tw-source:hover { text-decoration: underline; text-underline-offset: 0.22em; }
.tw-source .icon { width: 15px; height: 15px; }
.tw-more-row { display: none; }

/* ---------- Compare ---------- */

.compare-board { position: relative; margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--e1); }
.compare-board-top, .compare-row { display: grid; grid-template-columns: minmax(200px, 0.78fr) minmax(0, 1.15fr) minmax(0, 1.05fr); }
.compare-board-top > span {
  display: flex; align-items: center; padding: 18px 26px; border-bottom: 1px solid var(--line);
  font: 650 14px/1.2 var(--font-ui); font-stretch: 72%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
/* The raised TABL column: a deep ball-black header that overhangs by 18px, capped in pin red. */
.compare-board-top .top-tabl {
  position: relative; z-index: 1; margin-top: -18px; padding-top: 36px;
  border-radius: 16px 16px 0 0; border-bottom: 0; background: var(--night-deep); color: var(--on-night);
  box-shadow: inset 0 4px 0 var(--accent), -14px 0 28px -18px rgba(19, 17, 22, 0.6), 14px 0 28px -18px rgba(19, 17, 22, 0.6);
}
.compare-board-top .top-typical { color: var(--foul); }
.compare-topic { padding: 26px; }
.compare-topic h3 { font-size: 20px; font-weight: 700; font-stretch: 100%; letter-spacing: -0.01em; line-height: 1.25; }
.compare-cell { display: flex; align-items: flex-start; gap: 14px; padding: 26px 26px 26px 24px; font-size: 16px; line-height: 1.55; }
.compare-cell .disc { margin-top: -1px; }
.compare-cell-portal {
  position: relative; background: var(--night); color: var(--on-night);
  box-shadow: -14px 0 28px -18px rgba(19, 17, 22, 0.6), 14px 0 28px -18px rgba(19, 17, 22, 0.6);
}
.compare-row:first-of-type .compare-cell-portal { padding-top: 33px; }
.compare-row:first-of-type .compare-topic, .compare-row:first-of-type .compare-cell-typical { padding-top: 33px; }
.compare-row + .compare-row > .compare-topic, .compare-row + .compare-row > .compare-cell-typical { border-top: 1px solid var(--line); }
.compare-row + .compare-row > .compare-cell-portal { border-top: 1px solid var(--night-line); }
.compare-row:last-child .compare-cell-portal { margin-bottom: -18px; padding-bottom: 44px; border-radius: 0 0 16px 16px; }
.compare-cell-typical { background: var(--hatch-foul), var(--foul-wash); color: var(--ink-2); }
.compare-cell-typical b { font-weight: 700; color: var(--foul); }
.compare-row:last-child .compare-cell-typical { border-bottom-right-radius: calc(var(--r-md) - 1px); }
.ledger-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Screens ---------- */

.screen-stage { padding: 14px; border-radius: var(--r-lg); background: var(--bezel); box-shadow: 0 0 0 1px var(--night-line), var(--e3); }
.screen-stage picture { display: block; }
.screen-stage img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 10px; }
.screens-caption {
  display: flex; justify-content: space-between; gap: 16px; margin: 18px 4px 0;
  font: 650 14px/1.2 var(--font-ui); font-stretch: 72%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-night-2);
}
.screens-caption b { font-weight: 700; color: var(--on-night); }
.screen-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 16px; margin-top: 28px; }
.thumb {
  display: flex; flex-direction: column; gap: 10px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer;
  color: var(--on-night-2); border-radius: 12px; transition: background-color 120ms var(--ease);
}
.thumb picture { display: block; }
.thumb img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 6px;
  box-shadow: 0 0 0 1px var(--night-line); opacity: 0.72; transition: opacity 120ms var(--ease), box-shadow 120ms var(--ease);
}
.thumb:hover img { opacity: 0.92; }
.thumb-label { display: grid; gap: 3px; padding-top: 9px; border-top: 2px solid var(--night-line); }
.thumb-name { font: 650 15px/1.2 var(--font-ui); font-stretch: 100%; }
.thumb-note { font-size: 13.5px; line-height: 1.35; color: var(--on-night-2); }
.thumb.is-active { color: var(--on-night); }
.thumb.is-active img { opacity: 1; box-shadow: 0 0 0 2px var(--mark); }
.thumb.is-active .thumb-label { border-top-color: var(--mark); }
.thumb.is-active .thumb-name { color: var(--on-night); }

@media (min-width: 1101px) {
  .screens-layout { display: grid; grid-template-columns: minmax(0, 1fr) 264px; grid-template-rows: auto 1fr; column-gap: 32px; align-items: start; }
  .screen-preview, .screens-caption { grid-column: 1; }
  .screen-thumbs { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 0; }
  .thumb { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 14px; padding: 8px; }
  .thumb:hover, .thumb.is-active { background: var(--night-raised); }
  .thumb-label { padding-top: 0; border-top: 0; }
}

/* ---------- Features ---------- */

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature-group-label { grid-column: 1 / -1; margin-top: 36px; }
.feature-group-label:first-child { margin-top: 0; }
.feature-card {
  display: flex; flex-direction: column; padding: 22px 22px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
}
/* Flat cards; the icon sits on a sunk tile. */
.feature-icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 10px;
  background: var(--sunk); color: var(--night);
}
.feature-icon .icon { width: 22px; height: 22px; stroke-width: 1.85; }
.feature-card h3 { font-size: 18px; font-weight: 700; font-stretch: 100%; letter-spacing: -0.01em; line-height: 1.3; }
.feature-card p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
/* Customer Loyalty (the owner's highlighted feature): a pin-red tile on the one black card. */
.feature-card--highlight { background: var(--night); border-color: var(--night); box-shadow: var(--e2); }
.feature-card--highlight p { color: var(--on-night); }
.feature-card--highlight .feature-icon { background: var(--accent); color: var(--on-accent); }

/* ---------- Lane ordering ---------- */

.digital-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 4.5vw, 72px); align-items: stretch; }
.digital-copy { display: flex; flex-direction: column; }
.digital-copy .section-header { margin-bottom: 0; }
/* Numbered because the order is real. Rows share spare height so the column ends level with the stage. */
.dm-steps { flex: 1; display: flex; flex-direction: column; margin: 32px 0 28px; list-style: none; border-top: 1px solid var(--ink); }
.dm-step {
  flex: 1 0 auto; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 18px; align-content: center; align-items: start;
  padding: 18px 0; border-bottom: 1px solid var(--line-strong);
}
.dm-step-num {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--night); color: var(--night);
  font: 800 16px/1 var(--font-ui); font-variant-numeric: tabular-nums;
}
.dm-step h3 { padding-top: 6px; font-size: 19px; font-weight: 700; font-stretch: 100%; letter-spacing: -0.01em; line-height: 1.25; }
.dm-step p { margin-top: 6px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
/* The tool: a real QR code for the demo URL and the section's one demo link. */
.dm-try {
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 22px; align-items: center;
  padding: 20px 22px 20px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--e1);
}
.dm-qr { padding: 12px; border-radius: var(--r-sm); background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line-strong); line-height: 0; }
.dm-qr svg { display: block; width: 87px; height: 87px; }
.dm-try-title { font: 700 18px/1.3 var(--font-ui); font-stretch: 100%; letter-spacing: -0.01em; color: var(--ink); }
.dm-try .demo-link { margin-top: 14px; }
.dm-try-note { grid-column: 1 / -1; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--ink-3); }

/* Stage: a surface panel; faint lane boards under the phone. */
.dm-stage {
  position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--e1);
}
.dm-stage::before {
  content: ""; position: absolute; inset: 53px 0 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--ink) 6%, transparent) 0 1px, transparent 1px 22px);
  -webkit-mask-image: radial-gradient(ellipse 60% 62% at 42% 52%, #000 10%, transparent 76%);
  mask-image: radial-gradient(ellipse 60% 62% at 42% 52%, #000 10%, transparent 76%);
}
.dm-stage-bar { position: relative; display: flex; align-items: center; min-height: 53px; padding: 0 22px; border-bottom: 1px solid var(--line); }
.live-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font: 650 14px/1 var(--font-ui); font-stretch: 72%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
}
.live-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--go-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--go-ink) 20%, transparent); }
.dm-device { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }

/* Phone: the screen is the demo page's canvas (--demo-top sampled from r=299), status bar on top, the page pinned
   to the bottom. Sizes in cqw so the island and status row scale with the phone.
   ponytail: cqw needs Chrome 105 / Safari 16 / Firefox 110; older browsers get an unsized status row. */
.phone-frame { flex: none; width: min(100%, 292px); padding: 11px; border-radius: var(--r-xl); background: var(--bezel); box-shadow: var(--e3), 0 0 0 1px color-mix(in srgb, var(--on-night) 8%, transparent); }
.phone-screen {
  position: relative; aspect-ratio: 375 / 810; overflow: hidden; border-radius: 34px; container-type: inline-size;
  background: linear-gradient(90deg, var(--demo-top) 10%, var(--demo-top-end) 75%) var(--demo-top);
}
.phone-screen::before {
  content: ""; position: absolute; top: 3.08cqw; left: 50%; z-index: 2; width: 28.77cqw; height: 8.22cqw; margin-left: -14.38cqw;
  border-radius: 20px; background: var(--bezel);
}
.phone-status {
  position: absolute; inset: 3.08cqw 0 auto; z-index: 2; height: 8.22cqw; pointer-events: none;
  display: grid; grid-template-columns: 1fr 28.77cqw 1fr; align-items: center; justify-items: center;
  color: var(--ink); font: 600 4.45cqw/1 -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
.phone-status svg { grid-column: 3; display: block; width: auto; height: 3.77cqw; }
.phone-screen-poster { position: absolute; left: 0; bottom: 0; width: 100%; }
.phone-screen-demo { display: none; }
/* The live sample is a Tab stop above 1100px and its screen clips any ring, so the frame shows focus (script.js sets .is-focused). */
.phone-frame.is-focused { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Chips: labels lifted from real Portal screens; decorative and click-through. Each overlaps the right bezel. */
.dm-chip { position: absolute; left: calc(50% + 63px); z-index: 3; width: 212px; pointer-events: none; user-select: none; }
.dm-link { top: calc(50% - 196px); }
.dm-ticket { top: calc(50% + 58px); }
.dm-tab {
  display: inline-flex; align-items: center; padding: 7px 11px 6px; border-radius: 7px 7px 0 0;
  background: var(--night); color: var(--on-night);
  font: 650 13px/1 var(--font-ui); font-stretch: 72%; letter-spacing: 0.08em; text-transform: uppercase;
}
.dm-link-list { list-style: none; overflow: hidden; border-radius: 0 var(--r-md) var(--r-md) var(--r-md); background: var(--surface); box-shadow: var(--e3), 0 0 0 1px var(--line-strong); }
.dm-link-list li { display: flex; align-items: center; gap: 10px; padding: 11px 12px; font: 650 14px/1.15 var(--font-ui); font-stretch: 100%; color: var(--ink); white-space: nowrap; }
.dm-link-list li + li { border-top: 1px solid var(--line); }
.dm-link-list .icon { width: 16px; height: 16px; color: var(--night); }
.dm-ticket-card { overflow: hidden; border-radius: 0 var(--r-md) var(--r-md) var(--r-md); background: var(--surface); box-shadow: var(--e3), 0 0 0 1px var(--line-strong); }
.dm-ticket-top {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px;
  background: var(--night); color: var(--on-night); border-top: 1px solid var(--night-line);
  font: 700 15px/1 var(--font-ui); font-stretch: 100%;
}
.dm-pill { padding: 4px 6px 3px; border-radius: 4px; background: var(--surface); color: var(--ink); font: 700 12px/1 var(--font-ui); letter-spacing: 0.06em; text-transform: uppercase; }
.dm-pill--go { background: color-mix(in srgb, var(--go-ink) 16%, var(--surface)); color: color-mix(in srgb, var(--go-ink) 70%, var(--ink)); }
.dm-ticket-main { padding: 10px 12px 12px; }
.dm-ticket-status { padding: 6px; border-radius: 6px; text-align: center; background: var(--mark-wash); box-shadow: inset 0 0 0 1px var(--mark-line); color: var(--mark-ink); font: 700 13px/1 var(--font-ui); }
.dm-ticket-name { margin-top: 10px; font: 700 16px/1.2 var(--font-ui); font-stretch: 100%; color: var(--ink); }
.dm-ticket-lane { margin-top: 3px; font: 600 14px/1.2 var(--font-ui); color: var(--ink-3); }
.dm-ticket-lane b { font-weight: 800; color: var(--ink); }
.dm-ticket-total {
  display: flex; justify-content: space-between; margin-top: 9px; padding-top: 9px; border-top: 1.5px dashed var(--line-strong);
  font: 700 14px/1 var(--font-ui); font-variant-numeric: tabular-nums; color: var(--ink);
}
.dm-ticket-item { margin-top: 7px; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.dm-ticket-item small { display: block; padding-left: 12px; font-size: 13px; color: var(--ink-3); }
.dm-ticket-item small::before { content: "\2022\00a0"; }

/* Desktop: the live sample loads at a real 390px phone width, scaled into the 292px screen once settled. */
@media (min-width: 1101px) {
  .dm-device .phone-frame { width: 314px; margin-right: 140px; }
  .phone-screen-demo {
    position: absolute; left: 0; bottom: 0; display: block; width: 390px; height: 792px; border: 0; background: transparent;
    transform: scale(0.748718); transform-origin: 0 100%; opacity: 0; transition: opacity 200ms var(--ease);
  }
  .phone-screen-demo.is-ready { opacity: 1; }
}
@media (min-width: 1101px) and (max-width: 1240px) {
  .dm-device { padding-inline: 16px; }
  .dm-device .phone-frame { margin-right: 168px; }
  .dm-chip { width: 196px; left: calc(50% + 47px); }
}

/* ---------- Business partners ---------- */
.business-partner-feature {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px);
  align-items: center; padding: clamp(20px, 4vw, 48px); margin-bottom: 32px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--e1);
  color: inherit; text-decoration: none; transition: border-color 120ms var(--ease), box-shadow 120ms var(--ease);
}
.business-partner-feature:active { border-color: var(--ink); box-shadow: var(--e2); }
.business-partner-art { display: grid; place-items: center; min-width: 0; padding: clamp(12px, 2vw, 28px); background: var(--on-accent); border: 1px solid var(--line); border-radius: var(--r-md); }
.business-partner-art img { width: 100%; height: auto; object-fit: contain; }
.business-partner-copy { display: grid; justify-items: start; gap: 18px; min-width: 0; }
.partner-card__name { font-size: 1.375rem; line-height: 1.2; }
.business-partner-copy p { max-width: 62ch; font-size: 17px; line-height: 1.6; }
.business-partner-copy .btn { white-space: normal; text-align: left; }
.partnership-callout {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: clamp(28px, 4vw, 48px); margin-top: 32px; border-radius: var(--r-lg);
  background: var(--night-sheen), var(--night); border: 1px solid var(--night); box-shadow: var(--e2);
}
.partnership-callout h3 { max-width: 24ch; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; }
.partnership-callout p { max-width: 54ch; margin-top: 16px; color: var(--on-night-2); }
.partnership-callout > .btn { flex: none; }
@media (max-width: 720px) {
  .business-partner-feature { grid-template-columns: 104px minmax(0, 1fr); grid-template-areas: "logo name" "description description" "action action"; column-gap: 16px; row-gap: 18px; }
  .business-partner-art { grid-area: logo; }
  .business-partner-copy { display: contents; }
  .business-partner-copy .partner-card__name { grid-area: name; }
  .business-partner-copy p { grid-area: description; }
  .business-partner-copy .btn { grid-area: action; justify-self: start; }
  .business-partner-art { width: 104px; height: 72px; padding: 10px; }
  .business-partner-art img { max-height: 48px; }
  .partner-card__name { font-size: 1.125rem; }
  .business-partner-copy p { font-size: 16px; }
  .partnership-callout { align-items: flex-start; flex-direction: column; gap: 24px; }
  .partnership-callout > .btn { width: 100%; padding-inline: 16px; }
}
@media (forced-colors: active) {
  .business-partner-feature, .business-partner-art, .partnership-callout { border: 1px solid CanvasText; }
  .business-partner-art { forced-color-adjust: none; }
}

/* ---------- Industry data ---------- */
/* Scoped to .partner-grid--stats: the calculator's partner cards (calculator.css) reuse these class names. */

.partner-grid--stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
/* Each card spans three shared rows (source, stat, caption), so a two-line source lifts its whole row together. */
.partner-grid--stats .partner-card, .partner-grid--stats .partner-card__link { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
.partner-grid--stats .partner-card { min-width: 0; }
.partner-grid--stats .partner-card__link {
  overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--e1);
  color: inherit; text-decoration: none;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.partner-grid--stats .partner-card__link:hover { transform: translateY(-2px); box-shadow: var(--e2); }
.partner-grid--stats .partner-card__link:focus-visible { outline-offset: 3px; }
/* The ring sits outside the card, on paper, so the dark card still takes the ball-black ring. */
.partner-grid--stats .partner-card--highlight { --focus: var(--night); }
/* Header: the source's name, plain text (one link and one strong per card stay test-pinned). A light band;
   the highlight card's is deep ball black. */
.partner-grid--stats .partner-card__source {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 20px 12px;
  background: var(--paper); color: var(--ink-2); border-bottom: 1px solid var(--line);
  font: 650 14px/1.2 var(--font-ui); font-stretch: 72%; letter-spacing: 0.08em; text-transform: uppercase;
}
.partner-grid--stats .partner-card__source .icon { width: 16px; height: 16px; opacity: 0.8; }
.partner-grid--stats .partner-card__logo--stat { display: grid; gap: 4px; padding: 24px 24px 0; }
.partner-grid--stats .partner-card__logo--stat strong {
  font: 800 clamp(2.6rem, 1.6rem + 1.6vw, 3.4rem)/1 var(--font-ui); font-stretch: 100%; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.partner-grid--stats .partner-card__logo--stat span { font: 650 17px/1.3 var(--font-ui); font-stretch: 100%; color: var(--ink); }
.partner-grid--stats .partner-card__description { padding: 16px 24px 24px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.partner-grid--stats .partner-card__logo--stat + .partner-card__description { margin-top: 12px; }
/* 35% food and beverage: the concession argument, the one ball-black card. */
.partner-grid--stats .partner-card--highlight .partner-card__link { background: var(--night); border-color: var(--night); box-shadow: var(--e2); }
.partner-grid--stats .partner-card--highlight .partner-card__source { background: var(--night-deep); color: var(--on-night); border-bottom-color: var(--night-line); }
.partner-grid--stats .partner-card--highlight .partner-card__logo--stat strong, .partner-grid--stats .partner-card--highlight .partner-card__logo--stat span { color: var(--on-night); }
.partner-grid--stats .partner-card--highlight .partner-card__description { color: var(--on-night); }
/* Figures in prose: Archivo digits (no slashed zero) at a reading weight. */
.faq-item p .fig, .partner-card__description .fig, .partners-footnote .fig { font-weight: 600; }
.partners-footnote { margin-top: 28px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }

/* ---------- FAQ ---------- */

.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-intro { position: sticky; top: 104px; }
.faq-intro .section-header { margin-bottom: 0; }
.still-deciding { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-strong); font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.still-deciding strong { display: block; margin-bottom: 2px; font: 700 17px/1.3 var(--font-ui); font-stretch: 100%; color: var(--ink); }
.still-deciding a { font-weight: 700; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group .group-label { margin-bottom: 4px; }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 60px; padding: 14px 0; list-style: none; cursor: pointer;
  font: 650 17px/1.4 var(--font-ui); font-stretch: 100%; letter-spacing: -0.005em; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; content: "+" / ""; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--field-border); color: var(--ink-2);
  padding-bottom: 2px; font: 500 20px/1 var(--font-ui); transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}
.faq-item summary:hover::after { border-color: var(--ink); color: var(--ink); }
.faq-item[open] summary::after { content: "\2212"; content: "\2212" / ""; background: var(--night); border-color: var(--night); color: var(--on-night); }
.faq-item p { max-width: 64ch; padding: 0 48px 22px 0; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .hero-media { padding: 128px 0 100px 48px; }
  /* Narrower panel: tighter plates so "Every ticket shows the lane" keeps a margin from the viewport edge. */
  .callout-label { gap: 8px; padding: 7px 11px 7px 9px; font-size: 13px; }
  /* Lane ordering: the poster only; the ticket chip tucks under the phone. */
  .phone-demo-label, .dm-stage-bar, .dm-link { display: none; }
  .dm-stage::before { inset: 0; }
  .dm-device { flex-direction: column; padding: 36px 20px 28px; }
  .dm-ticket { position: relative; left: auto; top: auto; margin-top: -20px; }

  .testimonial-set { gap: 20px; }
  .testimonial-card { padding: 24px 24px 20px; }
  .tw-card--wide, .tw-card--feature { padding: 30px 32px 20px; }
  .testimonial-copy { font-size: 17px; }
  .tw-card--wide .testimonial-copy { font-size: 19px; }
  .tw-card--feature .testimonial-copy { font-size: 23.5px; }
}

@media (min-width: 961px) and (max-width: 1100px) {
  .hero .cta-row .btn-lg { padding: 0 22px; }
}

@media (max-width: 979px) {
  .partner-grid--stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 640px; padding-bottom: 48px; }
  .lead { max-width: 46ch; }
  .hero-bullets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-bullets li:nth-child(2) { padding-right: 0; }
  .hero-bullets li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-bullets li:nth-child(n + 3) { border-top: 1px solid var(--line-strong); }

  .testimonial-card:nth-child(-n + 2) { grid-column: 1 / -1; }

  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .digital-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .dm-steps { flex: none; }
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-intro { position: static; }
}

/* 721-960: a wide card past the first two sits in a half-width pair: the normal card's padding (so its stars and
   source keep one line), and 20px type to even the row with its partner. */
@media (min-width: 721px) and (max-width: 960px) {
  .tw-card--wide:nth-child(n + 3) { padding: 24px 24px 20px; }
  .tw-card--wide:nth-child(n + 3) .testimonial-copy { font-size: 20px; }
}

/* Tablets (600-960): the stage is full-width, so the chips return beside the phone. */
@media (min-width: 600px) and (max-width: 960px) {
  .dm-device { flex-direction: row; padding: 44px 24px; }
  .dm-device .phone-frame { margin-right: 140px; }
  .dm-link { display: block; top: calc(50% - 190px); }
  .dm-chip { position: absolute; left: calc(50% + 52px); margin: 0; }
  .dm-ticket { top: calc(50% + 60px); }
}

@media (max-width: 720px) {
  .section-header { margin-bottom: 32px; }
  .hero .cta-row .btn { flex: 1 1 100%; }
  .proof { margin-top: 26px; }
  /* Eight review logos: a tighter stack keeps the proof row on one line at 375-720 and inside 320. */
  .proof-avatars > span { width: 28px; height: 28px; margin-left: -14px; }

  /* Hero: the panel goes full bleed. Plates and cords hide; numbered dots stay on the image and a legend with
     the same labels sits under the device. */
  .hero-copy { padding: 8px 0 40px; }
  .hero-media { padding: 40px 0 28px; }
  .hero-panel { left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); border-radius: 0; }
  .device-frame--tablet { padding: 6px; border-radius: 14px; }
  .device-screen img { border-radius: 7px; }
  .callout { left: var(--xm, var(--x)); top: var(--ym, var(--y)) !important; width: 0 !important; height: 0 !important; }
  .callout::before, .callout::after, .callout-label { display: none; }
  .callout-dot, .callout--up .callout-dot, .callout--dog .callout-dot {
    top: 0; display: grid; place-items: center; width: 20px; height: 20px; margin: -10px 0 0 -10px;
    box-shadow: 0 0 0 2px var(--on-night), 0 2px 6px rgba(13, 12, 15, 0.4);
    font: 800 12px/1 var(--font-ui); color: var(--on-accent);
  }
  .callout-dot::after { content: attr(data-n); }
  .callout-legend {
    position: static; width: auto; height: auto; margin: 20px 0 0; overflow: visible; clip: auto; white-space: normal;
    position: relative; display: grid; gap: 10px; color: var(--on-night); font: 650 15px/1.35 var(--font-ui); font-stretch: 96%;
  }
  .callout-legend li { display: flex; align-items: center; gap: 12px; }
  .callout-legend b {
    display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%;
    background: var(--mark); color: var(--on-accent); font: 800 13px/1 var(--font-ui);
  }
  .callout-legend > li > span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
  .callout-legend em { color: var(--on-night); text-decoration: underline 2px var(--accent); text-underline-offset: 3px; }
  .callout-legend .lane-plate { background: var(--night-raised); box-shadow: 0 0 0 1px var(--night-line); }

  .hero-bullets { grid-template-columns: minmax(0, 1fr); }
  .hero-bullets li, .hero-bullets li:nth-child(n) {
    display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; align-items: baseline;
    padding: 16px 0; border-left: 0; border-top: 1px solid var(--line-strong); font-size: 15px;
  }
  .hero-bullets li:first-child { border-top: 0; }
  .spec-key { margin: 0; font-size: 14px; }

  /* Testimonials: one column, the first 3, then "Show all N reviews". */
  .testimonials .section-header { margin-bottom: 28px; }
  .testimonial-set { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .testimonial-card, .tw-card--wide, .tw-card--feature { padding: 22px 20px 18px; }
  .tw-quote { margin-bottom: 18px; }
  .testimonial-copy, .tw-card--wide .testimonial-copy { font-size: 17px; line-height: 1.58; }
  .tw-card--feature .testimonial-copy { font-size: 20px; line-height: 1.38; }
  .tw-by { padding-top: 14px; gap: 12px; }
  .tw-logo, .tw-card--feature .tw-logo { width: 44px; height: 44px; }
  .tw-card--feature .testimonial-business { font-size: 16px; }
  /* Set by script.js only: without script nothing collapses and the button keeps [hidden]. */
  .testimonial-set.is-collapsed > .testimonial-card:nth-child(n + 4) { display: none; }
  .tw-more-row { display: block; }
  .tw-more { width: 100%; margin-top: 16px; background: var(--surface); }
  .tw-more[aria-expanded="true"] .icon { transform: rotate(180deg); }

  /* Compare: each row is a topic plus two labelled cards. */
  .compare-board { margin-top: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
  .compare-board-top { display: none; }
  .compare-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .compare-row + .compare-row { margin-top: 32px; }
  .compare-topic, .compare-row:first-of-type .compare-topic, .compare-row + .compare-row > .compare-topic { padding: 0 0 2px; border: 0; }
  .compare-cell, .compare-row:first-of-type .compare-cell-portal, .compare-row:first-of-type .compare-cell-typical,
  .compare-row:last-child .compare-cell-portal, .compare-row + .compare-row > .compare-cell-portal, .compare-row + .compare-row > .compare-cell-typical {
    margin: 0; padding: 16px 18px 18px 16px; border-radius: var(--r-md);
  }
  /* Seven stacked black cards need no red cap each. */
  .compare-cell-portal { border: 0 !important; box-shadow: var(--e1); }
  .compare-cell-typical, .compare-row + .compare-row > .compare-cell-typical { border: 1px solid var(--foul-line); }
  .compare-row:last-child .compare-cell-typical { border-radius: var(--r-md); }
  .compare-cell p { display: block; }
  .ledger-label {
    position: static; display: block; width: auto; height: auto; margin-bottom: 4px; overflow: visible; clip: auto; white-space: normal;
    font: 650 13px/1.2 var(--font-ui); font-stretch: 72%; letter-spacing: 0.08em; text-transform: uppercase;
  }
  .compare-cell-portal .ledger-label { color: var(--mark-text); }
  .compare-cell-typical .ledger-label { color: var(--ink-3); }

  .screen-stage { padding: 6px; border-radius: 14px; }
  .screen-stage img { border-radius: 8px; }
  .screens-caption > span + span { display: none; }
  .screen-thumbs { gap: 16px 12px; }
  .thumb-name { font-size: 14px; }
  .thumb-note { font-size: 13px; }

  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .feature-group-label { margin-top: 28px; margin-bottom: 4px; }
  .feature-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
  .feature-icon { grid-row: span 2; width: 40px; height: 40px; margin: 0; }
  .feature-icon .icon { width: 20px; height: 20px; }
  .feature-card p { margin-top: 4px; font-size: 15px; }

  .dm-steps { margin: 24px 0; }
  .dm-step { column-gap: 14px; padding: 14px 0; }
  .dm-step-num { width: 32px; height: 32px; font-size: 15px; }
  .dm-step h3 { padding-top: 5px; font-size: 17px; }
  .dm-step p { font-size: 15px; }
  /* A phone cannot scan its own screen: drop the code, keep one full-width button. */
  .dm-try { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .dm-qr { display: none; }
  .dm-try .demo-link { display: flex; width: 100%; }
  .dm-device { padding: 28px 16px 24px; }

  .faq-item p { padding-right: 0; font-size: 16px; }
  .faq-group + .faq-group { margin-top: 40px; }
}

@media (max-width: 599px) {
  .dm-device .phone-frame { width: min(100%, 248px); }
}

/* Smallest phones: 16px dots so dot 3 fits the blank beside ticket #1501's customer lines. */
@media (max-width: 400px) {
  .callout-dot, .callout--up .callout-dot, .callout--dog .callout-dot { width: 16px; height: 16px; margin: -8px 0 0 -8px; font-size: 11px; }
  .tw-source { padding-left: 0; border-left: 0; }
}

@media (max-width: 560px) {
  .partner-grid--stats { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .partner-grid--stats .partner-card__logo--stat { padding: 18px 20px 0; }
  .partner-grid--stats .partner-card__logo--stat strong { font-size: 2.5rem; }
  .partner-grid--stats .partner-card__description { padding: 12px 20px 20px; }
  .partner-grid--stats .partner-card__logo--stat + .partner-card__description { margin-top: 4px; }
}

/* ========== Sections: download, 404 ========== */

/* ---------- Compact header (download) ---------- */
/* No hamburger: this page loads no script.js. "Compare costs" hides under 760px, as today. */
.nav-compact { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (max-width: 760px) {
  .nav-compact > a:first-child { display: none; }
  .nav:has(.nav-compact) { gap: 10px; flex-wrap: wrap; height: auto; min-height: var(--nav-h); padding-block: 8px; }
  .nav:has(.nav-compact) .brand img { height: 30px; }
  .nav-compact { gap: 8px; }
  .nav-compact > .btn { padding-inline: 10px; font-size: 13px; }
}

/* ---------- Download (§6) ---------- */
.dl { min-height: calc(100svh - var(--nav-h) - 1px); display: grid; }
.dl-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.dl-copy { align-self: center; padding-block: clamp(48px, 6vw, 96px); padding-right: clamp(32px, 5vw, 88px); }
.dl-copy h1 { max-width: 11ch; font-size: clamp(2.6rem, 1.1rem + 3.9vw, 4.35rem); }
.dl-body { margin-top: 24px; max-width: 520px; font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.25rem); line-height: 1.55; color: var(--ink-2); }
.dl-note {
  display: flex; gap: 12px; max-width: 520px; margin-top: 40px; padding-top: 20px;
  border-top: 1px solid var(--line-strong); font-size: 15px; line-height: 1.55; color: var(--ink-3);
}
.dl-note .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--night); }

/* The ball-black panel: full height, bleeding right, with the hero panel's top-left sheen. */
.dl-panel {
  display: grid; align-content: center; justify-items: center;
  margin-right: calc(-1 * var(--bleed)); padding: 64px calc(var(--bleed) + 32px) 64px clamp(64px, 7vw, 112px);
  background: var(--night-sheen), var(--night); color: var(--on-night);
}
.dl-stores { display: grid; gap: 12px; width: min(100%, 380px); }
/* Two equal store buttons: pin-white plates, ink labels, a platform glyph. Neither platform outranks the other. */
.store-btn {
  display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 20px 0 18px;
  border-radius: var(--pill); background: var(--on-night); color: var(--ink); text-decoration: none;
  box-shadow: var(--e2);
  transition: background-color 120ms var(--ease), transform 120ms var(--ease);
}
.is-dark a.store-btn { color: var(--ink); } /* beats .is-dark a:not(.btn) */
.store-btn:hover { background: var(--surface); }
.store-btn:active { transform: translateY(1px); }
.store-glyph { width: 22px; height: 22px; flex: none; fill: currentColor; }
.store-label { display: grid; gap: 3px; }
.store-kicker { font: 650 13px/1 var(--font-ui); font-stretch: 72%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.store-name { font: 750 18px/1 var(--font-ui); font-stretch: 100%; letter-spacing: -0.005em; }
.store-btn > .icon { width: 18px; height: 18px; margin-left: auto; color: var(--ink-3); }
.dl-web {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 16px;
  font: 700 16px/1 var(--font-ui); font-stretch: 100%;
  text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--on-night) 45%, transparent); text-underline-offset: 0.3em;
}
.dl-web:hover { text-decoration-color: var(--on-night); }
.dl-web .icon { width: 16px; height: 16px; }

@media (max-width: 960px) {
  .dl-grid { grid-template-columns: minmax(0, 1fr); }
  .dl-copy { padding: 48px 0 56px; }
  /* Stacked: a full-bleed panel under the copy. */
  .dl-panel { justify-items: stretch; margin-inline: calc(-1 * var(--gutter)); padding: 56px var(--gutter) 64px; }
  .dl-stores { width: auto; max-width: 480px; }
}
@media (max-width: 720px) {
  .dl-copy { padding: 36px 0 44px; }
  .dl-note { margin-top: 32px; }
  .dl-panel { padding-block: 44px 52px; }
}

/* ---------- 404, "Lane Closed" (§6) ---------- */
.lost {
  min-height: 100svh; display: grid; place-items: center;
  padding: clamp(40px, 8vh, 96px) var(--gutter);
}
.lost-stack { display: grid; justify-items: center; width: min(100%, 640px); text-align: center; }
.lost-brand { margin-bottom: clamp(40px, 7vh, 72px); }
/* "404" framed by two 2px ink rules (.pin), the ball-black figure between them. */
.lost-score { display: inline-grid; gap: 14px; margin: 0; }
.lost-score b {
  font: 820 clamp(5.5rem, 3.5rem + 9vw, 10rem)/0.8 var(--font-display); font-stretch: 76%;
  letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--night);
}
.lost-kicker { margin-top: 36px; font-size: 15px; color: var(--ink-3); }
.lost h1 { margin-top: 12px; font-size: clamp(2.3rem, 1.3rem + 3vw, 3.75rem); }
.lost-body { max-width: 40ch; margin-top: 20px; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.6; color: var(--ink-2); }
.lost .btn { margin-top: 36px; }

/* ========== Forced colors / more contrast ========== */

/* ---------- Forced colors / more contrast (§2.5) ---------- */

@media (forced-colors: active), (prefers-contrast: more) {
  :root { --hatch: none; --hatch-foul: none; }
  /* Stripes and rules: a plain 2px rule (gradients are dropped in forced colors). */
  .pin, .eyebrow::before, .group-label::after {
    height: 0; background: none; border-top: 2px solid CanvasText;
  }
  .eyebrow::before { align-self: center; }
  :where(.compare-cell-typical), .cv2-pay--customer, .cv2-customer-line { background: Canvas; border: 2px dashed CanvasText; }
  .compare-cell-portal, .top-tabl, .provider-row--tabl, .cv2-chip.is-active { outline: 3px solid Highlight; outline-offset: -3px; }
  /* Focused selected preset: the focus ring moves outside (like every other stop); a Highlight border keeps the selection. */
  .cv2-chip.is-active:focus-visible { outline: 3px solid CanvasText; outline-offset: 2px; border-color: Highlight; }
  .disc { --disc-bg: Canvas; --disc-fg: CanvasText; --disc-ring: CanvasText; }
  .tag { background: none; border: 1.5px solid CanvasText; color: CanvasText; }
}
@media (forced-colors: active) {
  .btn, .chip, .demo-close, .nav-toggle, .footer-social, .step-disc { border: 1.5px solid ButtonText; }
  .demo-success-icon svg { border: 2px solid CanvasText; }
  /* Background-painted marks vanish in forced colors: repaint them in system colors. */
  .nav-toggle-bar { background: ButtonText; }
  .field-error:not(:empty)::before { forced-color-adjust: none; background: CanvasText; }
  .multiselect-option input:checked + .multiselect-box { forced-color-adjust: none; background: SelectedItem; border-color: SelectedItem; }
  .multiselect-option input:checked + .multiselect-box::after { background: SelectedItemText; }
  /* Field focus is a box-shadow ring, which forced colors drops: use an outline instead. */
  .field :is(input, select, .multiselect-toggle):focus-visible { outline: 3px solid Highlight; outline-offset: 2px; }
  /* Keep the white plate so the navy logo reads on a dark Canvas. */
  .footer-logo-plate { forced-color-adjust: none; }
}

@media (forced-colors: active), (prefers-contrast: more) {
  .callout--up::before, .callout--dog::before, .callout--dog::after { background: CanvasText; }
  .callout-dot { background: Highlight; }
  .callout-label em, .callout-legend em { text-decoration: underline; }
  .dm-stage::before { display: none; }
}
@media (forced-colors: active) {
  .callout-label, .dm-link-list, .dm-ticket-card { border: 1px solid CanvasText; }
  .feature-card--highlight { outline: 3px solid Highlight; outline-offset: -3px; }
  .feature-card, .partner-grid--stats .partner-card__link, .testimonial-card, .dm-try, .dm-stage { border: 1px solid CanvasText; }
  /* A border, not an outline, so the card's focus ring still shows. */
  .partner-grid--stats .partner-card--highlight .partner-card__link { border: 3px solid Highlight; }
  .faq-item summary::after, .dm-step-num { border: 1.5px solid ButtonText; }
  .tw-card--feature .testimonial-copy::before { color: CanvasText; }
  .thumb.is-active img { outline: 3px solid Highlight; }
}
@media (forced-colors: active) and (min-width: 721px) {
  .compare-board { border: 1px solid CanvasText; }
}
/* Phones: the board is a plain list, so only the cards get rules; Typical keeps its dashed edge (§2.5). */
@media (forced-colors: active) and (max-width: 720px) {
  .compare-cell-typical, .compare-row + .compare-row > .compare-cell-typical { border: 2px dashed CanvasText; }
}

@media (forced-colors: active) {
  .store-btn { border: 1.5px solid ButtonText; }
}

/* ========== Motion ========== */

/* ---------- Motion (§7) ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
/* Reveal: below-the-fold blocks rise 12px as they enter. The hero is never hidden; nothing hides without script. */
@media (prefers-reduced-motion: no-preference) and (scripting: enabled) {
  [data-animate] { transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
  [data-animate]:not(.is-visible) { opacity: 0; transform: translateY(12px); }
  .hero [data-animate]:not(.is-visible) { opacity: 1; transform: none; }
  /* Rule draw: each tick and rule inside a revealed block scales in from the left, once. */
  [data-animate] .eyebrow::before, [data-animate] .group-label::after, [data-animate] .pin, [data-animate].pin {
    transform-origin: left center; transition: transform 700ms var(--ease) 120ms;
  }
  [data-animate]:not(.is-visible) .eyebrow::before, [data-animate]:not(.is-visible) .group-label::after,
  [data-animate]:not(.is-visible) .pin, [data-animate].pin:not(.is-visible) {
    transform: scaleX(0);
  }
}
/* Ambient motion ("Lane Lights", motion-r in design/bowling-refresh/motion/). Transform/opacity only, and only
   under no-preference. script.js sets .mr-in (on screen), html.mr-hidden (tab hidden), html.mr-off (paused)
   and adds the .mr-toggle buttons. Running rules (html:not(.mr-hidden, .mr-off) .mr-in ...) and off rules
   (html.mr-off ...) out-rank the base rules without a data-motion prefix. */
.mr-toggle { display: none; } /* shown only while the query below matches (never under reduced motion) */
@media (prefers-reduced-motion: no-preference) {

  /* 1. Sheen: a soft band of light glides under the content of each ball-black surface, rests off the right edge,
     comes round again (8.7s glide + 5.3s rest = 14s). JS sets --mr-to (visible width), --mr-k (tilt reach). */
  :is(.screens, .closing) { position: relative; isolation: isolate; }
  :is(.hero-panel, .screens, .closing)::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: min(64%, 680px); pointer-events: none;
    background: linear-gradient(90deg, transparent 10%, rgba(246, 244, 241, 0.035) 30%, rgba(246, 244, 241, 0.085) 46%,
      rgba(246, 244, 241, 0.1) 50%, rgba(246, 244, 241, 0.085) 54%, rgba(246, 244, 241, 0.035) 70%, transparent 90%);
    transform: translateX(calc(-100% - var(--mr-k, 0px))) skewX(-12deg);
    animation: mr-sweep 14s cubic-bezier(0.45, 0, 0.35, 1) 0.4s infinite both paused;
    transition: opacity 600ms var(--ease);
  }
  :is(.screens, .closing)::after { z-index: -1; }
  .hero-panel::after { animation-delay: 0.8s; }
  /* The footer under the closing band is the same black: fade the light out before that seam. */
  .closing::after { mask-image: linear-gradient(#000 45%, transparent 92%); }
  @keyframes mr-sweep {
    0% { transform: translateX(calc(-100% - var(--mr-k, 0px))) skewX(-12deg); }
    62%, 100% { transform: translateX(calc(var(--mr-to, 250%) + var(--mr-k, 0px))) skewX(-12deg); }
  }

  /* 2. Lane lights: each hero callout dot glows softly, 2.6s in + 2.6s out, lightly out of step. The halo sits
     just outside the dot's white ring (peak 0.35), so it never reaches the screenshot text. */
  .hero .callout-dot::before {
    content: ""; position: absolute; inset: -2px; border-radius: 50%; pointer-events: none;
    box-shadow: 0 0 6px 2px var(--mark); opacity: 0;
    animation: mr-glow 2.6s ease-in-out 0.6s infinite alternate both paused;
  }
  .hero .callout--2 .callout-dot::before { animation-delay: 1.4s; }
  .hero .callout--3 .callout-dot::before { animation-delay: 1s; }
  @keyframes mr-glow { from { opacity: 0; transform: scale(0.9); } to { opacity: 0.35; transform: scale(1.2); } }

  /* 3. Lane Ordering: the phone idles 3px (7.5s); the Order Queue ticket slides out from the phone once. */
  .dm-device .phone-frame { animation: mr-float 7.5s ease-in-out infinite paused; }
  @keyframes mr-float { 50% { transform: translateY(-3px); } }
  .dm-ticket.mr-landed { transition: opacity 400ms ease 450ms, transform 700ms var(--ease) 450ms; }
  .dm-ticket.mr-armed:not(.mr-landed) { opacity: 0; transform: translateX(-36px); }
  html.mr-off .dm-ticket { transition: none; }

  /* Loops run only on screen, tab visible, not paused. Paused: the light stops and fades out (no snap), the
     glows go dark, the phone stays where it is. */
  html:not(.mr-hidden, .mr-off) :is(.hero-panel, .screens, .closing).mr-in::after,
  html:not(.mr-hidden, .mr-off) .mr-in .callout-dot::before,
  html:not(.mr-hidden, .mr-off) .mr-in .phone-frame { animation-play-state: running; }
  html.mr-off :is(.hero-panel, .screens, .closing)::after { opacity: 0; }
  html.mr-off .hero .callout-dot::before { animation: none; }

  /* 4. "Pause animations" (WCAG 2.2.2): a quiet ring, top right of the hero panel and of the closing band.
     aria-pressed swaps pause bars for a play triangle; ::before makes the touch target 44px+. */
  .mr-toggle {
    position: absolute; top: 24px; right: 0; z-index: 3; display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
    border: 0; border-radius: 50%; background: none; cursor: pointer; color: var(--on-night-2);
    box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--on-night) 22%, transparent);
    transition: color 120ms var(--ease), box-shadow 120ms var(--ease);
  }
  .mr-toggle::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
  .closing > .mr-toggle { right: calc((100% - min(100% - 2 * var(--gutter), var(--container))) / 2); }
  .mr-toggle:hover { color: var(--on-night); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--on-night) 60%, transparent); }
  .mr-toggle:focus-visible { outline: 2px solid var(--on-night); outline-offset: 2px; }
  .mr-toggle svg { width: 12px; height: 12px; fill: currentColor; }
  .mr-toggle[aria-pressed="true"] .mr-i-pause, .mr-toggle[aria-pressed="false"] .mr-i-play { display: none; }
  @media (max-width: 720px) { .hero-media > .mr-toggle { top: 6px; width: 28px; height: 28px; } }
}
/* Where the ticket tucks under the phone (961-1100, <600), it drops out from under it instead. */
@media (prefers-reduced-motion: no-preference) and (min-width: 961px) and (max-width: 1100px),
  (prefers-reduced-motion: no-preference) and (max-width: 599px) {
  .dm-ticket.mr-armed:not(.mr-landed) { transform: translateY(-28px); }
}
/* High contrast drops the toggle's box-shadow ring (and it has border: 0), so give it a real border like the other buttons.
   Here, after the motion block, so it out-ranks that `border: 0`. */
@media (forced-colors: active) {
  .mr-toggle { border: 1.5px solid ButtonText; }
}
/* 5. Stat count-up (once): the real figure stays in the DOM (transparent while counting); an aria-free copy
   (content alt text "") ticks over it. Never in high-contrast mode. */
@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  .partner-card__logo--stat strong { position: relative; }
  .mr-count { -webkit-text-fill-color: transparent; }
  .mr-count::after {
    content: attr(data-mr-n); content: attr(data-mr-n) / "";
    position: absolute; inset: 0; white-space: nowrap; -webkit-text-fill-color: currentColor;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important;
  }
}

/* Buyer checklist: neutral guidance with full-width copy on stacked rows. */
.compare-cell-typical { background: var(--paper); color: var(--ink-2); }
.compare-cell-typical b, .compare-board-top span:nth-child(3), .compare-cell-typical .ledger-label { color: var(--ink-2); }
.compare-cell-typical p > span:last-child { grid-column: 1 / -1; grid-row: 2; }

.site-footer .footer-analytics{margin:16px 0;text-align:center}.site-footer .footer-analytics a{color:inherit;display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:3px}
