
:root {
  --bg: #ffffff;
  /* Band background. Distinct from --surface-2: bands tint the whole page width
     and sit a step lighter than the inset panels that appear on top of them. */
  --bg-2: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #eef1f6;
  /* Hairlines are alpha rather than solid, so they hold up over both page and
     band without a second token per surface. */
  --border: rgba(13, 18, 32, 0.09);
  --border-bright: rgba(13, 18, 32, 0.16);
  /* Boundaries of interactive controls, which WCAG 1.4.11 holds to 3:1 —
     a hairline that reads fine as a divider is too faint to be an input edge.
     Blue-tinted to match the neutral ramp; 3.4:1 on white. */
  --border-control: #838c9e;
  --text: #0d1220;
  --muted: #3c4557;
  /* Smallest text in the UI (11px mono labels), so this clears 4.5:1 on the
     page, on white cards and on the grey inset used by table headers. Two steps
     darker than the reference's #69738a, which lands at 4.2:1 on the inset. */
  --faint: #626c82;
  --accent: #3b5cff;
  --accent-wash: #eaefff;
  --accent-soft: #b9c6ff;
  --accent-ink: #ffffff;
  /* Accent as text on --accent-wash, where the accent itself is too light. */
  --accent-deep: #1d3a8a;
  /* Accent as text on the inverted surfaces, where it reaches only 3.8:1. */
  --accent-on-dark: #8fa4ff;
  /* Deltas and status. The -bar pair is the reference's own green and red, for
     fills and dots; the plain token is darkened to clear AA as small text. */
  --up: #0c8148;
  --down: #d03539;
  --up-bar: #10b981;
  --down-bar: #ef4444;
  /* Deltas and verdicts as text on the inverted surfaces. --up/--down are darkened
     for white and fall to about 1.6:1 on --dark-2; these reach 7.1:1 and 4.8:1
     there. Same values as the -bar pair today, named separately because that pair
     is scoped to fills and dots, where contrast is not the constraint. */
  --up-on-dark: #10b981;
  --down-on-dark: #ef4444;
  --warn: #976814;
  --sans: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  /* Display type is set tight; at these sizes the default tracking looks slack. */
  --track-display: -0.035em;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-card: 16px;
  --r-frame: 14px;
  --r-tile: 24px;
  --r-btn: 10px;
  --r-pill: 999px;
  /* Elevation carries the card/page separation, because cards and page are both
     white here. Kept low-alpha and tight so it reads as lift, not as a glow. */
  --shadow-sm: 0 1px 0 rgba(13, 18, 32, 0.04), 0 1px 2px rgba(13, 18, 32, 0.05);
  --shadow-md: 0 4px 12px rgba(13, 18, 32, 0.06), 0 1px 3px rgba(13, 18, 32, 0.05);
  --shadow-lg: 0 14px 34px rgba(13, 18, 32, 0.10), 0 2px 6px rgba(13, 18, 32, 0.05);
  /* The product frame only. Three layers, the deepest tinted with the accent,
     which is what makes a screenshot look like it is floating over the page
     rather than pasted onto it. */
  --shadow-frame:
    0 1px 2px rgba(13, 18, 32, 0.06),
    0 12px 40px -8px rgba(13, 18, 32, 0.14),
    0 32px 80px -24px rgba(59, 92, 255, 0.14);
  /* Inverted surfaces, for the sections that go dark mid-page. */
  --dark: #0b0e14;
  --dark-2: #12161f;
  --dark-line: rgba(255, 255, 255, 0.09);
  --dark-ink: #e8ebf2;
  --dark-ink-2: rgba(232, 235, 242, 0.72);
  --hero-wash-a: #eef2ff;
  --hero-wash-b: #f5f7fa;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  /* No -webkit-font-smoothing: antialiased here. It thins type, which helps
     light-on-dark and hurts dark-on-light. */
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: var(--track-display); line-height: 1.1; margin: 0; font-weight: 650;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 3.75rem); line-height: 1.04; }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.375rem); line-height: 1.1; letter-spacing: -0.03em; }
h3 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: -0.015em; }
p { margin: 0; }

/* Every number in the product is monospace and tabular. */
.num, .metric, td.num, th.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; }

.mono-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
}
/* Inset panels sit below the page rather than above it, so they take a border
   only — a shadow on a recessed surface reads as a mistake. */
.card-2 { background: var(--surface-2); box-shadow: none; }
.card-pad { padding: 26px 28px; }

.rule { height: 1px; background: var(--border); border: 0; margin: 0; }

/* --- Header / footer --- */
.site-head {
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-head-inner { display: flex; align-items: center; gap: 22px; height: 56px; }
.wordmark {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 17px;
  color: var(--text);
  line-height: 1;
}
a.wordmark:hover { color: var(--text); }
.wordmark-mark {
  display: inline-block;
  margin-left: 5px;
  padding: 3px 8px 4px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}
.nav { display: flex; gap: 18px; margin-left: auto; align-items: center; font-size: 14px; color: var(--muted); }
.nav a:hover { color: var(--text); }
.site-foot { border-top: 1px solid var(--border); margin-top: 104px; padding: 40px 0 64px; color: var(--muted); font-size: 13.5px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; }

/* --- Buttons and inputs --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 42px; padding: 0 20px; border-radius: var(--r-btn); border: 1px solid transparent;
  font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
  font-family: var(--sans); letter-spacing: -0.01em;
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { filter: brightness(1.1); color: var(--accent-ink); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); border-color: var(--border-control); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
/* Hero and closing CTA only: the primary action carries the whole section. */
.btn-lg { height: 48px; padding: 0 26px; font-size: 15px; }
/* Buttons on an inverted section: white fill, or a hairline over the dark. */
.btn-on-dark { background: #fff; color: var(--dark); }
.btn-on-dark:hover { background: #fff; color: var(--dark); }
.btn-ghost-dark { background: transparent; border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.btn-ghost-dark:hover { border-color: rgba(255, 255, 255, 0.45); color: #fff; }

.field {
  height: 42px; width: 100%; padding: 0 15px;
  background: var(--surface); border: 1px solid var(--border-control);
  border-radius: var(--r-btn); color: var(--text); font-size: 15px; font-family: var(--mono);
}
.field::placeholder { color: var(--faint); }
/* A visible focus ring, not just a border tint: this is the only outline on light. */
.field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.btn:focus-visible, a:focus-visible, .link-btn:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm);
}
.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.form-row .field { flex: 1 1 320px; }

.notice {
  border: 1px solid var(--border); border-left: 2px solid var(--accent);
  background: var(--surface-2); border-radius: var(--r-md); padding: 12px 15px;
  font-size: 13.5px; color: var(--muted);
}
/* Tinted rather than only left-barred: a bar alone is easy to miss. */
.notice-bad {
  border-left-color: var(--down);
  background: color-mix(in srgb, var(--down) 7%, var(--surface-2));
  color: var(--text);
}
.notice-warn {
  border-left-color: var(--warn);
  background: color-mix(in srgb, var(--warn) 9%, var(--surface-2));
  color: var(--text);
}
.notice-good {
  border-left-color: var(--up);
  background: color-mix(in srgb, var(--up) 8%, var(--surface-2));
  color: var(--text);
}

/* --- Pills --- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border-bright); border-radius: 999px;
  padding: 3px 10px; font-size: 11.5px; font-family: var(--mono);
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted);
}
.pill-accent { border-color: var(--accent); color: var(--accent); }
.pill-up { border-color: var(--up); color: var(--up); }
.pill-down { border-color: var(--down); color: var(--down); }

/* --- Score dial --- */
.dial { position: relative; width: 148px; height: 148px; flex: none; }
.dial svg { transform: rotate(-90deg); display: block; }
.dial-track { stroke: var(--border); }
.dial-value {
  stroke: var(--accent);
  stroke-linecap: round;
  /* Animates on load: app.js swaps the offset once the element is measured. */
  transition: stroke-dashoffset 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.dial-center {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
}
.dial-score { font-family: var(--mono); font-size: 38px; font-weight: 600; line-height: 1; }
.dial-of { color: var(--faint); font-family: var(--mono); font-size: 11px; margin-top: 4px; }

/* --- Stat tiles --- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--surface); padding: 15px 17px; }
.stat-value { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 25px; font-weight: 600; line-height: 1.1; }
.stat-label { color: var(--faint); font-size: 12px; margin-top: 5px; }
.stat-sub { color: var(--muted); font-size: 12px; margin-top: 3px; }

/* --- Tables --- */
/* Scrolls sideways rather than clipping. A seven-column table cannot fit a phone,
   and hiding the overflow silently amputated the last three columns instead of
   letting the reader reach them. Vertical stays hidden so the radius still clips. */
.table-wrap {
  border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow-x: auto; overflow-y: hidden;
}
table { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
thead th {
  text-align: left; padding: 10px 14px; background: var(--surface-2);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--faint); font-weight: 500;
  border-bottom: 1px solid var(--border);
}
tbody td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--surface-2); }
th.right, td.right { text-align: right; }
.rank { color: var(--faint); font-family: var(--mono); width: 44px; }
.app-cell { display: flex; align-items: center; gap: 11px; min-width: 0; }
.app-icon { width: 30px; height: 30px; border-radius: var(--r-sm); border: 1px solid var(--border); flex: none; background: var(--surface-2); object-fit: cover; }
.app-name { font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.you { border-color: var(--accent); color: var(--accent); }
tr.is-you { background: color-mix(in srgb, var(--accent) 7%, transparent); }
tr.is-you:hover { background: color-mix(in srgb, var(--accent) 11%, transparent); }
/* --faint clears 4.5:1 on the plain surfaces but not over the accent tint, and
   it is the smallest text in the table. This is the visitor's own row, so the
   de-emphasised cells read at full strength here rather than being dimmed. */
tr.is-you .rank, tr.is-you .faint { color: var(--text); }

/* Bar embedded in a metric cell, so a rate reads at a glance. */
.bar { position: relative; height: 5px; border-radius: 3px; background: var(--border); margin-top: 6px; }
.bar > span { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--accent); }

/* --- Prompt table (signed-in) --- */
.prompt-table .prompt-text { font-weight: 550; }
/* The prompt is the widest and most-read cell, so it gets the room. */
.prompt-table td:first-child { width: 30%; }
/* "3 of 4 answers" is one fact and broke across three lines in a rate column
   sized to "100%". The denominator is the point of the number (§9.1), so the
   column widens to hold it rather than the caption wrapping. */
.prompt-table .caption { margin-top: 3px; white-space: nowrap; }
.prompt-table .alongside { width: 26%; }
/* A prompt the AIs never name you for is the row worth acting on, marked rather
   than merely sorted first: the sort is invisible once the reader scrolls. */
tr.is-lost { background: color-mix(in srgb, var(--down) 5%, transparent); }
tr.is-lost:hover { background: color-mix(in srgb, var(--down) 9%, transparent); }
.prompt-table .bad { color: var(--down); font-weight: 550; }
.prompt-table td.nowrap { white-space: nowrap; }
.btn-link {
  background: none; border: 0; padding: 4px 6px; color: var(--faint);
  font-size: 13px; cursor: pointer; text-decoration: underline;
  text-underline-offset: 2px;
}
.btn-link:hover { color: var(--text); }

/* --- Tracked apps --- */
.app-head { display: flex; align-items: center; gap: 16px; }
.app-head-name { margin: 2px 0 0; }
.app-icon-lg {
  width: 56px; height: 56px; border-radius: var(--r-md); flex: none;
  border: 1px solid var(--border); background: var(--surface-2); object-fit: cover;
}
.app-list { display: grid; gap: 12px; }
.app-row { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; }
.app-row:hover { border-color: var(--border-bright); }
.app-row .app-icon-lg { width: 48px; height: 48px; }
.app-row-body { flex: 1; min-width: 0; }
.app-row-name { font-size: 17px; font-weight: 600; margin-top: 2px; }
.app-row .caption { margin-top: 4px; }

/* Text input beside its submit button, for the add-app and add-prompt forms. */
.row-form { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.row-form input { flex: 1; min-width: 240px; }

/* --- Email opt-in (checker) ---
   The blurred teaser that used to sit above this is gone. It withheld the report's
   only actionable section behind an address, which is a paywall on the page that has
   to earn the reader's trust in the first place -- and CSS-blurred real titles are an
   unverifiable claim dressed as a preview. */
.gate { border: 1px dashed var(--border-bright); border-radius: var(--r-lg); padding: 18px 20px; background: var(--surface-2); }

/* --- Misc layout --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
/* A single card would otherwise stretch the full 1120px and read as a banner —
   reachable whenever only one category has cleared the publish threshold. */
.grid-3 > :only-child, .grid-2 > :only-child { max-width: 380px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.stack { display: flex; flex-direction: column; }
/* Sub scales with the heading rather than dropping to caption size — at a 2.35rem
   h2 the old 13.5px left an obvious hole between the two lines. */
.section-head { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.section-head-sub { color: var(--muted); font-size: 17px; margin-top: 10px; max-width: 60ch; }
.section-head-aside { margin-left: auto; }

.section { margin-top: 104px; }
.hero { padding: 116px 0 20px; }
.lede { color: var(--muted); font-size: 19px; line-height: 1.55; max-width: 58ch; margin-top: 20px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13.5px; }
.caption { color: var(--faint); font-size: 13px; margin-top: 10px; max-width: 70ch; }
ul.plain { list-style: none; padding: 0; margin: 0; }
.feature-li { display: flex; gap: 10px; padding: 7px 0; align-items: baseline; }
.feature-li::before { content: "→"; color: var(--accent); font-family: var(--mono); font-size: 12px; }
details.faq { border-bottom: 1px solid var(--border); padding: 15px 0; }
details.faq summary { cursor: pointer; font-weight: 550; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before { content: "+"; color: var(--accent); font-family: var(--mono); margin-right: 10px; }
details.faq[open] summary::before { content: "−"; }
details.faq p { color: var(--muted); margin-top: 10px; padding-left: 24px; }
.step-n { font-family: var(--mono); color: var(--accent); font-size: 12px; }

/* --- Landing hero ---
   Centred and deliberately quiet: one headline, one input, one reassurance. The
   product proof lives in the step cards further down rather than in a widget
   competing with the headline. */
.hero-shell { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); background: var(--bg); }
/* Two soft washes instead of the graph-paper grid an earlier build had: the grid
   read as a developer instrument. Kept very low-contrast so the headline, not
   the background, is the first thing the eye lands on. */
.hero-shell::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(58% 46% at 78% -12%, var(--hero-wash-a), transparent 70%),
    radial-gradient(52% 42% at 12% -4%, var(--hero-wash-b), transparent 72%);
}
.hero-shell > .wrap { position: relative; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border-bright); border-radius: 999px;
  padding: 6px 13px 6px 10px; background: var(--surface); box-shadow: var(--shadow-sm);
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--up); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.hero-h1 { font-size: clamp(2.6rem, 6.2vw, 4.4rem); max-width: 20ch; }
/* Underline rather than a colour swap: keeps the headline one colour. Sized in
   em so it stays a rule at 4.4rem instead of the block a percentage would give. */
.hero-h1 em {
  font-style: normal; white-space: nowrap;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--accent) 55%, transparent) 0.1em,
    transparent 0.1em
  );
}
/* Centred column: the form keeps its own left-aligned layout so the input and
   button don't drift apart, but everything around it is centred. */
.hero-center { text-align: center; }
.hero-center .lede,
.hero-center .statement,
.hero-center .hero-h1,
.hero-center .pending-h1 { margin-left: auto; margin-right: auto; }
.hero-center .caption { max-width: none; }
/* The homepage links to the checker rather than embedding its URL input, so the
   hero ends in buttons. Stacks full-width on the narrowest screens instead of
   letting two buttons shrink below a comfortable tap target. */
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
@media (max-width: 460px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
}
/* A row of real figures under the fold line, in place of borrowed logos. */
.hero-proof {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px;
  margin-top: 34px; font-size: 13.5px; color: var(--muted);
}
.hero-proof b { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--text); font-weight: 600; }

/* --- Full-bleed bands ---
   The page and cards are both white, so alternating sections use a tint to give
   the scroll a rhythm. --bg-2 rather than --surface-2: a band runs the full
   width and sits *under* the inset panels that land on top of it, so it has to
   be the lighter of the two. */
.band { border-top: 1px solid var(--border); background: var(--bg-2); padding: 96px 0; }
.final-cta { border-bottom: 1px solid var(--border); }
/* --- Editorial statement --- */
.statement { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.22; letter-spacing: var(--track-display); font-weight: 640; max-width: 34ch; }
.statement .dim { color: var(--faint); }
/* Two columns of bullets, so five short lines don't read as a long thin list. */
.built-for { columns: 2; column-gap: 42px; margin-top: 4px; }
.built-for .feature-li { break-inside: avoid; padding: 9px 0; }
@media (max-width: 760px) { .built-for { columns: 1; } }
.statement-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 52px; align-items: center; }
.contrast-list { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.contrast-row { background: var(--surface); padding: 14px 16px; display: flex; gap: 12px; align-items: baseline; }
.contrast-row .k { font-family: var(--mono); font-size: 11px; color: var(--faint); flex: 0 0 78px; text-transform: uppercase; letter-spacing: 0.07em; }

/* --- Step cards, each fronted by a real interface fragment --- */
.step-cards { align-items: stretch; }
.step-card {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
.step-card:hover { border-color: var(--border-bright); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.step-card-top {
  display: flex; align-items: center; gap: 11px;
  padding: 15px 17px; border-bottom: 1px solid var(--border);
}
.step-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: var(--r-sm); flex: 0 0 auto;
  border: 1px solid var(--accent-soft); background: var(--accent-wash);
  /* --accent-deep, not --accent: the accent reaches only 4.4:1 on its own wash. */
  font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--accent-deep);
}
/* Fixed, not min-height: the three fragments hold different amounts of real data
   (measured at 180 / 191 / 228px), which pushed the card headings out of line by
   nearly 50px. Sized to the tallest with room for a longer app-name row to wrap. */
.step-card-visual {
  padding: 16px 17px; background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  height: 216px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.step-card-body { padding: 19px 17px 22px; }
.step-card-body p { margin-top: 9px; }

/* CSS-drawn interface fragments. No screenshots to go stale, no art (§7.5). */
.mock-line { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.mock-line:last-child { border-bottom: 0; }
.mock-line .q { font-family: var(--mono); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-line .tail { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.mock-said { font-family: var(--mono); font-size: 11px; color: var(--up); }
.mock-lost { font-family: var(--mono); font-size: 11px; color: var(--down); }
.mock-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border-bright); border-radius: var(--r-pill); padding: 3px 10px; font-size: 12px; background: var(--surface); white-space: nowrap; }
.mock-chip b { font-weight: 600; }
.mock-chip .pos { font-family: var(--mono); font-size: 10.5px; color: var(--faint); }
.mock-wrapchips { display: flex; flex-wrap: wrap; gap: 7px; }
.mock-src { display: flex; align-items: baseline; gap: 9px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 12.5px; }
.mock-src:last-child { border-bottom: 0; }
.mock-src .dom { font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-src .n { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--faint); flex: 0 0 auto; }
.mock-draft { border: 1px dashed var(--border-control); border-radius: var(--r-md); background: var(--surface); padding: 10px 11px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.mock-draft .mono-label { margin-bottom: 5px; }
.mock-draft .body { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* --- Product frame ---
   A browser window around a real interface. This is the page's main visual: the
   product is shown rather than described, and because the contents are the same
   components the signed-in area renders, there is no screenshot to go stale. */
.hero-shot { position: relative; max-width: 1020px; margin: 54px auto 0; }
.hero-shot.is-narrow { max-width: 720px; margin-top: 34px; }
.check-form { padding: 22px 24px 18px; text-align: left; }
.check-form .caption { max-width: none; }
.pending-board { padding: 22px 24px 10px; text-align: left; }
.pending-board .pending-app {
  margin-top: 0; padding-bottom: 18px; border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.pending-board .stages { margin-top: 4px; }
.opp-list { margin-top: 4px; }
.opp-list .feature-li { padding: 11px 0; border-bottom: 1px solid var(--border); }
.opp-list .feature-li:last-child { border-bottom: 0; }
.frame {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-frame); overflow: hidden; box-shadow: var(--shadow-frame);
}
.frame-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-bottom: 1px solid var(--border); background: var(--surface);
}
.frame-dots { display: flex; gap: 5px; flex: 0 0 auto; }
.frame-dots i { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--border-bright); }
/* Centred in the bar the way a real address bar is, and capped so it stays a
   pill rather than stretching into a second toolbar. */
.frame-url {
  flex: 1; max-width: 320px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; color: var(--faint);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 7px; padding: 4px 10px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* Balances the dots so the URL sits optically centred. */
.frame-bar-tail { flex: 0 0 auto; width: 43px; }

/* --- Dashboard layout ---
   One set of classes for the real /app and for the copy inside .frame, so the
   marketing page cannot drift from the product. .is-compact is the only
   difference: the same markup, stepped down to fit a 1020px frame. */
.dash { display: grid; grid-template-columns: 176px minmax(0, 1fr); background: var(--surface); }
.dash-side {
  border-right: 1px solid var(--border); background: var(--surface);
  padding: 14px 12px; display: flex; flex-direction: column; gap: 3px; min-width: 0;
}
.dash-brand { padding: 2px 8px 12px; }
.dash-brand .wordmark { font-size: 15px; }
.dash-nav { display: flex; flex-direction: column; gap: 2px; }
.dash-nav a, .dash-nav span {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 9px; border-radius: var(--r-sm);
  font-size: 12.5px; color: var(--muted); white-space: nowrap;
}
.dash-nav a:hover { background: var(--surface-2); color: var(--text); }
.dash-nav .is-active { background: var(--accent-wash); color: var(--accent-deep); font-weight: 600; }
.dash-side-foot { margin-top: auto; padding: 10px 8px 2px; border-top: 1px solid var(--border); }
.dash-main { min-width: 0; background: var(--bg-2); padding: 14px 16px 18px; display: grid; gap: 14px; }
.dash-head { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.dash-title { font-size: 15px; font-weight: 650; letter-spacing: -0.02em; }
@media (max-width: 720px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side { border-right: 0; border-bottom: 1px solid var(--border); }
  .dash-nav { flex-direction: row; overflow-x: auto; }
  .dash-brand { display: none; }
}

/* --- Filter chips --- */
.chip-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 11px; border: 1px solid var(--border);
  border-radius: var(--r-pill); background: var(--surface);
  font-size: 12px; color: var(--muted); white-space: nowrap;
}
.chip.is-on { border-color: var(--accent-soft); background: var(--accent-wash); color: var(--accent-deep); font-weight: 550; }
.chip-sync {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; color: var(--faint); white-space: nowrap;
}

/* --- KPI cards ---
   Label, one big tabular number, and the change. The delta always carries a
   direction glyph as well as a colour, so it survives being read in greyscale. */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 12px; }
.kpi {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 13px 15px; box-shadow: var(--shadow-sm); min-width: 0;
}
.kpi-label { font-size: 11.5px; color: var(--faint); }
.kpi-value {
  font-family: var(--mono); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
  font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin-top: 6px;
}
.kpi-delta { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 11.5px; margin-top: 5px; }
.kpi-delta.is-up { color: var(--up); }
.kpi-delta.is-down { color: var(--down); }
.kpi-delta.is-flat { color: var(--faint); }
.kpi.is-compact .kpi-value { font-size: 21px; }

/* --- Share of voice / per-engine rows ---
   Swatch, name, bar, value. One accent for every bar rather than a categorical
   palette: the rows are labelled, so a second hue would only add noise. */
.sov { display: grid; gap: 1px; }
.sov-row { display: grid; grid-template-columns: 10px minmax(84px, auto) 1fr 52px; align-items: center; gap: 10px; font-size: 12.5px; padding: 5px 0; }
.sov-sw { width: 10px; height: 10px; border-radius: 3px; background: var(--border-control); }
.sov-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.sov-track { height: 6px; border-radius: 3px; background: var(--surface-2); position: relative; overflow: hidden; }
.sov-track > span { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--border-control); }
.sov-val { text-align: right; font-family: var(--mono); font-size: 12px; font-variant-numeric: tabular-nums; }
/* The reader's own row, called out the way the leaderboard calls out theirs. */
.sov-row.is-you .sov-sw, .sov-row.is-you .sov-track > span { background: var(--accent); }
.sov-row.is-you .sov-name { font-weight: 600; }
.sov-you {
  display: inline-block; margin-left: 6px; padding: 0 5px; border-radius: 3px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; vertical-align: 1px;
}

/* --- Cited / not-cited badge --- */
.cited { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 11px; white-space: nowrap; }
.cited::before { content: "\25CF"; font-size: 8px; line-height: 1; }
.cited.is-yes { color: var(--up); }
.cited.is-no { color: var(--faint); }
.cited.is-no::before { content: "\25CB"; }
.dark-sec .cited.is-yes { color: var(--up-on-dark); }
.dark-sec .cited.is-no { color: var(--dark-ink-2); }

/* --- Prompt row (compact, for tiles and frames) --- */
.mini-prompt {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 12.5px; padding: 8px 10px;
  border: 1px solid var(--border); border-radius: 9px; background: var(--surface);
}
.mini-prompt + .mini-prompt { margin-top: 6px; }
.mini-prompt .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* --- Day bars ---
   Answers read per day. Rendered only when there are enough days to be a trend;
   below that the section is dropped rather than drawn as three bars (§9.1). */
.spark { display: flex; align-items: flex-end; gap: 3px; height: 58px; }
.spark-col { flex: 1 1 0; min-width: 2px; border-radius: 2px 2px 0 0; background: var(--accent); }
.spark-col.is-empty { background: var(--border-bright); }
.spark-axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--faint); margin-top: 8px; }

/* --- Engine strip --- */
.engines { margin-top: 46px; }

/* Hero lift: referral bars + sales count-up. Illustrative motion, not live metrics. */
.hero-lift {
  margin: 36px auto 0; max-width: 560px; text-align: left;
  display: grid; gap: 22px;
  padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--accent-wash) 55%, var(--surface));
}
.hero-lift-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 14px; text-align: center; }
.hero-lift-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 22px; align-items: end; }
@media (max-width: 560px) { .hero-lift-grid { grid-template-columns: 1fr; } }
.hero-lift-row {
  display: grid; grid-template-columns: 78px 1fr 48px; gap: 10px; align-items: center;
  margin-top: 8px; font-size: 13px;
}
.hero-lift-row > span { color: var(--muted); }
.hero-lift-row > b { font-family: var(--mono); font-size: 12px; color: var(--up); text-align: right; }
.hero-lift-track {
  height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden;
}
.hero-lift-track > i {
  display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent);
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-lift.is-on .hero-lift-track > i { width: var(--w, 0%); }
.hero-sales {
  font-family: var(--mono); font-size: 34px; font-weight: 650; letter-spacing: -0.04em;
  color: var(--text); line-height: 1;
}
.hero-sales-sub { margin-top: 6px; font-size: 12.5px; color: var(--faint); }

/* Sample improve steps */
.improve-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.improve-step {
  display: grid; grid-template-columns: 36px 1fr; gap: 14px;
  padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--surface);
}
.improve-step-n {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--accent-deep);
  background: var(--accent-wash);
}
.improve-step-body h3 { font-size: 16px; font-weight: 650; letter-spacing: -0.02em; }
.competitor-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.competitor-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.competitor-row:last-child { border-bottom: 0; }
.engines-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); text-align: center; }
.engines-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 12px; margin-top: 16px; }
.engine-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: var(--r-pill);
  padding: 7px 15px; background: var(--surface); box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 550;
}

/* --- Bento tiles ---
   Each tile fronts a claim with the interface that backs it. Larger radius than
   a card, because these are display objects rather than data containers. */
.bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-tile); padding: 24px; box-shadow: var(--shadow-sm); color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
a.tile:hover { border-color: var(--border-bright); box-shadow: var(--shadow-md); transform: translateY(-2px); color: inherit; }
.tile-t { font-size: 17px; font-weight: 650; letter-spacing: -0.015em; display: flex; align-items: center; gap: 8px; }
.tile-d { font-size: 13.5px; color: var(--muted); }
.tile-ui { margin-top: 14px; }
/* Wide tiles for the widgets that need horizontal room; collapses on its own
   when the grid falls to a single column. */
@media (min-width: 900px) { .tile.span2 { grid-column: span 2; } }

/* --- Inverted sections ---
   Used where a captured answer is the subject: the answer reads as a terminal
   record rather than as more marketing, and the page gets a hard beat. */
.dark-sec { background: var(--dark); color: var(--dark-ink); padding: 96px 0; position: relative; overflow: hidden; }
.dark-sec h1, .dark-sec h2, .dark-sec h3, .dark-sec .statement { color: #fff; }
.dark-sec .lede, .dark-sec .section-head-sub, .dark-sec .muted, .dark-sec .tile-d { color: var(--dark-ink-2); }
/* .chip-sync and .caption both default to --faint, which is solved for white and
   reaches 3.4:1 here. Every light-surface text token needs a dark counterpart. */
.dark-sec .caption, .dark-sec .mono-label, .dark-sec .faint, .dark-sec .chip-sync,
.dark-sec .sov-val, .dark-sec .spark-axis { color: rgba(232, 235, 242, 0.6); }
.dark-sec .eyebrow, .dark-sec a:hover { color: var(--accent-on-dark); }
.dark-sec .card, .dark-sec .tile { background: var(--dark-2); border-color: var(--dark-line); box-shadow: none; }
.dark-sec .frame { background: var(--dark-2); border-color: var(--dark-line); box-shadow: 0 24px 80px -16px rgba(0, 0, 0, 0.6); }
.dark-sec .frame-bar { background: var(--dark-2); border-bottom-color: var(--dark-line); }
.dark-sec .frame-url { background: var(--dark); border-color: var(--dark-line); color: rgba(232, 235, 242, 0.6); }
.dark-sec .frame-dots i { background: var(--dark-line); }
.dark-sec .pill { border-color: var(--dark-line); color: var(--dark-ink-2); }

/* --- Captured answer --- */
.answer-head { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--dark-line); }
.answer-q { font-family: var(--mono); font-size: 12.5px; color: var(--dark-ink); }
.answer-body { padding: 18px; font-size: 14.5px; line-height: 1.72; color: var(--dark-ink); }
.answer-body p + p { margin-top: 12px; }
/* The whole point of the section is that a named app is a measurement, so the
   app the answer names is marked in the prose rather than only tallied below.
   A background rather than an inset shadow: box-shadow does not wrap across line
   breaks on an inline element, so a name at the end of a line lost its mark. */
.answer-body .named {
  color: #fff; font-weight: 600;
  background: rgba(59, 92, 255, 0.32); border-radius: 3px;
  padding: 1px 3px; margin: 0 -1px;
}
.answer-body .sup { font-family: var(--mono); font-size: 10px; color: var(--accent-on-dark); vertical-align: super; margin-left: 2px; }
.cite-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 18px 18px; }
.cite-chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--dark-line); border-radius: var(--r-pill);
  padding: 4px 11px; font-family: var(--mono); font-size: 11px; color: var(--dark-ink-2);
}
.cite-chip:hover { border-color: var(--accent-on-dark); color: #fff; }

/* --- Answer transcript (the report's reply-by-reply section) ---
   One frame per question, one 'turn' per engine inside it, so the three replies
   to a question sit under the question instead of being spread across nine
   sibling cards the reader has to correlate by re-reading each header. */
.answers { display: grid; gap: 22px; max-width: 860px; margin: 0 auto; }
.answer-turn + .answer-turn { border-top: 1px solid var(--dark-line); }
.answer-turn-head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 14px 18px 0;
}
.engine-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--dark-ink);
}
/* The verdict is what the reader scans for, so it sits at the end of the engine
   row rather than in the prose. Colour is backed by the word itself. */
.answer-verdict { margin-left: auto; font-family: var(--mono); font-size: 11px; white-space: nowrap; }
.answer-verdict.is-yes { color: var(--up-on-dark); }
.answer-verdict.is-no { color: var(--down-on-dark); }
.answer-attrib { padding: 0 18px 14px; font-size: 12.5px; color: rgba(232, 235, 242, 0.6); }
.answer-named { padding: 0 18px 16px; }
.answer-named .mono-label { color: rgba(232, 235, 242, 0.6); }
/* Ordered, and numbered from the answer's own ranking rather than from the list
   index: position in the answer is the measurement, and renumbering it 1..n would
   invent a rank for apps the answer mentioned without ordering. */
.named-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; list-style: none; padding: 0; }
.named-list li {
  display: inline-flex; align-items: baseline; gap: 6px;
  border: 1px solid var(--dark-line); border-radius: var(--r-pill);
  padding: 5px 12px; font-size: 12.5px; color: var(--dark-ink);
}
.named-list li.is-you { border-color: var(--accent-on-dark); background: rgba(59, 92, 255, 0.18); }
.named-list .pos { font-family: var(--mono); font-size: 10.5px; color: rgba(232, 235, 242, 0.6); }
.answer-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; padding: 13px 18px; border-top: 1px solid var(--dark-line);
}
.answer-foot .caption { margin: 0; max-width: none; }

/* Dial and verdict side by side, stacking before the dial has to shrink. */
.report-verdict {
  margin-top: 26px; display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
}

/* Underlined rather than only coloured, because these sit inside prose where
   colour alone is the failure WCAG 1.4.1 is about. */
.store-link { text-decoration: underline; text-underline-offset: 2px; }
.dark-sec .store-link { color: var(--dark-ink); text-decoration-color: rgba(232, 235, 242, 0.45); }
.dark-sec .store-link:hover { color: #fff; text-decoration-color: currentColor; }

/* --- Section eyebrow --- */
.eyebrow { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 12px; }

/* --- Big numbers band --- */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 30px 24px; }
.figure-n { font-family: var(--mono); font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 600; letter-spacing: -0.03em; font-feature-settings: "tnum" 1; }
.figure-l { font-size: 13px; color: var(--muted); margin-top: 4px; }

@media (max-width: 900px) {
  .statement-grid { grid-template-columns: 1fr; gap: 30px; }
  .band { padding: 64px 0; }
  .section { margin-top: 72px; }
}

/* --- Signed-in area ---
   Sidebar rather than top-nav, because the in-product sections are peers you
   move between repeatedly rather than a linear marketing path. Nav items reuse
   .dash-nav so the copy inside the landing frame cannot drift from the real
   thing. Sticky below the 56px header and the plan strip. */
.app-shell { display: grid; grid-template-columns: 208px minmax(0, 1fr); align-items: start; }
.app-side { position: sticky; top: 72px; padding: 28px 20px 28px 0; }
/* The rule lives on the content column, not on the rail. The rail is sticky and
   therefore only as tall as its own links, which left the divider stopping a
   third of the way down the page. The content column sets the row height. */
.app-side + .app-main { padding-left: 28px; border-left: 1px solid var(--border); }
.app-main { min-width: 0; padding-top: 28px; padding-bottom: 8px; }
/* Section headings inside the product sit a step below the page title rather than
   at the marketing scale, which would compete with it. */
.app-main h2 { font-size: 1.3rem; letter-spacing: -0.02em; }
.app-main .section-head-sub { font-size: 14px; margin-top: 7px; }
.app-side-label { margin-bottom: 9px; padding-left: 9px; }
.app-side .dash-nav a { font-size: 14px; padding: 8px 11px; border-radius: var(--r-md); }
.app-side-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--border); }
/* In-product headings and rhythm. Marketing sets h1 at 3.75rem and sections 104px
   apart, which is right for a page read once and wrong for a screen worked in
   daily — data layouts stay dense (§7.5). */
.page-h1 { font-size: 1.9rem; letter-spacing: -0.03em; }
.section-sm { margin-top: 40px; }
.section-sm .section-head { margin-bottom: 18px; }
/* The headline number on an app row, right-aligned before the action. */
.app-row-metric { flex: 0 0 auto; text-align: right; margin-right: 4px; }
.app-row-metric .kpi-value { font-size: 22px; margin-top: 0; }
.app-row-metric .kpi-label { margin-top: 2px; }
@media (max-width: 620px) { .app-row-metric { display: none; } }
/* Below this the sidebar becomes a scrolling row above the content: a 208px rail
   plus a data table does not fit, and the nav is short enough to read inline. */
@media (max-width: 860px) {
  /* minmax(0, 1fr) rather than a bare fr, which takes its minimum from min-content:
     the prompt table's intrinsic width pushed the single column 42px past the wrap
     and gave the whole page a horizontal scrollbar. */
  .app-shell { grid-template-columns: minmax(0, 1fr); }
  .app-side {
    position: static; border-bottom: 1px solid var(--border);
    padding: 14px 0; display: flex; align-items: center; gap: 14px;
  }
  .app-side + .app-main { padding-left: 0; border-left: 0; }
  .app-side-label, .app-side-foot { display: none; }
  .app-side .dash-nav { flex-direction: row; overflow-x: auto; gap: 4px; }
  .app-main { padding-top: 22px; }
}

.acct { display: flex; align-items: center; gap: 12px; margin-left: auto; font-size: 13px; color: var(--muted); }
.acct-email { font-family: var(--mono); font-size: 12px; color: var(--faint); max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plan-strip { border-bottom: 1px solid var(--border); background: var(--surface); }
.plan-strip-inner { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 13px; flex-wrap: wrap; }
.plan-strip-inner .btn { margin-left: auto; }
.plan-strip.is-warn { background: color-mix(in srgb, var(--warn) 9%, var(--surface-2)); }
.plan-strip.is-bad { background: color-mix(in srgb, var(--down) 10%, var(--surface)); }
.price-card { border: 1px solid var(--border-bright); border-radius: var(--r-card); padding: 22px; background: var(--surface); }
.price-card.is-picked { border-color: var(--accent); }
.price-amount { font-family: var(--mono); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.inline-form { display: inline; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.link-btn:hover { color: var(--accent); }

.spinner {
  width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid var(--border-bright); border-top-color: var(--accent);
  animation: spin 750ms linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Checker waiting page: the resolved App Store record, then the stages of the run. */
.hero-compact { padding: 44px 0 8px; }
.pending-h1 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); max-width: 24ch; }
.lede-tight { font-size: 16px; max-width: 56ch; }
.pending-app { margin-top: 26px; display: flex; gap: 18px; align-items: center; }
.pending-icon {
  width: 72px; height: 72px; flex: none; border-radius: 16px;
  border: 1px solid var(--border); background: var(--surface-2);
}
.pending-app-body { min-width: 0; }
.pending-app-name {
  font-family: var(--display); font-size: 20px; font-weight: 600;
  letter-spacing: -0.01em; margin-top: 6px;
}
.pending-app-sub { color: var(--muted); font-size: 14px; margin-top: 3px; }
.pending-app-meta {
  font-family: var(--mono); font-size: 12px; color: var(--faint);
  margin-top: 8px; font-variant-numeric: tabular-nums;
}

.stages { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 2px; }
.stage { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--border); }
.stage:first-child { border-top: 0; }
/* The dot carries the state: hollow while queued, spinning while running, filled
   once past. Colour alone would not say which of three stages is live. */
.stage-mark {
  width: 13px; height: 13px; flex: none; margin-top: 5px; border-radius: 50%;
  border: 2px solid var(--border-bright);
}
.stage.is-active > .stage-mark { border-top-color: var(--accent); animation: spin 750ms linear infinite; }
.stage.is-done > .stage-mark { border-color: var(--accent); background: var(--accent); }
.stage-body { flex: 1; min-width: 0; }
.stage-title { font-weight: 550; font-size: 15px; color: var(--faint); }
.stage.is-active > .stage-body > .stage-title,
.stage.is-done > .stage-body > .stage-title { color: var(--text); }
.stage-note {
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  margin-top: 4px; font-variant-numeric: tabular-nums;
}
.meter {
  height: 4px; border-radius: 999px; background: var(--surface-2);
  border: 1px solid var(--border); margin-top: 10px; overflow: hidden;
}
.stage:not(.is-active):not(.is-done) .meter { visibility: hidden; }
.meter-fill {
  display: block; height: 100%; background: var(--accent);
  transition: width 600ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .dial-value { transition: none; }
  .spinner, .stage.is-active > .stage-mark { animation-duration: 3s; }
  .meter-fill { transition: none; }
  .live-dot { animation: none; }
}

@media (max-width: 640px) {
  .hero { padding: 48px 0 8px; }
  /* nowrap as well as the narrower gap: without it "Sample report" broke onto a
     second line and pushed the 56px header out of shape. */
  .nav { gap: 14px; font-size: 13px; }
  .nav a { white-space: nowrap; }
  .hide-sm { display: none; }
  /* The eyebrow is one long tracked-out string; at 11.5px it wrapped to two
     lines and stopped reading as a pill. */
  .hero-eyebrow { font-size: 10.5px; letter-spacing: 0.05em; padding: 5px 11px 5px 9px; }
  .band { padding: 52px 0; }
  .section { margin-top: 56px; }
  .site-foot { margin-top: 56px; }
  .section-head { margin-bottom: 22px; }
  .card-pad { padding: 20px; }
  .hero-proof { gap: 8px 20px; margin-top: 26px; }
  .pending-app { gap: 14px; }
  .pending-icon { width: 56px; height: 56px; border-radius: 13px; }
  .pending-app-name { font-size: 18px; }
}
