/* The whole site, on First Light's type and sheet language. Draft, nothing published. Every colour is a token from palettes.css.
   Spacing scale, one easing curve and motion durations adapted from unslop by Damir Sokolovsky (@heydamir), CC BY 4.0. */

@font-face {
  font-family: 'Archivo';
  src: url('fonts/archivo-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --steel: var(--ground);
  --graphite: var(--ink-2);
  --zinc: var(--muted);
  --orange: var(--accent);
  --orange-text: var(--accent-text);
  --dome-edge: var(--glow-a);
  --dome-core: var(--glow-b);
  --curve: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 160ms;
  --enter: 400ms;
  --edge: max(64px, calc((100vw - 1440px) / 2 + 64px));
  --row: 36px;
}

*, *::before, *::after { box-sizing: border-box; }
html { touch-action: manipulation; color-scheme: light; -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--steel);
  color: var(--ink);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 20; padding: 8px 16px; background: var(--ink); color: var(--sheet); border-radius: 8px; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Hero */
.hero { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; }
.bar { position: relative; z-index: 3; display: flex; align-items: center; gap: 32px; height: 64px; padding: 0 var(--edge); }
.mark { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.nav a { color: var(--graphite); text-decoration: none; transition: color var(--fast) var(--curve); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color var(--fast) var(--curve), transform var(--fast) var(--curve);
}
.btn:active { transform: scale(0.97); transition-duration: 100ms; }
.btn-small { height: 40px; padding: 0 16px; font-size: 15px; }
.btn-ink { background: var(--ink); color: var(--sheet); }
.btn-primary { background: var(--orange); color: var(--on-accent); }
.text-link { font-weight: 500; text-underline-offset: 3px; }
.menu-btn { display: none; height: 40px; padding: 0 16px; margin-left: auto; font: inherit; font-size: 15px; font-weight: 600; color: var(--sheet); background: var(--ink); border: 0; border-radius: 8px; }
.menu { position: absolute; left: 16px; right: 16px; top: 60px; z-index: 5; padding: 8px; background: var(--sheet); border-radius: 12px; box-shadow: 0 8px 24px color-mix(in srgb, var(--ink) 16%, transparent); }
.menu a { display: block; padding: 12px; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--ink); }
  .btn-ink:hover { background: var(--ink-2); }
  .btn-primary:hover { background: var(--accent-hover, var(--glow-b)); }
  .text-link:hover { text-decoration-thickness: 2px; }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 912px) minmax(0, 368px);
  column-gap: 32px;
  grid-template-rows: auto 1fr;
  justify-content: space-between;
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
  padding: 16px var(--edge) 0;
}
h1 {
  grid-column: 1;
  font-size: min(84px, 5.83vw);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-wrap: balance;
  padding-bottom: 24px;
}
.pitch { grid-column: 2; padding-top: 8px; }
.who { font-size: 16px; font-weight: 600; line-height: 1.3; }
.sub { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--graphite); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; }
.note { margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--graphite); }

/* The always-moving background, and the soft zones that hold small text at 4.5 to 1 over it. */
.bg { position: absolute; left: 0; top: 0; z-index: 0; display: block; pointer-events: none; }
.quiet { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.quiet b { position: absolute; left: 0; right: 0; top: 0; display: block; background: linear-gradient(var(--ground) 72%, transparent); }
.quiet b.low { background: linear-gradient(transparent, var(--ground)); }
.quiet i { position: absolute; display: block; background: var(--ground); box-shadow: 0 0 var(--feather, 32px) var(--feather, 32px) var(--ground); border-radius: 16px; }

/* The dome: one shape in one hue. Position is set from the page layout by the script; only transform moves it. */
.dome {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 396px;
  width: 1720px;
  height: 1720px;
  margin-left: -120px;
  transform: translateY(0);
  will-change: transform;
  pointer-events: none;
}
.dome-drift {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 56%, var(--dome-core) 0%, var(--dome-edge) 40%, var(--dome-edge) 86%, color-mix(in srgb, var(--dome-edge) 70%, transparent) 93%, color-mix(in srgb, var(--dome-edge) 0%, transparent) 100%);
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
  0% { transform: translate3d(-10px, 8px, 0); }
  50% { transform: translate3d(6px, -6px, 0); }
  100% { transform: translate3d(14px, 6px, 0); }
}

/* Until the script starts, nothing shows the end of the story: no result, no last rows, no finished count.
   If the script never arrives, everything shows anyway after 4 seconds. */
.js:not(.is-live) .verdict, .js:not(.is-live) .dome { opacity: 0; animation: arrive 0s linear 4s forwards; }
.js:not(.is-live) .home-rows, .js:not(.is-live) .progress { visibility: hidden; animation: arrive 0s linear 4s forwards; }
.js:not(.is-live) .slot-col { transform: translateY(0); transition: none; }
@keyframes arrive { to { opacity: 1; visibility: visible; } }

/* The table, on a white sheet */
.sheet {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  background: var(--sheet);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 0 0 1px var(--line); /* flat sheet and a hairline, the critic's revision for B */
  padding: 12px 16px 12px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.sheet-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 24px; padding: 0 0 8px 20px; }
.sheet-title { font-size: 18px; font-weight: 600; line-height: 24px; }
.swapline { font-size: 14px; line-height: 20px; color: var(--graphite); white-space: nowrap; }
.slot { display: inline-block; height: 20px; overflow: hidden; vertical-align: bottom; }
.slot-col { display: flex; flex-direction: column; transform: translateY(-40px); transition: transform var(--enter) var(--curve); color: var(--ink); font-weight: 500; }
.slot-col span { display: block; height: 20px; }
.progress { font-size: 14px; color: var(--graphite); font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-wrap { position: relative; overflow: hidden; padding-left: 20px; }
.ledger { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; font-variant-numeric: tabular-nums; }
.c-doc { width: 15%; } .c-ven { width: 25%; } .c-inv { width: 18%; } .c-amt { width: 11%; } .c-sta { width: 8%; } .c-fin { width: 23%; }
.ledger th { height: 28px; text-align: left; font-size: 13px; font-weight: 500; color: var(--zinc); }
.ledger td { height: var(--row); border-top: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color var(--enter) var(--curve); }
.ledger td + td, .ledger th + th { padding-left: 12px; }
.ledger .num { text-align: right; }
.ledger .is-open td { font-weight: 500; }
.ledger mark { background: none; color: inherit; transition: color var(--enter) var(--curve); }
.finding { transition: opacity var(--enter) var(--curve); font-weight: 600; color: var(--orange-text); }
.phone-only { display: none; }

/* The finished state: everything but the matching records steps back */
.js .ledger.is-rest tbody tr:not(.hit) td { color: var(--zinc); }
.ledger.is-rest mark { color: var(--orange-text); font-weight: 600; }
.js .ledger.is-running .finding { opacity: 0; }

/* The rolling list: real rows, drawn from a small pool so the phone is not asked to hold 207 of them */
.reel { position: absolute; left: 0; right: 0; bottom: 0; overflow: hidden; background: var(--sheet); opacity: 0; visibility: hidden; contain: strict; }
.js .reel.is-on { opacity: 1; visibility: visible; }
.reel-inner { padding-left: 20px; will-change: transform; }
.reel-row { display: grid; grid-template-columns: 15% 25% 18% 11% 8% 23%; height: var(--row); align-items: center; border-top: 1px solid var(--line); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.reel-row span { overflow: hidden; padding-left: 12px; }
.reel-row span:first-child { padding-left: 0; }
.reel-row .num { text-align: right; }

/* Links between matching rows, ticks that lock on, the leader line out to the result */
.links, .leader { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.links { width: 100%; height: 100%; }
.links path, .leader path { fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset var(--enter) var(--curve); }
.links path { stroke: var(--signal); stroke-width: 2; }
.leader { z-index: 3; }
.leader path { stroke: var(--ink); stroke-width: 1.5; }
.show-links .links path, .show-links .leader path { stroke-dashoffset: 0; }
.tick { position: absolute; width: 10px; height: 10px; opacity: 0; pointer-events: none; transition: opacity 240ms var(--curve), transform var(--enter) var(--curve); }
.tick-tl { border-left: 2px solid var(--orange-text); border-top: 2px solid var(--orange-text); transform: translate(-12px, -12px); }
.tick-tr { border-right: 2px solid var(--orange-text); border-top: 2px solid var(--orange-text); transform: translate(12px, -12px); }
.tick-bl { border-left: 2px solid var(--orange-text); border-bottom: 2px solid var(--orange-text); transform: translate(-12px, 12px); }
.tick-br { border-right: 2px solid var(--orange-text); border-bottom: 2px solid var(--orange-text); transform: translate(12px, 12px); }
.show-ticks .tick { opacity: 1; transform: translate(0, 0); }

.sample { margin-top: auto; padding: 8px 0 0 20px; font-size: 13px; line-height: 18px; color: var(--graphite); border-top: 1px solid var(--line); }

/* The result, set in ink directly on the dome */
.verdict {
  grid-column: 2;
  grid-row: 2;
  padding-top: 72px;
  color: var(--on-accent);
  transition: opacity var(--enter) var(--curve);
}
.js .verdict.is-waiting { opacity: 0; }
.v-level { font-size: 56px; line-height: 1; font-weight: 500; letter-spacing: -0.03em; }
.v-pair { margin-top: 8px; font-size: 17px; line-height: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.v-why { margin-top: 8px; font-size: 15px; line-height: 21px; }
.v-more { margin-top: 16px; font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; }
.v-more li { display: grid; grid-template-columns: 60px minmax(0, 1fr); padding: 4px 0; border-top: 1px solid color-mix(in srgb, var(--on-accent) 32%, transparent); }
.v-more span { font-weight: 600; }
.v-rule { margin-top: 12px; font-size: 13px; line-height: 18px; }

/* What gets built: a plain spec table. Hairlines draw in; the words never move. */
.built { position: relative; z-index: 2; background: var(--sheet); padding: 96px var(--edge) 0; }
.built-head { display: grid; grid-template-columns: minmax(0, 912px) minmax(0, 368px); column-gap: 32px; justify-content: space-between; align-items: end; }
h2 { font-size: min(84px, 5.83vw); line-height: 1; font-weight: 500; letter-spacing: -0.03em; }
.built-head p { font-size: 15px; line-height: 1.45; color: var(--graphite); }
.spec { margin-top: 48px; }
.spec-row {
  position: relative;
  display: grid;
  grid-template-columns: 224px minmax(0, 464px) minmax(0, 1fr);
  column-gap: 32px;
  padding: 16px 0;
}
.spec-row::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--ink);
  transform-origin: left center;
  transition: transform 600ms var(--curve);
  transition-delay: calc(var(--i) * 50ms);
}
.js .spec:not(.is-in) .spec-row::before { transform: scaleX(0); }
.area { font-size: 14px; line-height: 28px; color: var(--zinc); }
.area-repeat { visibility: hidden; }
.spec-row h3 { font-size: 24px; line-height: 28px; font-weight: 500; letter-spacing: -0.015em; text-wrap: balance; }
.spec-row p { font-size: 16px; line-height: 24px; color: var(--graphite); max-width: 52ch; }
.is-sample::after {
  content: '';
  position: absolute;
  left: -16px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--signal);
  transform-origin: top center;
  transition: transform var(--enter) var(--curve) 520ms;
}
.js .spec:not(.is-in) .is-sample::after { transform: scaleY(0); }
.sample-tag { display: block; margin-top: 4px; font-weight: 600; color: var(--orange-text); text-underline-offset: 3px; }
.closing { padding: 40px 40% 96px 0; font-size: 18px; line-height: 1.45; border-top: 1px solid var(--ink); }

/* Narrower desktop */
@media (max-width: 1240px) {
  .hero-grid, .built-head { grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr); }
  .swapline { white-space: normal; }
  .progress { display: none; }
}

/* First Light cut the amounts short here ("$1,26..."). At these widths the Status column goes and the finding may take two lines.
   A hidden cell does not hold its column, so the finding moves into the fifth one. */
@media (min-width: 1024px) and (max-width: 1240px) {
  .home-rows-table .c-doc { width: 18%; } .home-rows-table .c-ven { width: 20%; } .home-rows-table .c-inv { width: 22%; } .home-rows-table .c-amt { width: 15%; } .home-rows-table .c-sta { width: 25%; } .home-rows-table .c-fin { width: 0; }
  .home-rows-table th:nth-child(5), .home-rows-table td:nth-child(5), .reel-row span:nth-child(5) { display: none; }
  .home-rows-table, .reel-row { font-size: 13px; }
  .home-rows-table td.finding { white-space: normal; line-height: 1.2; }
  .reel-row { grid-template-columns: 18% 20% 22% 15% 25%; }
}

/* Phone and tablet */
@media (max-width: 1023px) {
  :root { --edge: 16px; --row: 52px; }
  .hero { min-height: 0; }
  .bar { height: 56px; }
  .nav, .btn-small { display: none; }
  .menu-btn { display: block; }
  .hero-grid { display: block; min-height: 0; padding: 8px var(--edge) 0; }
  h1 { font-size: clamp(40px, 7vw, 64px); line-height: 1.04; padding-bottom: 16px; }
  .pitch { padding-top: 0; }
  .sub { font-size: 16px; }
  .actions { flex-direction: column; align-items: stretch; }
  .text-link { padding: 8px 0; text-align: center; }
  .note { margin-top: 4px; font-size: 14px; }
  .sheet { display: block; margin-top: 112px; padding: 12px 12px; border-radius: 12px; }
  .sheet-head { grid-template-columns: minmax(0, 1fr) auto; padding: 0 0 8px; row-gap: 4px; }
  .sheet-id { grid-column: 1 / -1; }
  .swapline { white-space: nowrap; }
  .progress { display: block; grid-column: 1 / -1; grid-row: 2; white-space: normal; line-height: 18px; }
  .table-wrap { padding-left: 20px; padding-right: 14px; }
  .reel-inner { padding-right: 14px; }
  .home-rows-table thead { display: none; }
  .home-rows-table, .home-rows-table tbody { display: block; }
  .home-rows-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-auto-rows: auto; align-items: center; min-height: var(--row); border-top: 1px solid var(--line); padding: 6px 0; }
  .home-rows-table td { display: block; height: auto; border: 0; padding: 0 !important; font-size: 14px; line-height: 20px; }
  .home-rows-table td:nth-child(1) { grid-column: 1; grid-row: 1; font-weight: 500; }
  .home-rows-table td:nth-child(2) { grid-column: 1; grid-row: 2; color: var(--graphite); }
  .home-rows-table td:nth-child(3) { display: none; }
  .home-rows-table td:nth-child(4) { grid-column: 2; grid-row: 1; }
  .home-rows-table td:nth-child(5) { grid-column: 2; grid-row: 2; text-align: right; color: var(--graphite); }
  .home-rows-table td.finding { grid-column: 1 / -1; grid-row: 3; font-size: 14px; }
  .home-rows-table td:empty { display: none; }
  .phone-hide { display: none !important; }
  .phone-only { display: block !important; min-height: 36px !important; }
  .phone-only td { line-height: 24px !important; }
  .phone-only td { color: var(--zinc); }
  .reel-row { grid-template-columns: minmax(0, 1fr) auto; grid-auto-rows: auto; align-content: center; }
  .reel-row span { padding: 0; line-height: 20px; }
  .reel-row span:nth-child(1) { grid-column: 1; grid-row: 1; font-weight: 500; }
  .reel-row span:nth-child(2) { grid-column: 1; grid-row: 2; color: var(--graphite); }
  .reel-row span:nth-child(3), .reel-row span:nth-child(6) { display: none; }
  .reel-row span:nth-child(4) { grid-column: 2; grid-row: 1; }
  .reel-row span:nth-child(5) { grid-column: 2; grid-row: 2; text-align: right; color: var(--graphite); }
  .sample { margin-top: 8px; padding-left: 0; }
  .verdict { padding: 24px 0 16px; }
  .v-level { font-size: 48px; }
  .leader { display: none; }
  .built { padding: 64px var(--edge) 0; }
  .built-head { display: block; }
  h2 { font-size: clamp(40px, 7vw, 64px); line-height: 1.04; }
  .built-head p { margin-top: 16px; font-size: 16px; }
  .spec { margin-top: 24px; }
  .spec-row { display: block; }
  .area { display: block; line-height: 20px; margin-bottom: 4px; }
  .area-repeat { display: none; }
  .spec-row h3 { font-size: 22px; }
  .spec-row p { margin-top: 8px; }
  .is-sample::after { left: -12px; }
  .closing { padding: 24px 0 64px; font-size: 16px; }
}

/* The current, below 768. The canvas sits over the dome and under the words. */
.current { position: absolute; left: 0; top: 0; z-index: 1; width: 100%; height: 100%; display: block; pointer-events: none; }
[data-bg="current"] .dome-drift { animation-duration: 18s; }
.current-thin { z-index: -1; height: auto; }
/* Over the table: streaks settling on the rows' rules, and the stacks on the brackets. */
.settle { position: absolute; left: 0; z-index: 3; display: block; pointer-events: none; }

/* ---------------------------------------------- the rest of the site ---------------------------------------------- */
.nav { flex-wrap: nowrap; white-space: nowrap; }
@media (max-width: 1240px) { .nav { gap: 16px; font-size: 14px; } .bar { gap: 20px; } }
.menu { position: absolute; }
.hero.band { min-height: 0; }
.band .hero-grid { min-height: 0; padding-bottom: 40px; }
.band h1 { font-size: min(68px, 4.72vw); line-height: 1.02; padding-bottom: 16px; }
.band .pitch .sub { margin-top: 0; }
.band.has-sheet .hero-grid { padding-bottom: 0; }
.band .sheet { border-radius: 12px 12px 0 0; padding-bottom: 16px; }
.band .verdict { padding-top: 56px; padding-bottom: 32px; }
.band .v-level { font-size: 52px; }
.pitch .price-line { margin-top: 8px; font-size: 15px; font-weight: 600; }
.crumb { font-size: 14px; color: var(--graphite); margin-bottom: 4px; }
.crumb a { text-underline-offset: 3px; }

/* A sample screen in the hero sheet's language */
.sheet-tag { color: var(--accent-text); font-weight: 600; }
.ledger td.r-v { overflow: visible; }
.ledger td .sub-line { display: block; color: var(--zinc); font-size: 12px; line-height: 16px; white-space: normal; }
.ledger.tall td { height: 44px; }
.ledger .lvl { font-weight: 600; color: var(--orange-text); }
.ledger .lvl-low { color: var(--graphite); font-weight: 500; }
.ledger.is-rest tbody tr.hit .r-w { color: var(--orange-text); }
.ledger td.wrapline { white-space: normal; line-height: 18px; padding-top: 7px; padding-bottom: 7px; }
.block-head { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0 6px; font-size: 14px; font-weight: 600; }
.block-head span:last-child { font-weight: 400; color: var(--zinc); font-variant-numeric: tabular-nums; }

/* cell drawings */
.mbar { display: block; position: relative; height: 12px; min-width: 40px; }
.mbar i { position: absolute; left: 0; top: 0; height: 12px; background: var(--bg-2); }
.mbar b { position: absolute; top: 0; height: 12px; background: var(--signal); }
.pbar { display: grid; gap: 2px; min-width: 80px; }
.pbar i { display: block; height: 8px; background: var(--bg-2); }
.pbar b { display: block; height: 8px; background: var(--signal); }
.dots { display: flex; gap: 3px; align-items: center; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--bg-2); flex: none; }
.dots i.o { background: none; box-shadow: inset 0 0 0 1px var(--bg-1); }
.dots i.x { background: var(--signal); }
.slope { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.slope svg { width: 44px; height: 18px; overflow: visible; flex: none; }
.slope path { fill: none; stroke: var(--signal); stroke-width: 2; }
.span-track { display: block; position: relative; height: 16px; min-width: 120px; }
.span-track u { position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.span-track i { position: absolute; top: 2px; width: 2px; height: 12px; background: var(--ink); }
.span-track b { position: absolute; top: 5px; height: 6px; background: var(--signal); }
.span-track em { position: absolute; top: 2px; width: 2px; height: 12px; background: var(--signal); }
.mk { display: inline-block; font-weight: 600; }
.mk.no { color: var(--orange-text); }
.mk.yes { color: var(--zinc); font-weight: 400; }

/* the band chart: columns under and over a limit */
.hist { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 4px; height: 118px; align-items: end; position: relative; margin: 8px 0 0; }
.hist div { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; font-size: 12px; font-variant-numeric: tabular-nums; text-align: center; color: var(--zinc); }
.hist i { display: block; background: var(--bg-1); min-height: 2px; }
.hist div.near i { background: var(--signal); }
.hist span { display: block; margin-bottom: 2px; }
.hist-axis { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 4px; font-size: 12px; color: var(--zinc); border-top: 1px solid var(--ink); padding-top: 4px; font-variant-numeric: tabular-nums; }
.hist-axis span { text-align: center; }
.hist-limit { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--ink); left: var(--at); }
.hist-note { position: absolute; top: 0; left: var(--at); margin-left: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; }

/* the time line: what stops, in date order */
.tl { position: relative; height: 92px; margin: 8px 8px 0; border-bottom: 1px solid var(--ink); }
.tl i { position: absolute; bottom: 0; width: 2px; background: var(--ink); height: var(--h); left: var(--at); }
.tl i.x { background: var(--signal); }
.tl span { position: absolute; bottom: var(--h); left: var(--at); font-size: 12px; line-height: 16px; white-space: nowrap; padding-left: 6px; transform: translateY(14px); }
.tl-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--zinc); padding: 4px 8px 0; font-variant-numeric: tabular-nums; }

/* the totals line */
.totals { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: 24px; padding: 8px 0 12px; }
.totals div { border-top: 1px solid var(--ink); padding-top: 6px; }
.totals b { display: block; font-size: 28px; line-height: 32px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.totals span { display: block; font-size: 13px; line-height: 18px; color: var(--graphite); }

/* sections on home and inner pages */
.sec { position: relative; z-index: 2; padding: 96px var(--edge); }
.sec.white { background: var(--sheet); }
.sec.ground { background: var(--ground); }
.sec-head { display: grid; grid-template-columns: minmax(0, 912px) minmax(0, 368px); column-gap: 32px; justify-content: space-between; align-items: end; margin-bottom: 48px; }
.sec-head p { font-size: 15px; line-height: 1.45; color: var(--graphite); }
.sec-head a { color: inherit; }
h3 { margin: 0; }
.more-link { display: inline-block; margin-top: 32px; font-weight: 500; text-underline-offset: 3px; }
.btn { white-space: nowrap; }

.watch { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 64px; align-items: start; }
.watch p + p { margin-top: 12px; }
.watch-copy p { font-size: 17px; line-height: 1.5; color: var(--graphite); max-width: 36em; }
.watch-copy h3 { font-size: 24px; line-height: 28px; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 8px; }
.slot-frame { position: relative; aspect-ratio: 16 / 9; background: var(--sheet); box-shadow: 0 0 0 1px var(--line); border-radius: 12px; display: grid; place-content: center; text-align: center; padding: 24px; }
.slot-frame .big { font-size: 24px; line-height: 28px; font-weight: 500; letter-spacing: -0.015em; }
.slot-frame .small { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--graphite); max-width: 32em; }
.corner { position: absolute; width: 18px; height: 18px; border: 0 solid var(--signal); }
.corner.a { left: 12px; top: 12px; border-left-width: 2px; border-top-width: 2px; }
.corner.b { right: 12px; top: 12px; border-right-width: 2px; border-top-width: 2px; }
.corner.c { left: 12px; bottom: 12px; border-left-width: 2px; border-bottom-width: 2px; }
.corner.d { right: 12px; bottom: 12px; border-right-width: 2px; border-bottom-width: 2px; }
.watch figcaption { margin-top: 12px; font-size: 13px; line-height: 18px; color: var(--graphite); }

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 24px; counter-reset: s; }
.steps li { border-top: 1px solid var(--ink); padding-top: 12px; }
.steps .n { display: block; font-size: 64px; line-height: 1; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.steps h3 { margin-top: 16px; font-size: 20px; line-height: 24px; font-weight: 500; letter-spacing: -0.01em; text-wrap: balance; }
.steps p { margin-top: 8px; font-size: 15px; line-height: 22px; color: var(--graphite); }

.groups { display: block; }
.group-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 32px; padding: 20px 0; border-top: 1px solid var(--ink); }
.group-row h3 { font-size: 24px; line-height: 28px; font-weight: 500; letter-spacing: -0.015em; }
.group-row .why { margin-top: 6px; font-size: 15px; line-height: 22px; color: var(--graphite); max-width: 28em; }
.group-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 4px; align-content: start; }
.group-links a { padding: 3px 0; font-size: 17px; line-height: 24px; text-decoration-color: var(--bg-2); text-underline-offset: 4px; }
.addon-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 24px; border-top: 1px solid var(--ink); }
.addon-foot p { flex: 1 1 30em; font-size: 16px; line-height: 24px; color: var(--graphite); max-width: 52ch; }

/* A wide arc of the dome's blue, for the two places a block of words stands on it. Light on memory: an ellipse, not a 5,000 px circle. */
.sky { position: absolute; z-index: 0; left: -24%; right: -24%; top: 0; bottom: -40px; border-radius: 50% 50% 0 0 / 104px 104px 0 0; background: radial-gradient(ellipse at 50% 30%, var(--dome-core) 0%, var(--dome-edge) 55%); animation: drift 26s ease-in-out infinite alternate; pointer-events: none; }
.keep { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: 64px; align-items: start; padding-bottom: 72px; }
.keep-lead p { font-size: 17px; line-height: 1.5; color: var(--graphite); max-width: 38em; }
.keep-lead p + p { margin-top: 12px; }
.cadence li { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 24px; padding: 12px 0; border-top: 1px solid var(--ink); }
.cadence b { font-size: 17px; line-height: 24px; font-weight: 600; }
.cadence span { font-size: 16px; line-height: 24px; color: var(--graphite); }
.support-sec { overflow: hidden; padding-bottom: 0; }
.promise { position: relative; margin: 0 calc(var(--edge) * -1); padding: 128px var(--edge) 72px; color: var(--on-accent); overflow: hidden; }
.promise-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: 64px; align-items: end; }
.promise .num4 { font-size: min(148px, 10.3vw); line-height: 0.9; font-weight: 500; letter-spacing: -0.04em; }
.promise h3 { font-size: 32px; line-height: 36px; font-weight: 500; letter-spacing: -0.02em; }
.promise p.t { margin-top: 8px; font-size: 17px; line-height: 25px; }

.ours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.ours li { border-top: 1px solid var(--ink); padding: 16px 0 32px; }
.ours h3 { font-size: 32px; line-height: 36px; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.ours p { margin-top: 8px; font-size: 17px; line-height: 25px; color: var(--graphite); max-width: 32em; }

.who-big { font-size: min(44px, 3.06vw); line-height: 1.16; letter-spacing: -0.02em; font-weight: 500; max-width: 26em; text-wrap: pretty; }
.who-rest { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; max-width: 912px; }
.who-rest p { font-size: 17px; line-height: 25px; color: var(--graphite); }

.qa { display: block; }
.qa li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 32px; padding: 18px 0; border-top: 1px solid var(--ink); }
.qa h3 { font-size: 22px; line-height: 27px; font-weight: 500; letter-spacing: -0.015em; text-wrap: balance; }
.qa p { font-size: 17px; line-height: 25px; color: var(--graphite); max-width: 40em; }
.qa-group { margin-top: 48px; font-size: 32px; line-height: 36px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 16px; }
.qa-group:first-child { margin-top: 0; }

.closer { position: relative; padding: 152px var(--edge) 104px; overflow: hidden; color: var(--on-accent); background: var(--ground); }
.closer > :not(.sky) { position: relative; z-index: 1; }
.closer.on-white { background: var(--sheet); }
.closer h2 { color: var(--on-accent); }
.closer p { margin-top: 16px; font-size: 18px; line-height: 1.45; max-width: 36em; }
.closer .addr { font-size: min(44px, 7vw); line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; margin-top: 32px; display: inline-block; text-underline-offset: 6px; text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.closer .row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.closer .row span { font-size: 15px; }
.closer .btn-ink { background: var(--sheet); color: var(--ink); }

.foot { background: var(--sheet); padding: 48px var(--edge) 40px; font-size: 14px; line-height: 20px; color: var(--graphite); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); column-gap: 32px; row-gap: 24px; padding-bottom: 32px; }
.foot-grid .mark { color: var(--ink); display: block; margin-bottom: 8px; }
.foot-grid h2 { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0; color: var(--ink); margin-bottom: 4px; }
.foot-grid ul a { display: inline-block; padding: 2px 0; text-underline-offset: 3px; }
.foot-legal { border-top: 1px solid var(--line); padding-top: 16px; }
.foot-legal p + p { margin-top: 4px; }

/* inner page bodies */
.body { position: relative; z-index: 2; background: var(--sheet); padding: 64px var(--edge) 96px; }
.def { display: block; }
.def-row { display: grid; grid-template-columns: 224px minmax(0, 720px); column-gap: 32px; padding: 20px 0; border-top: 1px solid var(--ink); }
.def-row > h2 { font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: 0; color: var(--ink); }
.def-row p { font-size: 17px; line-height: 26px; color: var(--ink-2); max-width: 52ch; }
.def-row p + p { margin-top: 10px; }
.def-row li { font-size: 17px; line-height: 26px; color: var(--ink-2); padding: 6px 0; border-top: 1px solid var(--line); }
.def-row li:first-child { border-top: 0; padding-top: 0; }
.def-row li b { font-weight: 600; color: var(--ink); }
.def-row a { text-underline-offset: 3px; }
.price-row .amount { font-size: 44px; line-height: 1; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price-row .pair { display: flex; flex-wrap: wrap; gap: 8px 48px; align-items: baseline; }
.price-row .pair span { display: block; margin-top: 4px; font-size: 15px; color: var(--graphite); }
.sibling { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--ink); }
.sibling a { font-weight: 500; text-underline-offset: 3px; }
.draft-note { font-size: 28px; line-height: 34px; font-weight: 500; letter-spacing: -0.02em; max-width: 26em; }

/* prices */
.ex { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.ex th { text-align: left; font-size: 14px; font-weight: 500; color: var(--zinc); padding: 8px 12px 8px 0; }
.ex td { border-top: 1px solid var(--line); padding: 12px 12px 12px 0; vertical-align: top; line-height: 24px; }
.ex .num { text-align: right; padding-right: 0; white-space: nowrap; }

@media (max-width: 1023px) {
  .band .hero-grid { padding: 8px var(--edge) 32px; }
  .band.has-sheet .hero-grid { padding-bottom: 0; }
  .band h1 { font-size: clamp(36px, 7vw, 56px); line-height: 1.04; padding-bottom: 12px; }
  .band .sheet { margin-top: 104px; }
  .band .verdict { padding: 24px 0 24px; }
  .sec { padding: 64px var(--edge); }
  .sec-head { display: block; margin-bottom: 28px; }
  .sec-head p { margin-top: 12px; font-size: 16px; }
  .watch, .keep { display: block; }
  .keep { padding-bottom: 40px; }
  .cadence { margin-top: 28px; }
  .promise-in { display: block; }
  .sky { left: -40%; right: -40%; border-radius: 50% 50% 0 0 / 56px 56px 0 0; }
  .promise { padding-top: 88px; padding-bottom: 56px; }
  .promise .num4 { font-size: 72px; }
  .promise h3 { margin-top: 12px; font-size: 26px; line-height: 30px; }
  .promise p.t { font-size: 16px; line-height: 24px; }
  .slot-frame { margin-top: 24px; }
  .slot-frame .big { font-size: 20px; line-height: 24px; }
  .steps { display: block; }
  .steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); padding: 12px 0 20px; }
  .steps .n { font-size: 40px; grid-row: 1 / span 2; }
  .steps h3 { margin-top: 2px; }
  .group-row { display: block; }
  .group-links { margin-top: 12px; }
  .cadence li { display: block; }
  .cadence span { display: block; margin-top: 2px; }
  .ours { display: block; }
  .ours h3 { font-size: 26px; line-height: 30px; }
  .who-big { font-size: clamp(26px, 5vw, 36px); line-height: 1.2; }
  .who-rest { display: block; }
  .who-rest p + p { margin-top: 12px; }
  .qa li { display: block; }
  .qa p { margin-top: 8px; }
  .closer { padding: 96px var(--edge) 72px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .body { padding: 40px var(--edge) 64px; }
  .def-row { display: block; }
  .def-row > h2 { margin-bottom: 6px; }

  .ledger td .sub-line { font-size: 13px; }
  .span-track { margin: 4px 0; }
  .totals { grid-auto-flow: row; row-gap: 8px; }
  .totals b { font-size: 24px; line-height: 28px; }
  .hist-note { font-size: 12px; }
  .tl span { font-size: 11px; }
}
@media (max-width: 767px) {
  .group-links { grid-template-columns: minmax(0, 1fr); }
  .bar { gap: 12px; }
  .ex { font-size: 15px; }
}
@media (hover: hover) and (pointer: fine) {
  .closer .btn-ink:hover { background: var(--ground); }
  .group-links a:hover { text-decoration-color: var(--ink); }
}

.index-table .grp th { padding: 20px 0 8px; text-align: left; border-top: 1px solid var(--ink); font-weight: 400; height: auto; white-space: normal; }
.index-table tbody tr.grp:first-child th { border-top: 0; padding-top: 4px; }
.grp-t { display: block; font-size: 20px; line-height: 24px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.grp-w { display: block; font-size: 14px; line-height: 20px; color: var(--graphite); }
.index-table td a { text-underline-offset: 3px; text-decoration-color: var(--bg-2); font-weight: 500; }
.index-table td { color: var(--ink) !important; }
.index-table td.wrapline { color: var(--ink-2) !important; }
.ex-note { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--graphite); }
.ex td a { text-underline-offset: 3px; }
@media (max-width: 1023px) {
  .ex thead { display: none; }
  .ex, .ex tbody, .ex tr, .ex td { display: block; }
  .ex tr { border-top: 1px solid var(--line); padding: 10px 0; }
  .ex td { border: 0; padding: 2px 0; }
  .ex .num { text-align: left; }
  .ex td:nth-child(3)::before { content: 'To build: '; color: var(--zinc); }
  .ex td:nth-child(4)::before { content: 'A month: '; color: var(--zinc); }
}

.hist-axis + .ledger, .hist-axis + .block-head { margin-top: 12px; }
.tl-axis + .ledger { margin-top: 12px; }
.price-table td { color: var(--ink) !important; }
.price-table td a { text-underline-offset: 3px; text-decoration-color: var(--bg-2); }
.price-table td.r-p { font-weight: 600; }
.ex td:first-child { white-space: nowrap; }
.ex td.num, .ex th.num { padding-left: 20px; }
.price-row .amount { color: var(--ink); }
/* The long list on the index keeps its result beside the reader */
.band { overflow: clip; }
@media (min-width: 1024px) {
  .index-page .verdict { position: sticky; top: 24px; align-self: start; }
}
.sec.support-sec { padding-bottom: 0; }
.slot-frame .small { margin-left: auto; margin-right: auto; }

.ledger .r-meta { display: none; }
.band h1 { max-width: 10.4em; }
@media (max-width: 1023px) {
  .band h1 { max-width: none; }
  .screen .ledger td.r-meta { display: block; grid-column: 1 / -1; font-size: 13px; line-height: 18px; color: var(--graphite); margin-top: 2px; }
  .screen .ledger td.r-v { margin: 4px 0 2px; }
  .screen .ledger .num { text-align: left; }
  .screen .ledger td.r-n, .screen .ledger td.r-t { text-align: right; }
  .screen .swapline { white-space: normal; }
}
@media (max-width: 767px) {
  .hist-axis { font-size: 11px; }
  .hist-axis span:nth-child(even) { visibility: hidden; }
}

/* A sample screen's rows stack the way the hero's do, wherever the sheet is too narrow for its columns */
@media (max-width: 1240px) {
  .screen .ledger thead { display: none; }
  .screen .ledger, .screen .ledger tbody { display: block; }
  .screen .ledger tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; min-height: 52px; border-top: 1px solid var(--line); padding: 6px 0; }
  .screen .ledger td { display: block; height: auto; border: 0; padding: 0 !important; font-size: 14px; line-height: 20px; white-space: normal; grid-column: 1 / -1; }
  .screen .ledger td.r-p { grid-column: 1; grid-row: 1; font-weight: 500; }
  .screen .ledger td.r-n { grid-column: 2; grid-row: 1; text-align: right; }
  .screen .ledger td.r-s { grid-column: 1; grid-row: 2; color: var(--graphite); }
  .screen .ledger td.r-t { grid-column: 2; grid-row: 2; text-align: right; }
  .screen .ledger td.r-x { display: none; }
  .screen .ledger td.r-m { display: none; }
  .screen .ledger td:empty { display: none; }
  .screen .ledger td.r-meta { display: block; grid-column: 1 / -1; font-size: 13px; line-height: 18px; color: var(--graphite); margin-top: 2px; }
  .screen .ledger td.r-v { margin: 4px 0 2px; }
  .screen .ledger .num { text-align: left; }
  .screen .ledger td.r-n, .screen .ledger td.r-t { text-align: right; }
  .screen .ledger td.r-m { display: none; }
  .index-table .grp { display: block !important; }
  .index-table .grp th { display: block; padding: 16px 0 4px; }
  .index-table td.r-w { grid-column: 1 / -1; }
  .index-table td.r-n::after { content: ' to build'; color: var(--zinc); }
  .index-table td.r-t { grid-column: 1 / -1; text-align: left !important; color: var(--graphite) !important; grid-row: auto; }
  .index-table td.r-t::before { content: 'Added a month: '; color: var(--zinc); }
}

.tl span.l { padding: 0 6px 0 0; transform: translate(-100%, 14px); }

.has-sheet::before { content: ''; position: absolute; z-index: 1; left: var(--fill-left, 0); right: 0; top: var(--fill-top, 100%); bottom: 0; background: var(--dome-edge); pointer-events: none; }
.index-table td.inc::after { content: none !important; }
body { background: var(--sheet); }
.hero { background: var(--ground); }
@media (max-width: 1240px) { .index-table td.r-t.inc { display: none; } }

/* Custom build on home */
.custom { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 32px; padding: 0 0 96px; scroll-margin-top: 96px; }
.pitch-link { margin-top: 8px; font-size: 15px; }
.custom-big { font-size: min(44px, 3.06vw); line-height: 1.16; letter-spacing: -0.02em; font-weight: 500; text-wrap: balance; }
.custom-p { margin: 16px 0 24px; font-size: 17px; line-height: 25px; color: var(--graphite); max-width: 36em; }
.custom-note { margin-top: 12px; font-size: 15px; line-height: 22px; color: var(--graphite); }
/* Not sure where to start? on the index */
.start { margin-bottom: 64px; }
.start h2 { margin-bottom: 16px; }
.start-p { font-size: 18px; line-height: 27px; color: var(--ink-2); max-width: 44em; }
.picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; margin-top: 32px; }
.picks li { border-top: 1px solid var(--ink); padding-top: 12px; }
.pick-who { font-size: 15px; line-height: 22px; color: var(--graphite); }
.picks h3 { margin-top: 4px; font-size: 28px; line-height: 32px; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.picks h3 a { text-underline-offset: 4px; text-decoration-color: var(--bg-2); }
.pick-line { margin-top: 8px; font-size: 16px; line-height: 24px; color: var(--graphite); }
.body > .qa-group { margin-top: 56px; }
@media (max-width: 1100px) { .nav { gap: 12px; font-size: 13px; } .bar { gap: 16px; } }
@media (max-width: 1023px) {
  .custom { display: block; padding: 0 0 56px; scroll-margin-top: 64px; }
  .custom-big { margin-top: 12px; font-size: clamp(26px, 5vw, 36px); line-height: 1.2; }
  .picks { display: block; }
  .picks li { padding: 12px 0 20px; }
  .picks h3 { font-size: 24px; line-height: 28px; }
  .start-p { font-size: 17px; line-height: 26px; }
}

/* One size down, so 4 hours stays the largest thing below the first screen */
h2.h2-down { font-size: min(60px, 4.17vw); line-height: 1.02; }
/* An add-on page's body keeps the hero's two columns: the words under the sheet, the price under the dome */
.addon-body { display: grid; grid-template-columns: minmax(0, 912px) minmax(0, 368px); column-gap: 32px; justify-content: space-between; align-items: start; }
.addon-body .def-row { grid-template-columns: 200px minmax(0, 1fr); }
.addon-body .sibling { grid-column: 1 / -1; }
.rail { position: sticky; top: 24px; border-top: 1px solid var(--ink); padding-top: 20px; }
.rail h2 { font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.rail .pair { display: block; }
.rail .pair > div + div { margin-top: 16px; }
.rail .btn { margin-top: 20px; }
.rail .price-row a, .custom-note a { text-underline-offset: 3px; }
@media (max-width: 1240px) { .addon-body { grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr); } .addon-body .def-row { grid-template-columns: minmax(0, 1fr); } .addon-body .def-row > h2 { margin-bottom: 6px; } }
@media (max-width: 1023px) {
  h2.h2-down { font-size: clamp(34px, 5.6vw, 48px); line-height: 1.06; }
  .addon-body { display: block; }
  .rail { position: static; margin-top: 24px; }
  .rail .pair { display: flex; gap: 8px 48px; }
  .rail .pair > div + div { margin-top: 0; }
}
/* Room for the lit bay beside a short headline at tablet widths */
@media (min-width: 768px) and (max-width: 1023px) { .band h1 { padding-bottom: 30px; } }
@media (min-width: 1024px) { .band.has-sheet h1 { min-height: 114px; } }

/* The call page: Google's booking page, inside the page (moved here from the page's own style tag) */
.booking-embed{margin:0 0 2.5rem;border:1px solid var(--line,#d5e0ee);border-radius:10px;overflow:hidden;background:#fff}.booking-embed iframe{display:block;width:100%;height:760px;border:0}@media (max-width:700px){.booking-embed iframe{height:1180px}}

/* Privacy and Terms drafts: a choice still open is marked, never filled in */
mark.gap { background: #fff0b3; color: var(--ink); padding: 1px 4px; border-radius: 3px; outline: 1px dashed #8a6d00; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
mark.gap b { font-weight: 600; }

/* Reading text at most about 75 characters a line at 1440 px (DESIGN_RULES R06). In Archivo 52ch holds about 70
   characters; the live 52ch held about 85. */
main p, main li, main figcaption, main dd, .foot p { max-width: 52ch !important; }
/* The footer has five columns: the firm, the work, working together, Business Central, the small print. */
@media (min-width: 1024px) { .foot-grid { grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr)); } }
main li:has(> p, > h2, > h3, > div, > ul, > ol), .price-band li, .cadence li, .custom-big, .who-big, .num4, .v-level { max-width: none !important; }
/* The live .closing line keeps its text narrow with 40% right padding; under the 52ch cap that padding left almost no
   room (one word a line). The cap is dropped for it and the padding sets the measure instead. */
main p.closing { max-width: none !important; padding-right: max(0px, calc(100% - 52ch)); }
/* On B the line sits inside a padded section, so its own 96 px bottom padding doubled the gap. */
.sec > p.closing { padding-bottom: 0; }

/* ---- P7 preview additions (2026-11-23). Tokens unchanged; only the rules below are added. ---- */
/* R06: every reading paragraph capped near 64 characters a line. */
.def-row p, .spec-row p, .sec-head p, .addon-foot p, .ours p, .qa p, .sub, .closer p, .routes p, .band-text p { max-width: 52ch; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.menu a[aria-current="page"] { font-weight: 600; }
.spec-row .go { display: block; margin-top: 4px; font-weight: 500; text-underline-offset: 3px; }
.def-row p + ul, .def-row ul + p { margin-top: 12px; }
.routes { border-top: 1px solid var(--ink); max-width: 912px; }
.routes li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 224px minmax(0, 1fr); column-gap: 32px; }
.routes h3 { font-size: 20px; line-height: 28px; font-weight: 500; }
.routes p { font-size: 17px; line-height: 26px; color: var(--graphite); }
.bc-band { display: grid; grid-template-columns: minmax(0, 912px) minmax(0, 368px); column-gap: 32px; justify-content: space-between; align-items: start; border-top: 1px solid var(--ink); padding-top: 24px; }
.bc-band h2 { font-size: 40px; line-height: 44px; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.bc-band p { margin-top: 16px; font-size: 17px; line-height: 26px; color: var(--graphite); max-width: 52ch; }
.bc-band .bc-links { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.bc-band .bc-links a { font-weight: 500; text-underline-offset: 3px; }
.joblist { border-top: 1px solid var(--ink); }
.joblist li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) 200px; column-gap: 32px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.joblist h2 { font-size: 20px; line-height: 28px; font-weight: 500; text-wrap: balance; }
.joblist h2 a { color: inherit; text-decoration: none; }
.joblist p { font-size: 16px; line-height: 24px; color: var(--graphite); max-width: 52ch; }
.joblist .where { font-size: 14px; line-height: 20px; color: var(--graphite); }
.joblist li.lead { padding: 32px 0; }
.joblist li.lead h2 { font-size: 28px; line-height: 32px; }
.body .note-box { margin-top: 32px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 12px; }
.body .note-box p { font-size: 16px; line-height: 24px; color: var(--ink-2); max-width: 52ch; }
.body .note-box p + p { margin-top: 8px; }
.sys-list { columns: 2; column-gap: 32px; }
.def-row .sys-list li { break-inside: avoid; border-top: 0; padding: 6px 0; border-bottom: 1px solid var(--line); }
.price-scope td { padding-top: 16px; padding-bottom: 16px; }
/* Captions keep their full-width rule; the text measure comes from padding (the 52ch cap had shortened the rule). */
main figcaption.sample { max-width: none !important; padding-right: max(20px, calc(100% - 52ch)); }
.bc-table > .sheet { margin: 24px 0 0; }
.body > .sec-title { font-size: 24px; line-height: 32px; font-weight: 500; margin: 64px 0 16px; }
.body > .sec-title:first-child { margin-top: 0; }
.price-scope td.r-p { white-space: nowrap; }
.placeholder-box { margin-top: 24px; padding: 32px; border: 1px dashed var(--ink); border-radius: 12px; }
.placeholder-box p { font-size: 17px; line-height: 26px; max-width: 52ch; }
.placeholder-box p + p { margin-top: 8px; }
/* Layout B */
.b-top { padding-bottom: 32px; }
.board-band { position: relative; z-index: 2; padding: 32px var(--edge) 32px; }
.b-top .pitch .who { margin-bottom: 8px; }
.board-band .board-labels { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 12px; font-size: 15px; line-height: 20px; }
.board-band .board-labels .made { color: var(--graphite); font-size: 14px; }
.board-frame { display: block; width: 100%; max-width: 1312px; height: 560px; border: 1px solid var(--line); border-radius: 12px; background: var(--sheet); overflow: hidden; }
.board-frame iframe { display: block; width: 100%; height: 620px; margin-top: -60px; border: 0; }
.b-top .hero-grid { min-height: 0; padding-bottom: 48px; }
.board-under { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; margin-top: 12px; font-size: 15px; line-height: 22px; color: var(--graphite); }
.board-under a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }
.tiles { display: none; }
.job-band { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 688px); column-gap: 64px; justify-content: space-between; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.job-band:first-of-type { border-top: 1px solid var(--ink); }
.job-band h2 { font-size: 32px; line-height: 36px; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.job-band p { margin-top: 12px; font-size: 17px; line-height: 26px; color: var(--graphite); max-width: 52ch; }
.job-band .text-link { display: inline-block; margin-top: 16px; }
.job-band .still { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--sheet); }
.job-band > * { min-width: 0; }
.job-band .still img { display: block; width: 100%; height: auto; }
.look-band { display: grid; grid-template-columns: minmax(0, 912px) auto; column-gap: 32px; justify-content: space-between; align-items: end; }
.look-band h2 { font-size: 40px; line-height: 44px; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.look-band p { margin-top: 16px; font-size: 17px; line-height: 26px; color: var(--graphite); max-width: 52ch; }
.price-band ul { border-top: 1px solid var(--ink); max-width: 912px; }
.price-band li { display: grid; grid-template-columns: 340px minmax(0, 1fr); column-gap: 32px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 26px; }
.price-band li b { font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 1023px) {
  .routes li, .joblist li, .price-band li { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
  .bc-band, .look-band { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  .job-band { grid-template-columns: minmax(0, 1fr); row-gap: 24px; padding: 32px 0; }
  .bc-band h2, .look-band h2 { font-size: 32px; line-height: 36px; }
  .job-band h2 { font-size: 26px; line-height: 30px; }
  .sys-list { columns: 1; }
}
@media (max-width: 767px) {
  .board-frame { display: none; }
  .tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tiles a { display: block; min-height: 64px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--sheet); color: var(--ink); text-decoration: none; font-size: 15px; line-height: 20px; font-weight: 500; }
  .tiles a span { display: block; margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--graphite); font-weight: 400; }
  .job-band .still { display: none; }
  .board-band { padding-bottom: 64px; }
}

/* QA 2026-11-24: the job titles on /jobs/ are links and now look like links; in-page links glide instead of jumping. */
.joblist h2 a { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.joblist h2 a:hover, .joblist h2 a:focus-visible { text-decoration-thickness: 2px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
