/* Homepage, Direction D (Field Office hero on colour chapters), Bento layout.
   Ported 2026-12-01 from 02-areas/website/(C) ZiaMap Homepage Demo - All Directions.html.
   The demo's review chrome (layout switcher, TODO notes, the other four feature layouts)
   is not carried over. Additions for the build live in home_d_additions at the end. */
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url("/fonts/inter-var.woff2") format("woff2")}

/* ZiaMap marketing tokens. Lifted from ziamap-website app/assets/stylesheets/theme.css
   (light theme, locked 2026-07-29). Change the look here; site.css and ui.css read only these. */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("/fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("/fonts/barlow-700.woff2") format("woff2"); }
@font-face { font-family: "Zilla Slab"; font-weight: 500; font-display: swap; src: url("/fonts/zilla-slab-500.woff2") format("woff2"); }
@font-face { font-family: "Zilla Slab"; font-weight: 600; font-display: swap; src: url("/fonts/zilla-slab-600.woff2") format("woff2"); }
@font-face { font-family: "Zilla Slab"; font-weight: 700; font-display: swap; src: url("/fonts/zilla-slab-700.woff2") format("woff2"); }

:root {
  /* Faces: Zilla Slab for headings, Barlow for body. The app's own sans for fragments. */
  --font-display: "Zilla Slab", Georgia, serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --font-app: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;

  /* Colour roles */
  --bg: #FFFFFF;          /* ground */
  --surface: #F6F5F2;     /* paper: one step off the ground */
  --surface-2: #ECEAE4;   /* two steps: stage behind fragments */
  --ink: #14181C;         /* text and the dark field */
  --muted: #5B6570;       /* secondary text on light */
  --on-dark: #ECEAE4;     /* text on the ink field */
  --on-dark-2: #9AA6B2;   /* secondary text on the ink field */
  --accent: #F0B100;      /* ZiaMap gold: the action, the closing field */
  --accent-hover: #FFBE1A;
  --accent-text: #8A6508; /* gold that reads on white at 4.5:1 */
  --accent-deep: #E9AC00; /* zebra step inside a gold field */
  --ink-hover: #2B333C;   /* ink button hover */
  --ink-raised: #1D2328;  /* one step up from the ink field */
  --note-bg: #FFF4CC;     /* TODO notes */
  --note-ink: #5A4300;
  --note-bg-dark: #3A3320;
  --note-ink-dark: #F6E2A6;

  /* Type steps: five, no more */
  --step-xs: 0.875rem;                                  /* 14: notes, footer */
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.1875rem);   /* 16-19: running text */
  --step-1: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem); /* 22-30: statements, card titles */
  --step-2: clamp(1.875rem, 1.3rem + 2.2vw, 3.25rem);   /* 30-52: section headings, hero line */
  --step-3: clamp(2.75rem, 1.6rem + 5.4vw, 7rem);       /* 44-112: the one poster moment */

  /* Space */
  --gutter: clamp(1rem, 0.6rem + 1.8vw, 2rem);
  --section: clamp(5.5rem, 3rem + 9vw, 12rem);
  --max: 1360px;

  /* One radius, one button shape */
  --radius: 4px;
}



/* Page layout and section compositions. Tokens only (see tokens.css). */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--ink); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 8px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 12px; }

/* ---------- Type ---------- */
.h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); line-height: 1.02; letter-spacing: -0.02em; }
.lead { font-size: var(--step-0); max-width: 54ch; margin-top: 1.1rem; }
.statement { font-family: var(--font-display); font-weight: 500; font-size: var(--step-1); line-height: 1.3; letter-spacing: -0.01em; max-width: 34ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: 0 1.5rem; border: 0; border-radius: var(--radius);
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, transform .12s ease, color .18s ease;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-sm { min-height: 44px; padding: 0 1.1rem; font-size: .9375rem; }
.btn-gold { background: var(--accent); color: var(--ink); }
.btn-gold:hover { background: var(--accent-hover); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: var(--ink-hover); }
.btn-quiet { background: var(--surface-2); color: var(--ink); }
.btn-quiet:hover { background: #E0DDD5; }
.btn-on-dark { background: var(--bg); color: var(--ink); align-self: flex-start; }
.btn-on-dark:hover { background: var(--accent); }
.btn.is-held { opacity: .55; cursor: not-allowed; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; min-height: 44px; }
.link-arrow span { transition: transform .18s ease; }
.link-arrow:hover span { transform: translateX(4px); }


/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20; background: var(--bg);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem;
  padding: 14px var(--gutter);
}
.nav-logo img { width: 140px; height: auto; }
.nav-links { display: flex; gap: 1.75rem; justify-content: center; }
.nav-links a, .nav-signin { text-decoration: none; font-weight: 500; font-size: .9375rem; display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a:hover, .nav-signin:hover { color: var(--accent-text); }
.nav-end { display: flex; align-items: center; gap: 1.25rem; }

.nav-menu { display: none; position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 0 .9rem; font-weight: 600; border-radius: var(--radius); background: var(--surface); }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-sheet { position: absolute; right: 0; top: calc(100% + 8px); width: min(80vw, 280px); background: var(--bg); padding: .5rem; border-radius: var(--radius); box-shadow: 0 16px 40px rgba(20,24,28,.18); display: grid; }
.nav-sheet a { min-height: 48px; display: flex; align-items: center; padding: 0 .9rem; text-decoration: none; font-weight: 600; border-radius: var(--radius); }
.nav-sheet a:hover { background: var(--surface); }

/* ---------- Section frame ---------- */
main > section { padding: var(--section) var(--gutter) 0; max-width: var(--max); margin: 0 auto; }

/* ---------- 1. Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2.5rem clamp(2rem, 4vw, 4.5rem);
  align-items: start; padding-top: clamp(2.5rem, 5vw, 5rem) !important;
}
.hero-line { grid-column: 1 / -1; max-width: 21em; }
.hero-copy { grid-column: 1; display: flex; flex-direction: column; gap: 2rem; }
.hero-video { grid-column: 2; }
.hero-sub { margin-top: 0 !important; }
.hero-line { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.2rem + 3.4vw, 4.25rem); line-height: 1.04; letter-spacing: -0.022em; }
.hero-sub { margin-top: 1.25rem; font-size: var(--step-1); line-height: 1.3; color: var(--muted); max-width: 26ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; align-self: start; }
.hero-video figcaption { margin-top: .75rem; font-size: var(--step-xs); color: var(--muted); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; border-radius: var(--radius); }
.video-frame .xf { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.video-frame .xf.is-on { opacity: 1; }
.play {
  position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: .6rem;
  min-height: 56px; padding: 0 1.25rem 0 1rem; border: 0; border-radius: var(--radius);
  background: var(--accent); color: var(--ink); font: 600 1rem/1 var(--font-body); cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.play:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ---------- 2. Problem ---------- */
.problem { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem clamp(2rem, 5vw, 6rem); }
.problem-head { grid-column: 1; }
.scatter { grid-column: 2; grid-row: 1 / span 2; align-self: start; background: var(--surface); padding: 1.5rem 1.75rem; border-radius: var(--radius); }
.scatter li { display: grid; grid-template-columns: 14px 9.5rem 1fr; gap: .9rem; align-items: baseline; padding: .7rem 0; }
.scatter .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); align-self: center; }
.scatter b { font-weight: 600; }
.scatter em { font-style: normal; color: var(--muted); }
.stakes { grid-column: 1; display: grid; gap: .9rem; }
.stakes p { font-size: var(--step-0); }
.stakes b { font-weight: 700; }
.problem-close {
  grid-column: 1 / -1; font-family: var(--font-display); font-weight: 600;
  font-size: var(--step-2); line-height: 1.05; letter-spacing: -0.02em; max-width: 20ch; padding-top: 2rem;
}

/* ---------- 3. What it is ---------- */
.what { display: grid; gap: 2.5rem; }
.what-chain { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 6px; }
.link-cell { background: var(--surface); padding: 1.5rem 1.5rem 1.75rem; border-radius: var(--radius); }
.link-cell span { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); }
.link-cell b { font-weight: 500; color: var(--muted); }
.link-cell.is-zm { background: var(--ink); color: var(--on-dark); }
.link-cell.is-zm span { color: var(--accent); }
.link-cell.is-zm b { color: var(--on-dark); }
.what .statement { max-width: 40ch; }
.brian-quote p { font-size: var(--step-0); max-width: 52ch; }
.brian-quote cite { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; font-style: normal; font-size: var(--step-xs); color: var(--muted); }
.brian-quote cite img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

/* ---------- 4. Field and office ---------- */
.fo-head { max-width: 60ch; margin-bottom: 2.5rem; }
.demo {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 6px;
  background: var(--surface); padding: 6px; border-radius: 8px;
}
.demo-controls {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center;
  padding: 1rem 1.25rem; background: var(--bg); border-radius: var(--radius);
}
.signal-switch { display: inline-flex; align-items: center; gap: .25rem; background: var(--surface); padding: 4px; border-radius: var(--radius); }
.sw-label { font-weight: 600; font-size: .9375rem; padding: 0 .75rem 0 .5rem; }
.seg { min-height: 44px; padding: 0 1rem; border: 0; border-radius: 3px; background: transparent; font: 600 .9375rem/1 var(--font-body); cursor: pointer; color: var(--muted); transition: background-color .2s, color .2s; }
.seg[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.demo[data-signal="on"] .seg[aria-pressed="true"] { background: var(--accent); color: var(--ink); }
.link-reset { margin-left: auto; border: 0; background: none; font: 500 .9375rem var(--font-body); color: var(--muted); text-decoration: underline; cursor: pointer; min-height: 44px; }
.demo-col { background: var(--bg); padding: 1.5rem; border-radius: var(--radius); display: flex; flex-direction: column; gap: 1.25rem; }
.col-for { font-size: var(--step-xs); font-weight: 600; color: var(--muted); }
.col-line { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); line-height: 1.15; margin: .25rem 0 0; }
.stage { background: var(--surface-2); border-radius: var(--radius); padding: clamp(1rem, 3vw, 2.5rem); display: flex; justify-content: center; align-items: flex-start; min-height: 520px; flex: 1; }
.col-list { color: var(--ink); max-width: 46ch; }
.demo-note { margin-top: .9rem; font-size: var(--step-xs); color: var(--muted); max-width: 70ch; }

/* ---------- 5. How it works ---------- */
.how { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 clamp(2rem, 6vw, 7rem); }
.how-h { grid-column: 1 / -1; margin-bottom: 2rem; }
.how-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; gap: .75rem; color: var(--muted); transition: color .35s ease; }
.how-step:first-of-type { min-height: 48vh; justify-content: flex-start; }
.how-say { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); line-height: 1.15; }
.how-step.is-active { color: var(--ink); }
.how-step.is-active .how-say { color: var(--ink); }
.how-stage { position: sticky; top: 14vh; align-self: start; height: 72vh; background: var(--surface-2); border-radius: 8px; display: grid; place-items: center; padding: 2rem; }

/* ---------- 6. Features ---------- */
.features .h2 { margin-bottom: 3rem; }
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fcell { background: var(--surface); border-radius: var(--radius); min-height: 400px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.fcell.flip { flex-direction: column-reverse; }
.ftext { padding: 1.5rem 1.5rem 1.6rem; }
.ftext h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); line-height: 1.12; letter-spacing: -0.01em; }
.ftext p { margin-top: .6rem; color: var(--ink); font-size: 1rem; }
.ftext p b { color: var(--accent-text); }
.fname { display: block; margin-top: .85rem; font-weight: 600; font-size: var(--step-xs); color: var(--accent-text); }
.frag { padding: 0 1.5rem; }
.fcell:not(.flip) .frag { padding-bottom: 0; }
.fcell.flip .frag { padding-top: 1.5rem; }
.frag-photo { padding: 0 !important; }
.fcell-price { background: var(--accent); }
.fcell-price .ftext p { color: var(--ink); }
.fx-price { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 3rem + 7vw, 9.5rem); line-height: .8; letter-spacing: -0.04em; padding: 1.5rem 1.5rem 0; }
.coming { margin-top: 1.5rem; color: var(--muted); font-size: var(--step-xs); }

/* ---------- 7. Free tools ---------- */
.tools { max-width: none !important; background: var(--ink); color: var(--on-dark); margin-top: var(--section); padding-bottom: var(--section) !important; }
.tools > * { max-width: calc(var(--max) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.tools .h2 { color: var(--bg); }
.tools .lead { color: var(--on-dark-2); }
.tools-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 3rem; }
.tool { background: var(--ink-raised); padding: clamp(1.5rem, 3vw, 2.75rem); border-radius: var(--radius); display: flex; flex-direction: column; gap: 1.25rem; }
.tool h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); line-height: 1.15; color: var(--bg); }
.tool p { color: var(--on-dark); }
.tool .tool-small { color: var(--on-dark-2); font-size: 1rem; }
.proof { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: .5rem 0; }
.proof dt { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); line-height: 1; color: var(--accent); letter-spacing: -0.02em; }
.proof dd { margin: .35rem 0 0; color: var(--on-dark-2); font-size: var(--step-xs); }
.tools .todo { background: var(--note-bg-dark); color: var(--note-ink-dark); }

/* ---------- 8. Pricing ---------- */
.price-table { display: grid; }
.pt-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.pt-row:nth-child(even) { background: var(--surface); }
.pt-k, .pt-v { padding: 1.15rem 1.5rem; font-size: var(--step-1); line-height: 1.25; }
.pt-k { color: var(--muted); }
.pt-v { background: var(--accent); font-weight: 500; }
.pt-row:nth-child(even) .pt-v { background: var(--accent-deep); }
.pt-head .pt-k { color: var(--ink); padding-bottom: 2rem; align-self: end; }
.pt-sub { font-size: var(--step-1); margin-top: .5rem; color: var(--muted); }
.pt-head .pt-v { padding-top: 2rem; padding-bottom: 2rem; }
.pt-price { display: block; font-family: var(--font-display); font-weight: 700; font-size: var(--step-3); line-height: .9; letter-spacing: -0.04em; }
.pt-per { font-size: var(--step-0); font-weight: 600; }
.pt-foot .pt-v { padding-top: 1.5rem; padding-bottom: 1.75rem; }

/* ---------- 9. Story ---------- */
.story { display: flex; justify-content: center; }
.letter { max-width: 600px; background: var(--surface); padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: var(--radius); display: grid; gap: 1.1rem; }
.letter-face { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-bottom: .5rem; }
.letter p { font-size: 1.125rem; line-height: 1.6; }
.letter mark { background: var(--accent); color: var(--ink); padding: 0 .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* "one job." in the brand gold, period included, on every direction. */
.h2 mark.hl { background: var(--accent); color: var(--ink); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sign { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1) !important; margin-top: .5rem; }
.sign span { display: block; font-family: var(--font-body); font-weight: 400; font-size: var(--step-xs); color: var(--muted); }
.cofounders { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; font-size: var(--step-xs); color: var(--muted); }
.cofounders span { display: inline-flex; align-items: center; gap: .5rem; }
.cofounders img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

/* ---------- 10. Gear ---------- */
.gear { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 5vw, 6rem); align-items: start; }
.gear-list { max-width: 560px; }
.gear-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .55rem 0; font-size: var(--step-1); }
.gear-list b { font-family: var(--font-display); font-weight: 600; }
.gear-list em { font-style: normal; color: var(--muted); font-size: 1rem; }
.gear-list .zm { margin-top: 1rem; background: var(--accent); padding: .8rem 1rem; border-radius: var(--radius); }
.gear-list .zm em { color: var(--ink); font-weight: 600; }

/* ---------- 11. Close ---------- */
.close {
  max-width: none !important; background: var(--accent); margin-top: var(--section);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 3rem clamp(2rem, 6vw, 7rem);
  align-items: end; min-height: 88svh; padding: var(--section) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) var(--section) !important;
}
.close-line { font-family: var(--font-display); font-weight: 700; font-size: var(--step-3); line-height: .92; letter-spacing: -0.035em; max-width: 9ch; }
.close-copy p { margin-top: 1.5rem; font-size: var(--step-0); max-width: 44ch; }
.close-copy .signoff { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); }
.close .todo { background: var(--note-bg); }

/* ---------- Footer ---------- */
.foot {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: baseline;
  padding: 3rem var(--gutter) 2rem; font-size: var(--step-xs); color: var(--muted);
  max-width: var(--max); margin: 0 auto;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot > span:last-child { text-align: right; }

/* ---------- Motion: entrances (content never hidden without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .video-frame .xf { transition: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Phone: its own composition ---------- */
@media (max-width: 760px) {
  .nav { grid-template-columns: auto auto; gap: 1rem; padding: 10px var(--gutter); }
  .nav-links, .nav-signin { display: none; }
  .nav-menu { display: block; }
  .nav-end { gap: .5rem; }
  .nav-end { justify-self: end; }
  .nav-logo img { width: 116px; }

  .hero, .problem, .how, .gear, .close, .pt-row { grid-template-columns: 1fr; }
  .hero { gap: 1.5rem; }
  .hero-line, .hero-copy, .hero-video { grid-column: 1; grid-row: auto; }
  .hero-video { order: 3; }
  .link-cell span { font-size: 1.125rem; }
  .link-cell b { font-size: 1rem; }
  .tool h3 { font-size: 1.3rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .scatter { grid-column: 1; grid-row: auto; padding: 1rem 1.1rem; }
  .scatter li { grid-template-columns: 14px 1fr; gap: .2rem .75rem; }
  .scatter em { grid-column: 2; }
  .stakes, .problem-close { grid-column: 1; }

  .what-chain { grid-template-columns: 1fr; }

  .demo-controls { padding: .9rem; }
  .signal-switch { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .sw-label { grid-column: 1 / -1; padding: .4rem .5rem .5rem; }
  .demo-controls .btn { flex: 1 1 100%; }
  .link-reset { margin-left: 0; }
  .demo-col { padding: 1rem; }
  .stage { min-height: 0; padding: 1rem .75rem; }

  .how-stage { top: 64px; height: 46svh; padding: 1rem; z-index: 2; }
  .how-h { order: 0; margin-bottom: 1rem; }
  .how-stage { order: 1; }
  .how-text { order: 2; position: relative; z-index: 1; }
  .how-step { min-height: 60svh; }
  .how-step:first-of-type { min-height: 50svh; }

  .fgrid { grid-template-columns: 1fr; gap: 6px; }
  .fcell, .fcell.flip { min-height: 0; flex-direction: column; }
  .fcell .frag { padding: 0 1.25rem 1.25rem; }
  .fcell .frag-photo { padding: 0 !important; }

  .tools-pair { grid-template-columns: 1fr; }
  .pt-k { padding-bottom: .25rem; font-size: 1rem; background: transparent; }
  .pt-v { padding-top: .5rem; }
  .pt-row:nth-child(even) { background: transparent; }
  .pt-head .pt-k { padding-bottom: 1.25rem; }

  .gear-list li { font-size: 1.25rem; }
  .close { min-height: 0; align-items: start; }
  .foot { grid-template-columns: 1fr; gap: .5rem; }
  .foot > span:last-child { text-align: left; }
}



/* App fragments: pieces of ZiaMap built in HTML at true size. Inside [data-ui] the app's own
   conventions apply (its sans, 1px control borders, small radii, a shadow on what floats).
   Light UI only: the field app is a light PWA. */

[data-ui] { font-family: var(--font-app); color: #1B1F23; font-size: 14px; line-height: 1.4; }
[data-ui] b { font-weight: 600; }
.thumb { flex: none; width: 40px; height: 40px; border-radius: 6px; display: grid; place-items: center; font: 700 11px/1 var(--font-app); color: #fff; background: #8A8F96; }
.thumb.t1 { background: url("/home-d/field-a.webp") center / cover; }
.thumb.tn { background: #F0B100; color: #1B1F23; }
.thumb.tf { background: #2F6FB3; }
.thumb.td { background: #B3402F; }
.av { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 11px/1 var(--font-app); background: #F0B100; color: #1B1F23; }
.av.b { background: #2F6FB3; color: #fff; } .av.c { background: #2E7048; color: #fff; } .av.d { background: #6B747E; color: #fff; }

/* ---------- Phone (demo, mobile column) ---------- */
.phone {
  width: 320px; max-width: 100%; height: 560px; background: #fff; border-radius: 28px; overflow: hidden;
  display: flex; flex-direction: column; border: 8px solid #1B1F23; position: relative;
}
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 8px 18px 4px; font: 600 13px/1 var(--font-app); }
.ph-bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 11px; }
.ph-bars i { width: 3px; background: #C9CDD2; border-radius: 1px; transition: background-color .3s; }
.ph-bars i:nth-child(1) { height: 4px; } .ph-bars i:nth-child(2) { height: 6px; } .ph-bars i:nth-child(3) { height: 8px; } .ph-bars i:nth-child(4) { height: 11px; }
[data-signal="on"] .ph-bars i { background: #1B1F23; }
.ph-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; }
.ph-back { font-size: 24px; line-height: 1; }
.ph-title { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-banner { margin: 0 12px 8px; padding: 8px 10px; border-radius: 6px; background: #FFF4CC; color: #5A4300; font-size: 13px; font-weight: 500; transition: background-color .3s, color .3s; }
[data-signal="on"] .ph-banner { background: #E3F3E8; color: #1E5B33; }
.ph-tabs { display: flex; gap: 14px; padding: 0 14px; border-bottom: 1px solid #E4E6E8; font-size: 12px; font-weight: 600; color: #6B747E; text-transform: uppercase; letter-spacing: .02em; overflow: hidden; }
.ph-tabs span { padding: 8px 0; white-space: nowrap; }
.ph-tabs .on { color: #1B1F23; box-shadow: inset 0 -3px 0 #F0B100; }
.ph-queue, .ph-doc { padding: 6px 12px; }
.ph-queue { flex: 1; overflow: hidden; }
.ph-queue li, .ph-doc { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid #F0F1F2; animation: slideIn .4s ease both; }
.q-body { flex: 1; font-size: 13px; line-height: 1.3; }
.q-body b { display: block; font-size: 13px; }
.q-state { font-size: 11px; font-weight: 600; padding: 3px 7px; border-radius: 10px; background: #F1F2F3; color: #5B6570; white-space: nowrap; }
.q-state.ok { background: #E3F3E8; color: #1E5B33; }
.q-state.sending { background: #FFF4CC; color: #5A4300; }
.ph-doc { margin: 0 12px; }
.ph-doc[hidden] { display: none; }
.ph-bar { padding: 10px 14px 14px; display: flex; justify-content: flex-end; }
.ph-fab { width: 56px; height: 56px; border-radius: 16px; background: #F0B100; display: grid; place-items: center; font: 400 30px/1 var(--font-app); box-shadow: 0 4px 10px rgba(0,0,0,.18); }

/* ---------- Desktop (demo, office column) ---------- */
.desk { min-width: 0; width: 100%; max-width: 560px; background: #fff; border-radius: 8px; border: 1px solid #DADDE0; overflow: hidden; display: flex; flex-direction: column; min-height: 420px; }
.dk-head { padding: 14px 18px 0; border-bottom: 1px solid #E4E6E8; }
.dk-title { display: block; font-weight: 700; font-size: 17px; }
.dk-tabs { overflow: hidden; display: flex; gap: 20px; margin-top: 10px; font-size: 12px; font-weight: 600; color: #6B747E; text-transform: uppercase; letter-spacing: .02em; }
.dk-tabs span { padding: 8px 0; }
.dk-tabs .on { color: #1B1F23; box-shadow: inset 0 -3px 0 #F0B100; }
.dk-day { padding: 12px 18px 4px; font-size: 12px; font-weight: 600; color: #6B747E; }
.dk-feed { flex: 1; padding: 0 18px; }
.dk-feed li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #F0F1F2; animation: slideIn .45s ease both; }
.dk-feed .tm { width: 44px; font-size: 12px; color: #6B747E; font-variant-numeric: tabular-nums; }
.dk-feed .who { font-size: 12px; color: #6B747E; }
.dk-feed .dk-empty { color: #6B747E; font-size: 14px; border: 0; padding: 32px 0; justify-content: center; text-align: center; }
.dk-foot { padding: 10px 18px; background: #F7F8F9; font-size: 12px; color: #6B747E; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- How it works (one fragment, three states) ---------- */
.how-frag { width: 100%; max-width: 380px; background: #fff; border-radius: 10px; border: 1px solid #DADDE0; padding: 20px; position: relative; min-height: 400px; }
.how-frag .hs { display: none; animation: slideIn .35s ease both; }
.how-frag[data-state="0"] .hs-0, .how-frag[data-state="1"] .hs-1, .how-frag[data-state="2"] .hs-2 { display: block; }
.hf-title { font-weight: 700; font-size: 17px; margin-bottom: 12px; }
.hf-label { display: block; font-size: 12px; font-weight: 600; color: #5B6570; margin: 10px 0 4px; }
.hf-input { border: 1px solid #C9CDD2; border-radius: 6px; padding: 9px 11px; font-size: 14px; }
.hf-team { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.hf-team .role { font-size: 14px; }
.hf-btn { margin-top: 16px; background: #F0B100; border-radius: 6px; text-align: center; padding: 12px; font-weight: 600; }
.hf-photo img { border-radius: 6px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.hf-note { margin-top: 12px; font-size: 15px; }
.hf-voice { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: #5B6570; }
.mic { width: 28px; height: 28px; border-radius: 50%; background: #F0B100; position: relative; }
.mic::after { content: ""; position: absolute; left: 11px; top: 7px; width: 6px; height: 11px; border-radius: 3px; background: #1B1F23; }
.hf-pill { display: inline-block; margin-top: 14px; padding: 5px 10px; border-radius: 12px; background: #FFF4CC; color: #5A4300; font-size: 12px; font-weight: 600; }
.hf-pill.ok { background: #E3F3E8; color: #1E5B33; }
.hf-row { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #F0F1F2; font-size: 14px; }
.hf-row .tm { width: 42px; color: #6B747E; font-size: 12px; font-variant-numeric: tabular-nums; padding-top: 2px; }

/* ---------- Feature fragments ---------- */
.frag > div { background: #fff; border: 1px solid #DADDE0; border-radius: 8px; padding: 14px; }
.fcell:not(.flip) .frag > div { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.frag-photo > div { border: 0; border-radius: 0 !important; padding: 0; }
.fx-journal .d { font-size: 12px; font-weight: 600; color: #6B747E; padding: 6px 0 2px; }
.fx-journal .r { padding: 7px 0; border-bottom: 1px solid #F0F1F2; }
.fx-map { height: 190px; position: relative; padding: 0 !important; overflow: hidden; background: #E9EEE6 !important; }
.fx-map .road { position: absolute; background: #fff; }
.fx-map .r1 { left: -10%; top: 46%; width: 130%; height: 10px; transform: rotate(-14deg); }
.fx-map .r2 { left: 64%; top: -10%; width: 9px; height: 130%; transform: rotate(18deg); }
.fx-map .field { position: absolute; right: 0; bottom: 0; width: 45%; height: 40%; background: #D9E2D2; }
.fx-map .parcel { position: absolute; left: 30%; top: 30%; width: 40%; height: 45%; border: 2px dashed #B8860B; }
.fx-map .pin { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: #F0B100; display: grid; place-items: center; font: 700 11px/1 var(--font-app); z-index: 1; }
.fx-map .pin.sel { background: #1B1F23; color: #fff; outline: 3px solid #F0B100; }
.fx-qn .qn { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 6px; }
.fx-qn .qn.on { background: #FFF4CC; }
.fx-qn .n { width: 26px; height: 26px; border-radius: 6px; background: #1B1F23; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; flex: none; }
.fx-voice .wave { display: flex; gap: 3px; align-items: center; height: 28px; }
.fx-voice .wave i { width: 4px; border-radius: 2px; background: #F0B100; height: 30%; animation: wave 1.1s ease-in-out infinite; }
.fx-voice .wave i:nth-child(2n) { animation-delay: .15s; } .fx-voice .wave i:nth-child(3n) { animation-delay: .3s; } .fx-voice .wave i:nth-child(5n) { animation-delay: .45s; }
@keyframes wave { 0%,100% { height: 25%; } 50% { height: 100%; } }
.fx-voice .txt { margin-top: 10px; font-size: 15px; }
.caret { display: inline-block; width: 2px; height: 1em; background: #1B1F23; margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.fx-voice .meta { margin-top: 8px; font-size: 12px; color: #6B747E; }
.fx-obs { position: relative; }
.fx-obs img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.obs-mark { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 3px solid #F0B100; border-radius: 50%; }
.obs-tag { position: absolute; background: #F0B100; color: #1B1F23; font: 600 12px/1 var(--font-app); padding: 6px 8px; border-radius: 4px; }
.fx-offline .ob { display: inline-block; padding: 4px 9px; border-radius: 10px; background: #FFF4CC; color: #5A4300; font-size: 12px; font-weight: 600; }
.fx-offline .oc { margin-top: 10px; font-size: 15px; }
.fx-offline .oc b { font-size: 22px; }
.fx-offline .op { margin-top: 10px; height: 6px; background: #F1F2F3; border-radius: 3px; overflow: hidden; }
.fx-offline .op span { display: block; height: 100%; background: #F0B100; }
.fx-offline .ot { margin-top: 8px; font-size: 12px; color: #6B747E; }
.fx-docs .doc { display: grid; grid-template-columns: 40px 1fr; gap: 0 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid #F0F1F2; }
.fx-docs .ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 6px; background: #B3402F; color: #fff; display: grid; place-items: center; font: 700 11px/1 var(--font-app); }
.fx-docs .ic.dwg { background: #2F6FB3; }
.fx-docs em { font-style: normal; font-size: 12px; color: #6B747E; }
.fx-chat { display: flex; flex-direction: column; gap: 8px; }
.fx-chat .b { max-width: 82%; padding: 8px 11px; border-radius: 12px; font-size: 14px; }
.fx-chat .b b { display: block; font-size: 11px; color: #5B6570; }
.fx-chat .them { background: #F1F2F3; align-self: flex-start; }
.fx-chat .me { background: #F0B100; align-self: flex-end; }
.fx-gallery .gf { display: flex; gap: 6px; padding: 10px; flex-wrap: wrap; background: #fff; }
.fx-gallery .gf span { font-size: 12px; font-weight: 600; padding: 5px 9px; border: 1px solid #C9CDD2; border-radius: 14px; }
.fx-gallery .gf .on { background: #1B1F23; color: #fff; border-color: #1B1F23; }
.fx-gallery .gt { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.fx-gallery .gt img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.fx-gallery .more { display: grid; place-items: center; background: #1B1F23; color: #fff; font-weight: 700; font-size: 18px; }
.fx-sign .sl { font-size: 12px; font-weight: 600; color: #5B6570; }
.fx-sign .sig { width: 100%; height: 76px; margin: 6px 0; border-bottom: 1px solid #C9CDD2; }
.fx-sign .sf { font-size: 12px; color: #1E5B33; font-weight: 600; }
.fx-team .tm { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid #F0F1F2; }
.fx-team em { margin-left: auto; font-style: normal; font-size: 12px; color: #5B6570; background: #F1F2F3; padding: 3px 8px; border-radius: 10px; }

/* ---------- Book a demo form ---------- */
.book { background: #fff; border-radius: 10px; padding: 24px; box-shadow: 0 18px 40px rgba(20,24,28,.18); max-width: 440px; width: 100%; justify-self: end; }
.bk-title { font-weight: 700; font-size: 20px; margin-bottom: 6px; }
.bk-label { display: block; font-size: 13px; font-weight: 600; color: #3F464D; margin: 14px 0 6px; }
.bk-input { width: 100%; min-height: 48px; border: 1px solid #C9CDD2; border-radius: 6px; padding: 0 12px; font: 400 16px var(--font-app); }
.bk-input:focus { outline: 2px solid #F0B100; border-color: #F0B100; }
.bk-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #F1F2F3; border-radius: 8px; }
.bk-seg label { position: relative; }
.bk-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bk-seg span { min-height: 44px; display: grid; place-items: center; border-radius: 6px; font: 600 14px var(--font-app); cursor: pointer; transition: background-color .15s, color .15s; }
.bk-seg input:checked + span { background: #1B1F23; color: #fff; }
.bk-seg input:focus-visible + span { outline: 3px solid #F0B100; outline-offset: 1px; }
.bk-btn { margin-top: 18px; width: 100%; min-height: 52px; border: 0; border-radius: 6px; background: #1B1F23; color: #fff; font: 600 16px var(--font-app); cursor: pointer; transition: background-color .15s, transform .12s; }
.bk-btn:hover { background: #2B333C; }
.bk-btn:active { transform: scale(.98); }
.book .todo { font-family: var(--font-body); }

@media (prefers-reduced-motion: reduce) {
  .fx-voice .wave i, .caret { animation: none; }
  .ph-queue li, .dk-feed li, .how-frag .hs, .ph-doc { animation: none; }
}
@media (max-width: 760px) {
  .phone { height: 500px; width: 300px; }
  .how-frag { min-height: 0; padding: 14px; font-size: 13px; }
  .how-frag .hf-label { margin-top: 6px; }
  .book { justify-self: stretch; max-width: none; }
}



/* Direction C: colour chapters. Every section is a full-bleed field in one brand colour,
   butted edge to edge, headings on one left edge. Loaded after site.css; scoped to C. */

[data-direction="c"] {
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --chapter: clamp(5rem, 3rem + 7vw, 10rem);
  --h-chapter: clamp(2.75rem, 1rem + 5.6vw, 7.25rem);
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Fields: full width, no gaps, same left edge */
[data-direction="c"] main > section {
  max-width: none; margin: 0; padding: var(--chapter) var(--edge) !important; min-height: 0;
}
[data-direction="c"] .h2 { font-size: var(--h-chapter); line-height: .94; letter-spacing: -0.035em; max-width: 21ch; }
[data-direction="c"] .lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); }
[data-direction="c"] .nav { background: var(--surface); }

/* Chapter colours */
[data-direction="c"] .hero { background: var(--surface); }
[data-direction="c"] .problem { background: var(--ink); color: var(--on-dark); }
[data-direction="c"] .problem .h2, [data-direction="c"] .problem-close { color: var(--bg); }
[data-direction="c"] .what { background: var(--accent); }
[data-direction="c"] .field-office { background: var(--bg); }
[data-direction="c"] .how { background: var(--surface); }
[data-direction="c"] .features { background: var(--bg); }
[data-direction="c"] .tools { margin-top: 0; }
[data-direction="c"] .story { background: var(--surface); }
[data-direction="c"] .gear { background: var(--bg); }

/* ---------- Hero: headline, then the video on a chamfered gold stage ---------- */
[data-direction="c"] .hero-c { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gutter); padding-bottom: 0 !important; overflow: hidden; }
.hero-c-copy { grid-column: 1 / -1; display: grid; gap: 1.75rem; }
[data-direction="c"] .hero-c .hero-line { font-size: clamp(2.25rem, 1rem + 3.1vw, 4rem); line-height: 1; letter-spacing: -0.03em; max-width: 22em; }
[data-direction="c"] .hero-c .hero-sub { font-size: var(--step-1); max-width: 30ch; color: var(--muted); }
.stage-c {
  grid-column: 4 / -1; margin: clamp(2.5rem, 5vw, 5rem) calc(var(--edge) * -1) 0 0;
  background: var(--accent); padding: clamp(1.25rem, 3.5vw, 3.5rem) var(--edge) clamp(1.25rem, 3.5vw, 3.5rem) clamp(1.25rem, 3.5vw, 3.5rem);
  clip-path: polygon(0 72px, 72px 0, 100% 0, 100% 100%, 0 100%);
}
.stage-c .video-frame { max-width: 980px; }
.stage-c figcaption { margin-top: .75rem; font-size: var(--step-xs); color: var(--ink); }

/* ---------- Problem on ink ---------- */
[data-direction="c"] .scatter { background: rgba(255,255,255,.06); }
[data-direction="c"] .scatter b { color: var(--bg); }
[data-direction="c"] .scatter em { color: var(--on-dark-2); }
[data-direction="c"] .stakes b { color: var(--accent); }
[data-direction="c"] .problem-close { font-size: var(--h-chapter); line-height: .94; letter-spacing: -0.035em; max-width: 22ch; }

/* ---------- What it is, on gold ---------- */
[data-direction="c"] .link-cell { background: rgba(20,24,28,.08); }
[data-direction="c"] .link-cell b { color: var(--ink); }
[data-direction="c"] .link-cell.is-zm { background: var(--ink); }
[data-direction="c"] .link-cell.is-zm b { color: var(--on-dark); }
[data-direction="c"] .what .statement { font-size: var(--step-1); max-width: 46ch; }
[data-direction="c"] .brian-quote cite { color: var(--ink); }

/* ---------- The big signal switch ---------- */
.bigsignal { background: var(--ink); color: var(--bg); position: relative; overflow: hidden; min-height: 88svh !important; transition: background-color .5s ease, color .5s ease; }
.bigsignal[data-on="true"] { background: var(--accent); color: var(--ink); }
.bs-copy { max-width: 34rem; position: relative; z-index: 1; }
.bs-copy .h2 { color: inherit; font-size: clamp(1.75rem, 1rem + 2vw, 2.75rem) !important; max-width: none !important; }
.bs-copy p { margin-top: 1rem; font-size: 1.0625rem; max-width: 40ch; }
.bs-control {
  position: absolute; right: var(--edge); bottom: 7vh; font-size: clamp(14px, 1rem + 2.2vw, 48px);
  display: flex; gap: .2em; padding: .2em; border-radius: .5em; background: rgba(255,255,255,.12);
  font-family: var(--font-app);
}
.bigsignal[data-on="true"] .bs-control { background: rgba(20,24,28,.12); }
.bs-seg {
  font: 700 1em/1 var(--font-app); padding: 1.1em 1.3em; border: 0; border-radius: .35em; cursor: pointer;
  background: transparent; color: inherit; min-height: 2.75em; transition: background-color .3s, color .3s, transform .12s;
}
.bs-seg:active { transform: scale(.98); }
.bs-seg[aria-pressed="true"] { background: var(--bg); color: var(--ink); }
.bigsignal[data-on="true"] .bs-seg[aria-pressed="true"] { background: var(--ink); color: var(--accent); }

/* ---------- How it works: a slider, two fields ---------- */
[data-direction="c"] .how-c { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; padding: 0 !important; }
[data-direction="c"] .how-c .how-h { grid-column: 1; padding: var(--chapter) 2rem 2rem var(--edge); margin: 0; }
[data-direction="c"] .how-c .how-text { padding: 0 2rem var(--chapter) var(--edge); display: flex; flex-direction: column; }
[data-direction="c"] .how-c .how-step { display: none; min-height: 0; }
[data-direction="c"] .how-c .how-step.is-active { display: flex; }
[data-direction="c"] .how-c .how-say { font-size: clamp(1.75rem, 1rem + 2.6vw, 3.5rem); line-height: 1; letter-spacing: -0.025em; }
[data-direction="c"] .how-c .how-stage { position: static; height: auto; border-radius: 0; background: var(--accent); grid-column: 2; grid-row: 1 / span 2; padding: var(--chapter) 2rem; }
.how-slider { display: block; margin-top: auto; padding-top: 3rem; }
/* The slider wears the app's camera shutter: a 64px green disc with a white ring.
   The track fills green up to the thumb (--p is set by site.js). */
.how-slider { --shut: 64px; --green: #1B7A43; --p: 0%; }
.how-slider input {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: var(--shut);
  margin: 0; background: transparent; cursor: pointer;
}
.how-slider input::-webkit-slider-runnable-track {
  height: 14px; border-radius: 999px;
  background: linear-gradient(90deg, var(--green) 0 var(--p), #DAD7CF var(--p) 100%);
}
.how-slider input::-moz-range-track { height: 14px; border-radius: 999px; background: #DAD7CF; }
.how-slider input::-moz-range-progress { height: 14px; border-radius: 999px; background: var(--green); }
.how-slider input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: var(--shut); height: var(--shut); margin-top: calc((14px - var(--shut)) / 2);
  border-radius: 50%; background: var(--green); border: 5px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.28), 0 0 0 1px rgba(20,24,28,.08);
  transition: transform .15s cubic-bezier(.16,1,.3,1);
}
.how-slider input::-moz-range-thumb {
  box-sizing: border-box; width: var(--shut); height: var(--shut); border-radius: 50%; background: var(--green);
  border: 5px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.28), 0 0 0 1px rgba(20,24,28,.08);
  transition: transform .15s cubic-bezier(.16,1,.3,1);
}
.how-slider input:hover::-webkit-slider-thumb { transform: scale(1.06); }
.how-slider input:active::-webkit-slider-thumb { transform: scale(.92); }
.how-slider input:hover::-moz-range-thumb { transform: scale(1.06); }
.how-slider input:active::-moz-range-thumb { transform: scale(.92); }
.how-slider input:focus-visible { outline: none; }
.how-slider input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--paper, #F6F5F2), 0 0 0 6px var(--ink); }
.how-slider input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--paper, #F6F5F2), 0 0 0 6px var(--ink); }
.how-names { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: .75rem; font-size: 1.0625rem; font-weight: 600; color: var(--muted); }
.how-names span:nth-child(2) { text-align: center; } .how-names span:nth-child(3) { text-align: right; }
.how-names span.on { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .how-slider input::-webkit-slider-thumb, .how-slider input::-moz-range-thumb { transition: none; } }

/* ---------- Features: rows on one axis at column 5 ---------- */
[data-direction="c"] .features .h2 { margin-left: 33%; }
[data-direction="c"] .fgrid { grid-template-columns: 1fr; gap: clamp(3.5rem, 6vw, 6rem); padding-left: 33%; }
[data-direction="c"] .fcell, [data-direction="c"] .fcell.flip {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 1.5rem 3rem; align-items: start;
  background: none; min-height: 0; overflow: visible;
}
[data-direction="c"] .ftext { padding: 0; }
[data-direction="c"] .ftext h3 { font-size: clamp(1.75rem, 1rem + 2vw, 3rem); line-height: 1; letter-spacing: -0.02em; }
[data-direction="c"] .ftext p { font-size: 1.0625rem; max-width: 40ch; }
[data-direction="c"] .frag, [data-direction="c"] .fcell.flip .frag { padding: 0; }
[data-direction="c"] .frag > div { border-radius: 8px !important; border-bottom: 1px solid #DADDE0 !important; }
[data-direction="c"] .fcell.fcell-price { background: var(--accent); padding: 2rem; }
[data-direction="c"] .fx-price { padding: 0; }

/* ---------- Pricing: one plan, two fields ---------- */
.pricing-c { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: 0 !important; }
/* The chapter padding rule outranks the line above; the two fields run edge to edge. */
[data-direction="c"] main > .pricing-c { padding: 0 !important; }
.pc-plan, .pc-incl { padding: var(--chapter) var(--gutter); min-height: 80svh; display: flex; flex-direction: column; }
.pc-plan { background: var(--accent); padding-left: var(--edge); }
.pc-incl { background: var(--ink); color: var(--on-dark); justify-content: flex-end; gap: 2rem; padding-right: var(--edge); }
.pc-incl p { font-size: clamp(1.25rem, 1rem + .9vw, 1.875rem); line-height: 1.35; max-width: 32ch; }
.pc-incl .btn { align-self: flex-start; }
[data-direction="c"] .pc-plan .h2 { max-width: 12ch; font-size: clamp(2.25rem, 1rem + 3.4vw, 5rem); }
.pc-for { margin-top: 1rem; font-size: var(--step-1); }
.pc-price { margin-top: auto; font-weight: 600; font-size: 1.125rem; }
.pc-price span { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 2rem + 10vw, 12rem); line-height: .85; letter-spacing: -0.045em; }

/* ---------- Story: the letter, set large in two columns ---------- */
[data-direction="c"] .story { display: block; }
[data-direction="c"] .letter { max-width: none; background: none; padding: 0; display: block; columns: 2; column-gap: 3rem; }
[data-direction="c"] .letter-face { display: none; }
[data-direction="c"] .letter p { font-size: clamp(1.375rem, 1rem + 1.1vw, 2rem); line-height: 1.32; margin-bottom: .8em; break-inside: avoid; }
[data-direction="c"] .letter mark { -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .1em; }
[data-direction="c"] .sign { break-before: avoid; }
[data-direction="c"] .cofounders { margin-top: 1rem; }

/* ---------- Close: the band is the button ---------- */
[data-direction="c"] .close-c { display: block; padding: 0 !important; min-height: 0; background: var(--accent); }
.band {
  display: grid; grid-template-columns: 1fr auto; min-height: 64svh; padding: 1.75rem var(--edge) 1.5rem; text-decoration: none; color: var(--ink);
  transition: background-color .15s, color .15s;
}
.band:hover, .band:focus-visible { background: var(--ink); color: var(--accent); outline: none; }
.band-say { font-size: clamp(1.0625rem, 1rem + .5vw, 1.375rem); max-width: 40ch; }
.band-arrow { justify-self: end; }
.band-word {
  grid-column: 1 / -1; align-self: end; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3.5rem, 1rem + 10.5vw, 13rem); line-height: .85; letter-spacing: -0.045em; white-space: nowrap;
}
.close-c .todo { margin: 0 var(--edge) 1.5rem; }
[data-direction="c"] .foot { max-width: none; background: var(--accent); padding: 1.5rem var(--edge); color: var(--ink); }

@media (max-width: 760px) {
  .hero-c-copy, .stage-c { grid-column: 1 / -1; }
  .stage-c { margin-right: calc(var(--gutter) * -1); margin-left: calc(var(--gutter) * -1); padding: 1.5rem var(--gutter); clip-path: polygon(0 48px, 48px 0, 100% 0, 100% 100%, 0 100%); }
  .bigsignal { min-height: 86svh !important; }
  .bs-control { right: auto; left: var(--gutter); bottom: 6svh; font-size: 7.5vw; }
  [data-direction="c"] .how-c { grid-template-columns: 1fr; }
  [data-direction="c"] .how-c .how-stage { grid-column: 1; grid-row: 2; padding: 2rem var(--gutter); }
  [data-direction="c"] .how-c .how-h { padding-bottom: 1.5rem; }
  [data-direction="c"] .how-c .how-text { padding: 2rem var(--gutter) 4rem; }
  [data-direction="c"] .features .h2, [data-direction="c"] .fgrid { margin-left: 0; padding-left: 0; }
  [data-direction="c"] .fcell, [data-direction="c"] .fcell.flip { grid-template-columns: 1fr; }
  .pricing-c { grid-template-columns: 1fr; }
  .pc-plan, .pc-incl { min-height: 64svh; padding-left: var(--gutter); padding-right: var(--gutter); }
  [data-direction="c"] .letter { columns: 1; }
  .band { min-height: 46svh; }
  .band-word { font-size: 15vw; white-space: normal; }
}

/* Measures: the chapter headings need the full width to stay on two lines */
[data-direction="c"] .problem-head { grid-column: 1 / -1; }
[data-direction="c"] .scatter { grid-row: auto; }
@media (max-width: 1080px) {
  [data-direction="c"] .problem, [data-direction="c"] .gear { grid-template-columns: 1fr; }
  [data-direction="c"] .scatter, [data-direction="c"] .stakes { grid-column: 1; }
  [data-direction="c"] .how-c { grid-template-columns: 1fr; }
  [data-direction="c"] .how-c .how-stage { grid-column: 1; grid-row: 2; padding: 2.5rem var(--edge); }
  [data-direction="c"] .how-c .how-text { padding: 2rem var(--edge) 4rem; }
  [data-direction="c"] .features .h2, [data-direction="c"] .fgrid { margin-left: 0; padding-left: 0; }
  .pricing-c { grid-template-columns: 1fr; }
  [data-direction="c"] .letter { columns: 1; }
}
@media (max-width: 760px) {
  [data-direction="c"] { --h-chapter: clamp(2rem, 1rem + 4.6vw, 2.75rem); }
}



/* Direction B: "Field [ ] office." The sentence is the layout.
   Loaded after site.css; everything is scoped to body[data-direction="b"].
   Calm white ground, ink at full strength, gold only on the action. */

[data-direction="b"] {
  --section: clamp(6rem, 3rem + 10vw, 13rem);
}

/* ---------- Hero: the poster sentence ---------- */
[data-direction="b"] .hero-b { display: block; padding-top: clamp(3rem, 7vw, 7rem) !important; }
.poster {
  display: flex; align-items: baseline; gap: .18em;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(4rem, .5rem + 12vw, 13rem); line-height: .95; letter-spacing: -0.045em;
  margin: 0;
}
.poster .strip {
  flex: 1; align-self: center; height: .74em; min-width: 1em; margin-top: .06em;
  border-radius: 12px; overflow: hidden; background: var(--ink); position: relative;
}
.poster .strip video, .poster .strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-b-row {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 6vw, 7rem);
  align-items: end; margin-top: clamp(2.5rem, 5vw, 4.5rem);
}
[data-direction="b"] .hero-b .hero-line {
  grid-column: auto; font-size: clamp(1.625rem, 1.1rem + 1.4vw, 2.5rem); line-height: 1.15; letter-spacing: -0.015em; max-width: 30ch;
}
[data-direction="b"] .hero-b .hero-sub { font-size: var(--step-0); color: var(--muted); max-width: 34ch; }
.hero-b-side { display: grid; gap: 1.5rem; }

/* The poster with the recording phone in the gap */
.poster.with-phone {
  align-items: center; justify-content: center; gap: .2em;
  font-size: clamp(4rem, 1rem + 11vw, 11.5rem);
}
.poster.with-phone .rec-phone { font-size: max(.058em, 10.5px); }
[data-direction="b"] .hero-b { padding-top: clamp(1.5rem, 3vw, 3rem) !important; }
[data-direction="b"] .hero-b-row { margin-top: clamp(1.5rem, 3vw, 2.75rem); }

/* The welcome video sits under the hero */
.window { padding-top: clamp(3rem, 6vw, 6rem) !important; }
.window .video-frame { aspect-ratio: 21 / 9; border-radius: 12px; }
.window figcaption { margin-top: .75rem; font-size: var(--step-xs); color: var(--muted); }

/* ---------- Quiet colour: gold leaves everything but the action ---------- */
[data-direction="b"] .scatter { background: none; padding: 0; }
[data-direction="b"] .scatter li { padding: .9rem 0; }
[data-direction="b"] .link-cell.is-zm { background: var(--surface); color: var(--ink); }
[data-direction="b"] .link-cell.is-zm span { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: .12em; text-underline-offset: .18em; }
[data-direction="b"] .link-cell.is-zm b { color: var(--ink); }
[data-direction="b"] .demo { background: none; padding: 0; gap: clamp(1.5rem, 3vw, 3rem); }
[data-direction="b"] .demo-controls { background: var(--surface); }
[data-direction="b"] .demo-col { padding: 0; }
[data-direction="b"] .seg[aria-pressed="true"], [data-direction="b"] .demo[data-signal="on"] .seg[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* ---------- Features: a run of sentences, each with its evidence ---------- */
[data-direction="b"] .fgrid { grid-template-columns: 1fr; gap: clamp(3.5rem, 6vw, 6rem); }
[data-direction="b"] .fcell, [data-direction="b"] .fcell.flip {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 2rem clamp(2rem, 5vw, 6rem);
  align-items: center; background: none; min-height: 0; overflow: visible;
}
[data-direction="b"] .ftext { padding: 0; }
[data-direction="b"] .ftext h3 { font-size: var(--step-2); line-height: 1.02; letter-spacing: -0.02em; max-width: 22ch; }
[data-direction="b"] .ftext p { font-size: var(--step-0); max-width: 44ch; margin-top: 1rem; }
[data-direction="b"] .ftext p b { color: var(--ink); }
[data-direction="b"] .frag, [data-direction="b"] .fcell.flip .frag { background: var(--surface); padding: clamp(1.25rem, 3vw, 2.5rem); border-radius: 12px; }
[data-direction="b"] .frag > div { max-width: 460px; margin: 0 auto; border-radius: 8px !important; border-bottom: 1px solid #DADDE0 !important; }
[data-direction="b"] .frag-photo { padding: 0 !important; overflow: hidden; }
[data-direction="b"] .frag-photo > div { max-width: none; }
[data-direction="b"] .fcell-price { background: none; }
[data-direction="b"] .fx-price { padding: 0; color: var(--ink); }

/* ---------- Free tools: paper, not a dark slab ---------- */
[data-direction="b"] .tools { background: var(--surface); color: var(--ink); }
[data-direction="b"] .tools .h2, [data-direction="b"] .tool h3 { color: var(--ink); }
[data-direction="b"] .tools .lead, [data-direction="b"] .tool .tool-small { color: var(--muted); }
[data-direction="b"] .tool { background: var(--bg); }
[data-direction="b"] .tool p { color: var(--ink); }
[data-direction="b"] .proof dt { color: var(--ink); }
[data-direction="b"] .proof dd { color: var(--muted); }
[data-direction="b"] .btn-on-dark { background: var(--ink); color: var(--bg); }
[data-direction="b"] .tools .todo { background: var(--note-bg); color: var(--note-ink); }

/* ---------- Pricing: the table without the gold column ---------- */
[data-direction="b"] .pt-v { background: var(--bg); }
[data-direction="b"] .pt-row:nth-child(even) .pt-v { background: var(--surface); }
[data-direction="b"] .pt-foot .pt-v .btn { background: var(--accent); color: var(--ink); }

/* ---------- Gear ---------- */
[data-direction="b"] .gear-list .zm { background: var(--ink); color: var(--bg); }
[data-direction="b"] .gear-list .zm em { color: var(--accent); }

/* ---------- Close: the sentence returns ---------- */
[data-direction="b"] .close { background: var(--bg); min-height: 0; align-items: start; }
[data-direction="b"] .close .poster { grid-column: 1 / -1; font-size: clamp(3.25rem, 1rem + 9vw, 10rem); }
[data-direction="b"] .close .book { box-shadow: none; background: var(--surface); }
[data-direction="b"] .close .bk-btn { background: var(--accent); color: var(--ink); }

@media (max-width: 1080px) {
  .poster.with-phone { flex-direction: column; align-items: flex-start; gap: .25em; font-size: clamp(4.5rem, 1rem + 13vw, 9rem); }
  .poster.with-phone .rec-phone { align-self: center; font-size: 12px; }
  .poster.with-phone .pw:last-child { align-self: flex-end; }
}
@media (max-width: 760px) {
  .poster.with-phone { font-size: 21vw; }
  .poster.with-phone .rec-phone { font-size: 11.5px; }
  .poster { flex-wrap: wrap; font-size: 21vw; row-gap: .12em; }
  .poster .strip { flex: 1 1 100%; order: 2; height: auto; aspect-ratio: 2 / 1; }
  .poster > span:last-child { order: 3; }
  .hero-b-row { grid-template-columns: 1fr; }
  .window .video-frame { aspect-ratio: 16 / 9; }
  [data-direction="b"] .fcell, [data-direction="b"] .fcell.flip { grid-template-columns: 1fr; }
  [data-direction="b"] .close .poster { font-size: 17vw; }
}



/* Recording phone: the field app walking through one capture, built in HTML.
   Screens and sizes follow the App Design Guide (camera 5.12, note sheet 5.21, Journal day
   groups, map 5.15, capture bar 5.11). Sized in em so it scales with the type around it:
   1em is about 12px at desktop poster size. Driven by site.js ([data-recorder]). */

.rec-phone {
  --rp-ink: #18181B; --rp-mid: #71717A; --rp-line: #E4E4E7; --rp-light: #F4F4F5;
  --rp-gold: #F0B100; --rp-green: #1B7A43; --rp-info: #2563EB; --rp-black: #09090B;
  font-size: max(.058em, 10.5px); width: 22em; height: 45em; flex: none; align-self: center;
  background: #fff; border: .7em solid #1B1F23; border-radius: 3.2em; overflow: hidden;
  position: relative; font-family: var(--font-app); letter-spacing: 0; line-height: 1.35;
  color: var(--rp-ink); font-weight: 400; box-shadow: 0 2.4em 4em rgba(20,24,28,.22);
  display: flex; flex-direction: column;
}
.rec-phone b { font-weight: 700; }
.rp-status { display: flex; justify-content: space-between; align-items: center; padding: .9em 1.6em .4em; font-weight: 600; font-size: 1em; background: #fff; position: relative; z-index: 3; }
.rp-bars { display: inline-flex; gap: .15em; align-items: flex-end; height: .85em; }
.rp-bars i { width: .25em; background: #C9CDD2; border-radius: .08em; transition: background-color .4s; }
.rp-bars i:nth-child(1) { height: 30%; } .rp-bars i:nth-child(2) { height: 55%; } .rp-bars i:nth-child(3) { height: 78%; } .rp-bars i:nth-child(4) { height: 100%; }
.rec-phone[data-signal="on"] .rp-bars i { background: var(--rp-ink); }

/* Screens: one shows at a time, sliding in from the right */
.rp-scr { position: absolute; inset: 2.4em 0 0; display: flex; flex-direction: column; background: #fff;
  opacity: 0; transform: translateX(8%); transition: opacity .35s ease, transform .45s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.rec-phone[data-screen="camera"] .scr-camera,
.rec-phone[data-screen="journal"] .scr-journal,
.rec-phone[data-screen="map"] .scr-map,
.rec-phone[data-screen="chat"] .scr-chat { opacity: 1; transform: none; }
.rec-phone[data-screen="note"] .scr-camera, .rec-phone[data-screen="note"] .scr-note { opacity: 1; transform: none; }
.scr-note { background: transparent; z-index: 2; }

/* Header: one item each side, project number over name (guide 3.2) */
.rp-head { display: grid; grid-template-columns: 3em 1fr 3em; align-items: center; padding: .4em .6em .6em; border-bottom: 1px solid var(--rp-line); background: #fff; }
.rp-back { font-size: 1.7em; line-height: 1; text-align: center; color: var(--rp-ink); }
.scr-journal .rp-back, .scr-chat .rp-back { font-size: 1.2em; }
.rp-title { text-align: center; min-width: 0; }
.rp-title b { display: block; font-size: 1.15em; }
.rp-title small { display: block; font-size: .82em; color: var(--rp-mid); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-hicon { justify-self: center; width: 1.6em; height: 1.6em; }
.rp-mapicon { border: .15em solid var(--rp-ink); border-radius: .2em; position: relative; }
.rp-mapicon::after { content: ""; position: absolute; left: 45%; top: -10%; bottom: -10%; width: .15em; background: var(--rp-ink); transform: skewX(-12deg); }

/* Camera */
.rp-feed { flex: 1; background: var(--rp-black); position: relative; overflow: hidden; }
.rp-feed video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rp-flash { position: absolute; inset: 0; background: #fff; opacity: 0; }
.rec-phone.snap .rp-flash { animation: rpFlash .35s ease-out; }
@keyframes rpFlash { 0% { opacity: .9; } 100% { opacity: 0; } }
.rp-capbar { height: 8.4em; background: #fff; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 1.2em; position: relative; }
.rp-shutter { width: 5em; height: 5em; border-radius: 50%; background: var(--rp-green); border: .33em solid #fff; box-shadow: 0 .3em .8em rgba(0,0,0,.25); margin-top: -5em; transition: transform .12s; }
.rec-phone.snap .rp-shutter { transform: scale(.88); }
.rp-stack { justify-self: start; width: 4.6em; height: 4.6em; border-radius: .4em; position: relative; background: var(--rp-light); opacity: 0; transition: opacity .25s; }
.rp-stack.has { opacity: 1; }
.rp-stack canvas, .rp-attach canvas, .rp-card canvas { width: 100%; height: 100%; object-fit: cover; border-radius: .4em; display: block; background: var(--rp-light); }
.rp-count { position: absolute; top: -.6em; right: -.6em; min-width: 1.7em; height: 1.7em; border-radius: 1em; background: var(--rp-ink); color: #fff; border: .17em solid #fff; font: 700 .8em/1.4em var(--font-app); text-align: center; font-style: normal; }
.rp-done { justify-self: end; min-height: 4.6em; display: grid; place-items: center; padding: 0 1.2em; border-radius: .4em; background: var(--rp-gold); font-weight: 700; opacity: 0; transition: opacity .25s, transform .12s; }
.rp-done.has { opacity: 1; }
.rp-done.press { transform: scale(.94); }

/* New Note sheet */
.rp-dim { flex: 1; background: rgba(9,9,11,.45); }
.rp-sheet { background: #fff; border-radius: 1.4em 1.4em 0 0; padding: .6em 1.3em 1.6em; transform: translateY(100%); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.rec-phone[data-screen="note"] .rp-sheet { transform: none; }
.rp-grab { display: block; width: 3em; height: .35em; border-radius: 1em; background: var(--rp-line); margin: 0 auto .8em; }
.rp-sheet-title { font-weight: 700; font-size: 1.2em; margin-bottom: .8em; }
.rp-notebox { border: 2px solid var(--rp-ink); border-radius: .4em; padding: .8em; position: relative; min-height: 12em; }
.rp-attach { display: flex; gap: .5em; margin-bottom: .7em; }
.rp-attach canvas { width: 4.6em; height: 4.6em; }
.rp-notetext { font-size: 1.05em; padding-right: 3.6em; min-height: 3em; }
.rp-ph { color: var(--rp-mid); }
.rp-mic { position: absolute; right: .5em; bottom: .5em; width: 3.6em; height: 3.6em; border-radius: 50%; display: grid; place-items: center; background: var(--rp-light); }
.rp-mic::before { content: ""; width: .7em; height: 1.2em; border-radius: .4em; background: var(--rp-ink); }
.rp-mic .rp-wave { display: none; }
.rp-mic.on { background: var(--rp-ink); }
.rp-mic.on::before { display: none; }
.rp-mic.on .rp-wave { display: inline-flex; gap: .16em; align-items: center; height: 1.4em; }
.rp-mic .rp-wave i { width: .2em; height: 40%; background: var(--rp-gold); border-radius: .1em; animation: wave 1s ease-in-out infinite; }
.rp-mic .rp-wave i:nth-child(2n) { animation-delay: .15s; } .rp-mic .rp-wave i:nth-child(3n) { animation-delay: .3s; }
.rp-save { margin-top: 1em; min-height: 4.2em; border-radius: .4em; background: var(--rp-gold); display: grid; place-items: center; font-weight: 700; transition: transform .12s; }
.rp-save.press { transform: scale(.97); }
.rp-caret { display: inline-block; width: .12em; height: 1em; background: var(--rp-ink); margin-left: .05em; vertical-align: -.12em; animation: blink 1s steps(1) infinite; }

/* Journal */
.rp-tabs { display: flex; gap: 1.6em; padding: 0 1.3em; border-bottom: 1px solid var(--rp-line); font-size: .9em; font-weight: 600; color: var(--rp-mid); background: #fff; }
.rp-tabs span { padding: .7em 0; }
.rp-tabs .on { color: var(--rp-ink); box-shadow: inset 0 -.22em 0 var(--rp-gold); }
.rp-strip { display: flex; justify-content: space-between; padding: .55em 1.3em; font-size: .85em; font-weight: 600; background: #FFF4CC; color: #5A4300; transition: background-color .4s, color .4s; }
.rec-phone[data-signal="on"] .rp-strip { background: #E3F3E8; color: #1E5B33; }
.rp-jbody { flex: 1; background: var(--rp-light); padding: .6em 1em; overflow: hidden; }
.rp-day { background: #fff; border-radius: .4em .4em 0 0; padding: .8em 1em; display: flex; justify-content: space-between; align-items: baseline; font-size: .95em; }
.rp-day span { font-size: .85em; color: var(--rp-mid); }
.rp-group { background: #fff; padding: .7em 1em .5em 1.6em; font-weight: 700; font-size: .9em; border-top: 1px solid var(--rp-light); }
.rp-notes { background: #fff; margin: 0; padding: 0 .6em .2em 1.6em; list-style: none; }
.rp-notes li { display: flex; align-items: center; gap: .7em; min-height: 3.7em; border-top: 1px solid var(--rp-light); font-size: .92em; }
.rp-notes li > i { flex: none; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--rp-ink); color: #fff; font: 700 .8em/1.9em var(--font-app); text-align: center; font-style: normal; }
.rp-notes li > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-cam { flex: none; width: 1.2em; height: .9em; border: .14em solid var(--rp-mid); border-radius: .2em; }
.rp-pin { flex: none; width: 2.6em; height: 2.6em; border-radius: .4em; position: relative; }
.rp-pin::before { content: ""; position: absolute; left: .8em; top: .55em; width: 1em; height: 1em; border: .16em solid var(--rp-ink); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.rp-notes li.rp-new { display: none; }
.rp-notes li.rp-new.show { display: flex; animation: rpIn .45s cubic-bezier(.2,.7,.2,1) both; background: #FFFBEB; }
.rp-notes li.rp-new .rp-pin.tap { background: var(--rp-light); }
@keyframes rpIn { from { opacity: 0; transform: translateY(-.6em); } to { opacity: 1; transform: none; } }
.rp-projbar { height: 8.4em; background: #fff; border-top: 1px solid var(--rp-line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 1em; }
.rp-bi { display: grid; justify-items: center; gap: .3em; font-size: .9em; color: var(--rp-mid); }
.rp-bi i { width: 1.8em; height: 1.6em; border: .16em solid var(--rp-mid); border-radius: .3em; }
.rp-split { display: flex; width: 9em; height: 5em; border-radius: 3em; background: var(--rp-gold); border: .33em solid #fff; box-shadow: 0 .3em .8em rgba(0,0,0,.2); margin-top: -4.4em; }
.rp-split i { flex: 1; position: relative; }
.rp-split i + i { border-left: 1.5px solid rgba(24,24,27,.25); }
.rp-split .ic-note::before { content: ""; position: absolute; left: 50%; top: 50%; width: 1.2em; height: 1.5em; margin: -.75em 0 0 -.6em; border: .16em solid var(--rp-ink); border-radius: .15em; }
.rp-split .ic-photo::before { content: ""; position: absolute; left: 50%; top: 50%; width: 1.7em; height: 1.25em; margin: -.62em 0 0 -.85em; border: .16em solid var(--rp-ink); border-radius: .25em; }
.rp-split .ic-photo::after { content: ""; position: absolute; left: 50%; top: 50%; width: .6em; height: .6em; margin: -.25em 0 0 -.3em; border: .16em solid var(--rp-ink); border-radius: 50%; }

/* Map */
.rp-map { flex: 1; position: relative; overflow: hidden; background: #E8EDE4; }
.rp-road { position: absolute; background: #fff; }
.rp-road.r1 { left: -10%; top: 40%; width: 130%; height: .9em; transform: rotate(-16deg); }
.rp-road.r2 { left: 60%; top: -10%; width: .8em; height: 130%; transform: rotate(14deg); }
.rp-field { position: absolute; right: 0; bottom: 0; width: 50%; height: 34%; background: #D7E1CF; }
.rp-parcel { position: absolute; left: 22%; top: 28%; width: 46%; height: 36%; border: .2em dashed #B8860B; }
.rp-mpin { position: absolute; width: 2.6em; height: 2.6em; margin: -1.3em 0 0 -1.3em; border-radius: 50%; background: var(--rp-gold); border: .17em solid #fff; box-shadow: 0 0 0 1px var(--rp-ink); display: grid; place-items: center; font: 700 .9em/1 var(--font-app); }
.rp-mpin.note { background: var(--rp-info); color: #fff; }
.rp-mpin.sel { opacity: 0; transform: translateY(-3em) scale(.6); transition: opacity .3s, transform .5s cubic-bezier(.16,1,.3,1); }
.rec-phone.pinned .rp-mpin.sel { opacity: 1; transform: translateY(-.5em); box-shadow: 0 0 0 1px var(--rp-ink), 0 .6em 1em rgba(0,0,0,.25); }
.rp-card { position: absolute; left: 1em; right: 1em; bottom: 1em; background: #fff; border-radius: .6em; padding: .7em; display: flex; gap: .8em; box-shadow: 0 .6em 1.6em rgba(0,0,0,.18);
  opacity: 0; transform: translateY(1em); transition: opacity .35s, transform .45s cubic-bezier(.2,.7,.2,1); }
.rec-phone.carded .rp-card { opacity: 1; transform: none; }
.rp-card canvas { flex: none; width: 5em; height: 5em; }
.rp-card span { font-size: .88em; line-height: 1.3; }
.rp-card b { display: block; }
.rp-card em { display: block; font-style: normal; color: var(--rp-mid); margin-top: .2em; }

/* Chat */
.rp-chat { flex: 1; background: var(--rp-light); padding: 1em; display: flex; flex-direction: column; gap: .7em; justify-content: flex-end; }
.rp-msg { max-width: 80%; padding: .7em .9em; border-radius: 1em; font-size: .95em; opacity: 0; transform: translateY(.6em); transition: opacity .35s, transform .35s; }
.rp-msg b { display: block; font-size: .78em; color: var(--rp-mid); margin-bottom: .1em; }
.rp-msg.them { background: #fff; align-self: flex-start; }
.rp-msg.me { background: var(--rp-gold); align-self: flex-end; }
.rp-msg.show { opacity: 1; transform: none; }
.rp-compose { display: flex; gap: .6em; align-items: center; padding: .8em 1em 1.4em; background: #fff; border-top: 1px solid var(--rp-line); }
.rp-input { flex: 1; min-height: 3.4em; border: 1px solid #A1A1AA; border-radius: .4em; padding: 0 .8em; display: flex; align-items: center; color: var(--rp-mid); font-size: .95em; }
.rp-send { width: 3.4em; height: 3.4em; border-radius: 50%; background: var(--rp-gold); position: relative; }
.rp-send::before { content: ""; position: absolute; left: 1em; top: 1.05em; border: .65em solid transparent; border-left: 1.1em solid var(--rp-ink); }

@media (prefers-reduced-motion: reduce) {
  .rp-scr, .rp-sheet, .rp-msg, .rp-card, .rp-mpin.sel { transition: none; }
  .rp-mic .rp-wave i, .rp-caret, .rp-notes li.rp-new.show { animation: none; }
}

/* Menu icon drawn, not a glyph (no emoji on the site) */
.rp-menu { display: grid; place-items: center; font-size: 1em !important; }
.rp-menu i { position: relative; display: block; width: 1.5em; height: .16em; background: var(--rp-ink); border-radius: .1em; }
.rp-menu i::before, .rp-menu i::after { content: ""; position: absolute; left: 0; width: 100%; height: 100%; background: var(--rp-ink); border-radius: .1em; }
.rp-menu i::before { top: -.45em; } .rp-menu i::after { top: .45em; }

/* Phone column + pause control (WCAG 2.2.2: anything that moves for more than 5s can be paused) */
.phone-col { position: relative; align-self: center; display: flex; }
.rp-pause {
  position: absolute; top: -14px; right: -14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid var(--bg); background: var(--ink); cursor: pointer; display: grid; place-items: center;
  transition: transform .12s ease, background-color .15s ease;
}
.rp-pause:hover { background: var(--ink-hover); }
.rp-pause:active { transform: scale(.94); }
.rp-pause i { width: 12px; height: 14px; border-left: 4px solid var(--bg); border-right: 4px solid var(--bg); }
.rp-pause[aria-pressed="true"] i { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--bg); margin-left: 4px; }
.rec-phone.paused, .rec-phone.paused * { animation-play-state: paused !important; }



/* Direction D: B's hero (Field [phone] office.) on C's colour chapters.
   Loaded after site-c.css, site-b.css and recorder.css. site-b.css supplies the
   unscoped poster, phone and window rules; this file re-applies B's hero rules that
   are scoped to B, and makes the hero and the welcome video one paper chapter. */

[data-variant="d"] .hero-b {
  display: block; background: var(--surface);
  padding-top: clamp(1.5rem, 3vw, 3rem) !important; padding-bottom: clamp(2.5rem, 5vw, 4.5rem) !important;
}
[data-variant="d"] .hero-b .hero-line {
  grid-column: auto; font-size: clamp(1.625rem, 1.1rem + 1.4vw, 2.5rem);
  line-height: 1.15; letter-spacing: -0.015em; max-width: 30ch;
}
[data-variant="d"] .hero-b .hero-sub { font-size: var(--step-0); color: var(--muted); max-width: 34ch; margin-top: 0; }
[data-variant="d"] .hero-b-row { margin-top: clamp(1.5rem, 3vw, 2.75rem); }

/* The welcome video closes the opening chapter, on the same paper field */
[data-variant="d"] .window { background: var(--surface); padding-top: 0 !important; }
[data-variant="d"] .window .video-frame { max-width: none; }

/* Store badges: placeholders until the apps are listed. Official badges are black,
   about 40px tall at 1x with fixed artwork; these hold that footprint only. */
.store-badges { display: flex; flex-wrap: wrap; gap: .75rem; }
.store-badge {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 52px; min-width: 156px; padding: .35rem 1rem; border-radius: 8px;
  background: var(--ink); color: var(--bg); text-decoration: none;
  font: 600 1.125rem/1.05 var(--font-body); letter-spacing: -0.01em;
  transition: background-color .15s ease, transform .12s ease;
}
.store-badge small { font-size: .75rem; font-weight: 500; letter-spacing: .01em; }
.store-badge:hover { background: var(--ink-hover); }
.store-badge:active { transform: scale(.98); }

/* Hero: store badges hang directly under the phone. Absolutely placed so "Field" and
   "office." stay centred on the phone itself; the poster reserves the room below. */
[data-variant="d"] .phone-col { position: relative; align-self: center; display: flex; }
[data-variant="d"] .phone-col .store-badges {
  position: absolute; top: calc(100% + 1.25rem); left: 50%; transform: translateX(-50%);
  flex-wrap: nowrap; justify-content: center; width: max-content;
}
[data-variant="d"] .poster.with-phone { margin-bottom: calc(52px + 2.75rem); }
@media (max-width: 1080px) {
  [data-variant="d"] .phone-col { flex-direction: column; align-items: center; gap: 1rem; }
  [data-variant="d"] .phone-col .store-badges { position: static; transform: none; }
  [data-variant="d"] .poster.with-phone { margin-bottom: 0; }
}
@media (max-width: 760px) {
  [data-variant="d"] .phone-col .store-badges { flex-wrap: wrap; gap: .5rem; }
}

/* ================= Round 2 (Kurt, 2026-11-20) ================= */

/* Hero: the welcome is below, so the arrow points and moves down */
[data-variant="d"] .hero-actions .link-arrow:hover span { transform: translateY(3px); }

/* Problem: icons for the pieces; the stakes sit level with the list they come from */
[data-variant="d"] .scatter li { grid-template-columns: 28px 9.5rem 1fr; align-items: center; }
[data-variant="d"] .pi { width: 24px; height: 24px; fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 1081px) {
  [data-variant="d"] .scatter { grid-column: 2; grid-row: 2; }
  [data-variant="d"] .stakes { grid-column: 1; grid-row: 2; align-self: stretch; align-content: space-between; padding: 2.2rem 0 2.2rem; }
  [data-variant="d"] .problem-close { grid-row: 3; }
}
@media (max-width: 760px) {
  [data-variant="d"] .scatter li { grid-template-columns: 28px 1fr; }
}

/* Signal chapter: the three captures, and a switch made of bars */
.bs-items { list-style: none; margin: clamp(2rem, 4vw, 3.5rem) 0 0; padding: 0; display: grid; gap: 10px; max-width: 470px; position: relative; z-index: 1; font-family: var(--font-app); }
.bs-items li {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  background: #fff; color: #14181C; border-radius: 12px; padding: 10px 14px 10px 10px;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.bs-items li:nth-child(2) { transition-delay: .08s; } .bs-items li:nth-child(3) { transition-delay: .16s; }
.bs-thumb { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; display: grid; place-items: center; background: #F0F1F2; }
.bs-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bs-qn { background: #14181C; color: #fff; border-radius: 50%; font: 700 22px/1 var(--font-app); }
.bs-form svg { fill: none; stroke: #14181C; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bs-what { font-size: 13px; color: #5B6570; line-height: 1.35; }
.bs-what b { display: block; font-size: 15px; color: #14181C; }
.bs-state { font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 999px; background: #FFF4CC; color: #5A4300; white-space: nowrap; transition: background-color .3s, color .3s; }
.bigsignal[data-on="true"] .bs-items li { transform: translateX(10px); }
.bigsignal[data-on="true"] .bs-state { background: #E3F3E8; color: #1E5B33; }

.bs-seg { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: .22em; padding: .45em .8em .4em; min-height: 0; }
.bs-bars { display: inline-flex; align-items: flex-end; gap: .1em; height: 1.05em; }
.bs-bars i { width: .2em; border-radius: .05em; }
.bs-bars i:nth-child(1) { height: 30%; } .bs-bars i:nth-child(2) { height: 54%; } .bs-bars i:nth-child(3) { height: 78%; } .bs-bars i:nth-child(4) { height: 100%; }
.bs-none .bs-bars i { box-shadow: inset 0 0 0 max(1.5px, .04em) currentColor; opacity: .55; }
.bs-full .bs-bars i { background: #1E9E55; }
.bs-lbl { font-size: max(13px, .3em); font-weight: 600; line-height: 1; letter-spacing: .01em; }
@media (max-width: 760px) {
  [data-variant="d"] .bs-control { position: static; display: inline-flex; margin-top: 2rem; font-size: 9vw; }
  [data-variant="d"] .bigsignal { min-height: 0 !important; }
}

/* Field and office: "one job" in gold */
[data-variant="d"] .fo-head mark.hl { background: var(--accent); color: var(--ink); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Office column: a laptop around the desktop Journal */
.laptop { width: 100%; max-width: 660px; margin: 0 auto; align-self: center; }
.lt-screen { position: relative; background: #1B1F23; border-radius: 16px 16px 0 0; padding: 24px 14px 16px; }
.lt-cam { position: absolute; top: 9px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #3A4048; }
.lt-screen .desk { max-width: none; border: 0; border-radius: 3px; min-height: 380px; }
.lt-base { position: relative; height: 14px; margin: 0 -7%; background: #C9CDD2; border-radius: 0 0 14px 14px; box-shadow: inset 0 -3px 0 #AEB3B9; }
.lt-base span { position: absolute; left: 50%; top: 0; width: 18%; height: 6px; transform: translateX(-50%); background: #B3B8BE; border-radius: 0 0 8px 8px; }
[data-variant="d"] .stage-office { align-items: center; }
@media (max-width: 760px) { .lt-screen { padding: 16px 8px 10px; border-radius: 12px 12px 0 0; } .lt-screen .desk { min-height: 320px; } }

/* Pricing: the price and "a month" as one lockup on the baseline */
[data-variant="d"] .pc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; font-size: var(--step-1); font-weight: 600; }
[data-variant="d"] .pc-price span { display: inline; margin-left: -.04em; }

/* ---------- What's in it today: four layouts on one set of cells ---------- */
[data-variant="d"] .features .h2 { margin-left: 0; margin-bottom: 0; }
[data-variant="d"] .fv-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
[data-variant="d"] .fgrid { padding-left: 0; }
.fv-stage, .fv-rail-nav { display: none; }


/* 3. Bento: one grid, sizes by weight */
[data-variant="d"] [data-fv="3"] .fgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
[data-variant="d"] [data-fv="3"] .fcell { grid-column: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; background: var(--surface); border-radius: 8px; overflow: hidden; min-height: 380px; padding: 0; }
[data-variant="d"] [data-fv="3"] .fcell .ftext { padding: 1.5rem 1.5rem 0; }
[data-variant="d"] [data-fv="3"] .fcell .ftext h3 { font-size: clamp(1.375rem, 1rem + 1vw, 2rem); }
[data-variant="d"] [data-fv="3"] .fcell .frag { padding: 0 1.5rem 1.5rem !important; }
[data-variant="d"] [data-fv="3"] .fcell .frag-photo { padding: 0 !important; }
[data-variant="d"] [data-fv="3"] .fcell:nth-child(1), [data-variant="d"] [data-fv="3"] .fcell:nth-child(9) { grid-column: span 4; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: end; }
[data-variant="d"] [data-fv="3"] .fcell:nth-child(1) .ftext, [data-variant="d"] [data-fv="3"] .fcell:nth-child(9) .ftext { align-self: start; padding-bottom: 1.5rem; }
[data-variant="d"] [data-fv="3"] .fcell:nth-child(9) .frag-photo { align-self: stretch; padding: 1.5rem 0 0 !important; }
[data-variant="d"] [data-fv="3"] .fcell:nth-child(6), [data-variant="d"] [data-fv="3"] .fcell:nth-child(7) { grid-column: span 3; }
[data-variant="d"] [data-fv="3"] .fcell:nth-child(6) { background: var(--ink); color: var(--on-dark); }
[data-variant="d"] [data-fv="3"] .fcell:nth-child(6) h3 { color: var(--bg); }
[data-variant="d"] [data-fv="3"] .fcell:nth-child(6) .ftext p, [data-variant="d"] [data-fv="3"] .fcell:nth-child(6) .ftext p b { color: var(--on-dark); }
[data-variant="d"] [data-fv="3"] .fcell-price { background: var(--accent); }
[data-variant="d"] [data-fv="3"] .fcell-price .fx-price { padding: 0 1.5rem 1.5rem; }
@media (max-width: 1080px) { [data-variant="d"] [data-fv="3"] .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } [data-variant="d"] [data-fv="3"] .fcell { grid-column: span 1 !important; display: flex !important; } }
@media (max-width: 760px) { [data-variant="d"] [data-fv="3"] .fgrid { grid-template-columns: 1fr; } [data-variant="d"] [data-fv="3"] .fcell { min-height: 0; } }


@media (prefers-reduced-motion: reduce) {
  .bs-items li, .fv-stage > .frag, .fv-stage > .fx-price { transition: none; animation: none; }
}

/* Signal chapter layout: copy and switch on the left, the captures large on the right */
@media (min-width: 1081px) {
  [data-variant="d"] .bigsignal { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; gap: 2rem clamp(2rem, 6vw, 7rem); }
  [data-variant="d"] .bs-copy { grid-column: 1; grid-row: 1; }
  [data-variant="d"] .bs-control { position: static; grid-column: 1; grid-row: 2; align-self: end; justify-self: start; }
  [data-variant="d"] .bs-items { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: end; width: 100%; max-width: 620px; margin: 0; gap: 14px; }
  [data-variant="d"] .bs-items li { grid-template-columns: 84px minmax(0, 1fr) auto; padding: 14px 20px 14px 14px; border-radius: 16px; gap: 20px; }
  [data-variant="d"] .bs-thumb { width: 84px; height: 84px; border-radius: 10px; }
  [data-variant="d"] .bs-qn { border-radius: 50%; font-size: 30px; }
  [data-variant="d"] .bs-what { font-size: 16px; }
  [data-variant="d"] .bs-what b { font-size: 20px; margin-bottom: 2px; }
  [data-variant="d"] .bs-state { font-size: 14px; padding: 7px 12px; }
}
/* Fragments with no intrinsic width (the map) must fill their panel */

/* Round 3: "Field and office," and "one job." each hold one line, at one size. */
[data-direction="c"][data-variant="d"] .fo-head { max-width: none; }
[data-direction="c"][data-variant="d"] .fo-title { font-size: min(7.5rem, 14vw); line-height: 1; max-width: none; }
[data-direction="c"][data-variant="d"] .fo-title .fo-l { display: block; white-space: nowrap; }

/* Round 3: the hero's asterisk and its footnote under the phone. */
[data-variant="d"] .pw .ast { color: #B8860B; font-size: .5em; position: relative; top: -.5em; margin-left: -.12em; line-height: 0; }
[data-variant="d"] .hero-fn {
  margin: 0; max-width: 30rem; text-align: center; text-wrap: balance; letter-spacing: normal; font-weight: 500;
  font-family: var(--font-display, "Zilla Slab", serif); font-size: clamp(1.0625rem, .9rem + .35vw, 1.25rem); line-height: 1.35; color: var(--ink);
}
[data-variant="d"] .hero-fn .ast { color: #B8860B; font-weight: 700; margin-right: .15em; }
[data-variant="d"] .hero-fn .fn-by { display: block; margin-top: .35rem; font-family: var(--font-body, "Barlow", sans-serif); font-size: .9375rem; color: var(--muted); }
@media (min-width: 1081px) {
  [data-variant="d"] .phone-col .hero-fn { position: absolute; top: calc(100% + 1.25rem + 52px + 1.25rem); left: 50%; transform: translateX(-50%); width: 30rem; }
  [data-variant="d"] .poster.with-phone { margin-bottom: calc(52px + 2.75rem + 7.5rem); }
}
[data-variant="d"] .hero-fn.fn-narrow { display: none; }
@media (max-width: 1080px) {
  [data-variant="d"] .hero-fn.fn-wide { display: none; }
  [data-variant="d"] .hero-fn.fn-narrow { display: block; margin: 1.25rem auto 0; padding: 0 var(--edge, 16px); }
}


/* Round 3: a faint plat behind "What's in it today" (Kurt, 2026-11-20). The tile is one
   subdivision block with streets on every edge, so it repeats as a grid of blocks.
   Regenerate with assets/img/plat-tile.py. overflow: clip, not hidden, keeps layout 2's
   sticky stage working. Hide it with ?plat=0 to compare. */
[data-variant="d"] .features { position: relative; isolation: isolate; overflow: clip; }
[data-variant="d"] .features::before {
  content: ""; position: absolute; inset: -20%; z-index: -1; pointer-events: none;
  background: url("/home-d/plat-tile.svg") 0 0 / 960px auto repeat;
  opacity: .075; transform: rotate(-7deg);
}
[data-variant="d"] .features::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, var(--bg) 0, transparent 14rem, transparent calc(100% - 14rem), var(--bg) 100%);
}

/* Round 3: "types itself" types itself. */
.typer-ch { opacity: 0; }
.typer-ch.on { opacity: 1; }
.typer-caret {
  display: inline-block; width: .08em; height: .95em; margin: 0 .03em -.1em; background: #F0B100;
  animation: typer-blink 1s steps(1) infinite; transition: opacity .3s;
}
.typer-caret.done { opacity: 0; animation: none; }
@keyframes typer-blink { 50% { opacity: 0; } }

/* Round 3: each waiting capture shows its stamp: who, when, where. */
.bs-stamp { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: #1B7A43; font-variant-numeric: tabular-nums; }
.bs-stamp svg { fill: none; stroke: currentColor; stroke-width: 2.2; vertical-align: -2px; margin-right: .2em; }
@media (min-width: 1081px) { [data-variant="d"] .bs-stamp { font-size: 14px; } [data-variant="d"] .bs-stamp svg { width: 14px; height: 14px; } }
.bs-stamp .nw { white-space: nowrap; }




/* =====================================================================
   home_d_additions: what the build adds to the demo (2026-12-01).
   Brian's Nov 29 notes: founder circle, fewer clicks, pricing weight.
   ===================================================================== */

/* ---------- Nav: phones get a quick-links row so every main job is one tap ---------- */
.nav-quick { display: none; }
.nav-end .btn { white-space: nowrap; }
@media (max-width: 760px) {
  .nav { row-gap: .25rem; padding-bottom: 0; }
  .nav-quick {
    grid-column: 1 / -1; display: flex; gap: 1.25rem; overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
    border-top: 1px solid rgba(20,24,28,.08);
  }
  .nav-quick::-webkit-scrollbar { display: none; }
  .nav-quick a { flex: none; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: .9375rem; text-decoration: none; }
  .nav-quick a:hover { color: var(--accent-text); }
}
/* Sections land below the sticky header, not under it. */
html { scroll-padding-top: 84px; }
@media (max-width: 760px) { html { scroll-padding-top: 112px; } }

/* ---------- Hero: the pricing line under the hero line, and the actions ---------- */
.hero-b-main { display: grid; gap: 1rem; }
.hero-price { font-size: var(--step-0); }
.hero-price a { text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.hero-price a:hover { color: var(--accent-text); }
.hero-price b { font-weight: 700; }
[data-variant="d"] .hero-actions { gap: .75rem 1.5rem; }
.store-badges .store-note { margin: 0; min-height: 52px; display: flex; align-items: center; font: 600 .9375rem/1.3 var(--font-body); letter-spacing: normal; color: var(--muted); white-space: nowrap; }
@media (max-width: 760px) {
  .store-badges .store-note { min-height: 0; white-space: normal; text-align: center; }
  [data-variant="d"] .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Every section ends with a next step ---------- */
.next-step { grid-column: 1 / -1; justify-self: start; margin-top: 1rem; }
.next-step:hover span { transform: translateY(3px); }
[data-direction="c"] .problem .next-step { color: var(--accent); }

/* ---------- What it is, with "works with" folded in ---------- */
.link-cell .gear-names { display: block; margin-top: .6rem; font-style: normal; font-size: var(--step-xs); color: var(--muted); }
.gear-line { font-size: var(--step-0); font-weight: 600; max-width: 52ch; }

/* ---------- How it starts, with "field and office" folded in ---------- */
.how-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; margin: 2.5rem 0 0; }
.how-sides div { border-top: 3px solid var(--accent); padding-top: .75rem; }
.how-sides dt { font-size: var(--step-xs); font-weight: 600; color: var(--muted); }
.how-sides dd { margin: .25rem 0 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); line-height: 1.2; }
@media (max-width: 760px) { .how-sides { grid-template-columns: 1fr; } }

/* ---------- Bento: the "no signal" tile is the page's one signal demo ---------- */
.signal-tile-control { display: inline-flex; gap: 6px; margin-top: 1.1rem; font-size: 1.5rem; }
.signal-tile-control .bs-seg {
  min-height: 56px; min-width: 104px; border: 2px solid rgba(236,234,228,.35); border-radius: 10px;
  background: transparent; color: var(--on-dark); cursor: pointer; font-family: var(--font-body);
  transition: background-color .2s, border-color .2s, color .2s;
}
.signal-tile-control .bs-seg[aria-pressed="true"] { background: var(--bg); border-color: var(--bg); color: var(--ink); }
.signal-tile-control .bs-seg:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[data-signal="on"] .fx-offline .ob { background: #E3F3E8; color: #1E5B33; }
[data-signal="on"] .fx-offline .op span { background: #1E9E55; transition: width .25s ease; }

/* ---------- Pricing: the boldest band after the hero ---------- */
.pc-eyebrow { font-family: var(--font-display); font-weight: 700; font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.pc-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; max-width: 34ch; }
.pc-list li { font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); line-height: 1.35; padding-left: 1.75rem; position: relative; }
.pc-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: .7rem; height: .7rem; background: var(--accent); border-radius: 2px; }
.pc-list b { color: var(--bg); font-weight: 600; }
.pc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.pc-incl .pc-more { color: var(--on-dark); }
.pc-incl .pc-more:hover { color: var(--accent); }

/* ---------- Free tools and the letter: a next step under each ---------- */
.tool-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.tool-actions .btn-on-dark { align-self: auto; }
.tool-link { color: var(--bg); }
.tool-link:hover { color: var(--accent); }
[data-direction="c"] .letter .letter-next { margin-top: .25rem; font-size: 1rem; line-height: 1.4; }

/* ---------- Footer ---------- */
.foot nav { gap: 0 1.25rem; justify-content: center; }
@media (max-width: 1080px) { .foot { grid-template-columns: 1fr; } .foot nav { justify-content: flex-start; } .foot > span:last-child { text-align: left; } }

/* ---------- Founder circle (pages/_founder_video) ---------- */
.founder-dock {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  display: flex; flex-direction: row-reverse; align-items: center; gap: .75rem;
  transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .25s ease;
}
.founder-dock.is-aside { transform: translateX(calc(100% + 28px)); opacity: 0; pointer-events: none; }
.founder-circle {
  position: relative; flex: none; width: 96px; height: 96px; padding: 0; border: 0; border-radius: 50%;
  background: var(--ink); cursor: pointer;
  box-shadow: 0 0 0 3px var(--accent), 0 10px 30px -8px rgba(20,24,28,.5);
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s;
}
.founder-circle:hover { transform: scale(1.05); }
.founder-circle:active { transform: scale(.97); }
.founder-circle:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.founder-media { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.founder-media img, .founder-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder-media img { z-index: 1; transition: opacity .3s; }
.founder-media img.is-hidden { opacity: 0; }
.founder-play {
  position: absolute; right: -2px; bottom: -2px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.founder-play svg { margin-left: 2px; }
.founder-label {
  display: flex; flex-direction: column; padding: .55rem .9rem; border-radius: 10px;
  background: var(--bg); color: var(--ink); font: 700 .9375rem/1.2 var(--font-display);
  box-shadow: 0 1px 2px rgba(20,24,28,.08), 0 8px 24px -10px rgba(20,24,28,.3); pointer-events: none;
}
.founder-label small { font: 500 .8125rem/1.3 var(--font-body); color: var(--muted); }
.founder-dismiss {
  position: absolute; right: 70px; top: -8px; z-index: 3; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; padding: 0; border: 2px solid var(--bg); background: var(--ink); color: var(--bg); cursor: pointer;
}
.founder-dismiss:hover { background: var(--ink-hover); }
.founder-dismiss:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
/* Phones: smaller, bottom right, clear of the header and its menu. The label
   collapses once the visitor starts scrolling. */
@media (max-width: 760px) {
  .founder-dock { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); gap: .5rem; }
  .founder-circle { width: 68px; height: 68px; }
  .founder-play { width: 26px; height: 26px; }
  .founder-play svg { width: 12px; height: 12px; }
  .founder-dismiss { right: 46px; top: -8px; width: 28px; height: 28px; }
  .founder-label { font-size: .8125rem; padding: .4rem .65rem; }
  .founder-label small { font-size: .75rem; }
  .founder-dock.is-compact .founder-label { display: none; }
}
html.founder-open { overflow: hidden; }

/* The player: landscape centred on desktop, vertical full screen on phones */
.founder-player {
  width: min(92vw, 1120px); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; overflow: visible;
}
.founder-player::backdrop { background: rgba(20,24,28,.86); }
.founder-frame { position: relative; background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); }
.founder-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.founder-close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; border: 0; background: rgba(20,24,28,.72); color: #fff; cursor: pointer;
}
.founder-close:hover { background: var(--ink); }
.founder-close:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.founder-caption { margin: .75rem 0 0; color: var(--on-dark); font-size: var(--step-xs); text-align: center; }
.founder-player.is-vertical { width: 100vw; height: 100dvh; margin: 0; inset: 0; }
.founder-player.is-vertical .founder-frame { height: 100%; border-radius: 0; }
.founder-player.is-vertical .founder-frame video { height: 100%; aspect-ratio: auto; object-fit: contain; }
.founder-player.is-vertical .founder-close { top: calc(12px + env(safe-area-inset-top)); }
.founder-player.is-vertical .founder-caption { display: none; }
@media (prefers-reduced-motion: reduce) {
  .founder-dock, .founder-circle, .founder-media img { transition: none; }
}
/* Below 1080 the note sits in flow under the phone; max-content (from the badge
   layout) pushed the page wider than a phone. */
@media (max-width: 1080px) { [data-variant="d"] .phone-col .store-badges { width: auto; max-width: 100%; } }
/* Phones: the menu sheet spans the screen under the header row. Anchored to the
   Menu button it ran off the left edge at 375px. */
@media (max-width: 760px) {
  .nav-sheet { position: fixed; top: 64px; left: var(--gutter); right: var(--gutter); width: auto; }
}
/* Tablets: five nav items plus Login and the button wrap onto two lines at 768,
   so the phone header (Menu plus the quick-links row) runs up to 1000px. */
@media (max-width: 1000px) {
  .nav { grid-template-columns: auto auto; gap: 1rem; row-gap: .25rem; padding-bottom: 0; }
  .nav-links, .nav-signin { display: none; }
  .nav-menu { display: block; }
  .nav-end { justify-self: end; gap: .5rem; }
  .nav-quick {
    grid-column: 1 / -1; display: flex; gap: 1.25rem; overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); border-top: 1px solid rgba(20,24,28,.08);
  }
  .nav-quick a { flex: none; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: .9375rem; text-decoration: none; }
  .nav-sheet { position: fixed; top: 64px; left: auto; right: var(--gutter); width: min(calc(100vw - 2 * var(--gutter)), 320px); }
  html { scroll-padding-top: 112px; }
}
@media (max-width: 760px) { .nav-sheet { left: var(--gutter); width: auto; } }

/* =====================================================================
   Round 2 (Kurt, 2026-12-01): the Bento and the section rhythm.
   ===================================================================== */

/* ---------- Bento: every tile is text on top, its picture filling the rest ----------
   Before: a 380px minimum height with the fragment pinned to the bottom left most
   tiles half empty, and the map and the Observations photo had no width at all
   (0 to 2px) because the "fill the panel" rule only existed for the dropped layouts. */
[data-variant="d"] [data-fv="3"] .fgrid { grid-auto-rows: auto; gap: 10px; }
[data-variant="d"] [data-fv="3"] .fcell,
[data-variant="d"] [data-fv="3"] .fcell.flip {
  min-height: 0; flex-direction: column; justify-content: flex-start; gap: 0;
}
[data-variant="d"] [data-fv="3"] .fcell .ftext { padding: 1.5rem 1.5rem 1.25rem; }
[data-variant="d"] [data-fv="3"] .fcell .ftext h3 { font-size: clamp(1.375rem, 1rem + .8vw, 1.75rem); }
[data-variant="d"] [data-fv="3"] .fcell .ftext p { margin-top: .5rem; }

/* The picture area takes whatever height the row gives the tile, and the
   fragment card fills it, so no tile ends in a gap. */
[data-variant="d"] [data-fv="3"] .fcell .frag {
  flex: 1 1 auto; display: flex; padding: 0 1.25rem 1.25rem !important; min-height: 210px;
}
[data-variant="d"] [data-fv="3"] .fcell .frag > div { flex: 1 1 auto; width: 100%; max-width: none; margin: 0; }
[data-variant="d"] [data-fv="3"] .fcell .frag-photo { padding: 0 !important; }

/* Photo tiles: the image is the picture, edge to edge. */
[data-variant="d"] [data-fv="3"] .fx-obs { height: 100%; min-height: 240px; }
[data-variant="d"] [data-fv="3"] .fx-obs img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
[data-variant="d"] [data-fv="3"] .fx-gallery { display: flex; flex-direction: column; height: 100%; }
[data-variant="d"] [data-fv="3"] .fx-gallery .gt { flex: 1; grid-auto-rows: 1fr; }
[data-variant="d"] [data-fv="3"] .fx-gallery .gt img { height: 100%; aspect-ratio: auto; }
/* The map draws itself, so give it the whole panel. */
[data-variant="d"] [data-fv="3"] .fx-map { height: auto; min-height: 210px; border-radius: 8px; }

/* Wide tiles (Journal, Gallery): text left, picture right, both full height. */
@media (min-width: 1081px) {
  [data-variant="d"] [data-fv="3"] .fcell:nth-child(1),
  [data-variant="d"] [data-fv="3"] .fcell:nth-child(9) {
    display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch;
  }
  [data-variant="d"] [data-fv="3"] .fcell:nth-child(1) .frag { padding: 1.25rem 1.25rem 1.25rem 0 !important; }
  [data-variant="d"] [data-fv="3"] .fcell:nth-child(9) .frag-photo { padding: 0 !important; }
}

/* The price tile: the number sits at the bottom of the gold, not adrift. */
[data-variant="d"] [data-fv="3"] .fcell-price { justify-content: space-between; }
[data-variant="d"] [data-fv="3"] .fcell-price .fx-price { padding: 1rem 1.5rem 1.5rem; font-size: clamp(4.5rem, 3rem + 4vw, 7.5rem); }

/* The dark "no signal" tile: its card sits on the ink, not on a paper strip. */
[data-variant="d"] [data-fv="3"] .fcell:nth-child(6) .fx-offline { align-self: end; }

.coming { margin-top: 1rem; }

/* ---------- Section rhythm: tighter chapters ----------
   The demo's chapter padding ran 80 to 160px top and bottom, so two sections sat
   up to 300px apart at desktop widths. Now 56 to 96px. */
[data-direction="c"] { --chapter: clamp(3.5rem, 2rem + 4vw, 6rem); }
[data-variant="d"] .hero-b { padding-bottom: clamp(2rem, 4vw, 3.5rem) !important; }
[data-variant="d"] .fv-head { margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.tools-pair { margin-top: 2rem; }
.pc-plan, .pc-incl { min-height: 0; }
.pc-price { margin-top: 2.5rem; }
.band { min-height: 0; row-gap: clamp(2.5rem, 6vw, 5rem); padding-top: 2.5rem; padding-bottom: 2rem; }
@media (max-width: 1080px) {
  .pc-plan, .pc-incl { min-height: 0; }
  .band { min-height: 0; }
  [data-direction="c"] .how-c .how-text { padding-bottom: var(--chapter); }
}
/* The ported fragment rules set align-items: start on the tile, which shrank
   every picture to its content width (the map to 2px). Stretch them. */
[data-variant="d"] [data-fv="3"] .fcell { align-items: stretch; }
[data-variant="d"] [data-fv="3"] .fcell .frag { align-self: stretch; }
/* Cards that stretch to fill a tile centre what they hold, rather than leaving
   a white band under the last row. */
[data-variant="d"] [data-fv="3"] :is(.fx-journal, .fx-qn, .fx-docs, .fx-chat, .fx-voice, .fx-team, .fx-sign, .fx-offline) {
  display: flex; flex-direction: column; justify-content: center;
}
[data-variant="d"] [data-fv="3"] .fcell:nth-child(6) .fx-offline { align-self: stretch; }

/* ---------- Founder circle, top left under the logo (Kurt, 2026-12-01) ----------
   Bottom right got lost and belongs to the QR install toast. The circle now sits
   just below the sticky header, aligned with the logo, label to its right. Once
   the visitor starts scrolling the label folds away and the circle steps down a
   size, so it covers as little of the page as it can. */
.founder-dock {
  top: calc(var(--nav-h, 72px) + 14px); bottom: auto; left: var(--gutter); right: auto;
  flex-direction: row; transform-origin: left top;
}
.founder-dock.is-aside { transform: translateX(calc(-100% - 28px)); }
.founder-dismiss { right: auto; left: 70px; }
.founder-circle { transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s, width .25s ease, height .25s ease; }
.founder-dock.is-compact .founder-label { display: none; }
.founder-dock.is-compact .founder-circle { width: 76px; height: 76px; }
.founder-dock.is-compact .founder-dismiss { left: 52px; }
@media (max-width: 1000px) {
  .founder-dock { top: calc(var(--nav-h, 108px) + 10px); }
}
@media (max-width: 760px) {
  .founder-dock { left: var(--gutter); right: auto; bottom: auto; gap: .5rem; }
  .founder-dock.is-aside { transform: translateX(calc(-100% - 24px)); }
  .founder-circle, .founder-dock.is-compact .founder-circle { width: 64px; height: 64px; }
  .founder-dismiss, .founder-dock.is-compact .founder-dismiss { left: 42px; right: auto; }
}

/* =====================================================================
   Round 3 (Kurt, 2026-12-01): "the demo on the hero should just use the
   actual screens". The phone plays a screen recording of the real app
   (app_loop_controller); the frame above stays, the drawn screens are gone.
   ===================================================================== */
/* The frame takes the recording's own shape (1206 x 2622) instead of the drawn
   phone's 45em height, which was squatter and cropped the bottom bar off. */
.rec-phone.rp-real { background: #F4F4F5; display: block; height: auto; }
.rec-phone.rp-real video { width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: cover; display: block; }

/* ---------- 1b. One job, every screen (the "simulator", Kurt and Brian 2026-12-01) ---------- */
[data-direction="c"] .sim { background: var(--bg); }
.sim-eyebrow { font-family: var(--font-display); font-weight: 700; font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 1rem; }
.sim-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 2.5rem; }
.sim-tabs [role="tab"] {
  min-height: 48px; padding: 0 1.25rem; border: 0; border-radius: var(--radius); cursor: pointer;
  background: var(--surface-2); color: var(--ink); font: 600 1rem/1 var(--font-body); transition: background-color .15s ease;
}
.sim-tabs [role="tab"]:hover { background: #E0DDD5; }
.sim-tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--bg); }
.sim-pause { margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--surface-2); cursor: pointer; display: grid; place-items: center; }
.sim-pause i { width: 12px; height: 14px; border-left: 4px solid var(--ink); border-right: 4px solid var(--ink); }
.sim-pause[aria-pressed="true"] i { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--ink); margin-left: 4px; }
.sim-stage {
  margin-top: 1.5rem; display: grid; grid-template-columns: minmax(0, 700px) minmax(0, 240px); justify-content: center;
  gap: 1.5rem clamp(1.5rem, 4vw, 4rem); align-items: end; background: var(--surface); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 3rem);
}
.sim-stage figure { margin: 0; }
.sim-stage figcaption { font: 600 .8125rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.sim-browser { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1.5rem 3rem rgba(20,24,28,.16); }
.sim-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #ECEAE4; }
.sim-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CFCBC2; }
.sim-bar span { margin-left: 10px; flex: 1; max-width: 24rem; background: #fff; border-radius: 6px; padding: 4px 10px; font: 500 .75rem/1.2 var(--font-body); color: var(--muted); }
.sim-screen img, .sim-phone img { width: 100%; height: auto; display: block; }
.sim-phone { border: 8px solid #1B1F23; border-radius: 34px; overflow: hidden; background: #fff; box-shadow: 0 1.5rem 3rem rgba(20,24,28,.2); max-width: 260px; }
.sim-cap { grid-column: 1 / -1; width: 100%; max-width: calc(700px + 240px + 4rem); justify-self: center; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; }
.sim-cap p { font-family: var(--font-display); font-weight: 500; font-size: var(--step-1); line-height: 1.25; max-width: 40ch; color: var(--ink); }
.sim [hidden] { display: none !important; }
@media (max-width: 760px) {
  .sim-stage { grid-template-columns: 1fr; }
  .sim-mob { justify-self: center; width: min(70vw, 260px); }
  .sim-pause { margin-left: 0; }
}
