/* squarewell.io marketing layouts, in Squarewell's own look (plans/36,
   plans/marketing/architecture.md → Look and front end). Tokens, fonts,
   buttons, inputs, the ticket, the tape, the blueprint grid, chips,
   cards and the toast come from internal/web/brand/static/brand.css,
   which loads first; this sheet only lays out marketing pages with the
   --sw-* tokens. Square corners, paper and ink, cobalt for actions,
   yellow at most twice a screen (the tape, a ticket tag, the one
   marker). Mobile first: a 16px gutter, nothing wider than the screen.
   Never an inline style: the CSP is style-src 'self'. */
@layer reset, tokens, base, layout, components, utilities;

@layer tokens {
  :root {
    --www-measure: 40rem;   /* prose line length */
    --www-gutter: var(--sw-s3);
    --www-section: clamp(48px, 9vw, 112px);
    --www-mega: clamp(2.75rem, 11vw, 7rem);
    --www-xl: clamp(2.25rem, 7vw, 4.5rem);
    --www-l: clamp(1.75rem, 4vw, 2.75rem);
    --www-photo-bg: #151515; /* the founder photo's own background */
  }
  @media (min-width: 48rem) { :root { --www-gutter: var(--sw-s5); } }
}

@layer reset {
  ul[role="list"], ol[role="list"] { list-style: none; padding: 0; margin: 0; }
  img, video, iframe, picture { display: block; max-inline-size: 100%; }
  img, video { block-size: auto; }
  blockquote, dd, figure { margin: 0; }
  html { overflow-x: clip; }
  body { overflow-x: clip; }
}

@layer base {
  h1 { font-size: var(--www-xl); line-height: 0.92; }
  h2 { font-size: var(--www-l); line-height: 0.95; font-weight: 800; }
  h1, h2 { overflow-wrap: break-word; }
  p { overflow-wrap: break-word; }
  table { font-variant-numeric: tabular-nums; }
}

@layer layout {
  .wrap { max-inline-size: calc(var(--sw-page) + 2 * var(--www-gutter)); margin-inline: auto; padding-inline: var(--www-gutter); }
  .prose { max-inline-size: var(--www-measure); }
  .prose > * + * { margin-block-start: var(--sw-s3); }
  .prose > h2 + * { margin-block-start: var(--sw-s4); }
  .lede { font-size: clamp(1.0625rem, 2vw, 1.25rem); line-height: 1.45; color: var(--sw-text); max-inline-size: 34ch; }
  .note { font-size: var(--sw-t-small); color: var(--sw-muted); max-inline-size: var(--www-measure); }
  * + .note { margin-block-start: var(--sw-s3); }
  .more { font-weight: 600; }
  .more a::after { content: " \2192"; }
  * + .more { margin-block-start: var(--sw-s4); }
  .sign { font-weight: 600; letter-spacing: 0.02em; }

  /* Skip link: hidden until focused */
  .skip {
    position: absolute; inset-inline-start: var(--sw-s2); inset-block-start: -100px; z-index: 50;
    background: var(--sw-yellow); color: var(--sw-ink); padding: var(--sw-s2) var(--sw-s3); font-weight: 600;
  }
  .skip:focus { inset-block-start: var(--sw-s2); }

  /* Top bar: white sheet, 4px ink rule under it (as the dashboard).
     Wide screens: wordmark, links, button. Phones: wordmark, button and
     the menu disclosure, whose panel drops under the bar. */
  .site-top {
    position: sticky; inset-block-start: 0; z-index: 10;
    background: var(--sw-surface);
    border-block-end: var(--sw-rule-heavy) solid var(--sw-rule);
  }
  .site-top__in {
    position: relative; min-block-size: 60px;
    display: flex; align-items: center; gap: var(--sw-s2);
  }
  .wordmark { display: inline-flex; flex: none; align-items: center; min-block-size: 44px; color: var(--sw-text); margin-inline-end: auto; }
  .wordmark img { inline-size: 116px; }
  .site-top__cta { flex: none; }
  @media (max-width: 23.99rem) { .site-top__long { display: none; } }
  .site-top__short { display: none; }
  @media (max-width: 23.99rem) { .site-top__short { display: inline; } }
  .site-nav { display: none; }
  .menu > summary { list-style: none; }
  .menu > summary::-webkit-details-marker { display: none; }
  .menu__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--sw-s2);
    min-inline-size: 44px; min-block-size: 44px; padding-inline: var(--sw-s2);
    border: var(--sw-border) solid var(--sw-rule); background: var(--sw-surface); cursor: pointer; font-weight: 600;
  }
  .menu__btn:focus-visible { outline: var(--sw-focus-outline); outline-offset: 3px; box-shadow: var(--sw-focus-ring); }
  .menu__word { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu__bars, .menu__bars::before, .menu__bars::after { display: block; inline-size: 18px; block-size: 2px; background: var(--sw-text); }
  .menu__bars { position: relative; }
  .menu__bars::before, .menu__bars::after { content: ""; position: absolute; inset-inline-start: 0; }
  .menu__bars::before { inset-block-start: -6px; }
  .menu__bars::after { inset-block-start: 6px; }
  .menu[open] .menu__bars { background: transparent; }
  .menu[open] .menu__bars::before { inset-block-start: 0; rotate: 45deg; }
  .menu[open] .menu__bars::after { inset-block-start: 0; rotate: -45deg; }
  .menu__panel {
    position: absolute; inset-inline: 0; inset-block-start: calc(100% + var(--sw-rule-heavy));
    background: var(--sw-surface); border-block-end: var(--sw-rule-heavy) solid var(--sw-rule);
    padding: var(--sw-s2) var(--www-gutter) var(--sw-s4);
  }
  .menu__panel a {
    display: flex; align-items: center; min-block-size: 48px; border-block-end: 1px solid var(--sw-line);
    color: var(--sw-text); font-weight: 600; font-size: 1.0625rem; text-decoration: none;
  }
  .menu__panel a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--sw-yellow); }
  .menu__head {
    margin: var(--sw-s4) 0 0; font-size: var(--sw-t-tag); font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--sw-muted);
  }
  .menu__panel > ul:first-child a { border-block-start: 0; }
  .menu__solo { margin-block-start: var(--sw-s4); }
  /* Wide screens: at most four header items (layout.templ navGroups),
     three of them dropdowns. Each dropdown is a <details>, so it opens
     with JS off; www.js closes it on Escape, an outside click, a link or
     when another one opens. The phone menu goes away. */
  @media (min-width: 64rem) {
    .site-top__in { min-block-size: 72px; gap: var(--sw-s4); }
    .wordmark { margin-inline-end: 0; }
    .wordmark img { inline-size: 160px; }
    .site-nav { display: block; margin-inline-start: auto; min-inline-size: 0; }
    .site-nav > ul { display: flex; gap: var(--sw-s5); white-space: nowrap; }
    .site-nav a, .site-nav__dd > summary {
      display: flex; align-items: center; min-block-size: 44px; color: var(--sw-text);
      font-weight: 600; font-size: 0.9375rem; text-decoration: none; cursor: pointer;
    }
    .site-nav a:hover, .site-nav__dd > summary:hover { text-decoration: underline; }
    .site-nav a[aria-current="page"], .site-nav__dd > summary.is-current {
      text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--sw-yellow);
    }
    .site-nav__group { position: relative; }
    .site-nav__dd > summary { list-style: none; gap: 6px; }
    .site-nav__dd > summary::-webkit-details-marker { display: none; }
    .site-nav__dd > summary::after {
      content: ""; inline-size: 7px; block-size: 7px; margin-block-start: -4px;
      border-inline-end: 2px solid currentColor; border-block-end: 2px solid currentColor;
      rotate: 45deg; transition: rotate 0.15s;
    }
    .site-nav__dd[open] > summary::after { rotate: -135deg; margin-block-start: 4px; }
    .site-nav__dd > summary:focus-visible { outline: var(--sw-focus-outline); outline-offset: 3px; box-shadow: var(--sw-focus-ring); }
    .site-nav__panel {
      position: absolute; z-index: 20; inset-block-start: calc(100% + 14px); inset-inline-start: calc(-1 * var(--sw-s4));
      min-inline-size: 17rem; padding: var(--sw-s2) 0; white-space: normal;
      background: var(--sw-surface); border: var(--sw-border) solid var(--sw-rule); border-block-start: var(--sw-rule-heavy) solid var(--sw-rule);
    }
    .site-nav__panel a { min-block-size: 44px; padding-inline: var(--sw-s4); font-weight: 500; }
    .site-nav__panel a:hover { background: var(--sw-surface-2); text-decoration: none; }
    .site-nav__panel li:first-child a { font-weight: 700; }
    .site-nav__group:last-child .site-nav__panel { inset-inline: auto calc(-1 * var(--sw-s4)); }
    .menu { display: none; }
  }
  .site-top--minimal .wordmark { margin-inline-end: auto; }

  /* Sections */
  .band { padding-block: var(--www-section); }
  .band > .wrap > * + * { margin-block-start: var(--sw-s5); }
  .band--surface { background: var(--sw-surface); border-block: 1px solid var(--sw-line); }
  .band:not(.band--surface, .band--ink) + .band:not(.band--surface, .band--ink) { padding-block-start: 0; }
  .band--ink {
    --sw-bg: var(--www-photo-bg); --sw-surface: #1B1B1B; --sw-text: #F2F2F2; --sw-muted: #B8B8B8; --sw-line: #333333;
    --sw-link: var(--sw-cobalt-light);
    background: var(--sw-bg); color: var(--sw-text);
  }

  /* Hero: big Barlow headline over the blueprint grid; the copy beside
     the form or the visual on wide screens */
  .hero { padding-block: var(--sw-s5) var(--sw-s6); }
  .hero h1 { font-size: var(--www-mega); line-height: 0.88; max-inline-size: 13ch; }
  .hero--hero_offer h1, .hero--hero_hook h1, .hero--category_intro h1 { max-inline-size: 16ch; }
  .hero__eyebrow { margin-block-end: var(--sw-s3); line-height: 1.3; }
  /* Phones: a chart or product view in a hero stays small, so the page's
     point and its action come first */
  @media (max-width: 59.99rem) { .hero__vis .vis:not(.vis--art, .vis--photo) { max-inline-size: 20rem; } }
  .hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sw-s4) var(--sw-s6); align-items: start; grid-template-areas: "head" "copy" "form" "vis"; }
  .hero__head { grid-area: head; }
  .hero__copy { grid-area: copy; }
  .hero__form { grid-area: form; }
  .hero__vis { grid-area: vis; }
  /* A light hero (a blog category): a heading and a few lines, no picture */
  .hero.hero--light { padding-block: var(--sw-s5) var(--sw-s4); }
  .hero--light h1 { font-size: var(--www-l); max-inline-size: 24ch; }
  .hero--light .lede { max-inline-size: 60ch; }
  @media (max-width: 59.99rem) { .hero--plan-next .hero__vis { display: none; } }
  .hero__copy > * + * { margin-block-start: var(--sw-s4); }
  .hero__grid--vis .hero__vis { margin-block-start: var(--sw-s2); }
  @media (min-width: 60rem) {
    .hero__grid--form { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "head head" "copy form"; }
    /* Form and visual: the headline beside the picture, the copy beside
       the form */
    /* Form and visual: headline, copy and form down the left, top
       aligned, the picture beside them, so no column starts empty */
    .hero__grid--form.hero__grid--vis { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "head vis" "copy vis" "form vis"; grid-template-rows: auto auto 1fr; }
    .hero__grid--form.hero__grid--vis .hero__vis { margin-block-start: 0; }
    .hero__grid--vis:not(.hero__grid--form) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "head vis" "copy vis"; grid-template-rows: auto 1fr; }
    .hero__grid--vis h1 { font-size: clamp(2.75rem, 5.4vw, 5rem); max-inline-size: none; }
    .hero__grid--vis:not(.hero__grid--form) .hero__vis { margin-block-start: 0; justify-self: end; inline-size: 100%; }
    /* The visual centers on the headline and copy beside it */
    .hero__grid--vis .hero__vis { align-self: center; }
    .hero__vis .vis { margin-inline-start: auto; }
    .hero__grid--form .hero__vis .vis { margin-inline-start: auto; }
  }
  /* The band after a hero starts closer: no double gap */
  .hero + .band:not(.band--surface, .band--ink), .hero + .jump + .band:not(.band--surface, .band--ink) { padding-block-start: var(--sw-s5); }

  /* Section heads. With a visual: text and visual side by side,
     alternating, the shorter one centered on the taller; phones put the
     visual right after the heading. Without one: the heading on the
     left, its text on the right. */
  .vs { display: grid; gap: var(--sw-s4); grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "vis" "body"; align-items: start; }
  .vs__text { display: contents; }
  .vs__head { grid-area: head; }
  .vs__head > * + * { margin-block-start: var(--sw-s3); }
  .vs__vis { grid-area: vis; }
  /* A list beside a visual: one column, each entry under its own rule */
  .vs__body :is(.spec, .entries, .steps, .stats, .two-list) { grid-template-columns: minmax(0, 1fr); border-block-start: 0; }
  .vs__body .spec > li { border-block-start: var(--sw-rule-heavy) solid var(--sw-rule); }
  .vs__body .spec > li::after { display: none; }
  .vs__body .spec { row-gap: var(--sw-s5); }
  .vs__body .myths > div { grid-template-columns: minmax(0, 1fr); }
  @media (min-width: 40rem) { .vs__body .entries:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .vs__body { grid-area: body; }
  @media (min-width: 56rem) {
    .vs { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "text vis"; gap: var(--sw-s4) var(--sw-s6); align-items: center; }
    .vs__text { display: block; grid-area: text; }
    .vs__text > .vs__body { margin-block-start: var(--sw-s4); }
    .vs--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "vis text"; }
    .vs__vis .vis { margin-inline: auto; }
    /* A few lines of text beside a visual: the visual draws smaller, so
       the two columns end near each other */
    .vs--short { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
    .vs--short.vs--flip { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
    .vs--short .vs__vis .vis { max-inline-size: 22rem; }
    /* Wide: the heading across the top, the text beside the visual */
    .vs.vs--wide { grid-template-areas: "head head" "body vis"; grid-template-rows: auto auto; }
    .vs.vs--wide.vs--flip { grid-template-areas: "head head" "vis body"; }
    .vs--wide .vs__text { display: contents; }
    .vs--wide .vs__head { align-self: end; }
  }
  /* A table beside its chart */
  .vs__body .table-wrap { margin-block-start: var(--sw-s4); }
  /* Text bands take turns between three looks (pages planBands) */
  .prose--stack { max-inline-size: 46rem; }
  .prose--stack > h2 + p, .prose--stack > .chip + h2 + p { font-size: 1.125rem; line-height: 1.55; }
  .pullband { display: grid; gap: var(--sw-s4); grid-template-columns: minmax(0, 1fr); }
  .pullband__h > * + * { margin-block-start: var(--sw-s3); }
  .pullband__h > .callout-lead { margin-block-start: var(--sw-s5); }
  .callout-lead { border-inline-start: var(--sw-rule-heavy) solid var(--sw-rule); padding-inline-start: var(--sw-s4); max-inline-size: 30rem; }
  .callout-lead__stat { font-family: var(--sw-font-head); font-weight: 800; font-size: clamp(3rem, 7vw, 4.5rem); line-height: 0.9; margin-block-end: var(--sw-s2); }
  .callout-lead__text { font-size: clamp(1.1875rem, 2.2vw, 1.4375rem); line-height: 1.35; font-weight: 600; }
  @media (min-width: 56rem) {
    .pullband { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--sw-s6); align-items: start; }
    .pullband__body { padding-block-start: var(--sw-s2); }
  }
  .colsband > * + * { margin-block-start: var(--sw-s5); }
  .numcols { counter-reset: para; display: grid; gap: var(--sw-s4) var(--sw-s6); grid-template-columns: minmax(0, 1fr); border-block-start: var(--sw-rule-heavy) solid var(--sw-rule); padding-block-start: var(--sw-s4); }
  .numcols > li { counter-increment: para; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: var(--sw-s3); align-items: baseline; }
  .numcols > li::before { content: counter(para, decimal-leading-zero); font-family: var(--sw-font-head); font-weight: 800; font-size: 1.75rem; line-height: 1; }
  @media (min-width: 48rem) { .numcols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (min-width: 64rem) { .numcols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .colsband__foot:empty { display: none; }
  .jump { padding-block: var(--sw-s4) 0; }
  .jump--hero { padding: 0; }
  .source-line { font-size: var(--sw-t-small); color: var(--sw-muted); max-inline-size: 70ch; }
  * + .source-line { margin-block-start: var(--sw-s3); }
  .source-line a { color: inherit; display: inline-block; padding-block: 6px; }
  .jump ul { display: flex; flex-wrap: wrap; gap: var(--sw-s2); }
  .jump a { display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: var(--sw-s3); border: var(--sw-border) solid var(--sw-rule); background: var(--sw-surface); color: var(--sw-text); font-weight: 600; text-decoration: none; }
  .jump a:hover { box-shadow: var(--sw-lift); translate: 0 -2px; }

  .trail ol { display: flex; flex-wrap: wrap; gap: var(--sw-s1) var(--sw-s2); font-size: var(--sw-t-small); color: var(--sw-muted); margin-block-end: var(--sw-s4); }
  .trail li + li::before { content: "/"; margin-inline-end: var(--sw-s2); color: var(--sw-faint); }
  .trail a { color: var(--sw-muted); display: inline-block; padding-block: 10px; margin-block: -10px; }

  /* Card grids */
  .grid { display: grid; gap: var(--sw-s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
  /* Seven cards: four, then three (no orphan) */
  @media (min-width: 64rem) { .grid:has(> li:nth-child(7):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

  /* Spec columns (three_up), the landing page's spec sheet */
  .spec { counter-reset: spec; display: grid; gap: var(--sw-s5); }
  .spec > li { counter-increment: spec; border-block-start: var(--sw-rule-heavy) solid var(--sw-rule); padding-block-start: var(--sw-s4); }
  .spec > li::before {
    content: counter(spec, decimal-leading-zero); display: block; margin-block-end: var(--sw-s2);
    font-family: var(--sw-font-head); font-weight: 800; font-size: var(--sw-t-h2); line-height: 1; color: var(--sw-muted);
  }
  .spec h3 { font-family: var(--sw-font-head); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1; margin-block-end: var(--sw-s3); }
  .spec p { max-inline-size: 36ch; }
  @media (min-width: 56rem) {
    .spec { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 0 var(--sw-s6); border-block-start: var(--sw-rule-heavy) solid var(--sw-rule); }
    .spec > li { position: relative; border-block-start: 0; }
    .spec > li + li::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: calc(var(--sw-s6) / -2); border-inline-start: 1px solid var(--sw-line); }
  }

  /* Numbered steps and signal lists */
  .steps { counter-reset: step; display: grid; gap: var(--sw-s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
  .steps > li { counter-increment: step; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0 var(--sw-s3); align-content: start; }
  .steps > li::before {
    content: counter(step); grid-row: span 2;
    font-family: var(--sw-font-head); font-weight: 800; font-size: 2.25rem; line-height: 0.9; color: var(--sw-text);
  }
  .steps h3 { margin-block-end: var(--sw-s1); }

  /* Plain entries (fact_list, list, step items) */
  .entries { display: grid; gap: var(--sw-s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
  .entries > li { border-block-start: 2px solid var(--sw-rule); padding-block-start: var(--sw-s3); }
  .entries h3 { margin-block-end: var(--sw-s1); }
  .entries--rule { grid-template-columns: 1fr; }
  .entries.entries--step, .entries.entries--step:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
  /* Four entries: two by two, or four across, never three and one */
  @media (min-width: 40rem) { .entries:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (min-width: 72rem) { .entries:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

  /* Step detail: the big step number beside the copy */
  .step { display: grid; gap: var(--sw-s3); }
  .step__n { font-family: var(--sw-font-head); font-weight: 800; font-size: clamp(3rem, 14vw, 9rem); line-height: 0.8; color: var(--sw-text); }
  @media (max-width: 47.99rem) { .step { gap: var(--sw-s1); } .step__n { font-size: 3.5rem; } }
  @media (min-width: 48rem) { .step { grid-template-columns: 10rem minmax(0, 1fr); gap: var(--sw-s5); } }
  @media (min-width: 64rem) { .step--vis { grid-template-columns: 10rem minmax(0, 6fr) minmax(0, 5fr); align-items: center; } .step--vis .step__n { align-self: start; } }
  @media (min-width: 48rem) {
    .step--flip { grid-template-columns: minmax(0, 1fr) 10rem; }
    .step--flip .step__n { order: 3; text-align: end; }
  }
  @media (min-width: 64rem) {
    .step--vis.step--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 10rem; }
    .step--flip .step__vis { order: 1; }
    .step--flip .prose { order: 2; }
  }
  .step__vis .vis { margin-inline: auto; }
  .band--step + .band--step { padding-block-start: 0; }
  .band--step .wrap { border-block-start: var(--sw-rule-heavy) solid var(--sw-rule); padding-block-start: var(--sw-s5); }

  .link-row { display: flex; flex-wrap: wrap; gap: var(--sw-s3); }
  * + .link-row { margin-block-start: var(--sw-s4); }

  /* FAQ: the heading beside the answers on wide screens */
  /* FAQ: the heading over the answers, one column; answers run two
     across on wide screens, and a visual sits beside them */
  .faq-grid { display: grid; gap: var(--sw-s3); grid-template-columns: minmax(0, 1fr); }
  .faq-grid__head > :last-child { margin-block-end: 0; }
  /* The grid's gap spaces its parts: no band margin between the heading
     and the rule under it */
  .band > .faq-grid > * + * { margin-block-start: 0; }
  .faq-grid__foot:empty { display: none; }
  @media (min-width: 64rem) {
    .faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sw-s6); align-items: start; }
    /* With a visual: the answers run two across and the visual takes
       the place of the first three in the right column, so neither
       column is left empty */
    .faq-grid--vis { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; column-gap: var(--sw-s6); row-gap: 0; align-items: start; }
    .faq-grid--vis .faq-grid__head { grid-column: 1 / -1; padding-block-end: var(--sw-s3); border-block-end: var(--sw-rule-heavy) solid var(--sw-rule); }
    .faq-grid--vis .faq { display: contents; }
    .faq-grid--vis .faq-grid__vis { grid-column: 2; grid-row: 2 / span 3; padding-block-start: var(--sw-s4); align-self: center; }
    .faq-grid--vis .faq-grid__foot { grid-column: 1 / -1; padding-block-start: var(--sw-s3); }
  }
  @media (min-width: 64rem) {
    .faq-grid--side { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head faq" "foot foot"; column-gap: var(--sw-s6); }
    .faq-grid--side .faq-grid__head { grid-area: head; position: sticky; inset-block-start: 96px; align-self: start; }
    .faq-grid--side .faq { grid-area: faq; grid-template-columns: minmax(0, 1fr); }
    .faq-grid--side .faq-grid__foot { grid-area: foot; }
  }
  .faq { border-block-start: var(--sw-rule-heavy) solid var(--sw-rule); }
  .faq__item { padding-block: var(--sw-s4); border-block-end: 1px solid var(--sw-line); }
  .faq__item h3 { margin-block-end: var(--sw-s2); scroll-margin-block-start: 96px; }
  .faq__item p { max-inline-size: 60ch; }

  .two-list { display: grid; gap: var(--sw-s5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
  .two-list__col { border-block-start: var(--sw-rule-heavy) solid var(--sw-rule); padding-block-start: var(--sw-s3); }
  .two-list__col h3 { font-size: var(--sw-t-h2); margin-block-end: var(--sw-s3); }
  .two-list .ticks > li::before { inline-size: 0.5rem; block-size: 0.5rem; inset-block-start: 0.55em; inset-inline-start: 0.25rem; border: 0; background: var(--sw-text); }

  /* Price: the copy beside the plan ticket */
  .price-grid { display: grid; gap: var(--sw-s5); align-items: start; }
  @media (min-width: 56rem) { .price-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: var(--sw-s6); align-items: center; } }
  .price-grid--solo { justify-items: center; }
  @media (min-width: 56rem) { .price-grid--solo { grid-template-columns: minmax(0, 30rem); justify-content: center; } }
  .price-grid__vis { margin-block-start: var(--sw-s5); }
  .price-grid--vis .price-grid__vis { margin-block-start: 0; }
  @media (max-width: 55.99rem) { .price-grid--vis > .ticket { order: -1; } }
  @media (min-width: 64rem) {
    .price-grid--vis { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
    .price-grid--vis .plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); column-gap: var(--sw-s5); align-content: start; }
    .price-grid--vis .plan > * { grid-column: 1; }
    .price-grid--vis .plan > .ticks { grid-column: 2; grid-row: 1 / span 6; margin-block-start: 0; }
  }

  /* Founder on an ad page: a small avatar beside the quote */
  .founder-line { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: var(--sw-s4); align-items: start; }
  @media (min-width: 48rem) { .founder-line { grid-template-columns: 7rem minmax(0, 46rem); gap: var(--sw-s5); } }
  .founder-line__avatar { inline-size: 100%; block-size: auto; aspect-ratio: 4 / 5; object-fit: cover; border: var(--sw-border) solid var(--sw-text); background: var(--www-photo-bg); }
  .founder-line__quote p { font-size: clamp(1.125rem, 2vw, 1.375rem); }
  /* Founder: always dark, the photo's own background */
  .founder-grid { display: grid; gap: var(--sw-s5); align-items: center; }
  @media (min-width: 60rem) { .founder-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--sw-s6); } }

  /* Closing band */
  .cta-band { padding-block: var(--www-section); }
  .cta-grid { display: grid; gap: var(--sw-s5); align-items: center; }
  @media (min-width: 60rem) { .cta-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--sw-s6); } }
  .cta-band h2 { font-size: var(--www-xl); line-height: 0.92; }
  .cta-band__vis { margin-block-start: var(--sw-s5); }
  /* A closing band with only text and buttons: centred, so half the band
     is never left empty */
  .cta-solo > .prose { margin-inline: auto; text-align: center; max-inline-size: 48rem; }
  .cta-solo .lede { margin-inline: auto; max-inline-size: 44ch; }
  .cta-solo :is(.actions, .link-row) { justify-content: center; }
  .cta-solo .actions__note { margin-inline: auto; }

  /* The "7 things" slab: always dark, sticky head, numbered punch list */
  .seven {
    --sw-bg: var(--sw-ink); --sw-surface: #1B1B1B; --sw-text: #F2F2F2; --sw-muted: #B8B8B8; --sw-line: #333333; --sw-link: var(--sw-cobalt-light);
    background: var(--sw-slab); color: var(--sw-text);
  }
  .seven .split { display: grid; gap: var(--sw-s5); align-items: start; padding-block: var(--www-section) calc(var(--www-section) * 1.15); }
  .seven h2 { font-size: var(--www-xl); line-height: 0.92; }
  .seven .sub { color: var(--sw-muted); font-size: 1.125rem; margin-block-start: var(--sw-s4); max-inline-size: 32ch; }
  @media (min-width: 56rem) { .seven .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--sw-s6); } .seven__head { position: sticky; inset-block-start: 96px; } }
  .seven__vis { margin-block-start: var(--sw-s5); }
  /* No visual: the heading above the list, the list in two columns */
  @media (min-width: 56rem) {
    .seven .split--stack { grid-template-columns: minmax(0, 1fr); }
    .seven .split--stack .seven__head { position: static; }
    .seven .split--stack .checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sw-s6); }
  }

  /* Footer: the tape, then the ink slab */
  .site-foot {
    --sw-text: #F2F2F2; --sw-muted: #B8B8B8; --sw-faint: #A3A39C; --sw-line: #333333; --sw-link: var(--sw-cobalt-light);
    margin-block-start: 0; background: var(--sw-slab); color: var(--sw-white);
  }
  .site-foot a { color: var(--sw-white); }
  .site-foot .kicker { color: color-mix(in srgb, var(--sw-white) 64%, transparent); margin-block-end: var(--sw-s3); }
  .site-foot__in { display: grid; gap: var(--sw-s5); padding-block: var(--sw-s6); }
  .site-foot__brand p { margin-block-start: var(--sw-s3); max-inline-size: 28rem; color: color-mix(in srgb, var(--sw-white) 76%, transparent); }
  .site-foot__links { display: grid; gap: var(--sw-s5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); }
  .site-foot__links a, .site-foot__row a { display: inline-block; padding-block: 10px; }
  .site-foot__links li + li { margin-block-start: 0; }
  .site-foot__col > summary { list-style: none; cursor: default; }
  .site-foot__col > summary::-webkit-details-marker { display: none; }
  @media (max-width: 39.99rem) {
    .site-foot__links { gap: 0; grid-template-columns: minmax(0, 1fr); border-block-start: 1px solid #333333; }
    .site-foot__col { border-block-end: 1px solid #333333; }
    .site-foot .site-foot__col > summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-block-size: 52px; margin: 0; }
    .site-foot__col:last-child { border-block-end: 0; }
    .site-foot__col > summary::after { content: "+"; font-family: var(--sw-font-head); font-size: 1.5rem; font-weight: 800; color: var(--sw-white); }
    .site-foot__col[open] > summary::after { content: "\2212"; }
    .site-foot__col > ul { padding-block-end: var(--sw-s3); }
  }
  /* The phone bar: a slim link to the free check, never over content */
  .mbar { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 20; display: flex; align-items: center; gap: var(--sw-s2); padding: var(--sw-s2) var(--www-gutter); padding-block-end: max(var(--sw-s2), env(safe-area-inset-bottom)); background: var(--sw-bg); border-block-start: var(--sw-rule-heavy) solid var(--sw-text); }
  .mbar[hidden] { display: none; }
  .mbar__go { flex: 1 1 auto; justify-content: center; }
  .mbar__x { flex: 0 0 44px; block-size: 44px; border: 2px solid var(--sw-text); background: transparent; color: var(--sw-text); font-size: 1.5rem; line-height: 1; cursor: pointer; }
  .mbar-on body { padding-block-end: 72px; }
  @media (min-width: 48rem) { .mbar { display: none; } .mbar-on body { padding-block-end: 0; } }
  .site-foot__legal { border-block-start: 1px solid #333333; padding-block-start: var(--sw-s4); display: grid; gap: var(--sw-s2); }
  .site-foot__row { display: flex; flex-wrap: wrap; gap: var(--sw-s2) var(--sw-s4); }
  .site-foot__fine { font-size: var(--sw-t-small); color: color-mix(in srgb, var(--sw-white) 72%, transparent); }
  @media (min-width: 60rem) { .site-foot__in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } .site-foot__legal { grid-column: 1 / -1; } }
  .site-foot--minimal .site-foot__in { grid-template-columns: 1fr; }
}

@layer components {
  /* Calls to action */
  .actions { display: flex; flex-wrap: wrap; gap: var(--sw-s3); }
  /* A phone number never breaks mid-number */
  a.tel { white-space: nowrap; }
  * + .actions { margin-block-start: var(--sw-s4); }
  .actions__note { font-size: var(--sw-t-small); color: var(--sw-muted); }
  .actions .btn { white-space: normal; text-align: center; }
  .price-chip, .prose > .chip, .chip--lead { white-space: normal; max-inline-size: 100%; }
  .price-chip { font-size: var(--sw-t-small); padding: 6px 10px 5px; background: var(--sw-surface); color: var(--sw-text); border: 2px solid var(--sw-text); }

  /* Tickets: the sign-up form (brand .ticket) */
  .signup__label, .field label { display: block; font-weight: 600; font-size: 0.9375rem; margin-block-end: var(--sw-s2); }
  .signup__row { display: flex; flex-wrap: wrap; gap: var(--sw-s2); }
  .signup__row input { flex: 1 1 14rem; min-inline-size: 0; min-block-size: 52px; }
  .signup__go { flex: 0 0 auto; min-block-size: 52px; }
  @media (max-width: 30rem) { .signup__go { flex: 1 1 100%; } }
  .signup__status { margin-block-start: var(--sw-s2); font-weight: 500; }
  .signup__status:empty { margin: 0; }
  .signup__error, .field__error { color: var(--sw-err); font-weight: 600; }
  .field__error { font-size: var(--sw-t-small); margin-block-start: var(--sw-s1); }
  .field__opt { color: var(--sw-muted); font-weight: 500; }
  .field__note { font-size: var(--sw-t-small); color: var(--sw-muted); margin-block-start: var(--sw-s1); }
  .field + .field, .field + .field-pair, .field-pair + .hp + * { margin-block-start: var(--sw-s3); }
  .field-pair { align-items: end; display: grid; gap: var(--sw-s3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); margin-block-start: var(--sw-s3); }
  .ticket .btn--primary { margin-block-start: var(--sw-s1); }
  .check-form .btn, .contact-form > .btn, .ticket.signup > .btn { margin-block-start: var(--sw-s3); }
  .ticket__fine a { color: inherit; }
  .ticket--done .ticket__head { font-size: var(--sw-t-h2); margin-block-end: var(--sw-s3); }
  .ticket--done p + p, .ticket--done .link-row { margin-block-start: var(--sw-s3); }
  .cf-turnstile { margin-block-start: var(--sw-s3); }
  .cf-turnstile:empty { display: none; }
  textarea { resize: vertical; }

  /* Tables: square cells and ink rules; each row stacks into a labeled
     block on phones so nothing scrolls sideways */
  .table-wrap { border-block-start: var(--sw-rule-heavy) solid var(--sw-rule); }
  .data-table { inline-size: 100%; border-collapse: collapse; }
  .data-table :is(th, td) { padding: var(--sw-s3); text-align: start; vertical-align: top; border-block-end: 1px solid var(--sw-line); }
  .data-table thead th { font-family: var(--sw-font-head); font-weight: 800; text-transform: uppercase; font-size: var(--sw-t-h3); border-block-end: 2px solid var(--sw-rule); }
  .data-table tbody th { font-weight: 600; }
  .data-table tr.is-us th, .data-table tr.is-us td { background: var(--sw-primary-soft); }
  .data-table tr.is-us th { box-shadow: inset 4px 0 0 var(--sw-primary); }
  @media (max-width: 47.99rem) {
    .data-table thead { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .data-table tr { display: block; padding-block: var(--sw-s3); border-block-end: 1px solid var(--sw-line); }
    .data-table :is(th, td) { display: block; border: 0; padding: 2px 0; }
    .data-table tbody th { font-size: 1.0625rem; margin-block-end: var(--sw-s1); }
    .data-table td::before { content: attr(data-label); display: block; font-size: var(--sw-t-tag); font-weight: 600; letter-spacing: var(--sw-track-tag); text-transform: uppercase; color: var(--sw-muted); }
    .data-table td[data-label=""]::before { display: none; }
    .data-table tr.is-us { box-shadow: inset 4px 0 0 var(--sw-primary); padding-inline-start: var(--sw-s3); background: var(--sw-primary-soft); }
    .data-table tr.is-us th { box-shadow: none; }
    .data-table--pair tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sw-s1) var(--sw-s3); }
    .data-table--pair tbody th { grid-column: 1 / -1; }
    .data-table--pair td { font-family: var(--sw-font-head); font-weight: 800; font-size: 1.75rem; line-height: 1; }
    .data-table--pair td::before { font-family: var(--sw-font-body); margin-block-end: var(--sw-s1); }
    /* The two labels of a row share one line height, so the figures under
       them sit level even when one label wraps */
    .data-table--pair tbody tr { grid-template-rows: auto auto auto; }
    .data-table--pair td { display: grid; grid-row: 2 / span 2; grid-template-rows: subgrid; row-gap: var(--sw-s1); }
    .data-table--pair td::before { align-self: end; margin-block-end: 0; }
    /* Other tables: each label sits in one column beside its value */
    .data-table:not(.data-table--pair) td { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: var(--sw-s3); align-items: baseline; }
    .data-table:not(.data-table--pair) td[data-label=""] { grid-template-columns: minmax(0, 1fr); }
  }

  /* Big numbers */
  .stats { display: grid; gap: var(--sw-s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
  .stats > li { border-block-start: var(--sw-rule-heavy) solid var(--sw-rule); padding-block-start: var(--sw-s3); }
  .stats__value { font-family: var(--sw-font-head); font-weight: 800; font-size: clamp(3rem, 9vw, 5rem); line-height: 0.9; }
  .stats__text { margin-block-start: var(--sw-s2); color: var(--sw-muted); max-inline-size: 22ch; }

  /* Linked cards */
  .card--link { position: relative; }
  .card--link h3 { font-family: var(--sw-font-head); font-weight: 800; text-transform: uppercase; font-size: var(--sw-t-h2); line-height: 1; margin-block-end: var(--sw-s2); }
  .card--link h3 a { color: var(--sw-text); text-decoration: none; }
  .card--link h3 a::before { content: "\2192"; float: inline-end; margin-inline-start: var(--sw-s2); color: var(--sw-link); }
  .card--link h3 a::after { content: ""; position: absolute; inset: 0; }
  .card--link:hover { translate: 0 -2px; box-shadow: var(--sw-lift); }
  .card--link:focus-within { outline: var(--sw-focus-outline); outline-offset: 3px; box-shadow: var(--sw-focus-ring); }
  .card--link h3 a:focus-visible { outline: none; box-shadow: none; }

  /* Myths: struck out, the landing page's "why not" list */
  .myths { border-block-start: var(--sw-rule-heavy) solid var(--sw-rule); }
  .myths > div { display: grid; gap: var(--sw-s2); padding-block: var(--sw-s4); border-block-end: 1px solid var(--sw-line); }
  @media (min-width: 56rem) { .myths > div { grid-template-columns: 22rem 1fr; gap: var(--sw-s5); align-items: baseline; } }
  .myths dt {
    position: relative; padding-inline-start: 2.75rem;
    font-family: var(--sw-font-head); font-weight: 800; font-size: var(--www-l); text-transform: uppercase; line-height: 1;
    color: var(--sw-text);
  }
  .myths dt::before {
    content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 0.05em; inline-size: 1.75rem; block-size: 1.75rem;
    border: 2px solid var(--sw-text);
    background: center / 1.1rem no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5l14 14M19 5L5 19' fill='none' stroke='%23B42318' stroke-width='3.4' stroke-linecap='square'/%3E%3C/svg%3E");
  }
  .myths dd { max-inline-size: 52ch; font-size: 1.0625rem; }

  /* Facts: label and value rows */
  .facts { border-block-start: var(--sw-rule-heavy) solid var(--sw-rule); }
  .facts > div { display: grid; gap: var(--sw-s1) var(--sw-s4); padding-block: var(--sw-s3); border-block-end: 1px solid var(--sw-line); }
  @media (min-width: 40rem) { .facts > div { grid-template-columns: 14rem 1fr; } }
  .facts dt { font-weight: 600; }

  /* Tick lists */
  .ticks > li { position: relative; padding-inline-start: 1.75rem; }
  .ticks > li + li { margin-block-start: var(--sw-s2); }
  .ticks > li::before {
    content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 0.3em; inline-size: 1.05rem; block-size: 1.05rem;
    border: 2px solid var(--sw-text);
    background: center / 0.8rem no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 12.5l5 5L19.5 6.5' fill='none' stroke='%231F4FD8' stroke-width='3.6' stroke-linecap='square'/%3E%3C/svg%3E");
  }

  /* The punch list in the dark slab */
  .checklist { counter-reset: item; border-block-start: 2px solid var(--sw-text); }
  .checklist > li {
    counter-increment: item; display: grid; grid-template-columns: 2.5ch minmax(0, 1fr) 26px; gap: var(--sw-s3); align-items: center;
    padding-block: var(--sw-s3); border-block-end: 1px dashed #3A3A3A; font-size: 1.125rem; font-weight: 500;
  }
  .checklist > li::before { content: counter(item); font-family: var(--sw-font-head); font-weight: 800; font-size: 2.25rem; line-height: 1; color: var(--sw-yellow); }
  .checklist > li::after {
    content: ""; inline-size: 26px; block-size: 26px; border: 2px solid var(--sw-yellow);
    background: center / 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 12.5l5 5L19.5 6.5' fill='none' stroke='%23FFC629' stroke-width='3.2' stroke-linecap='square'/%3E%3C/svg%3E");
  }
  .seven .note { color: var(--sw-muted); }

  /* The plan ticket */
  .plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--sw-s2); }
  .plan__amount { font-family: var(--sw-font-head); font-weight: 800; font-size: clamp(4rem, 12vw, 6rem); line-height: 0.85; }
  .plan__period { font-weight: 600; color: var(--sw-muted); }
  .plan__founder { margin-block-start: var(--sw-s3); padding: var(--sw-s3); background: var(--sw-surface-2); }
  .plan__founder p + p { margin-block-start: var(--sw-s1); }
  .plan .ticks { margin-block-start: var(--sw-s4); }

  /* Founder photo and quote: a sized dark box behind it while it loads */
  .founder-photo img { inline-size: 100%; aspect-ratio: 1600 / 894; background: var(--www-photo-bg); }
  .pull { border-inline-start: var(--sw-rule-heavy) solid var(--sw-yellow); padding-inline-start: var(--sw-s4); }
  .pull p { font-size: clamp(1.125rem, 2.2vw, 1.375rem); line-height: 1.5; font-weight: 500; }
  .band--ink .prose > h2 { font-size: var(--www-l); }

  /* Case file (a real business from the study) */
  .band--case_band .wrap > :is(.pullband, .colsband, .vs, .prose) { border: var(--sw-border) dashed var(--sw-line); padding: var(--sw-s4); background: var(--sw-surface); max-inline-size: 100%; min-inline-size: 0; box-sizing: border-box; overflow-wrap: anywhere; }

  /* Sample report */
  .report { border-block-start: var(--sw-rule-heavy) solid var(--sw-rule); }
  .report__item { display: grid; gap: var(--sw-s2) var(--sw-s3); padding-block: var(--sw-s4); border-block-end: 1px solid var(--sw-line); }
  @media (min-width: 40rem) { .report__item { grid-template-columns: 7rem minmax(0, 1fr); } }
  .report__item .chip { justify-self: start; align-self: start; }
  .report__item h3 { margin-block-end: var(--sw-s1); }


  /* Visuals (internal/www/visuals): inline SVG colored by these classes,
     so drawings follow the theme and need no style attribute */
  .vis { margin: 0; inline-size: 100%; max-inline-size: 30rem; }
  .vis--wide { max-inline-size: 40rem; }
  .vis--narrow { max-inline-size: 21rem; }
  .vis--photo, .vis--art { max-inline-size: 40rem; }
  .vis__svg { display: block; inline-size: 100%; block-size: auto; overflow: visible; }
  .vis__img { inline-size: 100%; block-size: auto; border: var(--sw-border) solid var(--sw-rule); background: var(--sw-surface-2); aspect-ratio: 1264 / 848; }
  .vis--founder img { aspect-ratio: 1600 / 894; background: var(--www-photo-bg); }
  .vis__strip { margin-block-start: var(--sw-s3); }
  /* A trade's jobs under its picture: a plain label, not chips */
  .vis__jobs { margin-block-start: var(--sw-s3); display: flex; flex-wrap: wrap; gap: var(--sw-s1) var(--sw-s3); align-items: baseline; font-size: var(--sw-t-small); }
  .vis__jobs-h { font-size: var(--sw-t-tag); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sw-muted); }
  .vis__jobs-list { font-weight: 600; color: var(--sw-text); }
  .vis__jobs-list > [aria-hidden] { color: var(--sw-muted); font-weight: 400; }
  .vis__cap { margin-block-start: var(--sw-s3); font-size: var(--sw-t-small); color: var(--sw-muted); max-inline-size: 60ch; }
  .vis__cap a { color: inherit; }
  .vis svg text { font-family: var(--sw-font-body); fill: var(--sw-text); }
  .vis svg .v-h { font-family: var(--sw-font-head); font-weight: 800; }
  .vis svg .v-tag:where(:not([font-size])) { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; fill: var(--sw-muted); }
  .vis svg .v-tag--ink { fill: var(--sw-ink); }
  .vis svg .v-mut { fill: var(--sw-muted); }
  .vis svg .v-inv { fill: var(--sw-bg); }
  .vis .v-ink { fill: var(--sw-text); }
  .vis .v-mutfill { fill: var(--sw-muted); }
  .vis .v-faint { fill: var(--sw-faint); }
  .vis .v-fill2 { fill: var(--sw-surface-2); }
  .vis .v-hlbar { fill: var(--sw-yellow); stroke: var(--sw-ink); stroke-width: 2; }
  .vis .v-cell { fill: var(--sw-surface-2); stroke: var(--sw-line); stroke-width: 1; }
  .vis .v-sheet { fill: var(--sw-surface); stroke: var(--sw-line); stroke-width: 1; }
  .vis .v-sheet--heavy { stroke: var(--sw-rule); stroke-width: 2; }
  .vis .v-rule { stroke: var(--sw-text); stroke-width: 2; fill: none; }
  .vis .v-line { stroke: var(--sw-line); stroke-width: 1; fill: none; }
  .vis .v-dash { stroke-dasharray: 5 4; }
  .vis .v-frame { fill: none; stroke: var(--sw-rule); stroke-width: 3; }
  .vis .v-road { stroke: var(--sw-surface-2); stroke-width: 7; }
  .vis .v-road--main { stroke: var(--sw-line); stroke-width: 9; }
  .vis .v-river { fill: none; stroke: var(--sw-primary-soft); stroke-width: 16; }
  .vis .v-tickbox { fill: var(--sw-surface); stroke: var(--sw-text); stroke-width: 2; }
  .vis .v-tick { fill: none; stroke: var(--sw-primary); stroke-width: 2.6; stroke-linecap: square; }
  .vis .v-tick--ok { stroke: var(--sw-ok); }
  .vis .v-chip--plain { fill: var(--sw-surface-2); stroke: var(--sw-text); stroke-width: 1.5; }
  .vis .v-chip--ok { fill: var(--sw-ok-bg); stroke: var(--sw-ok); stroke-width: 1.5; }
  .vis .v-chip--warn { fill: var(--sw-warn-bg); stroke: var(--sw-warn); stroke-width: 1.5; }
  .vis .v-chip--err { fill: var(--sw-err-bg); stroke: var(--sw-err); stroke-width: 1.5; }
  .vis svg .v-chiptext:where(:not([font-size])) { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; }
  .vis svg .v-chiptext--ok { fill: var(--sw-ok); }
  .vis svg .v-chiptext--warn { fill: var(--sw-warn); }
  .vis svg .v-chiptext--err { fill: var(--sw-err); }
  .vis .v-bezel { fill: var(--sw-ink); stroke: var(--sw-line); stroke-width: 1; }
  .vis .v-screen { fill: var(--sw-surface); }
  .vis .v-act { fill: var(--sw-cobalt); stroke: var(--sw-ink); stroke-width: 2; }
  .vis svg .v-act-ink { fill: var(--sw-white); }
  .vis svg .v-actxt { fill: var(--sw-link); }
  /* The report cover is a printed page: paper and ink in both schemes */
  .vis .v-doc { fill: var(--sw-paper); stroke: var(--sw-ink); stroke-width: 2; }
  .vis .v-doc-ink { fill: var(--sw-ink); }
  .vis .v-doc-grid { stroke: rgb(20 20 20 / 0.07); stroke-width: 1; }
  .vis svg .v-doc-t { fill: var(--sw-ink); }
  .vis svg .v-doc-tag { fill: #4A4A4A; }
  .vis svg .v-doc-tag:where(:not([font-size])) { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; }

  /* Guide diagrams (WP-VG, visuals/guide_*.templ): marks the guide
     drawings add, and the annotated sample-site screenshots */
  .vis svg .v-on-hl { fill: var(--sw-ink); }
  .vis svg .v-tag--text { fill: var(--sw-text); }
  .vis .v-hl-sq { fill: var(--sw-yellow); }
  .vis .v-x { fill: none; stroke: var(--sw-err); stroke-width: 2.6; stroke-linecap: square; }
  .vis .v-strike { stroke: var(--sw-err); stroke-width: 2; }
  .vis .v-pin { stroke: var(--sw-surface); stroke-width: 2; }
  .vis .v-rule--ok { stroke: var(--sw-ok); stroke-width: 3; }
  .vis .v-cell--alt { fill: var(--sw-surface); }
  .vis .v-bar--muted { fill: var(--sw-faint); }
  .vis .v-errline { stroke: var(--sw-err); stroke-width: 2; fill: none; }
  .vis-shots { display: grid; gap: var(--sw-s5); }
  .vis-shot { position: relative; }
  .vis-shot__img { display: block; inline-size: 100%; block-size: auto; border: var(--sw-border) solid var(--sw-rule); background: var(--sw-surface-2); }
  .vis-shot__pins { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; overflow: visible; }
  .vis-shot__label { margin-block-end: var(--sw-s2); font-size: var(--sw-t-tag); font-weight: 600; letter-spacing: var(--sw-track-tag); text-transform: uppercase; color: var(--sw-muted); }
  .vis-shot__keys { margin-block-start: var(--sw-s3); padding: 0; list-style: none; display: grid; gap: var(--sw-s2); font-size: var(--sw-t-small); font-weight: 600; }
  .vis-shot__keys li { display: flex; gap: var(--sw-s2); align-items: center; }
  .vis-shot__n { flex: none; display: inline-grid; place-items: center; inline-size: 24px; block-size: 24px; background: var(--sw-text); color: var(--sw-bg); font-family: var(--sw-font-head); font-weight: 800; font-size: 1rem; }
  @media (min-width: 48rem) { .vis-shot__keys { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  /* end guide diagrams */

  /* Empty state */
  .empty .stamp { margin-block-end: var(--sw-s2); }
  .thanks h1 { margin-block-end: var(--sw-s4); }
  .thanks-grid { display: grid; gap: var(--sw-s5); align-items: center; }
  @media (min-width: 60rem) { .thanks-grid--vis { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--sw-s6); } .thanks-grid__vis .vis { margin-inline-start: auto; } }
  .other-trades__h { font-size: var(--sw-t-h2); margin-block-end: var(--sw-s3); }
  .other-trades ul { display: flex; flex-wrap: wrap; gap: var(--sw-s2); }
  .other-trades a { display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: var(--sw-s3); border: var(--sw-border) solid var(--sw-rule); background: var(--sw-surface); color: var(--sw-text); font-weight: 600; text-decoration: none; }
  .other-trades a:hover { box-shadow: var(--sw-lift); translate: 0 -2px; }
  .thanks .lede { max-inline-size: 44ch; }
  .link-row .btn--quiet { text-decoration: underline; color: var(--sw-link); }

  /* Contact form */
  .form-wrap { max-inline-size: 40rem; }
  .band--form { padding-block-start: 0; }

  /* Blog */
  .posts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
  .post-card .kicker a { color: inherit; }
  .post-card .kicker { margin-block-end: var(--sw-s3); }
  .post-card__title { font-size: var(--sw-t-h2); margin-block-end: var(--sw-s2); }
  .post-card__title a { color: var(--sw-text); text-decoration: none; }
  .post-card__title a:hover { text-decoration: underline; }
  .pager ol { display: flex; flex-wrap: wrap; gap: var(--sw-s2); margin-block-start: var(--sw-s5); }
  .pager a, .pager span { display: inline-flex; min-inline-size: var(--sw-control-sm); min-block-size: var(--sw-control-sm); align-items: center; justify-content: center; padding-inline: var(--sw-s2); border: 2px solid var(--sw-text); font-weight: 600; text-decoration: none; }
  .pager span[aria-current] { background: var(--sw-text); color: var(--sw-bg); }
  .post__head { padding-block: var(--sw-s5) var(--sw-s5); }
  .post__head h1 { font-size: var(--www-xl); max-inline-size: 18ch; margin-block: var(--sw-s3); }
  .post__head .kicker a { color: inherit; }
  .post__measure { max-inline-size: calc(var(--www-measure) + 2 * var(--www-gutter)); }
  .post-meta { color: var(--sw-muted); font-size: var(--sw-t-small); }
  .post__hero { margin-block-end: var(--sw-s5); }
  .post-body { padding-block-end: var(--sw-s5); }
  .post-body > * + * { margin-block-start: var(--sw-s3); }
  .post-body h2 { margin-block-start: var(--sw-s5); font-size: var(--sw-t-h2); }
  .post-body h3 { margin-block-start: var(--sw-s4); }
  .post-body :is(ul, ol) { padding-inline-start: 1.25em; }
  .post-body li + li { margin-block-start: var(--sw-s1); }
  .callout { border-inline-start: var(--sw-rule-heavy) solid var(--sw-rule); padding: var(--sw-s3) var(--sw-s4); background: var(--sw-surface); }
  .callout__title { font-weight: 600; margin-block-end: var(--sw-s1); }
  .post-faq details { border: 1px solid var(--sw-line); padding: var(--sw-s3); background: var(--sw-surface); }
  .post-faq details + details { margin-block-start: var(--sw-s2); }
  .post-faq summary { font-weight: 600; cursor: pointer; }
  .post-faq details > p { margin-block-start: var(--sw-s2); }
  .sources { border-block-start: 2px solid var(--sw-rule); padding-block: var(--sw-s4) var(--sw-s5); font-size: var(--sw-t-small); }
  .sources h2 { font-size: var(--sw-t-h3); margin-block-end: var(--sw-s2); }
  .sources ol { padding-inline-start: 1.25em; }

  /* Legal pages */
  .legal { padding-block: var(--sw-s5) var(--www-section); }
  .legal-grid { display: grid; gap: var(--sw-s6); align-items: start; }
  @media (min-width: 70rem) { .legal-grid { grid-template-columns: minmax(0, 44rem) 1fr; } }
  .legal__body { max-inline-size: 44rem; }
  .legal__body h1 { font-size: var(--www-xl); }
  .legal__body h2 { font-size: 1.625rem; margin-block-start: var(--sw-s6); scroll-margin-block-start: 96px; }
  .legal__body :is(ul, ol) { padding-inline-start: 1.25em; }
  .legal__body li + li { margin-block-start: var(--sw-s1); }
  .effective { color: var(--sw-muted); }
  .legal .short { margin-block: var(--sw-s5); }
  .legal .short h2 { margin: 0; font-size: var(--sw-t-tag); line-height: 1; }
  .legal .short ul { margin: 0; }
  .toc-mobile { border-block: 1px solid var(--sw-line); font-size: var(--sw-t-small); }
  .toc-mobile summary { cursor: pointer; padding-block: var(--sw-s3); font-weight: 600; }
  .toc-mobile ol { padding-inline-start: 1.25em; padding-block-end: var(--sw-s3); display: grid; gap: var(--sw-s2); }
  .toc { display: none; }
  @media (min-width: 70rem) {
    .toc-mobile { display: none; }
    .toc { display: block; position: sticky; inset-block-start: 96px; justify-self: end; inline-size: 16rem; border-block-start: var(--sw-rule-heavy) solid var(--sw-rule); padding-block-start: var(--sw-s3); font-size: var(--sw-t-small); }
    .toc ol { list-style: none; padding: 0; margin: var(--sw-s3) 0 0; display: grid; gap: var(--sw-s2); }
    .toc a { color: var(--sw-muted); text-decoration: none; }
    .toc a:hover { color: var(--sw-text); text-decoration: underline; }
  }
  .legal .data-table { font-size: var(--sw-t-small); }

  /* Reels: a poster and a play button, the player or Instagram's frame
     only after a click */
  .reels { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
  .reel { display: grid; gap: var(--sw-s2); }
  .reel__poster { position: relative; display: block; aspect-ratio: 9 / 16; background: var(--sw-ink); color: var(--sw-white); text-decoration: none; overflow: hidden; }
  .reel__poster img, .reel video, .reel iframe { inline-size: 100%; block-size: 100%; object-fit: cover; border: 0; }
  .reel iframe { aspect-ratio: 9 / 16; block-size: auto; background: var(--sw-surface); }
  .reel__blank { display: grid; place-items: center; block-size: 100%; padding: var(--sw-s4); font-family: var(--sw-font-head); font-weight: 800; text-transform: uppercase; font-size: var(--sw-t-h2); text-align: center; }
  .reel__play { position: absolute; inset-block-end: var(--sw-s3); inset-inline-start: var(--sw-s3); background: var(--sw-primary); color: var(--sw-white); border: 2px solid var(--sw-ink); padding: var(--sw-s2) var(--sw-s3); font-weight: 600; }
  .reel__time { position: absolute; inset-block-start: var(--sw-s2); inset-inline-end: var(--sw-s2); background: var(--sw-ink); color: var(--sw-white); font-size: var(--sw-t-tag); padding: 2px 6px; }
  .reel__title { font-size: var(--sw-t-h3); margin-block-start: var(--sw-s3); }
  .reel__title a { color: var(--sw-text); text-decoration: none; }
  .watch { display: grid; gap: var(--sw-s5); align-items: start; }
  @media (min-width: 56rem) { .watch { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); } }

  /* Honeypot: off screen, not display:none, so bots still fill it */
  .hp { position: absolute; inset-inline-start: -10000px; inline-size: 1px; block-size: 1px; overflow: hidden; }

  /* Consent bar (consent.js builds it into the brand .toast) */
  .consent__actions { display: flex; gap: var(--sw-s2); flex: none; }
  html.consent-open body { padding-block-end: 88px; }

  /* DEV only: open TODO(peter) items, never in production markup */
  mark.todo { background: var(--sw-err-bg); color: var(--sw-err); font-size: var(--sw-t-small); font-weight: 600; padding: 0 4px; outline: 1px dashed var(--sw-err); }
  .devnotes { background: var(--sw-err-bg); border-block-end: 2px dashed var(--sw-err); font-size: var(--sw-t-small); padding-block: var(--sw-s2); }
  .devnotes summary { cursor: pointer; color: var(--sw-err); }
  .devnotes ul { margin-block-start: var(--sw-s2); padding-inline-start: 1.25em; display: grid; gap: var(--sw-s1); }
  .devnotes code { font-size: 0.8125rem; }
}

@layer utilities {
  .nowrap { white-space: nowrap; }
}

/* Blog posts (blogview owns the markup and blog.css, loaded after this
   file): the article and its rail span the header's 1240px, and the
   rail is one block that sticks near the top for the article's length.
   Two classes outrank blog.css's one in the same layer. */
@layer components {
  @media (min-width: 64rem) {
    .wrap.post__layout { grid-template-columns: minmax(0, 46rem) minmax(16rem, 20rem); justify-content: space-between; align-items: start; }
    .post__layout > .post__rail { align-self: start; position: sticky; inset-block-start: 96px; max-block-size: calc(100vh - 112px); overflow-y: auto; }
    .post__rail > .post__rail-top { flex: none; }
    .post__rail .post__rail-inner { position: static; max-block-size: none; overflow: visible; }
    .post__layout .post__main { max-inline-size: 46rem; }
  }
}

/* ==== Study and money figures (WP-VS, funnel build) ====================
   internal/www/visuals/study_*.templ and money_*.templ. The study charts
   use the brand's ink and yellow, plus a five-step ink ramp (v-q1..v-q5)
   mixed from --sw-text into --sw-surface, so the steps follow light and
   dark mode. Values on q4 and q5 print in v-inv. */
@layer components {
  .vis--study { max-inline-size: 32rem; }
  .vis svg .v-svb { font-weight: 700; }
  .vis svg .v-on-hl { fill: var(--sw-ink); }
  .vis .v-q1 { fill: color-mix(in srgb, var(--sw-text) 10%, var(--sw-surface)); stroke: var(--sw-line); stroke-width: 1; }
  .vis .v-q2 { fill: color-mix(in srgb, var(--sw-text) 22%, var(--sw-surface)); }
  .vis .v-q3 { fill: color-mix(in srgb, var(--sw-text) 36%, var(--sw-surface)); }
  .vis .v-q4 { fill: color-mix(in srgb, var(--sw-text) 72%, var(--sw-surface)); }
  .vis .v-q5 { fill: var(--sw-text); }
  .vis .v-svline { fill: none; stroke-width: 2.5; stroke-linejoin: round; }
  .vis .v-svline.v-ink { stroke: var(--sw-text); }
  .vis .v-svline.v-mutfill { stroke: var(--sw-muted); stroke-dasharray: 6 4; }
  .vis .v-svdot:not(.v-hlbar) { stroke: var(--sw-bg); stroke-width: 2; }

  /* money-problems: stacked cards on phones, a table of rows from 48rem */
  .vis--money { max-inline-size: none; }
  .mp__pace { display: block; inline-size: 100%; max-inline-size: 40rem; block-size: auto; margin-block-end: var(--sw-s3); }
  .mp__heads { display: none; }
  .mp__rows { display: grid; gap: var(--sw-s3); }
  .mp__row { display: grid; gap: var(--sw-s2); padding: var(--sw-s3); background: var(--sw-surface); border: 1px solid var(--sw-line); border-block-start: var(--sw-rule-heavy) solid var(--sw-rule); }
  .mp__row--hi { box-shadow: inset 0 0 0 2px var(--sw-yellow); }
  .mp__n { font-family: var(--sw-font-head); font-weight: 800; font-size: 1.75rem; line-height: 1; }
  .mp__problem { font-family: var(--sw-font-head); font-weight: 800; text-transform: uppercase; font-size: 1.375rem; line-height: 1.05; }
  .mp__cell { font-size: var(--sw-t-body); line-height: 1.45; }
  .mp__label { display: block; font-size: var(--sw-t-tag); font-weight: 600; letter-spacing: var(--sw-track-tag); text-transform: uppercase; color: var(--sw-muted); margin-block-end: 2px; }
  .mp__found { font-weight: 600; }
  .mp__when { justify-self: start; display: inline-block; padding: 2px var(--sw-s2); background: var(--sw-yellow); color: var(--sw-ink); font-size: var(--sw-t-small); font-weight: 600; line-height: 1.4; }
  .mp__when .mp__label { color: var(--sw-ink); }
  @media (min-width: 48rem) {
    .mp__heads, .mp__row { display: grid; grid-template-columns: 2.5rem minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 0.9fr); gap: 0 var(--sw-s4); align-items: start; }
    .mp__heads { padding: 0 var(--sw-s3) var(--sw-s2); border-block-end: var(--sw-rule-heavy) solid var(--sw-rule); font-size: var(--sw-t-tag); font-weight: 600; letter-spacing: var(--sw-track-tag); text-transform: uppercase; color: var(--sw-muted); }
    .mp__rows { gap: 0; }
    .mp__row { background: none; border: 0; border-block-end: 1px solid var(--sw-line); padding: var(--sw-s3); }
    .mp__row .mp__label { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .mp__problem { font-size: 1.25rem; }
  }
}

/* ==== Funnel articles (WP0, pages/article.templ) ======================
   Guides, Layer 2 pages, studies, the money page, the tool page and the
   hubs. A reading column of about 46rem; on wide screens a study's rail
   sits beside it and sticks near the top, on phones it sits inline
   where the copy put it. Tokens only, so dark mode follows brand.css. */
@layer components {
  .art__head { padding-block: var(--sw-s5) var(--sw-s5); border-block-end: 1px solid var(--sw-line); }
  .art__top { display: grid; gap: var(--sw-s4); align-items: center; }
  @media (min-width: 60rem) { .art__top--hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sw-s6); } }
  .art__title { max-inline-size: 48rem; }
  .art__title > * + * { margin-block-start: var(--sw-s3); }
  .art__kicker { margin-block-end: var(--sw-s3); }
  .art__title h1 { font-size: var(--www-l); line-height: 0.98; }
  .art--money .art__title h1, .art--tool .art__title h1, .art--hub .art__title h1 { font-size: var(--www-xl); line-height: 0.92; }
  .art__byline { font-size: var(--sw-t-small); color: var(--sw-muted); font-weight: 600; }
  .art__byline a { color: inherit; }
  .art__dates { display: block; font-weight: 400; }
  .art__intro > * + * { margin-block-start: var(--sw-s3); }
  .art__intro > p:first-child { font-size: clamp(1.0625rem, 2vw, 1.25rem); line-height: 1.45; }
  .art__hero .vis { margin-inline: auto; }

  /* The reading column and its rail */
  .art__wrap { padding-block: var(--sw-s5) var(--www-section); }
  .art__body { max-inline-size: 46rem; }
  .art__body > * + *, .art__run > * + * { margin-block-start: var(--sw-s3); }
  .art__body > h2, .art__run > h2 { font-size: clamp(1.625rem, 3.2vw, 2.125rem); line-height: 1; margin-block-start: var(--sw-s6); scroll-margin-block-start: 96px; }
  .art__body > h3, .art__run > h3 { font-size: 1.375rem; line-height: 1.1; margin-block-start: var(--sw-s5); scroll-margin-block-start: 96px; }
  .art__body > h2 + *, .art__body > h3 + *, .art__run > h2 + * { margin-block-start: var(--sw-s3); }
  .art__body p, .art__run p, .art-list { line-height: 1.6; }
  .art__body > p, .art__run > p { max-inline-size: 68ch; }
  .art__body > :first-child, .art__run > :first-child { margin-block-start: 0; }
  .art-list { padding-inline-start: 1.25em; display: grid; gap: var(--sw-s2); max-inline-size: 68ch; }
  .art-list--num { padding-inline-start: 1.5em; }
  .art-list li::marker { color: var(--sw-muted); font-weight: 600; }
  @media (min-width: 64rem) {
    .art--rail .art__body { display: grid; max-inline-size: none; grid-template-columns: minmax(0, 46rem) minmax(16rem, 20rem); column-gap: var(--sw-s6); justify-content: space-between; align-items: start; }
    .art--rail .art__body > * { grid-column: 1; }
    .art--rail .art__body > .art__rail { grid-column: 2; grid-row: 1 / span 400; align-self: stretch; margin-block-start: 0; }
    .art__rail-in { position: sticky; inset-block-start: 96px; }
  }
  .art__rail-in { border-block-start: var(--sw-rule-heavy) solid var(--sw-rule); padding-block-start: var(--sw-s3); display: grid; gap: var(--sw-s3); font-size: var(--sw-t-small); }
  .art__rail-in > h3 { font-size: var(--sw-t-h3); margin-block-start: var(--sw-s3); }
  .art__rail-in > h3:first-child { margin-block-start: 0; }
  @media (max-width: 63.99rem) { .art__rail { margin-block: var(--sw-s5); } .art__rail-in { background: var(--sw-surface); border: 1px solid var(--sw-line); border-block-start: var(--sw-rule-heavy) solid var(--sw-rule); padding: var(--sw-s4); } }

  /* Tables (lead decision 13): every table fits its column on wide
     screens. Every cell wraps (numbers stay on one line), heads wrap and
     balance, a wide= column gets room, and the table never scrolls
     sideways there. Numbers right-aligned in tabular figures; a total
     row in bold over a rule; a mark= column (Squarewell's, in a
     comparison) set apart in the cobalt wash. */
  .art-table { border-block-start: var(--sw-rule-heavy) solid var(--sw-rule); margin-block: var(--sw-s4); max-inline-size: 100%; }
  .art-table table { inline-size: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 0.9375rem; }
  .art-table :is(th, td) { padding: var(--sw-s2) var(--sw-s3); text-align: start; vertical-align: top; border-block-end: 1px solid var(--sw-line); overflow-wrap: break-word; }
  .art-table thead th { font-size: var(--sw-t-tag); font-weight: 600; letter-spacing: var(--sw-track-tag); text-transform: uppercase; color: var(--sw-muted); border-block-end: 2px solid var(--sw-rule); vertical-align: bottom; white-space: normal; text-wrap: balance; }
  .art-table tbody th { font-weight: 600; }
  .art-table .num { text-align: end; }
  .art-table td.num { white-space: nowrap; }
  .art-table tr.is-total :is(th, td) { border-block-start: 2px solid var(--sw-rule); }
  .art-table .is-mark { background: var(--sw-primary-soft); }
  .art-table thead th.is-mark { color: var(--sw-text); font-weight: 700; box-shadow: inset 0 var(--sw-rule-heavy) 0 var(--sw-primary); }
  .art-table td.is-mark { font-weight: 700; }
  /* Five and six columns: tighter cells, and heads may hyphenate */
  .art-table:is(.art-table--c5, .art-table--c6) :is(th, td) { padding-inline: var(--sw-s2); }
  .art-table--c6 table { font-size: 0.875rem; }
  .art-table thead th { hyphens: auto; }
  @media (min-width: 48rem) {
    .art-table .is-wide { inline-size: 34%; }
    .art-table--c2 :is(th, td):first-child { inline-size: 60%; }
  }
  /* Phones, stack (the default): one compact card per row, the row's
     name as its title, then a two-column line per value, its label at
     the left (a column's short label, "Head {Short}" in the copy) */
  @media (max-width: 47.99rem) {
    .art-table:is(.art-table--stack, .art-table--compare) thead { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .art-table:is(.art-table--stack, .art-table--compare) tr { display: block; padding-block: var(--sw-s3); border-block-end: 1px solid var(--sw-line); }
    .art-table:is(.art-table--stack, .art-table--compare) :is(th, td) { display: block; border: 0; padding: 0; text-align: start; white-space: normal; }
    .art-table:is(.art-table--stack, .art-table--compare) tbody th { font-size: 1.0625rem; margin-block-end: var(--sw-s2); }
    .art-table:is(.art-table--stack, .art-table--compare) td::before { content: attr(data-label); display: block; font-size: var(--sw-t-tag); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sw-muted); line-height: 1.3; }
    .art-table:is(.art-table--stack, .art-table--compare) td.is-empty { display: none; }
    .art-table:is(.art-table--stack, .art-table--compare) tr.is-total { border-block-start: 2px solid var(--sw-rule); }
    .art-table:is(.art-table--stack, .art-table--compare) tr.is-total :is(th, td) { border: 0; }
    .art-table.art-table--stack td { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--sw-s3); align-items: baseline; padding-block: 4px; border-block-end: 1px dotted var(--sw-line); }
    .art-table.art-table--stack td:last-child { border-block-end: 0; }
    .art-table.art-table--stack td.num { text-align: end; font-weight: 600; }
    .art-table.art-table--stack td::before { text-align: start; }
    .art-table.art-table--stack td.is-mark { padding-inline: var(--sw-s2); }
    /* compare: the row's numbers side by side under its name, each with
       its label above, so the gap between them reads at a glance */
    .art-table.art-table--compare tr { display: grid; column-gap: var(--sw-s3); row-gap: var(--sw-s2); grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .art-table.art-table--compare.art-table--c4 tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .art-table.art-table--compare.art-table--c6 tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .art-table.art-table--compare.art-table--c2 tr { grid-template-columns: minmax(0, 1fr); }
    .art-table.art-table--compare tbody th { grid-column: 1 / -1; margin-block-end: 0; }
    .art-table.art-table--compare td.num { font-size: 1.375rem; font-weight: 700; line-height: 1.15; }
    .art-table.art-table--compare td.num::before { margin-block-end: 2px; }
    .art-table.art-table--compare td.is-mark { padding: var(--sw-s1) var(--sw-s2); }
  }
  /* Phones, grid: a narrow table kept as it is */
  @media (max-width: 47.99rem) { .art-table--grid :is(th, td) { padding-inline: var(--sw-s2); } .art-table--grid :is(th, td):first-child { padding-inline-start: 0; } }
  /* Phones, scroll: the grid kept and scrolled sideways inside the
     column, sized by its column count (two or three columns just fit),
     the row names held at a set width, and a shadow at the right edge
     while more columns sit off screen. Wide screens never scroll. */
  @media (max-width: 47.99rem) {
    .art-table--scroll {
      overflow-x: auto;
      background:
        linear-gradient(to left, var(--sw-bg) 40%, transparent) right / 2rem 100% no-repeat local,
        linear-gradient(to left, color-mix(in srgb, var(--sw-text) 22%, transparent), transparent) right / 0.75rem 100% no-repeat scroll;
    }
    .art-table--scroll.art-table--c4 table { min-inline-size: 30rem; }
    .art-table--scroll.art-table--c5 table { min-inline-size: 36rem; }
    .art-table--scroll.art-table--c6 table { min-inline-size: 42rem; }
    .art-table--scroll :is(th, td) { padding-inline: var(--sw-s2); }
    .art-table--scroll tbody th, .art-table--scroll thead th:first-child { position: sticky; inset-inline-start: 0; z-index: 1; inline-size: 8rem; padding-inline-start: 0; background: var(--sw-bg); box-shadow: inset -1px 0 0 var(--sw-line); }
  }

  /* Callouts: what it means for you (cobalt), keep in mind (amber) */
  .callout { border-inline-start: var(--sw-rule-heavy) solid var(--sw-primary); background: var(--sw-primary-soft); padding: var(--sw-s3) var(--sw-s4); max-inline-size: 68ch; }
  .callout--mind { border-inline-start-color: var(--sw-warn); background: var(--sw-warn-bg); }
  /* The short answer (::: callout answer): a ruled box at lead size */
  .callout--answer { border: var(--sw-border) solid var(--sw-rule); border-inline-start: var(--sw-rule-heavy) solid var(--sw-rule); background: var(--sw-surface); font-size: clamp(1.0625rem, 2vw, 1.1875rem); line-height: 1.5; }

  /* Template cards (::: callout copy): a paper card, its subhead the
     card's label, and static/copy.js adds the Copy button under it */
  .callout--copy { background: var(--sw-bg); border: 1px solid var(--sw-line); border-inline-start: var(--sw-rule-heavy) solid var(--sw-rule); }
  .callout--copy > h3:first-child { font-size: var(--sw-t-tag); font-weight: 600; letter-spacing: var(--sw-track-tag); text-transform: uppercase; color: var(--sw-muted); margin: 0; }
  .copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sw-s3); }
  .copy-row__status { font-weight: 600; font-size: var(--sw-t-small); }

  /* Sources (::: sources): small type under a rule */
  .art-sources { border-block-start: 1px solid var(--sw-line); padding-block-start: var(--sw-s3); font-size: var(--sw-t-small); color: var(--sw-muted); max-inline-size: 68ch; }
  .art-sources > * + * { margin-block-start: var(--sw-s2); }
  .art-sources a { color: var(--sw-text); }
  .art-sources .art-list { gap: var(--sw-s1); line-height: 1.45; }
  .art__body > .art-sources, .art__run > .art-sources { margin-block-start: var(--sw-s5); }
  .callout > * + * { margin-block-start: var(--sw-s2); }
  .art__body > .callout, .art__run > .callout { margin-block: var(--sw-s4); }

  /* Collapsed toggle: the words are in the page, the box opens on tap */
  .toggle { border-block: 1px solid var(--sw-line); max-inline-size: 68ch; }
  .toggle summary { cursor: pointer; padding-block: var(--sw-s3); font-weight: 600; min-block-size: 44px; }
  .toggle__body { padding-block-end: var(--sw-s3); }
  .toggle__body > * + * { margin-block-start: var(--sw-s2); }

  /* Questions */
  .art-faq { border-block-start: var(--sw-rule-heavy) solid var(--sw-rule); max-inline-size: 68ch; }
  .art-faq__item { padding-block: var(--sw-s4); border-block-end: 1px solid var(--sw-line); }
  .art-faq__item > * + * { margin-block-start: var(--sw-s2); }
  .art-faq__q { font-size: var(--sw-t-h3); line-height: 1.25; font-family: var(--sw-font-body); font-weight: 700; text-transform: none; letter-spacing: 0; }

  /* Steps, the button, figures, tools */
  .howto .art-list--num { gap: var(--sw-s3); }
  .art-cta { margin-block: var(--sw-s4); }
  .art-cta .actions__note { margin-block-start: var(--sw-s2); font-size: 0.9375rem; color: var(--sw-text); max-inline-size: 60ch; }
  .art-cta__price { font-weight: 700; font-size: 1.0625rem; margin-block-end: var(--sw-s2); }
  .art-cta--closing { margin-block-start: var(--sw-s4); }
  .art-fig { margin-block: var(--sw-s5); }
  /* Guide diagrams are drawn 400 units wide and sit inside the 16px
     phone gutter like the text (lead decision 14). A figure with a
     phone variant (<id>-phone in the visual registry) draws both, and
     only one shows: the wide drawing from 48rem, the stacked one below. */
  .art-fig .vis--guide { margin-inline: auto; }
  .art-fig__phone { display: none; }
  @media (max-width: 47.99rem) {
    .art-fig--pair > .art-fig__wide { display: none; }
    .art-fig--pair > .art-fig__phone { display: block; }
  }
  /* "Illustration" under every funnel stand-in picture (decision 17) */
  .vis--art > .vis__cap--ill { margin-block-start: var(--sw-s1); font-size: var(--sw-t-tag); letter-spacing: var(--sw-track-tag); text-transform: uppercase; font-weight: 600; }
  /* Article, study and hub heroes drop on phones, so the short answer
     sits in the first screen (decision 18; the tool page already did) */
  @media (max-width: 47.99rem) { :is(.art--article, .art--study, .art--hub, .art--tool) .art__hero { display: none; } }
  /* Tags in guide diagrams in body ink, not grey, at their small size */
  .vis--guide svg .v-tag:not(.v-inv, .v-on-hl, .v-act-ink, .v-chiptext--ok, .v-chiptext--err, .v-chiptext--warn, .v-tag--ink) { fill: color-mix(in srgb, var(--sw-text) 70%, var(--sw-muted)); }
  .art-tool { margin-block: var(--sw-s4); }

  /* Downloads in the rail */
  .art-downloads { display: grid; gap: var(--sw-s3); }
  .art-downloads .note { margin-block-start: var(--sw-s1); }
  .art-dl { font-weight: 600; }

  /* Hubs */
  .hub-list { margin-block-start: var(--sw-s4); }
  .hub-card h3 { font-size: var(--sw-t-h2); line-height: 1.05; }
  .hub-card h3 a { color: var(--sw-text); text-decoration: none; }
  .hub-card h3 a:hover { text-decoration: underline; }
  .hub-card p { margin-block-start: var(--sw-s2); color: var(--sw-muted); }

  /* Money, tool and hub pages: runs of blocks between bands */
  .art--money > .art__run, .art--tool > .art__run, .art--hub > .art__run { padding-block: var(--sw-s5); }
  .art__run { max-inline-size: calc(46rem + 2 * var(--www-gutter)); margin-inline: auto; }
  .art-band--blueprint { border-block: 1px solid var(--sw-line); }
  .art-band--ink {
    --sw-bg: var(--www-photo-bg); --sw-surface: #1B1B1B; --sw-text: #F2F2F2; --sw-muted: #B8B8B8; --sw-line: #333333;
    --sw-link: var(--sw-cobalt-light);
    background: var(--sw-bg); color: var(--sw-text);
  }

  /* DEV only: slots and links waiting on other work */
  .pending-slot { border: 2px dashed var(--sw-err); color: var(--sw-err); background: var(--sw-err-bg); padding: var(--sw-s3); font-size: var(--sw-t-small); font-weight: 600; }
  .pending-link { outline: 1px dashed var(--sw-err); }
}

/* ==== Article rail (funnel porting, pages/article.templ articleTOC) =====
   "On this page" on article and tool pages: the page's H2s as jump links
   and the sign-up button from the CTA config, sticky beside the reading
   column on wide screens with CSS alone. Narrower screens hide it (the
   headings and the page's own button carry it there). Studies keep
   their downloads rail (.art__rail above), money and hub pages have none. */
@layer components {
  .art__runs > .art__run { padding-block: var(--sw-s5); }
  .art-toc { display: none; }
  /* Narrower screens: a light collapsed "On this page" under the intro */
  /* It reads as a control (decision 15): a bordered bar, the label in
     body ink, the section count, and a chevron that turns when open */
  .art-tocm { border: 1px solid var(--sw-line); border-inline-start: var(--sw-rule-heavy) solid var(--sw-rule); background: var(--sw-surface); max-inline-size: 68ch; }
  .art-tocm > summary { cursor: pointer; list-style: none; min-block-size: 48px; display: flex; align-items: center; gap: var(--sw-s2); padding-inline: var(--sw-s3); font-weight: 700; color: var(--sw-text); }
  .art-tocm > summary::-webkit-details-marker { display: none; }
  .art-tocm__n { font-weight: 400; font-size: var(--sw-t-small); color: var(--sw-muted); }
  .art-tocm > summary::after { content: ""; margin-inline-start: auto; inline-size: 0.6rem; block-size: 0.6rem; border-inline-end: 2px solid currentColor; border-block-end: 2px solid currentColor; transform: translateY(-25%) rotate(45deg); transition: transform 0.15s; }
  .art-tocm[open] > summary::after { transform: translateY(25%) rotate(-135deg); }
  .art-tocm > summary:hover .art-tocm__h { text-decoration: underline; }
  .art-tocm > summary:focus-visible { outline: 2px solid var(--sw-link); outline-offset: 2px; }
  .art-tocm[open] > summary { border-block-end: 1px solid var(--sw-line); }
  @media (prefers-reduced-motion: reduce) { .art-tocm > summary::after { transition: none; } }
  .art-tocm__list { margin: 0; padding: var(--sw-s2) var(--sw-s3) var(--sw-s3) calc(var(--sw-s3) + 1.5em); display: grid; gap: var(--sw-s1); line-height: 1.4; }
  .art-tocm__list a { display: inline-block; padding-block: var(--sw-s1); }
  .art-tocm__list li::marker { color: var(--sw-muted); font-weight: 600; }
  .art__body > .art-tocm, .art__intro > .art-tocm { margin-block: var(--sw-s4); }
  @media (min-width: 72rem) { .art-tocm { display: none; } }
  @media (min-width: 72rem) {
    .art__wrap--toc { display: grid; grid-template-columns: minmax(0, 46rem) 16rem; column-gap: var(--sw-s6); justify-content: space-between; align-items: start; }
    .art-toc { display: grid; gap: var(--sw-s3); justify-items: start; position: sticky; inset-block-start: 96px; max-block-size: calc(100vh - 112px); overflow-y: auto;
      border-block-start: var(--sw-rule-heavy) solid var(--sw-rule); padding-block-start: var(--sw-s3); font-size: var(--sw-t-small); }
    .art-toc__h { font-size: var(--sw-t-tag); font-weight: 600; letter-spacing: var(--sw-track-tag); text-transform: uppercase; color: var(--sw-muted); }
    .art-toc__list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sw-s2); }
    .art-toc__list a { color: var(--sw-muted); text-decoration: none; }
    .art-toc__list a:hover, .art-toc__list a:focus-visible { color: var(--sw-text); text-decoration: underline; }
    .art-toc__cta { margin-block-start: var(--sw-s2); }

    /* Tool pages: the runs keep their 46rem column, moved to the page's
       left edge, and the rail rides a full-height layer over the right
       of the bands, on a card so it reads over an ink band too. */
    .art__runs { position: relative; }
    .art__runs > .art__run, .art__runs > .art-band > .art__run { margin-inline: max(0px, calc((100% - var(--sw-page) - 2 * var(--www-gutter)) / 2)) auto; }
    .art-toc__wrap { position: absolute; inset: 0; display: flex; justify-content: flex-end; padding-block: var(--sw-s5); pointer-events: none; }
    .art-toc__wrap > .art-toc { inline-size: 16rem; align-self: flex-start; pointer-events: auto; background: var(--sw-bg); border: 1px solid var(--sw-line); border-block-start: var(--sw-rule-heavy) solid var(--sw-rule); padding: var(--sw-s3); }
  }
}

/* FX-D (critic round 1, review guides and A1). A callout that opens
   with a subhead is a ready-to-send template (R2): a paper card with a
   full border, its subhead set as the card's label. The tool page drops
   its decorative hero on phones, so the first H2 follows the tool. */
@layer components {
  .callout:has(> h3:first-child) { background: var(--sw-bg); border: 1px solid var(--sw-line); border-inline-start: var(--sw-rule-heavy) solid var(--sw-rule); }
  .callout:has(> h3:first-child) > h3 { font-size: var(--sw-t-tag); font-weight: 600; letter-spacing: var(--sw-track-tag); text-transform: uppercase; color: var(--sw-muted); margin: 0; }
  @media (max-width: 47.99rem) { .art--tool .art__hero { display: none; } }
}

/* ==== FX2-D (critic round 2, review guides and A1) ====================
   Labels in the R and A1 diagrams (visuals/guide_r.templ, guide_a1.templ)
   are at least 15 units in the 400-unit drawing, about 13 px in a 343 px
   phone column: tags and chips drawn at that size, and a figure with a
   wide and a phone drawing (vis--dual) shows the phone one under 30rem.
   This also closes FX-D's round 1 block, which was left open. */
@layer components {
  .vis svg .v-tag.v-tag--lg { font-size: 15px; letter-spacing: 0.08em; }
  .vis svg .v-chiptext.v-chiptext--lg { font-size: 15px; letter-spacing: 0.06em; }
  .vis--dual > .vis__svg.vis__svg--phone { display: none; }
  @media (max-width: 29.99rem) {
    .vis--dual > .vis__svg.vis__svg--wide { display: none; }
    .vis--dual > .vis__svg.vis__svg--phone { display: block; }
  }
}

/* ==== FX3-D (critic round 3, review guides, A1 and the review tool) ====
   Diagram labels in guide_r.templ and guide_a1.templ are 17 units or
   more (lead decision 27), so tags and chips move up with them. Copy
   card labels can be an H4 (#### in the dialect), and "::: cards" sets
   copy cards two across from 48rem, its folded extras in a <details>
   that copy.js closes on phones (wide screens hide its summary, so the
   grid reads as one). */
@layer components {
  .vis svg .v-tag.v-tag--lg { font-size: 17px; letter-spacing: 0.07em; }
  .vis svg .v-chiptext.v-chiptext--lg { font-size: 17px; letter-spacing: 0.05em; }
  .callout--copy > h4:first-child { font-size: var(--sw-t-tag); font-weight: 600; letter-spacing: var(--sw-track-tag); text-transform: uppercase; color: var(--sw-muted); margin: 0; }
  .art__body > h4, .art__run > h4 { font-size: 1rem; margin-block-start: var(--sw-s4); }
  .art__body > h3, .art__run > h3 { margin-block-start: var(--sw-s5); }
  .cards { display: grid; gap: var(--sw-s3); max-inline-size: 68ch; }
  .cards > .callout { margin: 0; max-inline-size: none; }
  .art__body > .cards, .art__run > .cards, .art__body > .cards__more, .art__run > .cards__more { margin-block: var(--sw-s4); }
  .cards__more { max-inline-size: 68ch; }
  .cards__more > summary { cursor: pointer; font-weight: 600; min-block-size: 44px; display: flex; align-items: center; gap: var(--sw-s2); border-block: 1px solid var(--sw-line); }
  .cards__more > summary::after { content: "+"; font-weight: 700; margin-inline-start: auto; }
  .cards__more[open] > summary::after { content: "\2212"; }
  .cards__more > .cards { margin-block-start: var(--sw-s3); }
  @media (min-width: 48rem) {
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); max-inline-size: none; }
    .cards__more { max-inline-size: none; }
    .art__body > .cards + .cards__more, .art__run > .cards + .cards__more { margin-block-start: var(--sw-s3); }
    .cards__more[open] > summary { display: none; }
    .cards__more > .cards { margin-block-start: 0; }
  }
  /* Placeholders in a card never break mid-token on a phone */
  .callout--copy code { white-space: nowrap; }
}




/* ==== FX-E: study tables and figures (critic round 1, group E) ========
   The four /research/ study pages. Their tables are one row per trade
   (or city size), the page's key number in the first value column.
   Desktop: headers wrap instead of pushing the last column out of the
   reading column, and a table that is still too wide scrolls inside it.
   Phones: each row is a card, the trade as its title, then one
   label-and-value line per number with the first number set large;
   text cells (service lists, directories) keep the label above. The
   tables a chart already draws sit in a closed toggle. */
@layer components {
  .art--study .toggle .art-table { margin-block: var(--sw-s2) 0; }
  @media (min-width: 48rem) {
    .art--study .art-table tbody tr > td:first-of-type.num { font-weight: 700; }
  }
  @media (max-width: 47.99rem) {
    .art--study .art-table--stack tbody th { font-size: 1.125rem; }
    .art--study .art-table--stack tr > td:first-of-type.num { font-size: 1.375rem; font-weight: 700; align-items: center; }
  }
  /* Figure captions on study pages: readable at a phone's width */
  .art--study .vis--study .vis__cap { font-size: max(0.8125rem, 13px); }

  /* ---- FX2-E: study tables fit, chart labels read (critic round 2) ----
     Every study table is cut by content to fit the 46rem column (lead
     decision 13): numeric tables are grids on phones too, with short
     heads, and the two text tables give their text column the room.
     Nothing here scrolls. The study charts draw every word at 15 units
     or more (study_charts.templ), and the tag line follows. The
     FX-D and FX-E blocks now close their @layer: left open, every
     block after them sat in a nested layer that lost to the base
     table rules. */
  .art--study .art-table td:not(.num) { min-inline-size: 0; }
  .art--study .art-table--grid tbody th { white-space: normal; }
  .art--study .art-table--grid :is(th, td).num { inline-size: 1%; }
  @media (min-width: 48rem) {
    .art--study .art-table tbody th { inline-size: 11rem; }
    #factors tbody th { inline-size: 15rem; }
    .art--study #trade-table td:not(.num) { inline-size: 14rem; }
    .art--study #glance-table :is(th, td).num,
    .art--study #gap-table :is(th, td).num { inline-size: 9rem; }
  }
  @media (max-width: 47.99rem) {
    .art--study .art-table--grid table { font-size: 0.9375rem; }
    .art--study .art-table--grid thead th { font-size: 0.75rem; letter-spacing: 0.04em; overflow-wrap: normal; hyphens: manual; }
    .art--study .art-table--grid :is(th, td) { padding-inline: 0 var(--sw-s2); }
    .art--study .art-table--grid :is(th, td):last-child { padding-inline-end: 0; }
    #factors tbody th { inline-size: 38%; font-size: 0.9375rem; }
  }
  .art--study .vis--study svg .v-tag { font-size: 15px; letter-spacing: 0.04em; }
}


/* ==== FX-A (critic round 1 fixes: money and Layer 2 pages) =============
   money-problems: the row list sits on the page gutter (no list indent),
   so the cards run full width on phones and the rows line up under the
   column heads; "What we found" reads in body weight, under the problem. */
@layer components {
  .mp__rows { padding: 0; list-style: none; }
  .mp__found { font-weight: 400; }
}


/* ==== FX-C: profile guides p1 to p5 (critic round 1) ===================
   Page-scoped by the ids the copy gives its tables and headings, so
   nothing here reaches another page. Tokens only, so dark mode follows
   brand.css. */
@layer components {
  /* p1 category table: the share column narrow, the names given room */
  @media (min-width: 48rem) {
    #categories :is(th, td):nth-child(3) { inline-size: 7rem; }
    #categories :is(th, td):nth-child(1) { inline-size: 9rem; }
  }

  /* p2 examples: each one a square card, its length and Copy under it.
     Placeholders in brackets are filled amber so nobody pastes them. */
  #description-examples ~ h3 + p { border: var(--sw-border) solid var(--sw-rule); background: var(--sw-surface); padding: var(--sw-s3) var(--sw-s4); }
  #description-examples ~ h3 + p + p { margin-block-start: var(--sw-s2); font-size: var(--sw-t-small); color: var(--sw-muted); }
  .fxc-count { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sw-s3); }
  .fxc-copy__status { font-weight: 600; color: var(--sw-text); }
  .art:has(#description-examples) code { font-family: inherit; font-size: inherit; background: var(--sw-warn-bg); color: var(--sw-text); padding-inline: 0.15em; box-shadow: inset 0 -1px 0 var(--sw-warn); }

  /* p3 the before and after drawing: a third smaller than the column */
  #ill-p3-1 .vis__img { max-inline-size: 30rem; }
}


/* ==== FX-F, critic round 1: hubs, home, pricing and the older pages ====
   Hub body on the page edge, hub link lists, the studies as cards, the
   plan cards side by side, the FAQ page in one column, the waffle's
   never-reached squares, steps with the numeral by its heading. */
@layer components {
  /* Hubs: the body starts at the same left edge as the header */
  @media (min-width: 64rem) {
    .art--hub > .art__run, .art--hub > .art-band > .art__run { margin-inline: max(0px, calc((100% - var(--sw-page) - 2 * var(--www-gutter)) / 2)) auto; }
    .art--hub .art__top--hero { align-items: start; }
  }
  @media (max-width: 47.99rem) { .art--hub .art__hero { display: none; } }
  .art--hub .art__intro .callout { margin-block-start: var(--sw-s4); }
  /* Hub lists: the link on its own line, the line about it under it */
  .art--hub .art-list { list-style: none; padding-inline-start: 0; gap: var(--sw-s3); }
  .art--hub .art-list > li { color: var(--sw-muted); font-size: 0.9375rem; line-height: 1.5; }
  .art--hub .art-list > li > a:first-child, .art--hub .art-list > li > strong:first-child { display: block; font-size: 1.0625rem; font-weight: 600; color: var(--sw-text); margin-block-end: var(--sw-s1); text-wrap: balance; }
  .art--hub .art-list > li > a:first-child { color: var(--sw-link); }
  /* Research hub: each study a square card, two across on wide screens */
  .art--hub #the-studies + .art-list { display: grid; gap: var(--sw-s3); max-inline-size: none; }
  .art--hub #the-studies + .art-list > li { border: 1px solid var(--sw-line); border-block-start: var(--sw-rule-heavy) solid var(--sw-rule); background: var(--sw-surface); padding: var(--sw-s4); }
  @media (min-width: 48rem) { .art--hub #the-studies + .art-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

  /* Pricing: the plan cards side by side, tops and buttons aligned */
  .plans { display: grid; gap: var(--sw-s5); grid-template-columns: minmax(0, 1fr); max-inline-size: 30rem; margin-inline: auto; }
  @media (min-width: 56rem) {
    .plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-inline-size: 60rem; align-items: stretch; }
    .plans .plan { display: flex; flex-direction: column; }
    .plans .plan > .actions { margin-block-start: auto; padding-block-start: var(--sw-s4); }
  }
  .plan__name { font-size: inherit; line-height: inherit; }
  .plan__regular { margin-block-start: var(--sw-s2); font-weight: 600; }
  .plan__terms { margin-block-start: var(--sw-s1); color: var(--sw-muted); }

  /* Data tables: the numbers sit by their labels on wide screens */
  .band--data_table .table-wrap { max-inline-size: 48rem; }

  /* The FAQ page: one readable column, the results chart above its
     questions (the two-column grid left holes beside short answers) */
  .faq--faq { max-inline-size: 46rem; }
  @media (min-width: 64rem) {
    .faq.faq--faq { grid-template-columns: minmax(0, 1fr); }
    .faq-grid--vis:has(.faq--faq) { grid-template-columns: minmax(0, 46rem); }
    .faq-grid--vis .faq.faq--faq { display: block; }
    .faq-grid--vis:has(.faq--faq) .faq-grid__vis { grid-column: auto; grid-row: auto; max-inline-size: 30rem; align-self: start; padding-block: var(--sw-s4); }
  }
  /* A hero with jump links (the FAQ) goes straight to them on phones */
  @media (max-width: 47.99rem) { .hero:has(.jump--hero) .hero__vis { display: none; } }

  /* Steps, setup lists and data tables: on phones the text and list
     come right under the heading and the visual after them (the free
     check's steps, a trade page's phone mock, the signals chart) */
  @media (max-width: 47.99rem) { :is(.band--steps, .band--three_up, .band--data_table) .vs { grid-template-areas: "head" "body" "vis"; } }

  /* Waffle charts: the never-reached squares stand off the paper grid */
  .vis .v-never { fill: var(--sw-faint); stroke: var(--sw-text); stroke-width: 0.75; }

  /* How it works: the numeral stays by its heading, only the visual
     changes sides; visuals top-aligned with the step heading */
  @media (min-width: 48rem) {
    .step--flip { grid-template-columns: 10rem minmax(0, 1fr); }
    .step--flip .step__n { order: 0; text-align: start; }
  }
  @media (min-width: 64rem) {
    .step--vis { align-items: start; }
    .step--vis.step--flip { grid-template-columns: minmax(0, 5fr) 10rem minmax(0, 6fr); }
    .step--flip .step__vis { order: 1; }
    .step--flip .step__n { order: 2; }
    .step--flip .prose { order: 3; }
  }

  /* Trade pages: the phone mock beside the setup list sits at the top
     and narrower on phones */
  @media (min-width: 48rem) { .band--three_up .vs { align-items: start; } }
  @media (max-width: 47.99rem) { .band--three_up .vs__vis .vis--narrow { max-inline-size: 70%; margin-inline: auto; } }
}

/* ==== FX2-C: profile guides p1 to p5 (critic round 2) ==================
   Diagram labels at 15 units (13 px on a phone), P2's example cards and
   trade chips, P3's example posts. Page-scoped by ids the copy gives,
   tokens only, so dark mode follows brand.css. */
@layer components {
  /* Guide diagram labels drawn by guide_p.templ: tracked caps, their
     size set on the element (15 units) */
  .vis svg .v-lab { font-weight: 600; letter-spacing: 0.06em; }
  .vis--guide svg .v-lab:not(.v-inv, .v-on-hl, .v-act-ink, .v-chiptext--ok, .v-chiptext--err, .v-chiptext--warn, .v-tag--text) { fill: color-mix(in srgb, var(--sw-text) 70%, var(--sw-muted)); }
  .vis svg .v-b { font-weight: 700; }

  /* p2: placeholders filled, not underlined, and kept on one line */
  .art:has(#description-examples) code { box-shadow: none; white-space: nowrap; }
  /* p3: example post placeholders filled the same way as p2's */
  .art:has(:is(#post-examples, #less-crowded)) code { font-family: inherit; font-size: inherit; background: var(--sw-warn-bg); color: var(--sw-text); padding-inline: 0.15em; white-space: nowrap; }
  /* p2: each example's count line under its text, plain muted */
  .art:has(#description-examples) .callout > p:last-child:has(> em:only-child) { font-size: var(--sw-t-small); color: var(--sw-muted); }
  .art:has(#description-examples) .callout > p:last-child > em:only-child { font-style: normal; }
  /* p2: the trade list as square chips with 44 px targets */
  #pick-your-trade + ul { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: var(--sw-s2); }
  #pick-your-trade + ul > li { margin: 0; padding: 0; }
  #pick-your-trade + ul > li::before { content: none; }
  #pick-your-trade + ul a { display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: var(--sw-s3); border: var(--sw-border) solid var(--sw-rule); background: var(--sw-surface); color: var(--sw-text); font-weight: 600; text-decoration: none; }
  #pick-your-trade + ul a:hover { background: var(--sw-surface-2); }
}

/* ==== FX2-A (critic round 2: money and Layer 2 pages) ===================
   The guide diagrams in visuals/guide_money_l2.templ draw their tags and
   chips at 15 units (v-tag--l), so they read at 13 px on a phone at
   343 px wide (lead decision 14). money-problems: the labels on the
   phone cards at a readable size. The closing braces added above the
   FX-E, FX-A, FX-C and FX-F headers end blocks a merge left open, which
   had nested the later blocks as sublayers that lost to the base rules. */
@layer components {
  .vis svg .v-tag.v-tag--l, .vis svg .v-chiptext.v-tag--l { font-size: 15px; letter-spacing: 0.06em; }
  .mp__label { font-size: max(var(--sw-t-tag), 12px); }
}

/* ==== FX2-B: group B guide diagrams (critic round 2) ===================
   Large tag and chip faces for g01, g02, g04, g07 and l1 diagrams, set
   at 15 units in the markup so they read at 13 px on a phone. The G01
   step cards are links to their sections. */
@layer components {
  .vis svg .v-tagl { font-weight: 600; letter-spacing: 0.06em; }
  .vis--guide svg .v-tagl:not(.v-inv, .v-on-hl, .v-act-ink, .v-chiptext--ok, .v-chiptext--err, .v-chiptext--warn) { fill: color-mix(in srgb, var(--sw-text) 70%, var(--sw-muted)); }
  .vis svg .v-chipl { font-weight: 600; letter-spacing: 0.06em; }
  .vis svg .v-link { cursor: pointer; }
  .vis svg .v-link:hover .v-t { text-decoration: underline; }
  .vis svg .v-link:focus-visible { outline: 3px solid var(--sw-cobalt); outline-offset: 2px; }
}
/* end FX2-B */

/* ==== FX3-B: group B pages (critic round 3) ===========================
   Diagram faces: the L1 listing lines a step darker than muted, the
   G04 mock's placeholder bars visible on a phone. G01's timing chips
   beside each step H3 (outlined for steps 1 to 4, ink for 5 and 6).
   G02's three results as stacked rows in the diagram's colors. L1's
   listing tables with each label above its value on phones. */
@layer components {
  .vis svg .v-sub { fill: color-mix(in srgb, var(--sw-text) 72%, var(--sw-muted)); }
  .vis svg .v-gbar { fill: color-mix(in srgb, var(--sw-muted) 55%, var(--sw-surface-2)); }
  /* g01: "### 1. Step `This week`" draws the code as a timing chip */
  .art h3:is([id^="1-"], [id^="2-"], [id^="3-"], [id^="4-"], [id^="5-"], [id^="6-"]) > code {
    display: inline-block; vertical-align: 0.2em; margin-inline-start: var(--sw-s2); padding: 2px var(--sw-s2);
    font-family: inherit; font-size: var(--sw-t-tag); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.4;
    background: var(--sw-surface); color: var(--sw-text); border: var(--sw-border) solid var(--sw-rule); box-shadow: none; white-space: nowrap;
  }
  .art h3:is([id^="5-"], [id^="6-"]) > code { background: var(--sw-text); color: var(--sw-bg); border-color: var(--sw-text); }
  /* g02: the test's results, one full-width row each, red, amber, green */
  #g02-two-minute-test + ul { padding: 0; list-style: none; display: grid; gap: var(--sw-s2); }
  #g02-two-minute-test + ul > li { margin: 0; padding: var(--sw-s3); border: var(--sw-border) solid var(--sw-rule); }
  #g02-two-minute-test + ul > li::before { content: none; }
  #g02-two-minute-test + ul > li:nth-child(1) { background: var(--sw-err-bg); border-color: var(--sw-err); }
  #g02-two-minute-test + ul > li:nth-child(2) { background: var(--sw-warn-bg); border-color: var(--sw-warn); }
  #g02-two-minute-test + ul > li:nth-child(3) { background: var(--sw-ok-bg); border-color: var(--sw-ok); }
  #g02-two-minute-test + ul > li a { display: block; margin-block-start: var(--sw-s1); font-weight: 600; }
  /* l1: phones put each label above its value, so values get the width */
  @media (max-width: 47.99rem) {
    :is(#listings, #more-listings).art-table--stack td { display: block; padding-block: 6px; }
    :is(#listings, #more-listings).art-table--stack td::before { margin-block-end: 2px; }
  }
}
/* end FX3-B */

/* ==== FX2-F, critic round 2: hubs, home, pricing and the older pages ====
   Plan cards level, the research cards' key numbers, the app's finding
   cards set in HTML, the FAQ's topic chips kept in view. */
@layer components {
  /* Pricing: the Pro card starts level with Base (the band's stack gap
     pushed it down), and each card's button and fine print sit at its
     foot, so the two buttons line up */
  .plans > .plan + .plan { margin-block-start: 0; }
  @media (min-width: 56rem) {
    .plans--2 > .plan { display: flex; flex-direction: column; }
    .plans--2 > .plan > .actions { margin-block-start: auto; padding-block-start: var(--sw-s4); }
  }

  /* Research hub: each study card leads with its key number, big, then
     the title, the line, and the downloads on their own line at the foot */
  .art--hub #the-studies + .art-list > li { display: flex; flex-direction: column; }
  .art--hub #the-studies + .art-list > li > strong:first-child:not(:has(a)) { font-family: var(--sw-font-head); font-weight: 800; font-size: clamp(2.5rem, 7vw, 3.25rem); line-height: 0.9; letter-spacing: 0; color: var(--sw-text); margin-block-end: var(--sw-s2); }
  .art--hub #the-studies + .art-list > li > strong:has(a) { display: block; font-size: 1.0625rem; font-weight: 600; margin-block-end: var(--sw-s1); text-wrap: balance; }
  .art--hub #the-studies + .art-list > li > a:last-child { display: flex; align-items: center; min-block-size: 44px; margin-block-start: auto; padding-block-start: var(--sw-s2); font-size: 1rem; font-weight: 600; white-space: nowrap; }

  /* The app's finding cards (visuals.CheckReport, GBPFinding): the
     screenshot's words in the page's type, readable at any width */
  .vis--finding .finding { display: grid; gap: var(--sw-s3); background: var(--sw-surface); border: var(--sw-border) solid var(--sw-text); padding: var(--sw-s4); color: var(--sw-text); }
  .finding__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sw-s2) var(--sw-s3); padding-block-end: var(--sw-s3); border-block-end: 1px solid var(--sw-line); font-size: var(--sw-t-tag); font-weight: 600; letter-spacing: var(--sw-track-tag); text-transform: uppercase; color: var(--sw-muted); }
  .finding__redact { display: inline-block; inline-size: min(10rem, 45%); block-size: 0.875rem; background: var(--sw-text); }
  .finding__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sw-s2) var(--sw-s3); }
  .finding__title { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
  .finding__pair { display: grid; gap: var(--sw-s2); }
  .finding__pair > div { display: grid; grid-template-columns: minmax(6.5rem, auto) minmax(0, 1fr); gap: var(--sw-s3); align-items: baseline; }
  .finding__pair dt { font-size: var(--sw-t-small); color: var(--sw-muted); }
  .finding__pair dd { font-weight: 600; }
  .finding__why { color: var(--sw-muted); }
  .hero__vis .vis--finding { max-inline-size: 40rem; }
  @media (min-width: 60rem) { .hero__grid--form .hero__vis:has(.vis--finding) { align-self: start; } }

  /* The FAQ's topic chips: under the hero, kept under the top bar while
     the reader scrolls, one swipeable row on phones */
  .jump:not(.jump--hero) { position: sticky; inset-block-start: 64px; z-index: 9; background: var(--sw-bg); padding-block: var(--sw-s2); border-block-end: 1px solid var(--sw-line); }
  @media (max-width: 47.99rem) {
    .jump:not(.jump--hero) ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .jump:not(.jump--hero) li { flex: none; }
  }
  .band--faq { scroll-margin-block-start: 136px; }
  .band--faq .faq__item h3 { scroll-margin-block-start: 136px; }
}

/* ==== FX3-A (critic round 3: money and Layer 2 pages) ===================
   The guide diagrams in visuals/guide_money_l2.templ draw their tags and
   chips at 17 units (v-tag--l), so they read at 14 px or more on a phone
   at 343 px wide (lead decision 27). money-problems: from 64rem the
   figure leaves the 46rem reading column and spans the page (up to
   72rem), so each cell wraps to about 3 lines, not 5 or 6. */
@layer components {
  .vis svg .v-tag.v-tag--l, .vis svg .v-chiptext.v-tag--l { font-size: 17px; letter-spacing: 0.05em; }
  @media (min-width: 64rem) {
    .art--money .art-fig#money-problems { --mp-w: min(72rem, 100vw - 2 * var(--www-gutter) - 2rem); inline-size: var(--mp-w); max-inline-size: none; margin-inline-start: calc(50% - var(--mp-w) / 2); }
    .art--money #money-problems :is(.mp__heads, .mp__row) { grid-template-columns: 2.5rem minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1.5fr) minmax(0, 0.8fr); gap: 0 var(--sw-s5); }
  }
}
/* end FX3-A */

/* ==== FX3-site (critic round 3, site-wide) ===============================
   Links back to back get a middle dot (pages.linkSep). Layer 2 pages end
   in the money page's dark closing band (pages.closeBand). The sources
   list has its own small "Sources" heading and no second rule under the
   FAQ's. The study rail's download button wraps inside its card on
   phones. Numeric table heads get room on wide screens, so they wrap to
   two lines at most. Guide figures sit on the text's left edge on wide
   screens. A diagram's font-size attribute always wins over the class
   size (the base v-tag, v-chiptext and v-doc-tag rules above). */
@layer components {
  .link-sep { color: var(--sw-muted); padding-inline: 0.2em; }
  .art-close { padding-block: var(--sw-s6); }
  .art-close h2 { max-inline-size: 24ch; }
  .art-close .art-cta { margin-block-end: 0; }
  .art__wrap.art__tail { padding-block: var(--sw-s5) var(--www-section); }
  .art-sources { border-block-start: 0; padding-block-start: 0; }
  .art-sources__h { font-family: var(--sw-font-body); font-size: var(--sw-t-tag); font-weight: 600; letter-spacing: var(--sw-track-tag); text-transform: uppercase; color: var(--sw-muted); line-height: 1.3; margin: 0; }
  .art-downloads .btn { white-space: normal; text-align: center; max-inline-size: 100%; padding-block: var(--sw-s2); }
  @media (min-width: 48rem) {
    .art-table thead th.num { min-inline-size: 6.5rem; hyphens: manual; }
    .art-table:is(.art-table--c5, .art-table--c6) thead th.num { min-inline-size: 5.5rem; }
    .art-fig .vis--guide { margin-inline: 0; }
  }
}

/* ==== FX3-C: profile guides p1 to p5 (critic round 3) ==================
   P2's description cards and P3's example posts are copy cards
   (decision 28). P2: the trade as the card's title, its count and a way
   back under it, the trade chips one swipeable row on phones. P3: each
   example drawn as a post, its label a photo slot naming the shot. Page
   scoped by ids the copy gives, tokens only, so dark mode follows
   brand.css. */
@layer components {
  /* P2: the trade, not a tracked caps kicker, is what a reader scans for */
  .art:has(#description-examples) .callout--copy > h3:first-child { font-size: 1.125rem; letter-spacing: 0; text-transform: none; color: var(--sw-text); }
  /* P2 and P3: the line under each card (its length, back to the trades) */
  .art:has(:is(#description-examples, #post-examples)) .callout--copy + p { margin-block-start: var(--sw-s2); font-size: var(--sw-t-small); color: var(--sw-muted); }
  .art:has(#description-examples) .callout--copy + p > em { font-style: normal; }
  @media (max-width: 47.99rem) {
    #pick-your-trade + ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-block-end: var(--sw-s1); }
    #pick-your-trade + ul > li { flex: none; }
  }

  /* P3: an example post. The label is the photo slot, then the text */
  .art:has(#post-examples) .callout--copy > h3:first-child { display: flex; align-items: flex-end; min-block-size: 8.5rem; padding: var(--sw-s3); margin-block-end: var(--sw-s3); background: var(--sw-surface-2); border: 1px dashed var(--sw-line); color: var(--sw-muted); }
  /* P3: the trade idea lists sit close under their subheads */
  #post-ideas ~ h3 { margin-block-start: var(--sw-s5); }
  #post-ideas ~ h3 + .art-list { margin-block-start: var(--sw-s2); }
}
/* end FX3-C */

/* ==== FX3-E: study pages (critic round 3, group E) ====================
   Study chart tag lines at 17 units like every other chart word (lead
   decision 27). Phone cards stop repeating a long label on every row:
   the city lists and Study 3's service lists run full width under the
   row's name, and Study 3's "Left off" sits on the trade's line. Study
   4's factor table puts its verdict in a column of its own, drawn as a
   square label, so "clear, clear, smaller" reads down the page. */
@layer components {
  .art--study .vis--study svg .v-tag { font-size: 17px; }

  .art--study #factors td:nth-child(2) .art-cell { justify-self: start; inline-size: fit-content; display: inline-block; border: 1px solid var(--sw-rule); padding: 1px var(--sw-s1); font-size: var(--sw-t-tag); font-weight: 600; letter-spacing: var(--sw-track-tag); text-transform: uppercase; line-height: 1.35; }
  @media (min-width: 48rem) {
    .art--study #factors tbody th { inline-size: 24%; }
    .art--study #factors td:nth-child(2) { inline-size: 8.5rem; }
    .art--study #factors td:nth-child(3) { inline-size: auto; }
  }
  @media (max-width: 47.99rem) {
    .art--study #factors tbody th { inline-size: auto; font-size: 1.0625rem; }
    .art--study #factors.art-table--stack td { grid-template-columns: minmax(0, 1fr); border: 0; }
    .art--study #factors td::before { display: none; }

    .art--study #places.art-table--stack td { grid-template-columns: minmax(0, 1fr); border: 0; }
    .art--study #places td::before { display: none; }

    .art--study .art-table--stack#glance-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--sw-s3); align-items: baseline; }
    .art--study .art-table--stack#glance-table tbody th { grid-column: 1; grid-row: 1; margin-block-end: 0; }
    .art--study .art-table--stack#glance-table td.num { grid-column: 2; grid-row: 1; display: flex; gap: var(--sw-s2); align-items: baseline; border: 0; padding: 0; font-weight: 700; }
    .art--study .art-table--stack#glance-table td:not(.num) { grid-column: 1 / -1; grid-row: 2; display: block; border: 0; padding-block: var(--sw-s2) 0; }
    .art--study .art-table--stack#glance-table td:not(.num)::before { display: none; }
  }
}
/* end FX3-E */

/* ==== FX3-F, critic round 3: hubs, home, pricing and the older pages ====
   Hub lists as tiles on wide screens, the research studies as a 2x2 grid
   with the Map Pack Report as a full-width strip, the guides' numbered
   start path and free-tool tags, the FAQ topic chips wrapping on phones,
   how it works with one step layout, the plan cards' regular price, the
   free check's list without pass ticks, and the 17-unit chart labels. */
@layer components {
  /* Hubs: the body runs the full page width, so the tiles fill it */
  .art--hub > .art__run, .art--hub > .art-band > .art__run { max-inline-size: calc(var(--sw-page) + 2 * var(--www-gutter)); }
  .art--hub > .art__run > h2:not(:first-child) { border-block-start: 1px solid var(--sw-line); padding-block-start: var(--sw-s5); }

  /* Hub link lists: one tile per page, 2 across from 48rem, 3 from 64rem */
  .art--hub .art__run > .art-list { display: grid; gap: var(--sw-s3); max-inline-size: none; }
  .art--hub .art__run > .art-list > li { display: flex; flex-direction: column; border: 1px solid var(--sw-line); background: var(--sw-surface); padding: var(--sw-s3) var(--sw-s4); }
  .art--hub .art__run > .art-list > li > a:first-of-type { display: block; font-size: 1.0625rem; font-weight: 600; color: var(--sw-link); margin-block-end: var(--sw-s1); text-wrap: balance; }
  @media (min-width: 48rem) { .art--hub .art__run > .art-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (min-width: 64rem) { .art--hub .art__run > .art-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  /* A tile's tag ("Free tool"), in the plan cards' yellow tag look */
  .art--hub .art-list > li > strong:first-child:not(:has(a)) { display: inline-block; align-self: flex-start; margin-block-end: var(--sw-s2); padding: 5px 8px 3px; background: var(--sw-yellow); color: var(--sw-ink); font-size: var(--sw-t-tag); font-weight: 600; line-height: 1.2; letter-spacing: var(--sw-track-tag); text-transform: uppercase; }

  /* Guides: "Start here" shows its order, numbered like the home steps */
  .art--hub .art-list--num { counter-reset: start; gap: var(--sw-s2); }
  .art--hub .art-list--num > li { counter-increment: start; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); align-items: baseline; }
  .art--hub .art-list--num > li::before { content: counter(start); font-family: var(--sw-font-head); font-weight: 800; font-size: 1.75rem; line-height: 1; color: var(--sw-text); }
  .art--hub .art-list--num > li > a:first-child { display: inline; margin: 0; }

  /* Research: the studies as square cards, 2x2 on wide screens, and the
     Map Pack Report a full-width strip under them */
  .art--hub .art__run:has(> #the-studies) { display: grid; gap: var(--sw-s3); }
  .art--hub .art__run:has(> #the-studies) > * { margin: 0; max-inline-size: none; }
  .art--hub .art__run:has(> #the-studies) > .callout { display: flex; flex-direction: column; border: 1px solid var(--sw-line); border-block-start: var(--sw-rule-heavy) solid var(--sw-rule); background: var(--sw-surface); padding: var(--sw-s4); }
  .art--hub .art__run:has(> #the-studies) > .callout > p:first-child { font-family: var(--sw-font-head); font-weight: 800; font-size: clamp(2.5rem, 7vw, 3.25rem); line-height: 0.9; color: var(--sw-text); }
  .art--hub .art__run:has(> #the-studies) > .callout > p:first-child strong { font-weight: inherit; }
  .art--hub .art__run:has(> #the-studies) > .callout > h3 { margin-block-start: var(--sw-s2); font-family: var(--sw-font-body); font-size: 1.1875rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; text-transform: none; text-wrap: balance; }
  .art--hub .art__run:has(> #the-studies) > .callout > h3 a { color: var(--sw-link); }
  .art--hub .art__run:has(> #the-studies) > .callout > p:not(:first-child) { color: var(--sw-muted); font-size: 0.9375rem; line-height: 1.5; }
  .art--hub .art__run:has(> #the-studies) > .callout > p:last-child { display: flex; align-items: center; min-block-size: 44px; margin-block-start: auto; padding-block-start: var(--sw-s2); font-size: 1rem; font-weight: 600; color: var(--sw-text); }
  @media (min-width: 48rem) {
    .art--hub .art__run:has(> #the-studies) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .art--hub .art__run:has(> #the-studies) > h2 { grid-column: 1 / -1; }
    .art--hub .art__run:has(> #the-studies) > .callout:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr); column-gap: var(--sw-s5); align-content: start; }
    .art--hub .art__run:has(> #the-studies) > .callout:last-child > p:first-child { grid-row: 1 / span 3; }
    .art--hub .art__run:has(> #the-studies) > .callout:last-child > * { margin-block-start: 0; }
    .art--hub .art__run:has(> #the-studies) > .callout:last-child > h3 { margin-block-end: var(--sw-s2); }
    .art--hub .art__run:has(> #the-studies) > .callout:last-child > p:last-child { margin-block-start: 0; }
  }

  /* The FAQ's topic chips wrap on phones, so all five show at once (the
     one swipeable row hid three of them), and stay put there */
  @media (max-width: 47.99rem) {
    .jump:not(.jump--hero) { position: static; }
    .jump:not(.jump--hero) ul { flex-wrap: wrap; overflow-x: visible; }
  }

  /* How it works: one layout for every step. The numeral, then the
     heading and text, the visual always on the right on wide screens.
     On phones the visual sits under the heading, before the text. */
  .step { grid-template-areas: "n" "head" "vis" "body"; align-items: start; }
  .step > .step__n { grid-area: n; }
  .step > .step__head { grid-area: head; }
  .step > .step__body { grid-area: body; }
  .step > .step__vis { grid-area: vis; }
  .step__head h2 { margin: 0; }
  @media (min-width: 48rem) {
    .step { grid-template-columns: 10rem minmax(0, 1fr); grid-template-areas: "n head" "n body" "n vis"; row-gap: var(--sw-s3); }
    .step--vis .step__vis { margin-block-start: var(--sw-s4); }
  }
  @media (min-width: 64rem) {
    .step--vis { grid-template-columns: 10rem minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "n head vis" "n body vis"; grid-template-rows: auto 1fr; }
    .step--vis .step__vis { margin-block-start: 0; align-self: start; }
  }

  /* Plan cards: the regular price reads as the price you don't pay */
  .plan__regular { font-weight: 400; color: var(--sw-muted); }

  /* The free check's list: numbered, with no tick that reads as "passed" */
  main:has(#check-business) .seven .checklist > li::after { content: none; }
  main:has(#check-business) .seven .checklist > li { grid-template-columns: 2.5ch minmax(0, 1fr); }

  /* The sample finding names the hidden business in words */
  .finding__hidden { font-weight: 600; color: var(--sw-muted); }

  /* The about page's founder photo, cropped to the two faces */
  .vis--founder-faces img { aspect-ratio: 592 / 444; }

  /* Chart and diagram keys at 17 units, 14 px on a 375 px phone (lead
     decision 27): the waffle and the monthly loop */
  .vis svg .v-tag.v-tag--key { font-size: 17px; letter-spacing: 0.06em; }
}
