/* hodoapps.com and the app pages. Colours, space and easing come from tokens.css (vendored by
   scripts/sync.mjs); nothing here is a hex. Density: spacious (DESIGN.md §4.2).

   The layout (30 Nov 2026): one centred column, read top to bottom like a short letter. Big
   headlines, one or two short lines under each, and a lot of paper between sections. The vessel
   mark sits between sections as the only divider. Sample content sits on raised paper tiles: a
   change of tone, never a box. */

@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-wght.woff2") format("woff2-variations"), url("/fonts/Manrope-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* Each page wears one hue, set by data-app on <html>: the house is gold, an app page its own.
   The hue marks links (where an allowed pair exists), focus, the user's own marks in the
   samples (checks, highlights, the # of a tag), nothing else. The primary button is ink. */
:root {
  --hue: var(--gold);
  --hue-text: var(--gold-text);
  --link: var(--gold-text);
  --focus-ring: color-mix(in oklch, var(--hue) 70%, transparent);
  --gutter: var(--space-4);
  --column: 720px;
  --wide: 1040px;
  --section: var(--space-8);
  --clip-wash: color-mix(in oklch, var(--clip) var(--wash), transparent);
  --clip-mark: color-mix(in oklch, var(--clip) 22%, transparent);
}

/* Warm paper (30 Nov 2026, the owner's call for the web pages): the house neutrals pushed
   towards cream and brown ink. Site only; the apps keep the house paper. Every pair the
   pages use was measured in light and dark (journal, 30 Nov): body text 14:1, muted 5:1+,
   each hue's text step 5.8:1+. A faint grain (--grain) makes the ground read as paper, not a fill. */
:root {
  --surface: oklch(0.955 0.016 82);
  --surface-raised: oklch(0.975 0.011 85);
  --surface-sunken: oklch(0.925 0.02 80);
  --text: oklch(0.25 0.012 60);
  --text-secondary: oklch(0.39 0.014 60);
  --text-muted: oklch(0.49 0.016 65);
  --text-faint: oklch(0.68 0.018 70);
  --border: oklch(0.86 0.02 78);
  --border-strong: oklch(0.78 0.024 75);
  --shadow-color: oklch(0.35 0.03 60 / 0.14);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.22 0 0 0 0 0.12 0 0 0 0.08 -0.015'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] {
  --surface: oklch(0.225 0.012 65);
  --surface-raised: oklch(0.27 0.013 65);
  --surface-sunken: oklch(0.19 0.01 65);
  --text: oklch(0.945 0.014 82);
  --text-secondary: oklch(0.86 0.016 80);
  --text-muted: oklch(0.7 0.018 75);
  --text-faint: oklch(0.49 0.015 70);
  --border: oklch(0.34 0.014 65);
  --border-strong: oklch(0.43 0.016 65);
  --shadow-color: oklch(0 0 0 / 0.45);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.22 0 0 0 0 0.12 0 0 0 0.056 -0.0105'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: oklch(0.225 0.012 65);
    --surface-raised: oklch(0.27 0.013 65);
    --surface-sunken: oklch(0.19 0.01 65);
    --text: oklch(0.945 0.014 82);
    --text-secondary: oklch(0.86 0.016 80);
    --text-muted: oklch(0.7 0.018 75);
    --text-faint: oklch(0.49 0.015 70);
    --border: oklch(0.34 0.014 65);
    --border-strong: oklch(0.43 0.016 65);
    --shadow-color: oklch(0 0 0 / 0.45);
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.22 0 0 0 0 0.12 0 0 0 0.056 -0.0105'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
  }
}

/* The grain sits in the background itself, fixed to the viewport, so the sticky header
   (which must be opaque) carries the same grain and lines up with the page under it. */
body, .top { background-color: var(--surface); background-image: var(--grain); background-attachment: fixed; }

html[data-app="clip"] { --hue: var(--clip); --hue-text: var(--clip-text); --link: var(--clip-text); --focus-ring: color-mix(in oklch, var(--clip) 60%, transparent); }
html[data-app="notes"] { --hue: var(--notes); --hue-text: var(--notes-text); --link: var(--text); --focus-ring: color-mix(in oklch, var(--notes) 60%, transparent); }
html[data-app="tasks"] { --hue: var(--tasks); --hue-text: var(--tasks-text); --link: var(--tasks-text); --focus-ring: color-mix(in oklch, var(--tasks) 60%, transparent); }

@media (min-width: 720px) {
  :root { --gutter: var(--space-7); --section: var(--space-9); }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: auto; scroll-padding-top: var(--space-9); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background-color: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: var(--weight-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

img, svg { display: block; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.sr, .hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 50;
  padding: var(--space-2) var(--space-4);
  background: var(--surface-raised);
  color: var(--text);
  border-radius: 6px;
}
.skip:focus { top: var(--space-4); }

.wrap {
  width: 100%;
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.col { max-width: calc(var(--column) + 2 * var(--gutter)); }

/* Line icons: hodoclip's style. 24 grid, 1.75 stroke, round, currentColor. */
.i {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.i-lg { width: 24px; height: 24px; }

/* ---- Type ---------------------------------------------------------------------------- */

h1 {
  font-size: clamp(2.75rem, 1.4rem + 5.4vw, 5.25rem);
  line-height: 1.02;
  font-weight: var(--weight-heading);
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  line-height: 1.08;
  font-weight: var(--weight-heading);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h3 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: var(--weight-heading);
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.lead {
  color: var(--text-secondary);
  font-size: clamp(17px, 16px + 0.35vw, 20px);
  line-height: 1.6;
  max-width: 30em;
  text-wrap: pretty;
}

.kicker {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-control);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.muted { color: var(--text-muted); }

/* ---- Buttons and the quiet link ------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 52px;
  padding: 0 var(--space-6);
  border: 0;
  border-radius: 999px;
  font: var(--weight-control) 16px/1 var(--font-sans);
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn .i { width: 18px; height: 18px; stroke-width: 2; }

.btn-ink { background: var(--text); color: var(--surface); }
.btn-ink:active { background: color-mix(in oklch, var(--text) 78%, var(--surface)); }
@media (hover: hover) and (pointer: fine) {
  .btn-ink:hover { background: color-mix(in oklch, var(--text) 86%, var(--surface)); }
}

.btn-sm { min-height: var(--target-touch); padding: 0 var(--space-5); font-size: 14px; }
.btn-sm .i { width: 16px; height: 16px; }

/* The second way on: text with an arrow, underlined like a link in a letter. */
.more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--target-touch);
  color: var(--text);
  font-size: 15px;
  font-weight: var(--weight-control);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 6px;
}
.more .i { color: var(--text-muted); }
@media (hover: hover) and (pointer: fine) {
  .more:hover { text-decoration-color: currentColor; }
}

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color 120ms linear, transform 120ms var(--ease-out); }
  .btn:active { transform: scale(0.97); }
  .top, .foot-nav a, .more, .tile-link { transition: background-color 120ms linear, color 120ms linear, box-shadow 150ms linear, text-decoration-color 120ms linear; }
}

/* ---- Header: the mark on the left, the one action in a fixed place --------------------- */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: var(--surface);
  box-shadow: 0 1px 0 transparent;
}
.scroll-marker { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.top.is-scrolled { box-shadow: 0 1px 0 var(--border); }

.top-row {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-right: auto;
  min-height: var(--target-touch);
  border-radius: 8px;
}
.brand .wordmark { height: 22px; width: auto; }
.brand .wordmark.wm-app { height: 24px; }
@media (max-width: 380px) { .brand .wordmark { display: none; } }

/* ---- Hero: centred, the app's icon above one big line --------------------------------- */

.hero {
  display: grid;
  justify-items: center;
  text-align: center;
  padding-top: var(--space-9);
  padding-bottom: var(--space-8);
}
@media (min-width: 720px) {
  .hero { padding-top: var(--space-10); }
}
.hero-mark { margin-bottom: var(--space-7); }
.hero h1 { max-width: 12em; }
.hero .lead { margin-top: var(--space-5); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-3) var(--space-6);
  margin-top: var(--space-7);
}

.ticks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-5);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: var(--weight-label);
}
.ticks li { display: flex; align-items: center; gap: var(--space-2); }
.ticks .i { stroke-width: 2; }

/* ---- The divider: the vessel glyph between two short hairlines ------------------------ */

.mark-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  max-width: var(--column);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.mark-rule::before, .mark-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
/* The vessel as a glyph (design/brand: one colour, stroke 9 at 24 px), in muted ink. */
.mark-rule svg { width: 24px; height: 24px; flex: none; color: var(--text-muted); }

/* ---- Sections: a centred headline, one or two short lines, then the thing itself ------ */

.section {
  display: grid;
  justify-items: center;
  text-align: center;
  padding-block: var(--section);
}
.section > .lead { margin-top: var(--space-5); }
.section > .lead + .lead { margin-top: var(--space-2); }
.section > .cta-row { margin-top: var(--space-7); }

/* A quiet line between sections, the size of a thought. */
.epigraph {
  padding-block: var(--section);
  text-align: center;
}
.epigraph p {
  max-width: 22em;
  margin-inline: auto;
  color: var(--text-secondary);
  font-size: clamp(22px, 18px + 1.1vw, 30px);
  line-height: 1.4;
  font-weight: var(--weight-label);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Lines that stack, one claim each. */
.stack span { display: block; }

/* ---- Tiles: sample content on raised paper -------------------------------------------- */

.tiles {
  display: grid;
  gap: var(--space-4);
  width: 100%;
  margin-top: var(--space-8);
  text-align: left;
}
@media (min-width: 760px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
}

.tile {
  display: grid;
  align-content: start;
  gap: var(--space-2);
  padding: var(--space-6) var(--space-5);
  border-radius: 12px;
  background: var(--surface-raised);
}
.tile .i-lg { color: var(--text-secondary); margin-bottom: var(--space-3); }
.tile p { color: var(--text-secondary); }
.tile .kicker { margin-bottom: var(--space-1); }

/* A note or a task, written as the user would: the text fades out at the foot. */
.tile-sample {
  min-height: 236px;
  max-height: 260px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(black 62%, transparent);
  mask-image: linear-gradient(black 62%, transparent);
}
.tile-sample .note { color: var(--text); font-size: 16px; line-height: 1.6; }
.tile-sample .note + .note { margin-top: var(--space-3); }
.tag { color: var(--text-secondary); font-weight: var(--weight-label); }
.tag::first-letter { color: var(--hue-text); }

/* The house's app tiles: each tile is a link to the app's page. */
.tile-link {
  color: inherit;
  text-decoration: none;
  gap: var(--space-1);
}
.tile-link img { width: 56px; height: 56px; margin-bottom: var(--space-5); }
.tile-link h3 { font-size: 22px; letter-spacing: -0.02em; }
.tile-link .go {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: var(--weight-label);
}
.tile-link:active { background: color-mix(in oklch, var(--text) 8%, var(--surface-raised)); }
@media (hover: hover) and (pointer: fine) {
  .tile-link:hover { background: color-mix(in oklch, var(--text) 4%, var(--surface-raised)); }
  .tile-link:hover .go { color: var(--text); }
}

/* hodotasks' lists, drawn small. */
.list-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-2);
}
.list-head h3 { font-size: 17px; }
.count { color: var(--text-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.todo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
}
.todo:last-child { border-bottom: 0; }
.todo.done { color: var(--text-faint); text-decoration: line-through; text-decoration-color: var(--text-faint); }
.todo.free { color: var(--text-muted); }

.box {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--border-strong);
}
.box.on { background: var(--hue); box-shadow: none; color: var(--surface); }
.box .i { width: 11px; height: 11px; stroke-width: 2.5; }
.free .box { box-shadow: inset 0 0 0 1.5px var(--border); }

/* ---- The picture: a page, and hodoclip's panel beside it ------------------------------ */

.shot { width: 100%; margin-top: var(--space-2); text-align: left; }

.win {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  grid-template-rows: auto 1fr;
  background: var(--surface-raised);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px var(--shadow-color), 0 24px 56px -16px var(--shadow-color);
  font-size: 13px;
  line-height: 1.65;
  user-select: none;
}

.win-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  height: 40px;
  padding: 0 var(--space-4);
  background: var(--surface-sunken);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.tab {
  padding: 3px var(--space-3);
  border-radius: 6px;
  background: var(--surface-raised);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-label);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page {
  padding: var(--space-7) var(--space-7) 0;
  color: var(--text-secondary);
  max-height: 440px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(black 70%, transparent);
  mask-image: linear-gradient(black 70%, transparent);
}
.page p + p { margin-top: var(--space-3); }
.page-kicker { color: var(--text-muted); font-size: 12px; font-weight: var(--weight-label); }
.page .page-title {
  margin: var(--space-1) 0 var(--space-4);
  color: var(--text);
  font-size: 26px;
  line-height: 1.15;
  font-weight: var(--weight-heading);
  letter-spacing: -0.02em;
}
.sel { background: var(--clip-mark); color: var(--text); border-radius: 2px; }

.panel {
  background: var(--surface);
  box-shadow: inset 1px 0 0 var(--border);
  min-height: 400px;
}

.panel-head {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-1);
  height: 44px;
  padding: 0 var(--panel-pad-min);
}
.pc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 6px;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: var(--weight-control);
}
.pc .i { width: 14px; height: 14px; }
/* Copy is neutral like its neighbours, marked by its place: first (house DESIGN §2.3). */
.pc-theme {
  justify-content: center;
  width: 26px;
  border-radius: 50%;
  background: var(--surface-sunken);
}

.pad { padding: var(--space-3) var(--panel-pad-min) var(--space-6); color: var(--text); }
.pad > * + * { margin-top: var(--space-3); }
.pad-h { font-size: 17px; font-weight: var(--weight-heading); letter-spacing: -0.01em; }
.pad-h2 { padding-top: var(--space-2); font-size: 14px; font-weight: var(--weight-heading); }

.q {
  padding: var(--space-2) var(--space-3) var(--space-2) 14px;
  border-left: 3px solid var(--clip);
  border-radius: 8px;
  background: var(--clip-wash);
  color: var(--text-secondary);
}
.q-src {
  margin-top: var(--space-1);
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: var(--weight-label);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.q-src u { text-decoration-color: var(--border-strong); text-underline-offset: 2px; }

.hl { background: var(--clip-mark); border-radius: 2px; }

.caret {
  display: inline-block;
  width: 1.5px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: -0.15em;
  background: var(--clip);
}

.pad .task { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-2); }
.pad .box { width: 15px; height: 15px; border-radius: 4px; }
.pad .box.on { background: var(--clip); }

/* On a phone the page drops away and the panel stands alone. */
@media (max-width: 719px) {
  .win { grid-template-columns: minmax(0, 1fr); }
  .page { display: none; }
  .panel { box-shadow: none; min-height: 0; }
  .tab::before { content: "hodoclip · "; }
}

/* The clip lands: highlight first, then the quote settles into the pad. Motion is the
   enhancement; with reduced motion the picture is simply already there. It plays once. */
@media (prefers-reduced-motion: no-preference) {
  .sel { animation: sel 150ms linear 300ms both; }
  .q { animation: land 320ms var(--ease-settle) 600ms both; }
  @keyframes sel { from { background: transparent; } }
  @keyframes land { from { opacity: 0; transform: translateY(-8px) scale(0.98); } }
}

/* ---- Rows you scan: a line between them, and only there ------------------------------- */

.rows {
  width: 100%;
  max-width: 36em;
  margin-top: var(--space-7);
  text-align: left;
}
.rows li {
  display: grid;
  gap: var(--space-1);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
}
.rows li:last-child { border-bottom: 0; }
.rows strong { font-weight: var(--weight-heading); }
.rows span { color: var(--text-secondary); }
@media (min-width: 560px) {
  .rows li { grid-template-columns: 9em 1fr; gap: var(--space-5); }
}

/* ---- Why hodo: the maker's letter ----------------------------------------------------- */

.letter {
  max-width: 34em;
  margin-top: var(--space-7);
  font-size: 18px;
  line-height: 1.7;
  text-align: left;
}
.letter > p + p { margin-top: var(--space-4); }
.sign {
  margin-top: var(--space-7);
  font-weight: var(--weight-heading);
  font-size: 17px;
  text-align: center;
}
.sign span { display: block; color: var(--text-muted); font-weight: var(--weight-body); font-size: 14px; }

/* ---- Waitlist: one field, feedback on the button that caused it ----------------------- */

.waitlist { width: 100%; max-width: 32em; margin-top: var(--space-7); }
.waitlist .wl-note { margin-top: var(--space-3); color: var(--text-muted); font-size: 14px; }

.wl-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
.wl-row input {
  flex: 1 1 15em;
  min-width: 0;
  min-height: 52px;
  padding: 0 var(--space-5);
  border: 0;
  border-radius: 999px;
  background: var(--surface-raised);
  box-shadow: inset 0 0 0 1px var(--border-strong);
  color: var(--text);
  font: var(--weight-body) 16px var(--font-sans);
}
.wl-row input::placeholder { color: var(--text-faint); }
.wl-row .btn { flex: 0 0 auto; }

.waitlist:not(.is-done) .btn:disabled { color: var(--text-faint); cursor: default; }

.wl-done { display: none; }
.waitlist.is-done .wl-done { display: block; }
.waitlist.is-done .btn { cursor: default; }

.wl-error {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  color: var(--text);
  font-size: 14px;
  text-align: left;
}
.wl-error[hidden] { display: none; }
.wl-error .i { color: var(--error); margin-top: 3px; }

/* ---- Closer + footer ----------------------------------------------------------------- */

.closer .hero-mark { margin-bottom: var(--space-6); }

.house-note {
  margin-top: var(--space-8);
  color: var(--text-muted);
  font-size: 14px;
}

.foot { padding-block: 0 var(--space-8); }
.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4) var(--space-6);
  max-width: calc(var(--column) + 2 * var(--gutter));
  padding-top: var(--space-6);
  /* The hairline spans the column, not the gutters. */
  background: linear-gradient(var(--border), var(--border)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.foot-brand { display: flex; align-items: center; gap: var(--space-3); color: var(--text-muted); font-size: 14px; }
.foot-brand img { height: 20px; width: auto; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }
.foot-nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--target-touch);
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .foot-nav a:hover { color: var(--text); text-decoration: underline; }
}

/* ---- Plain pages (privacy, joined) ----------------------------------------------------- */

.doc { padding-block: var(--space-8) var(--space-9); max-width: calc(40em + 2 * var(--gutter)); }
.doc h1 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3rem); letter-spacing: -0.035em; }
.doc h2 { margin-top: var(--space-7); font-size: 24px; letter-spacing: -0.02em; }
.doc p, .doc ul { margin-top: var(--space-4); color: var(--text-secondary); max-width: 36em; }
.doc ul { list-style: disc; padding-left: 1.25em; }
.doc li + li { margin-top: var(--space-2); }
.doc .muted { color: var(--text-muted); }

/* hodonotes' sample day: the date sits close above its cards. */
.tiles.tiles-day { margin-top: var(--space-5); }

/* Sample content right under a hero belongs to it: no second gap. */
.hero + .section { padding-top: 0; }

/* Proof in numbers: three figures that are true, set large, with a plain label under each. */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  width: 100%;
  max-width: 40em;
  margin-top: var(--space-7);
}
.stats li { display: grid; gap: var(--space-2); justify-items: center; min-width: 0; }
.stats strong {
  font-size: clamp(2.25rem, 1.2rem + 4.5vw, 4.5rem);
  line-height: 1;
  font-weight: var(--weight-heading);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stats span { color: var(--text-muted); font-size: 15px; font-weight: var(--weight-label); line-height: 1.4; text-wrap: balance; }
.stats + .lead { margin-top: var(--space-7); }
