/* evenli.tech — the public page. Built on tokens.css beside this file, which is BYTE-IDENTICAL to
 * the app's (tests/site-shell.test.mjs). Nothing here redefines a token the product owns.
 *
 * WHY THIS FILE DECLARES ANY VALUES OF ITS OWN, stated rather than quietly done.
 *
 * The product's scale is six type sizes topping out at 32px, six spacing steps topping out at 32px,
 * and that is correct for a phone app read one-handed. A landing page read on a 27-inch display
 * needs a display step above the app's largest and a section rhythm four times its largest gap. The
 * app's own rule says a value with no token was a value chosen by eye — so rather than scatter
 * clamps through the stylesheet, the page's extra values are a NAMED SET declared once, directly
 * below, and everything else comes from the shared file. tests/site-page.test.mjs asserts each is
 * declared exactly once and that no hex colour appears anywhere in here.
 *
 * THE DARK BAND USES --ink AS ITS GROUND AND --ground AS ITS TEXT. The mock-up invented --deep and
 * --on-deep for it; those are not in the token system and the product has no fourth hue. Inverting
 * the two it already has is exactly what .cell.today does in the app, so the band is in-system and
 * follows the reader's theme without a second palette to keep in step.
 *
 * NO INLINE STYLES ANYWHERE, and that is a CSP consequence rather than a preference. site/vercel.json
 * declares `style-src 'self'`, so a style="..." attribute is dropped by the browser with nothing on
 * the page to say so. The mock-up has a dozen of them because a mock-up has no CSP; every one became
 * a class here, and the suite scans for any that come back.
 */

/* ---- The page's own named values, declared once each ------------------------------------- */
:root {
  /* Display type, above the app's --t-display. Complete `font` shorthands, matching the convention
     the shared file sets, so a block writing `font: var(--t-hero)` gets weight, size, leading and
     face together. */
  --t-hero: 400 clamp(34px, 5.6vw, 62px)/1.06 var(--font-serif);
  --t-h2: 400 clamp(27px, 4.2vw, 42px)/1.08 var(--font-serif);
  --t-lede: 400 clamp(16.5px, 1.4vw, 19px)/1.5 var(--font-sans);

  /* Section rhythm. Two steps, because a landing page has exactly two kinds of gap: between
     sections and inside one. */
  --band: 104px;
  --band-sm: 76px;

  /* The two measures: the page's shell, and the width running text is comfortable at. */
  --shell: 1060px;
  --measure: 700px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  font: var(--t-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* A landing page with one off-screen element scrolls sideways on a phone and the cause is never
     the element you suspect. Asserted by the suite. */
  overflow-x: hidden;
}

/* The band behind a phone's top system bar, so the sticky header's translucency does not leave a
   strip of page showing through above it. */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  background: var(--ground);
  z-index: 60;
}

/* ---- The ambient haze -------------------------------------------------------------------------
   --ground is one flat colour, and a whole screen of the dark theme's near-black reads as a
   switched-off display rather than as a surface. Six very large, very soft pools move it up and
   down unevenly so the page has a direction of light. Smooth by construction: no noise, no grain,
   nothing that tiles -- the only variation is the overlap of gradients wider than a phone.

   HIGHLIGHTS ARE --surface AND SHADOWS ARE --scrim, which is what makes the ceiling structural
   rather than a number somebody has to respect. A card is raised by being lighter than the page
   behind it; a haze that out-ran a card would undo that everywhere the two meet, gradually, across
   a gradient, which is the hardest kind of wrong to notice. Because every highlight is a mix
   TOWARD --surface, no amount of overlap can take the page past it -- source-over compositing
   approaches the colour and never exceeds it. And both tokens point the same way in both themes:
   --surface is lighter than --ground in each, --scrim darker in each.

   THE TWO STRENGTHS ARE THEMED AND THE GEOMETRY IS NOT, and that split is measured rather than
   chosen. --scrim sits 11 RGB units below --ground in the dark theme and 224 below it in the light
   one, so one percentage cannot possibly mean the same thing in both. Everything else -- where the
   pools are, how big, how they fall off -- is written once, so the two themes cannot drift into
   different compositions.

   SIZED IN vmax, NOT IN PER CENT OF THE BOX, and that is the fix for the defect the founder found.
   A gradient sized as a percentage grows with the viewport: tuned on a 390px phone it looked
   right, and in a 1792px-wide window the pools were wider than the screen, so the variation across
   it nearly vanished and the page read as a flat dark grey. vmax gives the pools a physical scale,
   so a wide window shows more of the composition instead of less of it. The suite now asserts the
   spread at BOTH sizes.

   EVERY POOL FALLS OFF ON A BELL CURVE, (1 - t^2)^2 sampled at 0 / 35 / 65 / 85% of its radius.
   The first version used two stops and a hard transparent terminus; amplified forty times it
   showed unmistakable ELLIPSES with rims, because a linear ramp arrives at its end with the same
   slope it had all along and the eye finds that edge. This curve reaches zero with zero slope at
   the rim and leaves the centre flat instead of peaked, so pools dissolve into each other with
   nothing to catch on.

   VIEWPORT-FIXED, not scrolled with the document. A gradient sized to a page this long stretches
   into visible bands, and a texture sliding past under the content reads as wallpaper. Fixed, it
   reads as the light in the room. position:fixed on a pseudo-element rather than
   background-attachment:fixed, which iOS Safari does not honour.

   tests/haze-math.mjs evaluates this stack over a grid, at both viewports and in both themes, and
   the suite asserts the spread, the ceiling, and that body text still clears 4.5:1 at the worst
   point of the page. Change a number here and that guard answers. */
:root {
  /* How far a highlight pool moves the page toward --surface, and a shadow pool toward --scrim. */
  --haze-lift: 55%;
  --haze-shade: 9%;
}
@media (prefers-color-scheme: dark) {
  :root {
    /* Both bigger, for the reason in the header: the dark theme's --scrim is only 11 RGB units
       from --ground, where the light theme's is 224, and --surface is 8 units away rather than
       the light theme's 8-unit step to white seen against a far brighter ground. */
    --haze-lift: 70%;
    --haze-shade: 60%;
  }
}

/* The ground lives on the ROOT element, not on body: a background on body paints after negative-z
   children and would hide the haze completely. */
html { background: var(--ground); }

html::before {
  content: "";
  position: fixed;
  inset: 0;
  /* Above the root background, below every in-flow box. */
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40vmax 40vmax at 6% 0%,
      color-mix(in srgb, var(--surface) var(--haze-lift), transparent),
      color-mix(in srgb, var(--surface) calc(var(--haze-lift) * 0.72), transparent) 35%,
      color-mix(in srgb, var(--surface) calc(var(--haze-lift) * 0.33), transparent) 65%,
      color-mix(in srgb, var(--surface) calc(var(--haze-lift) * 0.09), transparent) 85%,
      transparent),
    radial-gradient(34vmax 34vmax at 98% 16%,
      color-mix(in srgb, var(--scrim) calc(var(--haze-shade) * 0.85), transparent),
      color-mix(in srgb, var(--scrim) calc(var(--haze-shade) * 0.612), transparent) 35%,
      color-mix(in srgb, var(--scrim) calc(var(--haze-shade) * 0.2805), transparent) 65%,
      color-mix(in srgb, var(--scrim) calc(var(--haze-shade) * 0.0765), transparent) 85%,
      transparent),
    radial-gradient(30vmax 30vmax at 64% 68%,
      color-mix(in srgb, var(--surface) calc(var(--haze-lift) * 0.7), transparent),
      color-mix(in srgb, var(--surface) calc(var(--haze-lift) * 0.504), transparent) 35%,
      color-mix(in srgb, var(--surface) calc(var(--haze-lift) * 0.231), transparent) 65%,
      color-mix(in srgb, var(--surface) calc(var(--haze-lift) * 0.063), transparent) 85%,
      transparent),
    radial-gradient(46vmax 46vmax at 26% 98%,
      color-mix(in srgb, var(--scrim) calc(var(--haze-shade) * 0.9), transparent),
      color-mix(in srgb, var(--scrim) calc(var(--haze-shade) * 0.648), transparent) 35%,
      color-mix(in srgb, var(--scrim) calc(var(--haze-shade) * 0.297), transparent) 65%,
      color-mix(in srgb, var(--scrim) calc(var(--haze-shade) * 0.081), transparent) 85%,
      transparent),
    radial-gradient(24vmax 24vmax at 94% 90%,
      color-mix(in srgb, var(--surface) calc(var(--haze-lift) * 0.55), transparent),
      color-mix(in srgb, var(--surface) calc(var(--haze-lift) * 0.396), transparent) 35%,
      color-mix(in srgb, var(--surface) calc(var(--haze-lift) * 0.1815), transparent) 65%,
      color-mix(in srgb, var(--surface) calc(var(--haze-lift) * 0.0495), transparent) 85%,
      transparent),
    radial-gradient(28vmax 28vmax at 44% 34%,
      color-mix(in srgb, var(--scrim) calc(var(--haze-shade) * 0.5), transparent),
      color-mix(in srgb, var(--scrim) calc(var(--haze-shade) * 0.36), transparent) 35%,
      color-mix(in srgb, var(--scrim) calc(var(--haze-shade) * 0.165), transparent) 65%,
      color-mix(in srgb, var(--scrim) calc(var(--haze-shade) * 0.045), transparent) 85%,
      transparent);
}
/* The gutter, written so it also clears a system bar at the phone's SIDE. One class, applied to
   every full-width band's own element, never as a padding shorthand that would zero the sides. */
.gut {
  padding-left: max(var(--s4), env(safe-area-inset-left, 0px));
  padding-right: max(var(--s4), env(safe-area-inset-right, 0px));
}

.shell { max-width: var(--shell); margin-inline: auto; }
.narrow { max-width: var(--measure); margin-inline: auto; }
.centre { text-align: center; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: var(--track-tight);
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; }

.sub {
  color: var(--ink-2);
  max-width: 48ch;
  font: var(--t-lede);
}
.sub + .sub { margin-top: var(--s3); }
.sub-centre { margin-inline: auto; }

.eyebrow {
  font: var(--t-micro);
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--s4);
}

/* ---- Controls ---------------------------------------------------------------------------- */
/* 48px minimum, the same floor the app's .act-btn holds, for the same reason: a thumb. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font: var(--t-title);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.btn-pri { background: var(--ink); color: var(--ground); }
.btn-sec { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn:focus-visible { outline: 2px solid var(--carer-mike); outline-offset: 2px; }

/* ---- Header ------------------------------------------------------------------------------ */
header.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--chrome-bg);
  backdrop-filter: var(--chrome-blur);
  -webkit-backdrop-filter: var(--chrome-blur);
  border-bottom: 1px solid transparent;
  transition: border-color var(--m-sheet) ease;
}
header.top.stuck { border-bottom-color: var(--chrome-rule); }
.top-in {
  max-width: var(--shell);
  margin-inline: auto;
  padding-block: var(--s3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}
.mark { width: 104px; height: auto; color: var(--ink); display: block; }

/* ---- Hero -------------------------------------------------------------------------------- */
.hero { padding-block: 64px 0; }
.hero h1 { font: var(--t-hero); letter-spacing: var(--track-tight); max-width: 18ch; }
.hero .sub { margin-top: var(--s5); }

/* The two partial weeks. ONE grid, two equal tracks, two elements with the identical class — so
   making one of them louder requires editing the markup rather than a number. Brand anti-pattern 1
   is the rule most likely to be broken by accident, and it was corrected three times in the
   mock-up, so the equality is structural here instead of a pair of matching declarations. */
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
  margin-top: 46px;
}
.col {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-sheet);
  padding: var(--s5) var(--s4) 22px;
  box-shadow: var(--e1);
}
.col-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s3);
  margin-bottom: 2px;
}
.col h4 { margin: 0; font: var(--t-title); font-size: 14px; letter-spacing: 0; }
.col .who { font: var(--t-meta); font-size: 11.5px; color: var(--ink-3); }

.row {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
  padding-block: 11px;
  border-top: 1px solid var(--rule);
  font: var(--t-body);
}
.row .d {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--ink-3);
  min-width: 36px;
  flex: 0 0 auto;
}
.row .x { color: var(--ink-2); min-width: 0; }
.row .x b { color: var(--ink); font-weight: 600; }
.row .x.gap { color: var(--ink-3); opacity: .5; }
.flag { color: var(--alert); font-weight: 600; }

/* The merged week: the only lifted, ink-edged card in the hero. The two columns above are equals
   and what they BECOME is the subject, so the emphasis belongs here and nowhere above. */
.col.merged {
  border-color: color-mix(in srgb, var(--ink) 26%, var(--rule));
  box-shadow: var(--e2);
}
.arrow {
  display: flex;
  justify-content: center;
  color: var(--ink-3);
  padding-block: 18px var(--s4);
}

.join { text-align: center; padding-block: 40px 0; }
.join .k {
  font-family: var(--font-serif);
  font-size: clamp(23px, 3.4vw, 34px);
  line-height: 1.2;
  max-width: 24ch;
  margin-inline: auto;
  letter-spacing: var(--track-tight);
}
.join .k2 { font: var(--t-body); color: var(--ink-3); margin-top: var(--s3); }

/* ---- Sections ---------------------------------------------------------------------------- */
section.band { padding-block: var(--band) 0; }
section.band h2, .deep h2 { font: var(--t-h2); letter-spacing: var(--track-tight); }
section.band .sub { margin-top: var(--s4); }

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.pair.flip > :first-child { order: 2; }

/* ---- The inverted band ------------------------------------------------------------------- */
/* --ink as ground, --ground as text. In-system, follows the theme, no second palette. */
.deep {
  background: var(--ink);
  color: var(--ground);
  margin-top: var(--band);
  padding-block: 92px;
}
.deep .sub { color: color-mix(in srgb, var(--ground) 76%, transparent); }
.deep .eyebrow { color: color-mix(in srgb, var(--ground) 56%, transparent); }
.mail {
  background: color-mix(in srgb, var(--ground) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--ground) 18%, transparent);
  border-radius: var(--r-card);
  padding: var(--s5) var(--s5) 22px;
}
.mail .from { font: var(--t-meta); font-size: 12px; color: color-mix(in srgb, var(--ground) 56%, transparent); }
.mail .subj { font-family: var(--font-serif); font-size: 21px; margin: 6px 0 var(--s3); }
.mail .ln {
  font: var(--t-body);
  padding-block: var(--s2);
  border-top: 1px solid color-mix(in srgb, var(--ground) 14%, transparent);
  color: color-mix(in srgb, var(--ground) 84%, transparent);
}
.mail .ln-quiet { color: color-mix(in srgb, var(--ground) 56%, transparent); }

/* ---- The app, shown ---------------------------------------------------------------------- */
.media { min-width: 0; }
.phone {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 28px;
  padding: 15px 13px 19px;
  box-shadow: var(--e2);
  max-width: 332px;
  width: 100%;
}
.ph-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px var(--s1) 13px;
}
.ph-top .m { font-family: var(--font-serif); font-size: 27px; line-height: 1; }
.ph-top .t { font: var(--t-meta); font-size: 12px; color: var(--ink-3); }

.grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--s1); }
.cell {
  aspect-ratio: 1;
  border: 1px solid var(--rule);
  border-radius: var(--r-cell);
  background: var(--surface);
  position: relative;
  font: var(--t-numeral);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cell .bar { position: absolute; left: 5px; right: 5px; top: var(--s1); height: 2.5px; border-radius: 2px; }
/* Inverted, and the stripe tokens change with it — the product measured the uncovered-closure bar
   at 2.79:1 on an inverted ground, which is why --carer-*-on-today exists at all. */
.cell.today { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.cell.today .b-m { background: var(--carer-mike-on-today); }
.cell.open { border-style: dashed; color: var(--ink-3); }
.cell.mute { opacity: .4; }
.b-m { background: var(--carer-mike); }
.b-s { background: var(--carer-shannon); }
.b-g { background: var(--carer-gp); }

.legend {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 13px;
  font: var(--t-meta);
  font-size: 12px;
  color: var(--ink-3);
}
.legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-right: 5px; }
.sw-m { background: var(--carer-mike); }
.sw-s { background: var(--carer-shannon); }
.sw-g { background: var(--carer-gp); }
.sw-open { border: 1px dashed var(--ink-3); background: transparent; }

.dl {
  margin-top: var(--s3);
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: 13px;
}
.dl.hot { border-color: color-mix(in srgb, var(--alert) 50%, var(--rule)); }
.rung {
  display: inline-block;
  font: var(--t-micro);
  font-size: 10.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 3px var(--s2);
  border-radius: var(--r-chip);
  background: color-mix(in srgb, var(--alert) 12%, transparent);
  color: var(--alert);
}
.rung.calm { background: color-mix(in srgb, var(--ink-3) 14%, transparent); color: var(--ink-2); }
.dl-t { font: var(--t-title); font-size: 15px; margin-top: 6px; }
.dl-t.done { color: var(--ink-3); }
.dl-s { font: var(--t-meta); color: var(--ink-3); margin-top: 3px; }
.dl-act { margin-top: 11px; display: flex; align-items: center; gap: var(--s2); font: var(--t-title); font-size: 13.5px; }
.tick { width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid var(--ink-3); flex: 0 0 auto; }

/* ---- Video slots ------------------------------------------------------------------------- */
/* Both films are the app on a PHONE, so both slots are portrait. The second one used to be
   `.vid.wide` at 16/10, which was a guess made before anything had been filmed; a landscape frame
   around a portrait film is letterboxing on the one asset the page is built around.

   The ratio is the viewport the recorder actually used — 390 x 844 — and not a tidy 9/16, which is
   wider than a modern phone and would have left a band above and below. */
.vid {
  aspect-ratio: 390 / 844;
  max-width: 332px;
  width: 100%;
  position: relative;
  border-radius: var(--r-sheet);
  overflow: hidden;
  background: var(--ground);
  box-shadow: var(--e2);
}
.vid-v { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Shown ONLY where motion is unwelcome or autoplay was refused — see site.js. It starts hidden
   because a play button over a film that is already playing is a control that does nothing. */
.vid-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 0;
  background: color-mix(in srgb, var(--ground) 86%, transparent);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.vid-play:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.vid-what {
  font: var(--t-meta);
  color: var(--ink-2);
  max-width: 34ch;
  line-height: 1.45;
  margin: var(--s4) 0 0;
}
/* The clip hugs the text rather than the page edge. This is the mirror of the other clip
   section, whose media column is the RIGHT one and so starts adjacent to its text already; here
   the media column is the LEFT one, so without this the clip would sit 226px from the words that
   describe it. At <=880px `.pair .media` takes over and centres it, and it wins on specificity. */
.media-end { display: flex; justify-content: flex-end; }

/* A second heading stacked under the first in the same column. It needs a band of air or the
   two read as one run of text; --band-sm is the page's own smaller section gap, so this is not
   a new number. */
.next-up { margin-top: var(--band-sm); }

/* ---- How it behaves ---------------------------------------------------------------------- */
.honest { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); margin-top: 34px; }
.h-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  padding: 22px;
  box-shadow: var(--e1);
}
.h-card h3 { font-size: 20px; margin-bottom: var(--s2); }
.h-card p { color: var(--ink-2); font: var(--t-body); font-size: 14.5px; }

/* ---- The list ---------------------------------------------------------------------------- */
.cta-end { padding-block: var(--band) 0; text-align: center; }
.cta-end h2 { font: var(--t-h2); font-size: clamp(30px, 5.4vw, 52px); letter-spacing: var(--track-tight); }
.cta-end h2 em { font-style: italic; }

.signup {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 30px auto 0;
  max-width: 470px;
}
.signup input {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}
.signup input::placeholder { color: var(--ink-3); }
.signup input:focus-visible { outline: 2px solid var(--carer-mike); outline-offset: 1px; }

/* The one place a visitor's own typing is echoed back. Rendered through textContent by site.js —
   global constraint 2 — so this rule styles a message whose text can never be markup. */
.said { font: var(--t-lede); color: var(--ink); margin: 30px auto 0; max-width: 46ch; }
.said-bad { color: var(--alert); }

.fine { font: var(--t-meta); font-size: 12.5px; color: var(--ink-3); margin: var(--s4) auto 0; max-width: 46ch; }
.fine a { color: var(--ink-2); }

.ns {
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: var(--s4);
  margin: var(--s5) auto 0;
  max-width: 46ch;
  font: var(--t-body);
  color: var(--ink-2);
  text-align: left;
}

footer.f { border-top: 1px solid var(--rule); margin-top: 92px; padding-block: var(--s6) 48px; }
.f-in {
  max-width: var(--shell);
  margin-inline: auto;
  display: flex;
  gap: var(--s5);
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font: var(--t-meta);
  color: var(--ink-3);
}

/* ---- Narrower than a laptop -------------------------------------------------------------- */
@media (max-width: 880px) {
  .pair { grid-template-columns: 1fr; gap: var(--s6); }
  .pair.flip > :first-child { order: 0; }
  .pair .media { display: flex; justify-content: center; }
  section.band { padding-block: var(--band-sm) 0; }
  .deep { margin-top: var(--band-sm); padding-block: 68px; }
  .cta-end { padding-block: var(--band-sm) 0; }
  .hero { padding-block: 40px 0; }
}

/* 600px, not 400: the two hero weeks each hold a day label and a line of text, and they stop being
   readable side by side well before a phone's width. */
@media (max-width: 600px) {
  .two { grid-template-columns: 1fr; gap: var(--s3); }
  .honest { grid-template-columns: 1fr; }
  .phone, .vid { margin-inline: auto; }
}

/* ---- Motion ------------------------------------------------------------------------------ */
/* The reveal is additive: .rev only becomes invisible where motion is welcome, so a reader who has
   asked for less of it — or a browser without IntersectionObserver — sees the finished page rather
   than a blank one. Failing in the direction of "everything visible" is the only safe direction for
   a page whose whole job is being read. */
@media (prefers-reduced-motion: no-preference) {
  .rev {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s cubic-bezier(.2, .7, .3, 1), transform .6s cubic-bezier(.2, .7, .3, 1);
  }
  .rev.in { opacity: 1; transform: none; }
}

/* ---- The privacy page --------------------------------------------------------------------- */
/* One long column of prose, generated by tools/render_privacy.mjs. It declares no colour and no
   type of its own: every value here is a token or a measure, so the page follows the same theme as
   the rest of the site and cannot drift a shade away from it. */
.home { display: block; color: inherit; text-decoration: none; }
.prose {
  max-width: var(--measure);
  margin-inline: auto;
  padding-block: 64px var(--band);
}
.prose h1 { font: var(--t-h2); letter-spacing: var(--track-tight); }
.prose h2 {
  font: var(--t-lede);
  font-weight: 600;
  letter-spacing: var(--track-tight);
  margin-top: var(--s6);
  /* A hairline above each section, so sixteen headings read as sixteen sections rather than as one
     wall. The same --rule the day cells use. */
  padding-top: var(--s4);
  border-top: 1px solid var(--rule);
}
.prose h1 + p, .prose h2 + p, .prose h2 + ul { margin-top: var(--s3); }
.prose p, .prose li { margin-top: var(--s3); line-height: 1.6; }
.prose ul { margin-top: var(--s3); padding-left: var(--s4); }
.prose li { padding-left: var(--s2); }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
}
