/* v3 overrides. Scoped to .v3-* classes so nothing here can reach the live page.
   Only two deltas so far:
     1. the section head is centred (founder, 1 Nov: "move the heading / subheading to be middle aligned")
     2. the before/after cards put their copy ABOVE the visual, as Foreplay does, rather than below */

/* 1 · centred section head */
.v3-center .sec-head { justify-items: center; text-align: center; }
.v3-center .sec-head__lead { margin-inline: auto; }

/* 2 · copy above the visual. .ba__card is already a flex column, so this is an order swap
   plus moving the hairline from the bottom of the media to its top. */
.v3-ba .ba__copy  { order: 0; padding-top: var(--card-pad); padding-bottom: clamp(20px, 16px + .8vw, 28px); }
.v3-ba .ba__media { order: 1; border-bottom: 0; border-top: 1px solid var(--hairline); }

/* 3 · breathing room under the carousel caption.
   The caption (.ck-uf__cap) is absolutely positioned at bottom:6px inside the carousel block, and the
   element that used to create height beneath it was .hero__examples — the disclaimer we removed. With
   that gone the brand name sat hard against the section's bottom rule. This restores the gap. */
.v3-hero .hero__visual { padding-bottom: clamp(24px, 16px + 1vw, 40px); }

/* 4 · ONE continuous surface per card: the media fills the whole card and the copy floats on top of it.
   Earlier attempts both failed. Texture on the card alone moved its hard horizon off the logo (the horizon
   falls at the media's centre, and the media sits below the copy, so the card's centre is half the copy
   height higher). Texture on the media with a flat colour behind the copy left a visible seam where the
   flat navy met the gradient. Filling the card with the media solves both at once: the texture is
   genuinely continuous, and because the orbit is centred in the media - which is now the card - the core
   and the horizon land on the same line with no magic numbers. On the left it also means the dot grid
   runs behind the copy instead of stopping at it. */
.v3-ba .ba__card { overflow: hidden; position: relative; }
.v3-ba .ba__media {
  position: absolute; inset: 0;
  height: auto; min-height: 0; border: 0; border-radius: inherit;
}
.v3-ba .ba__copy { position: relative; z-index: 2; }

.v3-ba .ba__card--before { background: var(--paper); }
.v3-ba .ba__card--after  { color: var(--on-dark); }
.v3-ba .ba__card--after .ba__label { color: color-mix(in oklab, var(--on-dark) 72%, transparent); }
.v3-ba .ba__card--after .ba__title { color: var(--on-dark); }

/* The media is out of flow now, so the cards need their own height. The grid stretches them to match,
   but this keeps a floor if either is ever rendered alone. */
.v3-ba .ba__card { --card-h: clamp(400px, 300px + 10vw, 480px); min-height: var(--card-h); }

/* 5 · clear the copy without breaking the horizon.
   With the media filling the card, the orbit centres on the card - straight under the heading. Dropping
   the ring alone would put the core off the horizon again, so BOTH move by the same --shift: the ring's
   centre and the field image's vertical position. Because they shift together the core stays on the
   horizon whatever --shift is, so the value only has to be "enough to clear the copy", not exact.
   The veil must NOT move with it: it is what darkens the top for the heading, so the background is
   redeclared with only the field layer offset (surfaces.css lays these four layers in this order). */
/* 58px put the loop's bottom chip 13px off the card's bottom edge while the top of the ring sat 41px
   under the heading, so the whole loop read as resting on the floor (founder: "make sure this component
   with the loop has space below it"). The band it has to sit in runs from the heading's baseline to the
   card's bottom edge - 88px to 451px at desktop, 363px tall - and the loop's painted extent, ring plus
   the four chips that overhang it, is 310px. That leaves 53px of slack, so centred it is 26px top and
   bottom. Measured: at --shift 58 the loop's centre lands 14px below the band's.
   The same clamp the narrow cards already used tops out at exactly that value, so one declaration now
   serves every width instead of two that have to agree. */
.v3-ba .ba__card--after { --shift: clamp(24px, 6vw, 44px); }
.v3-ba .ba__card--after .ba-orbit { top: calc(50% + var(--shift)); }
/* The ring is sized from the card's WIDTH (min(72%, 270px)) but it is the card's HEIGHT that runs out
   first, because --shift has already spent part of it. Left on width alone the clearance under the
   loop collapsed as the card got shorter: measured 27px at 1512, 11px at 1200 and 6px at 1100, where a
   270px ring still sat in a 410px card. That was the founder's note one breakpoint over.
   So cap it by the height too, from the same clamp the card is sized with. Below the shifted centre
   there is card-h / 2 - shift to play with, of which the chips overhang the ring by 20px and we want
   24px of air under them, so:  ring <= card-h - 2 * shift - 2 * (20 + 24).
   Measured after: 24-27px of clearance at every width from 1000 to 1512, where it was 6-27 before. */
.v3-ba .ba__card--after .ba-orbit { --ring: min(72%, 270px, calc(var(--card-h) - 2 * var(--shift) - 88px)); }
.v3-ba .ba__media--after.is-near {
  background:
    var(--tex-veil),
    url("/assets/v2/img/tex-grain.png") 0 0 / var(--grain-px) repeat,
    var(--tex-img) 0% calc(50% + var(--shift)) / cover no-repeat,
    var(--tex-fallback);
}

/* Narrow cards: the ring is sized from the card's WIDTH (min(72%, 270px)) while the card's height is
   fixed, and --shift then pushes it a further 58px down. At 760px that put a 270px ring in a 400px
   card centred 58px low, so the bottom chip hung 13px past the card and `overflow: hidden` cut it in
   half (founder: "the loop is cut out"). For the chips to stay inside:
       shift + ring / 2 + 20px of chip overhang  <=  cardH / 2
   Both sides of that are reduced here. Shrinking --shift is safe by construction: the ring's centre
   and the field image move together, so the core stays on the horizon whatever the value is, and it
   only has to be "enough to clear the copy" (see note 5 above). At 760 it leaves 34px of clearance
   under the heading, at 390 it leaves 17px. */
/* The mark overflowed the core disc. Its size is read from JS ONCE at init - 28px under 480px, 56px
   above it, and a 56px canvas above 768px (sections/before-after.js) - while the disc's --core: 64px
   lives in a CSS media query at 480px. CSS stays live and the JS value never updates, so any resize
   across 480px desyncs them: a 56px mark in a 64px circle, whose 7:6 box puts its corners at radius 37
   against the circle's 32. Measured exactly that, 0.88 of the diameter.
   Sizing from --core instead keeps the designed proportion (48 in 88 on desktop = 54.5%) at every core
   size, so the two cannot drift apart again. `> *` because the mark is an <img> on phones but a
   <canvas> above 768px, and !important because the canvas carries an inline width from its module.
   NOTE: the same desync is live on /. Scoped to v3 so the live page is not changed without a decision;
   the real fix there is for before-after.js to re-read the breakpoint on resize. */
.v3-ba .ba-core__mark > * { width: calc(var(--core) * .545) !important; height: auto !important; }

@media (max-width: 1000px) {
  .v3-ba .ba__card--after .ba-orbit { --ring: min(54%, 200px, calc(var(--card-h) - 2 * var(--shift) - 88px)); }
}

/* ── §3 · How it works ─────────────────────────────────────────────────────────────────────────
   Built on relaystudio.ai's mechanic (grid 50% visual | rest text; each step a full viewport; and the
   COPY itself sticky inside its step). The copy pinning is the piece that makes it work: one block
   parks at a fixed height while its step scrolls past, then releases as the next one takes over - so
   there is never a gap to tune and the inactive blocks never need dimming to get out of the way.
   Three earlier attempts are documented in the plan: centring the visual in a full-viewport box forced
   every step to a full viewport and left half a screen of dead air before the first copy; top-aligning
   without sticky copy put the blocks adrift; both are fixed by pinning the copy, not the column. */
.v3-hiw__grid {
  display: grid; grid-template-columns: minmax(0, 50%) minmax(340px, 1fr);
  gap: clamp(24px, 2rem + 2vw, 56px);
  margin-top: clamp(32px, 20px + 2vw, 56px);
}

/* The visual column pins for the whole section and crossfades between panels. */
/* The visual reaches the left rail, as the cards in before-after and flow do (.flush pulls both sides;
   here only the left should go, because text sitting on the rail reads as a mistake). */
.v3-hiw__visual { position: relative; margin-left: calc(-1 * var(--inset)); }
.v3-hiw__panels { position: sticky; top: var(--hiw-top); }
/* Fill the viewport. At 460px the visual stopped a third of the way down the screen and the whole
   lower half of the section was blank at every step - which read as broken pacing rather than as a
   pinned sequence. Sized against the viewport instead, with a floor so it never collapses on short
   screens and a ceiling so it does not tower on tall ones. */
.v3-hiw__panels .tabs__panels {
  position: relative; width: 100%;
  min-height: var(--hiw-viz-h);
}
.v3-hiw__panels .tabs__panel { position: absolute; inset: 0; }
.v3-hiw__panels .tabs__panel[hidden] { display: none; }
/* Every tidbit sits in the MIDDLE of the band, not at its top. The panel is a fixed --hiw-viz-h box
   and the tidbits are all content-height and all different heights, so without this each one hangs
   from the top edge with its slack pooled underneath (founder: "a lot of gap at the bottom"). */
.v3-hiw__panels .tour__viz { height: 100%; display: grid; align-content: center; }
/* ...and the distribution tidbit needs the same on the OTHER axis. Its grid is `auto minmax(0, 1fr)`,
   so the right-hand track takes every pixel the photo does not - 368px at desktop - while the two post
   cards inside it are 300px and sit at its start. That leaves 68px of dead track on the right, which
   puts the composition's painted centre 34px left of the panel's: measured, photo at 32 and the cards
   ending at 500 inside a 600px field (founder: "this still is not in the centre"). The box was centred
   the whole time; the ink inside it was not.
   Sizing that track to the cards and centring the pair fixes it without changing the cards themselves.
   The number has to be stated: the cards are `width: min(100%, 300px)` (product/tidbits.css .tb-post),
   and `max-content` resolves to the 325px their text wants BEFORE that cap applies, which left 25px of
   dead track and the composition still 13px light. minmax(0, …) keeps the shrink that minmax(0, 1fr)
   was buying on narrow panels. The wires are measured from the DOM, so the settle poll re-lays them
   after the move. */
.v3-hiw .tb-split { grid-template-columns: auto minmax(0, 300px); justify-content: center; }
/* The research panel is the Strategy page's report composition (tb-report), which is content-height.
   The panel here is a fixed --hiw-viz-h band, so without this the report hangs from the top edge and
   leaves the dotted field empty underneath it. */
/* tidbits.css gives .tb-report `padding-inline: 20px 0` so the report can sit against the product
   board's right edge. Here it only pushed the stage 20px right of the field, which is what made the
   picker read as off-centre (field centre 456, pills centre 466). Symmetric, so the pills centre on
   the field. */
.v3-hiw .tb-report { height: 100%; align-content: center; padding-inline: 0; }
/* Kept from when this step stacked four report variants in one grid cell: the cell was as tall as the
   tallest and align-items:start pinned the short ones to its top edge. Moot with a single variant,
   but it is what the rule is for if one is ever added back. */
.v3-hiw .rp-stage__set { align-items: center; }
/* The composition is 501px tall now that the step shows the audience card alone (it was 711, then 652
   when the Reddit card lost a quote, and Reddit was the variant setting the height for all four). The
   band is viewport-derived, so fit the stage to it when the band is the smaller of the two.
   `zoom` rather than `transform: scale()` on purpose: zoom changes layout, so the stage's box shrinks
   with it and nothing is left overflowing the panel to extend the page's scroll height.
   The steps below are derived, not eyeballed. The band is
       --hiw-viz-h = clamp(380px, 100svh - 64px - 2 * clamp(24px, 4vh, 64px), 760px)
   and each step has to hold at the BOTTOM of its range, where the band is smallest:
       641px of window -> band 526  -> fits at 1
       611            -> band 498  -> .99
       571            -> band 459  -> .91
       531            -> band 419  -> .83
       <= 530         -> band floors at 380 -> .75
   Above 640px of window height the card needs no shrinking at all; the old table started at 820 and
   was down to .82 by 700, which was sized for the 652px version and now just made the card small. */
.v3-hiw .rp-stage { zoom: var(--rp-fit, 1); }
/* Founder, 1 Nov: no italic serif inside these cards, the plain face everywhere. report.css sets the
   quote chips in `italic 400 17px/1.15 var(--font-serif)` (its only use of the serif), and the same
   component is on /product/strategy/, the industries pages and the lab, so this is scoped to §3
   rather than changed at source. Size nudged down a touch because Geist runs larger than Instrument
   Serif at the same px. */
.v3-hiw .rp-quotes li { font: 400 16px/1.35 var(--font-body); letter-spacing: var(--track-body); }
@media (max-height: 640px) { .v3-hiw { --rp-fit: .99; } }
@media (max-height: 610px) { .v3-hiw { --rp-fit: .91; } }
@media (max-height: 570px) { .v3-hiw { --rp-fit: .83; } }
@media (max-height: 530px) { .v3-hiw { --rp-fit: .75; } }

/* The card is optically centred in the band BELOW the sticky nav, at every window height.
   Height and pin offset are derived from one another, so leftover space always splits evenly
   top and bottom instead of collecting at the bottom. */
.v3-hiw {
  --hiw-nav: 64px;                                         /* header.nv, sticky top:0 */
  --hiw-band: calc(100svh - var(--hiw-nav));
  --hiw-gutter: clamp(24px, 4vh, 64px);
  --hiw-copy: 280px;                                       /* nominal copy-block height */
  --hiw-viz-h: clamp(380px, calc(var(--hiw-band) - 2 * var(--hiw-gutter)), 760px);
  --hiw-top: calc(var(--hiw-nav) + (var(--hiw-band) - var(--hiw-viz-h)) / 2);
}
.v3-hiw__steps { list-style: none; margin: 0; padding: 0; }
/* A step must be TALLER than the band it holds, or the block releases almost as soon as it pins.
   The sticky range is (step - band - the band's margin-bottom); at 100svh that left only ~94px of
   hold, so the copy was never actually parked where the visual is. Sized from the band instead, with
   room for roughly half a viewport of hold. (relaystudio does the same: ~111vh per step.) */
.v3-hiw__step { min-height: calc(var(--hiw-viz-h) + 56vh); display: block; }
/* Half a card above and below, so the FIRST copy starts level with the card (and pins at the same
   instant it does), and the card lets go at the same instant the LAST copy does. --hiw-copy is a
   nominal copy height; it only needs to be close, it sets the tail, not the alignment. */
.v3-hiw__steps { padding-top: calc(var(--hiw-viz-h) / 2); padding-bottom: calc((var(--hiw-viz-h) - var(--hiw-copy)) / 2); }
/* h-fit + sticky: the block holds at --hiw-top until its step runs out. */
/* The copy is centred against the visual, not pinned to the top of it. The sticky element is now a
   BAND the same height as the visual, with the copy centred inside it, so the two columns read as one
   horizontal pair at every step. Pinning the copy itself at --hiw-top left it high against a tall card.
   The band's margin-bottom makes each block release early: a sticky element lets go when its MARGIN box
   reaches the container's bottom, and without it one block holds until its step's last pixel while the
   next starts at the next step's first - two headings on screen, touching. */
.v3-hiw__hold {
  position: sticky;
  /* Pin the copy's OWN centre on the card's centre line. top is measured against the element's layout
     box; the translate is paint-time and does not move the pin, so the block pins when its centre
     reaches the card's centre and is drawn there. */
  top: calc(var(--hiw-top) + var(--hiw-viz-h) / 2);
  transform: translateY(-50%);
  margin-bottom: 0;
}
.v3-hiw__copy {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  max-width: 34rem; text-align: left;
}
/* Only the block beside the visual reads. The handoff puts two on screen at once (one leaving at the
   top, one arriving at the bottom), and at full strength the eye does not know which to read. .is-on is
   already toggled by tour-scroll.js. Opacity only, so nothing reflows and the text stays selectable. */
.v3-hiw__step .v3-hiw__copy { opacity: .16; transition: opacity .45s ease; }
.v3-hiw__step.is-on .v3-hiw__copy { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .v3-hiw__step .v3-hiw__copy { opacity: 1; transition: none; } }
.v3-hiw__h { margin: 0; text-wrap: balance; }
.v3-hiw__b { margin: 0; color: var(--ink-80, inherit); }
.v3-hiw__link { margin-top: 6px; }

/* Below 1200px: one column, nothing pinned, and EVERY step carries its own visual.
   The pairing needs a visual column with enough height to travel inside, and under 1200px there is no
   room for one beside 34rem of copy. Collapsing to one column used to make .v3-hiw__visual its own
   grid ROW, and a sticky element cannot travel outside its parent, so the visual scrolled away after
   step 1 and steps 2, 3 and 4 had no picture at all.
   tour-scroll.js moves each panel INTO its step here. Moved, not duplicated: initReports, tabTidbits
   and the velo mascot are all bound to these exact nodes, and a second copy would double-initialise
   every one of them. */
@media (max-width: 1200px) {
  .v3-hiw__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .v3-hiw__steps { padding-top: 0; padding-bottom: 0; }
  .v3-hiw__step { min-height: 0; padding-block: clamp(28px, 6vw, 52px); }
  .v3-hiw__step + .v3-hiw__step { border-top: 1px solid var(--hairline); }
  .v3-hiw__hold { position: static; height: auto; margin-bottom: 0; transform: none; display: block; }
  /* Still a capped measure. Full-bleed copy is fine at 390px because the column is already ~324px,
     but at 1024 it ran one line of body text the whole width of the page. */
  .v3-hiw__copy { max-width: min(100%, 38rem); }
  .v3-hiw__step .v3-hiw__copy { opacity: 1; }          /* nothing is dimmed when nothing is pinned */

  /* The re-parented panel, now in normal flow under its copy. */
  .v3-hiw__step .tabs__panel { position: static; inset: auto; margin-top: clamp(20px, 4vw, 32px); }
  .v3-hiw__step .tour__viz {
    height: auto; min-height: 0; display: grid; align-content: center;
    margin-inline: calc(-1 * var(--inset)); border-radius: 0;
    padding: clamp(20px, 5vw, 36px) var(--inset);
  }
  .v3-hiw__step .tour__viz > .tb { min-height: 0; }
  /* No band to fit to any more, so no zoom and no forced height. */
  .v3-hiw .tb-report { height: auto; }
  .v3-hiw .rp-stage { zoom: 1; }
  .v3-hiw .rp-stage__set { align-items: start; }
}

/* Phones: one chip, and the report cropped by the field rather than fitted inside it (founder, 1 Nov:
   "this card is too big for mobile ... lets just feature one pill, and lets have it peak through from
   the bottom").
   All four chips wrapped to two rows and spent ~100px before the card even began. Only the selected
   one is shown now; it cycles every 5s, so each pass still names itself in turn. And the card runs off
   the bottom edge of its field instead of being contained, which both caps the height and reads as
   there being more of it than the screen can hold. */
/* The phone rule that used to live here capped the report panel's height and let the card peek out of
   the bottom of the frame. It was sized for the four-variant stack, which ran to 711px and genuinely
   did not fit. With the step down to the audience card alone the panel is 607px on a phone (the prompt
   stacks above the report below 1240px), and the cap was cutting 88px off a 430-wide screen and 103px
   off a 390 - straight through the middle of the table, which is the "this is cut out" failure again
   rather than a card peeking. Nothing to cap any more, so the card shows whole. */
@media (prefers-reduced-motion: reduce) { .v3-hiw__hold { position: static; height: auto; transform: none; } }

/* ── §5 · Alternatives ─────────────────────────────────────────────────────────────────────────
   The page's one dark band. Everything above it is paper and hairlines, so the switch to ink is the
   signal that the argument has changed: §2 and §3 show how it works, this one puts it beside what
   else the reader could do. Founder's reference for the treatment is Corgi's "Our Unique Advantage":
   near-black field, one centred white heading, the content floating on it.
   Grain over the fill because a flat near-black next to this much warm paper reads as a hole in the
   page; the same --grain the banner uses, at the same soft-light. */
.v3-alt {
  background: var(--ink);
  color: var(--on-dark);
  --alt-line: rgb(255 255 255 / .10);
  --alt-line-2: rgb(255 255 255 / .18);
  /* The table is a scroll container above 760px, and a scroll container's content width can still
     reach the document's own scrollWidth: measured 605px of document against a 390px viewport, so the
     whole PAGE scrolled sideways even though the table scrolled correctly inside itself. Clipped here,
     at the band, because nothing in this section is meant to escape it. `clip` rather than `hidden`
     so no second scrollport is created, and because §3's sticky column must not see a clipping
     ancestor if the two sections are ever nested differently. */
  overflow-x: clip;
}
.v3-alt::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--grain); background-size: 160px; opacity: .3; mix-blend-mode: soft-light;
}
/* The page's two vertical rails and the band's own top and bottom rules, redrawn in white.
   .rails::before/::after are painted in --hairline, which is ink on paper - invisible the moment the
   band behind them goes to ink, so the dark section was the one place on the page where the grid
   stopped. The founder's reference has them running straight through it. Redrawn here rather than
   lightened at source, because .rails is the whole page and every other section is paper. */
.v3-alt { border-block: 1px solid var(--alt-line); }
.v3-alt::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(var(--alt-line), var(--alt-line)) var(--rail-inset) 0 / 1px 100% no-repeat,
    linear-gradient(var(--alt-line), var(--alt-line)) calc(100% - var(--rail-inset)) 0 / 1px 100% no-repeat;
}
.v3-alt > .wrap { position: relative; z-index: 1; }
/* One centred line, nothing else. .sec-head is not used here because it carries a grid, an eyebrow
   slot and a lead slot that this head has none of. */
.v3-alt__head { text-align: center; margin-bottom: clamp(32px, 24px + 2vw, 56px); }
.v3-alt__head .t-h1 { color: var(--on-dark); }

/* The table. A real <table>, because it IS one: five options against five jobs, and a screen reader
   should get the row and column headers. Laid out with fixed columns so the five option columns are
   equal and the marks line up down the page, which is the whole point of the picture. */
/* The table registers to the page's rails, with nothing between its rules and the vertical lines
   (founder: "make sure the comparison chart registers to the left and right grids with no spacing.
   It just looks odd with the lines having some spacing there"). .flush already pulls it out to the
   wrap's full width, which IS rail to rail; what was holding it off was this element's own
   padding-inline, so that is gone and the job cell carries the text inset instead. The rules now land
   on the rails and the horizontal lines read as part of the page's grid rather than as a floating box. */
.v3-alt .alt-wrap { overflow-x: auto; overscroll-behavior-x: contain; }
/* The positioned context for the lit overlay, and the thing that carries the table's minimum width.
   Separate from .alt-wrap because the wrap is the scrollport: on a phone it is 357px while the table
   is 620px, and the overlay is positioned in percentages. */
.v3-alt .alt-rail { position: relative; min-width: 700px; }
.v3-alt .alt-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
/* One source for the column geometry: the job column's width and, from it, the five equal option
   columns. The lit overlay is positioned from the same two values, so it cannot drift. */
.v3-alt { --alt-job: 34%; --alt-col: calc((100% - var(--alt-job)) / 5); }
.v3-alt .alt-th--job { width: var(--alt-job); }

/* The header had 18px under the names and nothing above them, so the row sat on the first rule with
   our column's wash starting hard against the type (founder: "it feels so squished together"). Even
   padding, and more of it. */
.v3-alt .alt-th {
  padding: 22px 12px; text-align: center; vertical-align: middle;
  font: 500 var(--t-small)/1.25 var(--font-body); letter-spacing: -.01em; color: var(--on-dark-64);
}
.v3-alt .alt-th__name { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.v3-alt .alt-th__short { display: none; }
/* The mark is pixel art on a 28x24 grid (logos/12b-dither-caps/mark.svg). At 17x14 it was being
   resampled at 0.607 of that grid, so every dithered cell landed between device pixels and the whole
   thing read as noise (founder: "the logo doesnt fit well"). 14x12 is exactly half, which is 1:1 on a
   2x screen, and pixelated keeps the 1x pass from smoothing it back into mush. */
.v3-alt .alt-mark { width: 14px; height: 12px; opacity: .95; image-rendering: pixelated; }
/* Our column is the one the eye should land on, so it is the only lit one: a faint warm wash behind
   it, a brighter label, and the hairline either side carried all the way down the body rows. */
.v3-alt .alt-th--us { color: var(--on-dark); font-weight: 550; }
.v3-alt .alt-th--us, .v3-alt .alt-tr > :nth-child(2) {
  background: rgb(255 90 36 / .07);
  box-shadow: inset 1px 0 0 var(--alt-line-2), inset -1px 0 0 var(--alt-line-2);
}
.v3-alt thead .alt-th--us { box-shadow: inset 1px 0 0 var(--alt-line-2), inset -1px 0 0 var(--alt-line-2), inset 0 1px 0 var(--alt-line-2); }
/* The light that runs around our column (founder: "that nice animated orange thing going around the
   outpaced"). It is the house borderLight() from system/motion.js, the same one the cards use, driven
   from v3/alt.js. It rides on an empty overlay rather than on a cell, because .lit__border is
   absolutely positioned and a positioned table cell is a layout trap.
   Square, not rounded, at the founder's ask: .lit__border's own radius is var(--r-lg) - 1, overridden
   here along with the column's corners so the whole column reads as one sharp rectangle. */
.v3-alt .alt-lit { position: absolute; top: 0; bottom: 0; left: var(--alt-job); width: var(--alt-col); pointer-events: none; z-index: 2; }
.v3-alt .alt-lit > .lit__border { border-radius: 0; }

.v3-alt .alt-tr > * { border-top: 1px solid var(--alt-line); }
/* Vertical rules as well as horizontal, so it reads as a grid (founder, 2 Nov). border-collapse is
   already `collapse`, so one border per boundary: every cell takes a left rule except the first in
   its row, which keeps the job column open on the page rather than boxed in.
   The two boundaries either side of OUR column are left transparent: the lit outline around it is a
   box-shadow at exactly those positions, and a border there as well would double the line and show as
   a brighter seam against the rest of the grid. */
.v3-alt :is(.alt-th, .alt-td) + :is(.alt-th, .alt-td) { border-left: 1px solid var(--alt-line); }
.v3-alt tr > :nth-child(2), .v3-alt tr > :nth-child(3) { border-left-color: transparent; }
.v3-alt .alt-job {
  padding: 18px 20px 18px var(--inset); text-align: left; vertical-align: middle;
  font: 400 var(--t-body)/1.35 var(--font-body); letter-spacing: -.011em; color: var(--on-dark);
  text-wrap: pretty;
}
.v3-alt .alt-td { padding: 18px 12px; text-align: center; vertical-align: middle; }
.v3-alt .alt-cell { display: inline-flex; }

/* The marks. Whole-pixel rects on an 8×8 grid, sized to a multiple of 8 so every cell lands on a
   device pixel: 24px at 1x, 48 at 2x. Weighted by what they mean rather than coloured by column -
   done for you reads at full strength, partly is halved, "you do it" is quietest, because a column of
   loud crosses would read as an attack rather than as an accounting. */
.v3-alt .alt-m { width: 24px; height: 24px; }
/* Everyone else's ticks are dulled (founder, 2 Nov: "make the carousel and agency dull ticks"), which
   in practice is those two columns - design tools and doing it yourself have no ticks to dull. This
   changes the WEIGHT, never the mark: a tick still means "done for you" wherever it appears and the
   legend still says so. It is hierarchy, so our column reads first on a page where five columns of
   equally bright ticks were competing with it, not a quieter way of marking a competitor down. */
.v3-alt .alt-m--yes { color: rgb(255 255 255 / .46); }
/* Our ticks are the orange ones. This has to key off :nth-child(2) like the column wash does, not off
   an .alt-td--us class: only the cost cell carries that class, so the colour never reached a tick. */
.v3-alt .alt-tr > :nth-child(2) .alt-m--yes { color: var(--orange); }
.v3-alt .alt-m--partial { color: rgb(255 255 255 / .42); }
.v3-alt .alt-m__ring { opacity: .55; }
.v3-alt .alt-m--no { color: rgb(255 255 255 / .30); }

/* The cost row closes the table because it is the answer to the column that the marks cannot settle:
   an agency genuinely does do all of this, and pretending otherwise is the one claim a reader could
   falsify from experience. Its own rule, heavier, so it reads as the bottom line and not a sixth job. */
.v3-alt .alt-tr--first-text > * { border-top: 1px solid var(--alt-line-2); }
.v3-alt .alt-td--text {
  font: 400 var(--t-small)/1.35 var(--font-body); letter-spacing: -.01em; color: var(--on-dark-64);
  text-wrap: balance;
}
.v3-alt .alt-td--text.alt-td--us { color: var(--on-dark); font-weight: 550; }
.v3-alt .alt-tr--last .alt-td--us { box-shadow: inset 1px 0 0 var(--alt-line-2), inset -1px 0 0 var(--alt-line-2), inset 0 -1px 0 var(--alt-line-2); }

.v3-alt .alt-legend {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
  margin-top: clamp(24px, 18px + 1vw, 36px);
  font: 400 var(--t-micro)/1 var(--font-body); color: var(--on-dark-64);
}
.v3-alt .alt-legend li { display: inline-flex; align-items: center; gap: 8px; }
.v3-alt .alt-legend .alt-m { width: 14px; height: 14px; }

/* Phones: let it SCROLL rather than shrink (founder, 2 Nov: "make how we compare scrollable to the
   right on phone so its not to squished together"). It used to be squeezed to fit - 6px marks, 10px
   headers, abbreviated column names, and the closing rows breaking mid-word - which fitted but read
   as cramped. A 620px table in a scroll container keeps the desktop proportions and asks for a drag
   instead.
   The job column is sticky at the left edge so the row label stays with the marks you are scrolling
   to; it carries the section's own ink as its background, since a transparent sticky cell would let
   the columns slide visibly underneath it. */
@media (max-width: 760px) {
  .v3-alt .alt-wrap { overflow-x: auto; }
  /* Wider rail and a narrower label column than desktop's 34% (founder: "make the text column on the
     left smaller too"). 28% of 660 is 185px for the labels, which still holds the longest of them on
     two lines, and leaves 95px for each option column instead of 82 - enough for the Outpaced header
     to sit inside its own column with air either side (founder: "make sure there is spacing on the
     left / right of the logo"). */
  .v3-alt { --alt-job: 28%; }
  .v3-alt .alt-rail { min-width: 660px; }
  .v3-alt .alt-th { font-size: var(--t-micro); padding: 18px 12px; letter-spacing: -.01em; }
  .v3-alt .alt-th__name { gap: 5px; }
  .v3-alt .alt-th__long { display: inline; }
  .v3-alt .alt-th__short { display: none; }
  .v3-alt .alt-job { padding: 16px 14px 16px var(--inset); font-size: var(--t-small); }
  .v3-alt .alt-td { padding: 16px 10px; }
  .v3-alt .alt-m { width: 20px; height: 20px; }
  .v3-alt .alt-td--text { font-size: var(--t-micro); letter-spacing: 0; line-height: 1.35; }
  /* The sticky label column needs an edge of its own: without one the scrolling columns slide right
     up against the label and it reads as bleeding into them rather than sitting over them
     (founder: "make sure the border exists at the left"). The inset shadow rather than a border so
     it does not add a pixel to the fixed column width. */
  .v3-alt :is(.alt-job, .alt-th--job) {
    position: sticky; left: 0; z-index: 2; background: var(--ink);
    /* BOTH edges. The right one separates the label from the columns sliding under it. The left one
       replaces the page's own rail: .v3-alt::after paints the rails behind the content, and this
       cell's opaque ink background covers the left one for the height of the table, so the line
       simply vanished alongside it (founder: "border on the left is still missing"). */
    box-shadow: inset 1px 0 0 var(--alt-line), inset -1px 0 0 var(--alt-line);
  }
  /* The running light STAYS on phones, it just must not paint over the sticky label column
     (founder: "we want it to be there, just not over the left text column").
     It was never a positioning problem. .alt-lit and the sticky cells both sat at z-index 2, and the
     overlay comes after the table in the DOM, so it won the tie and drew on top of the labels as our
     column scrolled under them. Lifting the sticky cells above it means the column's own ink hides
     the light the moment it passes behind, which is what a sticky column is for. */
  .v3-alt :is(.alt-job, .alt-th--job) { z-index: 3; }
  .v3-alt .alt-legend { gap: 8px 18px; }
}

/* ── §6 · Price ────────────────────────────────────────────────────────────────────────────────
   Centred head, no lead (founder: "make it centred please. no subheading please"). pricing.css lays
   .pricing__top as `1fr auto` with the billing toggle in the second column, which only works with a
   left-aligned head and a lead to fill the width. One column instead, both centred. */
.v3-price .pricing__top { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: var(--s-6); }
.v3-price .pricing__head { justify-items: center; text-align: center; }
.v3-price .bill { justify-self: center; }

/* The credits meter's cells stretched to fill the card: `repeat(30, minmax(0, 1fr))` against a 10px
   height, so a cell was 11.4px wide at one card width and under 9px at another, and the squares read
   as rectangles that changed shape with the viewport (founder: "make the pricing dots spacing
   fixed"). Fixed 8px cells on a fixed 3px gap: 30 cells come to 327px, which fits the narrowest card
   the plans ever get. Square at every width, and the three meters are now comparable because the
   cells are the same size in all of them. */
.v3-price .meter { grid-template-columns: repeat(30, minmax(0, 8px)); gap: 3px; }
.v3-price .meter i { width: auto; height: auto; aspect-ratio: 1; }

/* The price glyphs. Measured on the real element at 53px in F37 Bolton:
       tabular       $ 30.7 · each digit 30.7 · the PERIOD 30.7
       proportional  the same digits at 22.7 avg, and the period at 11.1
   Tabular gives one even rhythm, which is what it is for and why pricing.css asks for it. Its cost is
   that the period and the narrow "1" each get a full digit's box, so "$41.65" reads as "$41 . 65"
   (founder: "there is still so much spacing between the dots") and "$199" reads loose around the 1.
   Switching to proportional fixed the period and broke the rhythm instead - digits of three different
   widths in one number (founder: "the pricing numbers look funky and misaligned").
   So: keep tabular, and take the period out of the number. The annual equivalent is shown to the
   dollar and the exact charge sits right underneath it ("$499.80 billed once a year"), so nothing is
   hidden; rounding is to nearest, which lands $41.65 on $42 and never understates the price. */

/* The monthly total, under the meter. The per-day number above it is the one that ladders between
   plans; this is the unit the plan is actually metered in, so it stays, quietly. */
.v3-price .plan__rate { margin-top: var(--s-2); color: var(--ink-58); }
/* The per-day line is the plan's headline number, so it is set like one rather than like the
   descriptive "for" sentence pricing.css styles here. */
.v3-price .plan__for { color: var(--ink-64); }
.v3-price .plan__for b { color: var(--ink); font-weight: 550; }


/* 30 fixed 8px cells come to 327px, which is wider than a plan card between 760 and 1000px, so the
   meter pushed 66px of horizontal scroll onto the whole page (measured at 834). minmax(0, 8px) caps
   a cell at 8px and lets it shrink when the card is narrower; aspect-ratio keeps it square at
   whatever width it gets, which is the thing the fixed size was there to protect. One rule now
   covers every width, so the phone step-down is gone. */

/* ── Footer art ────────────────────────────────────────────────────────────────────────────────
   The painted town (foot__town) is 1511x560 and sits at the BOTTOM of a 788px art box, so its own
   top edge lands 227px down, in open sky - and the clouds painted at the top of the image are cut
   off square by it (founder: "why does the cloud get cut out in the bg"). It reads as a seam because
   the dithered sky above is a different texture, not because the image is cropped: at 1512 it renders
   at its natural size, un-scaled.
   This is NOT something the v1 nav/footer trim caused. Measured on / and on /v3/: art 788px, town
   561px, top edge at 227px on both. Fixed here only, because / is not ours to change tonight.
   A soft mask over the top 120px lets the painted clouds dissolve into the dither instead of ending
   on a line. 120px is roughly the depth of the cloud band in the artwork, so the fade covers the cut
   without eating the treeline. */
/* With the tagline band, the link columns and the base strip all gone, .foot__in is an EMPTY div and
   the footer's own padding-top: 92px sits above nothing - 92px of white between the CTA's rule and
   the first pixel of sky (founder: "can we remove this gap then?"). Both go, so the dithered field
   starts straight under the section line. */
.v3-foot { padding-top: 0; }
.v3-foot > .foot__in:empty { display: none; }

/* The dithered sky is a snapshot painted at background-size: 100% 100%, so its top row is a dense
   band of pink stretched across the full width, and .foot__art clips it square - the field arrives as
   an edge rather than as cloud (founder: "i am talking about the cloud in the bg behind that painted
   img"). Fading the whole art box over its first 150px lets the dither emerge out of the page, which
   is what the torn edge lower down is already doing. The big logo is a SIBLING of .foot__art, not a
   child, so it keeps its full weight.
   The painted town keeps its own shorter fade: that is a second seam, 227px further down, where the
   image's own top edge cuts through the clouds painted at the top of it. */
.v3-foot .foot__art {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 150px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 150px);
}
.v3-foot .foot__town img {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 120px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 120px);
}
