/* Generated by scripts/render-comparisons.cjs from bowling.styles.css. */
/* 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; }

/* ========== 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; }
}

@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}
