:root {
  --bg: #f2ecdc;
  --bg-2: #eae2cd;
  --bg-3: #e1d8c0;
  --border: rgba(0, 0, 0, 0.08);
  --border-2: rgba(0, 0, 0, 0.16);
  --text: #182420;
  --text-dim: #5b6560;
  --text-faint: #8d8676;
  --accent: #1e5c4f;
  --accent-soft: rgba(30, 92, 79, 0.10);
  --accent-line: rgba(30, 92, 79, 0.15);
  --hit: #3f7a5c;
  --miss: #9c4a38;
  --accent-ink: #f5f0e4;

  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Inter", -apple-system, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-black: "Archivo Black", "Impact", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 15% 0%, rgba(255,255,255,0.045), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(255,255,255,0.03), transparent 40%);
}

.wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 28px 24px 80px 24px;
}

header.site {
  max-width: 620px;
  margin: 0 auto;
  padding: 40px 24px 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header.site .brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
header.site .brand img {
  height: 18px;
  width: auto;
  display: block;
  opacity: 0.92;
}
header.site .run-id {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  flex: none;
}
.eyebrow .dot.pulse { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

h1.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 16px 0;
}

p.sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0 0 32px 0;
  max-width: 480px;
}

/* form */
form.run-form { margin-bottom: 8px; }
.input-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
/* Two-input landing form: URL on top, email below, button under.
   Stacked vertically so both inputs get full width. */
.input-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.input-stack .btn { align-self: flex-start; }
input[type=text], input[type=email] {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
input::placeholder { color: var(--text-faint); }
input:focus {
  border-color: var(--accent-line);
  background: var(--bg-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s ease, transform 0.1s ease;
}
.btn:hover { opacity: 0.88; }
.btn:active { transform: scale(0.98); }
.btn.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn.secondary:hover { background: var(--bg-2); opacity: 1; }
.btn.accent {
  background: var(--accent);
  color: var(--accent-ink, #1a0f08);
  border-color: var(--accent);
}

.hint {
  font-size: 12.5px;
  color: var(--text-faint);
  margin-top: 10px;
}

/* Small subtle line naming the 5 AI engines, sits below the input form.
   Editorial, not shouty. No pill, no icons. Reads like a magazine caption. */
.engines-line {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-faint);
  letter-spacing: 0.01em;
}

/* ticker */
.ticker {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.ticker .ticker-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ticker ul { list-style: none; margin: 0; padding: 0; }
.ticker li {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  padding: 7px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed var(--border);
}
.ticker li:last-child { border-bottom: 0; }
.ticker li .score { color: var(--text); }

/* run/theater screen */
.stage-label {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 27px);
  font-weight: 500;
  color: var(--text);
  margin: 6px 0 6px 0;
  min-height: 1.3em;
}
.stage-detail {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

/* Progressive reveals during the wait: brand identity → questions → theater */
.brand-reveal {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  margin: 4px 0 22px 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.brand-reveal.show { opacity: 1; transform: translateY(0); }
.brand-reveal-logo {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.brand-reveal-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}
.brand-reveal-body { flex: 1; min-width: 0; }
.brand-reveal-line {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 2px;
}
.brand-reveal-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
  color: var(--text);
}
.brand-reveal-meta {
  font-size: 13.5px;
  color: var(--text-dim);
  margin-top: 4px;
}
.brand-reveal-meta .sep { color: var(--text-faint); }

.questions-preview {
  margin: 4px 0 24px 0;
  padding: 16px 18px;
  background: var(--bg-2);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.questions-preview.show { opacity: 1; transform: translateY(0); }
.questions-preview.dismiss {
  opacity: 0;
  transform: translateY(-8px);
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
  transition: opacity 0.35s ease, transform 0.4s ease,
              max-height 0.5s ease, padding 0.4s ease, margin 0.4s ease;
}
.questions-preview-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
ol.questions-preview-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: qp;
}
ol.questions-preview-list li {
  counter-increment: qp;
  padding: 8px 0 8px 30px;
  position: relative;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
  border-top: 1px solid var(--border);
}
ol.questions-preview-list li:first-child { border-top: 0; }
ol.questions-preview-list li::before {
  content: counter(qp);
  position: absolute;
  left: 0;
  top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  font-weight: 500;
}

.timer {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
}

ul.theater-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.theater-rows li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(4px);
  animation: rise 0.35s ease forwards;
}
ul.theater-rows li:last-child { border-bottom: 0; }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
.theater-row-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.theater-q {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.4;
}
.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
  flex: none;
}
.chip.pending { color: var(--text-faint); border: 1px solid var(--border-2); }
.chip.hit { color: var(--hit); border: 1px solid rgba(63,122,92,0.35); }
.chip.miss { color: var(--miss); border: 1px solid rgba(156,74,56,0.35); }
.excerpt {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-faint);
  margin-top: 8px;
  padding-left: 2px;
  border-left: 2px solid var(--border);
  padding-left: 10px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.25s ease;
}
.excerpt.show { max-height: 60px; opacity: 1; }

.tally {
  position: sticky;
  bottom: 20px;
  margin-top: 28px;
  padding: 12px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
}
.tally strong { color: var(--text); }
.tally .you strong { color: var(--accent); }

/* Live narration during the sweep — one sentence flashes above the theater
   rows every time a prompt lands. Fades in/out to feel alive without being noisy. */
/* ------------------------------------------------------------
   Toast notifications on the run page: fixed stack top-right,
   slides in on show, slides right on dismiss. First appearance
   of a brand: "X just showed up." Repeats: "X showed up again."
   ------------------------------------------------------------ */
.toast-stack {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: min(360px, calc(100vw - 40px));
}
.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 12px;
  background: #fdfbf3;
  border: 1px solid var(--border-2);
  border-left-width: 3px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(20, 30, 25, 0.06), 0 1px 2px rgba(20, 30, 25, 0.04);
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text);
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.toast.show {
  opacity: 1;
  transform: translateX(0);
}
.toast.dismiss {
  opacity: 0;
  transform: translateX(24px);
}
.toast-icon {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  font-size: 0;  /* hides the character; only the colored dot remains */
  align-self: center;
  margin-left: 2px;
}
.toast-text { flex: 1; }
.toast-hit { border-left-color: var(--hit); }
.toast-hit .toast-icon { background: var(--hit); }
.toast-miss { border-left-color: var(--miss); }
.toast-miss .toast-icon { background: var(--miss); }

@media (max-width: 620px) {
  /* On mobile, move the stack to the bottom of the viewport (iOS-style)
     so it doesn't overlap the stepper up top, and it lands near the thumb.
     column-reverse means new toasts push existing ones upward, keeping
     the newest one right above the bottom edge. */
  .toast-stack {
    top: auto;
    bottom: 16px;
    right: 12px;
    left: 12px;
    max-width: none;
    flex-direction: column-reverse;
  }
  .toast {
    transform: translateY(24px);
  }
  .toast.show { transform: translateY(0); }
  .toast.dismiss { transform: translateY(24px); }
}

.live-commentary {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.35;
  margin: 12px 0 16px 0;
  min-height: 26px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 320ms ease, transform 320ms ease;
  color: var(--text-dim);
}
.live-commentary.show { opacity: 1; transform: translateY(0); }
.live-commentary.hit   { color: var(--hit); }
.live-commentary.miss  { color: var(--miss); }
.live-commentary.muted { color: var(--text-dim); }

/* snapshot / reveal */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 16px;
}

/* Editorial snapshot layout: no card wrappers, rules between sections */
.section {
  padding: 28px 0 24px 0;
  margin: 0;
}
.section-body {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0 0 16px 0;
}
.email-section form { display: flex; gap: 10px; margin-top: 12px; }
.email-section input[type=email] {
  flex: 1 1 auto;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  border: 1px solid var(--border-2);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
}
.email-section input[type=email]:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}
hr.rule {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* inline validation-error messages (real-app addition, not in the proto) */
.flash {
  border-left: 3px solid var(--miss);
  background: rgba(156,74,56,0.08);
  padding: 14px 16px;
  border-radius: 0 6px 6px 0;
  color: var(--miss);
  font-size: 13.5px;
  margin-bottom: 16px;
}

.brand-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
}
.category-line {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 28px;
}

.verdict {
  font-family: var(--font-display);
  font-size: clamp(19px, 3.4vw, 22px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 28px;
  max-width: 480px;
}
.verdict strong { color: var(--accent); font-weight: 500; }

.score-block {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 8px;
}
.score-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(72px, 18vw, 120px);
  line-height: 0.9;
  color: var(--accent);
  text-shadow: 0 0 40px var(--accent-line);
  letter-spacing: -0.02em;
}
.score-meta { padding-bottom: 14px; }
.score-suffix {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-faint);
  display: block;
  margin-bottom: 6px;
}
.score-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.score-tag .dot { width: 6px; height: 6px; border-radius: 50%; }
.score-tag.red { color: var(--miss); }
.score-tag.red .dot { background: var(--miss); }
.score-tag.amber { color: var(--accent); }
.score-tag.amber .dot { background: var(--accent); }
.score-tag.green { color: var(--hit); }
.score-tag.green .dot { background: var(--hit); }

/* Three sub-metrics under the composite score */
.score-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0 8px 0;
  padding: 18px 22px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.score-breakdown .metric { display: flex; flex-direction: column; gap: 4px; }
.score-breakdown .metric-value {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
}
.score-breakdown .metric-unit {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-dim);
  margin-left: 2px;
  letter-spacing: 0;
}
.score-breakdown .metric-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 2px;
}
.score-breakdown .metric-note {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-dim);
  font-style: italic;
}
@media (max-width: 640px) {
  .score-breakdown { grid-template-columns: 1fr; gap: 14px; padding: 16px 18px; }
}

h2.section-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  margin: 0 0 16px 0;
}

ul.prompt-rows { list-style: none; margin: 0; padding: 0; }
ul.prompt-rows li { border-bottom: 1px solid var(--border); }
ul.prompt-rows li:last-child { border-bottom: 0; }
details.prompt-row { padding: 14px 0; }
details.prompt-row summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}
details.prompt-row summary::-webkit-details-marker { display: none; }
details.prompt-row summary .q {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.4;
}
details.prompt-row summary .q .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  margin-right: 8px;
}
details.prompt-row .answer {
  margin-top: 12px;
  margin-left: 22px;
  padding: 12px 14px;
  background: var(--bg-3);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-dim);
}
details.prompt-row .read-more {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 10px;
  margin-left: 22px;
}

.stat-line {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-faint);
}
.stat-line strong { color: var(--text); }

/* comparison bars */
ul.bars { list-style: none; margin: 0; padding: 0; }
ul.bars li {
  padding: 10px 0;
}
.bar-top {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 6px;
}
.bar-top .name { color: var(--text-dim); }
.bar-top .name.you { color: var(--accent); font-weight: 600; }
.bar-top .count { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); }
.bar-track {
  height: 6px;
  border-radius: 4px;
  background: var(--bg-3);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--text-faint);
  transition: width 0.6s ease;
}
.bar-fill.you { background: var(--accent); }

/* email capture */
.email-card {
  border-color: var(--border-2);
}
.email-card p { color: var(--text-dim); font-size: 14px; margin: 0 0 16px 0; }
.email-card form { display: flex; gap: 10px; }
.email-confirm {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--hit);
}
.email-confirm .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--hit); }

/* cta */
.cta {
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  padding: 22px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cta-line { font-family: var(--font-display); font-size: 17px; color: var(--text); }
.cta-sub { font-size: 13px; color: var(--text-faint); margin-top: 4px; }

/* full-report services section: how we close the gaps */
.services-section { }
ol.services {
  list-style: none;
  margin: 20px 0 0 0;
  padding: 0;
  counter-reset: svc;
}
ol.services li.service {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  align-items: flex-start;
}
ol.services li.service:first-child { border-top: 0; padding-top: 4px; }
.service-num {
  flex: none;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 50%;
}
.service-body { flex: 1; min-width: 0; }
.service-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 4px;
}
.service-detail {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
}

@media (max-width: 480px) {
  /* Services list: shrink the number pill on narrow screens so the copy
     column doesn't lose 52px to a decorative element. */
  ol.services li.service { gap: 12px; padding: 14px 0; }
  .service-num { width: 30px; height: 30px; font-size: 11px; }
  .service-title { font-size: 16px; }
  /* Toast text: smaller on narrow screens so a long competitor name like
     "Youth to the People" doesn't push the toast card off the row. */
  .toast { font-size: 13px; padding: 10px 14px 10px 12px; }
  /* Readability finding titles at smaller font on mobile so 40-char
     titles like "40% of images missing alt text" don't wrap awkwardly. */
  .finding-title { font-size: 15px; }
  .finding-detail { font-size: 13px; }
}

/* gate: competitor table (compact) — teaches without giving away the bars */
.gate-competitors { margin-top: 0; }
table.comp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 14.5px;
}
.comp-table th {
  text-align: left;
  padding: 8px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  border-bottom: 1px solid var(--border-2);
  font-weight: 500;
}
.comp-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.comp-table tr:last-child td { border-bottom: 0; }
.comp-table .col-brand { color: var(--text); }
.comp-table .col-count {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
}
.comp-table .col-count strong { color: var(--text); font-weight: 600; }
.comp-table .col-count { white-space: nowrap; }
.comp-table .col-brand { padding-right: 12px; word-break: break-word; }
.comp-table .col-count .none { color: var(--miss); font-weight: 500; }
.comp-table tr.is-you .col-brand {
  color: var(--accent);
  font-weight: 600;
}
.comp-table .you-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  vertical-align: middle;
}
.comp-note {
  font-size: 12.5px;
  color: var(--text-faint);
  margin-top: 12px;
  font-style: italic;
}

/* gate page: FOMO paragraph + unlock section */
.fomo {
  font-family: var(--font-display);
  font-size: clamp(16px, 4.4vw, 19px);
  line-height: 1.5;
  color: var(--text);
  margin: 24px 0 32px 0;
  letter-spacing: -0.005em;
}
.unlock-section { margin-top: 0; }
.unlock-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
}
ul.unlock-list {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}
ul.unlock-list li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
}
ul.unlock-list li:first-child { border-top: 0; }
ul.unlock-list li::before {
  content: "→";
  position: absolute;
  left: 4px;
  top: 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
}
.unlock-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-top: 8px;
}
.unlock-form input[type=email] {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  outline: none;
}
.unlock-form input[type=email]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.unlock-form button { white-space: nowrap; }

@media (max-width: 480px) {
  .unlock-form { flex-direction: column; }
}

/* Post-email confirmation strip on the full report */
.email-confirm-section { padding: 8px 0; }
.email-confirm-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
}
.email-confirm-line .dot {
  flex: none;
  width: 8px; height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--hit);
  box-shadow: 0 0 0 3px rgba(63,122,92,0.15);
}
.email-confirm-line strong { color: var(--text); }
/* Deep-report status variants: dot color signals sending state */
.email-confirm-line.status-running .dot { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.email-confirm-line.status-sent .dot   { background: var(--hit);    box-shadow: 0 0 0 3px rgba(63,122,92,0.14); }
.email-confirm-line.status-failed .dot { background: var(--miss);   box-shadow: 0 0 0 3px rgba(156,74,56,0.14); }

/* readability audit findings */
ul.findings { list-style: none; margin: 12px 0 0 0; padding: 0; }
ul.findings li.finding {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
ul.findings li.finding:last-child { border-bottom: 1px solid var(--border); }
.finding-mark {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 8px;
  background: var(--text-faint);
}
.finding-good .finding-mark { background: var(--hit); box-shadow: 0 0 0 3px rgba(63,122,92,0.14); }
.finding-warn .finding-mark { background: #b8802f; box-shadow: 0 0 0 3px rgba(184,128,47,0.14); }
.finding-bad  .finding-mark { background: var(--miss); box-shadow: 0 0 0 3px rgba(156,74,56,0.14); }
.finding-body { flex: 1; }
.finding-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  color: var(--text);
}
.finding-detail {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-dim);
  margin-top: 4px;
}

.footnote { font-size: 12px; color: var(--text-faint); margin-top: 22px; text-align: center; }
.footnote a { color: var(--text-dim); text-decoration: underline; text-decoration-color: var(--border-2); text-underline-offset: 3px; }
.footnote a:hover { color: var(--text); }

@media (max-width: 480px) {
  .input-row { flex-direction: column; }
  .score-block { gap: 12px; }
  /* CTA on mobile: stack heading over full-width button instead of flex-wrap
     leaving the button pinned to the right edge on a new line, which read
     as a misaligned orphan. */
  .cta { flex-direction: column; align-items: stretch; text-align: left; }
  .cta .btn { text-align: center; width: 100%; }
  /* Brand line on gate/snapshot: on very narrow screens, allow the brand
     name to wrap without pushing the category line onto a third row. */
  .brand-line { flex-direction: column; align-items: flex-start; gap: 2px; }
  /* Prompt row summaries: on narrow, let the chip drop below the question
     if the line is long, so we don't crush the question text into a
     3-character column. */
  details.prompt-row summary { flex-wrap: wrap; }
  details.prompt-row summary .chip { margin-top: 4px; }
}

/* ============================================================
   LANDING PAGE REBRAND — matches the physical booth poster.
   Bold sans hero, engine-glyph row, FREE badge, teal curve bottom.
   ============================================================ */
h1.landing-hero {
  font-family: var(--font-black);
  font-weight: 400; /* Archivo Black is single-weight; its 400 IS the heavy face */
  font-size: clamp(36px, 7vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 8px 0 14px 0;
  text-transform: none;
}
p.landing-sub {
  font-family: var(--font-sans);
  font-size: clamp(15px, 2.6vw, 18px);
  line-height: 1.45;
  color: var(--text-dim);
  margin: 0 0 26px 0;
  max-width: 480px;
}
.engine-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 28px 0;
  flex-wrap: wrap;
}
.engine-glyph {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.engine-glyph:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
}
.free-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  font-weight: 500;
}
.free-badge .free-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Bottom teal curve, matches poster's bottom band */
.landing-curve {
  position: relative;
  margin: 60px -24px 0 -24px; /* bleed to the wrap edges */
  padding: 60px 24px 44px 24px;
  background: var(--accent);
  color: var(--accent-ink);
  border-top-left-radius: 60% 40px;
  border-top-right-radius: 60% 40px;
  text-align: center;
}
.curve-inner {
  max-width: 480px;
  margin: 0 auto;
}
.curve-line {
  font-family: var(--font-black);
  font-size: clamp(20px, 4.2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--accent-ink);
  margin-bottom: 10px;
}
.curve-stat {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--accent-ink);
  opacity: 0.82;
  letter-spacing: 0.02em;
}

/* ============================================================
   RUN PAGE STEPPER — 4-dot progress bar replacing the eyebrow +
   stage-label + stage-detail wall of text.
   ============================================================ */
ol.stepper {
  list-style: none;
  margin: 8px 0 22px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
/* Connecting line running behind the dots */
ol.stepper::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border-2);
  z-index: 0;
  border-radius: 2px;
}
ol.stepper li.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.step-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 2px solid var(--border-2);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-faint);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.step-check { display: none; line-height: 1; }
.step-num   { display: inline; line-height: 1; }
.step-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: center;
  transition: color 0.3s ease;
}

/* States */
li.step.is-active .step-mark {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 5px var(--accent-soft);
  animation: stepPulse 1.6s ease-in-out infinite;
}
li.step.is-active .step-label { color: var(--accent); font-weight: 600; }
li.step.is-done .step-mark {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
li.step.is-done .step-check { display: inline; }
li.step.is-done .step-num   { display: none; }
li.step.is-done .step-label { color: var(--text-dim); }
li.step.is-pending .step-mark { background: var(--bg); border-color: var(--border-2); color: var(--text-faint); }

@keyframes stepPulse {
  0%, 100% { box-shadow: 0 0 0 5px var(--accent-soft); }
  50%      { box-shadow: 0 0 0 9px var(--accent-soft); }
}

/* Just a short caption sitting under the stepper. The stepper already
   tells the reader which stage we're in, so this line is subtle: one
   short sans-serif line, not a big display heading. */
.stage-current {
  margin: 6px 0 22px 0;
}
.stage-current-detail {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-dim);
}

@media (max-width: 480px) {
  ol.stepper::before { left: 12%; right: 12%; }
  .step-mark { width: 26px; height: 26px; font-size: 11px; }
  ol.stepper::before { top: 13px; }
  .step-label { font-size: 9px; }
}

/* ============================================================
   GATE UNLOCK CARDS — 2x2 emoji grid replacing the arrow bullets.
   ============================================================ */
.unlock-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0 22px 0;
}
.unlock-card {
  padding: 18px 16px 16px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.unlock-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  box-shadow: 0 4px 16px rgba(30, 92, 79, 0.06);
}
.unlock-card-emoji {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 10px;
}
.unlock-card-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.unlock-card-hint {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-dim);
}

@media (max-width: 560px) {
  .unlock-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   Extra mobile polish for the new landing
   ============================================================ */
@media (max-width: 480px) {
  .engine-row { gap: 12px; justify-content: space-between; }
  .engine-glyph { width: 40px; height: 40px; }
  .engine-glyph svg { width: 24px; height: 24px; }
  .landing-curve {
    margin: 44px -24px 0 -24px;
    padding: 44px 20px 32px 20px;
  }
}
