/* ==========================================================================
   Tendline marketing site
   Tokens, base, layout, the day-line, product mock-ups, forms.
   Documented in design/DESIGN.md: keep the two in step.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */

:root {
  /* Paper and ink */
  --paper: #F5F2EA;
  --paper-2: #ECE7DB;
  --paper-3: #E2DBCB;
  --ink: #16191D;
  --ink-2: #454A51;
  --ink-3: #5C6168;
  --rule: #D3CCBC;
  --rule-2: #B4AB98;

  /* The three states of the line */
  --signal: #C2361B;        /* didn't happen / needs a look (marks, bars) */
  --signal-text: #A52D14;   /* the same colour, darkened for small text on paper */
  --signal-tint: #F6E1D8;
  --did: #2D6A55;           /* happened as expected */
  --did-text: #275D4A;
  --did-tint: #DDE8E0;
  --unknown: #77736A;       /* couldn't see / couldn't confirm */

  /* The board: a dark band, used sparingly */
  --board: #15191E;
  --board-2: #1F252B;
  --board-rule: #363D45;
  --on-board: #EEEAE0;
  --on-board-2: #B0ACA2;
  --on-board-3: #959188;
  --signal-on-board: #F2775B;
  --did-on-board: #82C6AC;
  --unknown-on-board: #9C988E;

  /* Type */
  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-ui: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Shape and space */
  --r: 3px;
  --r-sm: 2px;
  --max: 1200px;
  --gutter: 16px;
  --section: 64px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section: 88px; }
}
@media (min-width: 1200px) {
  :root { --gutter: 48px; --section: 112px; }
}

/* Semantic roles. Components only read these, so a tone class can flip a whole band. */
:root,
.surface {
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-3: var(--ink-3);
  --line: var(--rule);
  --line-2: var(--rule-2);
  --mk-did: var(--did);
  --mk-signal: var(--signal);
  --mk-unknown: var(--unknown);
  --t-signal: var(--signal-text);
  --t-did: var(--did-text);
  --win: rgba(22, 25, 29, 0.075);
  --win-edge: rgba(22, 25, 29, 0.42);
  --focus: var(--ink);
}

.tone-paper2 { --bg: var(--paper-2); --win: rgba(22, 25, 29, 0.085); }

.tone-board {
  --bg: var(--board);
  --fg: var(--on-board);
  --fg-2: var(--on-board-2);
  --fg-3: var(--on-board-3);
  --line: var(--board-rule);
  --line-2: #4B535C;
  --mk-did: var(--did-on-board);
  --mk-signal: var(--signal-on-board);
  --mk-unknown: var(--unknown-on-board);
  --t-signal: var(--signal-on-board);
  --t-did: var(--did-on-board);
  --win: rgba(238, 234, 224, 0.09);
  --win-edge: rgba(238, 234, 224, 0.45);
  --focus: var(--on-board);
}

/* ---------- 2. Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
time, .num { font-variant-numeric: tabular-nums; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2.5px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

::selection { background: var(--ink); color: var(--paper); }

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

.skip-link {
  position: absolute;
  left: 8px; top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 8px; }

/* ---------- 3. Type ---------- */

.display,
h1, .h1,
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.5rem, 1.35rem + 4.9vw, 5.25rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
}
h1, .h1 {
  font-size: clamp(2.25rem, 1.55rem + 3vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.017em;
}
h2, .h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.875rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
}
h3, .h3 {
  font-family: var(--font-ui);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
}
.h3-serif {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.008em;
}

.lead {
  font-size: clamp(1.125rem, 1.04rem + 0.38vw, 1.3125rem);
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 36em;
  text-wrap: pretty;
}
.small { font-size: 0.875rem; line-height: 1.5; color: var(--fg-3); }
.muted { color: var(--fg-2); }
.said { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.t-signal { color: var(--t-signal); }
.t-did { color: var(--t-did); }

.prose { max-width: 36em; }
.prose > * + * { margin-top: 1em; }
.prose p, .prose li { text-wrap: pretty; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li + li { margin-top: 0.5em; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.8em;
  width: 12px; height: 2px;
  background: var(--fg);
}

/* ---------- 4. Layout ---------- */

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

.band {
  background: var(--bg);
  color: var(--fg);
  padding-block: var(--section);
}
.band--tight { padding-block: calc(var(--section) * 0.7); }
.band + .band:not([class*="tone-"]) { border-top: 1px solid var(--line); }
.band.no-rule { border-top: 0; }

.sec-head { display: grid; gap: 16px; margin-bottom: 36px; }
.sec-head .lead { margin-top: 0; }
@media (min-width: 960px) {
  .sec-head { margin-bottom: 52px; }
  .sec-head--split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: 64px;
    align-items: end;
  }
}

.split { display: grid; gap: 36px; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
  .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--top { align-items: start; }
  .split--rev > :first-child { order: 2; }
}

.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 28px; }

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

/* ---------- 5. Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1.5px solid var(--fg);
  border-radius: var(--r);
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: transparent; color: var(--fg); }
.btn--line { background: transparent; color: var(--fg); }
.btn--line:hover { background: var(--fg); color: var(--bg); }
.btn--small { min-height: 40px; padding: 0 14px; font-size: 0.9375rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.go {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
}
.go::after { content: " \2192"; }

/* ---------- 6. Header and footer ---------- */

.site-header {
  position: relative;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 8px;
  font-family: var(--font-display);
  font-size: 1.4375rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1;
  text-decoration: none;
}
.brand svg { width: 34px; height: 20px; flex: none; }

.nav-toggle { display: none; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-nav a:not(.btn) {
  display: inline-block;
  padding-block: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; }
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

@media (max-width: 959.98px) {
  .site-nav { width: 100%; padding-bottom: 10px; }
  .site-nav .btn { margin-top: 8px; }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px;
    border: 1.5px solid var(--fg);
    border-radius: var(--r);
    background: transparent;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
  }
  .nav-toggle-bars { display: inline-grid; gap: 4px; width: 16px; }
  .nav-toggle-bars i { display: block; height: 2px; background: currentColor; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars i:last-child { opacity: 0; }

  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    padding: 4px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav li a:not(.btn) {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.0625rem;
  }
  .js .site-nav .btn { width: 100%; margin-top: 20px; }
}
@media (min-width: 960px) {
  .site-nav { display: flex; align-items: center; gap: 28px; }
}

.site-footer {
  padding-block: 56px 36px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}
.footer-grid { display: grid; gap: 36px 24px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; max-width: 22em; }
.footer-brand p { margin-top: 12px; color: var(--fg-2); }
.footer-col h2 {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 10px;
}
.footer-col ul { list-style: none; }
.footer-col li + li { margin-top: 6px; }
.footer-col a { text-decoration: none; color: var(--fg-2); }
.footer-col a:hover { color: var(--fg); text-decoration: underline; }
.footer-legal {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--fg-2);
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); }
  .footer-brand { grid-column: auto; }
}

/* ---------- 7. Heroes ---------- */

.hero { padding-block: 44px 64px; }
.hero-grid { display: grid; gap: 24px; }
.hero h1 .then { display: block; color: var(--t-signal); font-style: italic; }
.hero-side { display: grid; gap: 20px; align-content: end; }
.hero-note { max-width: 34em; }
.hero .board { margin-top: 44px; }
@media (min-width: 960px) {
  .hero { padding-block: 80px 96px; }
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 64px; align-items: end; }
  .hero .board { margin-top: 72px; }
}

.page-hero { padding-block: 48px 52px; border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-top: 20px; }
.page-hero .actions { margin-top: 28px; }
.page-hero h1 { max-width: 15em; }
.crumb { font-size: 0.9375rem; color: var(--fg-2); margin-bottom: 18px; }
.crumb a { color: inherit; }
@media (min-width: 960px) {
  .page-hero { padding-block: 88px 76px; }
  .page-hero--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: end; }
  .page-hero--split .lead { margin-top: 0; }
}

/* ---------- 8. The day-line ---------- */
/* Positions come from custom properties in decimal hours:
   --s / --e for spans, --t for moments. The day runs --d0 for --dl hours (6 AM, 18 h). */

.board, .dl, .dlw { --d0: 6; --dl: 18; }

.board { border-top: 2px solid var(--fg); }
.board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
  padding: 12px 0 14px;
  font-size: 0.875rem;
  color: var(--fg-2);
}
.board-head strong { color: var(--fg); font-size: 1rem; font-weight: 600; }

.brow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  padding-block: 12px 4px;
  border-top: 1px solid var(--line);
}
.brow-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 0.9375rem; }
.brow-label b { font-weight: 600; }
.brow-label span { font-size: 0.8125rem; color: var(--fg-3); }
.brow--axis { border-top: 0; padding-block: 0 2px; }
@media (min-width: 900px) {
  .brow { grid-template-columns: 176px minmax(0, 1fr); column-gap: 24px; align-items: center; padding-block: 0; }
  .brow-label { flex-direction: column; gap: 2px; }
}

.axis { position: relative; height: 22px; font-size: 0.75rem; color: var(--fg-3); }
.axis > span {
  position: absolute;
  bottom: 2px;
  left: calc((var(--t) - var(--d0)) / var(--dl) * 100%);
  transform: translateX(-50%);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.axis > span:first-child { transform: none; }
.axis > span:last-child { transform: translateX(-100%); }
.axis .s { display: none; }
@media (max-width: 599.98px) {
  .axis .l { display: none; }
  .axis .s { display: inline; }
}
.axis .now-label { color: var(--fg); font-weight: 600; bottom: auto; top: 0; }

.track {
  position: relative;
  height: 46px;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  box-shadow: inset -1px 0 0 var(--line);
}
@media (min-width: 900px) { .track { height: 108px; } }
@media (max-width: 899.98px) { .track .mk { --mk: 12px; } }

.track::before,
.dl::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  margin-top: -1px;
  background: var(--fg);
  transform-origin: left center;
}
.track::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 8px;
  margin-top: -4px;
  background-image: linear-gradient(to right, var(--fg) 1px, transparent 1px);
  background-size: calc(100% / 18) 100%;
  opacity: 0.55;
}

.track > *,
.dl > * { position: absolute; top: 50%; }

.win,
.blind,
.bar,
.future {
  left: calc((var(--s) - var(--d0)) / var(--dl) * 100%);
  width: calc((var(--e) - var(--s)) / var(--dl) * 100%);
}
.win {
  height: 30px;
  margin-top: -15px;
  background: var(--win);
  border-inline: 1px solid var(--win-edge);
}
.blind {
  z-index: 1;
  height: 20px;
  margin-top: -10px;
  background:
    repeating-linear-gradient(135deg, var(--mk-unknown) 0 1.25px, transparent 1.25px 5px),
    var(--bg);
}
.bar {
  z-index: 2;
  height: 6px;
  margin-top: -3px;
  background: var(--mk-did);
  border-radius: 1px;
}
.bar--signal { background: var(--mk-signal); }
.bar--quiet { background: var(--fg-3); }
.future {
  z-index: 1;
  height: 2px;
  margin-top: -1px;
  background: repeating-linear-gradient(to right, var(--fg-3) 0 3px, var(--bg) 3px 7px);
}

.mk {
  --mk: 14px;
  z-index: 3;
  left: calc((var(--t) - var(--d0)) / var(--dl) * 100%);
  width: var(--mk);
  height: var(--mk);
  margin: calc(var(--mk) / -2) 0 0 calc(var(--mk) / -2);
  border-radius: 50%;
  background: var(--mk-did);
  box-shadow: 0 0 0 2.5px var(--bg);
}
.mk--missed { background: var(--bg); border: 2.5px solid var(--mk-signal); }
.mk--attn { background: var(--mk-signal); }
.mk--unsure { background: var(--bg); border: 2px dashed var(--mk-unknown); }

.look {
  z-index: 2;
  left: calc((var(--t) - var(--d0)) / var(--dl) * 100%);
  width: 2px;
  height: 26px;
  margin: -13px 0 0 -1px;
  background: var(--fg);
}

.now {
  z-index: 4;
  top: 0 !important;
  bottom: 0;
  left: calc((var(--t) - var(--d0)) / var(--dl) * 100%);
  width: 0;
  border-left: 1.5px solid var(--fg);
}

.note {
  z-index: 5;
  top: auto !important;
  bottom: calc(50% + 17px);
  left: calc((var(--t) - var(--d0)) / var(--dl) * 100%);
  transform: translateX(-50%);
  font-size: 0.8125rem;
  line-height: 1.25;
  white-space: nowrap;
  color: var(--fg-2);
}
.note b { color: var(--fg); font-weight: 600; }
.note--below { bottom: auto; top: calc(50% + 17px) !important; }
.note--start { transform: translateX(-7px); }
.note--end { transform: translateX(calc(-100% + 7px)); }
.note--signal b { color: var(--t-signal); }
.track .note { display: none; }
@media (min-width: 900px) { .track .note { display: block; } }

/* Mini day-lines: same vocabulary, smaller. */
.dl { position: relative; height: 26px; }
.dl::before { height: 1.5px; margin-top: -0.75px; }
.dl .mk { --mk: 11px; box-shadow: 0 0 0 2px var(--bg); }
.dl .mk--missed { border-width: 2px; }
.dl .mk--unsure { border-width: 1.5px; }
.dl .win { height: 20px; margin-top: -10px; }
.dl .blind { height: 14px; margin-top: -7px; }
.dl .bar { height: 5px; margin-top: -2.5px; }
.dl .look { height: 16px; margin-top: -8px; width: 1.5px; }
.dl--tall { height: 34px; }

.dl-axis {
  position: relative;
  height: 16px;
  font-size: 0.6875rem;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}
.dl-axis > span {
  position: absolute;
  top: 0;
  left: calc((var(--t) - var(--d0)) / var(--dl) * 100%);
  transform: translateX(-50%);
  white-space: nowrap;
}
.dl-axis > span:first-child { transform: none; }
.dl-axis > span:last-child { transform: translateX(-100%); }

/* Legend and readout */
.legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--fg-2);
}
.legend li { display: inline-flex; align-items: center; gap: 8px; }

.glyph {
  display: inline-block;
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mk-did);
  vertical-align: -1px;
}
.glyph--missed { background: transparent; border: 2px solid var(--mk-signal); }
.glyph--attn { background: var(--mk-signal); }
.glyph--unsure { background: transparent; border: 2px dashed var(--mk-unknown); }
.glyph--blind {
  width: 18px; height: 12px;
  border-radius: 1px;
  background: repeating-linear-gradient(135deg, var(--mk-unknown) 0 1.25px, transparent 1.25px 4.5px);
}
.glyph--win {
  width: 18px; height: 12px;
  border-radius: 0;
  background: var(--win);
  border-inline: 1px solid var(--win-edge);
}
.glyph--look { width: 2px; height: 14px; border-radius: 0; background: var(--fg); }
.glyph--bar { width: 18px; height: 5px; border-radius: 1px; }

.readout { display: grid; gap: 28px; margin-top: 28px; }
@media (min-width: 900px) { .readout { grid-template-columns: 1fr 1fr; gap: 56px; } }
.readout-title {
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--fg);
  font-size: 0.9375rem;
  font-weight: 600;
}
.readout-title span { font-weight: 400; color: var(--fg-3); }
.readout ol { list-style: none; }
.readout li {
  display: grid;
  grid-template-columns: 5.4rem 18px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding-block: 9px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.readout li .glyph { align-self: start; justify-self: center; margin-top: 5px; }
.readout li .glyph--blind { margin-top: 5px; }
.readout time { color: var(--fg-2); font-size: 0.875rem; }

@media (prefers-reduced-motion: no-preference) {
  .animate .track::before { animation: tl-draw 1.5s cubic-bezier(0.3, 0.6, 0.2, 1) both; }
  .animate .mk {
    animation: tl-mark 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    animation-delay: calc(0.35s + (var(--t) - var(--d0)) * 0.07s);
  }
  .animate .bar,
  .animate .win,
  .animate .blind,
  .animate .look {
    animation: tl-fade 0.5s ease-out both;
    animation-delay: calc(0.3s + (var(--s, var(--t)) - var(--d0)) * 0.07s);
  }
  .animate .note {
    animation: tl-fade 0.5s ease-out both;
    animation-delay: calc(0.5s + (var(--t) - var(--d0)) * 0.07s);
  }
}
@keyframes tl-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes tl-mark { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: scale(1); } }
@keyframes tl-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 9. Routine rows (said / understood / line) ---------- */

.rlist { list-style: none; border-top: 2px solid var(--fg); }
.rrow {
  display: grid;
  gap: 12px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.rrow .said {
  font-size: clamp(1.3125rem, 1.15rem + 0.65vw, 1.625rem);
  line-height: 1.25;
  text-wrap: balance;
}
.rkind { font-size: 0.9375rem; color: var(--fg-2); line-height: 1.45; }
.rkind b { display: block; color: var(--fg); font-weight: 600; }
.rhear { font-size: 0.9375rem; line-height: 1.45; }
.rhear-label { display: block; font-size: 0.8125rem; color: var(--fg-3); }
@media (min-width: 960px) {
  .rrow { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 36px; align-items: center; padding-block: 26px; }
  .rrow--4 { grid-template-columns: minmax(0, 2fr) minmax(0, 4fr) minmax(0, 3fr) minmax(0, 4fr); }
}
.kind-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; line-height: 1.1; }

/* ---------- 10. Product mock-ups ---------- */

.caption { margin-top: 14px; font-size: 0.875rem; color: var(--fg-2); max-width: 34em; }

.ui-btn {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
}
.ui-btn--primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.app-icon {
  display: inline-grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 4px;
  background: var(--ink);
  flex: none;
}
.app-icon svg { width: 14px; height: 8px; }

/* Phone lock screen with notifications */
.phone {
  width: 100%;
  max-width: 392px;
  margin-inline: auto;
  padding: 26px 12px 14px;
  border-radius: 4px;
  background: var(--board);
  color: var(--on-board);
}
.phone-clock {
  text-align: center;
  font-size: 4rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.phone-date { margin: 8px 0 26px; text-align: center; font-size: 0.9375rem; color: var(--on-board-2); }
.notif {
  --bg: #F2EFE7;
  padding: 12px 14px 14px;
  border-radius: 4px;
  background: var(--bg);
  color: var(--ink);
}
.notif + .notif { margin-top: 8px; }
.notif-top { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--ink-3); }
.notif-top b { color: var(--ink-2); font-weight: 600; }
.notif-top time { margin-left: auto; }
.notif-title { margin-top: 8px; font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.notif-body { margin-top: 3px; font-size: 0.9375rem; line-height: 1.45; }
.notif-cov { display: flex; gap: 8px; align-items: baseline; margin-top: 8px; font-size: 0.8125rem; line-height: 1.4; color: var(--ink-2); }
.notif-cov .glyph { width: 10px; height: 10px; flex: none; }
.notif-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.notif--quiet { opacity: 0.9; }

/* Morning brief */
.brief {
  width: 100%;
  max-width: 640px;
  padding: 22px 18px 18px;
  border-radius: 4px;
  background: var(--bg);
  color: var(--fg);
}
@media (min-width: 768px) { .brief { padding: 32px 32px 24px; } }
.brief-top { padding-bottom: 14px; border-bottom: 2px solid var(--fg); }
.brief-kicker { font-size: 0.875rem; font-weight: 600; color: var(--fg-2); }
.brief-title { margin-top: 2px; font-family: var(--font-display); font-size: 1.875rem; font-weight: 500; line-height: 1.1; }
.brief-meta { margin-top: 6px; font-size: 0.875rem; color: var(--fg-3); }
.brief-lines { display: grid; gap: 4px; padding-block: 12px 10px; border-bottom: 1px solid var(--line); }
.brief-line { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 0.8125rem; color: var(--fg-2); }
.brief-sec { padding-top: 16px; }
.brief-sec-h { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; font-weight: 600; }
.brief-sec-h .count { margin-left: auto; font-weight: 500; color: var(--fg-3); }
.brief-sec ul { list-style: none; margin-top: 8px; }
.brief-sec li {
  display: grid;
  grid-template-columns: 4.9rem minmax(0, 1fr);
  gap: 10px;
  padding-block: 8px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.brief-sec li time { padding-top: 1px; font-size: 0.8125rem; color: var(--fg-3); }
.brief-sec .place { color: var(--fg-3); }
.brief-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* Practice-week routine card */
.practice {
  width: 100%;
  padding: 20px 16px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--bg);
}
@media (min-width: 768px) { .practice { padding: 32px; } }
.practice-state { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 0.875rem; font-weight: 600; }
.pweek { display: inline-grid; grid-template-columns: repeat(7, 16px); gap: 3px; }
.pweek i { height: 6px; background: var(--fg); }
.pweek i.off { background: var(--line-2); opacity: 0.6; }
.practice-quote {
  margin-top: 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4375rem, 1.2rem + 1vw, 2rem);
  line-height: 1.2;
  text-wrap: balance;
}
.practice-spec { margin-top: 8px; font-size: 0.9375rem; color: var(--fg-2); }
.practice-sum {
  margin-top: 22px;
  padding: 14px 16px;
  border-left: 3px solid var(--mk-signal);
  background: var(--signal-tint);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
}
.week { list-style: none; margin-top: 18px; }
.week li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  padding-block: 8px;
  border-top: 1px solid var(--line);
}
.week .wd { font-size: 0.875rem; font-weight: 600; }
.week .wn { grid-column: 2; font-size: 0.8125rem; line-height: 1.35; color: var(--fg-2); }
.week .wn b { color: var(--t-signal); font-weight: 600; }
.week li.is-future .wd,
.week li.is-future .wn { color: var(--fg-3); font-weight: 400; }
.week li.is-future .dl::before { background: repeating-linear-gradient(to right, var(--fg-3) 0 3px, transparent 3px 7px); }
@media (min-width: 768px) {
  .week li { grid-template-columns: 44px minmax(0, 1fr) 15.5rem; gap: 16px; }
  .week .wn { grid-column: auto; }
}
.practice-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* Look-check */
.lookcheck {
  padding: 20px 16px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--bg);
}
@media (min-width: 768px) { .lookcheck { padding: 28px; } }
.lc-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: 0.875rem; color: var(--fg-2); }
.lc-head b { color: var(--fg); font-weight: 600; }
.lc-q { margin-top: 10px; font-family: var(--font-display); font-style: italic; font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); line-height: 1.2; }
.lc-frames { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.lc-frame svg { width: 100%; height: auto; border-radius: var(--r-sm); }
.lc-frame figcaption { margin-top: 10px; font-size: 0.875rem; line-height: 1.4; }
.lc-ans { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1rem; }
.lc-ans--attn { color: var(--t-signal); }
.lc-ans--did { color: var(--t-did); }
.lc-meta { display: block; margin-top: 2px; color: var(--fg-3); font-size: 0.8125rem; }
.lc-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--fg-2); display: flex; gap: 8px; align-items: baseline; }

/* Ask */
.ask {
  display: grid;
  gap: 14px;
  padding: 20px 16px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--bg);
}
@media (min-width: 768px) { .ask { padding: 28px; } }
.ask-q {
  justify-self: end;
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--r);
  background: var(--fg);
  color: var(--bg);
  font-size: 1rem;
}
.ask-a { font-size: 1rem; line-height: 1.5; }
.ask-a p + p { margin-top: 10px; }
.ask-frames { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ask-frames figcaption { margin-top: 6px; font-size: 0.75rem; color: var(--fg-2); }
.ask-gap { display: flex; gap: 10px; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--fg-2); }

/* Escalation chain */
.chain { list-style: none; position: relative; }
.chain::before {
  content: "";
  position: absolute;
  left: 6px; top: 10px; bottom: 10px;
  width: 2px;
  background: var(--line-2);
}
.chain li { position: relative; display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 12px; padding: 10px 0 10px 28px; }
.chain li > .glyph { position: absolute; left: 0; top: 16px; box-shadow: 0 0 0 3px var(--bg); }
.chain li > .glyph--missed,
.chain li > .glyph--ring { background: var(--bg); }
.chain time { color: var(--fg-2); font-size: 0.875rem; padding-top: 2px; }

/* Generic log card (stays, timesheets, multi-site) */
.log {
  padding: 20px 16px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--bg);
}
@media (min-width: 768px) { .log { padding: 28px 32px; } }
.log-top { padding-bottom: 14px; border-bottom: 2px solid var(--fg); }
.log-title { font-family: var(--font-display); font-size: 1.625rem; font-weight: 500; line-height: 1.15; }
.log-meta { margin-top: 4px; font-size: 0.875rem; color: var(--fg-3); }
.log-days { display: grid; gap: 2px; padding-block: 14px 8px; }
.log-day { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 0.8125rem; font-weight: 600; }
.log-day--total { grid-template-columns: 44px minmax(0, 1fr) 4.5rem; }
.log-day--total .tot { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--fg-2); }
.log-rows { list-style: none; }
.log-rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  padding-block: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.log-rows .k { font-size: 0.8125rem; color: var(--fg-3); }
.log-rows .v { display: flex; gap: 8px; align-items: baseline; }
.log-rows .v .glyph { flex: none; }
@media (min-width: 600px) {
  .log-rows li { grid-template-columns: 11rem minmax(0, 1fr); gap: 16px; }
  .log-rows .k { font-size: 0.875rem; padding-top: 1px; }
}
.log-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* Camera frame drawings */
.frame { display: block; width: 100%; height: auto; border-radius: var(--r-sm); }

/* ---------- 11. Lists, tables, plans ---------- */

/* Departure-board list of audiences */
.who { list-style: none; border-top: 2px solid var(--fg); }
.who a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  align-items: baseline;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.who .wp { font-family: var(--font-display); font-size: clamp(1.4375rem, 1.2rem + 1vw, 2.125rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
.who .wd { grid-column: 1 / -1; font-size: 0.9375rem; color: var(--fg-2); }
.who .wpr { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.who .wgo { display: none; }
.who a:hover .wp { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
@media (min-width: 960px) {
  .who a { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(0, 1.6fr) 28px; gap: 28px; padding-block: 22px; }
  .who .wd { grid-column: auto; }
  .who .wpr { text-align: right; }
  .who .wgo { display: block; text-align: right; font-weight: 600; }
}

/* Status / comparison tables */
.table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.45; }
.table caption { text-align: left; }
.table th,
.table td { text-align: left; vertical-align: top; padding: 16px 20px 16px 0; border-bottom: 1px solid var(--line); }
.table td:last-child, .table th:last-child { padding-right: 0; }
.table thead th { padding-block: 0 10px; border-bottom: 2px solid var(--fg); font-size: 0.875rem; font-weight: 600; color: var(--fg-2); }
.table tbody th { font-weight: 600; font-size: 1rem; }
.table tbody th span { display: block; font-weight: 400; font-size: 0.875rem; color: var(--fg-3); }
@media (max-width: 767.98px) {
  .table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table--stack, .table--stack tbody, .table--stack tr, .table--stack th, .table--stack td { display: block; width: 100%; }
  .table--stack tr { padding-block: 16px; border-bottom: 1px solid var(--line); }
  .table--stack tbody tr:first-child { border-top: 2px solid var(--fg); }
  .table--stack th, .table--stack td { padding: 0; border: 0; }
  .table--stack td { margin-top: 8px; }
  .table--stack td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--fg-3);
  }
}

.state { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.state--yes { color: var(--t-did); }
.state--dev { color: var(--fg); }
.state--plan { color: var(--fg-2); }
.state--no { color: var(--fg-2); }
.state .glyph { width: 11px; height: 11px; }
.glyph--half {
  background: linear-gradient(to right, var(--fg) 50%, transparent 50%);
  border: 1.5px solid var(--fg);
}
.glyph--ring { background: transparent; border: 1.5px solid var(--fg-2); }
.glyph--dash { width: 12px; height: 2px; border-radius: 0; background: var(--fg-2); }
.state .glyph--dash { height: 2px; }

/* Plans */
.plans { list-style: none; border-top: 2px solid var(--fg); }
.plan {
  display: grid;
  gap: 14px;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}
.plan-name { font-family: var(--font-display); font-size: 2rem; font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }
.plan-name a { text-decoration: none; }
.plan-name a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.plan-for { margin-top: 6px; font-size: 0.9375rem; color: var(--fg-2); line-height: 1.45; }
.plan-price { font-size: 1.5rem; font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; }
.plan-price small { display: block; margin-top: 4px; font-size: 0.875rem; font-weight: 400; color: var(--fg-2); }
.plan-adds { font-size: 0.9375rem; line-height: 1.5; }
.plan-adds ul { list-style: none; }
.plan-adds li { position: relative; padding-left: 18px; }
.plan-adds li + li { margin-top: 4px; }
.plan-adds li::before { content: ""; position: absolute; left: 0; top: 10px; width: 9px; height: 2px; background: var(--fg); }
.plan-adds .base { margin-bottom: 6px; color: var(--fg-2); }
.plan-line .dl { margin-top: 4px; }
.plan-line p { margin-top: 6px; font-size: 0.8125rem; color: var(--fg-2); line-height: 1.4; }
@media (min-width: 960px) {
  .plan { grid-template-columns: minmax(0, 2.6fr) minmax(0, 1.8fr) minmax(0, 4fr) minmax(0, 3fr); gap: 36px; align-items: start; padding-block: 30px; }
}

.receipt { font-variant-numeric: tabular-nums; font-size: 1rem; }
.receipt div { display: flex; align-items: baseline; gap: 8px; padding-block: 7px; }
.receipt div > span:first-child { flex: none; }
.receipt div::after { content: none; }
.receipt .lead-dots { flex: 1; border-bottom: 1.5px dotted var(--fg-3); transform: translateY(-4px); min-width: 16px; }
.receipt .sum { border-top: 1.5px solid var(--fg); margin-top: 6px; padding-top: 12px; }
.receipt .pay { font-weight: 600; font-size: 1.125rem; }
.receipt .strike { text-decoration: line-through; color: var(--fg-3); }

.cap {
  display: grid;
  gap: 28px;
  padding: 24px 18px;
  border: 2px solid var(--fg);
  border-radius: 4px;
}
@media (min-width: 768px) { .cap { padding: 36px; } }
@media (min-width: 960px) { .cap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; } }
.cap-figure { font-family: var(--font-display); font-size: clamp(3.25rem, 2.4rem + 3.6vw, 5.5rem); font-weight: 500; line-height: 0.95; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }

/* Small comparison grid (Free vs Plus) */
.versus { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.versus th, .versus td { padding: 12px 12px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.versus thead th { border-bottom: 2px solid var(--fg); font-size: 1rem; }
.versus tbody th { font-weight: 500; color: var(--fg-2); width: 34%; }
.versus td { font-weight: 500; }

/* Definition rows (principles, partner fields) */
.defs { border-top: 2px solid var(--fg); }
.def { display: grid; gap: 10px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.def-term { font-family: var(--font-display); font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
.def-body { max-width: 40em; }
.def-body > * + * { margin-top: 0.85em; }
@media (min-width: 960px) {
  .def { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; padding-block: 34px; }
}

.fields { list-style: none; border-top: 2px solid var(--fg); font-size: 0.9375rem; }
.fields li { display: grid; gap: 4px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.fields code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.875rem; font-weight: 600; }
.fields .ex { color: var(--fg-2); }
@media (min-width: 768px) { .fields li { grid-template-columns: 11rem minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; } }

/* Questions */
.qa { border-top: 2px solid var(--fg); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.0625rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font-weight: 400; font-size: 1.375rem; line-height: 1; }
.qa details[open] summary::after { content: "\2013"; }
.qa details > div { padding-bottom: 20px; max-width: 40em; color: var(--fg-2); }
.qa details > div > * + * { margin-top: 0.8em; }

/* Notice line (disclaimers, emergency notes) */
.notice {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--fg);
  border-radius: var(--r);
  font-size: 0.9375rem;
  line-height: 1.5;
  max-width: 48em;
}
.notice b { font-weight: 600; }

.checklist { list-style: none; }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding-block: 8px; border-top: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist .glyph { margin-top: 6px; }

/* Plan box on audience pages */
.planbox {
  display: grid;
  gap: 20px;
  padding: 24px 18px;
  border: 2px solid var(--fg);
  border-radius: 4px;
}
@media (min-width: 768px) { .planbox { padding: 32px 36px; } }
@media (min-width: 960px) { .planbox { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 48px; align-items: center; } }
.planbox .plan-price { font-size: 1.75rem; }

/* ---------- 12. Early-list form ---------- */

.waitlist-grid { display: grid; gap: 36px; }
@media (min-width: 960px) { .waitlist-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; } }
.waitlist-intro .lead { margin-top: 18px; }
.waitlist-intro .small { margin-top: 18px; }

.wl-form { display: grid; gap: 30px; }
.field label { display: block; margin-bottom: 8px; font-weight: 600; }
.input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid var(--rule-2);
  border-radius: var(--r);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.0625rem;
}
.input::placeholder { color: #6E6A62; }
.input:focus-visible { outline-offset: 2px; }

.wl-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.wl-form legend { padding: 0; margin-bottom: 10px; font-weight: 600; }
.checks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 24px; }
.checks--cams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) {
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checks--cams { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; line-height: 1.3; }
.check input {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-content: center;
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 2px solid var(--fg-2);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
}
.check input::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--bg);
  clip-path: polygon(12% 50%, 0 63%, 40% 100%, 100% 22%, 87% 9%, 39% 72%);
  transform: scale(0);
  transition: transform 0.12s ease-out;
}
.check input:checked { border-color: var(--fg); background: var(--fg); }
.check input:checked::before { transform: scale(1); }
.check input:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; }

.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.wl-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-status { font-size: 0.9375rem; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.is-error {
  width: 100%;
  padding: 12px 14px;
  border-left: 3px solid var(--mk-signal);
  background: rgba(242, 119, 91, 0.12);
  color: var(--fg);
}
.nojs-note { font-size: 0.875rem; color: var(--fg-2); }
.wl-ready .nojs-note { display: none; }

.wl-done { padding: 24px 0; border-top: 2px solid var(--fg); }
.wl-done:focus { outline: none; }
.wl-done:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 6px; }
.wl-done p:first-child { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.15; }
.wl-done p + p { margin-top: 10px; color: var(--fg-2); }
.wl-done .dl { max-width: 360px; margin-top: 18px; }

/* ---------- 13. Odds and ends ---------- */

.two-lines { display: grid; gap: 28px; }
@media (min-width: 768px) { .two-lines { grid-template-columns: 1fr 1fr; gap: 40px; } }
.mini-case { padding-top: 14px; border-top: 2px solid var(--fg); }
.mini-case .verdict { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 600; }
.mini-case p { margin-top: 8px; font-size: 0.9375rem; color: var(--fg-2); }

.reasons { list-style: none; display: grid; gap: 0 40px; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .reasons { grid-template-columns: 1fr 1fr; } }
.reasons li { padding-block: 16px; border-bottom: 1px solid var(--line); }
.reasons b { display: block; font-weight: 600; }
.reasons span { display: block; margin-top: 2px; font-size: 0.9375rem; color: var(--fg-2); }

.cols-3 { display: grid; gap: 28px; }
@media (min-width: 900px) { .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.col-item { padding-top: 14px; border-top: 2px solid var(--fg); }
.col-item p { margin-top: 8px; color: var(--fg-2); font-size: 0.9375rem; }

.code {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  border-radius: var(--r);
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ink);
}

.notfound-line { max-width: 560px; margin-top: 36px; }

@media print {
  .site-header, .waitlist, .site-footer nav { display: none; }
  body { background: #fff; }
}

/* Product shots (real screens from the demo home) */
.shot { display: block; width: 100%; height: auto; border-radius: 12px; }
.tone-board .shot { border-radius: 0; }
.shot--paper { border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(22, 25, 29, 0.10); }
.shot-figure .caption { margin-top: 16px; }
@media (max-width: 700px) { .shot-figure picture img { max-width: 360px; margin-inline: auto; } }
