/* =========================================================
   Public pages -- front page, sign-up, sign-in.

   One deliberate look: the trading floor of a business that takes itself
   seriously -- ink navy, paper white, a brass rule, and a live board of
   services. Big enough for an enterprise, plain enough for a one-person
   shop. Light only, with every colour set explicitly, so the pages read the
   same whatever theme the visitor's device prefers. The app behind the
   sign-in keeps its own light/dark theming.
   ========================================================= */

:root {
  --page: #f1f4f8;
  --mist: #e5ebf2;
  /* The quiet fill behind a panel sitting on white -- the confirmation box on
     the booking page and the read-only slot field both ask for it. It was
     used in three places and defined in none, so those panels were rendering
     with no background at all. */
  --mist-soft: #f4f7fb;
  --line-strong: #c6d2df;
  --surface: #ffffff;
  --ink: #0b1d33;
  --ink-2: #14304f;
  --slate: #4a5b70;
  /* Both pass WCAG AA (4.5:1) for small text on --page, --mist and white. */
  --slate-soft: #5b6b80;
  --brass: #b8862b;
  --brass-ink: #825e12;
  --signal: #167a57;
  --signal-soft: #dcefe6;
  --line: #dde5ee;
  --danger: #b3261e;

  /* On the ink board: light text, brass highlights, a live green. */
  --on-ink: #eaf0f7;
  --on-ink-soft: #a9bbd0;
  --on-ink-dim: #8397b0;
  --brass-light: #e0ad55;
  --signal-light: #6fd3a8;

  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 12px;
  --arch: 6px;
  --lift: 0 1px 2px rgba(11, 29, 51, 0.06), 0 14px 34px rgba(11, 29, 51, 0.1);

  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.site {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

.site img { max-width: 100%; display: block; }
/* Zero specificity, so a button's own colour (.btn-primary, .btn-light) wins. */
:where(.site) a { color: inherit; }
.site :focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }

/* The sign-in script hides things both ways; either must win over a display rule. */
.site [hidden],
.site .hidden { display: none !important; }

/* Eyebrow labels: a mono ticker line, not handwriting. */
.hand {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-ink);
  line-height: 1.1;
}

/* ---------------------------------------------------------
   Buttons
--------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 16px/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: var(--page); box-shadow: 0 6px 18px rgba(11, 29, 51, 0.22); }
.btn-primary:hover { background: var(--ink-2); box-shadow: 0 10px 24px rgba(11, 29, 51, 0.26); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--mist); }
.btn-light { background: var(--page); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* ---------------------------------------------------------
   The ticker -- every service and its status, running along an
   ink band. Filled from the catalog by js/site.js.
--------------------------------------------------------- */

.ticker {
  overflow: hidden;
  padding: 12px 0;
  background: var(--ink);
  border-top: 1px solid rgba(224, 173, 85, 0.3);
  border-bottom: 1px solid rgba(224, 173, 85, 0.3);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 0;
}
.ticker-track.is-still { width: auto; flex-wrap: wrap; justify-content: center; }

.tick {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 0 26px;
  border-right: 1px solid rgba(169, 187, 208, 0.2);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tick-name { color: var(--on-ink); font-weight: 500; }
.tick-status { font-weight: 600; color: var(--on-ink-dim); }
.tick-status.is-live { color: var(--signal-light); }
.tick-status.is-building { color: var(--brass-light); }

@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: ticker 48s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------------------------------------------------
   Header
--------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(241, 244, 248, 0.88);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.1;
}

.logo-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--page);
  flex: 0 0 auto;
}
.logo-mark svg { overflow: visible; }
.logo-mark .bar { fill: var(--brass); }
.logo-mark .bar-tall { fill: var(--page); }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { text-decoration: none; font-weight: 500; color: var(--slate); }
.site-nav a:hover { color: var(--ink); }

.site-actions { display: flex; align-items: center; gap: 10px; }

/* ---------------------------------------------------------
   Hero
--------------------------------------------------------- */

.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(48px, 8vw, 96px); }

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
}

.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero-hello { margin: 0; }

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--brass-ink); }

.hero-lede { margin: 0; max-width: 34ch; font-size: clamp(18px, 1.7vw, 20px); color: var(--slate); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.hero-fine { margin: 0; font-size: 14.5px; color: var(--slate-soft); }
.hero-fine a { color: var(--brass-ink); font-weight: 600; text-decoration: none; border-bottom: 1.5px dashed currentColor; }
.hero-fine a:hover { border-bottom-style: solid; }

.hero-art { position: relative; justify-self: center; width: min(100%, 470px); }

.arch {
  overflow: hidden;
  border-radius: var(--arch);
  box-shadow: var(--lift);
  background: var(--mist);
}
.hero-art .arch { aspect-ratio: 4 / 5; }
.arch img { width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: no-preference) {
  .hero-art .arch img { animation: slow-zoom 22s ease-in-out infinite alternate; transform-origin: 55% 40%; }
}
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.07); } }

.sticky-note {
  position: absolute;
  left: -30px;
  bottom: 48px;
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 10px 26px rgba(11, 29, 51, 0.16);
}
.sticky-note small {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-soft);
}

.hero-badge {
  position: absolute;
  right: -18px;
  top: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--lift);
  font-size: 14px;
  font-weight: 600;
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px var(--signal-soft); }

/* Page-load sequence: runs once, always ends fully visible. */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .rise-1 { animation-delay: 0.05s; }
  .rise-2 { animation-delay: 0.15s; }
  .rise-3 { animation-delay: 0.25s; }
  .rise-4 { animation-delay: 0.35s; }
  .rise-5 { animation-delay: 0.45s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Scroll reveal. Only elements that start below the fold ever wait; see site.js. */
.reveal.is-waiting { opacity: 0; transform: translateY(18px); }
.reveal { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
@media print { .reveal.is-waiting { opacity: 1; transform: none; } }

/* ---------------------------------------------------------
   The menu (services)
--------------------------------------------------------- */

/* The board sits close under the page heading, not a screen below it. */
.menu-section { padding: clamp(8px, 2vw, 24px) 0 clamp(56px, 8vw, 96px); }

.menu-board {
  position: relative;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 6px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(184, 134, 43, 0.16), transparent 60%),
    linear-gradient(160deg, #16304f, #0b1d33);
  color: var(--page);
  box-shadow: var(--lift);
}

.menu-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.menu-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 54px);
  line-height: 1;
}
.menu-head .hand { color: var(--brass-light); margin: 0; }
.menu-head p.menu-sub { margin: 8px 0 0; color: var(--on-ink-soft); max-width: 40ch; }

.menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px clamp(28px, 5vw, 64px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-item { display: flex; flex-direction: column; gap: 6px; }

.menu-line { display: flex; align-items: baseline; gap: 10px; }
.menu-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  white-space: nowrap;
}
.menu-name svg { color: var(--brass-light); flex: 0 0 auto; }
.menu-leader { flex: 1 1 auto; min-width: 24px; border-bottom: 2px dotted rgba(224, 173, 85, 0.45); transform: translateY(-5px); }
.menu-status { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--on-ink-soft); white-space: nowrap; }
.menu-status.is-live { color: var(--signal-light); }
.menu-status.is-soon { color: var(--on-ink-dim); }
.menu-status.is-building { color: var(--brass-light); }
.menu-desc { margin: 0; padding-left: 32px; font-size: 15.5px; color: var(--on-ink-dim); max-width: 46ch; }

.menu-foot {
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(224, 173, 85, 0.22);
  font-size: 15px;
  color: var(--on-ink-dim);
}
.menu-foot strong { color: var(--page); font-weight: 600; }

/* ---------------------------------------------------------
   How it works
--------------------------------------------------------- */

.how { padding: clamp(40px, 6vw, 80px) 0; }
.how .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
}

.section-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
  text-wrap: balance;
}
.section-lede { margin: 0; color: var(--slate); max-width: 42ch; }

.steps { display: grid; gap: 22px; margin: 30px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mist);
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--brass-ink);
}
.steps h3 { margin: 4px 0 2px; font-size: 19px; font-weight: 700; }
.steps p { margin: 0; color: var(--slate); font-size: 16px; }

.how-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--lift); aspect-ratio: 3 / 2; }
.how-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Before / After comparison */
.how-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 8px;
}
.compare-note {
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--slate-soft);
}

.compare-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--lift);
  position: relative;
}
.compare-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.compare-card figcaption {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.compare-before { border: 2px solid var(--line-strong); }
.compare-after  { border: 2px solid var(--brass); }
.compare-after figcaption { background: var(--brass); color: var(--ink); }

@media (max-width: 640px) {
  .how-compare { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------------------------------------------------------
   People
--------------------------------------------------------- */

.people { padding: clamp(40px, 6vw, 80px) 0; background: var(--mist); }
.people-head { text-align: left; max-width: 640px; margin-bottom: 32px; }

.people-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); }

.people-card { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.people-card .frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; box-shadow: var(--lift); }
.people-card .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.people-card:hover .frame img { transform: scale(1.03); }
.people-card figcaption { display: flex; flex-direction: column; gap: 2px; }
.people-card .hand { margin: 0; }
.people-card p { margin: 0; color: var(--slate); font-size: 16px; }

/* ---------------------------------------------------------
   Closing call to action
--------------------------------------------------------- */

.closing { padding: clamp(56px, 8vw, 104px) 0; }
.closing-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
  padding: clamp(26px, 5vw, 56px);
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--lift);
}
.closing-card .hand { margin: 0 0 4px; }
.closing-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.closing-photo { border-radius: var(--arch); overflow: hidden; aspect-ratio: 4 / 5; max-height: 380px; justify-self: center; width: min(100%, 300px); }
.closing-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */

.site-footer { padding: 34px 0 44px; border-top: 1px solid var(--line); color: var(--slate-soft); font-size: 14.5px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { text-decoration: none; color: var(--slate); }
.site-footer a:hover { color: var(--ink); }

/* ---------------------------------------------------------
   Sign-up and sign-in
--------------------------------------------------------- */

.auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }

.auth-main { display: flex; flex-direction: column; padding: 26px clamp(20px, 5vw, 64px) 40px; }
.auth-main .logo { align-self: flex-start; }

.auth-panel { width: min(100%, 480px); margin: auto 0; padding: 32px 0; }
.auth-panel.is-wide { width: min(100%, 620px); }

.auth-panel h1 {
  margin: 6px 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.05;
}
.auth-panel .hand { margin: 0; }
.auth-panel .lede { margin: 0 0 26px; color: var(--slate); }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.field input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font: 400 16px/1 var(--font-body);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder { color: var(--slate-soft); }
.field input:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 4px rgba(184, 134, 43, 0.18); }
.field small { font-size: 13.5px; color: var(--slate-soft); }
.field small.is-ok { color: var(--signal); font-weight: 600; }

.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error {
  margin: 4px 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fbe9e7;
  color: var(--danger);
  font-size: 15px;
}
.form-error[hidden] { display: none; }

.form-note { margin: 14px 0 0; font-size: 15px; color: var(--slate); }
.form-note a { color: var(--brass-ink); font-weight: 600; }
.link-button { border: 0; background: none; padding: 0; font: inherit; color: var(--brass-ink); font-weight: 600; cursor: pointer; }
/* Two or more links in one note: side by side, each on its own line when they don't fit. */
.form-note-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }

.submit { width: 100%; margin-top: 6px; }

fieldset.services { margin: 8px 0 18px; padding: 0; border: 0; }
fieldset.services legend { font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
.services-hint { margin: 0 0 12px; font-size: 13.5px; color: var(--slate-soft); }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.choice-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--mist); color: var(--brass-ink); }
.choice-name { font-size: 14.5px; font-weight: 600; line-height: 1.2; }
.choice-status { display: block; font-size: 12px; font-weight: 500; color: var(--slate-soft); }
.choice-tick {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1.5px solid var(--line-strong);
  color: transparent;
  font-size: 14px;
  font-weight: 700;
}
.choice input:checked + .choice-card { border-color: var(--ink); background: #f7fafd; box-shadow: 0 0 0 1px var(--ink) inset; }
.choice input:checked + .choice-card .choice-tick { background: var(--ink); border-color: var(--ink); color: var(--page); }
.choice input:focus-visible + .choice-card { outline: 2px solid var(--brass); outline-offset: 2px; }

.choice-all { margin: 10px 0 0; }

/* A service that isn't live yet can be preordered from its card. */
.choice-wrap { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.choice-preorder {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1.5px dashed var(--line-strong);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brass-ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.choice-preorder input { width: 16px; height: 16px; margin: 0; accent-color: var(--brass-ink); flex: 0 0 auto; }
.choice-preorder:hover { border-color: var(--brass); }
.choice-preorder:has(input:checked) { border-style: solid; border-color: var(--brass); background: #fdf6e8; }
.choice-preorder:has(input:focus-visible) { outline: 2px solid var(--brass); outline-offset: 2px; }
.choice-preorder small { display: block; font-size: 12px; font-weight: 500; color: var(--slate-soft); }
/* The plan ticked already includes it at launch, so there's nothing to preorder. */
.choice-preorder.is-included { border-style: solid; border-color: var(--line); color: var(--slate-soft); font-weight: 500; cursor: default; }
.choice-preorder.is-included:hover { border-color: var(--line); }

/* Monthly or yearly: picked the way a service card is, not with the dashed preorder look. */
.billing-choice { margin-top: 6px; }
.billing-choice label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.billing-choice input { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); flex: 0 0 auto; }
.billing-choice label:hover { border-color: var(--ink-2); }
.billing-choice label:has(input:checked) { border-color: var(--ink); background: #f7fafd; box-shadow: 0 0 0 1px var(--ink) inset; }
.billing-choice label:has(input:focus-visible) { outline: 2px solid var(--brass); outline-offset: 2px; }
.terms-note { margin: 14px 0 10px; }
.services-hint a { color: var(--brass-ink); font-weight: 600; }
.services-total { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--mist-soft); border: 1px solid var(--line); font-size: 14px; color: var(--slate); }
.services-total strong { color: var(--ink); }
/* A pick that can't work without another (catalog.needsMessage): said under the total. */
.services-total.is-warning { border-color: var(--danger); }
.su-needs { display: block; margin-top: 6px; color: var(--danger); font-weight: 600; }
.services-offer { margin: 12px 0 0; font-size: 13.5px; color: var(--slate); }
.services-offer strong { color: var(--brass-ink); }

.success-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--lift);
}
.company-id {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 14px 0 6px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--mist);
  font-size: 15px;
}
.company-id code { font: 600 18px/1.2 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink); }

.auth-art { position: relative; padding: 18px 18px 18px 0; }
.auth-art .arch { position: sticky; top: 18px; height: calc(100vh - 36px); border-radius: 260px 260px 26px 26px; }
.auth-art .sticky-note { left: 28px; bottom: 44px; }

/* ---------------------------------------------------------
   Narrow screens
--------------------------------------------------------- */

@media (max-width: 960px) {
  .site-nav { display: none; }
  .hero .wrap, .how .wrap, .closing-card { grid-template-columns: 1fr; }
  .hero-art { width: min(100%, 420px); }
  .menu-list { grid-template-columns: 1fr; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-art { display: none; }
}

@media (max-width: 640px) {
  body.site { font-size: 16px; }
  .site-header .wrap { min-height: 64px; }
  .logo-text { display: none; }
  .hero-badge { right: 8px; top: 16px; }
  .sticky-note { left: 8px; bottom: 26px; font-size: 22px; }
  .people-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .menu-name { white-space: normal; font-size: 20px; }
  .menu-desc { padding-left: 0; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   The rooms off the front door -- services, Survey Bot, how it
   works, about. Same morning light as the front page.
   ========================================================= */

/* Page to page: a soft cross-fade with the header held still. Browsers
   without cross-document view transitions just navigate as usual.

   Every page in public/, every page the server writes itself (the
   connect callbacks, unsubscribe) and a Website Machine site served at
   /site/<name> (websiteRender) asks for it at the top of its <head>, and a
   new page needs it too:
     <style>@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }</style>
   Not here. Chrome settles whether the page arriving takes part when its
   <body> starts, from the styles it has by then; a stylesheet still on its
   way counted as "no", and the fade died with an uncaught InvalidStateError
   ("ViewTransition opt-in disabled") -- on every navigation whose stylesheet
   was a little slow. A page without the line, arrived at from one with it,
   fails the same way every time. */
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: 0.24s ease both vt-out; }
::view-transition-new(root) { animation: 0.34s cubic-bezier(0.2, 0.7, 0.2, 1) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------------------------------------------------------
   Navigation: where you are, and a menu for small screens
--------------------------------------------------------- */

.site-nav a { position: relative; }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: var(--brass);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 600 15px/1 var(--font-body);
  cursor: pointer;
}
.menu-toggle:hover { background: var(--mist); }
.menu-toggle svg { flex: 0 0 auto; }
.menu-toggle[aria-expanded="true"] { background: var(--ink); color: var(--page); border-color: var(--ink); }

.mobile-nav { border-top: 1px solid var(--line); background: var(--page); }
/* The panel sits inside .site-header, so it also matches `.site-header .wrap`
   (a centred flex row, 72px tall). Undo each of those, or the grid track shrinks
   to its widest child and the dotted rules stop short of the edge. */
.site-header .mobile-nav .wrap {
  display: grid;
  justify-content: stretch;
  align-items: stretch;
  gap: 0;
  min-height: 0;
  padding: 6px 0 22px;
}
.mobile-nav a.mobile-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 2px;
  border-bottom: 2px dotted var(--line-strong);
  font-family: var(--font-display);
  font-size: 23px;
  text-decoration: none;
  color: var(--ink);
}
.mobile-nav a.mobile-link small { font: 500 14px/1 var(--font-body); color: var(--slate-soft); }
.mobile-nav a[aria-current="page"] { color: var(--brass-ink); }
.mobile-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; }

/* ---------------------------------------------------------
   Shared building blocks
--------------------------------------------------------- */

.band { padding: clamp(52px, 7vw, 96px) 0; }
.band.is-oat { background: var(--mist); }
.band.is-tight { padding-top: 0; }

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-weight: 600;
  color: var(--brass-ink);
  text-decoration: none;
}
.more-link::after { content: "\2192"; transition: transform 0.18s ease; }
.more-link:hover::after { transform: translateX(4px); }

/* Inner-page opening: a handwritten line, a serif headline, a lede. */
.page-head { padding: clamp(28px, 6vw, 72px) 0 clamp(36px, 5vw, 64px); }
.page-head .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
}
.page-head.is-plain .wrap { grid-template-columns: minmax(0, 780px); }
.page-head .hand { display: inline-block;
  margin: 0 0 12px; }
.page-head h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.page-head .lede { margin: 0; max-width: 42ch; font-size: clamp(18px, 1.7vw, 20px); color: var(--slate); }
.page-head .hero-ctas { margin-top: 26px; }

/* A screenshot in a plain window frame. */
.shot {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--lift);
}
.shot-bar { display: flex; gap: 6px; padding: 11px 13px; background: var(--mist); border-bottom: 1px solid var(--line); }
.shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.shot img { width: 100%; height: auto; }
.fine-print { margin: 18px 0 0; font-size: 14px; color: var(--slate-soft); }

.closing-card.is-solo { grid-template-columns: minmax(0, 1fr); }

/* ---------------------------------------------------------
   Front page: why we're here, and what's ready today
--------------------------------------------------------- */

.mission-strip { padding: clamp(8px, 2vw, 16px) 0 clamp(48px, 7vw, 88px); }
.mission-strip .wrap {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 12px clamp(24px, 4vw, 48px);
  align-items: start;
  padding: clamp(30px, 4vw, 46px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mission-strip .hand { margin: 6px 0 0; }
.mission-strip blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(27px, 3.3vw, 40px);
  line-height: 1.16;
  text-wrap: balance;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}
.feature-copy .hand { margin: 0 0 6px; }

.also-menu { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.also-menu h3 { margin: 0 0 12px; font: 600 13px/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-soft); }
.short-menu { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.short-menu li { display: flex; align-items: baseline; gap: 10px; }
.short-menu .name { font-family: var(--font-display); font-size: 18px; white-space: nowrap; }
.short-menu .leader { flex: 1 1 auto; min-width: 16px; border-bottom: 2px dotted var(--line-strong); transform: translateY(-4px); }
.short-menu .status { font-size: 13.5px; font-weight: 600; color: var(--slate-soft); white-space: nowrap; }
.short-menu .status.is-live { color: var(--signal); }
.short-menu .status.is-building { color: var(--brass-ink); }

/* ---------------------------------------------------------
   Services: the board, and what comes with every plan
--------------------------------------------------------- */

.menu-name a { color: inherit; text-decoration: none; }
.menu-name a:hover { text-decoration: underline; text-decoration-color: rgba(224, 173, 85, 0.6); text-underline-offset: 5px; }
.menu-item.is-linked .menu-desc a { color: var(--brass-light); font-weight: 600; text-decoration: none; }
.menu-item.is-linked .menu-desc a:hover { text-decoration: underline; }

.house { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 36px); margin: 30px 0 0; padding: 0; list-style: none; }
.house li { display: flex; gap: 14px; align-items: flex-start; }
.house .ico { display: grid; place-items: center; flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px; background: var(--surface); border: 1px solid var(--line-strong); color: var(--brass-ink); }
.house h3 { margin: 3px 0 3px; font-size: 18px; font-weight: 700; }
.house p { margin: 0; font-size: 15.5px; color: var(--slate); }

.note-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: var(--lift);
}
.note-card .section-title { font-size: clamp(28px, 3.2vw, 38px); }
.note-card p { margin: 0; color: var(--ink-2); font-size: 17px; }

/* ---------------------------------------------------------
   Preorders: a loyalty-card stamp on a tear-off ticket.
   The discount leads; the pricing page adds what the year costs.
--------------------------------------------------------- */

.preorder-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  margin-top: clamp(24px, 3vw, 36px);
  padding: clamp(26px, 4vw, 44px);
  /* Linked to as #preorder: keep the heading clear of the fixed header. */
  scroll-margin-top: 96px;
  border: 2px dashed var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
}
.preorder-card .hand { margin: 0 0 4px; }
.preorder-card .section-title { font-size: clamp(28px, 3.2vw, 38px); text-wrap: balance; }
.preorder-card p { margin: 10px 0 0; color: var(--ink-2); font-size: 17px; max-width: 58ch; }
.preorder-card p.hand { margin: 0 0 4px; }
.preorder-card .preorder-how { font-size: 15px; color: var(--slate); }
.preorder-card .btn { margin-top: 20px; }

.preorder-stamp {
  display: grid;
  place-items: center;
  align-content: center;
  width: clamp(108px, 12vw, 138px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  color: var(--page);
  text-align: center;
  box-shadow: 0 0 0 6px var(--surface), 0 0 0 8px var(--brass);
  transform: rotate(-10deg);
}
.preorder-stamp b { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4vw, 44px); line-height: 1; }
.preorder-stamp small { margin-top: 2px; font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-light); }

@media (prefers-reduced-motion: no-preference) {
  /* Pressed on like a rubber stamp once the card is in view. */
  .preorder-card:not(.is-waiting) .preorder-stamp { animation: stamp-in 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.25) 0.2s both; }
}
@keyframes stamp-in {
  from { opacity: 0; transform: rotate(-26deg) scale(1.4); }
  to { opacity: 1; transform: rotate(-10deg) scale(1); }
}

/* On the board: a dashed ticket under each service that isn't live yet. */
.menu-offer {
  align-self: flex-start;
  margin: 2px 0 0 32px;
  padding: 3px 11px;
  border: 1.5px dashed rgba(224, 173, 85, 0.6);
  border-radius: 999px;
  color: var(--brass-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.menu-offer:hover { border-style: solid; border-color: var(--brass-light); background: rgba(224, 173, 85, 0.12); }

/* Front page, under "Also on the menu". */
.short-offer { margin: 14px 0 0; font-size: 15px; color: var(--slate); }
.short-offer a { color: var(--brass-ink); font-weight: 700; text-decoration: none; border-bottom: 1.5px dashed currentColor; }
.short-offer a:hover { border-bottom-style: solid; }

/* ---------------------------------------------------------
   Survey Bot: the pour, the four stages, the promise
--------------------------------------------------------- */

.pour { justify-self: center; width: min(100%, 500px); }
.pour-card {
  padding: 22px 22px 18px;
  border-radius: 6px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(184, 134, 43, 0.18), transparent 60%),
    linear-gradient(160deg, #16304f, #0b1d33);
  color: var(--page);
  box-shadow: var(--lift);
}
.pour-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.pour-label { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--on-ink-soft); }
.pour-score {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 78px);
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  min-width: 3ch;
}
.pour-answers { margin: 4px 0 0; font-size: 14.5px; color: var(--on-ink-soft); font-variant-numeric: tabular-nums; text-align: right; }
.pour-answers b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 28px; color: var(--page); }
.pour canvas { display: block; width: 100%; height: 250px; margin-top: 8px; }
.pour-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--on-ink-soft); }
.pour-legend li { display: flex; align-items: center; gap: 8px; }
.pour-legend b { color: var(--page); font-variant-numeric: tabular-nums; }
.swatch { width: 11px; height: 11px; border-radius: 50%; flex: 0 0 auto; }
.swatch.is-det { background: #d0694f; }
.swatch.is-pas { background: var(--brass-light); }
.swatch.is-pro { background: #93c386; }
.pour-caption { margin: 12px 4px 0; font-family: var(--font-mono); font-size: 22px; font-weight: 600; line-height: 1.15; color: var(--brass-ink); transform: rotate(-1deg); }

.stages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: stage;
}
.stage { padding: 24px 22px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stage::before {
  counter-increment: stage;
  content: counter(stage);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mist);
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--brass-ink);
}
.stage h3 { margin: 16px 0 6px; font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.1; }
.stage p { margin: 0; font-size: 15.5px; color: var(--slate); }

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}
.showcase + .showcase { margin-top: clamp(48px, 7vw, 88px); }
.showcase.is-flipped { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.showcase.is-flipped .showcase-copy { order: 2; }
.showcase-copy .hand { margin: 0 0 6px; }

.promise {
  padding: clamp(28px, 5vw, 60px);
  border-radius: 6px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(184, 134, 43, 0.16), transparent 60%),
    linear-gradient(160deg, #16304f, #0b1d33);
  color: var(--page);
  box-shadow: var(--lift);
}
.promise .hand { margin: 0 0 6px; color: var(--brass-light); }
.promise h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.05; text-wrap: balance; }
.promise-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px clamp(24px, 4vw, 48px); margin: 30px 0 0; padding: 0; list-style: none; }
.promise-list li { padding-top: 16px; border-top: 1px solid rgba(224, 173, 85, 0.3); }
.promise-list h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 400; font-size: 23px; }
.promise-list p { margin: 0; font-size: 15.5px; color: var(--on-ink-dim); }

.soon-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; max-width: 820px; }
.soon-line .hand { margin: 0; }
.soon-line p { margin: 0; font-size: 18px; color: var(--slate); }

/* ---------------------------------------------------------
   How it works: bigger steps, life after sign-up, questions
--------------------------------------------------------- */

.steps.is-large { max-width: 820px; margin-top: 0; gap: 30px; }
.steps.is-large li { grid-template-columns: 60px minmax(0, 1fr); gap: 20px; }
.steps.is-large li::before { width: 60px; height: 60px; font-size: 26px; }
.steps.is-large h3 { font-family: var(--font-display); font-weight: 400; font-size: 27px; margin: 8px 0 4px; }
.steps.is-large p { font-size: 17px; }

.after-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 26px); margin-top: 30px; }
.after { padding: 24px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.after h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 400; font-size: 23px; line-height: 1.15; }
.after p { margin: 0; font-size: 15.5px; color: var(--slate); }

.faq { max-width: 780px; margin-top: 20px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 23px);
  line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; font: 400 28px/1 var(--font-body); color: var(--brass-ink); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -4px 0 22px; max-width: 64ch; color: var(--slate); }

/* ---------------------------------------------------------
   About: the mission, what we believe, who we are
--------------------------------------------------------- */

.mission-hero h1 { font-size: clamp(38px, 5vw, 62px); }
.mission-hero .hero-art { width: min(100%, 430px); }
.mission-hero .arch { aspect-ratio: 4 / 5; }

.mission-body { max-width: 62ch; }
.mission-body p { margin: 0 0 20px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.65; color: var(--ink-2); }
.mission-body p:first-child::first-letter {
  float: left;
  margin: 8px 12px 0 0;
  font-family: var(--font-display);
  font-size: 68px;
  line-height: 0.8;
  color: var(--brass-ink);
}
.signed { display: inline-block; margin: 6px 0 0; font-family: var(--font-mono); font-size: 30px; font-weight: 600; color: var(--brass-ink); transform: rotate(-2deg); transform-origin: left center; }

.beliefs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px clamp(24px, 4vw, 52px); margin: 34px 0 0; padding: 0; list-style: none; }
.beliefs li { padding-top: 18px; border-top: 2px solid var(--ink); }
.beliefs h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 400; font-size: 25px; line-height: 1.12; }
.beliefs p { margin: 0; font-size: 16px; color: var(--slate); }

.who { max-width: 760px; }

/* ---------------------------------------------------------
   Footer, with somewhere to go
--------------------------------------------------------- */

.site-footer { padding: 52px 0 40px; }
.site-footer .footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.55fr)); gap: 30px; align-items: start; }
.footer-brand .logo { font-size: 18px; }
.footer-brand p { margin: 14px 0 0; max-width: 38ch; color: var(--slate); }
.footer-brand .footer-contact { margin-top: 10px; }
.footer-contact a, .who-contact a { color: var(--brass-ink); font-weight: 600; }
.site-footer .footer-col { display: flex; flex-direction: column; gap: 2px; }
.footer-col h2 { margin: 4px 0 10px; font: 600 12.5px/1 var(--font-body); letter-spacing: 0.09em; text-transform: uppercase; color: var(--slate-soft); }
.footer-col a { padding: 5px 0; }
.site-footer .footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------------------------------------------------------
   Narrow screens, for the new rooms
--------------------------------------------------------- */

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .page-head .wrap, .feature, .showcase, .showcase.is-flipped, .note-card { grid-template-columns: 1fr; }
  .showcase.is-flipped .showcase-copy { order: 0; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise-list, .after-grid, .beliefs, .house { grid-template-columns: 1fr; }
  .site-footer .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .mission-strip .wrap { grid-template-columns: 1fr; }
  
  .preorder-card { grid-template-columns: 1fr; }
}
@media (min-width: 961px) {
  .mobile-nav { display: none !important; }
}
@media (max-width: 640px) {
  .site-actions .btn-ghost { display: none; }
  .stages { grid-template-columns: 1fr; }
  .pour canvas { height: 210px; }
  .page-head .hand { margin: 0; }
  .site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The "services live today" badge is a way in, not just a label. */
a.hero-badge { text-decoration: none; color: var(--ink); transition: transform 0.18s ease, box-shadow 0.18s ease; }
a.hero-badge:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(11, 29, 51, 0.08), 0 16px 34px rgba(11, 29, 51, 0.14); }

/* ---------------------------------------------------------
   In their words -- real customer quotes from js/testimonials.js.
   The section ships hidden and only appears once a quote exists.
--------------------------------------------------------- */

.testimonials-band .hand { margin: 0 0 6px; }
.testimonials { display: grid; gap: clamp(18px, 3vw, 30px); margin-top: 30px; }
/* Columns follow the count, so a single quote is a feature, not an orphan. */
.testimonials[data-cols="1"] { grid-template-columns: minmax(0, 780px); }
.testimonials[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.testimonials[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.quote-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 26px 26px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--lift);
}
.quote-card::before {
  content: "\201C";
  height: 26px;
  font-family: var(--font-display);
  font-size: 76px;
  line-height: 0.75;
  color: var(--brass);
}
.quote-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.38;
  color: var(--ink);
  text-wrap: pretty;
}
.testimonials[data-cols="1"] .quote-card blockquote { font-size: clamp(23px, 2.5vw, 31px); line-height: 1.3; }

.quote-card figcaption { display: flex; flex-direction: column; gap: 3px; margin-top: auto; padding-top: 16px; border-top: 2px dotted var(--line-strong); }
.quote-name { font-weight: 700; font-size: 16px; }
.quote-biz { font-size: 15px; color: var(--slate); }
.quote-biz a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.quote-about { margin-top: 4px; font-family: var(--font-mono); font-size: 21px; font-weight: 600; line-height: 1.1; color: var(--brass-ink); }
.quote-note { margin-top: 2px; font-size: 12.5px; color: var(--slate-soft); }

@media (max-width: 960px) {
  .testimonials[data-cols] { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Three businesses, three questions -- illustrated uses of
   Survey Bot. Not testimonials: the page says so beneath them.
--------------------------------------------------------- */

.uses-kicker { margin: 0 0 6px; font-size: 28px; }
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 36px); margin: 34px 0 0; padding: 0; list-style: none; }
.use { display: flex; flex-direction: column; gap: 12px; }
.use-photo { overflow: hidden; border-radius: var(--arch); aspect-ratio: 4 / 5; background: var(--mist); box-shadow: var(--lift); }
.use-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 0.6s ease; }
.use:hover .use-photo img { transform: scale(1.03); }
.use .hand { margin: 8px 0 0; }
.use h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2vw, 25px); line-height: 1.18; text-wrap: balance; }
.use p { margin: 0; font-size: 15.5px; color: var(--slate); }
.uses-note { margin: 26px 0 0; font-size: 14px; color: var(--slate-soft); }

@media (max-width: 960px) {
  .uses { grid-template-columns: 1fr; max-width: 460px; }
}

/* ---------------------------------------------------------
   Pricing: the Everything card, the price list with its
   running total, and the price figures on the front page.
   Every number is filled from js/catalog.js by js/pricing.js.
--------------------------------------------------------- */

.price-head .hero-fine { margin-top: 14px; }
.price-head h1 { font-size: clamp(38px, 4.8vw, 60px); }

.rate-card {
  justify-self: end;
  width: min(100%, 440px);
  padding: clamp(26px, 3.4vw, 38px);
  border-radius: 6px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(184, 134, 43, 0.22), transparent 60%),
    linear-gradient(160deg, #16304f, #0b1d33);
  color: var(--page);
  box-shadow: var(--lift), 0 0 0 1px rgba(224, 173, 85, 0.25) inset;
}
.rate-card .hand { margin: 0 0 14px; color: var(--brass-light); }
.rate-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.rate-list li { display: flex; align-items: baseline; gap: 10px; }
.rate-list .name { font-family: var(--font-display); font-size: 21px; line-height: 1.2; }
.rate-list .leader { flex: 1 1 auto; min-width: 16px; border-bottom: 2px dotted rgba(224, 173, 85, 0.45); transform: translateY(-5px); }
.rate-list .amount { flex: 0 0 auto; font-family: var(--font-display); font-size: 24px; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.rate-list .amount small { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--on-ink-dim); }
.rate-list li.is-top { margin-top: 6px; padding-top: 14px; border-top: 1px solid rgba(224, 173, 85, 0.3); }
.rate-list li.is-top .name, .rate-list li.is-top .amount { color: var(--brass-light); }
.rate-foot { margin: 18px 0 0; font-size: 15px; color: var(--on-ink-soft); }
.rate-foot b { color: var(--page); font-weight: 600; }

/* Packages: one card per kind of business, then Everything. */
.packages-band .hand { margin: 0 0 6px; }
.package-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 28px); margin-top: 30px; }
.package-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-margin-top: 96px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: var(--lift);
}
.package-who { margin: 0; font: 600 12px/1.4 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-ink); }
.package-card h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 34px); line-height: 1.08; }
.package-price { display: flex; align-items: baseline; gap: 8px; margin: 2px 0 0; }
.package-price b { font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 4.6vw, 54px); line-height: 1; font-variant-numeric: lining-nums; }
.package-price small { font-size: 15px; font-weight: 600; color: var(--slate); }
.package-value { margin: 0; font-size: 14px; color: var(--slate-soft); }
.package-pitch { margin: 4px 0 0; color: var(--ink-2); font-size: 16px; }
.package-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 8px 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 15px; }
.package-services li { display: flex; align-items: flex-start; gap: 8px; line-height: 1.3; }
.package-services svg { flex: 0 0 auto; margin-top: 1px; color: var(--brass-ink); }
.package-services small { display: block; font-size: 12.5px; color: var(--slate-soft); }
.package-services li.is-soon { color: var(--slate); }
.package-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: auto; padding-top: 16px; }
.package-add { padding: 0; border: 0; background: none; font: 600 15px/1.2 var(--font-body); color: var(--brass-ink); cursor: pointer; border-bottom: 1.5px dashed currentColor; }
.package-add:hover { border-bottom-style: solid; }

.package-card.is-everything {
  grid-column: 1 / -1;
  border-color: transparent;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(184, 134, 43, 0.2), transparent 60%),
    linear-gradient(160deg, #16304f, #0b1d33);
  color: var(--page);
}
.package-card.is-everything .package-who { color: var(--brass-light); }
.package-card.is-everything .package-price small, .package-card.is-everything .package-value { color: var(--on-ink-soft); }
.package-card.is-everything .package-pitch { color: var(--on-ink); max-width: 62ch; }
.package-card.is-everything .package-services { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top-color: rgba(224, 173, 85, 0.25); }
.package-card.is-everything .package-services svg { color: var(--brass-light); }
.package-card.is-everything .package-services li.is-soon, .package-card.is-everything .package-services small { color: var(--on-ink-soft); }

/* Monthly or yearly: a two-way switch on the ink board. */
.billing-toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid rgba(224, 173, 85, 0.4);
  border-radius: 999px;
  background: rgba(11, 29, 51, 0.5);
}
.billing-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--on-ink-soft);
  font: 600 15px/1 var(--font-body);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.billing-toggle button small { font-size: 12px; font-weight: 700; color: var(--brass-light); }
.billing-toggle button[aria-checked="true"] { background: var(--page); color: var(--ink); }
.billing-toggle button[aria-checked="true"] small { color: var(--brass-ink); }

.price-groups { display: grid; gap: clamp(28px, 4vw, 40px); }
.price-group h3 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(224, 173, 85, 0.22);
  font: 600 12.5px/1.2 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-light);
}
.price-group ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px clamp(24px, 4vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-row { position: relative; padding: 10px 12px; margin: 0 -12px; border-radius: 8px; transition: background 0.15s ease; }
.price-row:hover { background: rgba(224, 173, 85, 0.06); }
.price-row.is-picked { background: rgba(224, 173, 85, 0.12); }
.price-pick { display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
/* The real checkbox stays in the page for keyboards and screen readers; the ring below is what shows. */
.price-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.price-line { display: flex; align-items: baseline; gap: 10px; }
.price-check {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(224, 173, 85, 0.6);
  border-radius: 6px;
  transform: translateY(3px);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.price-pick input:checked + .price-line .price-check { background: var(--brass-light); border-color: var(--brass-light); }
.price-pick input:checked + .price-line .price-check::after { content: "\2713"; }
.price-pick input:focus-visible + .price-line .price-check { outline: 2px solid var(--brass-light); outline-offset: 3px; }
.price-name {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.2;
}
.price-name svg { flex: 0 0 auto; color: var(--brass-light); }
.price-amount { flex: 0 0 auto; font-family: var(--font-display); font-size: 22px; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.price-amount small { margin-left: 1px; font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--on-ink-dim); }
.price-desc { padding-left: 30px; font-size: 15px; color: var(--on-ink-dim); }
.price-note { margin: 6px 0 0 30px; font-size: 13.5px; color: var(--on-ink-soft); }
.price-status {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--on-ink-dim);
}
.price-status.is-building { color: var(--brass-light); }

/* Once something is ticked, the running total rides along the bottom of the screen while the list is in view. */
.price-total {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: clamp(24px, 3vw, 32px);
  padding: 16px 20px;
  border: 1px solid rgba(224, 173, 85, 0.45);
  border-radius: 12px;
  background: var(--ink-2);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}
.price-total.is-active { position: sticky; bottom: 14px; }
.price-total-copy { flex: 1 1 320px; margin: 0; font-size: 16px; color: var(--on-ink-soft); }
.price-total-copy strong { color: var(--page); font-weight: 700; }
/* On the ink board: a pick that can't work without another (catalog.needsMessage). */
.price-needs { display: block; margin-top: 4px; color: var(--brass-light); font-weight: 600; }

/* Preorder prices, under the preorder offer. */
.preorder-prices { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; max-width: 620px; }
.preorder-prices li { display: flex; align-items: baseline; gap: 10px; }
.preorder-prices .name { font-family: var(--font-display); font-size: 19px; white-space: nowrap; }
.preorder-prices .leader { flex: 1 1 auto; min-width: 16px; border-bottom: 2px dotted var(--line-strong); transform: translateY(-4px); }
.preorder-prices .amount { font-weight: 700; text-align: right; }
.preorder-prices .was { display: block; font-size: 13.5px; font-weight: 500; color: var(--slate-soft); }

/* Front page: three figures and the way to the full list. */
.price-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.price-strip .hand { margin: 0 0 6px; }
.price-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 3px solid var(--brass); background: var(--surface); box-shadow: var(--lift); border-radius: 4px; }
.price-figures > div { padding: clamp(18px, 2.6vw, 28px); }
.price-figures > div + div { border-left: 1px solid var(--line); }
.price-figures dt { font: 600 12px/1.3 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-soft); }
.price-figures dd { margin: 10px 0 0; font-family: var(--font-display); font-size: clamp(38px, 4.4vw, 52px); line-height: 1; font-variant-numeric: lining-nums; }
.price-figures dd small { display: block; margin-top: 8px; font-family: var(--font-body); font-size: 14.5px; color: var(--slate); }

@media (max-width: 960px) {
  .rate-card { justify-self: start; }
  .package-grid { grid-template-columns: 1fr; }
  .package-card.is-everything .package-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* minmax(0, ...) rather than 1fr: a long name wraps instead of widening the track past the board. */
  .price-groups, .price-group ul { grid-template-columns: minmax(0, 1fr); }
  .price-strip { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .price-name { font-size: 19px; }
  .price-amount { font-size: 20px; }
  .price-desc { padding-left: 30px; font-size: 14.5px; }
  .price-figures { grid-template-columns: 1fr; }
  .price-figures > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .price-figures dd { display: flex; align-items: baseline; gap: 10px; }
  .price-figures dd small { display: inline; margin: 0; }
  /* A status and a price side by side don't fit beside a long name on a phone: stack them. */
  .menu-meta { flex-direction: column; align-items: flex-end; gap: 0; }
  .price-total { padding: 12px 14px; gap: 10px; }
  .price-total-copy { font-size: 14.5px; }
  .preorder-prices li { flex-wrap: wrap; }
  .preorder-prices .leader { display: none; }
  .preorder-prices .amount { flex: 1 1 100%; text-align: left; }
}

/* Prices on the services board, and links to the price list. */
.menu-meta { flex: 0 0 auto; display: inline-flex; align-items: baseline; gap: 12px; }
.menu-price { flex: 0 0 auto; min-width: 64px; text-align: right; font-family: var(--font-display); font-size: 20px; color: var(--page); text-decoration: none; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.menu-price small { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; color: var(--on-ink-dim); }
.menu-price:hover { color: var(--brass-light); }
.menu-foot a { color: var(--brass-light); font-weight: 600; text-decoration: none; }
.menu-foot a::after { content: " \2192"; }
.menu-foot a:hover { text-decoration: underline; }
.faq details p a { color: var(--brass-ink); font-weight: 600; }

/* ---------------------------------------------------------
   Front page: Video Calls, drawn rather than photographed
--------------------------------------------------------- */

.feature.is-flipped { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.call-points { margin: 18px 0 22px; padding: 0; list-style: none; display: grid; gap: 8px; }
.call-points li { position: relative; padding-left: 26px; color: var(--slate); }
.call-points li::before {
  content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px;
  border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg);
}
.call-art .compare-note { margin: 0; padding: 8px 14px 12px; background: var(--surface); }
.ca-stage { background: #0b1220; color: #e9eef7; padding: 14px; display: grid; gap: 10px; font-family: var(--font-body); }
.ca-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; }
.ca-pill { font-size: 11px; font-weight: 600; color: #9aa7bd; border: 1px solid #26324a; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.ca-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 8px; }
.ca-side { display: grid; gap: 8px; grid-template-rows: auto 1fr; }
.ca-tile {
  position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 30% 20%, #2b4466 0%, #16243a 60%, #111a2c 100%);
}
.ca-main { aspect-ratio: auto; min-height: 210px; background: radial-gradient(110% 90% at 60% 30%, #35506f 0%, #1c2c45 55%, #111a2c 100%); box-shadow: inset 0 0 0 3px #d3a24a; }
.ca-face { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #1a2539; font-weight: 700; font-size: 20px; }
.ca-tile:not(.ca-main) .ca-face { width: 40px; height: 40px; font-size: 13px; }
.ca-face.is-brass { background: #d3a24a; color: #1b1406; }
.ca-name { position: absolute; left: 8px; bottom: 8px; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: rgba(0, 0, 0, .55); }
.ca-chat { border-radius: 10px; background: #111a2c; border: 1px solid #26324a; padding: 9px 10px; font-size: 11.5px; display: grid; gap: 6px; align-content: start; }
.ca-chat p { margin: 0; color: #cfd6e3; }
.ca-chat b { color: #d3a24a; margin-right: 4px; }
.ca-caption { margin: 0 auto; padding: 5px 12px; border-radius: 8px; background: rgba(0, 0, 0, .6); font-size: 13px; }
.ca-caption b { color: #d3a24a; margin-right: 6px; }
.ca-controls { display: flex; justify-content: center; gap: 8px; }
.ca-controls i { width: 34px; height: 26px; border-radius: 8px; background: #1a2539; }
.ca-controls i.is-red { width: 44px; background: #e5484d; }

@media (max-width: 960px) {
  .feature.is-flipped { grid-template-columns: minmax(0, 1fr); }
  .feature.is-flipped .call-art { order: -1; }
}
@media (max-width: 520px) {
  .ca-grid { grid-template-columns: minmax(0, 1fr); }
  .ca-main { min-height: 170px; }
  .ca-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; }
  .ca-top b { font-size: 12px; }
}

/* ---------------------------------------------------------
   Privacy policy and terms: long-form reading, a contents
   list, and every blank still to fill marked in brass.
--------------------------------------------------------- */

.legal-band { padding-top: 0; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 72ch); gap: clamp(28px, 5vw, 72px); align-items: start; }
.legal-toc { position: sticky; top: 96px; }
.legal-toc h2 { margin: 0 0 10px; font: 600 12.5px/1 var(--font-body); letter-spacing: 0.09em; text-transform: uppercase; color: var(--slate-soft); }
.legal-toc ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.legal-toc a { display: block; padding: 5px 0; font-size: 15px; color: var(--slate); text-decoration: none; }
.legal-toc a:hover { color: var(--ink); }

.legal { min-width: 0; }
.legal h2 { margin: 44px 0 10px; font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3vw, 32px); line-height: 1.15; scroll-margin-top: 96px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 26px 0 6px; font-size: 18px; font-weight: 700; }
.legal p, .legal li { color: var(--ink-2); font-size: 17px; overflow-wrap: anywhere; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal li strong { color: var(--ink); }
.legal a { color: var(--brass-ink); font-weight: 600; }
.legal-note { padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid var(--brass); border-radius: 4px; background: var(--surface); }
.legal-note p:last-child { margin-bottom: 0; }

/* A blank the owner still has to fill in before the page goes live. */
mark.todo { padding: 1px 5px; border: 1px dashed var(--brass); border-radius: 4px; background: #fbf0d9; color: var(--ink); font-weight: 600; }

/* The page for an address that doesn't exist. */
.lost-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; }
.lost-links a { color: var(--brass-ink); font-weight: 600; text-decoration: none; }
.lost-links a:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  /* Above the text, the contents list wraps into a few lines instead of filling the first screen. */
  .legal-toc { position: static; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .legal-toc ol { display: flex; flex-wrap: wrap; gap: 0 18px; }
  .legal-toc a { padding: 3px 0; font-size: 14.5px; }
}
@media (max-width: 640px) {
  .legal p, .legal li { font-size: 16px; }
}
