:root {
  --bg: #050505;
  --panel: #0b0b0c;
  --ink: #f3f4f5;
  --soft: rgba(243, 244, 245, .82);
  --muted: rgba(243, 244, 245, .68);
  --line: rgba(255, 255, 255, .11);
  --signal: #ffffff;
  --display: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --hero-video-opacity: .32;
  --measurement-opacity: 0;
  --trajectory-progress: 0;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--bg); color: var(--ink); }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  font-family: var(--display);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { color: #07101c; background: var(--signal); }
a { color: inherit; }
button, input { font: inherit; }
img, video, canvas, svg { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 13px;
  border-radius: 9px;
  color: #050505;
  background: white;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.scroll-stage { position: relative; height: 410vh; }
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}
.hero-sticky::after {
  content: "";
  position: absolute;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  height: 14vh;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(5,5,5,.82));
}
.hero-bg { position: absolute; z-index: -5; inset: 0; overflow: hidden; background: #030303; }
.hero-bg-video {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  object-fit: cover;
  opacity: var(--hero-video-opacity);
  filter: grayscale(1) contrast(1.04) brightness(.42);
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,5,5,.94), rgba(5,5,5,.75) 36%, rgba(5,5,5,.25) 68%, rgba(5,5,5,.74)),
    linear-gradient(180deg, rgba(5,5,5,.78), rgba(5,5,5,.08) 42%, rgba(5,5,5,.88));
}

.top-nav {
  position: absolute;
  z-index: 60;
  top: max(24px, env(safe-area-inset-top));
  right: clamp(22px, 4vw, 64px);
  left: clamp(22px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.92);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
}
.brand-mark {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}
.brand-mark circle { fill: var(--signal); stroke: none; filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.24)); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  padding: 0 16px 0 18px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
  color: rgba(255,255,255,.9);
  background: rgba(8,8,8,.46);
  backdrop-filter: blur(18px);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: .18s ease;
}
.nav-cta:hover { border-color: rgba(255,255,255,.92); background: rgba(255,255,255,.12); transform: translateY(-1px); }
.nav-cta:focus-visible, .stage-item:focus-visible, .waitlist-control :focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}

.story-copy {
  position: absolute;
  z-index: 24;
  top: 50%;
  left: clamp(28px, 7vw, 128px);
  width: min(710px, 49vw);
  min-height: 430px;
  transform: translateY(-44%);
  pointer-events: none;
}
.story-beat {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(28px);
  filter: blur(12px);
  will-change: opacity, transform, filter;
}
.story-beat:first-child { opacity: 1; transform: none; filter: none; }
.eyebrow, .section-kicker {
  margin: 0 0 18px;
  color: rgba(255,255,255,.52);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
}
.story-beat h1, .story-beat h2, .final-copy h2, .content-section h2, .waitlist-inner h2 {
  margin: 0;
  color: #f2f3f4;
  font-weight: 650;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.story-beat h1, .story-beat h2 { max-width: 720px; font-size: clamp(60px, 7.15vw, 122px); line-height: .93; }
.supporting-copy {
  max-width: 565px;
  margin: 26px 0 0;
  color: var(--soft);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.58;
}
.final-copy {
  position: absolute;
  z-index: 25;
  top: clamp(104px, 14vh, 154px);
  left: 50%;
  width: min(1040px, calc(100% - 48px));
  opacity: 0;
  text-align: center;
  transform: translate(-50%, 26px);
  filter: blur(12px);
  pointer-events: none;
}
.final-copy h2 { font-size: clamp(60px, 8.4vw, 136px); line-height: .92; }
.final-copy .supporting-copy { margin-right: auto; margin-left: auto; }

#phone-canvas { position: absolute; z-index: 12; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.measurement-stage {
  position: absolute;
  z-index: 20;
  top: 50%;
  left: 50%;
  width: min(78vw, 1120px);
  aspect-ratio: 1.92 / 1;
  opacity: var(--measurement-opacity);
  transform: translate(-50%, -43%);
  pointer-events: none;
}
.trajectory { position: absolute; inset: 10% 5% 22%; width: 90%; height: 68%; overflow: visible; }
.trajectory-guide, .trajectory-live { fill: none; vector-effect: non-scaling-stroke; }
.trajectory-guide { stroke: rgba(255,255,255,.14); stroke-dasharray: 5 14; stroke-width: 1.25; }
.trajectory-live {
  stroke: var(--signal);
  stroke-dasharray: 1000;
  stroke-dashoffset: calc(1000 - 1000 * var(--trajectory-progress));
  stroke-linecap: round;
  stroke-width: 2.25;
  filter: drop-shadow(0 0 10px rgba(255,255,255,.28));
}
.impact-ring, .ball-dot { fill: none; stroke: var(--signal); vector-effect: non-scaling-stroke; }
.impact-ring {
  opacity: calc(var(--trajectory-progress) * .86);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(calc(.65 + var(--trajectory-progress) * .65));
}
.ball-dot { fill: var(--signal); opacity: var(--trajectory-progress); filter: drop-shadow(0 0 9px var(--signal)); }
.tracking-reticle {
  position: absolute;
  top: 31%;
  right: 20%;
  width: 54px;
  height: 54px;
  opacity: calc(var(--trajectory-progress) * .86);
}
.tracking-reticle span { position: absolute; width: 14px; height: 14px; border-color: rgba(255,255,255,.74); }
.tracking-reticle span:nth-child(1) { top: 0; left: 0; border-top: 1px solid; border-left: 1px solid; }
.tracking-reticle span:nth-child(2) { top: 0; right: 0; border-top: 1px solid; border-right: 1px solid; }
.tracking-reticle span:nth-child(3) { right: 0; bottom: 0; border-right: 1px solid; border-bottom: 1px solid; }
.tracking-reticle span:nth-child(4) { bottom: 0; left: 0; border-bottom: 1px solid; border-left: 1px solid; }
.result-readout {
  position: absolute;
  right: 4%;
  bottom: 0;
  left: 4%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.22);
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(rgba(5,5,5,.12), rgba(5,5,5,.68));
  backdrop-filter: blur(16px);
}
.result { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; min-height: 84px; padding: 14px 22px 13px; }
.result + .result { border-left: 1px solid var(--line); }
.result span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.result strong {
  align-self: end;
  color: white;
  font-family: var(--mono);
  font-size: clamp(23px, 2.3vw, 35px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.result em {
  align-self: end;
  padding-bottom: 3px;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
  letter-spacing: .12em;
}

.stage-index {
  position: absolute;
  z-index: 34;
  right: clamp(24px, 4vw, 64px);
  top: 50%;
  display: grid;
  width: 122px;
  transform: translateY(-50%);
}
.stage-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  color: rgba(255,255,255,.42);
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.stage-item::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--signal);
  transition: width .32s ease;
}
.stage-item span { font-family: var(--mono); font-size: 11px; }
.stage-item strong {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.stage-item.is-active { color: rgba(255,255,255,.9); }
.stage-item.is-active::before { width: 100%; }
.scroll-cue {
  position: absolute;
  z-index: 35;
  bottom: max(30px, calc(env(safe-area-inset-bottom) + 20px));
  left: clamp(28px, 7vw, 128px);
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,.4);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.scroll-cue i { position: relative; width: 52px; height: 1px; overflow: hidden; background: rgba(255,255,255,.14); }
.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--signal), transparent);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
#phone-demo { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.model-loader {
  position: absolute;
  z-index: 70;
  bottom: 36px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: .3s ease;
}
.loader-line { width: 52px; height: 1px; background: linear-gradient(90deg, var(--signal), rgba(255,255,255,.12)); }
body.model-ready .model-loader { opacity: 0; transform: translate(-50%, 7px); pointer-events: none; }

.content-section { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: clamp(112px, 15vw, 220px) 0; }
.section-grid, .validation-layout { display: grid; grid-template-columns: 1.15fr .7fr; gap: clamp(50px, 8vw, 130px); align-items: start; }
.content-section h2, .waitlist-inner h2 { max-width: 850px; font-size: clamp(48px, 6.2vw, 94px); line-height: .98; }
.section-lead { margin: 0; color: rgba(255,255,255,.82); font-size: clamp(19px, 2vw, 26px); line-height: 1.42; }
.section-copy { margin: 26px 0 0; color: var(--muted); font-size: 15px; line-height: 1.72; }

.setup-visual {
  position: relative;
  height: min(48vw, 650px);
  min-height: 480px;
  margin-top: clamp(80px, 11vw, 150px);
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,.04), transparent 20rem);
}
.setup-phone {
  position: absolute;
  top: 50%;
  left: 23%;
  width: min(18vw, 245px);
  aspect-ratio: .465;
  overflow: hidden;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: clamp(22px, 2.3vw, 38px);
  background: #0b0b0c;
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
  transform: translate(-50%, -50%) rotate(-4deg);
}
.setup-phone img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.setup-line { position: absolute; top: 50%; right: 26%; left: 33%; height: 1px; background: var(--signal); box-shadow: 0 0 20px rgba(255,255,255,.12); }
.setup-result {
  position: absolute;
  top: 50%;
  right: 12%;
  display: grid;
  grid-template-columns: 1fr auto;
  width: min(25vw, 300px);
  padding: 24px 0;
  border-block: 1px solid var(--line);
  transform: translateY(-50%);
}
.setup-result span { grid-column: 1 / -1; color: var(--muted); font: 10px var(--mono); letter-spacing: .13em; }
.setup-result strong { color: white; font: 500 clamp(42px, 6vw, 86px)/.9 var(--mono); letter-spacing: -.06em; }
.setup-result em { align-self: end; padding-bottom: 8px; color: var(--signal); font: 10px var(--mono); font-style: normal; }
.setup-label {
  position: absolute;
  z-index: 3;
  display: flex;
  gap: 9px;
  color: var(--muted);
  font: 9px var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.setup-label span { color: var(--signal); }
.setup-label-phone { bottom: 14%; left: 14%; }
.setup-label-tee { top: 18%; left: 50%; }
.setup-label-result { right: 14%; bottom: 18%; }

.workflow-list { border-top: 1px solid var(--line); }
.workflow-list article {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: clamp(24px, 6vw, 90px);
  padding: clamp(34px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--line);
}
.workflow-number { padding-top: 8px; color: var(--signal); font: 11px var(--mono); }
.workflow-list h3 { margin: 0; font-size: clamp(30px, 3.5vw, 50px); font-weight: 600; letter-spacing: -.045em; }
.workflow-list p { max-width: 610px; margin: 14px 0 0; color: var(--muted); font-size: 15px; line-height: 1.68; }

.history-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 9vw, 150px); align-items: center; }
.history-copy h2 { font-size: clamp(43px, 5.2vw, 76px); }
.history-copy > p { margin: 28px 0 0; color: var(--muted); font-size: 16px; line-height: 1.72; }
.history-copy ul { margin: 44px 0 0; padding: 0; list-style: none; }
.history-copy li { padding: 17px 0; border-top: 1px solid var(--line); color: var(--soft); font-size: 13px; }
.history-device {
  overflow: hidden;
  padding: 12px 12px 0;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 30px 30px 0 0;
  background: var(--panel);
  box-shadow: 0 70px 160px rgba(0,0,0,.54);
}
.history-device-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 10px;
  color: var(--muted);
  font: 9px var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.history-device-bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 12px var(--signal); }
.history-device img { width: 100%; max-height: 760px; object-fit: cover; object-position: top; border-radius: 20px 20px 0 0; }

.validation-rule { height: 1px; margin-bottom: clamp(70px, 9vw, 120px); background: linear-gradient(90deg, var(--signal), var(--line) 22%, transparent); }
.validation-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 35px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font: 10px var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 14px var(--signal); }

.waitlist-section {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(900px, 88vh);
  padding: 100px 24px;
  border-top: 1px solid var(--line);
  background: radial-gradient(circle, rgba(255,255,255,.06), transparent 44%), #060607;
  text-align: center;
}
.waitlist-glow { display: none; }
.waitlist-inner { width: min(820px, 100%); }
.waitlist-inner h2 { margin-inline: auto; }
.waitlist-inner > p:not(.section-kicker) { max-width: 560px; margin: 25px auto 0; color: var(--muted); line-height: 1.65; }
.waitlist-form { width: min(640px, 100%); margin: 50px auto 0; text-align: left; }
.waitlist-form label { display: block; margin-bottom: 10px; color: var(--muted); font: 9px var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.waitlist-control {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
}
.waitlist-control:focus-within { border-color: rgba(255,255,255,.72); box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
.waitlist-control input { min-width: 0; height: 52px; padding: 0 14px; border: 0; outline: 0; color: white; background: transparent; }
.waitlist-control button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-width: 176px;
  height: 52px;
  padding: 0 16px 0 19px;
  border: 0;
  border-radius: 10px;
  color: #07101c;
  background: #f0f4fa;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}
.waitlist-control button:hover { background: var(--signal); }
.waitlist-control button:disabled { opacity: .6; cursor: wait; }
.form-status { min-height: 20px; margin: 12px 2px 0; color: var(--muted); font-size: 11px; }
.form-status.is-error { color: rgba(255, 255, 255, 0.88); }
.form-status.is-success { color: rgba(255, 255, 255, 0.78); }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 132px;
  padding: 30px clamp(24px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.site-footer p { color: var(--soft); }
.site-footer > span { justify-self: end; }
.footer-brand { color: var(--soft); }

@media (max-width: 820px) {
  .scroll-stage { height: 370vh; }
  .hero-sticky { min-height: 630px; }
  .story-copy { top: clamp(115px, 16vh, 160px); left: 24px; width: calc(100% - 48px); min-height: 270px; transform: none; text-align: center; }
  .story-beat { justify-content: flex-start; }
  .story-beat h1, .story-beat h2 { margin-inline: auto; font-size: clamp(44px, 11.5vw, 76px); line-height: .96; }
  .supporting-copy { max-width: 480px; margin-inline: auto; font-size: 14px; }
  .final-copy { top: clamp(108px, 15vh, 148px); width: calc(100% - 36px); }
  .final-copy h2 { font-size: clamp(44px, 11.5vw, 76px); }
  .stage-index { top: auto; right: 50%; bottom: max(86px, calc(env(safe-area-inset-bottom) + 70px)); grid-template-columns: repeat(3, 1fr); width: min(360px, calc(100vw - 48px)); transform: translateX(50%); }
  .stage-item { grid-template-columns: 1fr; text-align: center; }
  .stage-item span { display: none; }
  .scroll-cue { left: 50%; transform: translateX(-50%); }
  .measurement-stage { top: 57%; width: 96vw; }
  .result { min-height: 68px; padding: 11px 12px; }
  .content-section { width: min(100% - 36px, 720px); padding-block: 110px; }
  .section-grid, .validation-layout, .history-layout { grid-template-columns: 1fr; gap: 44px; }
  .content-section h2, .waitlist-inner h2 { font-size: clamp(44px, 12vw, 72px); }
  .setup-visual { height: 650px; }
  .setup-phone { top: 37%; left: 33%; width: min(42vw, 230px); }
  .setup-line { top: 66%; right: 17%; left: 17%; }
  .setup-result { top: auto; right: 10%; bottom: 5%; width: min(48vw, 270px); transform: none; }
  .setup-label-phone { top: 12%; bottom: auto; }
  .setup-label-tee { top: 59%; left: 15%; }
  .setup-label-result { bottom: 30%; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { display: none; }
}

@media (max-width: 560px) {
  .top-nav { top: max(18px, env(safe-area-inset-top)); right: 18px; left: 18px; }
  .nav-cta { min-height: 40px; padding-inline: 14px; }
  .nav-cta span:first-child { max-width: 98px; overflow: hidden; white-space: nowrap; }
  .story-copy { top: clamp(103px, 14vh, 136px); left: 18px; width: calc(100% - 36px); }
  .story-beat h1, .story-beat h2, .final-copy h2 { font-size: clamp(40px, 12.6vw, 60px); }
  .eyebrow { max-width: 330px; margin-inline: auto; font-size: 8.5px; }
  .supporting-copy { max-width: 340px; margin-top: 18px; font-size: 13px; }
  .measurement-stage { top: 58%; width: 102vw; }
  .trajectory { inset: 11% 4% 28%; width: 92%; height: 61%; }
  .result { min-height: 61px; padding: 9px 8px; }
  .result span, .result em { font-size: 7px; }
  .result strong { font-size: 18px; }
  .stage-index { bottom: max(73px, calc(env(safe-area-inset-bottom) + 58px)); width: calc(100vw - 36px); }
  .scroll-cue span { display: none; }
  .setup-visual { min-height: 590px; }
  .setup-phone { left: 31%; width: min(48vw, 215px); }
  .setup-result { right: 7%; width: min(52vw, 235px); }
  .workflow-list article { grid-template-columns: 42px 1fr; gap: 12px; }
  .waitlist-control { grid-template-columns: 1fr; }
  .waitlist-control button { width: 100%; }
  .site-footer { padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-stage { height: 190vh; }
  .hero-bg-video, .scroll-cue, .stage-index { display: none; }
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
