/*
 * The site's one stylesheet (CSP style-src 'self': no inline style anywhere). Design H1 · Daylight × Echo (the owner, 2 Nov: "H1 as
 * recommended"): every value below is the board's own, read from the Planner's export H1-desktop.dc.html, where each element carried
 * it as an inline style; nothing is invented, but for the 3 Nov screen sweep's changes (its section 6: the labels and eyebrows in
 * sentence case at 12 px) and `.visually-hidden`, the app's (app.css). Look (the export's README): ground #F7F8F3, ink #0D0E0C, muted #5C6156, hairlines
 * #D9DCD2, white only where the board has it; up #0A7339 and down #BF2626 for small text on the light ground (4.5:1), placeholders
 * #6B7064. Light theme only: the dark is in the screenshots.
 *
 * The fonts: one variable WOFF2 per family, Latin plus the symbols the pages draw, made from google/fonts' Sora[wght].ttf and
 * JetBrainsMono[wght].ttf under their OFL licences, which ship beside them (the README's "Making the fonts and the screenshot files").
 * Sora, the headings' face and the text's, swaps (font-display swap) and is the one font every page preloads. JetBrains Mono, the
 * figures, is optional: on a first visit it may miss its short block period, and the figures stay in the fallback until the next
 * page. Each falls back first to a local face
 * sized to its metrics (size-adjust and the line-box overrides, from the README's metrics run), so the swap barely moves a line.
 * Every url() names /static/<path>; the build rewrites it to the file's hashed /assets/ name (build/static.mjs).
 */

@font-face {
  font-family: 'Sora';
  src: url(/assets/fonts/Sora-Variable-Latin.b9b898be91.woff2) format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url(/assets/fonts/JetBrainsMono-Variable-Latin.8b45270442.woff2) format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: optional;
}

/* The local fallbacks: they load nothing, so they need no url() and no font-display (build/budgets.mjs's fontRules). */
@font-face {
  font-family: 'Sora Fallback';
  src: local('Arial');
  size-adjust: 112.49%;
  ascent-override: 86.23%;
  descent-override: 25.78%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'JetBrains Mono Fallback';
  src: local('Courier New');
  size-adjust: 99.98%;
  ascent-override: 102.02%;
  descent-override: 30%;
  line-gap-override: 0%;
}

:root {
  --ground: #F7F8F3;
  --ink: #0D0E0C;
  --muted: #5C6156;
  --hairline: #D9DCD2;
  --white: #FFFFFF;
  --up: #0A7339;
  --down: #BF2626;
  --placeholder: #6B7064;
  --font-text: Sora, 'Sora Fallback', system-ui, sans-serif;
  --font-figure: "JetBrains Mono", "JetBrains Mono Fallback", ui-monospace, SFMono-Regular, monospace;
  /* the wordmark's two greys on Paper; Night sets its own (style guide p.5, owner 9 Nov) */
  --wm-strong: #0D0E0C; --wm-soft: #6B7063;
}

/* ── The board's own globals ───────────────────────────────────────────────────────────────────────────────────────────── */

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }
a:hover { color: var(--muted); }
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.vm { container-type: inline-size; }

.mono {
  font-family: var(--font-figure);
  font-variant-numeric: tabular-nums;
}

.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: clamp(20px, 4.5cqi, 64px);
  padding-right: clamp(20px, 4.5cqi, 64px);
  box-sizing: border-box;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.menu-btn { display: none; }

.shot {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  background: var(--ink);
  box-shadow: 0 1px 2px rgba(13, 14, 12, 0.08), 0 14px 36px rgba(13, 14, 12, 0.12);
}

.phone { box-shadow: 0 2px 4px rgba(13, 14, 12, 0.10), 0 24px 56px rgba(13, 14, 12, 0.18); }

picture { display: block; }

/* ── The page ─────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.page {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-text);
  min-height: 100px;
  display: flex;
  flex-direction: column;
}

.up { color: var(--up); }
.down { color: var(--down); }
/* a lean that is neither up nor down: its grey – (web-audit-A C9) */
.flat { color: var(--muted); }
.muted { color: var(--muted); }
.placeholder { color: var(--placeholder); }
.balance { text-wrap: balance; }
/* The full words a screen reader says for a drawn short form ("↺ 9"), whose drawn span is aria-hidden: app.css's own. */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Masthead: the dateline strip, then the nameplate row */
.masthead {
  display: flex;
  flex-direction: column;
}

.dateline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  height: 36px;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--hairline);
}

.nameplate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

/* The lockup (style guide p.4-5): the mark X tall, Sora 700/400 at 0.8 X, 0.36 X apart; X = 24 px in every bar (owner 9 Nov) */
.vm-lockup { --x: 24px; display: inline-flex; align-items: center; gap: calc(var(--x) * .36); min-height: 44px; text-decoration: none; letter-spacing: 0; }
.vm-lockup svg { display: block; flex: none; height: var(--x); width: auto; }
.vm-wm { font: 400 calc(var(--x) * .8)/1 var(--font-text); color: var(--wm-soft); white-space: nowrap; }
.vm-wm b { font-weight: 700; color: var(--wm-strong); }
.wordmark { flex-shrink: 0; }

.nav-links {
  font-size: 14px;
  font-weight: 500;
}

.nav-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nameplate-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* the one primary button: lime, ink words (review 8 Nov, 16) */
.pill {
  display: inline-flex;
  align-items: center;
  background: #C6F432;
  color: #0B0C0A;
  font-weight: 600;
  text-decoration: none;
}

.pill:hover { color: #0B0C0A; }

.pill-sm {
  height: 44px;
  padding: 0 18px;
  border-radius: 22px;
  font-size: 14px;
  white-space: nowrap;
}

/* The header's button says "Invite" where its full words do not fit beside the wordmark (below). Its name for a screen reader is
   "Request an invite" at every width: the long words are only hidden from sight there, and the short one is never read. */
.pill-short { display: none; }

.pill-lg {
  height: 56px;
  padding: 0 28px;
  border-radius: 28px;
  font-size: 16px;
}

.menu-btn {
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 22px;
  border: 1px solid var(--ink);
  background: var(--ground);
  color: var(--ink);
  cursor: pointer;
}

.rule-ink {
  height: 1px;
  background: var(--ink);
}

/* Hero: the story, told beside the real Home card */
.hero {
  padding-top: 56px;
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 64px;
  align-items: flex-start;
}

.hero-text {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.eyebrow {
  font-size: 12px;
  color: var(--muted);
}

.hero-title {
  margin: 0;
  font-size: clamp(42px, 5.3cqi, 76px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-dek {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 560px;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 8px;
}

.cta-note {
  font-size: 13px;
  color: var(--muted);
}

.hero-figure {
  flex: 0 1 452px;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.caption {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.caption-center { text-align: center; }

/* The columns: the three beats, Inside a story and the front page */
.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 40px 48px;
}

.col {
  margin: 0;
  border-top: 1px solid var(--ink);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.col-beat { gap: 12px; }

.label {
  font-size: 12px;
  color: var(--muted);
}

.beat-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.col-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.figures {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 13px;
}

.figures-stack {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 6px;
}

.note {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}

.subblock {
  border-top: 1px solid var(--hairline);
  margin-top: 14px;
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* A section of the page: a hairline head, then its columns */
.section {
  padding-top: 64px;
  padding-bottom: 88px;
  border-top: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
}

.section-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-meta {
  font-size: 12px;
  color: var(--muted);
}

/* Portfolio and Smart Widgets: an intro beside two panels */
.section-grid {
  padding-top: 64px;
  padding-bottom: 88px;
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 40px 48px;
}

.intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.display-2 {
  margin: 0;
  font-size: clamp(30px, 3.4cqi, 46px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.notes {
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline);
}

.notes-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}

.notes-term {
  font-size: 13px;
  font-weight: 600;
}

.notes-def {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.persona {
  font-size: 16px;
  font-weight: 600;
}

.persona-code {
  font-size: 12px;
  color: var(--muted);
  margin-right: 10px;
}

.persona-desks {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.panel {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.panel-caption {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pull {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.015em;
}

/* Invite */
.invite {
  padding-top: 88px;
  padding-bottom: 88px;
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 48px 64px;
  align-items: center;
}

.invite-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.invite-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.display-1 {
  margin: 0;
  font-size: clamp(36px, 4.2cqi, 60px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.invite-dek {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 460px;
  text-wrap: pretty;
}

.small-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.get-app {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.get-app-note {
  font-size: 13px;
  color: var(--muted);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px dashed var(--muted);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

/* The board set these links' colour inline, which a:hover never overrode */
.badge:hover { color: var(--ink); }

.phone-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.phone {
  width: 380px;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px;
  border-radius: 26px;
  background: var(--ink);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* Footer */
.site-footer {
  padding-top: 40px;
  padding-bottom: 48px;
  border-top: 1px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 40px;
  align-items: flex-start;
}

.footer-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* ── Phone width (the board's container query; the export's phone reference at 390) ────────────────────────────────────── */

@container (max-width: 760px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .shot { width: 100%; }
  /* the masthead spans the gutters like the page below it (wide, its auto margins centre it at its content's width), so the wordmark
     lines up with the hero's text and the button with its right edge (the phone reference) */
  .masthead { width: 100%; }

  /* The menu button's own list (the board draws the button only): the three links, stacked under the nameplate, while open */
  .masthead.nav-open .nameplate {
    flex-wrap: wrap;
    height: auto;
    min-height: 76px;
  }
  .masthead.nav-open .nav-links {
    display: flex;
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 12px;
  }
}

/* Narrow phones (375 and the like): the wordmark, the full "Request an invite" and the menu button need about 403 px with the 16 px
   gutters, so below 420 the header's button says "Invite" (the Planner's P3 on #4). */
@container (max-width: 420px) {
  .pill-long {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .pill-short { display: inline; }
}

/* ── W-H1d: the public story page (/news/{id}/) and On this day (/on-this-day/{d}-{month}/), prerendered by build/prerender.mjs ─────
   The Planner's F-pages board, Templates 1 and 2, for the structure (its sizes below); H1's look: its masthead, ground and ink, its
   type. The invite card is ink with a ground button (H1's), not F2's lime. */

.pg { padding-top: 32px; padding-bottom: 64px; }
/* One container on these pages (the Planner's fix 1 on #8): the masthead and the footer take the article's width (.wrap: 1320 at most, inside
   the page's gutters), not the home page's content-wide centred block, so the nameplate lines up with the headline and the rail. */
.pg-page > .masthead,
.pg-page > main,
.pg-page > .site-footer { width: 100%; }
/* ...and the footer's ink rule spans the same width as the masthead's (its content box), not the footer's padding too. */
.pg-page > .site-footer {
  border-top: 0;
  background: linear-gradient(var(--ink), var(--ink)) top center / calc(100% - 2 * clamp(20px, 4.5cqi, 64px)) 1px no-repeat;
}
.pg-main { min-width: 0; }
.pg-crumb { display: flex; gap: 6px; align-items: center; min-height: 44px; font-size: 12px; color: var(--muted); }
.pg-crumb a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.pg-source { margin: 8px 0 12px; font-size: 12px; color: var(--muted); }
/* owner 9 Nov: legal notes for beta (Vibe Studio LLC): "By Vibe Markets · AI-written", its link in the line's grey */
.pg-byline a { color: inherit; }
/* Pick 5: a story's outlets, 18 px marks on #94's plate (app.css .vm-mark's), then the name, Sora 13 even in a mono line, and "+2" */
.src-stack, .src-marks { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.src-marks { gap: 0; }
.src-mark {
  display: inline-grid; place-items: center; box-sizing: border-box; width: 18px; height: 18px; border-radius: 50%;
  background: #ECEEE7; color: var(--muted); border: 1px solid var(--mark-line, var(--hairline));
}
.src-mark + .src-mark { margin-left: -6px; }
.src-mark svg { width: 11px; height: 11px; fill: currentColor; }
.src-name { font-family: var(--font-text); font-size: 13px; }
.pg-headline { margin: 0; font-size: clamp(36px, 5cqi, 72px); line-height: 1.0; font-weight: 700; letter-spacing: -0.04em; text-wrap: balance; }
.pg-lead { margin: 16px 0 0; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.pg-section { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ink); }
.pg-h2 { margin: 0 0 12px; font-size: 18px; font-weight: 600; }
.pg-chart { margin: 8px 0 0; }
.story-chart { display: block; width: 100%; height: auto; font-family: var(--font-figure); }
.story-chart-narrow { display: none; }
.pg-ends { margin-top: 4px; font-size: 12px; color: var(--muted); }
.pg-legend { display: flex; flex-wrap: wrap; gap: 16px 48px; margin-top: 20px; }
.pg-side { display: flex; flex-direction: column; gap: 4px; }
.pg-side-name { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.pg-swatch { width: 14px; height: 3px; border-radius: 2px; background: #12E36D; }
.pg-side-turned .pg-swatch { background: #FF8A3D; }
.pg-side-end { font-size: 22px; font-weight: 600; color: var(--up); }
.pg-side-turned .pg-side-end { color: var(--down); }
.pg-side-extreme { font-size: 12px; color: var(--muted); }
.pg-more { list-style: none; margin: 0; padding: 0; }
.pg-more-row { padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.pg-more-title { font-size: 15px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.pg-more-meta { margin: 0; font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; }
.pg-invite { background: var(--ink); color: var(--ground); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.pg-invite-title { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.pg-invite-body { margin: 0; font-size: 14px; line-height: 1.5; color: var(--hairline); }
.pg-invite .pg-invite-btn { background: var(--ground); color: var(--ink); align-self: flex-start; }
.pg-invite .pg-invite-btn:hover { color: var(--muted); }
/* One column (web-audit-A S14): the invite closes the story's article, where the rail held it */
.pg-main > .pg-invite { margin-top: 40px; }

.pg-eyebrow { margin: 0; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pg-day-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.pg-day-title { margin: 0; font-size: clamp(44px, 7cqi, 108px); line-height: 0.96; font-weight: 700; letter-spacing: -0.045em; }
.pg-dek { margin: 16px 0 0; font-size: 17px; line-height: 1.5; color: var(--muted); max-width: 560px; text-wrap: pretty; }
.pg-daynavs { display: flex; gap: 8px; }
.pg-daynav { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 22px; text-decoration: none; font-size: 13px; }
.pg-years { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.pg-year { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--hairline); }
.pg-year-n { flex: 0 0 140px; font-size: 32px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.pg-year-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pg-year-title { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.25; }
.pg-year-meta { margin: 0; font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; }
.pg-year-link { font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; align-self: flex-start; }
.pg-day-foot { display: flex; justify-content: flex-end; margin-top: 40px; }

@container (max-width: 760px) {
  .pg-page > .site-footer { background-size: calc(100% - 32px) 1px; }
}

@container (max-width: 560px) {
  .story-chart-wide { display: none; }
  .story-chart-narrow { display: block; }
  .pg-year { flex-direction: column; gap: 8px; }
  .pg-year-n { flex: none; font-size: 24px; }
  .pg-legend { gap: 16px 32px; }
}

/* ── How it works, the page redone (A's TASK 6637690908; the Designer's site-pages-fix.md, 4 Nov) ─────────────────────────────────────── */
/* One column: the bar, the main and the footer share .wrap, so every section starts at one left edge and every rule is one width */
.hiw-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
/* The landing's v2 top bar over a light ground, its links the landing's: the mark, How it works, Sign in and the lime invite (landing.css's
   .tk-topbar on light) */
.hiw-nav { display: flex; align-items: center; gap: 8px; }
.hiw-nav a { font-size: 14px; text-decoration: none; padding: 10px 14px; border-radius: 22px; color: var(--ink); }
.hiw-nav .hiw-pill { background: #C6F432; color: #0B0C0A; font-weight: 600; }
/* the page you are on, underlined (owner 8 Nov review item 09) */
.hiw-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.hiw-nav a:focus-visible, .hiw-mark:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* 44 px targets (review 8 Nov, 24) */
.hiw-mark { min-height: 44px; }
.hiw-nav a { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; }
.hiw-section { display: grid; gap: 16px; justify-items: start; padding: 48px 0; border-top: 1px solid var(--hairline); }
.hiw-section:first-child { border-top: 0; padding-top: 24px; }
.hiw-steps { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 8px 0 0; padding: 0; list-style: none; }
.hiw-shots { justify-self: stretch; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; margin-top: 8px; }
.hiw-figure { margin: 0; display: grid; gap: 8px; }
/* A lazy shot never shows a blank block: its img keeps its width and height, and its ground is the hairline grey until it loads */
.hiw-shot { background: var(--hairline); }
/* One column, the wrap's width (as .pg-page's); the footer's rule on its content box; the one line, then its ⓘ (44 px). #90 */
.hiw > .site-footer {
  border-top: 0;
  background: linear-gradient(var(--ink), var(--ink)) top center / calc(100% - 2 * clamp(20px, 4.5cqi, 64px)) 1px no-repeat;
}
@container (max-width: 760px) {
  .hiw > .site-footer { background-size: calc(100% - 32px) 1px; }
}
.hiw > .wrap { width: 100%; }
.hiw > .site-footer { justify-content: flex-start; align-items: flex-start; gap: 0 4px; }
.hiw > .site-footer > .footer-note { min-height: 44px; display: flex; align-items: center; }
.footer-info > summary {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  list-style: none; cursor: pointer; color: var(--muted); font-size: 16px;
}
.footer-info > summary::-webkit-details-marker { display: none; }
.footer-info > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.footer-info > .footer-note { max-width: 420px; }
/* Privacy, Terms (08): plain words while pending (build.mjs OWNER_PENDING) */
.hiw > .site-footer > .footer-links { margin-left: auto; flex-wrap: wrap; gap: 0 0.3em; }
/* owner 9 Nov, legal notes: below 768 the links line sits left, under the note line */
@media (max-width: 767px) { .hiw > .site-footer > .footer-links, .site-footer > .footer-links { flex-basis: 100%; margin-left: 0; } }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
/* a phone (06, 15): Sign in in the pill's slot. No Sign in (anon site): the pill */
@container (max-width: 640px) {
  .hiw-nav .hiw-ghost, .hiw-nav .hiw-pill { display: none; }
  .hiw-nav :is(.hiw-ghost[href="/app/"], .hiw-pill:not([href="/app/"] ~ *)) { display: inline-flex; }
  .hiw-section { padding: 32px 0; }
}
