:root {
  --ink: #07111c;
  --ink-soft: #0f2133;
  --ink-card: rgba(13, 29, 45, 0.76);
  --ink-card-strong: rgba(10, 23, 36, 0.92);
  --ink-card-border: rgba(120, 201, 255, 0.18);
  --water: #41bdf4;
  --water-bright: #82e2ff;
  --water-deep: #0d7fb0;
  --text: #e7f4fb;
  --text-soft: rgba(231, 244, 251, 0.78);
  --text-muted: rgba(231, 244, 251, 0.58);
  --surface: #f2f8fb;
  --surface-ink: #08111b;
  --success: #70f1b0;
  --warning: #ffd27a;
  --danger: #ff8d8d;
  --shadow: 0 28px 64px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(61, 176, 234, 0.18), transparent 33%),
    radial-gradient(circle at 20% 20%, rgba(135, 226, 255, 0.08), transparent 22%),
    linear-gradient(180deg, #07111c 0%, #081520 40%, #07111c 100%);
  font-family: "Outfit", "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.water-disabled {
  background:
    radial-gradient(circle at top, rgba(61, 176, 234, 0.2), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(130, 226, 255, 0.12), transparent 20%),
    linear-gradient(180deg, #08121d 0%, #091725 45%, #08121d 100%);
}

a {
  color: inherit;
}

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

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

#water-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.35rem;
  background: rgba(6, 14, 22, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.brand strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand span {
  color: var(--water);
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.83rem;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

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

.shell {
  width: min(1120px, calc(100vw - 2.4rem));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 360px);
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(129, 226, 255, 0.16);
  background: rgba(16, 33, 49, 0.58);
  color: var(--water-bright);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--water);
  box-shadow: 0 0 18px rgba(65, 189, 244, 0.8);
}

h1,
h2,
h3 {
  margin: 0;
}

.hero h1 {
  margin-top: 1.35rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero h1 .accent {
  display: inline-block;
  padding-left: 0.08em;
  font-style: italic;
  background: linear-gradient(135deg, #a6ecff 0%, #59c9f8 55%, #1587bc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin: 1.3rem 0 0;
  max-width: 34rem;
  color: var(--text-soft);
  font-size: 1.04rem;
  line-height: 1.78;
}

.hero-actions,
.preview-actions,
.footer-links {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.85rem 1.3rem;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--water-bright), var(--water));
  color: var(--surface-ink);
  box-shadow: 0 18px 34px rgba(65, 189, 244, 0.22);
}

.button-secondary {
  background: rgba(16, 33, 49, 0.62);
  color: var(--water-bright);
  border-color: rgba(129, 226, 255, 0.16);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--text);
  border-color: rgba(129, 226, 255, 0.34);
}

.hero-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding-inline: 0.5rem;
}

.hero-device {
  --hero-screen-height: min(68vh, 720px);
  position: relative;
  width: fit-content;
  padding: 14px;
  border-radius: 42px;
  background: linear-gradient(180deg, #0d1d2b 0%, #050c14 100%);
  border: 1px solid rgba(140, 214, 255, 0.12);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-device::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 42px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.hero-device-speaker {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 32%;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(3, 8, 13, 0.96);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06);
  z-index: 2;
}

.hero-device-screen {
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  height: var(--hero-screen-height);
  border-radius: 30px;
  background: #dfe9f3;
}

.hero-device-screen img {
  position: relative;
  display: block;
  width: auto;
  height: 100%;
  max-width: min(100%, 340px);
}

.hero-card-note {
  position: absolute;
  right: -0.9rem;
  bottom: 1.2rem;
  max-width: 210px;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: rgba(7, 17, 28, 0.88);
  border: 1px solid rgba(129, 226, 255, 0.16);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.hero-card-note strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.92rem;
}

.hero-card-note p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.section {
  padding: 4.5rem 0;
}

.section-copy {
  max-width: 42rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--water);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-copy p,
.preview-copy p,
.legal-prose p,
.legal-prose li {
  color: var(--text-soft);
}

.feature-grid,
.steps-grid,
.support-grid {
  display: grid;
  gap: 1rem;
}

.feature-grid {
  margin-top: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.step-card,
.waitlist-shell,
.legal-card,
.contact-card {
  border-radius: 24px;
  border: 1px solid var(--ink-card-border);
  background: var(--ink-card);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 1.5rem;
}

.feature-card strong {
  display: block;
  margin: 0.85rem 0 0.4rem;
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.66;
}

.feature-icon {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(129, 226, 255, 0.1);
  color: var(--water-bright);
  font-size: 1rem;
  font-weight: 700;
}

.screen-narrative {
  display: grid;
  gap: 1.6rem;
  margin-top: 2.2rem;
}

.screen-story-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 1.15rem;
  align-items: start;
}

.screen-story {
  display: grid;
  gap: 1.2rem;
  align-items: center;
}

.screen-story-featured {
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  padding: 1.35rem 1rem;
  border-top: 1px solid rgba(129, 226, 255, 0.14);
  border-bottom: 1px solid rgba(129, 226, 255, 0.08);
  background: linear-gradient(90deg, rgba(8, 18, 29, 0.2), rgba(8, 18, 29, 0));
}

.screen-story-inline {
  grid-template-columns: minmax(0, 188px) minmax(0, 1fr);
  padding: 1.3rem;
  border-radius: 28px;
  border: 1px solid var(--ink-card-border);
  background:
    linear-gradient(180deg, rgba(12, 25, 39, 0.96), rgba(8, 18, 29, 0.92)),
    var(--ink-card);
  box-shadow: var(--shadow);
}

.screen-story-offset {
  margin-top: 2.4rem;
}

.screen-story-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 240px);
}

.screen-story-frame {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(129, 226, 255, 0.1);
  background: rgba(12, 24, 37, 0.84);
  box-shadow: 0 22px 44px rgba(3, 11, 18, 0.34);
}

.screen-story-featured .screen-story-frame {
  width: min(100%, 238px);
}

.screen-story-inline .screen-story-frame {
  width: min(100%, 188px);
}

.screen-story-featured .screen-story-frame,
.screen-story-inline .screen-story-frame,
.screen-story-reverse .screen-story-frame {
  justify-self: center;
}

.screen-story-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.screen-story-copy {
  max-width: 38rem;
}

.screen-story-copy h3 {
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.screen-story-copy p {
  margin: 0.8rem 0 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.72;
  max-width: 38ch;
}

.screen-story-kicker,
.screen-story-index {
  display: inline-block;
}

.screen-story-index {
  margin-bottom: 0.8rem;
  color: rgba(129, 226, 255, 0.42);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.screen-story-kicker {
  margin-bottom: 0.6rem;
  color: var(--water-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.steps-grid {
  margin-top: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  padding: 1.45rem;
}

.step-card span {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: rgba(130, 226, 255, 0.6);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.step-card h3 {
  font-size: 1rem;
}

.step-card p {
  margin: 0.55rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.66;
}

.waitlist-shell {
  padding: 1.55rem;
}

.waitlist-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: 1.5rem;
  align-items: center;
}

.waitlist-copy p {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-size: 0.98rem;
  line-height: 1.72;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.field-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
}

.field-input {
  width: 100%;
  min-height: 52px;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(129, 226, 255, 0.18);
  background: rgba(6, 16, 27, 0.66);
  color: var(--text);
  font: inherit;
}

.field-input::placeholder {
  color: rgba(231, 244, 251, 0.38);
}

.field-input:focus-visible,
.button:focus-visible,
.footer-links a:focus-visible,
.site-nav nav a:focus-visible,
.brand:focus-visible {
  outline: 2px solid rgba(130, 226, 255, 0.78);
  outline-offset: 2px;
}

.field--hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.waitlist-status {
  min-height: 1.3rem;
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
}

.waitlist-status[data-state="success"] {
  color: var(--success);
}

.waitlist-status[data-state="duplicate"] {
  color: var(--warning);
}

.waitlist-status[data-state="error"] {
  color: var(--danger);
}

.footer {
  padding: 2.8rem 0 3.5rem;
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.84rem;
}

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

.legal-page {
  min-height: 100vh;
}

.legal-hero {
  padding: 3.2rem 0 1.5rem;
}

.legal-hero h1 {
  margin-top: 0.9rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.legal-hero p {
  max-width: 46rem;
  margin: 1rem 0 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.78;
}

.legal-card {
  padding: 1.75rem;
  background: var(--ink-card-strong);
}

.legal-prose h2 {
  margin: 1.75rem 0 0.7rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.legal-prose h3 {
  margin: 1.1rem 0 0.5rem;
  font-size: 1rem;
}

.legal-prose p,
.legal-prose li {
  font-size: 0.95rem;
  line-height: 1.78;
}

.legal-prose ul {
  padding-left: 1.25rem;
}

.support-grid {
  margin-top: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card {
  padding: 1.35rem;
}

.contact-card h2 {
  font-size: 1.05rem;
}

.contact-card p {
  margin: 0.7rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.contact-card a {
  color: var(--water-bright);
}

.response-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.response-card {
  width: min(560px, 100%);
  padding: 1.8rem;
  border-radius: 28px;
  background: var(--ink-card-strong);
  border: 1px solid var(--ink-card-border);
  box-shadow: var(--shadow);
}

.response-card h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
}

.response-card p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

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

@media (max-width: 960px) {
  .hero-grid,
  .waitlist-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

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

  .screen-story-pair {
    grid-template-columns: 1fr;
  }

  .screen-story-featured,
  .screen-story-reverse {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  }

  .screen-story-inline {
    grid-template-columns: minmax(0, 176px) minmax(0, 1fr);
  }

  .hero {
    min-height: auto;
    padding: 3.5rem 0 2.5rem;
  }

  .hero-grid {
    gap: 1.75rem;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-panel {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: none;
    padding-inline: 0;
  }

  .hero-panel {
    margin: 0;
  }

  .hero-device {
    --hero-screen-height: min(52vh, 500px);
  }

  .hero-card-note {
    position: static;
    width: min(100%, 340px);
    max-width: none;
    margin: 0;
  }
}

@media (max-width: 720px) {
  .site-nav {
    padding: 0.95rem 1rem;
    gap: 0.75rem;
  }

  .site-nav nav {
    display: none;
  }

  .site-nav .button {
    min-height: 44px;
    padding: 0.8rem 1rem;
    font-size: 0.84rem;
  }

  .brand strong {
    font-size: 1rem;
  }

  .shell {
    width: min(100vw - 1.4rem, 1120px);
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero-grid {
    gap: 1.35rem;
  }

  .pill {
    max-width: 100%;
    font-size: 0.67rem;
    letter-spacing: 0.06em;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
    line-height: 0.97;
  }

  .hero p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

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

  .feature-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .screen-story {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .screen-story-featured,
  .screen-story-reverse {
    background: none;
    border-top: 1px solid rgba(129, 226, 255, 0.12);
    border-bottom: 1px solid rgba(129, 226, 255, 0.08);
  }

  .screen-story-frame {
    max-width: 216px;
    margin: 0 auto;
  }

  .screen-story-offset {
    margin-top: 0;
  }

  .screen-story-copy {
    max-width: none;
  }

  .screen-story-copy p {
    max-width: none;
  }

  .hero-device {
    --hero-screen-height: min(42vh, 420px);
    max-width: min(100%, 260px);
  }

  .hero-card-note {
    width: 100%;
    max-width: none;
    padding: 1rem 1.1rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .button,
  .site-nav nav a,
  .footer-links a {
    transition: none;
  }

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