:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #0b0c0e;
  --panel-raised: #101216;
  --ink: #f5f6f7;
  --soft: rgba(245, 246, 247, 0.82);
  --muted: rgba(245, 246, 247, 0.68);
  --faint: rgba(245, 246, 247, 0.48);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --signal: #ffffff;
  --signal-dim: rgba(255, 255, 255, 0.34);
  --signal-wash: rgba(255, 255, 255, 0.08);
  --page-gutter: clamp(20px, 4vw, 64px);
  --section-space: clamp(108px, 14vw, 210px);
  --section-max: 1240px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --z-nav: 220;
  --z-skip: 300;
}

html {
  background: var(--bg);
  color: var(--ink);
  color-scheme: dark;
}

body { background: var(--bg); }
body::before { display: none; }

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

.skip-link { z-index: var(--z-skip); }

:where(a, button, input):focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}

:where(a, button) {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.14);
  touch-action: manipulation;
}

/* Preserve the hero choreography while tightening the presentation. */
.story-beat h1,
.story-beat h2 {
  max-width: 700px;
  font-size: clamp(54px, 6.7vw, 96px);
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.final-copy h2 { letter-spacing: -0.04em; }
.eyebrow { color: rgba(255, 255, 255, 0.64); }
.stage-item { min-height: 44px; }

.stage-item::before { transition: width 320ms var(--ease-out); }

.model-loader {
  transition-property: opacity, transform;
  transition-duration: 300ms;
  transition-timing-function: var(--ease-out);
}

.top-nav {
  z-index: var(--z-nav);
  background: rgba(5, 5, 5, 0.76);
  box-shadow: none;
}

.nav-shell { grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr); }

.nav-links a {
  color: rgba(255, 255, 255, 0.62);
  transition-property: color;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.nav-links a::after {
  background: var(--signal);
  transition-property: transform;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.top-nav .nav-cta {
  min-height: 44px;
  transition-property: color, background-color, border-color, transform;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.top-nav .nav-cta:active { transform: translateY(0); }

.site-section {
  position: relative;
  overflow: clip;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.section-shell {
  width: min(var(--section-max), calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
  padding-block: var(--section-space);
}

.section-label {
  margin: 0 0 20px;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.site-section h2,
.waitlist-section-complete h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 6vw, 86px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.site-section h3 { text-wrap: balance; }

.site-section p,
.waitlist-section-complete p,
.site-footer-complete p,
.site-footer-complete address { text-wrap: pretty; }

.section-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(19px, 1.9vw, 25px);
  line-height: 1.46;
}

.section-header-split,
.validation-header,
.launch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.72fr);
  align-items: start;
  gap: clamp(52px, 9vw, 144px);
}

.section-intro-copy > p:not(.section-lead),
.validation-header > div:last-child > p:not(.section-lead),
.launch-copy > p:not(.section-lead),
.record-copy > p:not(.section-lead),
.workflow-intro > p:not(.section-label) {
  max-width: 64ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

/* Product setup: a physical diagram, not another card. */
.product-intro {
  background:
    radial-gradient(circle at 18% 76%, rgba(255, 255, 255, 0.035), transparent 32rem),
    linear-gradient(180deg, #050505, #07080a 48%, #050505);
}

.setup-visual {
  position: relative;
  height: clamp(520px, 52vw, 690px);
  min-height: 0;
  margin: clamp(80px, 10vw, 144px) 0 0;
  overflow: hidden;
  border-block: 1px solid var(--line-strong);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.025)),
    #07080a;
}

.setup-axis {
  position: absolute;
  top: 50%;
  right: 9%;
  left: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--signal-dim) 12%, var(--signal) 52%, var(--signal-dim) 88%, transparent);
  opacity: 0.7;
}

.setup-axis::before,
.setup-axis::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid var(--signal);
  border-radius: 50%;
  background: var(--bg);
  transform: translateY(-50%);
}

.setup-axis::before { left: 11%; }
.setup-axis::after { right: 11%; }

.setup-node {
  position: absolute;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 11px;
  align-items: baseline;
  color: var(--soft);
  font-family: var(--mono);
  text-transform: uppercase;
}

.setup-node > span {
  grid-row: 1 / 3;
  color: var(--signal);
  font-size: 9px;
}

.setup-node strong {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.setup-node small {
  margin-top: 5px;
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.setup-node-phone { bottom: 12%; left: 8%; }
.setup-node-tee { top: 12%; left: 49%; transform: translateX(-50%); }
.setup-node-result { right: 8%; bottom: 12%; }

.setup-phone {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 20%;
  width: clamp(150px, 16vw, 226px);
  aspect-ratio: 1179 / 2556;
  overflow: hidden;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 16px;
  background: #08090b;
  box-shadow: none;
  transform: translate(-50%, -50%) rotate(-4deg);
}

.setup-phone img {
  width: 100%;
  height: 100%;
  border-radius: 11px;
  object-fit: cover;
}

.setup-tee {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 190px;
  height: 250px;
  transform: translate(-50%, -42%);
}

.tee-ball {
  position: absolute;
  top: 0;
  left: 50%;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffffff, #d9dce0 56%, #8d9298 100%);
  transform: translateX(-50%);
}

.tee-stem {
  position: absolute;
  top: 39px;
  bottom: 30px;
  left: 50%;
  width: 3px;
  background: linear-gradient(#babec3, #4b4f55);
  transform: translateX(-50%);
}

.tee-base {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #111318;
  clip-path: polygon(16% 0, 84% 0, 100% 100%, 0 100%);
}

.setup-output {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 8%;
  display: grid;
  grid-template-columns: 1fr auto;
  width: clamp(230px, 25vw, 330px);
  padding-block: 22px;
  border-block: 1px solid var(--line-strong);
  transform: translateY(-50%);
}

.setup-output span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.setup-output strong {
  color: white;
  font-family: var(--mono);
  font-size: clamp(50px, 6vw, 82px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.setup-output em {
  align-self: end;
  padding-bottom: 9px;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.12em;
}

.setup-output i {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 42%;
  height: 1px;
  background: var(--signal);
}
