:root {
  --bg: #000000;
  --panel: #1b1c20;
  --panel-soft: #242529;
  --border: rgba(255, 255, 255, 0.10);
  --text: #f5f7fa;
  --text-muted: rgba(245, 247, 250, 0.62);
  --text-soft: rgba(245, 247, 250, 0.42);
  --carry: #47d37c;
  --apex: #36c8f6;
  --speed: #f2c75a;
  --processing: #d7a94a;
  --blue: #3289ff;
  --accent: var(--blue);
  --shadow: 0 32px 100px rgba(0, 0, 0, 0.38);
  --max-width: 1180px;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #000;
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.035), transparent 34rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 34%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.018) 48%, transparent 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  height: 78px;
  padding: 0 clamp(18px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(24px);
  transition:
    background 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.84);
  border-bottom-color: rgba(255, 255, 255, 0.085);
  box-shadow: none;
}

.brand {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  color: var(--text);
}

.brand-wordmark {
  width: clamp(112px, 9vw, 138px);
  height: auto;
  object-fit: contain;
}

.site-footer .brand-wordmark {
  width: 146px;
  opacity: 0.86;
}

.nav-links {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  grid-column: 3;
  justify-self: end;
  padding: 10px 17px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: #fff;
  color: #05070a;
  font-size: 13px;
  font-weight: 820;
  letter-spacing: -0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 10px 24px rgba(0, 0, 0, 0.18);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 12px 28px rgba(0, 0, 0, 0.22);
}

.cinematic-flow {
  position: relative;
  isolation: isolate;
  height: auto;
  min-height: 0;
}

.product-stage {
  --stage-x: 0px;
  --stage-y: 0px;
  --stage-scale: 1;
  --stage-opacity: 1;
  --stage-blur: 0px;
  --stage-z: 1;
  --stage-shadow: 0.72;
  position: sticky;
  top: 0;
  z-index: var(--stage-z);
  height: 100svh;
  margin-bottom: -100svh;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

.product-stage-inner {
  position: relative;
  width: min(430px, 42vw);
  aspect-ratio: 9 / 16;
  transform:
    translate3d(var(--stage-x), var(--stage-y), 0)
    scale(var(--stage-scale));
  transform-origin: 50% 49%;
  opacity: var(--stage-opacity);
  filter:
    blur(var(--stage-blur))
    drop-shadow(0 44px 100px rgba(0, 0, 0, var(--stage-shadow)));
  will-change: transform, opacity, filter;
}

.product-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(52vw, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.035), transparent 70%);
  filter: blur(44px);
  opacity: calc(var(--stage-opacity) * 0.55);
  transform: translate3d(-50%, -50%, 0);
}

.product-animation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  background: transparent;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.product-stage.media-failed .product-animation {
  display: none;
}

.product-stage.media-failed .product-stage-inner::after {
  content: "Product animation could not load";
  display: block;
  max-width: 220px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

.section {
  position: relative;
  z-index: 2;
  width: min(var(--max-width), calc(100vw - 40px));
  margin: 0 auto;
}

.cinematic-section {
  min-height: 94svh;
  padding: 118px 0 72px;
  display: flex;
  align-items: center;
}

.hero {
  min-height: 205svh;
  padding-top: 0;
  display: block;
}

.feature-section {
  --capture-opacity: 0;
  --capture-blur: 8px;
  --capture-scale: 0.982;
  --capture-pointer: none;
  z-index: 5;
}

.feature-section {
  min-height: 260svh;
  margin-top: -78svh;
  padding-top: 0;
  padding-bottom: 0;
  display: block;
  pointer-events: var(--capture-pointer);
}

.hero-copy,
.section-copy {
  max-width: min(660px, 52vw);
}

.hero-copy {
  --hero-opacity: 1;
  --hero-blur: 0px;
  --hero-y: 0px;
  --hero-scale: 1;
  position: sticky;
  top: 52%;
  z-index: 3;
  width: min(1220px, calc(100vw - 156px));
  max-width: none;
  margin: 0 auto;
  text-align: center;
  will-change: transform, opacity, filter;
}

.hero-copy.reveal.is-visible {
  opacity: var(--hero-opacity);
  transform: translate3d(0, calc(-50% + var(--hero-y)), 0) scale(var(--hero-scale));
  filter: blur(var(--hero-blur));
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-label {
  margin: 0 0 18px;
  color: rgba(245, 247, 250, 0.42);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.capture-lockup {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 6;
  width: min(var(--max-width), calc(100vw - 40px));
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.68fr);
  gap: clamp(40px, 8vw, 118px);
  align-items: center;
  opacity: var(--capture-opacity);
  transform: translate3d(-50%, -50%, 0) scale(var(--capture-scale));
  filter: blur(var(--capture-blur));
  pointer-events: var(--capture-pointer);
  will-change: transform, opacity, filter;
}

.record-visual {
  position: relative;
  top: auto;
  justify-self: center;
  align-self: start;
  width: min(500px, 44vw);
  aspect-ratio: 9 / 16;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter:
    drop-shadow(0 38px 82px rgba(0, 0, 0, 0.44));
  will-change: transform, opacity, filter;
}

.record-visual::before {
  content: "";
  position: absolute;
  inset: 15% -12% 9%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.035), transparent 68%);
  filter: blur(34px);
}

.record-animation {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-weight: 760;
  letter-spacing: -0.034em;
  word-spacing: 0.025em;
  text-wrap: balance;
}

h1,
h2 {
  line-height: 0.98;
}

h1 {
  max-width: none;
  font-size: clamp(76px, 9.2vw, 158px);
  line-height: 0.88;
}

h2 {
  max-width: 800px;
  font-size: clamp(46px, 6vw, 90px);
}

p {
  color: var(--text-muted);
}

.hero-subhead,
.section-copy p,
.waitlist-copy p {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(245, 247, 250, 0.74);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.58;
  letter-spacing: -0.02em;
}

.hero-subhead {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 28px;
  color: rgba(245, 247, 250, 0.80);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.45;
}

.hero .waitlist-form {
  margin-right: auto;
  margin-left: auto;
}

.waitlist-form {
  width: min(580px, 100%);
  margin-top: 32px;
  padding: 6px;
  display: flex;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 18px 46px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(22px);
}

.waitlist-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 16px 18px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
}

.waitlist-form input::placeholder {
  color: rgba(245, 247, 250, 0.44);
}

.waitlist-form button {
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: #fff;
  color: #05070a;
  font-size: 14px;
  font-weight: 820;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 12px 34px rgba(0, 0, 0, 0.26);
}

.waitlist-form button:hover {
  transform: translateY(-1px);
  background: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 16px 42px rgba(0, 0, 0, 0.32);
}

.form-note {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.library-section {
  --library-handoff-opacity: 0;
  --library-handoff-blur: 10px;
  --library-handoff-scale: 0.982;
  position: relative;
  z-index: 7;
  width: min(var(--max-width), calc(100vw - 40px));
  min-height: 108svh;
  padding: 14svh 0 10svh;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(390px, 0.72fr);
  gap: clamp(48px, 8vw, 118px);
  align-items: center;
  opacity: var(--library-handoff-opacity);
  transform: translate3d(0, 0, 0) scale(var(--library-handoff-scale));
  filter: blur(var(--library-handoff-blur));
  pointer-events: auto;
  will-change: opacity, transform, filter;
}

.metrics-console {
  position: relative;
  width: min(480px, 100%);
  justify-self: end;
}

.shot-context {
  width: 100%;
  padding: 0 19px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--text-soft);
  line-height: 1;
}

.shot-context span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.shot-context span:nth-child(2) {
  text-align: center;
}

.shot-context strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: 15px;
  font-weight: 760;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: right;
}

.metric-tiles {
  display: grid;
  gap: 10px;
}

.metric-tile {
  position: relative;
  min-height: 104px;
  overflow: hidden;
  padding: 18px 19px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.026)),
    rgba(255, 255, 255, 0.010);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.058);
}

.metric-tile::before {
  content: "";
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 1px;
  background: rgba(255, 255, 255, 0.13);
}

.metric-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: none;
}

.metric-tile strong {
  display: block;
  color: var(--text);
  font-size: clamp(40px, 4.2vw, 58px);
  font-weight: 760;
  line-height: 0.92;
  letter-spacing: -0.06em;
  transform-origin: 50% 100%;
}

.metric-carry .metric-label {
  color: var(--carry);
}

.metric-apex .metric-label {
  color: var(--apex);
}

.metric-speed .metric-label {
  color: var(--speed);
}

.metric-tile strong.is-updating,
.shot-context strong.is-updating,
.shot-context span.is-updating {
  animation: metricFlip 520ms var(--ease);
}

.waitlist-section {
  width: min(var(--max-width), calc(100vw - 40px));
  min-height: auto;
  padding: 20px 0 90px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.66fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
}

.waitlist-action {
  display: grid;
  gap: 14px;
}

.waitlist-section .waitlist-form {
  width: 100%;
  margin-top: 0;
}

.waitlist-section .form-note {
  margin: 0;
}

.site-footer {
  width: min(var(--max-width), calc(100vw - 40px));
  margin: 0 auto;
  padding: 32px 0 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 780ms var(--ease),
    transform 780ms var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#capture .section-copy.reveal,
#capture .section-copy.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
  will-change: opacity, filter;
}

#capture .record-visual.reveal,
#capture .record-visual.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: none;
}

#library .reveal,
#library .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

@keyframes metricFlip {
  0% {
    opacity: 0;
    transform: translateY(7px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto 1fr;
  }

  .nav-links {
    display: none;
  }

  .cinematic-flow {
    height: auto;
    min-height: 0;
  }

  .product-stage {
    position: sticky;
    top: 0;
    height: 100svh;
    margin-bottom: -100svh;
    justify-content: center;
    padding: 0;
  }

  .product-stage-inner {
    width: min(320px, 82vw);
  }

  .product-orbit {
    width: min(78vw, 420px);
    transform: translate3d(-50%, -50%, 0);
  }

  .cinematic-section {
    min-height: 92svh;
  }

  .section-copy {
    max-width: 760px;
  }

  .feature-section {
    min-height: 220svh;
    margin-top: -64svh;
    padding-top: 0;
    padding-bottom: 0;
  }

  .capture-lockup {
    top: 54%;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-copy {
    width: min(100% - 28px, 760px);
  }

  .record-visual {
    position: relative;
    top: auto;
    align-self: center;
    width: min(410px, 88vw);
    justify-self: center;
  }

  #capture .section-copy.reveal,
  #capture .section-copy.reveal.is-visible {
    transform: none;
  }

  #capture .record-visual.reveal,
  #capture .record-visual.reveal.is-visible {
    transform: translate3d(0, 0, 0) scale(var(--capture-scale));
  }

  .library-section,
  .waitlist-section {
    grid-template-columns: 1fr;
  }

  .library-section {
    width: min(100% - 28px, var(--max-width));
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 68px;
  }

  .brand-wordmark {
    width: 108px;
  }

  .nav-cta {
    padding: 9px 12px;
    font-size: 12px;
  }

  .section {
    width: min(100% - 28px, var(--max-width));
  }

  .hero {
    min-height: 196svh;
    padding-top: 0;
  }

  .cinematic-section {
    min-height: 88svh;
    padding: 104px 0 58px;
  }

  h1 {
    font-size: clamp(50px, 15vw, 78px);
    letter-spacing: -0.032em;
  }

  h2 {
    font-size: clamp(40px, 12vw, 66px);
    letter-spacing: -0.032em;
  }

  .hero-subhead,
  .section-copy p,
  .waitlist-copy p {
    font-size: 17px;
  }

  .waitlist-form {
    border-radius: 26px;
    flex-direction: column;
  }

  .waitlist-form input {
    padding: 15px 16px;
  }

  .waitlist-form button {
    min-height: 50px;
  }

  .library-section {
    padding: 70px 0 50px;
  }

  .metrics-console {
    width: 100%;
    justify-self: start;
  }

  .metric-tile {
    min-height: 104px;
    border-radius: 22px;
  }

  .waitlist-section {
    min-height: auto;
    padding: 28px 0 80px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .product-stage-inner {
    transform: none;
  }
}
