/*
 * The home page's own styles (S-757), loaded after /css/tokens.css and /styles.css by index.html only.
 * This first part is what the eight screens share: the buttons' approved look, the masthead and footer as
 * approved, the screens' rhythm and grounds, the page title, and the small parts more than one screen uses.
 * Each screen's own rules follow it, one block class per screen (.home-opening … .home-closing).
 * Every value comes from tokens.css where one fits.
 * Nothing here lifts, glows or fades in: buttons darken and press down a pixel (styles.css).
 */

/* ── Buttons: the approved look on this page ───────────────────────────────────────── */

/* A bold label and a foot in the hover shade rather than a raw black (review note 3), 56px tall unless small. */
.button {
  min-height: 56px;
  font-weight: var(--weight-bold);
  box-shadow: inset 0 -2px 0 var(--action-hover);
}

.button--small {
  min-height: var(--tap);
}

.button--quiet {
  box-shadow: inset 0 0 0 1px var(--line-2);
}

/* The focus ring's marker halo (styles.css's :focus-visible) joins each button's own edge, which would otherwise
   replace it, so a button shows the same ring as every other control on the page. */
.button:focus-visible {
  box-shadow: inset 0 -2px 0 var(--action-hover), 0 0 0 5px var(--focus-halo);
}

.button--quiet:focus-visible {
  box-shadow: inset 0 0 0 1px var(--line-2), 0 0 0 5px var(--focus-halo);
}

/* With reduced motion a button still presses down its pixel, without gliding there. */
@media (prefers-reduced-motion: reduce) {
  .button {
    transition-property: background-color;
  }
}

/* ── Masthead: brand, Guides, Pricing, Sign in, Get started ────────────────────────── */

/* Paper's steps between the words: 32px from Guides to Pricing, 40px on to Sign in, 24px to the button.
   Below 720px styles.css leaves the brand, Sign in and Get started (and below 375px, the brand and Get started). */
.masthead--home .nav {
  gap: var(--space-2);
}

.masthead--home .nav__link--signin {
  margin-left: var(--space-2);
}

.masthead--home .nav .button--small {
  margin-left: var(--space-1);
}

/* With a large text size the row runs out of room: the nav drops under the brand instead of off the screen, with
   8px above and below the two rows. The bar is border-box, so its usual one row keeps its 72px (64px on phones). */
.masthead--home .masthead__bar,
.masthead--home .nav {
  flex-wrap: wrap;
}

.masthead--home .masthead__bar {
  padding-block: var(--space-2);
}

/* The wordmark's last letter reaches past its box (its tight tracking): 2px more box on the right keeps the "y"
   off the focus ring, and the margin gives the 2px back, so nothing moves. */
.masthead--home .brand,
.footer--home .brand {
  margin-inline-end: -2px;
  padding-inline-end: 2px;
}

/* A window too short to spare the masthead (a phone held sideways, or 400% zoom): it scrolls away with the page. */
@media (max-height: 25em) {
  .masthead--home {
    position: relative;
  }
}

/* Forced colours drop its ink and its shadow: a rule marks where it ends over what scrolls under it. */
@media (forced-colors: active) {
  .masthead--home {
    border-bottom: 1px solid CanvasText;
  }
}

/* ── Screens: the rhythm and the grounds ───────────────────────────────────────────── */

/* 128px above and below at 1440px, down to 64px on phones; 72px between a screen's headline and its body.
   The sides come from .wrap (1200px wide, so 120px at 1440px). No screen has a fixed height or clips. */
.screen {
  --screen-pad: clamp(var(--space-10), 8.9vw, var(--space-13));
  --screen-gap: clamp(var(--space-8), 5vw, 72px);
  padding-block: var(--screen-pad);
}

/* Keyboard focus and jumps keep 12px clear of the masthead (styles.css), at the height it really has: site.js
   keeps --masthead-height to it, two rows when a large text size wraps it, and only then makes it sticky
   (is-measured). Without the script it scrolls away with the page, so nothing it could cover needs room.
   A jump to a screen gives the 12px back, since the screen's own padding is room enough: its top meets the
   masthead's foot, with nothing of the screen before it showing between them. */
.masthead--home:not(.is-measured) {
  position: relative;
}

html {
  scroll-padding-top: calc(var(--masthead-height, 0px) + 12px);
}

.screen[id] {
  scroll-margin-top: -12px;
}

/* Where the masthead scrolls away (a short window, below), only the 12px stays. */
@media (max-height: 25em) {
  html {
    scroll-padding-top: 12px;
  }
}

/* The opening: the sunlit top of the water, lightening down into the water below it. */
.screen--surface {
  background: linear-gradient(180deg, var(--dive-0), var(--dive-1));
}

/* How it works, Proof and Questions: flat light water. Never --dive-3 (review note 3). */
.screen--water {
  background: var(--dive-1);
}

/* The work, How you'll know and Pricing: paper. */
.screen--paper {
  background: var(--surface-raised);
}

/* The closing (.screen--ink) stands on the ink, its roles remapped as on the masthead and footer: styles.css,
   "The ink". */

/* A screen's headline (.title) over its lead (.lead), 24px apart. */
.screen__head {
  display: grid;
  gap: var(--space-6);
  justify-items: start;
}

.screen__head--center {
  justify-items: center;
  text-align: center;
}

/* At a large text size a headline's longest word can be wider than a phone: it breaks instead of carrying the
   screen sideways (at the usual sizes no word is that wide, so nothing moves). */
.screen .title {
  overflow-wrap: anywhere;
}

/* ── The page title: the opening's H1 ──────────────────────────────────────────────── */

/* Its own size (review note 2): 64px on wide screens, 34px at 390px, 28px at 320px, so its three lines hold on
   every phone. It never takes .display, whose shared size and phone rules belong to the feature pages; a
   screen's H2 is .title. */
.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 8.8vw, 4rem);
  font-weight: var(--weight-heavy);
  font-stretch: var(--width-display);
  line-height: 1;
  letter-spacing: var(--tracking-display);
}

/* Paper's line breaks: each .line starts a line from 721px up; narrower, the words wrap freely (never <br>). */
.line {
  display: block;
}

/* The H1 keeps its three lines on phones too (review note 2's "Get recommended / by ChatGPT / and Gemini.").
   Wrapping freely, the fallback face set it on two lines and Archivo on three or four, so the whole first screen
   dropped when Archivo arrived after the first paint. From 20em up "Get recommended" (10.15em of the H1's
   size) always fits its line, so at a large text size on a narrow screen the words wrap freely, never in more
   lines than they need. */
@media (min-width: 20em) {
  .page-title .line {
    display: block;
  }
}

/* ── Small parts more than one screen uses ─────────────────────────────────────────── */

/* A small label: "Example shop" (an edge, the quiet ink) or a good state such as Named, Cited or Live. */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 3px var(--space-2);
  border-radius: var(--radius-chip);
  font-size: var(--size-13);
  font-weight: var(--weight-bold);
  line-height: calc(18 / 13);
  white-space: nowrap;
}

.chip--example {
  border: 1px solid var(--line-2);
  color: var(--text-2);
}

.chip--pass {
  background: var(--state-pass-wash);
  color: var(--state-pass);
}

/* An inline icon (<svg aria-hidden="true" focusable="false"> drawn in currentColor), kept at its own size. */
.icon {
  display: block;
  flex: none;
}

.icon--pass {
  color: var(--state-pass);
}

/* A raised paper card that floats over its ground: the opening's answer, How you'll know's answers, the free month. */
.panel {
  padding: var(--space-7);
  border-radius: var(--radius-panel);
  background: var(--surface-raised);
  box-shadow: var(--shadow-float), 0 0 0 1px var(--line-1);
}

/* Words that stay on one line together where a line ends: a figure and what it counts ("28 days", "90 new posts",
   "12 min read"), "how many", a hyphenated word ("28-Day", whose line would otherwise end on "28-", a dash). */
.keep {
  white-space: nowrap;
}

/* The quiet line: a caption, a footnote, the line under a website field. */
.quiet-line,
.signup__note {
  color: var(--text-3);
  font-size: var(--type-ui);
  line-height: 1.4;
}

/* The Head's highlighter on a name (review note 6): it follows the words when they wrap. It slices rather than
   clones at a break: in Chromium a cloned box turns text-wrap: pretty off for its whole paragraph, and a marked
   name never wraps at the usual text size anyway. */
mark {
  margin-inline: -2px;
  padding: 0 2px 2px;
  border-radius: var(--radius-chip);
  background: var(--marker);
  color: var(--text-on-marker);
}

/* A struck pair (review note 5): the old words stay slate under a line in the octopus's blue ink; the new
   words carry no underline. Each holds a .visually-hidden "Before: " or "Now: " for screen readers. Forced
   colours keep the line, in the text's own colour. */
del {
  color: var(--text-3);
  text-decoration-line: line-through;
  text-decoration-color: var(--head);
  text-decoration-thickness: 0.125em;
}

ins {
  text-decoration: none;
}

/* Scobly, still, at its perch (alt="" and aria-hidden="true"): 96px on wide screens, never over words or
   buttons. Inside a .perch it is placed by its screen (top, right, …) and the parts after it paint over it,
   so it peeks from behind them; give it z-index: 1 to sit in front instead. */
.pose {
  display: block;
  flex: none;
  width: var(--space-12);
  height: var(--space-12);
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.perch {
  position: relative;
}

.perch > .pose {
  position: absolute;
}

.perch > .pose ~ * {
  position: relative;
}

/* ── The website field: the opening's and the closing's ────────────────────────────── */

/* A GET form to /app/signup with the field named url, so it works without any script. The field is the
   palette's paper and ink: white, with ink words. */
.signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* one column the form's own width, so a large text size can't widen it */
  gap: 10px;
  width: 100%;
  max-width: 540px;
}

.signup__label {
  color: var(--text-1);
  font-size: var(--type-ui);
  font-weight: var(--weight-bold);
  line-height: 1.4;
}

/* The field keeps room for "example.com" (6em of its own text) and its padding: where the row can't hold that and
   the button, as with the reader's text much larger, the button drops under the field instead of squeezing it. */
.signup__row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: var(--space-2);
}

.signup__row .button {
  flex: none;
}

.signup__field {
  flex: 1 1 0;
  min-width: min(100%, 6.5em + 2 * var(--space-4));
  min-height: 56px;
  padding: 0 var(--space-4);
  border: 0;
  border-radius: var(--radius-control);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--slate);
  color: var(--ink);
  font-size: var(--size-18);
  font-weight: var(--weight-regular);
  transition: box-shadow var(--dur-short) ease;
}

.signup__field::placeholder {
  color: var(--slate);
  opacity: 1;
}

.signup__field:hover {
  box-shadow: inset 0 0 0 1px var(--ink-2);
}

.signup__field:focus-visible {
  box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 5px var(--focus-halo);
  outline: 2px solid var(--focus-outline);
  outline-offset: 2px;
}

.signup__note {
  padding-top: var(--space-1);
}

/* Where the quiet line can't be one line, it breaks between its two sentences, never inside a phrase ("a month."
   alone, or "No card / needed"). A sentence wider than the line (large text) wraps inside itself in even lines. */
.signup__sentence {
  display: inline-block;
  text-wrap: balance;
}

/* On the ink: centred. The field's edge is the ink's own light text colour, a faint ring on the white field. */
.signup--ink {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.signup--ink .signup__row {
  width: 100%;
}

.signup--ink .signup__field {
  box-shadow: inset 0 0 0 1px var(--on-rail-2);
}

.signup--ink .signup__field:hover {
  box-shadow: inset 0 0 0 1px var(--ink-2);
}

.signup--ink .signup__field:focus-visible {
  box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 5px var(--focus-halo);
}

/* ── Footer: the reef, then the row on the reef's own floor ─────────────────────────── */

/* The reef is styles.css's (.footer--reef, .reef …) as on the feature pages. Under it, the row: brand and
   tagline, then the seven links and the copyright, which drop under the brand when the row runs out of room. */
.footer--home {
  padding-bottom: 0;
}

.footer--home .footer__bar {
  justify-content: space-between;
  gap: var(--space-4) var(--space-8);
  padding-block: var(--space-5);
}

/* 32px plus the last link's own 8px: the copyright stands 40px after "Sign in", as drawn. */
.footer--home .footer__end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--space-7);
}

/* The links' 8px of padding hangs outside the row, so their words line up with the brand above them. */
.footer--home .footer__links {
  width: auto;
  margin-left: calc(-1 * var(--space-2));
}

/* hello@scobly.com is one word: at a large text size it may break rather than run off a phone. */
.footer--home .footer__links a {
  overflow-wrap: anywhere;
}

/* NVIDIA's member row (S-834, styles.css) stands on the reef's floor too, under the row and a hairline: the
   row's own 20px is the room above the line, and the same stands above and under the badge. */
.footer--home .footer__member {
  margin-top: 0;
  padding-block: var(--space-5);
}

/* ── Breakpoints (desktop first: 1100, 900, 720, 600, 480, 374) ────────────────────── */

@media (max-width: 720px) {
  .line {
    display: inline;
  }
}

@media (max-width: 600px) {
  .panel {
    padding: var(--space-5);
  }

  /* On phones a pose stands in its own 64px band above the part it perches on (review note 10). */
  .pose {
    width: var(--space-10);
    height: var(--space-10);
  }

  .perch > .pose {
    position: static;
    margin-left: auto;
  }

  /* The footer stacks: brand and tagline, the seven links in two columns of 44px rows, the copyright. */
  .footer--home .footer__bar {
    flex-direction: column;
    align-items: stretch;
  }

  .footer--home .footer__end {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
  }

  .footer--home .footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  /* The field and its button each take the full width. */
  .signup__field {
    flex-basis: 100%;
  }

  .signup__row .button {
    width: 100%;
  }
}

/* ── Forced colours and print ──────────────────────────────────────────────────────── */

@media (forced-colors: active) {
  .signup__field,
  .panel {
    border: 1px solid CanvasText;
  }

  mark {
    forced-color-adjust: none;
    background: Mark;
    color: MarkText;
  }

  /* The reef is a picture: reef.js reads its sea's and octopus's colours from the page, which forced colours would
     turn all to the one text colour, losing the closing's octopus in a band of it. */
  .footer--home .reef {
    forced-color-adjust: none;
  }
}

@media print {
  .signup {
    display: none;
  }

  /* Scobly's still poses are decoration and print badly away from what they perch on. */
  .pose {
    display: none;
  }

  /* The masthead doesn't print, so NVIDIA's badge over the headline would stand with no logo of Scobly's by
     it. On paper the footer's row says the membership, beside Scobly's own mark. */
  .home-opening__member {
    display: none;
  }

  /* A headline never ends a page alone: it keeps its lead, and stays with what follows where the page allows. */
  .screen__head {
    break-inside: avoid;
    break-after: avoid;
  }

  /* Paper prints without its backgrounds, so the ink prints as paper, in ink. */
  .screen--ink {
    --text-1: var(--ink);
    --text-2: var(--ink-2);
    --text-3: var(--slate);
    --head-ink: var(--octo-ink);
    --line-1: var(--hair);
    --line-2: var(--hair-strong);
    background: none;
    color: var(--text-1);
  }

  .footer--home {
    background: none;
  }

  /* The footer's row prints whole, never its links on one page and the copyright on the next. */
  .footer--home .footer__bar {
    break-inside: avoid;
  }
}

/* ── The opening: the promise beside its proof ─────────────────────────────────────── */

/* The rest of the first screen under the masthead (Paper's 900px less its 72px), the two columns in its
   middle as drawn. In a shorter window the box shrinks to its content, which brings the field up.
   Two rows since S-880: the member line at the top, in what was the screen's top padding, then the promise
   in the middle of what is left. --member-top is the line's place under the masthead, and --member-gap the
   least the headline keeps clear of it. */
.home-opening {
  --member-top: var(--space-7);
  --member-gap: var(--space-7);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  min-height: 828px;
  min-height: min(828px, 100svh - var(--header-height));
  padding-top: var(--member-top);
}

/* A member of the NVIDIA Inception program, said at the top of the page too (S-880; owner, 2026-11-26: "make
   this visible somewhere on top"; the footer's row, S-834, keeps NVIDIA's trademark line for the page). The
   line stands in the open water over the headline, 32px under the masthead and under Scobly's own logo, so
   it is on screen in a window of any height, and never nearer the headline than the masthead: it is a fact
   about the company, not a label for the promise. It comes after the promise in the page's own order, which
   starts with the headline, and takes the first row here. NVIDIA's rules for the badge are the footer's:
   its file as it came, 40px tall with its clear space, so its box stands a little over 30px, and never
   larger than Scobly's logo, the masthead's 34px mark (30px on a phone, where the badge follows, below). */
.home-opening__member {
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-3);
  font-size: var(--type-ui);
  line-height: 1.4;
}

/* The clear space drawn into the file is 5px of this height on each side: the margin sets the badge's own
   edge under Scobly's mark and over the headline's. */
.home-opening__badge {
  flex: none;
  width: auto;
  height: 40px;
  margin-left: -5px;
}

/* Where the words take two lines (a phone), they break evenly. */
.home-opening__membership {
  min-width: 0;
  text-wrap: balance;
}

/* Their feet line up: the quiet line under the field and the card's caption share a row. The gap narrows
   before the card does, so the card keeps its 470px down to 1208px wide. With the reader's text set much
   larger, the card wraps under the promise, to its right, rather than squeezing the headline. */
.home-opening__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--space-10) clamp(var(--space-8), 100% - 1120px, var(--space-11));
  /* The second row, under the member line. The margin is what the screen's own top padding was, less the
     line's place (--member-top and its 40px), so the promise stands where it stood before the line: in the
     middle of the screen in a tall window, and --screen-pad under the masthead in a short one. Where that
     padding is under 104px (below 1169px wide) the headline keeps --member-gap clear of the line instead,
     and the screen is that much taller. */
  grid-row: 2;
  align-self: center;
  margin-top: max(var(--screen-pad) - var(--member-top) - 40px, var(--member-gap));
}

/* As wide as "Get recommended"; the lead and the field are narrower. */
.home-opening__promise {
  flex: 0 1 auto;
  min-width: 0;
}

/* A word wider than its column (only with the reader's text at 200%) breaks rather than spilling out. */
.home-opening .page-title {
  overflow-wrap: break-word;
}

/* "answer-first" is kept whole (.keep): a line ending in "answer-" reads as a dash (344 to 372px wide). */
.home-opening__lead {
  max-width: calc(558em / 22);
  margin-top: 28px;
}

/* 40px under the lead. */
.home-opening__form {
  margin-top: var(--space-8);
}

/* The card and its caption take what is left, up to the drawn 470px. */
.home-opening__proof {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 320px;
  max-width: 470px;
  margin-left: auto;
}

/* Scobly peeks over the card's top edge, 33px in from its right; the card covers its lower 36px. */
.home-opening__pose {
  top: -60px;
  right: 33px;
}

/* ── The example answer ───────────────────────────────────────────────────────────── */

.home-opening__card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
}

.home-opening__card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-3);
}

/* Sentence case, so without the tracking Paper gave its capitals. */
.home-opening__label {
  color: var(--head-ink);
  font-size: var(--type-data);
  font-weight: var(--weight-bold);
  line-height: calc(20 / 14);
}

/* The buyer's question, on the right as in a chat. "What are the best stability running" is 14.9em, so
   15.25em of text keeps it on the first line with a little room to spare, and the bubble hugs its words as
   drawn; text-wrap: balance would split it after "stability" and leave the bubble wider than its text. */
.home-opening__question {
  align-self: flex-end;
  max-width: calc(15.25em + 28px);
  padding: var(--space-3) 14px;
  border-radius: var(--radius-panel) var(--radius-panel) var(--radius-chip) var(--radius-panel);
  background: var(--surface-sunken);
  color: var(--text-1);
  font-size: var(--size-16);
  line-height: 1.5;
  text-wrap: wrap;
}

.home-opening__answer {
  display: grid;
  gap: var(--space-3);
  color: var(--text-2);
  font-size: var(--size-16);
  line-height: calc(26 / 16);
}

/* Named and Cited, then the page it cited, which drops to its own line when the card is narrow. */
.home-opening__card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line-1);
}

.home-opening__chips {
  display: flex;
  flex: none;
  gap: 6px;
}

.home-opening__source {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--text-3);
  font-size: var(--type-data);
  line-height: calc(20 / 14);
}

.home-opening__address {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* ── Breakpoints ───────────────────────────────────────────────────────────────────── */

/* The headline across the top, then the lead and the field beside the card, whose top meets the lead's.
   Scobly peeks up into the open water right of the headline's short last lines. */
@media (max-width: 1100px) {
  .home-opening__grid {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      "title title"
      "lead  proof"
      "form  proof";
    align-items: start;
    gap: 0 var(--space-9);
  }

  .home-opening__promise {
    display: contents;
  }

  .home-opening .page-title {
    grid-area: title;
  }

  .home-opening__lead {
    grid-area: lead;
  }

  .home-opening__form {
    grid-area: form;
  }

  .home-opening__proof {
    grid-area: proof;
    max-width: none;
    margin-top: 28px;
    margin-left: 0;
  }
}

/* One column: the promise, then the card to its lower right, with room for Scobly's head between them. */
@media (max-width: 900px) {
  .home-opening__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas:
      "title"
      "lead"
      "form"
      "proof";
  }

  .home-opening__proof {
    justify-self: end;
    width: min(100%, 470px);
    margin-top: var(--space-10);
  }
}

/* On a phone styles.css sets the masthead's mark 30px, and the masthead's row has no room for a larger one
   (at 375px Linux leaves it under a pixel, S-836). So the badge's box is 30px there: NVIDIA's least on a
   screen, and no larger than Scobly's logo. The box is 165.1896 of the file's 216 units, the rest its
   clear space. */
@media (max-width: 640px) {
  .home-opening__badge {
    height: calc(30px * 216 / 165.1896);
  }
}

/* Scobly stands in its own band above the card, 64px, still peeking from behind its top edge. The member
   line stands 20px under the masthead and 28px over the headline, its words on two lines beside the badge
   below 482px: closer than on a wide screen, since it takes its room from the field and the button under it. */
@media (max-width: 600px) {
  .home-opening {
    --member-top: var(--space-5);
    --member-gap: 28px;
  }

  .home-opening__proof {
    justify-self: stretch;
    width: auto;
    margin-top: var(--screen-gap);
  }

  /* The card covers its lower 24px, as the wide card covers 36 of 96; the 14px is the column's gap. */
  .home-opening__pose {
    margin-right: 22px;
    margin-bottom: -38px;
  }

  .home-opening__card {
    padding: var(--space-5);
  }
}

/* The bubble keeps an edge when its fill is forced away; an inset outline, so its words wrap as before. */
@media (forced-colors: active) {
  .home-opening__question {
    outline: 1px solid CanvasText;
    outline-offset: -1px;
  }
}

/* ── The work: "Clear answers AI can read and cite." ─────────────────────────────── */

/* Three examples with no boxes (owner, 2026-11-17): on the left the new post as its photo and title; on the
   right the two changes, each old line struck in Scobly's blue ink right above the new one. Scobly works in
   the open water over them. From 720px down the same parts stack in reading order. */

/* One column the screen's own width: an auto column would grow to the headline's longest word at a large
   text size and carry the examples past the screen's edge with it. */
.home-work__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--screen-gap);
}

/* Paper's 440px at 22px, in ems so the break after "page," holds as the lead's size steps down. */
.home-work__head .lead {
  max-width: 20em;
}

/* One figure, named by its "Example shop" chip: the chip, the examples, then the footnote. The chip's row
   also holds Scobly, whose margins take it out of the row's height, so it rises into the open water and
   perches on the first change without pushing anything down. The columns are the no-box sketch's (Paper
   3G2-0): the post 26.7% of the width, the gap 6.7% and the changes the rest, so 320, 80 and 800px at 1440.
   At 320px the photo's 640px file is sharp on a 2x screen. */
.home-work__examples {
  --work-post: 320px;
  --work-gap: var(--space-11);
  display: grid;
  grid-template-columns: var(--work-post) minmax(0, 1fr);
  column-gap: var(--work-gap);
  row-gap: var(--space-4);
  align-items: start;
}

.home-work__chip {
  grid-area: 1 / 1;
  justify-self: start;
}

/* Its top and bottom margins add up to minus its 96px, so the row keeps the chip's height; its foot drops 18px
   past the row, through the 16px gap, onto the first change. It stands 300px into the changes' column, over the
   new title, or flush right where the column is narrower. */
.home-work__pose {
  grid-area: 1 / 2;
  align-self: end;
  justify-self: start;
  margin: -78px 0 -18px min(300px, 100% - var(--space-12));
}

.home-work__list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: var(--work-post) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: var(--work-gap);
  row-gap: var(--space-9);
  align-items: start;
}

.home-work__item {
  display: grid;
  align-content: start;
}

/* The post takes the left column; the two changes stack on the right, level with the photo's top. */
.home-work__item--post {
  grid-row: span 2;
}

.home-work__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-tile);
}

/* The post's own title, held close under its photo (22px: no step in tokens.css between 20 and 24). */
.home-work__post {
  margin-top: var(--space-3);
  color: var(--text-1);
  font-size: 1.375rem;
  font-weight: var(--weight-bold);
  line-height: calc(28 / 22);
  text-wrap: balance;
}

/* A change: the old line struck (the base rules draw the strike), the new one larger right under it, so the
   struck pairs lead the screen as in the no-box sketch (20px and 28px; 19px and 24px from 720px down). */
.home-work__old {
  font-size: var(--size-20);
  line-height: calc(28 / 20);
}

/* Chrome draws a line-through in whole pixels, so base's 0.125em (2.5px at 20px) comes out 2px. 0.14em (2.8px,
   2.7px at 19px) comes out 3px, nearer the sketch's ink at this size (its 1.9px at 11.5px). */
.home-work__old del {
  text-decoration-thickness: 0.14em;
}

/* Beside the photo, the first change hangs from its capitals, so its words start level with the photo's top
   edge rather than 5px under it (where text-box is supported; elsewhere the line box is level). */
.home-work__item--post + .home-work__item .home-work__old {
  text-box: trim-start cap alphabetic;
}

.home-work__new {
  --leading: calc(34 / 28);
  margin-top: var(--space-1);
  color: var(--text-1);
  font-size: var(--size-28);
  font-weight: var(--weight-bold);
  line-height: var(--leading);
  text-wrap: balance;
}

.home-work__new--fix {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

/* The check keeps to the first line's middle at any text size. */
.home-work__check {
  width: 1em;
  height: 1em;
  margin-top: calc((var(--leading) - 1) / 2 * 1em);
}

/* What each example is, and what it does: 24px under the example, as the board puts its words under each tile. */
.home-work__name {
  margin-top: var(--space-6);
  color: var(--text-1);
  font-size: var(--size-19);
  font-weight: var(--weight-bold);
  line-height: calc(26 / 19);
}

/* Paper's 300px measure, give or take, so each caption breaks where the approved board breaks it. */
.home-work__text {
  max-width: 18em;
  margin-top: var(--space-2);
  color: var(--text-2);
  font-size: var(--type-body);
  line-height: var(--leading-text);
}

/* ── Narrower: the columns narrow, then stack ─────────────────────────────────────── */

/* The post's column is 38% of the width up to its 320px, and holds its caption's first line, "Answers a buyer's
   question at the top," (18rem), but never takes more than half the width, so the changes keep room when the
   reader's text size is large. */
@media (max-width: 1100px) {
  .home-work__examples {
    --work-post: min(50%, max(18rem, min(38%, 320px)));
    --work-gap: var(--space-9);
  }
}

@media (max-width: 900px) {
  .home-work__examples {
    --work-gap: var(--space-8);
  }
}

/* Each line of the headline stays whole where it can: "Clear answers / AI can read and cite.", never "AI" ending
   the first line, cut from its clause. Narrower than 20em (a large text size on a phone) its words wrap freely,
   never in more lines than they need. */
@media (max-width: 720px) and (min-width: 20em) {
  .home-work__head .title .line {
    display: inline-block;
  }
}

/* One column in reading order: the chip and Scobly share a band above the photo (review note 10), Scobly 96px
   as on the other screens until base makes every pose 64px at 600px. The column stops at 456px, so at 200% zoom
   the photo still fits the screen's height. */
@media (max-width: 720px) {
  .home-work__examples {
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: 456px;
  }

  .home-work__chip {
    align-self: end;
  }

  .home-work__pose {
    justify-self: end;
    margin: 0 0 calc(-1 * var(--space-4));
  }

  .home-work__list {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    row-gap: var(--space-8);
  }

  .home-work__item--post {
    grid-row: auto;
  }

  .home-work__old {
    font-size: var(--size-19);
    line-height: calc(26 / 19);
  }

  .home-work__new {
    --leading: calc(30 / 24);
    font-size: var(--size-24);
  }

  .home-work__item--post + .home-work__item .home-work__old {
    text-box: normal;
  }
}

/* On paper each example stays whole: never a struck pair on one page and its name on the next. */
@media print {
  .home-work__item {
    break-inside: avoid;
  }
}

/* ── How you'll know: "Does AI mention you yet?" (Paper 2E3-0) ─────────────────────── */

/* Paper (.screen--paper). The headline and lead, then the example: the "Example shop" chip, the AI
   answers card with Scobly's success pose peeking over its top edge, and the Score line, all one <figure>
   named by the chip. Under it, a quiet line about the email. Static in this step: no tabs, tooltips or
   fill (S-760); the marks are their final state in the HTML. */
.home-know {
  /* Twelve 6px weeks, 5px apart: 127px, which "This week" spans too, so it ends under the last week. */
  --home-know-weeks: calc(12 * 6px + 11 * 5px);
}

.home-know__inner {
  display: grid;
  gap: var(--screen-gap);
}

/* Paper's 558px box at 22px, in em so the lines break the same way at any text size. */
.home-know__lead {
  max-width: calc(558em / 22);
}

/* The example, then the email line 24px under it. */
.home-know__proof {
  display: grid;
  gap: var(--space-6);
  justify-items: start;
}

/* Chip, 16px, the card at 760px, 24px, the Score line. Printed on one page: split, the card's pushed rows
   would run over the Score line and leave the chip behind. */
.home-know__example {
  display: grid;
  gap: var(--space-4);
  justify-items: start;
  width: 100%;
  max-width: 760px;
  break-inside: avoid;
}

.home-know__perch {
  justify-self: stretch;
}

/* Scobly by the answer sheet (the approved concept): from 1000px up the card leaves water on its right, and
   Scobly stands there whole, 64px off the card and level with its tally, rather than peeking over the card's
   top as the opening's does. Narrower, the opening's peek: 33px in from the card's right edge, 60px above its
   top, so the card hides its lower 36px. */
.home-know__pose {
  top: -60px;
  right: 33px;
}

@media (min-width: 1000px) {
  .home-know__pose {
    top: var(--space-9);
    right: auto;
    left: calc(100% + var(--space-10));
  }
}

/* ── The AI answers card ───────────────────────────────────────────────────────────── */

.home-know__card {
  display: grid;
  gap: 28px;
}

.home-know__card-head {
  display: grid;
  gap: 10px;
}

/* Sentence case, so the caps' 0.08em tracking goes with the capitals (as the opening's "AI answer"). */
.home-know__label {
  color: var(--head-ink);
  font-size: var(--type-data);
  font-weight: var(--weight-bold);
  line-height: calc(20 / 14);
}

.home-know__tally {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-4);
}

/* 40px on 44px from 600px up; narrower, it shrinks so it keeps to one line down to 320px. */
.home-know__count {
  color: var(--text-1);
  font-family: var(--font-display);
  font-size: clamp(var(--size-28), 1rem + 4vw, var(--size-40));
  font-weight: var(--weight-heavy);
  font-stretch: var(--width-figure);
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

/* What changed this week, on the Head's highlighter: dark words on the yellow. */
.home-know__delta {
  background: var(--marker);
  color: var(--text-on-marker);
}

/* Three questions, each ruled above, then the footer row under a rule of its own. */
.home-know__row {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding-block: 18px;
  border-top: 1px solid var(--line-1);
}

.home-know__ask {
  display: grid;
  flex: 1 1 0;
  gap: 6px;
  min-width: 0;
}

/* A question that wraps (beside its strip below 714px, or on a phone) takes two even lines rather than
   leaving "flat feet?" or "your feet?" alone. */
.home-know__question {
  color: var(--text-1);
  font-size: var(--type-body);
  font-weight: var(--weight-medium);
  line-height: calc(26 / 17);
  text-wrap: balance;
}

.home-know__status {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--type-data);
  font-weight: var(--weight-semibold);
  line-height: calc(20 / 14);
}

.home-know__status--cited {
  color: var(--state-pass);
}

.home-know__status--named {
  color: var(--text-2);
}

.home-know__status--not {
  color: var(--text-3);
}

/* The marks: each row's status key and its weeks share three shapes, drawn in currentColor (not fills or
   shadows alone), so forced colours and print keep them: a disc for named and cited, a ring for named but
   not cited, a small dot for not named. */
.home-know__mark--cited,
.home-know__mark--named {
  color: var(--state-pass);
}

.home-know__mark--not {
  color: var(--text-3);
}

/* Twelve fixed slots, oldest week first, so the weeks line up down the three rows. */
.home-know__weeks {
  display: grid;
  flex: none;
  grid-template-columns: repeat(12, 6px);
  gap: 5px;
  width: var(--home-know-weeks);
}

.home-know__weeks > svg {
  display: block;
  overflow: visible;
}

.home-know__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line-1);
  color: var(--text-3);
  font-size: var(--type-data);
  line-height: calc(20 / 14);
}

.home-know__engine {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.home-know__now {
  flex: none;
  width: var(--home-know-weeks);
  text-align: right;
}

/* ── The Score line, under the card ────────────────────────────────────────────────── */

/* "Scobly Score 565, Fair." in ink, its numeral at 24px, then the explanation in the quieter ink. The
   numeral's own line height keeps the line 29px tall, as drawn. One line from 686px up; narrower, even lines,
   so "your site." never stands alone. */
.home-know__score {
  margin-top: var(--space-2);
  color: var(--text-2);
  font-size: var(--type-body);
  line-height: calc(27 / 17);
  text-wrap: balance;
}

.home-know__score b {
  color: var(--text-1);
}

.home-know__score-value {
  font-size: var(--size-24);
  font-weight: var(--weight-heavy);
  line-height: calc(27 / 24);
  letter-spacing: -0.01em;
}

/* The email line: on a phone, two even lines rather than "login needed." alone. */
.home-know__note {
  text-wrap: balance;
}

/* ── Phones ────────────────────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  /* The chip and Scobly share the 64px band above the card: the chip on the left, 16px above the card,
     the pose on the right (base makes it 64px and static). The perch steps aside so all three line up. */
  .home-know__example {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: var(--space-4);
    row-gap: 0;
  }

  .home-know__perch {
    display: contents;
  }

  .home-know__chip {
    grid-area: 1 / 1;
    align-self: end;
    margin-bottom: var(--space-4);
  }

  .home-know__pose {
    grid-area: 1 / 2;
  }

  .home-know__card,
  .home-know__score {
    grid-column: 1 / -1;
  }

  .home-know__card {
    justify-self: stretch;
  }

  .home-know__score {
    margin-top: var(--space-6);
  }

  /* The weeks move under the status line at full width (review note 4), still twelve slots, so they line
     up down the rows and the last one ends under "This week". */
  .home-know__row {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }

  .home-know__ask {
    flex: none;
  }

  .home-know__weeks {
    width: auto;
    justify-content: space-between;
    gap: 0;
  }
}

/* ── Forced colours ────────────────────────────────────────────────────────────────── */

/* The marks take the text colour, so their shapes alone say named, cited or not; the +1 keeps the system's
   highlight, as a mark does. */
@media (forced-colors: active) {
  .home-know__mark--cited,
  .home-know__mark--named,
  .home-know__mark--not {
    color: CanvasText;
  }

  .home-know__delta {
    forced-color-adjust: none;
    background: Mark;
    color: MarkText;
  }
}

/* ── Print ─────────────────────────────────────────────────────────────────────────── */

/* The pose peeks from outside the card's box, so a page break can cut it from the card: paper does without. */
@media print {
  .home-know__pose {
    display: none;
  }
}

/* ── Proof you can read: the three newest guides, as the team wrote them ───────────── */

/* Wide screens, as drawn: the words (416px) and the guides (720px) side by side, 64px apart, closing to
   48px before the wrap narrows. Up to 1100px the guides go under the words, and up to 600px they become rows. */
.home-proof__cols {
  display: grid;
  grid-template-columns: minmax(0, 416fr) minmax(0, 720fr);
  column-gap: clamp(var(--space-9), 100% - 1136px, var(--space-10));
  align-items: start;
}

/* The headline and lead (.screen__head), then "See all the guides" 32px under the lead. */
.home-proof__words {
  display: grid;
  gap: var(--space-6);
  align-content: start;
}

/* Two lines as drawn on wide screens; on phones balance gives the same break without the spans. */
.home-proof__lead {
  text-wrap: balance;
}

.home-proof__all {
  display: flex;
  padding-top: var(--space-2);
}

/* 17/24 bold in the action colour, the arrow 8px after it, underlined on hover and focus. The link's box is
   44px tall for a finger, and its margins give back the extra, so the row stays 24px as drawn. */
.home-proof__all-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--tap);
  margin-block: calc((var(--size-17) * 24 / 17 - var(--tap)) / 2);
  border-radius: var(--radius-control);
  color: var(--text-link);
  font-size: var(--size-17);
  font-weight: var(--weight-bold);
  line-height: calc(24 / 17);
  text-decoration: none;
}

.home-proof__all-link:hover,
.home-proof__all-link:focus-visible {
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
}

/* The guides, and Scobly resting in the open water under them. The 7px on top sets the covers level with
   the headline's capitals (it scales with the headline). The room at the foot is only what the pose needs
   beyond the screen's own padding to keep 64px of water under its foot, half the screen's padding at its
   widest, so the pose never stands on the next screen's edge. */
.home-proof__guides {
  --proof-sink: max(0px, var(--space-2) + var(--space-12) + var(--space-10) - var(--screen-pad));
  padding-top: calc(var(--type-title) * 7 / 58);
  padding-bottom: var(--proof-sink);
}

/* Resting under the guides it wrote: centred on the gap between the two newest, 8px under their Live row, so
   its foot is level with "See all the guides". */
.home-proof .home-proof__pose {
  top: calc(100% - var(--proof-sink) + var(--space-2));
  left: calc((100% - 2 * var(--space-6)) / 3 + var(--space-6) / 2 - var(--space-12) / 2);
}

/* Three cards made from one pattern (a release fills them from guides.html). Each card's rows (cover,
   title, Live and date) are shared across the three, so the Live rows stay level whatever the titles'
   lengths; a title takes at least two lines' height. */
.home-proof__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--space-6);
}

.home-proof__card {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
}

/* One link per card: the cover and the title, whose words are the link's name. Nothing lifts or zooms;
   the title underlines on hover and on keyboard focus, and the focus ring wraps the cover and the title. */
.home-proof__link {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  border-radius: var(--radius-tile);
  color: var(--text-1);
  text-decoration: none;
}

/* Its box keeps the card's 224 by 125 whatever the file is (the covers are 1376 by 768, a hair taller), so a
   cover that loads after a jump to Pricing never moves the page under it. */
.home-proof__cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 224 / 125;
  border-radius: var(--radius-tile);
  background: var(--surface-sunken);
  box-shadow: var(--shadow-card);
  object-fit: cover;
}

/* The titles come from guides.html at each release, unseen: a long unbroken word breaks inside the card
   instead of widening it past the screen's edge. */
.home-proof__title {
  min-height: calc(2em * 22 / 16);
  margin-top: var(--space-4);
  font-size: var(--size-16);
  font-weight: var(--weight-bold);
  line-height: calc(22 / 16);
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.home-proof__link:hover .home-proof__title,
.home-proof__link:focus-visible .home-proof__title {
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

/* Plain text after the link: the Live chip, then the date and reading time in slate, 10px apart. Where a
   card is too narrow for both (320px wide, or large text), the date drops under the chip. */
.home-proof__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: start;
  gap: var(--space-1) 10px;
  margin-top: var(--space-3);
  color: var(--text-3);
  font-size: var(--type-data);
  line-height: calc(20 / 14);
}

/* ── Proof: breakpoints ────────────────────────────────────────────────────────────── */

/* The guides go under the words, still three across, and Scobly moves into the open water right of the
   words, just above the third card. */
@media (max-width: 1100px) {
  .home-proof__cols {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--screen-gap);
  }

  .home-proof__guides {
    --proof-sink: 0px;
    padding-top: 0;
  }

  .home-proof .home-proof__pose {
    top: auto;
    right: 0;
    bottom: calc(100% + var(--space-4));
    left: auto;
  }
}

/* The words now run the full width, so Scobly takes its own band above the cards (review note 10): 96px, as on
   the other screens, until base makes every pose 64px at 600px. It rests at the band's left, under "See all
   the guides", so a phone doesn't meet Scobly in the same corner screen after screen. */
@media (max-width: 720px) {
  .home-proof .home-proof__pose {
    position: static;
    margin-bottom: var(--space-2);
    margin-left: 0;
  }
}

/* Rows (review note 7): a 112px cover on the left, the title and then the Live row on the right. The link
   still holds the cover and the title. */
@media (max-width: 600px) {
  .home-proof__cards {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--space-6);
  }

  .home-proof__card {
    grid-row: auto;
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: var(--space-4);
  }

  .home-proof__link {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
  }

  .home-proof__cover {
    grid-column: 1;
    grid-row: 1 / -1;
  }

  .home-proof__title {
    grid-column: 2;
    grid-row: 1;
    min-height: 0;
    margin-top: 0;
  }

  .home-proof__meta {
    grid-column: 2;
    grid-row: 2;
    margin-top: var(--space-2);
  }
}

/* Forced colours drop the covers' hairline shadow: keep their edge in the system's text colour. */
@media (forced-colors: active) {
  .home-proof__cover {
    outline: 1px solid CanvasText;
    outline-offset: -1px;
  }
}

/* Paper keeps each card whole, and does without the pose, which a page break could part from the cards
   (as on the other screens). */
@media print {
  .home-proof__pose {
    display: none;
  }

  .home-proof__card {
    break-inside: avoid;
  }
}

/* ── Pricing: "Start free. No surprise bills." ─────────────────────────────────────── */

/* Paper (.screen--paper). The free month card and the Growth row stand on the left, the three terms
   on the right with their feet level with the Growth row's, as drawn (Paper 2HN-0). */
.home-pricing__body {
  display: grid;
  gap: var(--screen-gap);
}

/* Paper's lead is 640px wide; .lead's own 34em (748px at 22px) would pull "each month," up onto line 1. */
.home-pricing__head .lead {
  max-width: 640px;
}

/* Each sentence of the headline stays whole when the line runs out: "Start free." over "No surprise bills." */
.home-pricing__phrase {
  display: inline-block;
}

/* The plans keep Paper's 760px while there is room and the terms take the rest: 376px at 1440. */
.home-pricing__deal {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(0, 1fr);
  align-items: end;
  column-gap: clamp(var(--space-8), 5vw, var(--space-10));
}

.home-pricing__plans {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Scobly's attention pose stands in front of the card's top edge, flush with its right edge: its lowest 22px
   (23%) sit in the card's 32px top padding, clear of every word, and it stays right of the lead's 640px. */
.home-pricing__pose {
  top: -74px;
  right: 0;
  z-index: 1;
}

/* ── The free month card (.panel: 32px in, 12px corners, the float shadow and a hair edge) ── */

.home-pricing__free {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* One paragraph, as setup-and-plan.test.tsx reads it: its bare <b> is the card's title and is set from here.
   40px on 44px from 600px up, as How you'll know's figure; narrower, both shrink toward 28px, under the
   34px headline. */
.home-pricing__offer {
  color: var(--text-2);
  font-size: var(--type-body);
  line-height: calc(27 / 17);
}

.home-pricing__offer b {
  display: block;
  margin-bottom: 10px;
  color: var(--text-1);
  font-family: var(--font-display);
  font-size: clamp(var(--size-28), 1rem + 4vw, var(--size-40));
  font-weight: var(--weight-heavy);
  font-stretch: var(--width-figure);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

/* What the month brings, beside the price and the button, which keep to the card's right edge (x 492 to 848 at
   1440, as drawn). When the card is too narrow for the price on one line (a screen below 744px at the default
   text size), the price and the button drop under the list (the button 356px wide, the card's width on phones). */
.home-pricing__month {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-6) var(--space-8);
}

/* As wide as its longest row, so it widens with larger text; 8px down, level with the price line. */
.home-pricing__ships {
  display: grid;
  gap: 9px;
  padding-top: var(--space-2);
}

.home-pricing__ships li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--text-1);
  font-size: var(--type-body);
  line-height: calc(26 / 17);
}

/* Paper's 18px tick in a 20px slot, centred on the first line, in the octopus's blue. */
.home-pricing__ships .icon {
  margin: 4px 1px 0;
  margin-top: calc((1lh - 18px) / 2);
  color: var(--head);
}

/* 18.6em holds the price line (315px at 17px); the action keeps Paper's 356px (20.94em) beside the list and
   under it, until phones. In em, so both follow the reader's text size. */
.home-pricing__action {
  display: grid;
  flex: 1 1 18.6em;
  gap: 14px;
  max-width: 20.94em;
}

.home-pricing__price {
  color: var(--text-2);
  font-size: var(--type-body);
  line-height: 2;
  text-wrap: balance;
}

/* "$199": the figure that leads the line, 30px from 600px up and 24px from 400px down, on Paper's 34px line. */
.home-pricing__amount {
  color: var(--text-1);
  font-family: var(--font-display);
  font-size: clamp(var(--size-24), 0.75rem + 3vw, 1.875rem);
  font-weight: var(--weight-heavy);
  font-stretch: var(--width-figure);
  line-height: calc(34 / 30);
  letter-spacing: -0.02em;
}

.home-pricing__period {
  color: var(--text-1);
}

/* Both labels fit on one line at any width; with very large text they wrap inside the button, never past it. */
.home-pricing__start,
.home-pricing__move {
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.home-pricing__credits {
  color: var(--text-3);
  font-size: var(--type-data);
  line-height: calc(20 / 14);
}

.home-pricing__credits b {
  color: var(--text-2);
  font-weight: var(--weight-semibold);
}

/* ── Growth: a quieter row under the card, its question on a line of its own at every width ── */

.home-pricing__growth {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-6);
  padding: 14px var(--space-7);
  border-radius: var(--radius-card);
  background: var(--surface-raised);
  box-shadow: var(--shadow-card);
}

/* The question stands alone, as drawn; the answer under it wraps balanced on phones ("Growth: credits for up to
   90" over "new posts, $499 a month.") rather than leaving "Growth:" at the end of the question's line. */
.home-pricing__more {
  color: var(--text-2);
  font-size: var(--type-body);
  line-height: calc(26 / 17);
  text-wrap: balance;
}

.home-pricing__more b {
  color: var(--text-1);
  font-weight: var(--weight-semibold);
}

.home-pricing__more .home-pricing__ask {
  display: block;
  font-weight: var(--weight-bold);
}

/* ── The terms: three short promises, each under a hairline ── */

.home-pricing__term {
  display: grid;
  align-content: start;
  gap: var(--space-1);
  padding-block: var(--space-5) 21px;
  border-top: 1px solid var(--line-2);
}

.home-pricing__term:last-child {
  padding-bottom: 0;
}

.home-pricing__term dt {
  color: var(--text-1);
  font-size: var(--type-body);
  font-weight: var(--weight-bold);
  line-height: calc(24 / 17);
  text-wrap: balance;
}

.home-pricing__term dd {
  color: var(--text-2);
  font-size: var(--type-ui);
  line-height: 1.4;
}

/* Two even lines, one sentence each, rather than "in" over an orphaned "US dollars." */
.home-pricing__term:last-child dd {
  text-wrap: balance;
}

/* ── Breakpoints ── */

@media (max-width: 1100px) {
  /* The terms move under the plans, three across the screen. */
  .home-pricing__deal {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--space-8);
  }

  .home-pricing__plans {
    max-width: 760px;
  }

  .home-pricing__terms {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--space-7);
  }

  .home-pricing__term {
    padding-bottom: 0;
  }
}

@media (max-width: 900px) {
  /* One column of terms, as wide as the plans. */
  .home-pricing__terms {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
  }

  .home-pricing__term {
    padding-bottom: 21px;
  }

  /* Once the card can reach under the lead, Scobly takes its own band above the card (still on its edge), so
     it never covers the lead's last line. */
  .home-pricing .home-pricing__pose {
    position: relative;
    top: auto;
    right: auto;
    margin: 0 0 -34px auto;
  }
}

@media (max-width: 600px) {
  /* Phones: base's 64px band above the card, its foot on the card's edge (review note 10). */
  .home-pricing .home-pricing__pose {
    position: static;
    margin-bottom: calc(-1 * var(--space-3));
  }

  /* The price and a full-width button under the list. */
  .home-pricing__action {
    max-width: none;
  }

  .home-pricing__growth {
    padding: var(--space-4) var(--space-5);
  }
}

/* Where "No surprise bills." (8.6em of the 34px headline) no longer fits on one line (325px at the default text
   size), the headline balances as plain words, two lines rather than three. In em, so it follows the text size. */
@media (max-width: 20.35em) {
  .home-pricing__phrase {
    display: inline;
  }
}

@media (forced-colors: active) {
  .home-pricing__growth {
    border: 1px solid CanvasText;
  }
}

/* The pose stands above the card's box, so a page break could part them: a printed page does without it. Print
   also drops the orange fill, which left the button's white words faint, so they print in ink inside an edge,
   as a post's button does (styles.css). */
@media print {
  .home-pricing__pose {
    display: none;
  }

  /* The free month prints whole, its price and button with what the month brings, and so does Growth's row. */
  .home-pricing__free,
  .home-pricing__growth {
    break-inside: avoid;
  }

  .home-pricing__start {
    background: none;
    box-shadow: inset 0 0 0 1px var(--line-2);
    color: var(--text-1);
  }
}

/* ── Questions: six straight answers on the water ─────────────────────────────────── */

/* As Paper sets it on this screen: a word too long for its line (the headline at a large text size on a
   narrow phone) breaks rather than pushing the page sideways. Nothing breaks at the drawn sizes. */
.home-questions {
  overflow-wrap: anywhere;
}

/* The headline and its line on the left, Scobly thinking in the open water to their right (x 1224 to 1320
   at 1440px), then the answers 72px below. The pose keeps a column of its own, so a narrower screen wraps
   the headline before it could run under the octopus. */
.home-questions__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "head pose"
    "list list";
  column-gap: var(--space-8);
  row-gap: var(--screen-gap);
}

.home-questions__head {
  grid-area: head;
}

/* One line at 1440px as drawn; when it wraps, two even lines rather than a stray "your call.". */
.home-questions__head .lead {
  text-wrap: balance;
}

.home-questions__pose {
  grid-area: pose;
  align-self: center;
}

/* Q1 to Q6 in source order, so the rows read across (1, 3 and 5 on the left, as drawn) and a phone stacks
   them in reading order. Each row is as tall as its taller answer; the email line closes the list. Paper's
   96px and 48px at 1440px, closing in on narrower screens. */
.home-questions__list {
  grid-area: list;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  column-gap: clamp(var(--space-9), 6.67vw, var(--space-12));
  row-gap: clamp(var(--space-7), 3.33vw, var(--space-9));
}

.home-questions__item {
  display: grid;
  gap: var(--space-2);
}

.home-questions__q {
  color: var(--text-1);
  font-size: var(--size-19);
  font-weight: var(--weight-bold);
  line-height: calc(26 / 19);
}

.home-questions__a,
.home-questions__more {
  color: var(--text-2);
}

/* Each answer opens on its Yes or No, in the ink. */
.home-questions__a b {
  color: var(--text-1);
  font-weight: var(--weight-semibold);
}

.home-questions__more {
  grid-column: 1 / -1;
}

/* The privacy policy and the email, as drawn: the action colour, semibold, a 1px underline 0.2em down
   (styles.css's a:hover still thickens it to 2px). Each stays on one line, so "privacy policy" never splits. */
.home-questions__link {
  font-weight: var(--weight-semibold);
  text-decoration-thickness: 1px;
  white-space: nowrap;
}

/* The email ends its line, standing alone on a phone: a 44px box for a finger, whose margins give back the
   extra, so the line keeps its height (as "See all the guides"); a line already taller (large text) needs no
   give. The privacy policy stays a link in its sentence. */
.home-questions__more .home-questions__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  margin-block: min(0px, (1lh - var(--tap)) / 2);
}

/* One column, at no more than a reading measure. */
@media (max-width: 720px) {
  .home-questions__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-questions__item,
  .home-questions__more {
    max-width: var(--measure);
  }
}

/* From 600px down every still pose is 64px in a band of its own (base, review note 10): here at the left,
   between the headline's line and the first question, as Proof's rests above its guides, so its gaze turns
   into the screen. */
@media (max-width: 600px) {
  .home-questions__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "pose"
      "list";
    row-gap: 0;
  }

  .home-questions__head {
    margin-bottom: var(--screen-gap);
  }

  .home-questions__pose {
    justify-self: start;
    margin-bottom: var(--space-2);
  }
}

/* On paper a page break never parts a question from its answer, nor leaves an answer's last line alone, and the
   headline stays with the first questions: in a grid, base's break-after on the head goes unheeded, so the
   screen prints as blocks (the pose doesn't print). */
@media print {
  .home-questions__item {
    break-inside: avoid;
  }

  .home-questions__inner {
    display: block;
  }

  .home-questions__head {
    margin-bottom: var(--space-8);
  }
}

/* ── 07 The closing: "Meet your team today." on the ink, then the reef ──────────────── */

/* Paper's column (7A): the headline and its line centred, then the website form in its ink variant,
   72px below (40px on phones). One column no wider than the wrap, so nothing inside can widen it. The
   section keeps .screen's own padding under the form (128px at 1440px), and the reef in the footer starts
   right under it on the same ink (.footer--reef's --reef-top is --rail, as --surface-ink is), so nothing
   of another colour sits between them. The reef's octopus is this screen's Scobly: no pose here. */
.home-closing__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: var(--screen-gap);
}

/* Paper's 640px box, one line wherever it fits. Narrower, two even lines ("Today is the least it will /
   ever know about your site.") rather than a lone "site.". */
.home-closing__lead {
  max-width: 640px;
  text-wrap: balance;
}

/* ── How it works: "Follow one post all the way." (#how, S-816) ─────────────────────── */

/* One example post's life in eight steps, from the question buyers ask to the lesson that starts the next post,
   on light water between the work and how you'll know. The steps are stations on one thin loop of the team's
   blue (owner, 2026-11-26: "too noisy"): where there is room they stand in a row, the chosen one filled and its
   name under the highlighter, and what it made shows large under the row; narrower, they run down the page and
   a step opens in place. Without js/loop.js every step stands open down the loop, and paper prints them plain,
   one under the other. Nothing moves on its own: a step changes only on a visitor's click, tap or key. */

/* The headline and its lead, then the steps. No Scobly on this screen: the loop is its picture, and a pose
   beside the headline would repeat Questions' composition. */
.home-how__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--screen-gap);
}

.home-how__head .lead {
  max-width: 24em;
  text-wrap: balance;
}

/* The container: its layouts ask how many of the reader's characters fit across it (container queries in em),
   since the wrap stops at 1200px whatever the text size. The script keeps a pressed button still itself. */
.home-how__track {
  container: how / inline-size;
  overflow-anchor: none;
}

/* The figure, named by its "Example shop" chip: the chip, the steps, then the line about starting again. On
   screen its ::before draws the loop, behind everything in it. A station grows with the reader's text size, up
   to 16px, so the arrowhead into Research stays clear of the way back's bend. */
.home-how__life {
  --how-line: 2px;
  --how-back: 1px;
  --how-dot: clamp(12px, 0.75rem, 16px);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
}

.home-how__chip {
  margin-bottom: var(--space-5);
}

.home-how__steps {
  display: grid;
  gap: var(--space-9);
  justify-self: stretch;
}

.home-how__step {
  display: grid;
  gap: var(--space-3);
}

/* The page's item titles: 19px, bold, in ink. With the script the name inside it is set as its button's. */
.home-how__heading {
  color: var(--text-1);
  font-size: var(--size-19);
  font-weight: var(--weight-bold);
  line-height: calc(26 / 19);
}

.home-how__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.home-how__text {
  max-width: 30em;
  color: var(--text-2);
  font-size: var(--type-body);
  line-height: var(--leading-text);
}

/* What the step made: paper on the water, a hairline edge and the 12px corners of the screen's other cards. A
   container, so an output can lay itself out by the room it is given. */
.home-how__out {
  container-type: inline-size;
  display: grid;
  align-content: start;
  gap: var(--space-3);
  max-width: 560px;
  padding: var(--space-6);
  border-radius: var(--radius-panel);
  background: var(--surface-raised);
  box-shadow: var(--shadow-card);
}

.home-how__again {
  margin-top: var(--space-6);
  color: var(--text-3);
  font-size: var(--type-ui);
  line-height: 1.4;
  text-wrap: balance;
}

/* The script's button keeps the heading's place and words. The stage's copy of the name and the chevron show
   only in the layouts that use them. */
.home-how__pick {
  padding: 0;
  border: 0;
  border-radius: var(--radius-control);
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}

.home-how__pick[aria-disabled="true"] {
  cursor: default;
}

.home-how__stage-name,
.home-how__chevron {
  display: none;
}

/* The sentence beside what was made, once the open list holds 50 of the reader's characters (850px). */
@container how (min-width: 50em) {
  .home-how__track:not(.is-live) .home-how__body {
    grid-template-columns: minmax(0, 20em) minmax(0, 1fr);
    column-gap: var(--space-8);
  }
}

/* ── The outputs ───────────────────────────────────────────────────────────────── */

/* A small label in the team's blue, as the opening's "AI answer". */
.home-how__label {
  color: var(--head-ink);
  font-size: var(--type-data);
  font-weight: var(--weight-bold);
  line-height: calc(20 / 14);
}

.home-how__label--split {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
}

.home-how__label--split span:last-child {
  color: var(--text-3);
  font-weight: var(--weight-semibold);
}

/* Research: the questions, each with how many ask it a month; the one the team picked leads, ticked. */
.home-how__asks {
  display: grid;
}

.home-how__asked {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
  border-top: 1px solid var(--line-1);
  color: var(--text-2);
  font-size: var(--type-ui);
  line-height: 1.4;
}

.home-how__q {
  display: flex;
  flex: 1 1 0;
  align-items: baseline;
  gap: var(--space-2);
}

.home-how__n {
  flex: none;
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.home-how__asked--picked {
  color: var(--text-1);
  font-size: var(--type-body);
  font-weight: var(--weight-semibold);
}

.home-how__picked {
  align-self: center;
  color: var(--head);
}

/* The outputs' quiet small lines: a source, a verdict, a period, an address. */
.home-how__source,
.home-how__match,
.home-how__seen,
.home-how__kept,
.home-how__when,
.home-how__address,
.home-how__slip {
  color: var(--text-3);
  font-size: var(--type-data);
  line-height: calc(20 / 14);
}

.home-how__source,
.home-how__match,
.home-how__seen {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.home-how__source .icon,
.home-how__match .icon {
  color: var(--state-pass);
}

/* Plan: this week's three, the first with its reason written down. */
.home-how__plan {
  display: grid;
}

.home-how__task {
  display: grid;
  gap: var(--space-1);
  padding-block: var(--space-3);
  border-top: 1px solid var(--line-1);
}

.home-how__task:first-child {
  border-top: 0;
  padding-top: var(--space-1);
}

.home-how__do {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  color: var(--text-2);
  font-size: var(--type-ui);
  line-height: 1.4;
}

.home-how__num {
  flex: none;
  min-width: 0.75em;
  color: var(--head-ink);
  font-weight: var(--weight-heavy);
}

.home-how__task--first .home-how__do {
  color: var(--text-1);
  font-size: var(--size-18);
  font-weight: var(--weight-semibold);
  line-height: calc(26 / 18);
}

.home-how__why {
  padding-left: calc(0.75em + var(--space-3));
  color: var(--text-2);
  font-size: var(--type-ui);
  line-height: 1.45;
}

.home-how__why b {
  color: var(--text-1);
  font-weight: var(--weight-semibold);
}

/* Write: the old title struck in the team's blue over the new one, then a sentence of the draft with the
   highlighter on what was checked, and what it was checked against. */
.home-how__was {
  margin-top: var(--space-1);
  font-size: var(--type-ui);
  line-height: 1.4;
}

.home-how__title {
  color: var(--text-1);
  font-size: var(--size-20);
  font-weight: var(--weight-bold);
  line-height: calc(26 / 20);
  text-wrap: balance;
}

.home-how__para {
  color: var(--text-2);
  font-size: var(--size-16);
  line-height: calc(26 / 16);
}

.home-how__para mark {
  color: var(--text-1);
}

/* Design: the cover beside a poster in the shop's own fonts where the output has the room (26 of the reader's
   characters), else the poster under the cover. */
.home-how__design {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: var(--space-4);
}

@container (min-width: 26em) {
  .home-how__design {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }
}

.home-how__cover {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-tile);
  object-fit: cover;
}

.home-how__poster {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-tile);
  background: var(--surface-sunken);
}

.home-how__poster::before {
  content: "";
  width: var(--space-6);
  height: 4px;
  background: var(--head);
}

.home-how__poster-title {
  color: var(--text-1);
  font-family: var(--font-display);
  font-size: var(--size-17);
  font-weight: var(--weight-heavy);
  font-stretch: var(--width-title);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.home-how__poster-list {
  display: grid;
  gap: var(--space-2);
  color: var(--text-2);
  font-size: var(--size-13);
  line-height: 1.3;
}

.home-how__poster-list li {
  display: flex;
  gap: var(--space-2);
}

.home-how__poster-list b {
  color: var(--head-ink);
}

.home-how__poster-brand {
  margin-top: auto;
  color: var(--text-3);
  font-size: var(--size-12);
  font-weight: var(--weight-semibold);
}

/* Check and publish: three checks, then where it went live. */
.home-how__checks {
  display: grid;
  gap: var(--space-2);
}

.home-how__checks li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-1);
  font-size: var(--type-body);
  line-height: 1.5;
}

.home-how__checks .icon {
  color: var(--state-pass);
}

.home-how__published {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line-1);
}

.home-how__address {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Check it's live: what the live page looked like on a computer and on a phone, side by side at one height,
   each ticked, then the verdict. */
.home-how__captures {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-4);
  margin-top: var(--space-1);
}

.home-how__capture {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
}

.home-how__capture--computer {
  flex: 1 1 10rem;
  max-width: 21.25rem;
}

.home-how__capture--phone {
  flex: none;
  width: 5.25rem;
}

.home-how__shot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 9.375rem;
  padding: 10px;
  overflow: hidden;
  border-radius: var(--radius-tile);
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--line-2);
}

.home-how__capture--phone .home-how__shot {
  padding: 8px 7px;
  border-radius: 12px;
}

.home-how__shot-title {
  flex: none;
  color: var(--text-1);
  font-size: var(--size-12);
  font-weight: var(--weight-bold);
  line-height: 1.25;
}

.home-how__capture--phone .home-how__shot-title {
  font-size: 0.5625rem;
}

.home-how__shot img {
  display: block;
  flex: 1 1 0;
  width: 100%;
  min-height: 0;
  border-radius: 3px;
  object-fit: cover;
}

.home-how__seen {
  gap: 6px;
  color: var(--text-2);
}

.home-how__seen .icon {
  color: var(--state-pass);
}

.home-how__out--live .home-how__match {
  margin-top: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line-1);
  color: var(--text-1);
  font-size: var(--type-ui);
  font-weight: var(--weight-semibold);
}

/* Measure: before and after, the figures in ink, as the page writes a measurement. */
.home-how__then {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-1);
}

.home-how__period {
  display: grid;
  gap: var(--space-1);
}

.home-how__big {
  color: var(--text-1);
  font-family: var(--font-display);
  font-size: var(--size-40);
  font-weight: var(--weight-heavy);
  font-stretch: var(--width-figure);
  line-height: 1.05;
  letter-spacing: var(--tracking-figure);
}

/* The margin is the caption's line height plus the period's gap, so the arrow sits level with the figures. */
.home-how__to {
  color: var(--text-3);
  margin-bottom: calc(var(--type-data) * 20 / 14 + var(--space-1));
}

/* Where the two periods can't share a line, they stack, the arrow turned to point down, rather than leaving
   "212 →" at the end of a line with 279 under it. */
@container (max-width: 14em) {
  .home-how__then {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-how__to {
    margin: 0;
    transform: rotate(90deg);
  }
}

/* Learn and fix: the lesson under the highlighter, then the next page to refresh. "Answer-first" keeps its
   hyphen off a line's end wherever the output holds the word whole; where it can't (the largest text sizes on
   the narrowest phones), it wraps there rather than push the page sideways. */
.home-how__lesson {
  color: var(--text-1);
  font-family: var(--font-display);
  font-size: var(--size-24);
  font-weight: var(--weight-heavy);
  font-stretch: var(--width-title);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

@container (max-width: 12rem) {
  .home-how__lesson .keep {
    white-space: normal;
  }
}

.home-how__label--next {
  margin-top: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line-1);
}

.home-how__refresh {
  display: grid;
  color: var(--text-1);
  font-size: var(--type-body);
  line-height: 1.4;
}

.home-how__refresh b {
  font-weight: var(--weight-semibold);
}

/* ── On screen: the loop ───────────────────────────────────────────────────────────── */

/* Down the page (without the script at any width, and with it where the row has no room) the stations stand on
   the loop's right edge with each name beside its own, and what a step made opens under its name. The loop's
   left edge is its way back: down from the last station, round beside the line about starting again, up, and
   into Research with an arrowhead. Paper prints none of it. */
@media screen {
  .home-how__life {
    --how-x: 25px;
    --how-indent: 45px;
    --how-inset: max(8px, var(--how-x) - var(--how-dot) / 2 - var(--space-2));
    --how-pad: 0px;
    --how-lh: calc(var(--size-19) * 26 / 19);
  }

  /* From Research's station to the middle of the line about starting again. Square where it meets Research, so
     the station covers the corner and the line runs straight in. */
  .home-how__life::before {
    content: "";
    position: absolute;
    z-index: -1;
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    top: calc(var(--how-pad) + var(--how-lh) / 2 - var(--how-back) / 2);
    bottom: calc(-1 * (var(--space-6) + var(--type-ui) * 0.7 + var(--how-back) / 2));
    left: 0;
    width: calc(var(--how-x) + var(--how-line) / 2);
    border: var(--how-back) solid var(--head);
    border-right-width: var(--how-line);
    border-radius: var(--space-2) 0 var(--space-3) var(--space-2);
  }

  /* A station: a ring of the team's blue, filled with the water so the line stops at it, centred on its name's
     first line. */
  .home-how__station {
    position: relative;
    display: block;
    width: var(--how-dot);
    height: var(--how-dot);
    margin-top: calc(var(--how-lh) / 2 - var(--how-dot) / 2);
    margin-left: calc(var(--how-x) - var(--how-dot) / 2 - var(--how-inset));
    border: var(--how-line) solid var(--head);
    border-radius: 50%;
    background: var(--dive-1);
  }

  .home-how__step:first-child .home-how__station::before {
    content: "";
    position: absolute;
    top: 50%;
    right: calc(100% + var(--how-line) + 4px);
    width: 7px;
    height: 8px;
    margin-top: -4px;
    background: var(--head);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
  }

  /* A row: the station on the line, then the name. It starts just left of the station, and never nearer than 8px
     to the way back, so a button's focus ring holds the station and leaves the way back outside. */
  .home-how__track:not(.is-live) .home-how__heading,
  .is-live .home-how__pick {
    display: grid;
    grid-template-columns: calc(var(--how-indent) - var(--how-inset)) minmax(0, 1fr);
    align-items: start;
    margin-left: var(--how-inset);
  }

  .home-how__track:not(.is-live) .home-how__body,
  .home-how__again {
    margin-left: var(--how-indent);
  }

  /* The chosen step: its station filled and a touch larger, its name under the Head's highlighter, as the page
     marks a name (base's mark). Every name keeps the highlighter's room, so choosing one moves nothing. */
  .is-live .home-how__name {
    margin-inline: -2px;
    padding: 0 2px 2px;
    border-radius: var(--radius-chip);
  }

  .home-how__pick[aria-expanded="true"] .home-how__station {
    background: var(--head);
    box-shadow: 0 0 0 2px var(--head);
  }

  .home-how__pick[aria-expanded="true"] .home-how__name {
    background: var(--marker);
    color: var(--text-on-marker);
  }

  @media (hover: hover) and (forced-colors: none) {
    .home-how__pick:not([aria-expanded="true"]):hover .home-how__name {
      color: var(--text-1);
    }

    .home-how__pick:not([aria-expanded="true"]):hover .home-how__station {
      background: var(--head-soft);
    }
  }

  /* ── Narrow: the steps down the page, each opening in place ── */

  /* Every step starts closed, so the whole loop shows first; a tap opens one and a tap on it again closes it. A
     row stops at 34 of the reader's characters, so on a tablet its chevron stays near its name. */
  @container how (width < 57em) {
    .is-live .home-how__life {
      --how-pad: var(--space-3);
      --how-lh: 1.5rem;
    }

    .is-live .home-how__steps {
      gap: 0;
    }

    .is-live .home-how__step {
      max-width: 34em;
      gap: 0;
    }

    .is-live .home-how__pick {
      grid-template-columns: calc(var(--how-indent) - var(--how-inset)) minmax(0, 1fr) auto;
      width: calc(100% - var(--how-inset));
      padding-block: var(--how-pad);
    }

    .is-live .home-how__name {
      justify-self: start;
      color: var(--text-2);
      font-size: var(--type-body);
      font-weight: var(--weight-medium);
      line-height: var(--how-lh);
    }

    .is-live .home-how__chevron {
      display: block;
      width: 1rem;
      height: 1rem;
      margin: calc(var(--how-lh) / 2 - 0.5rem) 0 0 var(--space-4);
      color: var(--text-3);
    }

    .home-how__pick[aria-expanded="true"] .home-how__chevron {
      color: var(--head-ink);
      transform: rotate(180deg);
    }

    /* The open step: its sentence on the water, then what it made on paper. */
    .is-live .home-how__body {
      display: none;
      gap: var(--space-4);
      margin: var(--space-1) 0 0 var(--how-indent);
      padding-bottom: var(--space-7);
    }

    .is-live .home-how__step.is-open .home-how__body {
      display: grid;
    }

    .is-live .home-how__out {
      max-width: none;
      padding: var(--space-5);
      box-shadow: var(--shadow-float), 0 0 0 1px var(--line-1);
    }
  }

  /* ── Wide: the row on the loop, and the chosen step's output large under it ── */

  /* Where the track holds 57 of the reader's characters (969px at the usual 17px, so windows from 1017px; a
     larger text size gets the steps down the page instead). One grid holds it all: the steps span it as
     subgrids, each step's button in its own column of the first row and its output across the last, where all
     eight lie on one another, so the stage keeps the tallest one's height and nothing under it moves as the
     steps change. The columns are equal, so the stations stand evenly; a name wider than its column reaches
     into the gaps beside it, centred under its station, and never wraps. The chip sits over the card, as the
     other screens set their chip over their example. */
  @container how not (width < 57em) {
    /* Read by js/loop.js: in this layout a step is always chosen. */
    .home-how__steps {
      --how-row: 1;
    }

    .is-live .home-how__life {
      --how-card: 37.5rem;
      --how-pad: var(--space-2);
      --how-lh: var(--how-dot);
      grid-template-columns: repeat(8, minmax(0, 1fr));
      grid-template-rows: repeat(4, auto);
      column-gap: var(--space-2);
    }

    /* The loop: its top edge through the stations, round at both ends, and back under the names through the
       middle of the line about starting again, which names the way back. */
    .is-live .home-how__life::before {
      grid-row: 1 / 3;
      grid-column: 1 / -1;
      top: calc(var(--how-pad) + var(--how-lh) / 2 - var(--how-line) / 2);
      bottom: calc(var(--type-data) / 2 - var(--how-back) / 2);
      right: 0;
      width: auto;
      border-width: var(--how-line) var(--how-back) var(--how-back);
      border-radius: 999px;
    }

    /* The arrowhead into Research, on the top line where the way back has come round, 12px clear of the
       chosen station's halo. */
    .is-live .home-how__step:first-child .home-how__station::before {
      right: calc(100% + var(--how-line) + 2px + var(--space-3));
      width: 9px;
      height: 10px;
      margin-top: -5px;
    }

    .is-live .home-how__steps,
    .is-live .home-how__step {
      grid-column: 1 / -1;
      grid-row: 1 / -1;
      display: grid;
      grid-template-columns: subgrid;
      grid-template-rows: subgrid;
      gap: normal;
    }

    .is-live .home-how__step {
      pointer-events: none;
    }

    .is-live .home-how__heading {
      grid-row: 1;
      justify-self: center;
      pointer-events: auto;
    }

    .is-live .home-how__step:nth-child(2) .home-how__heading { grid-column: 2; }
    .is-live .home-how__step:nth-child(3) .home-how__heading { grid-column: 3; }
    .is-live .home-how__step:nth-child(4) .home-how__heading { grid-column: 4; }
    .is-live .home-how__step:nth-child(5) .home-how__heading { grid-column: 5; }
    .is-live .home-how__step:nth-child(6) .home-how__heading { grid-column: 6; }
    .is-live .home-how__step:nth-child(7) .home-how__heading { grid-column: 7; }
    .is-live .home-how__step:nth-child(8) .home-how__heading { grid-column: 8; }

    /* Each station over its name, the name under it like a caption, in quiet type. */
    .is-live .home-how__pick {
      display: block;
      width: fit-content;
      min-width: var(--tap);
      margin-inline: auto;
      padding: var(--how-pad) var(--space-2);
      font-size: var(--type-ui);
      line-height: calc(20 / 15);
      text-align: center;
    }

    .is-live .home-how__station {
      margin: 0 auto var(--space-3);
    }

    .is-live .home-how__name {
      color: var(--text-2);
      font-weight: var(--weight-medium);
      white-space: nowrap;
    }

    /* The way back stops at the line's words, so they read as its name. One em tall and 8px under the buttons,
       clear of a focus ring's 5px halo. */
    .is-live .home-how__again {
      grid-row: 2;
      grid-column: 1 / -1;
      justify-self: center;
      margin: var(--space-2) 0 0;
      padding-inline: var(--space-3);
      background: var(--dive-1);
      font-size: var(--type-data);
      line-height: 1;
      text-align: center;
    }

    .is-live .home-how__chip {
      grid-row: 3;
      grid-column: 1 / -1;
      margin: var(--space-9) 0 var(--space-4) calc(100% - var(--how-card));
    }

    /* The stage: only the chosen step's output shows, its name and sentence on the water and what it made on
       paper beside them. The others are hidden at once, so two never show over each other. */
    .is-live .home-how__body {
      grid-row: 4;
      grid-column: 1 / -1;
      grid-template-columns: minmax(0, 1fr) var(--how-card);
      grid-template-rows: auto 1fr;
      column-gap: var(--space-10);
      row-gap: var(--space-4);
      visibility: hidden;
      pointer-events: auto;
    }

    .is-live .home-how__step.is-open .home-how__body {
      visibility: visible;
    }

    .is-live .home-how__stage-name {
      display: block;
      grid-column: 1;
      grid-row: 1;
      padding-top: var(--space-6);
      color: var(--text-1);
      font-size: var(--size-28);
      font-weight: var(--weight-bold);
      line-height: calc(34 / 28);
    }

    .is-live .home-how__text {
      grid-column: 1;
      grid-row: 2;
      max-width: 21em;
      font-size: var(--size-18);
      line-height: 1.55;
    }

    .is-live .home-how__out {
      grid-column: 2;
      grid-row: 1 / -1;
      max-width: none;
      padding: var(--space-7);
      box-shadow: var(--shadow-float), 0 0 0 1px var(--line-1);
    }
  }
}

/* A visitor's own choice may move a little: the station fills, the chevron turns, the output fades in over
   160ms. Never at load, and never with reduced motion. */
@keyframes home-how-in {
  from {
    opacity: 0;
  }
}

@media screen and (prefers-reduced-motion: no-preference) {
  .is-live .home-how__station,
  .is-live .home-how__name {
    transition-property: background-color, box-shadow, color;
    transition-duration: var(--dur-short);
  }

  .is-live .home-how__chevron {
    transition: transform var(--dur-short) ease;
  }

  .is-touched .home-how__step.is-open .home-how__body {
    animation: home-how-in var(--dur-short) var(--ease-out);
  }
}

/* Forced colours keep every edge: the loop and the rings in the text colour, the chosen station filled with it,
   the chosen name in the highlighter's colours, and each card a border for its shadow. */
@media (forced-colors: active) {
  .home-how__out {
    border: 1px solid CanvasText;
  }

  .home-how__station,
  .home-how__step:first-child .home-how__station::before,
  .home-how__pick[aria-expanded="true"] .home-how__name {
    forced-color-adjust: none;
  }

  .home-how__station {
    border-color: CanvasText;
    background: Canvas;
  }

  .home-how__step:first-child .home-how__station::before {
    background: CanvasText;
  }

  .home-how__pick[aria-expanded="true"] .home-how__station {
    background: CanvasText;
    box-shadow: 0 0 0 2px CanvasText;
  }

  .home-how__pick[aria-expanded="true"] .home-how__name {
    background: Mark;
    color: MarkText;
  }
}

/* Paper shows every step, one under the other, as without the script, and each step prints whole. The headline
   never ends a page alone: as blocks, the head, the chip and Research keep together (a chip only keeps with what
   follows once it is block-level). */
@media print {
  .home-how__inner,
  .home-how__life,
  .home-how__steps {
    display: block;
  }

  .home-how__step + .home-how__step {
    margin-top: var(--space-9);
  }

  .home-how__head {
    margin-bottom: var(--screen-gap);
  }

  .home-how__chip {
    display: flex;
    width: fit-content;
    break-after: avoid;
  }

  .home-how__step,
  .home-how__out {
    break-inside: avoid;
  }
}
