/* ==========================================================================
   WirtUp — Public pages (landing, login, legal)
   Single source of truth for the public-facing design system.

   Replaces the four divergent :root blocks that previously lived in
   home.html, login.html and legal/legal_base.html. The logged-in PWA keeps
   its own tokens in pwa.base.css — values are aligned but not shared,
   because the PWA ships through the service worker cache and this file
   deliberately does not (see sw.js SHELL).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts — self-hosted

   Self-hosted rather than loaded from fonts.googleapis.com: removes two
   third-party DNS+TLS handshakes from the critical path, keeps visitor IPs
   out of a US CDN (the audience is Austrian hospitality businesses), and
   makes the render path independent of a service we don't control.

   Inter and Plus Jakarta Sans come from /static/css/fonts.css (shared with
   the PWA); pages using this stylesheet must link fonts.css before it.

   Fraunces ships with four variable axes; opsz/SOFT/WONK are pinned to the
   brand's setting at build time (see docs/FIGMA_WORKFLOW.md), which cuts the
   latin subset from 120 KB to 34 KB. Only `wght` stays variable.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/static/fonts/fraunces-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/static/fonts/fraunces-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* — Colour —
     terracotta / ink / paper / forest carry over unchanged from the existing
     brand (see docs/FIGMA_WORKFLOW.md). paper-warm, charcoal and line are new:
     the old page painted one radial gradient across the whole document, which
     left every section looking identical. Alternating flat surfaces give the
     page a rhythm instead. */
  --wu-terracotta: #9c3e20;
  --wu-terracotta-dark: #7a3019;
  --wu-terracotta-tint: #f5e6df;
  --wu-forest: #51634c;
  --wu-danger: #b83232;

  --wu-ink: #1b1c19;
  /* Warmer greys than the old #56423c, which was red-tinted enough to read as
     a washed-out version of the brand colour rather than as neutral text. */
  --wu-ink-muted: #5a544d;
  /* 4.73:1 on paper-warm, 5.24:1 on paper — the previous #8a8279 sat at
     3.60:1, which fails AA for the 12px mono labels it is used for. */
  --wu-ink-faint: #6e6860;

  --wu-paper: #fbf9f4;
  --wu-paper-warm: #f3ede4;
  --wu-charcoal: #221f1c;
  --wu-line: #e2dad0;
  --wu-line-dark: rgba(255, 255, 255, 0.14);
  /* Brand terracotta only reaches 2.44:1 on charcoal. Dark sections use
     this lifted tint (6.32:1) so the accent stays legible. */
  --wu-terracotta-on-dark: #e08c63;

  /* — Type — */
  --wu-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --wu-font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --wu-font-mono: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Fraunces' remaining axis settings. opsz/SOFT/WONK are already baked into
     the file, so this only needs to carry intent for anyone reading the CSS. */
  --wu-display-settings: 'opsz' 100, 'SOFT' 20, 'WONK' 1;

  /* Major third (1.25). Fixed steps rather than clamp() on every heading —
     clamp everywhere is what made the old page's hierarchy collapse at
     mid-widths, with h1 and h2 landing within 4px of each other. */
  --wu-text-display: 4.5rem;  /* 72px */
  --wu-text-h1: 3.5rem;       /* 56px */
  --wu-text-h2: 2.25rem;      /* 36px */
  --wu-text-h3: 1.375rem;     /* 22px */
  --wu-text-lead: 1.1875rem;  /* 19px */
  --wu-text-body: 1.0625rem;  /* 17px */
  --wu-text-small: 0.9375rem; /* 15px */
  --wu-text-label: 0.75rem;   /* 12px */

  /* — Space (4px base) — */
  --wu-space-1: 0.25rem;
  --wu-space-2: 0.5rem;
  --wu-space-3: 0.75rem;
  --wu-space-4: 1rem;
  --wu-space-6: 1.5rem;
  --wu-space-8: 2rem;
  --wu-space-12: 3rem;
  --wu-space-16: 4rem;
  --wu-space-24: 6rem;
  --wu-space-32: 8rem;

  /* — Radius —
     Deliberately not one value for everything. A single radius applied to
     buttons, cards and images at once is the strongest "template" tell. */
  --wu-radius-pill: 999px;
  --wu-radius-button: 8px;
  --wu-radius-card: 4px;
  --wu-radius-image: 2px;
  --wu-radius-device: 12px;

  /* — Elevation —
     Exactly one shadow, reserved for elements that genuinely float above the
     page (the product UI overlapping the hero photo). Everything else uses
     --wu-line hairlines. */
  --wu-shadow-float: 0 18px 48px -12px rgba(34, 31, 28, 0.28);

  /* — Layout — */
  --wu-container: 1200px;
  --wu-container-text: 68ch;
  --wu-gutter: var(--wu-space-6);
}

/* --------------------------------------------------------------------------
   3. Reset & base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--wu-paper);
  color: var(--wu-ink);
  font-family: var(--wu-font-sans);
  font-size: var(--wu-text-body);
  line-height: 1.65;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  font-family: var(--wu-font-display);
  font-variation-settings: var(--wu-display-settings);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 { font-size: var(--wu-text-h1); }
h2 { font-size: var(--wu-text-h2); line-height: 1.15; letter-spacing: -0.02em; }
h3 {
  font-family: var(--wu-font-sans);
  font-size: var(--wu-text-h3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-variation-settings: normal;
}

p { text-wrap: pretty; }

a {
  color: var(--wu-terracotta);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--wu-terracotta-dark); }

img,
picture,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Visible focus for keyboard users on every interactive element. The old page
   relied on the UA default, which disappeared entirely against the terracotta
   buttons. */
:focus-visible {
  outline: 2px solid var(--wu-terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   4. Utilities
   -------------------------------------------------------------------------- */

.wu-label {
  font-family: var(--wu-font-mono);
  font-size: var(--wu-text-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--wu-ink-muted);
}

.wu-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Paper grain. A flat digital surface reads as a template; a trace of texture
   reads as a material. Kept at 2.5% so it registers without being visible as
   noise. Inlined as a data URI so it costs no extra request. */
.wu-grain::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   5. Layout & components

   Landing page, login and legal pages share this layer. Section surfaces
   alternate (paper → paper-warm → charcoal) instead of the single page-wide
   gradient the old page used, which made every section look the same.
   -------------------------------------------------------------------------- */

.wrap { width: 100%; max-width: var(--wu-container); margin: 0 auto; padding: 0 var(--wu-gutter); }
.narrow { max-width: 900px; }

/* Section rhythm — flat surfaces instead of one page-wide gradient */
.s { padding: var(--wu-space-24) 0; position: relative; }
.s--paper { background: var(--wu-paper); }
.s--warm  { background: var(--wu-paper-warm); }
.s--dark  { background: var(--wu-charcoal); color: #f0ebe4; }
.s--dark h2, .s--dark h3 { color: #fff; }
.s--tint  { background: var(--wu-terracotta-tint); }
.s--tight { padding: var(--wu-space-12) 0; }

/* ── Header ───────────────────────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,249,244,.88);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--wu-line);
}
.hdr__in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--wu-font-display);
  font-variation-settings: var(--wu-display-settings); font-size: 23px; font-weight: 600;
  color: var(--wu-terracotta); letter-spacing: -.02em; text-decoration: none; }
.brand img { width: 20px; height: 20px; }
.hdr__nav { display: flex; align-items: center; gap: var(--wu-space-8); }
.hdr__nav a.lnk { font-size: var(--wu-text-small); color: var(--wu-ink-muted); text-decoration: none; }
.hdr__nav a.lnk:hover { color: var(--wu-ink); }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-family: var(--wu-font-sans);
  font-size: var(--wu-text-small); font-weight: 600; line-height: 1; padding: 13px 22px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, transform .15s; }
.btn--primary { background: var(--wu-terracotta); color: #fff; border-radius: var(--wu-radius-pill); }
.btn--primary:hover { background: var(--wu-terracotta-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--wu-ink); border-color: var(--wu-line);
  border-radius: var(--wu-radius-button); }
.btn--ghost:hover { border-color: var(--wu-ink); color: var(--wu-ink); }
.btn--onDark { background: #fff; color: var(--wu-charcoal); border-radius: var(--wu-radius-pill); }
.btn--onDark:hover { background: #f0ebe4; color: var(--wu-charcoal); }
.btn--sm { padding: 10px 18px; font-size: 14px; }

/* ── Hero: 7/5 asymmetric, not centred ───────────────────────────────── */
.hero { padding: var(--wu-space-24) 0 var(--wu-space-16); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: var(--wu-space-16); align-items: center; }
.hero h1 { font-size: var(--wu-text-display); margin: var(--wu-space-6) 0 var(--wu-space-6); }
.hero h1 em { font-style: normal; color: var(--wu-terracotta); }
.hero__lead { font-size: var(--wu-text-lead); color: var(--wu-ink-muted); max-width: 38ch;
  margin-bottom: var(--wu-space-8); }
.hero__cta { display: flex; gap: var(--wu-space-3); flex-wrap: wrap; align-items: center; }
.hero__note { margin-top: var(--wu-space-6); font-size: var(--wu-text-small); color: var(--wu-ink-faint);
  max-width: 42ch; }

/* Photo + floating product UI */
.hero__visual { position: relative; }
.photo { position: relative; aspect-ratio: 4/5; background: #e6ddd2; border-radius: var(--wu-radius-image);
  overflow: hidden; display: grid; place-items: center; }
.photo picture, .photo img { width: 100%; height: 100%; object-fit: cover; }
.photo__ph { text-align: center; color: #a1917f; font-family: var(--wu-font-mono); font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; line-height: 2; }
.photo__ph strong { display:block; font-family: var(--wu-font-display); font-variation-settings: var(--wu-display-settings);
  font-size: 19px; font-weight: 500; letter-spacing: -.01em; text-transform: none; color: #8a7460; margin-bottom: 6px; }

/* The product fragment that overlaps the photo — the page's one real shadow */
.ui {
  position: absolute; left: -62px; bottom: 30px; width: 312px;
  background: #fff; border-radius: var(--wu-radius-device); box-shadow: var(--wu-shadow-float);
  overflow: hidden; font-size: 13px;
}
.ui__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px;
  border-bottom: 1px solid #efe9e1; }
.ui__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wu-terracotta); flex: none; }
.ui__bar span { font-family: var(--wu-font-mono); font-size: 10px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--wu-ink-faint); }
.ui__body { padding: 14px; }
.ui__msg { background: var(--wu-terracotta); color: #fff; padding: 9px 13px; border-radius: 14px 14px 4px 14px;
  margin-left: auto; width: fit-content; max-width: 90%; line-height: 1.45; margin-bottom: 14px; }
.ui__wave { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; margin-right: 7px;
  vertical-align: -1px; }
.ui__wave i { width: 2px; background: rgba(255,255,255,.85); border-radius: 1px; animation: eq 1.1s ease-in-out infinite; }
.ui__wave i:nth-child(1){height:40%;animation-delay:0s} .ui__wave i:nth-child(2){height:100%;animation-delay:.12s}
.ui__wave i:nth-child(3){height:62%;animation-delay:.24s} .ui__wave i:nth-child(4){height:85%;animation-delay:.36s}
.ui__wave i:nth-child(5){height:35%;animation-delay:.48s}
@keyframes eq { 0%,100%{transform:scaleY(.55)} 50%{transform:scaleY(1)} }

.ui__label { font-family: var(--wu-font-mono); font-size: 10px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--wu-ink-faint); margin-bottom: 8px; }
.diff { border: 1px solid #efe9e1; border-radius: 8px; overflow: hidden; margin-bottom: 12px; }
.diff__row { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 11px; }
.diff__row + .diff__row { border-top: 1px solid #f5f0ea; }
.diff__row--out { background: #fdf3f2; }
.diff__row--in  { background: #f1f6ef; }
.diff__row s { color: #b0a79d; text-decoration-color: #d6a99b; }
.diff__tag { font-family: var(--wu-font-mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 3px; flex: none; }
.diff__row--out .diff__tag { background: #f6ddd7; color: #9c3e20; }
.diff__row--in  .diff__tag { background: #dfe9db; color: #3f5139; }
.ui__targets { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--wu-ink-muted);
  border: 1px solid #ece5dc; border-radius: var(--wu-radius-pill); padding: 4px 9px; background: #fdfbf8; }
.ui__confirm { display: block; width: 100%; text-align: center; background: var(--wu-terracotta); color: #fff;
  border: 0; border-radius: var(--wu-radius-pill); padding: 10px; font-family: var(--wu-font-sans);
  font-size: 12.5px; font-weight: 600; cursor: pointer; }

/* ── Channel strip ────────────────────────────────────────────────────── */
/* Typographic until the real channel logos (incl. Google) are in place —
   a row that is half logos and half bare text reads as unfinished. */
.strip { display: flex; align-items: center; justify-content: center; gap: var(--wu-space-6);
  flex-wrap: wrap; }
.strip__lbl { font-family: var(--wu-font-mono); font-size: var(--wu-text-label); letter-spacing: .08em;
  text-transform: uppercase; color: var(--wu-ink-faint); margin-right: var(--wu-space-2); }
.strip__item { display: inline-flex; align-items: center; gap: var(--wu-space-6);
  font-size: var(--wu-text-small); color: var(--wu-ink-muted); font-weight: 500; }
.strip__item::after { content: '·'; color: var(--wu-line); }
.strip__item:last-child::after { content: none; }

/* ── Pilot proof ──────────────────────────────────────────────────────── */
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: var(--wu-space-16); align-items: center; }
.proof__num { font-family: var(--wu-font-display); font-variation-settings: var(--wu-display-settings);
  font-size: 4.5rem; line-height: 1; letter-spacing: -.03em; color: var(--wu-terracotta);
  margin: var(--wu-space-4) 0; }
.proof__txt { font-size: var(--wu-text-lead); }
.proof__note { font-size: var(--wu-text-small); color: var(--wu-ink-muted); margin-top: var(--wu-space-2); }
.proof__list h3 { font-size: 1.05rem; margin-bottom: var(--wu-space-4); }
.proof__list p { padding: var(--wu-space-4) 0; border-top: 1px solid var(--wu-line);
  font-size: var(--wu-text-small); color: var(--wu-ink-muted); }
.proof__list strong { display: block; color: var(--wu-ink); font-size: 1.05rem; font-weight: 600; }

/* ── Problem: the one specific, true sentence ─────────────────────────── */
.problem { max-width: 22ch; }
.problem__quote { font-family: var(--wu-font-display); font-variation-settings: var(--wu-display-settings);
  font-size: 2.75rem; font-weight: 400; line-height: 1.18; letter-spacing: -.02em; color: #fff;
  max-width: 20ch; }
.problem__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--wu-space-16); align-items: end; }
.problem__aside { color: #b9b0a5; font-size: var(--wu-text-lead); }
.problem__aside strong { color: #fff; font-weight: 600; }
.problem__time { font-family: var(--wu-font-mono); font-size: var(--wu-text-label); letter-spacing: .1em;
  color: var(--wu-terracotta-on-dark); text-transform: uppercase; margin-bottom: var(--wu-space-6); display: block; }

.tile__fill picture, .tile__fill img { display: block; width: 100%; height: 100%; }
.tile__fill img { object-fit: cover; object-position: top left; }

/* ── Bento: deliberately unequal cells ────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto);
  gap: var(--wu-space-4); }
.tile { background: var(--wu-paper); border: 1px solid var(--wu-line); border-radius: var(--wu-radius-card);
  padding: var(--wu-space-8); display: flex; flex-direction: column; }
/* 4 tiles must tile 3 columns exactly: 2×2 + 1×2 fills rows 1–2, then
   2×1 + 1×1 fills row 3. Leaving a hole in the last row is precisely the
   flaw the old page had with its lone fourth card. */
.tile--wide { grid-column: span 2; grid-row: span 2; }
.tile--tall { grid-row: span 2; }
.tile--half { grid-column: span 2; }
.tile h3 { font-size: 1.1rem; margin-bottom: var(--wu-space-2); }
.tile p { font-size: var(--wu-text-small); color: var(--wu-ink-muted); }
.tile__ico { width: 24px; height: 24px; margin-bottom: var(--wu-space-4); color: var(--wu-terracotta); }
.tile__fill { margin-top: auto; padding-top: var(--wu-space-6); }
.tile--wide .tile__fill { background: #f4efe7; border-radius: var(--wu-radius-image); margin-top: var(--wu-space-6);
  aspect-ratio: 1200/822; overflow: hidden; padding: 0; }

/* Small live sample inside the tall tile — shows the output instead of only
   describing it, and stops the doubled row height from reading as a gap. */
.hours { margin-top: auto; padding-top: var(--wu-space-6); font-size: 13px; }
.hours > div { display: flex; justify-content: space-between; gap: var(--wu-space-3);
  padding: 7px 0; border-top: 1px solid var(--wu-line); }
.hours dt { color: var(--wu-ink-muted); }
.hours dd { font-variant-numeric: tabular-nums; color: var(--wu-ink); }
.hours--alert dt, .hours--alert dd { color: var(--wu-terracotta); font-weight: 600; }

/* ── More-than list ───────────────────────────────────────────────────── */
.more { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--wu-space-16); }
.more__item { display: grid; grid-template-columns: auto 1fr; gap: var(--wu-space-4);
  padding: var(--wu-space-6) 0; border-bottom: 1px solid var(--wu-line); align-items: baseline; }
.more__k { font-family: var(--wu-font-mono); font-size: var(--wu-text-label); color: var(--wu-terracotta);
  letter-spacing: .08em; }
.more__item h3 { font-size: 1.05rem; margin-bottom: 3px; }
.more__item p { font-size: var(--wu-text-small); color: var(--wu-ink-muted); }

/* ── Founder ──────────────────────────────────────────────────────────── */
.founder { display: grid; grid-template-columns: 260px 1fr; gap: var(--wu-space-12); align-items: center; }
.founder__photo { aspect-ratio: 1; border-radius: var(--wu-radius-image); background: #e6ddd2;
  display: grid; place-items: center; font-family: var(--wu-font-mono); font-size: 10px;
  letter-spacing: .07em; text-transform: uppercase; color: #a1917f; text-align: center; line-height: 2; }
.founder blockquote { font-family: var(--wu-font-display); font-variation-settings: var(--wu-display-settings);
  font-size: 1.65rem; font-weight: 400; line-height: 1.35; letter-spacing: -.02em; margin-bottom: var(--wu-space-6); }
.founder__photo { overflow: hidden; }
.founder__photo img, .founder__photo picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder__by { font-size: var(--wu-text-small); color: var(--wu-ink-muted); }
.founder__by strong { color: var(--wu-ink); display: block; font-weight: 600; }

/* ── Form ─────────────────────────────────────────────────────────────── */
.signup { display: grid; grid-template-columns: 1fr 1fr; gap: var(--wu-space-16); align-items: start; }
.field { margin-bottom: var(--wu-space-4); }
.field label { display: block; font-family: var(--wu-font-mono); font-size: var(--wu-text-label);
  letter-spacing: .08em; text-transform: uppercase; color: var(--wu-ink-muted); margin-bottom: 6px; }
.field input { width: 100%; font-family: var(--wu-font-sans); font-size: var(--wu-text-body);
  padding: 12px 14px; border: 1px solid #ddd0c2; border-radius: var(--wu-radius-button);
  background: #fff; color: var(--wu-ink); }
.field input:focus { outline: 2px solid var(--wu-terracotta); outline-offset: 1px; border-color: transparent; }
.signup__note { font-size: var(--wu-text-small); color: var(--wu-ink-muted); margin-top: var(--wu-space-4); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.ftr { background: var(--wu-charcoal); color: #8e857a; padding: var(--wu-space-16) 0 var(--wu-space-8); }
.ftr__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--wu-space-8);
  padding-bottom: var(--wu-space-12); border-bottom: 1px solid var(--wu-line-dark); }
.ftr h4 { font-family: var(--wu-font-mono); font-size: var(--wu-text-label); letter-spacing: .08em;
  text-transform: uppercase; color: #968c81; margin-bottom: var(--wu-space-4); font-weight: 500; }
.ftr a { display: block; color: #b9b0a5; font-size: var(--wu-text-small); text-decoration: none;
  padding: 4px 0; }
.ftr a:hover { color: #fff; }
.ftr__brand { font-family: var(--wu-font-display); font-variation-settings: var(--wu-display-settings);
  font-size: 22px; font-weight: 600; color: #f0ebe4; letter-spacing: -.02em; margin-bottom: var(--wu-space-3); }
.ftr__legal { padding-top: var(--wu-space-6); font-size: 13px; color: #968c81; }

/* ── Section heads ────────────────────────────────────────────────────── */
.head { margin-bottom: var(--wu-space-12); max-width: 34ch; }
.head .wu-label { display: block; margin-bottom: var(--wu-space-4); color: var(--wu-terracotta); }
.head p { color: var(--wu-ink-muted); font-size: var(--wu-text-lead); margin-top: var(--wu-space-4);
  max-width: 52ch; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  :root { --wu-text-display: 3.25rem; --wu-text-h2: 1.9rem; }
  .hero__grid, .problem__grid, .proof, .signup, .founder { grid-template-columns: 1fr; gap: var(--wu-space-8); }
  .founder { grid-template-columns: 180px 1fr; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; }
  .tile--wide { grid-column: span 2; grid-row: auto; }
  .tile--tall { grid-row: auto; }
  .more { grid-template-columns: 1fr; }
  .ui { position: relative; left: 0; bottom: 0; margin: -60px auto 0; width: min(340px, 100%); }
  .s { padding: var(--wu-space-16) 0; }
  .problem__quote { font-size: 2rem; }
  .proof__num { font-size: 3.25rem; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  :root { --wu-text-display: 2.5rem; --wu-gutter: var(--wu-space-4); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  /* .tile--half must drop its span too, otherwise the single-column grid
     grows an implicit second column and the page scrolls sideways. */
  .tile--wide, .tile--half { grid-column: auto; }
  .tile { padding: var(--wu-space-6); }
  .hdr__nav .lnk { display: none; }
  .hdr__in { height: 60px; }
  .hdr__nav { gap: var(--wu-space-3); }
  .s { padding: var(--wu-space-12) 0; }
  .s--tight { padding: var(--wu-space-8) 0; }
  .hero { padding: var(--wu-space-8) 0 var(--wu-space-12); }
  .head { margin-bottom: var(--wu-space-8); }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .strip { display: grid; grid-template-columns: 1fr 1fr;
    gap: var(--wu-space-2) var(--wu-space-4); }
  .strip__lbl { grid-column: 1 / -1; }
  .strip__item::after { content: none; }
  .problem__quote { font-size: 1.65rem; }
  .problem__aside { font-size: var(--wu-text-body); }
  .proof__num { font-size: 2.75rem; }
  .founder { grid-template-columns: 1fr; }
  .founder__photo { width: 140px; }
  .founder blockquote { font-size: 1.35rem; }
  .ftr a { padding: 8px 0; }
}
@media (max-width: 380px) {
  .ftr__grid { grid-template-columns: 1fr; }
  .hdr__nav .btn--sm { padding: 9px 12px; }
}
@media (max-width: 340px) {
  /* Login stays reachable from the footer. */
  .hdr__nav .btn--ghost { display: none; }
}

/* ── Pilot form states ─────────────────────────────────────────────────── */
.form-status { min-height: 1.4em; margin-top: var(--wu-space-3); font-size: var(--wu-text-small);
  color: var(--wu-ink-muted); }
.form-status--error { color: var(--wu-danger); }
.form-done { font-size: var(--wu-text-lead); color: var(--wu-ink); line-height: 1.5; }
#pilot-submit[disabled] { opacity: .6; cursor: progress; }

/* Wordmark uses the scissors symbol via <use>; currentColor inherits .brand's
   terracotta so there is no second place to update the brand colour. */
.brand svg { width: 20px; height: 20px; flex: none; }

/* ── Prose (legal / explainer pages) ──────────────────────────────────── */
.prose { max-width: var(--wu-container-text); }
.prose h1 { font-size: var(--wu-text-h1); margin: var(--wu-space-4) 0 var(--wu-space-6); }
.prose h2 { font-size: 1.6rem; margin: var(--wu-space-12) 0 var(--wu-space-4); }
.prose p { margin-bottom: var(--wu-space-4); color: var(--wu-ink-muted); }
.prose .lead { font-size: var(--wu-text-lead); color: var(--wu-ink); }
.prose ul { margin: 0 0 var(--wu-space-4) var(--wu-space-6); }
.prose li { color: var(--wu-ink-muted); margin-bottom: var(--wu-space-2); }
.prose li strong { color: var(--wu-ink); }
.prose__foot { margin-top: var(--wu-space-12); padding-top: var(--wu-space-6);
  border-top: 1px solid var(--wu-line); font-size: var(--wu-text-small); }
