/* SellerCopilot — marketing site
   World: Morning Rounds. The observation chart on the 6am ward round, printed on warm
   near-white stock ruled every 24px, near-black green ink, red / amber / green triage
   bands, white patient-label stickers, stamped actions. Editorial and un-hyped: no
   gradients, no glows, no glass. Light theme only.
   Type: Archivo variable (wide for display, condensed for labels, normal for text),
   Fragment Mono for readings only: numbers, ASINs, system output, short eyebrows. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/archivo.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/archivo-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Fragment Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/fragment-mono.woff2") format("woff2");
}

:root {
  --u: 24px;                              /* the ruling unit; every vertical rhythm is a multiple */
  --paper: #f7f5f2;                       /* warm near-white stock */
  --paper-deep: #edeae5;                  /* the full-bleed rest band and slot frames */
  --white: #ffffff;                       /* stuck-on objects: stickers, call-outs, quote */
  --ink: #131a16;
  --ink-2: #2a3630;
  --ink-soft: #4a5951;                    /* secondary text, 6.7:1 on paper */
  --ink-faint: #6f7e75;                   /* decorative marks only, never text */
  --rule: rgba(19, 26, 22, 0.12);         /* structural hairlines */
  --rule-major: rgba(19, 26, 22, 0.22);   /* structural dividers */
  --grid-minor: rgba(19, 26, 22, 0.045);  /* paper texture: the 24px ruling */
  --grid-major: rgba(19, 26, 22, 0.10);   /* paper texture: every fifth rule */
  --plate: rgba(247, 245, 242, 0.95);     /* paper plate under copy and figures */
  --paper-dim: #c9c4bc;                   /* secondary text on the ink section, 9.4:1 */
  --red: #c0301c;                         /* out of range; the one accent */
  --amber-fill: #e0930c;                  /* watch */
  --green: #2f7a4f;                       /* in range: band fill, SCALE spine */
  --green-ink: #256a42;                   /* positive figures as text, 5.9:1 on paper */
  --band: rgba(47, 122, 79, 0.14);        /* the target range on the plot */
  /* Type ramp: eight steps, every one set on a 24px line (display sizes take 48px).
     A new element reuses a step; it does not add a size. */
  --t-1: 0.72rem;     /* micro caps and mono: labels, eyebrows, resolved stamp, brand sub-line */
  --t-2: 0.8rem;      /* labels, mono readings, nav, stamps, hero facts */
  --t-3: 0.875rem;    /* notes: captions, footnotes, meta, footer, legal date */
  --t-4: 0.95rem;     /* row prose: rounds, measures, callouts, specs, steps, controls */
  --t-5: 1.0625rem;   /* body and legal body */
  --t-6: 1.125rem;    /* lead, section intro, wordmark */
  --t-7: 1.2rem;      /* row titles */
  --t-8: 1.5rem;      /* section and card titles */
  --t-display: clamp(2rem, 3.2vw, 2.7rem);
  --t-head: clamp(1.7rem, 2.6vw, 2.25rem);
  --t-figure: 6rem;   /* the one number that matters; the page's largest voice */
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Fragment Mono", "Courier New", Courier, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 10px 28px -12px rgba(19, 26, 22, 0.28), 0 2px 6px -2px rgba(19, 26, 22, 0.14);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--u) * 4);   /* anchor targets clear the 72px sticky header */
  background: var(--paper);
  color-scheme: light;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Body copy sits on a 24px baseline so the ruling falls between lines, never through them */
body {
  position: relative;
  font-family: var(--sans);
  font-size: var(--t-5);
  line-height: var(--u);
  color: var(--ink);
  background-color: var(--paper);
  caret-color: var(--red);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}
/* Graph paper in the margins, faded out behind the content column */
body::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size:
    calc(var(--u) * 5) calc(var(--u) * 5),
    calc(var(--u) * 5) calc(var(--u) * 5),
    var(--u) var(--u),
    var(--u) var(--u);
  background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 30%, transparent 70%, #000);
  mask-image: linear-gradient(90deg, #000, transparent 30%, transparent 70%, #000);
}
/* Text-heavy sections stand on plain paper; their form blocks paint a horizontal-only ruling
   from their own top, so every row starts on a rule whatever sits above it */
.ruled { background-color: var(--paper); }
.ruling {
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px);
  background-size: 100% calc(var(--u) * 5), 100% var(--u);
  background-position: 0 -1px;
}
@media (prefers-contrast: more) {
  body::before { display: none; }
  .ruling { background-image: none; }
}

img, svg { max-width: 100%; }

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

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

[id] { scroll-margin-top: calc(var(--u) * 4); }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--red); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper-deep); }
::-webkit-scrollbar-thumb { background: var(--ink-faint); border: 2px solid var(--paper-deep); }
::-webkit-scrollbar-thumb:hover { background: var(--ink-2); }

.container {
  max-width: calc(var(--u) * 50);   /* 1200 */
  margin: 0 auto;
  padding: 0 var(--u);
}

h1, h2, h3, h4 {
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
/* Display voice: Archivo wide */
h1, .section-head h2, .talk h2, .legal h1 {
  font-stretch: 110%;
  letter-spacing: -0.035em;
}
@media (min-width: 901px) {
  h1, .hero-copy h1, .section-head h2, .talk h2, .legal h1 { line-height: calc(var(--u) * 2); }
}

/* ---------- Voices ---------- */
/* Form-label voice: condensed Archivo caps */
.label {
  font-stretch: 78%;
  font-weight: 600;
  font-size: var(--t-1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: var(--u);
}
/* Reading voice: mono, for values, identifiers, system output and short eyebrows only */
.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: var(--t-1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: var(--u);
}
/* Note voice: prose captions, footnotes and sub-lines in Archivo, small and receded */
.note {
  font-size: var(--t-3);
  line-height: var(--u);
  color: var(--ink-soft);
}

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

/* ---------- Stamped actions ---------- */
.stamp {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-stretch: 85%;
  font-weight: 600;
  font-size: var(--t-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--paper);
  background: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  height: calc(var(--u) * 2);
  padding: 0 22px;
  line-height: 1;
  transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out),
              color 180ms var(--ease-out), box-shadow 180ms var(--ease-out),
              transform 180ms var(--ease-out);
}
.stamp:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: var(--shadow);
}
.stamp:active { transform: translateY(1px); box-shadow: none; }
.stamp svg { width: 14px; height: 14px; flex-shrink: 0; }
.stamp-outline { background: transparent; color: var(--ink); }
.stamp-outline:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }

/* ---------- Printed form header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.site-header .container {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--u);
  height: calc(var(--u) * 3 - 2px);   /* 72px including the rule */
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.brand svg { width: 30px; height: 30px; flex-shrink: 0; }
.brand strong {
  display: block;
  font-weight: 700;
  font-stretch: 92%;
  font-size: var(--t-6);
  letter-spacing: -0.015em;
  line-height: 1.1;
  white-space: nowrap;
}
.brand small {
  display: block;
  font-size: var(--t-1);
  line-height: 1.2;
  color: var(--ink-soft);
  white-space: nowrap;
}
.main-nav { display: flex; gap: 4px; align-items: center; justify-content: flex-end; }
.main-nav a:not(.stamp) {
  display: inline-block;
  text-decoration: none;
  color: var(--ink-soft);
  font-stretch: 85%;
  font-weight: 600;
  font-size: var(--t-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-bottom: 2px solid transparent;
  transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.main-nav a:not(.stamp):hover { color: var(--ink); border-bottom-color: var(--ink-faint); }
.main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }
/* The way into the application. An outlined capsule, the one rounded object in a square
   world: it marks leaving the marketing site, and stays outlined so it never competes
   with a filled stamp. Recorded as a deliberate exception in DESIGN.md. */
.main-nav a.nav-signin {
  display: inline-flex; align-items: center;
  height: 40px;
  padding: 0 20px;
  margin-left: 14px;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}
.main-nav a.nav-signin:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
@media (prefers-reduced-motion: reduce) { .main-nav a.nav-signin { transition: none; } }
/* Menu toggle: a hidden checkbox drives the phone menu with no script; desktop never shows it */
.nav-toggle { position: absolute; width: 1px; height: 1px; margin: -1px; opacity: 0; pointer-events: none; }
.nav-burger { display: none; }

/* ---------- Screenshot slot ---------- */
/* A bordered, slightly raised frame on the paper. The <img> reserves its box with
   width/height and the frame's aspect ratio, so a late or missing file never shifts layout.
   The mono label sits under the image and shows whenever the file is absent. */
.shot { margin: 0; min-width: 0; }
.shot-caption {
  display: flex; justify-content: space-between; gap: var(--u);
  font-family: var(--mono);
  font-size: var(--t-1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: var(--u);
  padding: 0 2px;
  white-space: nowrap;
}
.shot-caption span:last-child { color: var(--ink-soft); }
.shot-frame {
  position: relative;
  background-color: var(--paper-deep);
  background-image: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(19, 26, 22, 0.045) 14px 15px);
  border: 1px solid var(--ink);
  border-radius: 2px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.shot-16x10 .shot-frame { aspect-ratio: 16 / 10; }
.shot-4x3 .shot-frame { aspect-ratio: 4 / 3; }
/* A single recommendation card is taller than it is wide. The frame takes the
   capture's own ratio so it hugs the image instead of leaving hatched bands down
   both sides - the frame is a mount for the shot, not a fixed window it must fill. */
.shot-card .shot-frame { aspect-ratio: 614 / 664; }
.shot-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: var(--u);
  text-align: center;
  font-family: var(--mono);
  font-size: var(--t-2);
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.shot-frame img {
  position: absolute; inset: 0; z-index: 1;
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: top left;
  color: transparent; font-size: 0;   /* a missing file shows no alt text over the label */
}

/* ---------- Callouts: short captioned notes beside a screenshot ---------- */
.callouts { display: grid; align-content: start; }
.callout {
  padding-top: var(--u);
  box-shadow: inset 0 1px 0 var(--rule-major);
}
.callout p {
  font-size: var(--t-4);
  line-height: var(--u);
  color: var(--ink-2);
  padding-bottom: var(--u);
  text-wrap: pretty;
}
.callout strong { font-weight: 600; color: var(--ink); }

/* ---------- Spec list: hairline rows, no glyphs ---------- */
.spec { list-style: none; box-shadow: inset 0 1px 0 var(--rule-major); }
.spec li {
  font-size: var(--t-4);
  line-height: var(--u);
  color: var(--ink-2);
  padding: 0;
  background-image: linear-gradient(90deg, var(--rule-major) 50%, transparent 50%);
  background-size: 4px 1px;
  background-repeat: repeat-x;
  background-position: 0 100%;
}
.spec li:last-child { background-image: none; }

/* ---------- Hero: copy, the product, the observation strip ---------- */
.hero { padding: calc(var(--u) * 3) 0 calc(var(--u) * 2); }
.hero .container {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: calc(var(--u) * 2);
  align-items: start;
}
.hero-copy { padding-top: var(--u); }
.hero-copy h1 {
  font-size: var(--t-display);
  margin-bottom: var(--u);
  max-width: 19ch;
}
.hero-copy h1 em { font-style: normal; color: var(--red); }
.hero-copy .lead {
  font-size: var(--t-6);
  line-height: var(--u);
  color: var(--ink-soft);
  max-width: 32rem;
  margin-bottom: var(--u);
  text-wrap: pretty;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: var(--u); }
.hero-facts { list-style: none; display: grid; gap: 0; }
.hero-facts li {
  display: flex; align-items: center; gap: 10px;
  line-height: var(--u);
  font-stretch: 85%; font-weight: 600; font-size: var(--t-2);
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft);
}
.hero-facts svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--ink); }

/* The observation strip: triage band, sticker and plot, then the reading */
.strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: var(--u) minmax(0, 6fr) minmax(0, 6fr);
  gap: 0 calc(var(--u) * 2);
  margin-top: var(--u);
  padding: var(--u) 0 var(--u);
  box-shadow: inset 0 1px 0 var(--ink);
}
.triage {
  display: flex; align-items: flex-start; justify-content: center;
  width: var(--u);
  padding-top: 12px;
  color: var(--white);
  position: relative;
}
.triage span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-stretch: 78%; font-weight: 700; font-size: var(--t-2);
  letter-spacing: 0.16em; text-transform: uppercase;
  white-space: nowrap;
}
.triage::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 100%;
  width: 6px;
  background: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms var(--ease-out);
}
.triage-red { background: var(--red); }
.triage-amber { background: var(--amber-fill); color: var(--ink); }
.triage-green { background: var(--green); }
.triage-ink { background: var(--ink-soft); }

.sticker {
  display: inline-grid;
  grid-template-columns: auto auto;
  column-gap: 14px; row-gap: 0;
  align-items: baseline;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 11px 12px;
  box-shadow: 0 1px 0 var(--ink), 0 6px 14px -8px rgba(19, 26, 22, 0.35);
  font-family: var(--mono);
  font-size: var(--t-2);
  line-height: var(--u);
  color: var(--ink);
}
.sticker b { font-weight: 400; letter-spacing: 0.02em; }
.sticker .sticker-name {
  grid-column: 1 / -1;
  font-family: var(--sans);
  font-weight: 600; font-stretch: 92%; font-size: var(--t-4);
  letter-spacing: -0.01em;
}
.sticker .dim { color: var(--ink-soft); }
.strip-plot .sticker { margin-bottom: var(--u); }

.plot { display: block; width: 100%; height: auto; overflow: visible; }
.plot .axis { stroke: var(--ink); stroke-width: 1.25; }
.plot .tick { stroke: var(--ink); stroke-width: 1; }
.plot .band { fill: var(--band); }
.plot .band-edge { stroke: var(--green); stroke-width: 1; stroke-dasharray: 3 4; }
.plot .vital { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.plot .over { fill: var(--red); }
.plot .breach { fill: var(--red); stroke: var(--white); stroke-width: 2.5; }
.plot .leader { stroke: var(--red); stroke-width: 1; stroke-dasharray: 2 3; }
.plot .callout-box { fill: var(--white); stroke: var(--ink); stroke-width: 1; filter: drop-shadow(0 6px 10px rgba(19, 26, 22, 0.16)); }
.plot text { font-family: var(--mono); font-size: 15px; fill: var(--ink-soft); }
.plot .t-label { font-family: var(--sans); font-stretch: 78%; font-weight: 600; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; fill: var(--green-ink); }
.plot .t-unit { font-family: var(--sans); font-stretch: 78%; font-weight: 600; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; fill: var(--ink-soft); }
.plot .c-value { font-family: var(--sans); font-stretch: 78%; font-weight: 700; font-size: 27px; letter-spacing: -0.3px; fill: var(--red); }
.plot .c-sub { fill: var(--ink-soft); }

.reading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 calc(var(--u) * 1.5);
  align-items: end;
}
.reading .label { grid-column: 1 / -1; }
.figure {
  font-stretch: 68%;
  font-weight: 700;
  font-size: var(--t-figure);
  line-height: 0.86;
  letter-spacing: -0.03em;
  color: var(--red);
  white-space: nowrap;
  padding: 10px 0 14px;
}
.reading-note {
  font-size: var(--t-4);
  line-height: var(--u);
  color: var(--ink-2);
  max-width: 30rem;
  text-wrap: pretty;
}
.reading-note strong { font-weight: 600; color: var(--ink); }
.reading-note .gain {
  display: block;
  font-family: var(--mono);
  font-size: var(--t-2);
  color: var(--green-ink);
}
.reading .chart-caption { grid-column: 1 / -1; margin-top: var(--u); }

/* ---------- Sections as form sections ---------- */
section { padding: calc(var(--u) * 4) 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--u);
  align-items: end;
  padding-bottom: calc(var(--u) - 2px);
  margin-bottom: calc(var(--u) * 2);
  border-bottom: 2px solid var(--ink);
}
.section-head h2 {
  font-size: var(--t-head);
  max-width: 24ch;
}
.section-head .meta { text-align: right; white-space: nowrap; }
.section-intro {
  font-size: var(--t-6);
  line-height: var(--u);
  color: var(--ink-soft);
  max-width: 40rem;
  margin: calc(var(--u) * -1) 0 calc(var(--u) * 2);
  text-wrap: pretty;
}

/* ---------- The brief: the product wide, three notes narrow, then the rounds ---------- */
.split {
  display: grid;
  /* The figure column is the narrower of the two here: its shot is a portrait card,
     and at 8fr the frame would stand over 600px tall beside three short callouts. */
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0 calc(var(--u) * 2);
  align-items: start;
  margin-bottom: calc(var(--u) * 2);
}
.split .callouts { padding-top: var(--u); }   /* aligns the first rule with the frame's top edge */

.rounds { list-style: none; box-shadow: inset 0 1px 0 var(--ink); }
.round {
  position: relative;
  display: grid;
  grid-template-columns: var(--u) 190px 1fr 290px;
  gap: 0 var(--u);
  align-items: start;
  padding: var(--u) 0;
  box-shadow: inset 0 -1px 0 var(--rule-major);
  transition: background-color 200ms var(--ease-out);
}
.round:hover { background-color: rgba(255, 255, 255, 0.5); }
.round:hover .triage::after { transform: scaleX(1); }
.round .triage { align-self: stretch; min-height: 120px; }
.round-body, .receipt { background: var(--plate); }
.round-body { padding: 0 8px; margin: 0 -8px; }
.round-body h3 {
  font-size: var(--t-7);
  line-height: var(--u);
  margin-bottom: var(--u);
}
.round-body p { color: var(--ink-2); font-size: var(--t-4); line-height: var(--u); max-width: 52ch; text-wrap: pretty; }
.round-body p.is-typing .typed::after {
  content: "";
  display: inline-block; width: 2px; height: 0.9em;
  margin-left: 2px; vertical-align: -0.1em;
  background: var(--ink);
}
.receipt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: end;
  font-family: var(--mono);
  font-size: var(--t-2);
  line-height: var(--u);
  border-left: 1px solid var(--ink);
  padding-left: var(--u);
}
.receipt dt, .receipt dd {
  padding: 0;
  background-image: linear-gradient(90deg, var(--rule-major) 50%, transparent 50%);
  background-size: 4px 1px;
  background-repeat: repeat-x;
  background-position: 0 100%;
}
.receipt dt { color: var(--ink-soft); }
.receipt dd { color: var(--ink); text-align: right; white-space: nowrap; }
.receipt dt:nth-last-of-type(1), .receipt dd:last-child { background-image: none; }
.receipt .neg { color: var(--red); }
.receipt .pos { color: var(--green-ink); }
.receipt .eyebrow { grid-column: 1 / -1; }
/* The settled item recedes in ink weight and band colour, never below the contrast floor.
   It is NOT struck through: this card carries a positive measured outcome (+$212, verdict
   positive), and a line through its headline reads as void or withdrawn rather than done.
   The "Resolved" stamp and the muted ink already say settled; the rule was one signal too
   many, and the only one that inverted the meaning. */
.round-settled .round-body h3 {
  color: var(--ink-soft);
}
.round-settled .round-body p { color: var(--ink-soft); }
.round-settled .sticker { box-shadow: none; border-color: var(--ink-soft); color: var(--ink-soft); }
.round-settled .receipt { border-left-color: var(--ink-soft); }
.round-settled .receipt dd { color: var(--ink-2); }
.round-settled .done {
  position: absolute; right: 0; top: calc(var(--u) * 0.7);
  font-stretch: 78%; font-weight: 700; font-size: var(--t-1);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green-ink);
  border: 1.5px solid var(--green-ink);
  border-radius: 2px;
  padding: 4px 8px;
  transform: rotate(-6deg);
}
.rounds-note { margin-top: var(--u); }

/* ---------- What's charted: observation rows; two of them carry the product ---------- */
.measures { box-shadow: inset 0 1px 0 var(--ink); }
.measure {
  display: grid;
  grid-template-columns: 200px 1.05fr 1fr;
  gap: 0 calc(var(--u) * 1.5);
  padding: calc(var(--u) * 2) 0 var(--u);
  box-shadow: inset 0 -1px 0 var(--rule-major);
}
.measure-unit { line-height: var(--u); }
.measure-unit span { display: block; }
.measure h3 { font-size: var(--t-8); line-height: var(--u); margin-bottom: var(--u); }
.measure-body { background: var(--plate); padding: 0 8px; margin: 0 -8px; }
.measure-body > p { color: var(--ink-2); font-size: var(--t-4); line-height: var(--u); max-width: 46ch; text-wrap: pretty; margin-bottom: var(--u); }
.measure-body > p:last-child { margin-bottom: 0; }
.measure-list { background: var(--plate); padding: 0 8px; margin: 0 -8px; }
.measure-list .eyebrow { margin-bottom: 0; }
/* Rows that carry a screenshot: text and notes left, the product right, wider */
.measure-shot { grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1.25fr); }
.measure-shot .callouts { margin-top: var(--u); }
.measure-shot .shot { margin-top: 0; }

/* ---------- How it works: a plotted timeline ---------- */
.timeline-track { display: block; width: 100%; height: auto; overflow: visible; margin-bottom: var(--u); }
.timeline-track .rail { stroke: var(--ink); stroke-width: 1.25; }
.timeline-track .rail-tick { stroke: var(--ink); stroke-width: 1; }
.timeline-track .rail-gap { fill: var(--paper); }
.timeline-track .node { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.timeline-track .node-live { fill: var(--red); stroke: var(--red); }
.timeline-track text { font-family: var(--sans); font-stretch: 78%; font-weight: 600; font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase; fill: var(--ink-soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--u) * 1.5); }
.step h3 { font-size: var(--t-7); line-height: var(--u); margin-bottom: var(--u); }
.step p { color: var(--ink-2); font-size: var(--t-4); line-height: var(--u); text-wrap: pretty; }

/* ---------- Never: one full-bleed band, four ticked items in a row ---------- */
.band-section { background: var(--paper-deep); }
.band-section .section-head { border-bottom-color: var(--ink); }
.never-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  box-shadow: inset 0 1px 0 var(--ink), inset 0 -1px 0 var(--rule-major);
}
.never-item {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
  padding: var(--u) var(--u) var(--u) 0;
  font-size: var(--t-4);
  line-height: var(--u);
  color: var(--ink);
}
.never-item + .never-item { padding-left: var(--u); border-left: 1px solid var(--rule-major); }
.never-item svg { width: 22px; height: 22px; margin-top: 1px; }
.never-item .box { fill: var(--white); stroke: var(--ink); stroke-width: 1.25; }
.never-item .tick { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.never-foot { display: flex; align-items: center; gap: var(--u); flex-wrap: wrap; margin-top: var(--u); }
.never-foot p { font-size: var(--t-4); line-height: var(--u); color: var(--ink-2); max-width: 40rem; text-wrap: pretty; }

/* ---------- Security: the page's one ink section ---------- */
#security {
  background-color: var(--ink);
  background-image: linear-gradient(rgba(247, 245, 242, 0.05) 1px, transparent 1px);
  background-size: 100% var(--u);
  background-position: 0 -1px;
  color: var(--paper-dim);
}
#security .section-head { border-bottom-color: var(--paper); }
#security h2, #security h3 { color: var(--paper); }
#security .meta, #security .note { color: var(--paper-dim); }
#security a { color: var(--paper); text-decoration-color: rgba(247, 245, 242, 0.4); }
#security a:hover { text-decoration-color: var(--paper); }
#security ::selection { background: var(--paper); color: var(--ink); }
.controls { display: grid; grid-template-columns: 1fr 1fr; gap: 0 calc(var(--u) * 2); box-shadow: inset 0 1px 0 var(--paper); }
.control {
  display: grid; grid-template-columns: 26px 1fr; gap: 16px;
  padding: var(--u) 0;
  box-shadow: inset 0 -1px 0 rgba(247, 245, 242, 0.22);
}
.control svg { width: 26px; height: 26px; color: var(--paper); }
.control h3 { font-size: var(--t-7); line-height: var(--u); margin-bottom: var(--u); }
.control p { color: var(--paper-dim); font-size: var(--t-4); line-height: var(--u); text-wrap: pretty; }
.section-note { margin-top: var(--u); font-size: var(--t-4); line-height: var(--u); max-width: 44rem; text-wrap: pretty; }

/* ---------- Pricing + close ---------- */
.close-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: calc(var(--u) * 2); }
.quote {
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: calc(var(--u) * 2 - 1px) calc(var(--u) * 1.5) calc(var(--u) * 1.5 - 1px);
}
.quote h3 { font-size: var(--t-8); line-height: var(--u); margin-bottom: var(--u); }
.quote p { color: var(--ink-2); line-height: var(--u); margin-bottom: var(--u); max-width: 44ch; text-wrap: pretty; }
.quote .note { margin: var(--u) 0 0; }
.talk h2 { font-size: var(--t-head); margin-bottom: var(--u); }
.talk > p { color: var(--ink-soft); line-height: var(--u); max-width: 30rem; text-wrap: pretty; }
.talk .email {
  display: inline-block;
  margin: var(--u) 0 0;
  font-stretch: 78%;
  font-weight: 700;
  font-size: var(--t-display);
  letter-spacing: -0.02em;
  line-height: calc(var(--u) * 2);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--ink);
  transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.talk .email:hover { color: var(--red); border-bottom-color: var(--red); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 2px solid var(--ink);
  padding: calc(var(--u) - 2px) 0 calc(var(--u) * 2);
}
.site-footer .container { display: flex; justify-content: space-between; align-items: center; gap: var(--u); flex-wrap: wrap; }
.site-footer p, .site-footer a { font-size: var(--t-3); line-height: var(--u); color: var(--ink-soft); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--red); }
.footer-links { display: flex; gap: var(--u); }

/* ---------- Legal pages ---------- */
.legal {
  max-width: calc(var(--u) * 32);
  margin: 0 auto;
  padding: calc(var(--u) * 3) var(--u) calc(var(--u) * 4);
}
.legal-head {
  display: grid; grid-template-columns: 1fr auto; gap: var(--u); align-items: end;
  padding-bottom: calc(var(--u) - 2px);
  margin-bottom: calc(var(--u) * 2);
  border-bottom: 2px solid var(--ink);
}
.legal h1 { font-size: var(--t-display); }
.legal .updated { font-size: var(--t-3); line-height: var(--u); color: var(--ink-soft); white-space: nowrap; }
.legal h2 {
  font-size: var(--t-8);
  line-height: var(--u);
  margin: var(--u) 0;
  padding-top: calc(var(--u) - 1px);
  border-top: 1px solid var(--rule-major);
}
.legal p, .legal li { color: var(--ink-2); font-size: var(--t-5); line-height: var(--u); margin-bottom: var(--u); max-width: 68ch; }
.legal ul { padding-left: 22px; margin-bottom: var(--u); }
.legal li { margin-bottom: 0; }
.legal li::marker { color: var(--ink-faint); }
.legal a { text-decoration-color: var(--rule-major); }
.legal a:hover { text-decoration-color: var(--red); color: var(--red); }
.legal .stamp { margin-top: var(--u); }

/* ---------- Motion: restraint-level, all of it purposeful ---------- */
/* Without script, or with reduced motion, everything below is simply visible. */
html.js [data-rise] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
html.js [data-rise].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  /* The vital plots itself once on load, then the breach reports */
  .plot .vital {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: plot 700ms var(--ease-out) 150ms forwards;
  }
  .plot .over, .plot .breach { opacity: 0; animation: appear 240ms var(--ease-out) forwards; }
  .plot .over:nth-of-type(1) { animation-delay: 380ms; }
  .plot .over:nth-of-type(2) { animation-delay: 420ms; }
  .plot .over:nth-of-type(3) { animation-delay: 460ms; }
  .plot .over:nth-of-type(4) { animation-delay: 500ms; }
  .plot .over:nth-of-type(5) { animation-delay: 540ms; }
  .plot .over:nth-of-type(6) { animation-delay: 580ms; }
  .plot .over:nth-of-type(7) { animation-delay: 620ms; }
  .plot .over:nth-of-type(8) { animation-delay: 660ms; }
  .plot .over:nth-of-type(9) { animation-delay: 700ms; }
  .plot .over:nth-of-type(10) { animation-delay: 740ms; }
  .plot .breach { animation-delay: 800ms; }
  .plot .callout { opacity: 0; transform: translateY(6px); animation: settle 400ms var(--ease-out) 860ms forwards; }
  @keyframes plot { to { stroke-dashoffset: 0; } }
  @keyframes appear { to { opacity: 1; } }
  @keyframes settle { to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  html.js [data-rise] { opacity: 1; transform: none; transition: none; }
  .plot .vital, .plot .over, .plot .breach, .plot .callout { animation: none; opacity: 1; transform: none; stroke-dashoffset: 0; }
  .triage::after, .stamp, .main-nav a { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .round { grid-template-columns: var(--u) 170px 1fr 240px; }
  .measure { grid-template-columns: 160px 1fr 1fr; }
  .measure-shot { grid-template-columns: 160px minmax(0, 1fr) minmax(0, 1.2fr); }
}
@media (max-width: 900px) {
  /* Body and the figure step down one notch on phones; every other step is unchanged */
  :root { --t-5: 1rem; --t-figure: clamp(3.6rem, 15vw, 5.5rem); }
  /* The header stays sticky on phones too; the open menu scrolls rather than
     growing past the viewport on a short screen. */
  .main-nav { max-height: calc(100dvh - var(--u) * 3 - 2px); overflow-y: auto; }
  .site-header .container {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto;
    height: auto;
    min-height: calc(var(--u) * 3 - 2px);
    gap: 0 10px;
  }
  .site-header .brand { grid-column: 1; grid-row: 1; }
  .site-header .brand { min-width: 0; }
  .site-header .brand strong { font-size: var(--t-5); }
  .site-header .brand small { display: none; }
  /* The menu button: a stamped square beside the demo stamp; the icon swaps when open */
  .nav-burger {
    grid-column: 3; grid-row: 1;
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border: 1.5px solid var(--ink);
    border-radius: 2px;
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
  }
  .nav-burger svg { width: 18px; height: 18px; }
  .nav-burger .ico-close { display: none; }
  .nav-toggle:checked ~ .nav-burger .ico-open { display: none; }
  .nav-toggle:checked ~ .nav-burger .ico-close { display: block; }
  .nav-toggle:focus-visible ~ .nav-burger { outline: 2px solid var(--red); outline-offset: 3px; }
  /* The menu itself: a ruled list under the header rule, in flow, closed until toggled */
  .main-nav {
    display: none;
    grid-column: 1 / -1; grid-row: 2;
    flex-direction: column; align-items: stretch;
    margin: 0 calc(var(--u) * -1);
    padding: 0 0 var(--u);
    box-shadow: inset 0 1px 0 var(--ink);
  }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .main-nav a:not(.stamp) {
    padding: 0 var(--u);
    height: calc(var(--u) * 2); line-height: calc(var(--u) * 2);
    font-size: var(--t-2);
    color: var(--ink);
    border-bottom: 0;
    box-shadow: inset 0 -1px 0 var(--rule-major);
    white-space: nowrap;
  }
  .main-nav a:not(.stamp):hover { color: var(--red); }
  .main-nav a[aria-current="page"] { color: var(--red); }
  /* In the phone menu the capsule sits inside the list rather than spanning it */
  .main-nav a.nav-signin {
    align-self: flex-start;
    height: 40px;
    line-height: 1;
    padding: 0 20px;
    margin: 12px var(--u);
    box-shadow: none;
  }

  /* Headline, then the product, then the action; the strip follows */
  .hero { padding-top: calc(var(--u) * 2); }
  .hero .container { grid-template-columns: 1fr; gap: var(--u); }
  .hero-copy { display: contents; }
  .hero-copy h1 { order: 1; max-width: 16ch; margin-bottom: 0; line-height: 1.06; }
  .shot-hero { order: 2; }
  .hero-actions { order: 3; margin-bottom: 0; }
  .hero-copy .lead { order: 4; margin-bottom: 0; }
  .hero-facts { order: 5; }
  .strip { order: 6; grid-template-columns: var(--u) 1fr; gap: 0 16px; }
  .strip-plot { grid-column: 2; }
  .reading { grid-column: 2; grid-template-columns: 1fr; margin-top: var(--u); }

  section { padding: calc(var(--u) * 3) 0; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-head .meta { text-align: left; white-space: normal; }

  .split { grid-template-columns: 1fr; gap: var(--u) 0; }
  .split .callouts { padding-top: 0; }

  .round { grid-template-columns: var(--u) 1fr; row-gap: 0; }
  .round .triage { grid-row: 1 / span 4; min-height: 0; }
  .round .sticker { grid-column: 2; margin-bottom: var(--u); }
  .round-body { grid-column: 2; }
  .receipt { grid-column: 2; border-left: 0; padding-left: 0; margin-top: var(--u); border-top: 1px solid var(--rule-major); padding-top: calc(var(--u) - 1px); }
  .round-settled .done {
    position: static; grid-column: 2; justify-self: start; transform: none;
    height: var(--u); padding: 0 8px; line-height: 21px; margin-top: var(--u);
  }

  .measure, .measure-shot { grid-template-columns: 1fr; row-gap: var(--u); padding: var(--u) 0; }
  .measure-body { order: 1; }
  .measure-list, .measure-shot .shot { order: 2; }
  .measure-unit { order: 3; }
  .measure-unit span { display: inline; }
  .measure-unit span + span::before { content: " · "; }

  .steps { grid-template-columns: 1fr; gap: var(--u); }
  .timeline-track { display: none; }
  .step { display: grid; grid-template-columns: 12px 1fr; gap: 14px; }
  .step::before { content: ""; width: 12px; height: 12px; margin-top: 6px; border: 2px solid var(--ink); background: var(--paper); border-radius: 999px; }
  .step:last-child::before { background: var(--red); border-color: var(--red); }

  .never-row { grid-template-columns: 1fr; }
  .never-item { padding: var(--u) 0 var(--u); box-shadow: inset 0 -1px 0 var(--rule-major); }
  .never-item + .never-item { padding-left: 0; border-left: 0; }
  .controls, .close-band { grid-template-columns: 1fr; gap: 0; }
  .close-band { gap: calc(var(--u) * 2); }
  .legal { padding: calc(var(--u) * 2) var(--u) calc(var(--u) * 3); }
  .legal-head { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .main-nav { margin: 0 -16px; }
  .main-nav a:not(.stamp) { padding: 0 16px; }
  .hero-actions .stamp { width: 100%; justify-content: center; }
  .hero-facts li { align-items: flex-start; }
  .hero-facts svg { margin-top: 4px; }
  .sticker { grid-template-columns: 1fr; }
  /* The plot scales to ~0.45 here; its lettering is set larger so it still reads */
  .plot text { font-size: 22px; }
  .plot .t-label, .plot .t-unit { font-size: 20px; letter-spacing: 2px; }
  .plot .c-value { font-size: 40px; transform: translate(-120px, 6px); }
  .plot .c-sub { font-size: 20px; transform: translate(-120px, 21px); }
  .plot .callout-box { x: 150px; y: 0; width: 340px; height: 96px; }
  .plot .leader { display: none; }
  .shot-caption span:last-child { display: none; }
  .shot-caption span:first-child { overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 430px) {
  /* The name always shows in full: the mark and wordmark shrink to fit beside the menu button */
  .site-header .brand { gap: 8px; }
  .site-header .brand svg { width: 26px; height: 26px; }
  .site-header .brand strong { font-size: var(--t-2); letter-spacing: -0.01em; }
}
