:root {
  color-scheme: dark;
  --bg: #07080d;
  --bg-soft: #101119;
  --surface: rgba(255, 255, 255, 0.065);
  --surface-strong: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.13);
  --text: #f6f4ef;
  --muted: #b8b4aa;
  --subtle: #7f827c;
  --mint: #95f2c8;
  --amber: #ffd08a;
  --rose: #ff9fbc;
  --blue: #9dc4ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --shell: min(1120px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(149, 242, 200, 0.16), transparent 34rem),
    radial-gradient(circle at 95% 14%, rgba(255, 208, 138, 0.09), transparent 28rem),
    linear-gradient(180deg, #080910 0%, #080910 48%, #0d0e13 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 76%);
}

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

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

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  color: #07110d;
  background: var(--mint);
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.phone-break {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 8, 13, 0.66);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(20px);
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 8, 13, 0.88);
  border-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}

.brand,
.nav-links,
.hero-actions,
.form-row,
.footer-inner {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(149, 242, 200, 0.36);
  border-radius: 50%;
  background:
    radial-gradient(circle at 62% 34%, #fff9e8 0 10%, transparent 11%),
    radial-gradient(circle at 45% 55%, rgba(149, 242, 200, 0.95) 0 34%, transparent 35%),
    #17231f;
  box-shadow: 0 0 24px rgba(149, 242, 200, 0.28);
}

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a,
.nav-cta {
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--text);
}

.nav-cta {
  padding: 9px 13px;
  color: var(--mint);
  border: 1px solid rgba(149, 242, 200, 0.24);
  border-radius: var(--radius);
  background: rgba(149, 242, 200, 0.08);
  font-size: 0.92rem;
  font-weight: 700;
}

.section {
  padding: 64px 0;
}

.hero {
  position: relative;
  min-height: min(860px, calc(100svh - 72px));
  display: grid;
  align-items: center;
  padding-top: 44px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 18% -20% auto;
  height: 420px;
  pointer-events: none;
  background:
    radial-gradient(circle at 25% 60%, rgba(149, 242, 200, 0.18), transparent 26rem),
    radial-gradient(circle at 70% 40%, rgba(255, 208, 138, 0.13), transparent 24rem);
  filter: blur(12px);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: min(840px, 64vw);
  max-width: none;
}

.hero-media {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  max-width: 650px;
  margin: 0 0 20px;
  color: #dfeee2;
  font-size: 0.96rem;
  font-weight: 700;
}

.topline span {
  position: relative;
  display: inline-block;
}

.topline span + span {
  padding-left: 18px;
}

.topline span + span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: rgba(149, 242, 200, 0.82);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(149, 242, 200, 0.35);
  transform: translateY(-50%);
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.8vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
  hyphens: auto;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 5vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.2;
}

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

.hero-subhead,
.section-heading p {
  max-width: 660px;
  font-size: 1.12rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 16px;
}

.button {
  min-width: 0;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-align: center;
  transition:
    transform 170ms ease,
    border-color 170ms ease,
    background 170ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.66;
  transform: none;
}

.button-primary {
  color: #07110d;
  background: linear-gradient(135deg, #dfffea, var(--mint));
  box-shadow: 0 14px 40px rgba(149, 242, 200, 0.2);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}

.price-note {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 0 0 24px;
  padding: 0 14px;
  color: var(--amber);
  border: 1px solid rgba(255, 208, 138, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 208, 138, 0.08);
  font-weight: 800;
}

.hero-progress,
.panel,
.use-card,
.story-card,
.cta-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.038));
  box-shadow: var(--shadow);
}

.hero-progress {
  max-width: 520px;
  padding: 16px;
  box-shadow: none;
}

.hero-progress p {
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 800;
}

.product-stage {
  position: relative;
  isolation: isolate;
}

.product-stage::after {
  position: absolute;
  right: 8%;
  bottom: -4%;
  left: 12%;
  z-index: -1;
  height: 22%;
  content: "";
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  filter: blur(32px);
}

.prototype-stage {
  display: grid;
  place-items: center;
}

.prototype-photo {
  position: relative;
  width: min(520px, 100%);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: #111;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 34px 90px rgba(0, 0, 0, 0.48);
  transform: rotateX(2deg) rotateY(-3deg) rotateZ(0.5deg);
}

.prototype-photo::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 70% 64%, transparent 0 28%, rgba(7, 8, 13, 0.08) 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.1));
}

.prototype-photo img {
  width: 100%;
  aspect-ratio: 1.34;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.04) brightness(0.92);
}

.prototype-photo figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 7px 10px;
  color: rgba(246, 244, 239, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(7, 8, 13, 0.62);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 700;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading.narrow {
  max-width: 620px;
}

.solution-grid,
.use-grid {
  display: grid;
  gap: 16px;
}

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

.panel,
.use-card,
.story-card {
  padding: 24px;
}

.panel p,
.use-card p,
.story-card p {
  margin-bottom: 0;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 36px;
  color: var(--mint);
  border: 1px solid rgba(149, 242, 200, 0.2);
  border-radius: 50%;
  background: rgba(149, 242, 200, 0.07);
  font-size: 0.82rem;
  font-weight: 800;
}

.use-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.use-card {
  min-height: 216px;
  box-shadow: none;
}

.use-card.featured {
  background:
    linear-gradient(135deg, rgba(149, 242, 200, 0.16), rgba(255, 208, 138, 0.08)),
    rgba(255, 255, 255, 0.055);
}

.use-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 26px;
  color: #07110d;
  background: var(--amber);
  border-radius: 50%;
  font-size: 0.86rem;
  font-weight: 900;
}

.story-shell {
  max-width: 920px;
}

.story-card {
  padding: clamp(28px, 5vw, 56px);
  background:
    linear-gradient(135deg, rgba(157, 196, 255, 0.1), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.04));
}

.story-card p + p {
  margin-top: 18px;
}

.disclaimer {
  padding-top: 18px;
  color: #d4d1c8;
  border-top: 1px solid var(--line);
}

.final-cta {
  padding-top: 24px;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: center;
  padding: clamp(24px, 5vw, 48px);
  background:
    radial-gradient(circle at 15% 20%, rgba(149, 242, 200, 0.18), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
}

.cta-panel h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.signup-meter {
  max-width: 420px;
  margin: 22px 0;
}

.hero-progress .signup-meter {
  max-width: none;
  margin: 0;
}

.meter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 0.94rem;
}

.meter-row span {
  color: var(--subtle);
  font-weight: 700;
}

.meter-track {
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(6, 8, 12, 0.62);
}

.meter-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint), var(--amber));
  transition: width 480ms ease;
}

.cta-price {
  margin-bottom: 0;
  color: var(--amber);
  font-weight: 800;
}

.waitlist-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 800;
}

.form-row {
  gap: 10px;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(6, 8, 12, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}

input:focus {
  border-color: rgba(149, 242, 200, 0.72);
  box-shadow: 0 0 0 4px rgba(149, 242, 200, 0.12);
}

.form-note {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--subtle);
  font-size: 0.88rem;
}

.site-footer {
  padding: 28px 0;
  color: var(--subtle);
}

.footer-inner {
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

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

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

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

@media (max-width: 920px) {
  .hero-inner,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    margin-top: 4px;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .hero-copy > * {
    max-width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    max-width: 100%;
  }

  .prototype-photo {
    width: min(620px, 100%);
    transform: none;
  }

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

  .cta-panel {
    gap: 20px;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 24px, 1120px);
  }

  .nav {
    min-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    padding: 8px 10px;
  }

  .section {
    padding: 48px 0;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-inner {
    gap: 28px;
  }

  h1 {
    font-size: clamp(2rem, 8.7vw, 3rem);
    line-height: 1.06;
  }

  .phone-break {
    display: inline;
  }

  .hero-subhead,
  .section-heading p {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .price-note {
    max-width: 100%;
  }

  .solution-grid,
  .use-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    align-items: stretch;
    flex-direction: column;
  }

  .form-row .button {
    width: 100%;
  }

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

@media (max-width: 420px) {
  .brand span:last-child {
    display: none;
  }

  .topline {
    font-size: 0.9rem;
  }

  .hero-actions .button {
    padding-inline: 12px;
    font-size: 0.94rem;
  }

  .price-note,
  .meter-row {
    font-size: 0.88rem;
  }

  .meter-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
}
