/* Hallmark · genre: modern-minimal · macrostructure: Narrative Workflow · theme: studied-DNA (source: https://www.sonicbook.ai/) · hero: H9 semantic process centerpiece · nav: N5 · footer: Ft2 · 2026-08-21 */
/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V4 · contrast: pass (46–50) · slop: pass (51–55) · honest: pass (56) · chrome: pass (57) · tokens: pass (58) · responsive: pass (59) · icons: pass (60) · mobile: pass (36, 59, 61–69) */

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

html,
body {
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 11%, var(--hero-bloom), transparent 24rem),
    radial-gradient(circle at 86% 4%, var(--hero-bloom-alt), transparent 28rem),
    var(--paper);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
a {
  touch-action: manipulation;
}

button,
input,
textarea,
select {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

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

h1,
h2,
h3,
p {
  margin-block-start: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  text-wrap: balance;
  overflow-wrap: anywhere;
  min-width: 0;
}

p {
  text-wrap: pretty;
}

[id] {
  scroll-margin-top: 7rem;
}

.skip-link {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  color: var(--paper-pure);
  background: var(--ink);
  transform: translateY(-120%);
  transition: transform var(--duration-fast) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.nav-pill {
  position: fixed;
  inset: max(var(--space-3), env(safe-area-inset-top)) auto auto 50%;
  z-index: 30;
  display: flex;
  width: max-content;
  max-width: calc(100% - 1.25rem);
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 0.42rem 0.45rem 0.42rem 0.75rem;
  border: 1px solid var(--nav-rule);
  border-radius: var(--radius-pill);
  background: var(--nav-surface);
  box-shadow: 0 18px 50px -28px var(--nav-shadow);
  backdrop-filter: blur(18px) saturate(140%);
  transform: translateX(-50%);
}

.wordmark {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.38rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark-star {
  color: var(--gold-deep);
  font-size: 1.1em;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  cursor: pointer;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: inherit;
}

.nav-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  border-radius: 99px;
  background: var(--ink);
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
}

.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.nav-links {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 31;
  display: none;
  min-width: 12.5rem;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.55rem;
  border: 1px solid var(--nav-rule);
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 22px 48px -24px rgba(17, 19, 26, 0.35);
}

.nav-pill.is-open .nav-links {
  display: flex;
}

.nav-links a {
  padding: 0.7rem 0.85rem;
  border-radius: 0.8rem;
  color: var(--ink);
}

.nav-links a,
.nav-cta {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta {
  padding: 0.68rem 0.92rem;
  color: var(--paper-pure);
  border-radius: var(--radius-pill);
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(52rem, 94svh);
  place-items: center;
  align-content: center;
  padding: clamp(8rem, 14svh, 10rem) max(var(--space-4), env(safe-area-inset-left)) clamp(10.5rem, 19svh, 14rem);
  text-align: center;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(to bottom, transparent 76%, var(--paper) 100%);
  pointer-events: none;
}

.hero-orbit {
  position: absolute;
  z-index: -3;
  border: 1px solid var(--orbit-rule);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-one {
  width: clamp(26rem, 72vw, 66rem);
  aspect-ratio: 1;
}

.hero-orbit-two {
  width: clamp(18rem, 46vw, 42rem);
  aspect-ratio: 1;
}

.hero-kicker,
.section-index,
.stage-verb,
.voice-label {
  margin-block-end: var(--space-4);
  color: var(--blue-deep);
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.3;
}

.hero-kicker {
  justify-self: center;
  width: min(100%, 48rem);
  padding: 0;
  text-align: start;
}

.hero h1 {
  max-width: 17ch;
  margin-block: var(--space-3) var(--space-6);
  font-size: var(--text-display);
  font-variation-settings: "wdth" 92;
  font-weight: 760;
  letter-spacing: -0.064em;
  line-height: 0.94;
}

.hero-mark {
  position: relative;
  display: inline-block;
  color: var(--ink);
  white-space: nowrap;
}

.hero-mark svg {
  position: absolute;
  inset: calc(100% - 0.02em) 0 auto;
  width: 100%;
  height: 0.22em;
  overflow: visible;
}

.hero-mark path {
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.hero-lead {
  justify-self: center;
  width: min(100%, 39rem);
  max-width: 39rem;
  margin-block-end: var(--space-8);
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.55;
  text-align: start;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.86rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--duration-fast) var(--ease-out), background-color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.button-primary {
  color: var(--gold-ink);
  background: var(--gold);
  box-shadow: 0 13px 28px -16px var(--gold-shadow);
}

.button-text {
  color: var(--ink);
  border-color: var(--soft-rule);
  background: var(--soft-surface);
}

.button-outline {
  color: var(--ink);
  border-color: var(--rule-strong);
  background: transparent;
}

.button-dark {
  color: var(--paper-pure);
  background: var(--ink);
}

.hero-assurances {
  display: flex;
  max-width: 46rem;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3) var(--space-5);
  padding: 0;
  margin: var(--space-8) 0 0;
  color: var(--ink-soft);
  font-size: var(--text-sm);
  list-style: none;
}

.hero-assurances li {
  white-space: nowrap;
}

.hero-assurances span {
  color: var(--success);
  font-weight: 800;
}

.hero-kicker,
.hero h1,
.hero-lead,
.hero-actions,
.hero-assurances {
  animation: hero-in var(--duration-slow) var(--ease-out) both;
}

.hero h1 { animation-delay: 70ms; }
.hero-lead { animation-delay: 130ms; }
.hero-actions { animation-delay: 190ms; }
.hero-assurances { animation-delay: 250ms; }

@keyframes hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.proof,
.workflow,
.two-voices,
.pricing,
.faq,
.footer-line {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.proof {
  padding-block: var(--space-12) var(--space-6);
}

.proof-heading {
  display: grid;
  gap: var(--space-4);
  align-items: end;
  margin-block-end: var(--space-6);
}

.proof-heading h2,
.workflow-intro h2,
.two-voices h2,
.pricing-intro h2,
.faq h2 {
  max-width: 18ch;
  margin-block-end: 0;
  font-size: var(--text-2xl);
  font-weight: 730;
  letter-spacing: -0.045em;
  line-height: 1;
}

.replay-button {
  display: inline-flex;
  width: max-content;
  min-height: 2.75rem;
  align-items: center;
  gap: var(--space-2);
  padding: 0.68rem 0.9rem;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-pill);
  background: var(--paper-pure);
  font-size: var(--text-sm);
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.replay-button svg {
  width: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.demo-shell {
  position: relative;
  padding: var(--space-4);
  overflow: hidden;
  color: var(--stage-text);
  border: 1px solid var(--stage-hair);
  border-radius: var(--radius-md);
  background: var(--stage);
  box-shadow: 0 34px 80px -48px var(--stage-shadow);
}

.demo-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block-end: var(--space-4);
  color: var(--stage-muted);
  border-block-end: 1px solid var(--stage-rule);
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: 0.035em;
}

.demo-live {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--success-soft-text);
  white-space: nowrap;
}

.demo-live i {
  width: 0.45rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--success-bright);
  box-shadow: 0 0 0 4px var(--success-halo);
}

.demo-flow {
  display: grid;
  gap: var(--space-3);
  align-items: center;
  padding-block: var(--space-6);
}

.review-sample,
.match-result,
.reward-result,
.team-update {
  min-width: 0;
  border: 1px solid var(--stage-rule);
  background: var(--stage-panel);
}

.review-sample {
  padding: var(--space-5);
  border-radius: var(--radius-sm);
}

.review-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.review-avatar,
.team-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.5rem;
  aspect-ratio: 1;
  color: var(--avatar-blue-ink);
  border-radius: 50%;
  background: var(--avatar-blue);
  font-size: var(--text-sm);
  font-weight: 750;
}

.review-meta strong,
.review-meta small,
.team-person strong,
.team-person small {
  display: block;
}

.review-meta strong {
  font-size: var(--text-sm);
}

.review-meta small,
.team-person small {
  color: var(--stage-muted);
  font-size: var(--text-xs);
  letter-spacing: 0.01em;
}

.review-stars {
  margin-block: var(--space-4) var(--space-2);
  color: var(--gold);
  letter-spacing: 0.08em;
}

.review-sample p {
  margin: 0;
  color: var(--stage-text-soft);
  line-height: 1.55;
}

.detected-name {
  padding: 0.04rem 0.25rem;
  color: inherit;
  border-radius: 0.3rem;
  background: var(--detected-bg);
  box-shadow: inset 0 -1px 0 var(--detected-line);
}

.demo-connector {
  display: flex;
  width: 100%;
  min-height: 2.4rem;
  align-items: center;
  justify-content: center;
  color: var(--connector-blue);
  transform: rotate(90deg);
}

.demo-connector span {
  width: 2rem;
  height: 1px;
  background: currentColor;
  transform-origin: left;
}

.demo-connector svg {
  width: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.demo-connector-gold {
  color: var(--gold);
}

.match-result,
.reward-result {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-sm);
}

.match-icon,
.reward-star {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
}

.match-icon {
  color: var(--match-text);
  background: var(--match-bg);
}

.match-icon svg {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.match-result small,
.match-result strong,
.reward-result small,
.reward-result strong {
  display: block;
}

.match-result small,
.reward-result small {
  color: var(--stage-muted);
  font-size: var(--text-xs);
}

.match-result strong,
.reward-result strong {
  font-size: var(--text-lg);
  line-height: 1.2;
}

.confidence {
  margin-inline-start: auto;
  padding: 0.24rem 0.44rem;
  color: var(--success-text);
  border: 1px solid var(--success-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-label);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
}

.reward-star {
  color: var(--reward-ink);
  background: var(--gold);
  font-size: 1.15rem;
}

.reward-result strong {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.team-update {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
}

.team-rank {
  color: var(--stage-muted);
  font-family: var(--font-label);
  font-size: var(--text-xs);
}

.team-avatar {
  width: 2.25rem;
  color: var(--reward-avatar-ink);
  background: var(--gold);
}

.team-person {
  min-width: 0;
}

.team-total {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.demo-shell.is-pending .demo-part {
  opacity: 0;
}

.demo-shell.is-running .review-sample,
.demo-shell.is-running .match-result,
.demo-shell.is-running .reward-result,
.demo-shell.is-running .team-update {
  animation: demo-arrive var(--duration-medium) var(--ease-out) both;
}

.demo-shell.is-running .review-sample { animation-delay: 80ms; }
.demo-shell.is-running .match-result { animation-delay: 920ms; }
.demo-shell.is-running .reward-result { animation-delay: 1.72s; }
.demo-shell.is-running .team-update { animation-delay: 2.45s; }

.demo-shell.is-running .demo-connector {
  animation: connector-arrive 360ms var(--ease-out) both;
  animation-delay: 580ms;
}

.demo-shell.is-running .demo-connector-gold {
  animation-delay: 1.38s;
}

.demo-shell.is-running .detected-name {
  animation: name-detected 460ms var(--ease-out) both;
  animation-delay: 560ms;
}

@keyframes demo-arrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes connector-arrive {
  from { opacity: 0; transform: rotate(90deg) translateX(-8px); }
  to { opacity: 1; transform: rotate(90deg) translateX(0); }
}

@keyframes name-detected {
  0% { color: inherit; background: var(--detected-idle); }
  100% { color: var(--blue-ink); background: var(--blue); }
}

.stat-strip {
  display: grid;
  width: min(100% - 2rem, var(--max-width));
  margin: var(--space-6) auto var(--space-24);
  border-block: 1px solid var(--rule);
}

.stat-strip > div {
  display: grid;
  grid-template-columns: minmax(5rem, auto) minmax(0, 1fr);
  align-items: baseline;
  gap: var(--space-4);
  padding-block: var(--space-5);
  border-block-end: 1px solid var(--rule);
}

.stat-strip > div:last-child {
  border-block-end: 0;
}

.stat-strip strong {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5vw, 2.75rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.stat-strip span:last-child {
  color: var(--ink-soft);
  font-size: var(--text-sm);
}

.statement-block {
  display: grid;
  min-height: 72svh;
  place-items: center;
  padding: var(--space-20) max(var(--space-4), env(safe-area-inset-left));
  color: var(--paper-pure);
  background: var(--stage);
}

.statement-block p {
  max-width: 18ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 7vw, 6rem);
  font-variation-settings: "wdth" 88;
  font-weight: 480;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.statement-block strong {
  font-weight: 780;
}

.workflow,
.two-voices,
.pricing,
.faq {
  padding-block: var(--space-24);
}

.workflow-intro,
.pricing-intro {
  display: grid;
  gap: var(--space-6);
  margin-block-end: var(--space-16);
}

.workflow-intro > p:last-child,
.pricing-intro > p:last-child {
  max-width: 34rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--text-md);
}

.workflow-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.workflow-stage {
  display: grid;
  min-width: 0;
  gap: var(--space-6);
  padding-block: var(--space-10);
  border-block-start: 4px solid var(--ink);
}

.stage-number {
  font-family: var(--font-label);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.stage-copy h3 {
  max-width: 16ch;
  margin-block-end: var(--space-4);
  font-size: clamp(1.85rem, 4.8vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.stage-copy > p:last-child {
  max-width: 34rem;
  margin: 0;
  color: var(--ink-soft);
}

.stage-ui {
  align-self: center;
  min-width: 0;
  padding: var(--space-5);
  margin: 0;
  color: var(--stage-text);
  border: 1px solid var(--stage-rule);
  border-radius: var(--radius-sm);
  background: var(--stage);
  box-shadow: 0 26px 60px -42px var(--stage-shadow-soft);
}

.stage-ui figcaption {
  padding-block-end: var(--space-4);
  margin-block-end: var(--space-4);
  color: var(--stage-muted);
  border-block-end: 1px solid var(--stage-rule);
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: 0.035em;
}

.source-ui > div:first-of-type {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3);
}

.source-ui strong,
.source-ui small {
  display: block;
}

.source-ui small {
  color: var(--stage-muted);
  font-size: var(--text-xs);
}

.source-g {
  display: grid;
  width: 2.5rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--blue);
  border-radius: 50%;
  background: var(--paper-pure);
  font-weight: 800;
}

.status-dot,
.score {
  padding: 0.25rem 0.5rem;
  color: var(--success-soft-text);
  border: 1px solid var(--status-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-label);
  font-size: 0.65rem;
  white-space: nowrap;
}

.source-history {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block-start: var(--space-5);
  margin-block-start: var(--space-5);
  color: var(--stage-muted);
  border-block-start: 1px solid var(--stage-rule);
  font-size: var(--text-sm);
}

.source-history strong {
  color: var(--stage-text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.name-query {
  padding: var(--space-4);
  color: var(--stage-text-soft);
  border: 1px solid var(--stage-rule);
  border-radius: 0.6rem;
  background: var(--stage-panel);
}

.name-query mark {
  padding: 0.05rem 0.25rem;
  color: var(--blue-ink);
  border-radius: 0.25rem;
  background: var(--blue);
}

.name-answer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: var(--space-1) var(--space-4);
  padding-block: var(--space-4);
}

.name-answer > span:first-child {
  grid-column: 1 / -1;
  color: var(--stage-muted);
  font-size: var(--text-xs);
}

.name-rules {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-block-start: var(--space-4);
  border-block-start: 1px solid var(--stage-rule);
}

.name-rules span {
  padding: 0.32rem 0.55rem;
  color: var(--tag-blue);
  border-radius: var(--radius-pill);
  background: var(--tag-bg);
  font-size: var(--text-xs);
}

.ledger-ui > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
  color: var(--stage-muted);
  border-block-end: 1px solid var(--stage-rule);
  font-size: var(--text-sm);
}

.ledger-ui > div strong {
  color: var(--stage-text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ledger-ui .ledger-total {
  padding-block-end: 0;
  color: var(--stage-text);
  border-block-end: 0;
}

.ledger-ui .ledger-total strong {
  color: var(--gold);
  font-size: var(--text-lg);
}

.two-voices > header {
  margin-block-end: var(--space-12);
}

.voice-grid {
  border-block: 1px solid var(--rule-strong);
}

.voice-grid article {
  padding-block: var(--space-8);
}

.voice-grid article + article {
  border-block-start: 1px solid var(--rule-strong);
}

.voice-grid h3 {
  max-width: 15ch;
  margin-block-end: var(--space-4);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.03;
}

.voice-grid p:not(.voice-label) {
  max-width: 33rem;
  color: var(--ink-soft);
}

.voice-grid a {
  display: inline-flex;
  gap: var(--space-2);
  color: var(--blue-deep);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25rem;
}

.pricing {
  width: 100%;
  padding-inline: max(var(--space-4), calc((100% - var(--max-width)) / 2));
  color: var(--paper-pure);
  background: var(--stage);
}

.pricing .section-index {
  color: var(--price-label);
}

.pricing-intro > p:last-child {
  color: var(--stage-muted);
}

.pricing-table {
  border-block-start: 1px solid var(--stage-rule);
}

.plan-row {
  display: grid;
  min-width: 0;
  gap: var(--space-5);
  padding-block: var(--space-8);
  border-block-end: 1px solid var(--stage-rule);
}

.plan-row-featured {
  position: relative;
}

.plan-row-featured::before {
  content: "";
  position: absolute;
  inset: 0 calc(-1 * var(--space-4));
  z-index: 0;
  background: var(--plan-highlight);
  pointer-events: none;
}

.plan-row > * {
  position: relative;
  z-index: 1;
}

.plan-name {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}

.plan-name > span {
  color: var(--stage-muted);
  font-family: var(--font-label);
  font-size: var(--text-xs);
}

.plan-name h3 {
  margin: 0;
  font-size: var(--text-xl);
  letter-spacing: -0.035em;
}

.plan-row > p {
  max-width: 34rem;
  margin: 0;
  color: var(--stage-muted);
}

.plan-price strong,
.plan-price span {
  display: block;
}

.plan-price strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.plan-price span {
  margin-block-start: var(--space-1);
  color: var(--stage-muted);
  font-size: var(--text-xs);
}

.plan-row .button-outline {
  color: var(--paper-pure);
  border-color: var(--stage-button-rule);
}

.review-addons {
  padding-block-start: var(--space-16);
}

.review-addons-intro {
  display: grid;
  gap: var(--space-3);
  max-width: 38rem;
  margin-block-end: var(--space-8);
}

.review-addons-intro h3 {
  margin: 0;
  color: var(--stage-text);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.review-addons-intro p,
.review-addon-row p {
  margin: 0;
  color: var(--stage-muted);
}

.review-addon-list {
  border-block-start: 1px solid var(--stage-rule);
}

.review-addon-row {
  display: grid;
  gap: var(--space-5);
  padding-block: var(--space-6);
  border-block-end: 1px solid var(--stage-rule);
}

.review-addon-row h4 {
  margin: 0 0 var(--space-3);
  color: var(--stage-text);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.review-addon-row p {
  max-width: 50rem;
}

.review-addon-price {
  align-self: center;
}

.review-addon-price strong,
.review-addon-price span {
  display: block;
}

.review-addon-price strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}

.review-addon-price span {
  margin-block-start: var(--space-1);
  color: var(--stage-muted);
  font-size: var(--text-xs);
}

.review-addons-cta {
  margin-block-start: var(--space-6);
  color: var(--paper-pure);
  border-color: var(--stage-button-rule);
}

.faq {
  display: grid;
  gap: var(--space-12);
}

.faq-list {
  border-block-start: 1px solid var(--rule-strong);
}

.faq details {
  border-block-end: 1px solid var(--rule-strong);
}

.faq summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-5);
  padding-block: var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 650;
  line-height: 1.25;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary span {
  color: var(--blue);
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform var(--duration-fast) var(--ease-out);
}

.faq details[open] summary span {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 54ch;
  padding-block-end: var(--space-5);
  margin: 0;
  color: var(--ink-soft);
}

.final-cta {
  display: grid;
  place-items: center;
  padding: var(--space-20) max(var(--space-4), env(safe-area-inset-left));
  text-align: center;
  background: var(--gold);
}

.final-star {
  display: grid;
  width: 4.5rem;
  aspect-ratio: 1;
  place-items: center;
  margin-block-end: var(--space-6);
  color: var(--gold);
  border-radius: 50%;
  background: var(--ink);
  font-size: 2rem;
}

.final-cta .section-index {
  color: var(--gold-label);
}

.final-cta h2 {
  max-width: 16ch;
  margin-block-end: var(--space-5);
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.final-cta > p:not(.section-index) {
  max-width: 38rem;
  margin-block-end: var(--space-8);
  color: var(--gold-copy);
  font-size: var(--text-md);
}

.footer-line {
  display: grid;
  gap: var(--space-4);
  padding-block: var(--space-8) max(var(--space-8), env(safe-area-inset-bottom));
  border-block-start: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: var(--text-xs);
  letter-spacing: 0.015em;
}

.footer-line p {
  margin: 0;
}

.footer-line a {
  text-underline-offset: 0.2rem;
}

.footer-wordmark {
  width: max-content;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .nav-cta:hover,
  .replay-button:hover {
    transform: translateY(-2px);
  }

  .button-text:hover,
  .button-outline:hover,
  .replay-button:hover {
    border-color: var(--ink);
  }

  .nav-links a:hover,
  .voice-grid a:hover,
  .footer-line a:hover {
    color: var(--blue-deep);
  }
}

.button:active,
.nav-cta:active,
.replay-button:active {
  transform: translateY(0);
}

.replay-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (min-width: 40rem) {
  .proof,
  .workflow,
  .two-voices,
  .faq,
  .footer-line,
  .stat-strip {
    width: min(100% - 3rem, var(--max-width));
  }

  .nav-pill {
    gap: var(--space-6);
    padding-inline-start: var(--space-4);
  }

  .nav-toggle {
    display: none;
  }

  .wordmark {
    font-size: 1rem;
  }

  .nav-links {
    position: static;
    display: flex;
    min-width: 0;
    flex-direction: row;
    align-items: center;
    gap: var(--space-5);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-links a {
    padding: 0;
  }

  .proof-heading {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .demo-shell {
    padding: var(--space-6);
    border-radius: var(--radius-lg);
  }

  .stat-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat-strip > div {
    grid-template-columns: 1fr;
    gap: var(--space-2);
    padding: var(--space-6);
    border-block-end: 0;
    border-inline-end: 1px solid var(--rule);
  }

  .stat-strip > div:last-child {
    border-inline-end: 0;
  }

  .workflow-intro,
  .pricing-intro {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .workflow-intro .section-index,
  .pricing-intro .section-index {
    grid-column: auto;
  }

  .voice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .voice-grid article {
    padding: var(--space-10);
  }

  .voice-grid article + article {
    border-block-start: 0;
    border-inline-start: 1px solid var(--rule-strong);
  }

  .faq {
    grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
  }

  .footer-line {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }

  .footer-line p:last-child {
    text-align: end;
    white-space: nowrap;
  }
}

@media (min-width: 60rem) {
  .hero {
    min-height: 60rem;
  }

  .hero h1 {
    max-width: 18ch;
  }

  .proof {
    padding-block-start: var(--space-20);
  }

  .demo-flow {
    grid-template-columns: minmax(0, 1.5fr) 2.6rem minmax(0, 0.72fr) 2.6rem minmax(0, 0.62fr);
    gap: var(--space-4);
    padding-block: var(--space-8);
  }

  .demo-connector {
    transform: none;
  }

  .demo-shell.is-running .demo-connector {
    animation-name: connector-arrive-desktop;
  }

  @keyframes connector-arrive-desktop {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
  }

  .workflow-stage {
    grid-template-columns: 4.5rem minmax(0, 0.9fr) minmax(25rem, 1.1fr);
    gap: var(--space-10);
    padding-block: var(--space-12);
  }

  .stage-ui {
    padding: var(--space-6);
  }

  .plan-row {
    grid-template-columns: minmax(12rem, 0.8fr) minmax(18rem, 1.5fr) minmax(8rem, 0.55fr) auto;
    align-items: center;
    gap: var(--space-8);
  }

  .review-addon-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-12);
  }

  .plan-row-featured::before {
    inset-inline: calc(-1 * max(var(--space-4), (100vw - var(--max-width)) / 2));
  }
}

@media (min-width: 90rem) {
  .hero h1 {
    font-size: 7.25rem;
  }

  .proof,
  .workflow,
  .two-voices,
  .faq,
  .footer-line,
  .stat-strip {
    width: min(100% - 6rem, var(--max-width));
  }
}

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

  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .demo-shell.is-pending .demo-part {
    opacity: 1;
  }
}

/* Refinement 01 · Satoshi + Geist · shorter narrative */
.wordmark {
  font-weight: 700;
  letter-spacing: -0.025em;
}

.hero {
  min-height: min(46rem, 92svh);
  padding-block: clamp(7rem, 13svh, 9rem) clamp(10rem, 18svh, 13rem);
  overflow: clip;
}

.hero-kicker {
  width: min(100%, 37rem);
  margin-block-end: var(--space-5);
  text-align: start;
}

.hero h1 {
  max-width: 11ch;
  margin-block: 0 var(--space-6);
  font-size: var(--text-display);
  font-variation-settings: normal;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-lead {
  max-width: 37rem;
  margin-block-end: var(--space-7, 1.75rem);
  text-align: center;
}

.hero-assurances {
  margin-block-start: var(--space-6);
}

.proof {
  padding-block: var(--space-16) var(--space-6);
}

.proof-heading h2,
.workflow-intro h2,
.pricing-intro h2,
.faq h2 {
  max-width: 16ch;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.stat-strip {
  margin-block: var(--space-6) var(--space-16);
}

.workflow,
.pricing,
.faq {
  padding-block: var(--space-20);
}

.workflow-intro,
.pricing-intro {
  margin-block-end: var(--space-10);
}

.steps-grid {
  display: grid;
  padding: 0;
  margin: 0;
  border-block-start: 1px solid var(--rule-strong);
  list-style: none;
}

.steps-grid li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: var(--space-2) var(--space-4);
  padding-block: var(--space-6);
  border-block-end: 1px solid var(--rule-strong);
}

.step-number {
  grid-row: 1 / 3;
  color: var(--blue-deep);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.steps-grid h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.steps-grid p {
  max-width: 26rem;
  margin: 0;
  color: var(--ink-soft);
}

.pricing-intro > p:last-child {
  max-width: 29rem;
}

.faq {
  gap: var(--space-10);
}

.final-cta {
  padding-block: var(--space-16);
}

.final-star {
  width: 3.75rem;
  margin-block-end: var(--space-5);
  font-size: 1.65rem;
}

.final-cta h2 {
  max-width: 17ch;
  font-size: clamp(2.35rem, 5.8vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

@media (min-width: 40rem) {
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps-grid li {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    gap: var(--space-4);
    padding: var(--space-6);
    border-inline-end: 1px solid var(--rule-strong);
  }

  .steps-grid li:last-child {
    border-inline-end: 0;
  }

  .step-number {
    grid-row: auto;
  }
}

@media (min-width: 60rem) {
  .hero {
    min-height: 50rem;
  }

  .workflow-intro,
  .pricing-intro {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 90rem) {
  .hero h1 {
    font-size: var(--text-display);
  }
}

/* Refinement 02 · product story: grader first, diner path, honest stats */
.hero-kicker {
  text-align: center;
}

.hero h1 {
  max-width: 16ch;
  justify-self: center;
}

.hero-lead {
  width: min(100%, 40rem);
  max-width: 40rem;
  text-align: center;
}

.hero-lookup,
.hero-actions,
.hero-assurances {
  justify-self: center;
}

.hero-lookup {
  display: grid;
  width: min(100%, 38rem);
  gap: var(--space-3);
  margin-block-end: var(--space-4);
  animation: hero-in var(--duration-slow) var(--ease-out) both;
  animation-delay: 190ms;
}

.hero-lookup input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.86rem 1.2rem;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-pill);
  background: var(--paper-pure);
  font-size: var(--text-sm);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.hero-lookup input[type="search"]::-webkit-search-decoration,
.hero-lookup input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.hero-lookup input::placeholder {
  color: var(--ink-faint);
}

.hero-lookup input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}

.hero-lookup .button {
  width: 100%;
}

.hero-actions {
  animation-delay: 250ms;
}

.hero-assurances {
  animation-delay: 310ms;
}

.review-prompt {
  margin: var(--space-4) 0 0;
  color: var(--stage-muted);
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.statement-block {
  min-height: 0;
  padding-block: var(--space-24);
}

.statement-block p {
  max-width: 22ch;
}

.stat-strip {
  margin-block-end: var(--space-3);
}

.stat-strip-note {
  width: min(100% - 2rem, var(--max-width));
  max-width: 40rem;
  margin: 0 auto var(--space-16);
  color: var(--ink-faint);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.two-voices > header h2 {
  max-width: 18ch;
  margin-block-end: 0;
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.button-on-gold {
  color: var(--gold-ink);
  border-color: var(--gold-ink);
  background: transparent;
}

.final-cta .button-dark:hover,
.final-cta .button-on-gold:hover {
  transform: translateY(-2px);
}

@media (min-width: 40rem) {
  .hero-lookup {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
  }

  .hero-lookup .button {
    width: auto;
    white-space: nowrap;
  }

  .stat-strip-note {
    width: min(100% - 3rem, var(--max-width));
  }
}

@media (min-width: 90rem) {
  .stat-strip-note {
    width: min(100% - 6rem, var(--max-width));
  }
}

@media (hover: hover) and (pointer: fine) {
  .button-on-gold:hover {
    color: var(--paper-pure);
    background: var(--ink);
    border-color: var(--ink);
  }
}
