/* Hallmark · shape: Product Tour (custom, brand) · genre: modern-minimal · theme: brand (neuralduct Airflow: tokens.css + PRODUCT.md) · job: sign up
 * paper: oklch(98.6% 0.004 250) · night: oklch(19% 0.02 252) · accent: oklch(54.5% 0.145 247) · display: Sora 600 · body: Inter · hero: tinted band, text left, the hero film bleeding off the band into the page · nav: edge-aligned, paper · footer: one row · signature: a Day or Night switch that flips the whole page and swaps every screen and the hero film to its light or dark file
 * axes: light and dark/geometric-sans/cool · posture: restrained · contrast: pass (day ink 16.4, day muted 7.1, day accent text 6.1, night ink 16.4, night muted 9.2, night accent text 9.3, button 4.8) · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H4 E4 S4 R3 V4 · weakest: P, the argument is the brand's own (quote it, book it, get paid) told with the real screens and a little more copy because the owner asked for it */
/* Hallmark · waive 47b · real screenshots and film on a hairline ring, no drawn chrome · the product is the proof and the owner asked for the current look made better */
/* Hallmark · waive 26b · no control on this page is ever disabled, the toggles, strip buttons and plans are always live · nothing to grey out on a marketing page */
/* Hallmark · dismissed F4 · the pressed Day or Night button is a segmented control state, not a second filled button */
/* Hallmark · note: word-count warning left standing, about 610 visible words, under the relaxed 750 budget · the owner asked for more words, kept to 80 to 100 a screen */

/* neuralduct landing page (public/index.html). Ported from mockups/landing/a5.
   Tokens, base and page in one file (css/frontpage.css); fonts come from /css/fonts.css. */

/* tokens */
:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(98.6% 0.004 250); --color-paper-2: oklch(96.4% 0.006 250); --color-paper-3: oklch(93.2% 0.009 250); --color-sheet: oklch(99.6% 0.002 250);
  --color-ink: oklch(20% 0.014 255); --color-ink-2: oklch(33% 0.014 255); --color-muted: oklch(47% 0.014 255);
  --color-rule: oklch(90% 0.008 250); --color-rule-2: oklch(84% 0.01 250);
  --color-accent: oklch(54.5% 0.145 247); --color-accent-hover: oklch(49% 0.135 247); --color-accent-ink: oklch(99% 0.003 250); --color-accent-text: oklch(46% 0.125 247); --color-accent-soft: oklch(94% 0.03 245); --color-focus: oklch(56% 0.19 247);
  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif; --font-body: "Inter", ui-sans-serif, system-ui, sans-serif; --font-outlier: var(--font-body);
  --radius-card: 14px; --radius-shot: 12px; --radius-btn: 10px; --radius-pill: 999px; --rule-hair: 1px; --shadow-card: none;
  --tracking-display: -0.035em; --display-weight: 600; --shadow-tab: 0 1px 2px oklch(20% 0.014 255 / 0.08); --shadow-shot: 0 1px 2px oklch(20% 0.014 255 / 0.06), 0 24px 48px -28px oklch(20% 0.014 255 / 0.32);
}
:root {
  --color-night: oklch(19% 0.02 252); --color-night-2: oklch(25% 0.022 252); --color-night-3: oklch(31% 0.024 252);
  --color-night-ink: oklch(96% 0.006 250); --color-night-muted: oklch(78% 0.014 252);
  --color-night-rule: oklch(34% 0.022 252); --color-night-rule-2: oklch(50% 0.02 252);
  --color-night-accent: oklch(78% 0.11 247); --color-night-focus: oklch(78% 0.12 247);
  --shadow-night-shot: 0 1px 2px oklch(5% 0.02 252 / 0.4), 0 32px 64px -24px oklch(5% 0.02 252 / 0.7);
  --color-film-paper: oklch(97.1% 0.005 264); --film-inset: clamp(16px, 3.2vw, 44px);
  --hero-overlap: clamp(7rem, 24vw, 19rem); --strip-card: clamp(17rem, 54vw, 47rem);
}
:root { color-scheme: light; }
:root[data-theme="dark"] {
  color-scheme: dark;
  --color-paper: oklch(19% 0.02 252); --color-paper-2: oklch(22.5% 0.022 252); --color-paper-3: oklch(27% 0.024 252); --color-sheet: oklch(24% 0.022 252);
  --color-ink: oklch(96% 0.006 250); --color-ink-2: oklch(87% 0.01 252); --color-muted: oklch(77% 0.014 252);
  --color-rule: oklch(32% 0.022 252); --color-rule-2: oklch(46% 0.02 252);
  --color-accent-text: oklch(78% 0.11 247); --color-accent-soft: oklch(30% 0.045 247); --color-focus: oklch(78% 0.12 247);
  --shadow-tab: 0 1px 2px oklch(5% 0.02 252 / 0.4); --shadow-shot: var(--shadow-night-shot);
  --color-film-paper: oklch(16.3% 0.006 270);
}

/* base */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
/* stylelint-disable-next-line declaration-no-important -- hidden must beat any class display */
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
/* stylelint-disable-next-line declaration-no-important -- reduced motion overrides every animation */
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

/* page */


body { font-size: 1.0625rem; font-synthesis: none; }
h1, h2, h3 { color: var(--color-ink); }

/* nav */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav-row { display: flex; align-items: center; gap: var(--space-xl); min-height: 64px; }
.mark { display: inline-flex; align-items: center; gap: var(--space-xs); font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.02em; text-decoration: none; color: var(--color-ink); }
.nav-links { display: flex; gap: var(--space-lg); list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: var(--text-sm); color: var(--color-muted); text-decoration: none; transition: color var(--dur-micro) var(--ease-out); }
.nav-links a:hover { color: var(--color-ink); }
.nav-acts { margin-left: auto; display: flex; align-items: center; gap: var(--space-md); }

/* the signature: Day or Night */
.mode { display: inline-flex; gap: var(--space-3xs); padding: var(--space-2xs); border-radius: 12px; background: var(--color-paper-3); box-shadow: 0 0 0 1px var(--color-rule); }
.mode button { border: 0; background: transparent; color: var(--color-muted); font-weight: 500; font-size: var(--text-sm); padding: 0 var(--space-md); min-height: 36px; border-radius: 9px; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.mode button:hover { color: var(--color-ink); }
.mode button[aria-pressed="true"] { background: var(--color-sheet); color: var(--color-ink); box-shadow: var(--shadow-tab); }

/* buttons: one primary style */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border-radius: var(--radius-btn); font-weight: 600; font-size: 0.9375rem; text-decoration: none; border: var(--rule-hair) solid transparent; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 38px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.btn-primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn-primary:hover { background: var(--color-accent-hover); }
.btn-quiet { background: transparent; color: var(--color-ink); border-color: var(--color-rule-2); }
.btn-quiet:hover { border-color: var(--color-muted); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

/* hero: a tinted band, the film bleeds off it */
.hero { background: linear-gradient(to bottom, var(--color-paper-2) calc(100% - var(--hero-overlap)), transparent calc(100% - var(--hero-overlap))); padding-top: var(--space-2xl); }
.hero-copy { display: grid; gap: var(--space-lg); justify-items: start; }
.hero h1 { font-size: clamp(2.5rem, 4.6vw + 0.5rem, 5rem); line-height: 0.98; max-width: 17ch; }
.hero .lead { color: var(--color-ink-2); max-width: 40ch; }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); }
.hero-stage { margin-top: var(--space-xl); position: relative; z-index: var(--z-base); }
.shot { border-radius: var(--radius-shot); overflow: hidden; background: var(--color-sheet); box-shadow: 0 0 0 1px var(--color-rule), var(--shadow-shot); }
.shot img { width: 100%; }
.shot-hero { position: relative; color: var(--color-ink); background: var(--color-paper-3); }
.film { padding: var(--film-inset); background: var(--color-film-paper); }
.film img, .film video { display: block; width: 100%; height: auto; aspect-ratio: 1808 / 900; object-fit: cover; }
.film-toggle { position: absolute; right: var(--space-sm); bottom: var(--space-sm); min-height: 36px; padding: 0 var(--space-md); border-radius: var(--radius-btn); border: var(--rule-hair) solid var(--color-rule-2); background: var(--color-sheet); color: var(--color-ink); font-weight: 600; font-size: var(--text-sm); cursor: pointer; transition: border-color var(--dur-micro) var(--ease-out); }
.film-toggle:hover { border-color: var(--color-muted); }

@media (prefers-reduced-motion: no-preference) {
  .shot-hero { animation: settle 0.7s var(--ease-out) both; }
  @keyframes settle { from { opacity: 0; transform: translateY(12px); } }
}

/* the filmstrip */
.screens { padding-top: var(--space-xl); }
.screens-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); margin-bottom: var(--space-lg); }
.screens-note { color: var(--color-muted); font-size: var(--text-sm); max-width: 48ch; }
.strip-btns { display: flex; gap: var(--space-xs); }
.strip { list-style: none; margin: 0; padding: var(--space-2xs) var(--gutter) var(--space-md); display: flex; gap: var(--space-lg); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--color-rule-2) transparent; }
@media (min-width: 1440px) { .strip { padding-inline: calc((100vw - var(--container)) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - var(--container)) / 2 + var(--gutter)); } }
.strip:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.strip li { flex: 0 0 var(--strip-card); scroll-snap-align: start; }
.strip figure { margin: 0; display: grid; gap: var(--space-sm); }
.frame { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-shot); background: var(--color-sheet); box-shadow: 0 0 0 1px var(--color-rule), var(--shadow-shot); }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.strip figcaption { color: var(--color-ink-2); font-size: var(--text-sm); max-width: 38ch; }

/* sections */
.sec { padding-block: var(--section-gap-s); }
.sec-tint { background: var(--color-paper-2); }
.sec-head { display: grid; gap: var(--space-sm); margin-bottom: var(--space-xl); }
.sec-head h2 { font-size: var(--text-section); max-width: 22ch; }
.sec-head p { color: var(--color-muted); font-size: var(--text-lead); }

/* two-column heading plus ruled rows: xero, job, moving */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: start; }
.split h2 { max-width: 13ch; }
.head-col { display: grid; gap: var(--space-md); align-content: start; }
.head-col p { color: var(--color-muted); }
.lines { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-ink); counter-reset: step; }
.lines li { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: var(--space-md); align-items: baseline; padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.job-lines li { grid-template-columns: 7rem minmax(0, 1fr) auto; }
.steps li { grid-template-columns: 2.5rem minmax(0, 1fr); counter-increment: step; }
.steps li::before { content: counter(step); font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); color: var(--color-accent-text); font-variant-numeric: tabular-nums; }
.stage { font-weight: 600; color: var(--color-accent-text); }
.what { color: var(--color-ink-2); }
.amt { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-size: var(--text-lg); color: var(--color-ink); text-align: right; min-width: 7ch; }

/* tech app: two phones */
.tech { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gap-columns); align-items: center; }
.tech-copy { display: grid; gap: var(--space-md); align-content: start; }
.tech-copy h2 { max-width: 14ch; }
.tech-copy p { color: var(--color-muted); }
.phones { display: flex; gap: var(--space-lg); justify-content: center; align-items: flex-start; }
.phone { min-width: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--color-rule-2), var(--shadow-shot); background: var(--color-sheet); }
.phone img { width: 100%; }

/* canvas */
.canvas { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: center; }
.canvas-copy { display: grid; gap: var(--space-md); align-content: start; }
.canvas-copy h2 { font-size: var(--text-section); max-width: 14ch; }
.canvas-copy p { color: var(--color-muted); }
.stds { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-ink); max-width: 20rem; }
.stds li { padding-block: var(--space-xs); border-bottom: var(--rule-hair) solid var(--color-rule-2); font-variant-numeric: tabular-nums; font-weight: 600; }

/* pricing: ruled columns, Pro picked out by an accent rule */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan { display: grid; gap: var(--space-md); align-content: start; padding: var(--space-lg) var(--space-lg) 0; border-top: var(--rule-hair) solid var(--color-ink); border-left: var(--rule-hair) solid var(--color-rule); }
.plan:first-child { border-left: 0; padding-left: 0; }
.plan-main { border-top: 4px solid var(--color-accent); margin-top: calc(-1 * var(--space-2xs)); }
.plan h3 { font-size: var(--text-lg); }
.price { font-size: var(--text-sm); color: var(--color-muted); }
.price .num { font-variant-numeric: tabular-nums; font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 600; letter-spacing: -0.03em; color: var(--color-ink); margin-right: var(--space-2xs); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); color: var(--color-ink-2); }
.plan .btn { justify-self: start; margin-top: var(--space-xs); }
.plan-main h3 { color: var(--color-accent-text); }
.plan-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-xl); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); color: var(--color-muted); font-size: var(--text-sm); }

/* questions */
.sec-faq { padding-top: 0; }
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); }
.faq h2 { font-size: var(--text-section); }
.faq-list { border-top: var(--rule-hair) solid var(--color-ink); }
.faq-list details { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq-list summary { cursor: pointer; padding-block: var(--space-md); font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: var(--space-md); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--color-muted); font-weight: 400; transition: transform var(--dur-short) var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.faq-list details p { padding-bottom: var(--space-md); color: var(--color-muted); }

/* closing band */
.close { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: center; }
.close h2 { max-width: 16ch; font-size: var(--text-section); }

/* footer */
.foot { padding-block: var(--space-xl); background: var(--color-paper); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); padding-top: var(--space-xl); }
.foot-links { display: flex; flex-wrap: wrap; gap: var(--space-lg); list-style: none; margin: 0; padding: 0; }
.foot-links a { font-size: var(--text-sm); color: var(--color-ink-2); }
.fine { margin-left: auto; font-size: var(--text-sm); color: var(--color-muted); }

a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: 4px; }

/* narrow */
@media (max-width: 60rem) {
  .nav-links { display: none; }
  .split, .canvas, .faq, .tech, .close { grid-template-columns: minmax(0, 1fr); }
  .plans, .plan-notes { grid-template-columns: minmax(0, 1fr); }
  .plan, .plan:first-child { border-left: 0; padding: var(--space-lg) 0; }
  .plan-main { margin-top: 0; }
  .fine { margin-left: 0; }
}
@media (max-width: 40rem) {
  .nav-row { gap: var(--space-md); }
  .nav-cta { display: none; }
  .nav-acts { gap: var(--space-sm); }
  .job-lines li { grid-template-columns: minmax(0, 1fr) auto; }
  .job-lines .what { grid-column: 1 / -1; grid-row: 2; }
  .lines:not(.job-lines):not(.steps) li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .strip-btns { display: none; }
  .phones { gap: var(--space-sm); }
  .phone { border-radius: 14px; }
  .plan-notes { margin-top: var(--space-lg); }
}

/* live wiring the mockup did not have */

/* sign in, beside the action */
.signin { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); text-decoration: none; transition: color var(--dur-micro) var(--ease-out); }
.signin:hover { color: var(--color-ink); }

/* beta: index.js shows the banner (display:flex) and the callout (display:block) while invites are on */
.beta-banner { display: none; align-items: center; justify-content: center; gap: var(--space-xs); padding: var(--space-xs) var(--space-md); background: var(--color-accent-soft); color: var(--color-ink); font-size: var(--text-sm); text-align: center; }
.beta-banner svg { width: 16px; height: 16px; flex: none; color: var(--color-accent-text); }
.beta-banner a { color: var(--color-accent-text); font-weight: 600; }
.beta-banner-close { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-left: var(--space-xs); border: 0; border-radius: var(--radius-btn); background: transparent; color: var(--color-muted); cursor: pointer; transition: color var(--dur-micro) var(--ease-out); }
.beta-banner-close:hover { color: var(--color-ink); }
.beta-banner-close:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.beta-callout { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-md); align-items: center; margin-top: var(--space-lg); padding: var(--space-md) var(--space-lg); border-radius: var(--radius-card); background: var(--color-sheet); box-shadow: 0 0 0 1px var(--color-rule); }
.beta-callout > svg { width: 24px; height: 24px; color: var(--color-accent-text); }
.beta-callout b { display: block; color: var(--color-ink); }
.beta-callout p { color: var(--color-muted); font-size: var(--text-sm); }

/* integrations: the rows scripts/build-integrations.js writes between the markers */
.rows { margin: 0; border-top: var(--rule-hair) solid var(--color-ink); }
.rows > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: var(--space-md); align-items: baseline; padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.rows dt { font-weight: 600; color: var(--color-accent-text); }
.rows dd { margin: 0; color: var(--color-ink-2); }
.after { margin-top: var(--space-md); font-size: var(--text-sm); }
.after a { color: var(--color-accent-text); font-weight: 600; }

/* pricing: monthly or annual */
.period { display: inline-flex; justify-self: start; gap: var(--space-3xs); padding: var(--space-2xs); border-radius: 12px; background: var(--color-paper-3); box-shadow: 0 0 0 1px var(--color-rule); }
.period button { border: 0; background: transparent; color: var(--color-muted); font-weight: 500; font-size: var(--text-sm); padding: 0 var(--space-md); min-height: 36px; border-radius: 9px; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.period button:hover { color: var(--color-ink); }
.period button[aria-pressed="true"] { background: var(--color-sheet); color: var(--color-ink); box-shadow: var(--shadow-tab); }
.period button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.price-note { color: var(--color-muted); font-size: var(--text-sm); }
.price { transition: opacity var(--dur-short) var(--ease-out); }
.price.swap { opacity: 0; }
.plan-foot { margin-top: var(--space-lg); color: var(--color-muted); font-size: var(--text-sm); }

/* testimonials: index.js fills and shows this only when approved ones exist and invites are off */
.quotes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: var(--gap-columns); margin-top: var(--space-xl); }

/* the film plays only on a wide screen with motion allowed */
.film video { display: none; }
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .film.playing img { display: none; }
  .film.playing video { display: block; }
}

@media (max-width: 60rem) {
  .signin { display: none; }
  .beta-callout { grid-template-columns: minmax(0, 1fr); }
  .beta-callout > svg { display: none; }
}
@media (max-width: 40rem) {
  .rows > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
}

/* phones: everything below sits in max-width 40rem or is hidden above it */
.foot-mode, .strip-dots, .mbar, .m-on, .faq-m, .phone-fig figcaption { display: none; }
.phone-fig { margin: 0; flex: 0 1 15rem; min-width: 0; }
.phones .phone-fig + .phone-fig { margin-top: var(--space-xl); }
.phone-fig .phone { flex: none; }
picture { display: contents; }

@media (max-width: 60rem) {
  .phones .phone-fig + .phone-fig { margin-top: var(--space-lg); }
}

@media (max-width: 40rem) {
  /* 1. Sign in up top, Day/Night in the footer */
  .nav .mode { display: none; }
  .nav .signin { display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--space-xs); color: var(--color-accent-text); font-weight: 600; }
  .foot-mode { display: inline-flex; }

  /* 2. the sign-up bar */
  .mbar { display: flex; position: fixed; inset: auto 0 0; z-index: var(--z-sticky); align-items: center; gap: var(--space-md); padding: var(--space-sm) var(--gutter) calc(var(--space-sm) + env(safe-area-inset-bottom, 0)); background: color-mix(in oklab, var(--color-paper) 92%, transparent); backdrop-filter: blur(10px); border-top: var(--rule-hair) solid var(--color-rule); transform: translateY(110%); visibility: hidden; transition: transform var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short); }
  .mbar.on { transform: none; visibility: visible; transition: transform var(--dur-short) var(--ease-out); }
  .mbar .btn { flex: none; }
  .mbar span { color: var(--color-muted); font-size: var(--text-sm); }
  .foot { padding-bottom: calc(var(--space-xl) + 76px); }

  /* 3 + 4. phone crops: their own shape, not the desktop frame */
  .film { padding: var(--space-xs); }
  .film img { aspect-ratio: auto; }
  .hero { --hero-overlap: 6rem; }
  :root { --strip-card: calc(100vw - 2 * var(--gutter) - 1.5rem); }
  .strip { gap: var(--space-md); }
  .strip li { scroll-snap-stop: always; }
  .frame { aspect-ratio: auto; }
  .frame img { height: auto; }

  /* 10. dots under the strip */
  .strip-dots { display: flex; justify-content: center; gap: var(--space-xs); margin-top: var(--space-xs); }
  .strip-dots span { width: 7px; height: 7px; border-radius: var(--radius-pill); background: var(--color-rule-2); transition: width var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
  .strip-dots span.on { width: 20px; background: var(--color-accent); }

  /* 5. connections: one line each, tap to open */
  .rows.fold > div { cursor: pointer; grid-template-columns: minmax(0, 1fr); padding-block: var(--space-sm); }
  .rows.fold dt button { all: unset; display: flex; width: 100%; justify-content: space-between; align-items: center; min-height: 28px; cursor: pointer; }
  .rows.fold dt button::after { content: "+"; color: var(--color-muted); font-weight: 400; transition: transform var(--dur-short) var(--ease-out); }
  .rows.fold dt button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: 4px; }
  .rows.fold > div.open dt button::after { transform: rotate(45deg); }
  .rows.fold dd { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; line-clamp: 1; color: var(--color-muted); font-size: var(--text-sm); }
  .rows.fold > div.open dd { display: block; color: var(--color-ink-2); font-size: inherit; }

  /* 9. tap targets */
  .after a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-row { gap: var(--space-md); }
  .foot-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-md); width: 100%; }
  .foot-links a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }

  /* 12. Email us */
  .foot-mail { grid-column: 1 / -1; margin-top: var(--space-xs); }
  .foot-mail a { justify-content: center; border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-btn); font-weight: 600; color: var(--color-ink); min-height: 48px; }
  .m-off { display: none; }
  .m-on { display: inline; }

  /* 6. pricing: Pro first, the small print lives in the questions */
  .plan-main { order: -1; padding-top: var(--space-lg); }
  .plans { display: flex; flex-direction: column; }
  .plan-notes { display: none; }
  .faq-m { display: block; }

  /* 7. the standards as chips */
  .stds { display: grid; grid-template-columns: repeat(2, max-content); gap: var(--space-xs); border-top: 0; max-width: none; }
  .stds li { padding: var(--space-2xs) var(--space-sm); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); font-size: var(--text-sm); }

  /* 11. tech: a caption beside each phone */
  .phones { flex-direction: column; gap: var(--space-lg); }
  .phones .phone-fig + .phone-fig { margin-top: 0; }
  .phone-fig { flex: none; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: var(--space-md); align-items: center; }
  .phone-fig figcaption { display: block; color: var(--color-ink-2); font-size: var(--text-sm); }
  .phone-fig:nth-child(2) { grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); }
  .phone-fig:nth-child(2) .phone { order: 2; }
}

/* index.js writes the testimonial cards with the old page's token names */
#testimonials { --panel: var(--color-sheet); --hair-2: var(--color-rule); --ink: var(--color-ink); --ink-3: var(--color-muted); }
