:root {
  color-scheme: dark;
  --bg: #0e0f11;
  --bg-soft: #15171b;
  --surface: #1b1e24;
  --surface-high: #242832;
  --border: #303541;
  --text: #f5f6f8;
  --muted: #a9afba;
  --quiet: #757d8a;
  --accent: #00e0c6;
  --accent-ink: #071211;
  --coral: #ff7a5c;
  --gold: #f2c94c;
  --paper: #f0e3c2;
  --blue: #78a7ff;
  --max: 1120px;
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(14, 15, 17, 0.78), var(--bg) 54%),
    repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.035) 0,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 92px
  ),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

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

picture {
  display: block;
}

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  padding: 18px 24px;
  background: rgba(14, 15, 17, 0.78);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand-link img {
  display: block;
  border-radius: 8px;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-header a,
.site-footer a {
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  padding: 104px 24px 64px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.66fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-copy h1,
.section-heading h2,
.split-band h2,
.legal-title h1 {
  margin: 0;
  max-width: 760px;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero-copy h1 {
  font-size: clamp(3.5rem, 7vw, 6.6rem);
}

.hero-statement {
  max-width: 780px;
  margin: 12px 0 0;
  color: var(--text);
  font-size: clamp(2rem, 4.2vw, 4.5rem);
  font-weight: 800;
  line-height: 0.98;
}

.lede {
  max-width: 650px;
  margin: 22px 0 30px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.65vw, 1.35rem);
  line-height: 1.45;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.waitlist-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  width: min(680px, 100%);
}

.waitlist-form input[type="email"] {
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  background: rgba(14, 15, 17, 0.88);
  color: var(--text);
}

.waitlist-form input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 224, 198, 0.18);
}

.waitlist-form button {
  min-height: 54px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  cursor: pointer;
}

.waitlist-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.turnstile-slot {
  grid-column: 1 / -1;
  min-height: 0;
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-note {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--quiet);
  font-size: 0.92rem;
}

.form-note strong,
.form-note span {
  display: block;
}

.form-note strong {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 1rem;
}

.form-note.success {
  width: min(680px, 100%);
  padding: 16px 18px;
  border: 1px solid rgba(0, 224, 198, 0.5);
  border-radius: var(--radius);
  background: rgba(0, 224, 198, 0.1);
  color: var(--muted);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.form-note.error {
  width: min(680px, 100%);
  padding: 14px 16px;
  border: 1px solid rgba(255, 107, 107, 0.48);
  border-radius: var(--radius);
  background: rgba(255, 107, 107, 0.1);
  color: var(--muted);
}

.form-note.error strong {
  color: var(--coral);
}

.hero-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-self: end;
  width: min(100%, 380px);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 12% -12% 8%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(
      circle at 40% 30%,
      rgba(0, 224, 198, 0.22),
      transparent 34%
    ),
    radial-gradient(
    circle at 72% 70%,
    rgba(120, 167, 255, 0.18),
    transparent 38%
  );
  filter: blur(26px);
}

.screen-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  background: #050607;
  box-shadow:
    0 36px 100px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.screen-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 8px rgba(5, 6, 7, 0.72);
  pointer-events: none;
}

.screen-frame picture,
.screen-frame img {
  width: 100%;
  height: 100%;
}

.screen-frame img {
  object-fit: cover;
}

.hero-phone {
  width: 100%;
  aspect-ratio: 1206 / 2622;
  border-radius: 38px;
}

.signal-strip,
.content-band,
.site-footer,
.legal-shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.signal-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}

.signal-strip div {
  padding: 22px;
  background: rgba(27, 30, 36, 0.86);
}

.signal-strip strong {
  display: block;
  margin-bottom: 6px;
}

.signal-strip span {
  color: var(--muted);
}

.content-band {
  padding: 96px 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.section-heading h2,
.split-band h2 {
  font-size: clamp(2.5rem, 6vw, 5.4rem);
}

.feature-stories {
  display: grid;
  gap: 18px;
  margin-top: 40px;
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: 560px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    radial-gradient(
      circle at 82% 14%,
      rgba(0, 224, 198, 0.11),
      transparent 34%
    ),
    var(--surface);
}

.feature-story-flipped {
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.78fr);
}

.feature-story-flipped .feature-copy {
  order: 2;
}

.feature-copy {
  max-width: 420px;
}

.feature-copy span {
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-weight: 800;
}

.feature-copy h3 {
  margin: 28px 0 14px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
}

.feature-copy p,
.plain-copy p,
.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.65;
}

.feature-copy p {
  font-size: 1.08rem;
}

.feature-shot {
  width: min(260px, 100%);
  aspect-ratio: 1206 / 2622;
  justify-self: center;
}

.feature-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 18px;
  align-items: center;
}

.feature-pair .feature-shot {
  width: min(240px, 100%);
}

.feature-pair .feature-shot:nth-child(2) {
  transform: translateY(32px);
}

.split-band {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 56px;
  border-top: 1px solid var(--border);
}

.plain-copy {
  padding-top: 28px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0 42px;
  border-top: 1px solid var(--border);
  color: var(--quiet);
}

.legal-shell {
  padding: 124px 0 80px;
}

.auth-callback-shell {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 112px 24px 48px;
}

.auth-callback-panel {
  width: min(560px, 100%);
  padding: clamp(28px, 6vw, 48px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(27, 30, 36, 0.9);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.auth-callback-panel h1 {
  margin: 0;
  font-size: clamp(2.8rem, 9vw, 5.4rem);
  line-height: 0.98;
}

.auth-callback-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.auth-callback-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 0 22px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  text-decoration: none;
}

.auth-callback-note {
  margin-top: 18px;
  color: var(--quiet);
  font-size: 0.92rem;
}

.legal-title {
  margin-bottom: 42px;
}

.legal-title h1 {
  font-size: clamp(3rem, 8vw, 7rem);
}

.legal-title p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.55;
}

.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  margin: 38px 0 12px;
  font-size: 1.35rem;
}

.legal-content h3 {
  margin: 28px 0 10px;
  color: var(--text);
}

.legal-content ul {
  padding-left: 22px;
}

.link-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  text-decoration: none;
}

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

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    padding-top: 120px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-media {
    justify-self: center;
    width: min(100%, 360px);
  }

  .feature-story,
  .feature-story-flipped,
  .signal-strip,
  .split-band {
    grid-template-columns: 1fr;
  }

  .feature-story-flipped .feature-copy {
    order: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .site-header nav {
    gap: 12px;
    font-size: 0.82rem;
  }

  .hero {
    padding: 108px 18px 64px;
  }

  .hero-layout {
    width: min(100% - 16px, var(--max));
  }

  .hero-copy h1 {
    font-size: 4.15rem;
  }

  .hero-statement {
    font-size: 2.35rem;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
  }

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

  .hero-media {
    grid-template-columns: 1fr;
    width: min(100%, 340px);
  }

  .hero-phone {
    width: 100%;
  }

  .signal-strip,
  .content-band,
  .site-footer,
  .legal-shell {
    width: min(100% - 32px, var(--max));
  }

  .content-band {
    padding: 72px 0;
  }

  .feature-story {
    min-height: auto;
    padding: 22px;
    border-radius: 14px;
  }

  .feature-pair {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .feature-pair .feature-shot:nth-child(2) {
    transform: translateY(18px);
  }

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