/* Production copy of design/mobile-refresh/final/onlocation.css, the owner-approved mockup (TABL Navy + ambient motion,
   2026-09-28), written by design/mobile-refresh/export.cjs. Per-page order: onlocation.styles.css, calculator.css (index,
   pricing), home.css (index) | pages.css (download, 404, privacy, eula), ambient.css (not on legal pages), tabl-navy.css last.
   ponytail: public/styles.css (the pre-redesign stylesheet) stays deployed for one release so stale cached HTML still
   renders; delete it next release. */
/* TABL Mobile "On Location" design system (mockup: final/onlocation.css; production: onlocation.styles.css).
   Neutral concrete paper, graphite ink, the app's steel-blue Charge button as the only action colour,
   one Tap-to-Pay green that means "live / Tap to Pay / not your cost", asphalt night bands.
   Display + figures: Barlow Semi Condensed. Body: Atkinson Hyperlegible, with every digit drawn by Barlow
   through the "Atkinson Fig" unicode-range face (no slashed zeros, zero extra bytes).
   Breakpoints (CSS and JS share them): 1100 / 960 / 880 (nav, JS min-width 881) / 720 / 480 / 400.
   Spec: design/mobile-refresh/research/direction-final.md §2-§5, §8. Components read tokens only. */

/* ---------- Fonts (production path: /assets/fonts/) ---------- */

@font-face { font-family: "Barlow Semi Condensed"; src: url("assets/fonts/barlow-semi-condensed-500-latin-v1.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("assets/fonts/barlow-semi-condensed-600-latin-v1.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("assets/fonts/barlow-semi-condensed-700-latin-v1.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("assets/fonts/atkinson-hyperlegible-400-v1.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("assets/fonts/atkinson-hyperlegible-700-v1.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* Body digits: the same Barlow files, digits only. size-adjust 95.5% = Atkinson cap height 668 / Barlow figure height 700
   (measured from the glyph outlines), so figures sit level with body capitals. */
@font-face { font-family: "Atkinson Fig"; src: url("assets/fonts/barlow-semi-condensed-500-latin-v1.woff2") format("woff2"); font-weight: 400; unicode-range: U+0030-0039; size-adjust: 95.5%; font-display: swap; }
@font-face { font-family: "Atkinson Fig"; src: url("assets/fonts/barlow-semi-condensed-700-latin-v1.woff2") format("woff2"); font-weight: 700; unicode-range: U+0030-0039; size-adjust: 95.5%; font-display: swap; }
/* Metric-matched fallbacks (widths measured in Chromium against Arial; ascent/descent = font metrics / size-adjust). */
@font-face { font-family: "Barlow Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 83.5%; ascent-override: 119.8%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Atkinson Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 98.5%; ascent-override: 96.4%; descent-override: 29.4%; line-gap-override: 0%; }

/* ---------- Tokens (spec §2.1; ratios in research/contrast.cjs) ---------- */

:root {
  color-scheme: light;

  --paper: #E4E6E6;          /* locked default; the knob: #E4E7E3 / #E6E6E1 / #E6E9ED */
  --surface: #F0F1F1;
  --sunk: #D7DADB;
  --ink: #0F161B;
  --ink-2: #303A42;
  --ink-3: #505A62;
  --line: #C5C9CA;
  --line-strong: #ADB3B5;
  --field-border: #6E7780;
  --accent: #1D5894;         /* the app's Charge Customer button: the only action colour */
  --accent-hover: #164778;
  --accent-wash: #D6E2EE;
  --on-accent: #FFFFFF;      /* button label on accent (7.30) */
  --signal: #176A40;         /* Tap-to-Pay green as text on light */
  --signal-dot: #1E8F55;     /* green dots, check discs (non-text) */
  --signal-wash: #D8E9DE;
  --signal-night: #3DC482;   /* green on night */
  --danger: #A8321F;
  --bar: #5E6870;
  --night: #0E1417;          /* asphalt */
  --night-raised: #172025;
  --night-line: rgba(232, 237, 239, 0.14);
  --frost: #E8EDEF;
  --frost-2: #9FABB4;
  --focus: var(--accent);
  --focus-night: #8DB4DE;
  --bezel: #0A0F12;
  --scrim: rgba(14, 20, 23, 0.48);

  --font-display: "Barlow Semi Condensed", "Barlow Fallback", "Arial Narrow", Arial, sans-serif;
  --font-body: "Atkinson Fig", "Atkinson Hyperlegible", "Atkinson Fallback", system-ui, sans-serif;

  /* Radius: 8 pills/tags · 12 buttons, labels, logo tiles, segments · 16 plates · 20 cards, stages, modal ·
     40 hero bezel (30 small phones) · 999 route nodes and dots only. */
  --r-sm: 8px;
  --r-md: 12px;
  --r-plate: 16px;
  --r-lg: 20px;
  --r-phone-sm: 30px;
  --r-xl: 40px;
  --r-dot: 999px;

  /* Elevation: no glows, no backdrop-filter, no gradient text. */
  --e1: 0 1px 2px rgba(15, 22, 27, 0.07);
  --e2: 0 8px 24px -8px rgba(15, 22, 27, 0.18);
  --e3: 0 40px 80px -24px rgba(15, 22, 27, 0.35);   /* hero phone + modal only */

  /* 4pt scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  --container: 1180px;
  --gutter: 32px;
  --grid-cols: 12;
  --grid-gap: 24px;
  --section-pad: clamp(72px, 8vw, 120px);
  --header-h: 64px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Route node (eyebrow marker): lane dash + stop ring. Night bands swap both. */
  --node-dash: var(--accent);
  --node-ring: var(--accent);

  /* Icon masks (shape only; colour comes from currentColor / a token). Lucide, ISC. */
  --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-chevron: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
@media (min-width: 1600px) { :root { --container: 1320px; } }
@media (max-width: 1100px) { :root { --gutter: 24px; } }
@media (max-width: 960px) { :root { --grid-cols: 8; } }
@media (max-width: 880px) { :root { --header-h: 56px; } }
@media (max-width: 720px) { :root { --grid-cols: 4; --grid-gap: 16px; --section-pad: 56px; } } /* phone band padding: page-length gate */
@media (max-width: 400px) { :root { --gutter: 16px; } }

/* Night context: bands, footer, close band and dark cards. Accent is never text here (2.54). */
.band--night, .is-dark, .card--night, .final-cta, .site-footer {
  --focus: var(--focus-night);
  --node-dash: var(--frost-2);
  --node-ring: var(--signal-night);
  color: var(--frost-2);
}

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

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font: 400 1.0625rem/1.6 var(--font-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.no-scroll, body.modal-open { overflow: hidden; }
img, picture, video { display: block; max-width: 100%; height: auto; }
svg { flex: none; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }
.band--night a:not(.btn), .is-dark a:not(.btn), .final-cta a:not(.btn):not(.store-badge), .site-footer a { color: var(--frost); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; } /* script-only focus targets (an anchor's section, the dialog) draw no ring */
main > section, .final-cta, .site-footer { overflow-x: clip; }
::selection { background: var(--accent-wash); color: var(--ink); }

.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;
}
/* On the container's left edge, over the brand, and wide enough (160px) to hide all of it (the brand is 146px wide);
   44px tall for touch. The early Pause animations button (ambient.js) is a .skip-link too. */
.skip-link {
  position: absolute; left: max(var(--gutter), (100% - var(--container)) / 2); top: -64px; z-index: 60;
  display: inline-flex; align-items: center; min-width: 160px; min-height: 44px;
  padding: 10px 14px; border-radius: var(--r-sm); background: var(--ink); color: var(--frost);
  font: 600 1rem/1.2 var(--font-display); text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--frost); }

/* Icons: inline Lucide (ISC), 1.75px stroke. Tiles are 44px (40 on phones). */
svg[viewBox="0 0 24 24"] {
  width: 20px; height: 20px; fill: none; stroke: currentColor;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.icon-tile {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px;
  border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); color: var(--ink);
}
.icon-tile svg { width: 22px; height: 22px; }
.band--night .icon-tile, .is-dark .icon-tile { background: var(--night-raised); border-color: var(--night-line); color: var(--frost); }
@media (max-width: 720px) { .icon-tile { width: 40px; height: 40px; } }

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

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(var(--grid-cols), minmax(0, 1fr)); gap: var(--grid-gap); }

.band { padding-block: var(--section-pad); }
.band--paper { background: var(--paper); }
.band--sunk { background: var(--sunk); }
.band--night { background: var(--night); }

/* One alignment rule: every head, paragraph, control row and card grid starts on the container's left edge. */
.section-head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.section-head--split > :first-child { max-width: 780px; }
.section-head__aside { display: flex; align-items: center; gap: 12px; flex: none; }
@media (max-width: 720px) {
  .section-head { margin-bottom: 32px; }
  .section-head--split { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ---------- Type (spec §2.2) ---------- */

h1, h2, h3, .h1, .h2, .h3 { color: var(--ink); font-family: var(--font-display); text-wrap: balance; }
.band--night :is(h1, h2, h3, .h1, .h2, .h3), .is-dark :is(h1, h2, h3), .card--night :is(h1, h2, h3), .final-cta :is(h1, h2, h3), .site-footer :is(h2, h3) { color: var(--frost); }
h1, .h1 { font-size: clamp(2.875rem, 1.5rem + 4vw, 4.875rem); font-weight: 700; line-height: 0.94; letter-spacing: -0.01em; }
h2, .h2 { font-size: clamp(2.125rem, 1.35rem + 2.5vw, 3.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.005em; }
h3, .h3 { font-size: clamp(1.375rem, 1.1rem + 0.6vw, 1.625rem); font-weight: 600; line-height: 1.1; }
p, li, dd, figcaption { text-wrap: pretty; }
.eyebrow + :is(h1, h2, .h1, .h2) { margin-top: 16px; }
.lede { max-width: 40ch; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; color: var(--ink-2); }
.intro { max-width: 60ch; margin-top: 16px; font-size: 1.125rem; line-height: 1.6; color: var(--ink-2); }
:is(h1, h2, .h1, .h2) + .lede { margin-top: 20px; }
.band--night :is(.lede, .intro), .is-dark :is(.lede, .intro), .final-cta .lede { color: var(--frost-2); }
.meta { font-size: 0.875rem; line-height: 1.5; color: var(--ink-3); }
.band--night .meta, .is-dark .meta, .card--night .meta { color: var(--frost-2); }
/* UI money, counts and times: Barlow with tabular figures. */
.fig { font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; }
b.fig, strong.fig, .fig b, .fig strong { font-weight: 700; }
.stars { color: var(--ink); letter-spacing: 2px; }
@media (max-width: 720px) { h2, .h2, h3, .h3 { line-height: 1.05; } }
@media (max-width: 480px) { h1, .h1 { font-size: clamp(2.375rem, 0.6rem + 8.6vw, 2.875rem); } }
@media (max-width: 400px) { body { font-size: 1rem; } }

/* Eyebrow = route node: a 16px lane dash + an 8px stop ring, then the caps label (the only caps on the page,
   with callout keys and NOT YOUR COST). The dash is the element's own background; the ring is ::before. */
.eyebrow, .node-label {
  display: inline-flex; align-items: center; gap: 10px; padding-left: 20px;
  background: linear-gradient(var(--node-dash), var(--node-dash)) left 0 top calc(0.6em - 1px) / 16px 2px no-repeat; /* centred on the first line */
}
.eyebrow::before, .node-label::before {
  content: ""; flex: none; width: 8px; height: 8px; margin-left: -2px;
  border: 2px solid var(--node-ring); border-radius: var(--r-dot);
}
.eyebrow { font: 600 0.8125rem/1.2 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.band--night .eyebrow, .is-dark .eyebrow, .card--night .eyebrow, .final-cta .eyebrow { color: var(--frost-2); }

/* ---------- Buttons (the app's 12px rounded rectangles) ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border: 1px solid transparent; border-radius: var(--r-md);
  font: 600 1.125rem/1 var(--font-display); 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 svg { width: 18px; height: 18px; stroke-width: 2; }
.btn-lg, .btn--lg { min-height: 52px; padding: 0 24px; }
.btn--primary {
  background: var(--accent); color: var(--on-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 2px rgba(15, 22, 27, 0.2);
}
.btn--primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn--primary:disabled { background: var(--accent); opacity: 0.5; cursor: not-allowed; transform: none; }
/* Secondary: surface fill, line-strong stroke. Pricing (nav) is the ghost of it. Outline: field-border stroke. */
.btn--secondary { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn--secondary:hover { border-color: var(--ink-3); color: var(--ink); }
.btn--pricing, .btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--pricing:hover, .btn--ghost:hover { background: var(--surface); border-color: var(--ink-3); color: var(--ink); }
.btn--pricing[aria-current="page"] { background: var(--accent-wash); border-color: var(--accent-wash); color: var(--accent-hover); }
.btn--outline { background: transparent; border-color: var(--field-border); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.band--night :is(.btn--secondary, .btn--outline, .btn--ghost), .is-dark :is(.btn--secondary, .btn--outline, .btn--ghost), .final-cta .btn--outline {
  background: transparent; border-color: var(--frost-2); color: var(--frost);
}
.band--night :is(.btn--secondary, .btn--outline, .btn--ghost):hover, .is-dark :is(.btn--secondary, .btn--outline):hover { border-color: var(--frost); color: var(--frost); }

/* Icon button (rail arrows, 44px). */
.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); color: var(--ink);
  transition: border-color 120ms var(--ease);
}
.icon-btn:hover { border-color: var(--ink-3); }
.band--night .icon-btn { background: var(--night-raised); border-color: var(--night-line); color: var(--frost); }

/* ---------- Pills (app-native CARD · PAID · Open shape; sentence case) ---------- */

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: transparent;
  font: 600 0.9375rem/1.15 var(--font-display); color: var(--ink-2);
}
.pill svg { width: 16px; height: 16px; stroke-width: 2.5; }
.pill__dot { flex: none; width: 8px; height: 8px; border-radius: var(--r-dot); background: var(--signal-dot); }
.pill--ink { background: var(--ink); border-color: var(--ink); color: var(--frost); }
.pill--ink svg { stroke: var(--signal-night); }
.pill--ink .pill__dot { background: var(--signal-night); }
.pill--surface { background: var(--surface); border-color: var(--line); color: var(--ink); }
.pill--signal { background: var(--signal-wash); border-color: var(--signal-wash); color: var(--signal); }
.pill--signal svg { stroke: var(--signal); }
.pill--accent { background: var(--accent-wash); border-color: var(--accent-wash); color: var(--accent); }
.pill--caps { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; }
.pill--sm { min-height: 24px; padding: 0 8px; gap: 5px; font-size: 0.8125rem; }
.pill--night, .band--night .pill:not(.pill--ink), .is-dark .pill:not(.pill--ink) {
  background: rgba(232, 237, 239, 0.06); border-color: var(--night-line); color: var(--frost);
}
.band--night .pill__dot, .is-dark .pill__dot, .pill--night .pill__dot { background: var(--signal-night); }

/* ---------- Cards and plates ---------- */

.card {
  padding: clamp(20px, 2.2vw, 28px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--e1);
}
.card--night { background: var(--night); border-color: var(--night); box-shadow: var(--e2); }
.band--night .card { background: var(--night-raised); border-color: var(--night-line); box-shadow: none; }
.card > h3 + p, .card > .icon-tile + h3 { margin-top: 12px; }
.card > h3 + p { font-size: 1rem; line-height: 1.55; }
.plate { padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-plate); box-shadow: var(--e1); }
.check-disc {
  display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px;
  border-radius: var(--r-dot); background: var(--signal-dot); color: var(--surface);
}
.check-disc svg { width: 14px; height: 14px; stroke-width: 3; }
.band--night .check-disc, .is-dark .check-disc, .card--night .check-disc { background: var(--signal-night); color: var(--night); }

/* ---------- Store badges (pinned markup; 44px visible height, both badges level) ---------- */

.store-badges { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store-badge { display: inline-flex; height: 44px; border-radius: 9px; line-height: 0; }
.store-badge__image { height: 44px; width: auto; max-width: none; }
/* Google's PNG carries 41/250 of built-in clear space on every side: scale it so the visible badge is 44px, then pull the space back. */
.google-play-badge { overflow: visible; }
.google-play-badge .store-badge__image { height: calc(44px * 250 / 168); margin: calc(-44px * 41 / 168); }

/* ---------- Header + nav sheet (pinned DOM: .site-header > .nav-bar > a.brand + button.nav-toggle + div.nav-menu) ---------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper); /* opaque paper (spec said 96%): no blur, so any translucency only ghosted content through the bar */
  border-bottom: 1px solid var(--line);
  transition: box-shadow 160ms var(--ease);
}
.site-header[data-scrolled="true"] { box-shadow: var(--e1); }
.nav-bar { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { display: block; flex: none; width: 32px; height: 32px; border-radius: var(--r-sm); overflow: hidden; }
.brand-mark img { width: 32px; height: 32px; }
.brand-name { font: 700 1.3125rem/1 var(--font-display); letter-spacing: 0.005em; }
.nav-menu { display: flex; align-items: center; gap: 20px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font: 500 1.0625rem/1 var(--font-display); color: var(--ink-2); text-decoration: none;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat center bottom 6px / 0 2px;
  transition: background-size 160ms var(--ease), color 120ms var(--ease);
}
.nav-links a:hover { color: var(--ink); background-size: calc(100% - 24px) 2px; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-bar { gap: 12px; }
  .nav-toggle {
    display: inline-grid; place-content: center; gap: 4px; width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); color: var(--ink);
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 200ms var(--ease), opacity 200ms var(--ease); }
  .nav-bar.active .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-bar.active .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-bar.active .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-menu { display: none; }
  /* Full-width sheet under the bar; the scrim below it closes the sheet (script closes on a .nav-bar click). */
  .nav-bar.active .nav-menu {
    display: flex; position: fixed; inset: var(--header-h) 0 auto 0; z-index: 2;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
    padding: 4px var(--gutter) 24px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--e2);
  }
  .nav-bar.active::after { content: ""; position: fixed; inset: var(--header-h) 0 0 0; z-index: 1; background: var(--scrim); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a {
    min-height: 56px; padding: 0; border-bottom: 1px solid var(--line); background: none;
    font-size: 1.25rem; font-weight: 600; color: var(--ink);
  }
  .nav-links a:hover { background: none; color: var(--accent); }
  .nav-actions { gap: 10px; margin-top: 20px; }
  .nav-actions .btn { flex: 1 1 0; min-height: 52px; }
}
@media (max-width: 720px) {
  .nav-actions { flex-direction: column; align-items: stretch; }
}
/* No JS: the sheet can't open, so no hamburger; the links and actions sit in a second row under the brand that scrolls
   sideways when it doesn't fit (Pricing and Get Started trail at 390). */
@media (scripting: none) and (max-width: 880px) {
  .nav-toggle { display: none; }
  .nav-bar { flex-wrap: wrap; height: auto; min-height: var(--header-h); row-gap: 0; }
  .brand { min-height: var(--header-h); }
  .nav-menu { display: flex; flex: 1 0 100%; align-items: center; gap: 8px; margin: -4px -4px 0; padding: 4px 4px 6px; overflow-x: auto; } /* 4px of room so the scroller doesn't clip focus rings */
  .nav-links { flex-direction: row; }
  .nav-links a { flex: none; min-height: 44px; padding: 0 10px; border: 0; font-size: 1.0625rem; font-weight: 500; white-space: nowrap; }
  .nav-links a:first-child { padding-left: 0; }
  .nav-actions, .nav-actions .btn { flex: none; flex-direction: row; margin: 0; min-height: 44px; }
}

/* ---------- Partners (section.partners.partner-showcase, 6 lazy logos, identical on index + pricing) ---------- */

.partner-showcase { background: var(--sunk); padding-block: var(--section-pad); }
/* Six tracks: the community row is 3-across (span 2), the two integrations take half the row each (span 3), so no hole. */
.partner-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.partner-group-label {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin-top: 24px;
  font: 600 1.0625rem/1.2 var(--font-display); color: var(--ink);
}
.partner-group-label::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.partner-group-label:first-child { margin-top: 0; }
.partner-card { min-width: 0; grid-column: span 2; }
.partner-card--integration { grid-column: span 3; }
.partner-card__link {
  display: flex; flex-direction: column; gap: 18px; height: 100%; padding: 12px 12px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--e1);
  color: inherit; text-decoration: none;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease), transform 160ms var(--ease);
}
.partner-card__link:hover { color: inherit; border-color: var(--line-strong); box-shadow: var(--e2); transform: translateY(-2px); }
.partner-card__logo {
  display: grid; place-items: center; height: 112px; padding: 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
}
.partner-card__logo img { width: auto; max-width: 100%; max-height: 72px; }
/* Some files carry a baked-in white box; multiply drops it into the plate. */
.partner-card__logo:not(.partner-card__logo--night) img { mix-blend-mode: multiply; }
.partner-card__logo--wordmark img { max-height: 32px; }
.partner-card__logo--doordash img { height: 22px; }
.partner-card__logo--fto img { max-height: 84px; }
.partner-card__logo--stripe img { max-height: 56px; }
/* White-on-transparent logos (Okie, UC Maker Space) sit on asphalt plates. */
.partner-card__logo--night { background: var(--night); border-color: var(--night); }
.partner-card__logo--night img { max-height: 80px; }
.partner-card__body { display: grid; gap: 6px; padding: 0 8px; }
.partner-card__name { display: flex; align-items: center; gap: 6px; font: 600 1.375rem/1.2 var(--font-display); color: var(--ink); }
.partner-card__name svg { width: 16px; height: 16px; flex: none; color: var(--ink-3); transition: transform 160ms var(--ease), color 160ms var(--ease); }
.partner-card__link:hover .partner-card__name svg { color: var(--accent); transform: translate(2px, -2px); }
.partner-card__description { font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); }
.partners-cta {
  margin-top: 32px; padding-top: 12px; border-top: 1px solid var(--line-strong);
  font-size: 0.9375rem; color: var(--ink-2);
}
.partners-cta a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
@media (max-width: 960px) {
  .partner-card__logo { height: 96px; }
}
@media (max-width: 720px) {
  .partner-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .partner-card, .partner-card--integration { grid-column: auto; }
  .partner-group-label { margin-top: 16px; }
  /* Compact rows: logo plate left, name + description right. */
  .partner-card__link { display: grid; grid-template-areas: "logo name" "desc desc"; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 14px; padding: 10px 14px 10px 10px; }
  .partner-card__logo { grid-area: logo; height: 76px; padding: 8px; }
  .partner-card__logo img { max-height: 52px; }
  .partner-card__logo--wordmark img { max-height: 20px; }
  .partner-card__logo--doordash img { height: 11px; }
  .partner-card__logo--fto img { max-height: 58px; }
  .partner-card__logo--stripe img { max-height: 34px; }
  .partner-card__logo--night img { max-height: 58px; }
  .partner-card__body { display: contents; }
  .partner-card__name { grid-area: name; font-size: 1.125rem; }
  .partner-card__description { grid-area: desc; font-size: 0.875rem; line-height: 1.45; }
}

/* ---------- FAQ (details > summary + p; multiple open; 60px summaries) ---------- */

.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: calc(var(--header-h) + 24px); }
.faq-intro .section-head { margin-bottom: 0; }
.still-deciding { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-strong); font-size: 0.9375rem; color: var(--ink-2); }
.still-deciding strong { display: block; margin-bottom: 4px; font: 600 1.0625rem/1.3 var(--font-display); color: var(--ink); }
/* Inline links in running text: padding on an inline box grows the hit area to 24px without moving the line (§13). */
.still-deciding a, .calc-rank a { padding-block: 3px; }
.faq-group + .faq-group { margin-top: 44px; }
/* Group marker: the route node, set in sentence case (not an eyebrow). */
.faq-group__title { display: flex; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font: 600 1.125rem/1.2 var(--font-display); color: var(--ink); }
.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; cursor: pointer; list-style: none;
  font: 600 1.1875rem/1.3 var(--font-display); color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
/* +/- drawn in CSS so it centres exactly. */
.faq-item summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: var(--r-sm); border: 1px solid var(--line-strong);
  background:
    linear-gradient(var(--ink-2), var(--ink-2)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink-2), var(--ink-2)) center / 2px 12px no-repeat;
  transition: background-color 120ms var(--ease), border-color 120ms var(--ease);
}
.faq-item summary:hover::after { border-color: var(--ink); }
.faq-item[open] summary::after { background: linear-gradient(var(--frost), var(--frost)) center / 12px 2px no-repeat, var(--ink); border-color: var(--ink); }
.faq-item > p, .faq-item > div { max-width: 64ch; padding: 0 48px 22px 0; font-size: 1rem; color: var(--ink-2); }
@media (max-width: 960px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq-intro { position: static; }
}
@media (max-width: 720px) {
  .faq-item summary { font-size: 1.0625rem; }
  .faq-item > p, .faq-item > div { padding-right: 0; }
}

/* ---------- Close band (section.final-cta, night, left-aligned, last child of main) ---------- */

.final-cta { background: var(--night); padding-block: clamp(72px, 9vw, 128px) clamp(56px, 7vw, 96px); }
.final-cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; }
.final-cta__sub { margin-top: 18px; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); color: var(--frost-2); }
.final-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 32px; }
/* Desktop-only QR (owner question 16): a frost plate, encodes https://mobile.tabl.page/download. */
.qr-plate {
  display: grid; justify-items: start; gap: 10px; width: 152px; padding: 12px 12px 14px;
  background: var(--frost); border-radius: var(--r-plate);
}
.qr-plate svg { display: block; width: 128px; height: 128px; fill: var(--night); }
.qr-plate figcaption { font: 600 0.9375rem/1.2 var(--font-display); color: var(--ink); }
@media (max-width: 960px) {
  .final-cta__grid { grid-template-columns: minmax(0, 1fr); }
  .qr-plate { display: none; }
}
@media (hover: none), (pointer: coarse) { .qr-plate { display: none; } }
@media (max-width: 480px) {
  .final-cta__actions .btn { flex: 1 1 100%; }
}

/* ---------- Footer (night) ---------- */

.site-footer { background: var(--night); }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); column-gap: 48px; row-gap: 40px;
  padding-top: 56px; border-top: 1px solid var(--night-line);
}
.footer-brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px 8px 8px;
  background: var(--night-raised); border: 1px solid var(--night-line); border-radius: var(--r-md);
  color: var(--frost); text-decoration: none;
}
.site-footer .footer-brand:hover { color: var(--frost); border-color: var(--frost-2); }
.footer-copy { max-width: 46ch; margin-top: 20px; font-size: 0.9375rem; line-height: 1.6; color: var(--frost-2); }
.footer-label { margin-bottom: 8px; font: 600 1rem/1.2 var(--font-display); color: var(--frost); }
.footer-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.footer-link-grid a {
  display: flex; align-items: center; min-height: 44px;
  font: 500 1.0625rem/1.2 var(--font-display); color: var(--frost-2); text-decoration: none;
}
.site-footer .footer-link-grid a:hover, .site-footer .footer-link-grid a[aria-current="page"] { color: var(--frost); text-decoration: underline; }
.footer-contact { display: grid; align-content: start; gap: 24px; }
.footer-socials { display: flex; gap: 8px; }
.footer-social {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--night-line); border-radius: var(--r-md); color: var(--frost);
}
.footer-social:hover { border-color: var(--frost-2); }
.footer-mail { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 0.9375rem; text-decoration: none; }
.site-footer .footer-mail:hover { text-decoration: underline; }
.footer-legal { margin-top: 48px; padding-block: 20px 28px; border-top: 1px solid var(--night-line); font-size: 0.8125rem; color: var(--frost-2); }
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-intro { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); padding-top: 40px; row-gap: 28px; }
  .footer-contact { display: flex; flex-wrap: wrap; gap: 24px 40px; } /* Follow Us and Contact Us side by side */
  .footer-legal { margin-top: 28px; }
}

/* ---------- Forms ---------- */

.field { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 8px; min-width: 0; position: relative; }
.field-label { align-self: end; font: 600 1rem/1.3 var(--font-display); color: var(--ink); }
.field input, .field select, .field textarea {
  align-self: start; width: 100%; height: 48px; margin: 0; padding: 0 14px;
  border: 1px solid var(--field-border); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink);
  font: 400 1rem/1.25 var(--font-body);
  transition: border-color 120ms var(--ease), box-shadow 120ms var(--ease);
}
.field textarea { height: auto; min-height: 96px; padding-block: 12px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: 1; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer; }
/* Explicit rows: the chevron (::after) shares row 2 with the select. */
.field > :is(input, select, textarea) { grid-row: 2; grid-column: 1; }
.field > .field-error { grid-row: 3; }
.field select:invalid { color: var(--ink-3); }
.field select option { color: var(--ink); }
/* Chevron in the select's grid row, coloured from a token. */
.field:has(> select)::after {
  content: ""; grid-row: 2; grid-column: 1; justify-self: end; align-self: center; width: 18px; height: 18px; margin-right: 14px;
  background: var(--ink-2); -webkit-mask: var(--i-chevron) center / contain no-repeat; mask: var(--i-chevron) center / contain no-repeat;
  pointer-events: none;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field :is(input, select, textarea):focus-visible {
  outline: 2px solid transparent; outline-offset: 2px; border-color: var(--accent); /* invisible here; forced colours paint it a system ring */
  box-shadow: 0 0 0 1px var(--accent), 0 0 0 5px rgba(29, 88, 148, 0.2);
}
.field.is-invalid :is(input, select, textarea) { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.field-error { display: flex; gap: 6px; min-height: 20px; margin-bottom: 12px; font-size: 0.875rem; line-height: 1.4; color: var(--danger); }
/* Icon drawn in CSS so script.js keeps setting textContent only. */
.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;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }

/* ---------- Demo modal (§8; script.js sets [hidden] on the 160ms opacity transitionend, with a 250ms fallback) ---------- */

/* A closing (or not yet open) modal never takes clicks, so the fading layer can't swallow the page's. */
.demo-modal {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 32px 24px;
  opacity: 0; transition: opacity 160ms var(--ease); pointer-events: none;
}
.demo-modal[hidden] { display: none; }
.demo-modal.is-open { opacity: 1; pointer-events: auto; }
.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);
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--e3); overflow: hidden;
}
.demo-dialog:focus { outline: none; }
.demo-close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); color: var(--ink);
  transition: border-color 120ms var(--ease);
}
.demo-close:hover { border-color: var(--ink); }
.demo-modal.is-success .demo-close { display: none; }
.demo-content { overflow-y: auto; overscroll-behavior: contain; padding: 0 40px; scroll-padding-block: 44px 128px; }
/* Sticky top fade doubles as top padding; fields scroll out under the sheet edge and close button. */
.demo-content::before {
  content: ""; position: sticky; top: 0; z-index: 1; display: block; height: 36px; margin-inline: -40px;
  background: linear-gradient(var(--surface) 45%, transparent);
}
.demo-header { margin-bottom: 28px; }
.demo-header .eyebrow, .demo-header h2 { margin-right: 56px; }
.demo-header h2 { margin-top: 14px; font-size: 2rem; line-height: 1.05; }
.demo-header h2 + p { margin-top: 10px; font-size: 1rem; line-height: 1.55; color: var(--ink-2); }
/* The form is a flex column so the status line shows above the sticky actions (DOM order unchanged). */
.demo-form { display: flex; flex-direction: column; }
.form-note { margin: 0 0 20px; font-size: 0.875rem; line-height: 1.5; color: var(--ink-3); }
.form-status { margin: 0 0 16px; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); }
.form-status[data-status="error"] { display: flex; gap: 8px; color: var(--danger); font-weight: 700; }
.form-status[data-status="error"]::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; background: currentColor;
  -webkit-mask: var(--i-alert) center / contain no-repeat; mask: var(--i-alert) center / contain no-repeat;
}
.form-status:empty { display: none; }
.form-actions {
  order: 1; 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(15, 22, 27, 0.28);
}
.form-actions .btn { min-height: 48px; padding: 0 22px; }

/* Success: left-aligned like everything else. */
.demo-modal.is-success .demo-dialog { width: min(100%, 520px); }
.demo-success { overflow-y: auto; padding: 40px; }
.demo-success-card { display: grid; justify-items: start; }
.demo-success-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px; border-radius: var(--r-dot); background: var(--signal-dot); color: var(--surface); }
.demo-success-icon svg { width: 30px; height: 30px; stroke-width: 2.6; }
.demo-success-card h3 { margin-top: 14px; font-size: 2rem; font-weight: 700; line-height: 1.05; }
.demo-success-lede { max-width: 44ch; margin-top: 14px; font-size: 1.0625rem; 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: 24px; padding-top: 18px; border-top: 1px dashed var(--line-strong);
  font-size: 0.875rem; line-height: 1.45; color: var(--ink-3);
}
.demo-success-card .btn { margin-top: 24px; min-width: 200px; }

@media (max-width: 720px) {
  /* Bottom sheet from 48px down, so a tap at (10,10) still lands on the scrim and closes it. */
  .demo-modal { display: block; padding: 0; }
  .demo-modal[hidden] { display: none; }
  .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: 12px; right: 12px; }
  .demo-content { padding: 0 20px; scroll-padding-block: 96px 160px; }
  /* A 64px sticky band behind the close button: fields scroll under the band, never under the button. It takes
     28px of flow, and the eyebrow + title sit above it, so the resting sheet is unchanged. */
  .demo-content::before { height: 64px; margin: 0 -20px -36px; background: linear-gradient(var(--surface) 58px, transparent); }
  .demo-header .eyebrow, .demo-header h2 { position: relative; z-index: 2; }
  .demo-header { margin-bottom: 24px; }
  .demo-header .eyebrow, .demo-header h2 { margin-right: 52px; }
  .demo-header h2 { font-size: 1.75rem; }
  /* One column needs no row alignment, so empty error rows collapse. */
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .field-error { margin-bottom: 14px; }
  .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: 32px 20px calc(24px + env(safe-area-inset-bottom)); }
  .demo-success-card h3 { font-size: 1.75rem; }
  .demo-success-card .btn { justify-self: stretch; }
}

/* ---------- Motion (§4): reveal once, visible without JS; nothing loops ---------- */

@media (prefers-reduced-motion: no-preference) and (scripting: enabled) {
  [data-reveal] { transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
  [data-reveal]:not([data-revealed="true"]) { opacity: 0; transform: translateY(16px); }
  [data-reveal-delay="1"] { transition-delay: 80ms; }
  [data-reveal-delay="2"] { transition-delay: 160ms; }
  [data-reveal-delay="3"] { transition-delay: 240ms; }
  :is(.hero, .pricing-hero) [data-reveal]:not([data-revealed="true"]) { opacity: 1; transform: none; } /* a hero is never hidden (LCP) */
}
@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;
  }
}

/* ---------- Forced colours / increased contrast (§2.5). Component owners add bars + TABL row + rings. ---------- */

@media (forced-colors: active) {
  .pill { border: 1px solid CanvasText; }
  .pill__dot, .check-disc, .eyebrow::before, .node-label::before { forced-color-adjust: none; background: CanvasText; border-color: CanvasText; }
  .eyebrow, .node-label { background: none; }
  [aria-pressed="true"], [role="tab"][aria-selected="true"], .nav-links a[aria-current] { outline: 2px solid Highlight; outline-offset: 2px; }
  .btn, .icon-btn, .nav-toggle, .demo-close { border: 1px solid ButtonText; }
  .partner-card__link, .card, .plate { border: 1px solid CanvasText; }
  /* Logo plates keep their own paint, like the images they frame: on a forced Canvas plate the dark and multiplied logos
     vanish in dark themes and the white ones in light themes. */
  .partner-card__logo { forced-color-adjust: none; }
  .demo-modal { forced-color-adjust: auto; }
  .nav-toggle span { forced-color-adjust: none; background: ButtonText; } /* the bars are backgrounds, which forced colours would erase */
  .field:has(> select)::after { forced-color-adjust: none; background: CanvasText; } /* the select's chevron, same reason */
}
/* Increased contrast without forced colours (iOS Increase Contrast): system colours resolve to black, which vanishes on
   night, so this mode firms up strokes with tokens instead. Dots, discs and rings keep their token colours (all >= 3:1). */
@media (prefers-contrast: more) and (forced-colors: none) {
  .pill, .btn, .icon-btn, .nav-toggle, .demo-close { border-color: currentColor; }
  .btn--primary { border-color: var(--accent-hover); }
  [aria-pressed="true"], [role="tab"][aria-selected="true"], .nav-links a[aria-current] { outline: 2px solid var(--ink); outline-offset: 2px; }
  .partner-card__link, .card, .plate { border-color: var(--ink-3); }
  .band--night .card, .card--night { border-color: var(--frost-2); }
}
/* Beverage ideas belong beside the vendor community, with the artwork in its original colors. */
.partner-card__logo--dirty-soda { background: var(--frost); }
.partner-card__logo.partner-card__logo--dirty-soda img { height: auto; mix-blend-mode: normal; }
.partnership-invite { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 4vw, 56px); margin-top: 32px; padding: clamp(24px, 4vw, 44px); border-radius: 16px; background: var(--night); color: var(--frost); }
.partnership-invite h3 { max-width: 24ch; margin: 0 0 14px; color: inherit; font-size: clamp(1.75rem, 2.7vw, 2.5rem); line-height: 1.12; text-wrap: balance; }
.partnership-invite p { max-width: 58ch; margin: 0; color: var(--frost-2); line-height: 1.6; }
.partnership-invite__contact { display: grid; justify-items: center; gap: 12px; }
.partnership-invite__contact .btn { min-height: 48px; white-space: nowrap; }
.partnership-invite__contact span { color: var(--frost-2); font-size: .875rem; }
.partnership-invite__contact .btn:focus-visible { outline: 3px solid var(--frost); outline-offset: 4px; }
@media (max-width: 720px) {
  .partnership-invite { grid-template-columns: minmax(0, 1fr); }
  .partnership-invite__contact { justify-items: stretch; text-align: center; }
}
