:root {
  color-scheme: dark;
  --bg: #04131a;
  --bg-soft: #0b1f28;
  --surface: #15252f;
  --surface-strong: #1b2d38;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f8fafc;
  --muted: #94a3b8;
  --primary: #13a4ec;
  --primary-strong: #0ea5e9;
  --amber: #e8a308;
  --violet: #8b5cf6;
  --success: #10b981;
  --max-width: 1160px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --section-space-top: clamp(3.6rem, 7vw, 5.6rem);
  --section-space-bottom: clamp(1.9rem, 4vw, 3rem);
  --section-stack-gap: clamp(1rem, 2.2vw, 1.75rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: 'Manrope', 'Avenir Next', 'Segoe UI', sans-serif;
  background:
    radial-gradient(1200px 700px at 8% -6%, rgba(19, 164, 236, 0.24) 0%, transparent 46%),
    radial-gradient(900px 600px at 92% 112%, rgba(139, 92, 246, 0.2) 0%, transparent 48%),
    linear-gradient(180deg, #031018 0%, #031822 54%, #04131a 100%);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(19, 164, 236, 0.32);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -120%;
  background: #fff;
  color: #0f172a;
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  z-index: 999;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus-visible {
  top: 0.5rem;
}

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

.ambient-shape {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(80px);
  z-index: -2;
}

.ambient-shape-top {
  width: 340px;
  height: 340px;
  left: -170px;
  top: -90px;
  background: rgba(19, 164, 236, 0.18);
}

.ambient-shape-bottom {
  width: 420px;
  height: 420px;
  right: -190px;
  bottom: -220px;
  background: rgba(139, 92, 246, 0.2);
}

.ambient-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.65), transparent 82%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 19, 26, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 160ms ease;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: 1.05rem;
  font-family: 'Urbanist', 'Avenir Next', sans-serif;
}

.brand img {
  border-radius: 0;
  filter: drop-shadow(0 8px 20px rgba(19, 164, 236, 0.28));
}

.hero {
  padding: 2.5rem 0 1rem;
}

.hero-grid {
  display: grid;
  gap: 1.6rem;
}

.eyebrow {
  display: block;
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: #9fb3c6;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0.5rem 0 0;
  font-family: 'Urbanist', 'Avenir Next', sans-serif;
  font-size: clamp(1.9rem, 8.8vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 18ch;
  text-wrap: balance;
}

.hero-subtitle {
  margin: 0.95rem 0 0;
  max-width: 54ch;
  color: #bdd0df;
  font-size: clamp(0.99rem, 4vw, 1.2rem);
}

.cta-row {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 0;
  text-decoration: none;
  border-radius: 8px;
  width: 188px;
  height: 55px;
}

.store-badge {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 560px) {
  .site-nav {
    display: none;
  }

  .store-btn {
    width: min(158px, calc((100% - 0.45rem) / 2));
    height: 47px;
  }
}

@media (max-width: 720px) {
  .phone-secondary {
    display: none;
  }
}

.hero-visual {
  position: relative;
  min-height: 350px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 12% 10%;
  background: radial-gradient(circle, rgba(19, 164, 236, 0.35) 0%, transparent 72%);
  z-index: -1;
}

.phone-card {
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--surface);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
  max-width: 230px;
}

.phone-card img {
  width: 100%;
}

.phone-main {
  --base-x: 0px;
  --base-rotate: -4deg;
  --float-x: 0px;
  --float-y: 0px;
  transform: translate(var(--base-x), 0) translate(var(--float-x), var(--float-y))
    rotate(var(--base-rotate));
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.phone-secondary {
  --base-x: 0px;
  --base-rotate: 8deg;
  --float-x: 0px;
  --float-y: 0px;
  position: absolute;
  right: 4%;
  bottom: -0.4rem;
  transform: translate(var(--base-x), 0) translate(var(--float-x), var(--float-y))
    rotate(var(--base-rotate));
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

main > section + section {
  margin-top: var(--section-stack-gap);
}

.features,
.proof,
.final-cta {
  padding: var(--section-space-top) 0 var(--section-space-bottom);
}

.features-secondary {
  padding-top: clamp(3rem, 5.4vw, 4.25rem);
}

.languages {
  padding: clamp(3rem, 5.2vw, 4.15rem) 0 var(--section-space-bottom);
}

.section-heading-centered {
  text-align: center;
}

.section-heading-centered h2 {
  margin-left: auto;
  margin-right: auto;
}

.languages-carousel {
  margin-top: 1.1rem;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.languages-track {
  list-style: none;
  margin: 0;
  padding: 0.1rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.86rem;
  width: max-content;
  animation: language-scroll 45s linear infinite;
}

.languages-track:hover,
.languages-track:focus-within {
  animation-play-state: paused;
}

@keyframes language-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .languages-track { animation: none; }
}

.language-chip {
  flex: 0 0 auto;
  width: 104px;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  padding: 0.1rem 0;
}

.language-flag-bubble {
  width: 66px;
  height: 66px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(159, 211, 244, 0.34);
  background: linear-gradient(180deg, rgba(43, 62, 76, 0.92), rgba(26, 43, 56, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 9px 18px rgba(0, 0, 0, 0.24);
}

.language-flag {
  font-size: 2rem;
  line-height: 1;
}

.language-caption {
  color: #dbe8f4;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
}

.section-heading h2 {
  margin: 0.62rem 0 0;
  max-width: 24ch;
  font-size: clamp(1.6rem, 7vw, 2.85rem);
  line-height: 1.1;
  font-family: 'Urbanist', 'Avenir Next', sans-serif;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-heading h2.single-line-heading {
  max-width: none;
  font-size: clamp(1.25rem, 5.6vw, 2.2rem);
}

.section-heading h2.single-line-heading.single-line-heading-compact {
  font-size: clamp(1rem, 4.5vw, 1.9rem);
}

.section-heading h2.single-line-heading.same-as-flow-wrap {
  max-width: 18ch;
  white-space: normal;
  text-wrap: balance;
}

.section-heading h2.flow-title {
  display: inline-flex;
  align-items: center;
  gap: 0.34em;
  letter-spacing: -0.015em;
}

.flow-step {
  display: inline-block;
  color: #ecf4fb;
  opacity: 0;
  transform: translateY(0.5em);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.flow-step:nth-child(1) { transition-delay: 0s; }
.flow-step:nth-child(3) { transition-delay: 1.8s; }
.flow-step:nth-child(5) { transition-delay: 3.6s; }

.flow-title.is-animated .flow-step {
  opacity: 1;
  transform: translateY(0);
}

.flow-separator {
  position: relative;
  width: 1.7em;
  height: 0.85em;
  flex: 0 0 auto;
}

.flow-separator::before {
  content: '';
  position: absolute;
  left: 0.08em;
  right: 0.08em;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(19, 164, 236, 0.18), rgba(19, 164, 236, 0.78));
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s ease;
}

.flow-separator:nth-child(2)::before { transition-delay: 0.8s; }
.flow-separator:nth-child(4)::before { transition-delay: 2.6s; }

.flow-title.is-animated .flow-separator::before {
  transform: translateY(-50%) scaleX(1);
}

.flow-separator::after {
  content: '';
  position: absolute;
  right: 0.08em;
  top: 50%;
  width: 0.34em;
  height: 0.34em;
  border-radius: 0.05em;
  background: linear-gradient(135deg, #57c6ff, #13a4ec);
  box-shadow: 0 0 0 1px rgba(87, 198, 255, 0.32), 0 0 12px rgba(19, 164, 236, 0.5);
  transform: translateY(-50%) rotate(45deg) scale(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.flow-separator:nth-child(2)::after { transition-delay: 1.5s; }
.flow-separator:nth-child(4)::after { transition-delay: 3.3s; }

.flow-title.is-animated .flow-separator::after {
  transform: translateY(-50%) rotate(45deg) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .flow-step {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .flow-separator::before {
    transform: translateY(-50%) scaleX(1);
    transition: none;
  }
  .flow-separator::after {
    transform: translateY(-50%) rotate(45deg) scale(1);
    transition: none;
  }
}

.feature-card h3,
.final-cta-inner h2 {
  text-wrap: balance;
}

.support-copy {
  margin: 1.15rem 0 0;
  color: #b8cad9;
}

.feature-grid {
  margin-top: 1.72rem;
  display: grid;
  gap: 1.3rem;
}

.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(30, 46, 56, 0.78), rgba(20, 36, 46, 0.88)),
    var(--surface);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32), 0 0 20px rgba(19, 164, 236, 0.08);
  border-color: rgba(19, 164, 236, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .feature-card { transition: none; }
  .feature-card:hover { transform: none; }
}

.feature-number {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(19, 164, 236, 0.5);
  padding: 0.28rem 0.58rem;
  color: #9fd7f7;
  font-weight: 800;
  font-size: 0.78rem;
}

.feature-card h3 {
  margin: 0.72rem 0 0;
  font-family: 'Urbanist', 'Avenir Next', sans-serif;
  font-size: 1.33rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0.55rem 0 0;
  color: #bdd1df;
  font-size: 0.98rem;
}

.feature-card img {
  margin-top: 0.95rem;
  border-radius: 17px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 320px;
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.35);
}

.proof {
  padding: 5rem 0 3rem;
}

.proof-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.proof-stat {
  text-align: center;
}

.proof-stat__number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.02em;
  font-family: 'Urbanist', 'Avenir Next', sans-serif;
}

.proof-stat__stars {
  display: flex;
  gap: 2px;
  justify-content: center;
  margin: 4px 0;
}

.proof-stat__label {
  font-size: 0.9rem;
  color: #9fb6c9;
}

.testimonials-carousel {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.testimonials-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
  width: max-content;
  animation: testimonial-scroll 90s linear infinite;
}

.testimonials-track:hover,
.testimonials-track:focus-within {
  animation-play-state: paused;
}

@keyframes testimonial-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-track { animation: none; }
}

.testimonial {
  flex: 0 0 auto;
  width: clamp(320px, 31vw, 360px);
  background: #152029;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.testimonial blockquote {
  margin: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.testimonial p {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 0.625rem;
  color: #e8edf0;
}

.testimonial footer {
  margin-top: auto;
  font-size: 0.85rem;
  color: #8fa3b0;
}

.final-cta-inner {
  border-radius: 28px;
  border: 1px solid rgba(19, 164, 236, 0.3);
  padding: 1.2rem;
  background:
    radial-gradient(100% 100% at 85% 100%, rgba(139, 92, 246, 0.24), transparent 48%),
    linear-gradient(180deg, rgba(22, 38, 48, 0.92), rgba(15, 29, 38, 0.95));
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.27);
}

.final-cta-inner h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.5rem, 6.5vw, 2.5rem);
  max-width: 24ch;
  line-height: 1.1;
  font-family: 'Urbanist', 'Avenir Next', sans-serif;
}

.final-cta-actions {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq {
  padding: clamp(0.75rem, 1.5vw, 1.1rem) 0 clamp(0.5rem, 1vw, 0.75rem);
}

.faq-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(27, 44, 54, 0.55), rgba(17, 31, 41, 0.7));
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(19, 164, 236, 0.25);
  box-shadow: 0 0 20px rgba(19, 164, 236, 0.06);
}

.faq-item[open] {
  border-color: rgba(19, 164, 236, 0.2);
  background:
    linear-gradient(180deg, rgba(27, 44, 54, 0.72), rgba(17, 31, 41, 0.85));
}

.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.4;
  color: #e6f1fb;
  position: relative;
  padding-right: 3rem;
  transition: color 0.2s ease;
}

.faq-item > summary:hover {
  color: #fff;
}

.faq-item > summary::after {
  content: '';
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.7;
}

.faq-item > summary:hover::after {
  opacity: 1;
}

.faq-item[open] > summary::after {
  transform: translateY(-35%) rotate(-135deg);
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item > p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: #b0c8da;
  font-size: 0.96rem;
  line-height: 1.65;
  animation: faq-reveal 0.3s ease;
}

@keyframes faq-reveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.site-footer {
  margin-top: 2.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 12, 18, 0.64);
}

.footer-inner {
  padding: 2rem 0 1.6rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: 2rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Urbanist', 'Avenir Next', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
}

.footer-brand img {
  border-radius: 0;
}

.footer-columns {
  display: flex;
  gap: 3rem;
}

.footer-col-title {
  margin: 0 0 0.6rem;
  font-family: 'Urbanist', 'Avenir Next', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8ca4b8;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-col a {
  color: #c8d6e4;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 160ms ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.copyright {
  margin: 0;
  color: #6b8599;
  font-size: 0.82rem;
}

@media (max-width: 560px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-columns {
    justify-content: center;
    gap: 2rem;
  }
}

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

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

@media (max-width: 820px) {
  .section-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

@media (min-width: 720px) {
  .hero {
    padding-top: 3.4rem;
  }

  .hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
  }

  .hero-visual {
    min-height: 560px;
  }

  .phone-card {
    max-width: 265px;
  }

  .phone-secondary {
    right: 2%;
    bottom: 0.3rem;
  }

  .section-heading h2 {
    max-width: 17ch;
  }

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

  .feature-card img {
    max-width: 300px;
  }

  .final-cta-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
  }
}

@media (min-width: 980px) {
  .hero {
    padding-top: 4.1rem;
  }

  .container {
    width: min(100% - 3rem, var(--max-width));
  }

  .hero-copy h1 {
    max-width: 14ch;
  }

  .phone-card {
    max-width: 280px;
  }

  .phone-main {
    --base-x: -18px;
    --base-rotate: -5deg;
  }

  .phone-secondary {
    --base-x: 14px;
  }

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

}

/* ── Waitlist button ── */

.btn-waitlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.6rem;
  border: none;
  border-radius: 12px;
  font-family: 'Manrope', 'Avenir Next', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #0b8bd4 100%);
  box-shadow: 0 4px 14px rgba(19, 164, 236, 0.35);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn-waitlist:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(19, 164, 236, 0.45);
}

.btn-waitlist:active {
  transform: translateY(0);
}

/* ── Waitlist modal ── */

.waitlist-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 10, 16, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.waitlist-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.waitlist-modal {
  position: relative;
  width: min(92vw, 420px);
  padding: 2rem 1.6rem;
  border-radius: 20px;
  border: 1px solid rgba(19, 164, 236, 0.25);
  background: linear-gradient(180deg, #132230 0%, #0d1b26 100%);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  transform: translateY(12px) scale(0.97);
  transition: transform 220ms ease;
}

.waitlist-overlay.is-open .waitlist-modal {
  transform: translateY(0) scale(1);
}

.waitlist-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}

.waitlist-close:hover {
  color: #fff;
}

#waitlist-title {
  margin: 0;
  font-family: 'Urbanist', 'Avenir Next', sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
}

.waitlist-desc {
  margin: 0.5rem 0 0;
  color: #b0c4d4;
  font-size: 0.94rem;
  line-height: 1.5;
}

.waitlist-form {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.5rem;
}

.waitlist-form input[type="email"] {
  flex: 1;
  padding: 0.68rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 160ms ease;
}

.waitlist-form input[type="email"]::placeholder {
  color: #6b8599;
}

.waitlist-form input[type="email"]:focus {
  border-color: var(--primary);
}

.btn-waitlist-submit {
  flex: 0 0 auto;
  padding: 0.68rem 1.2rem;
  font-size: 0.92rem;
}

.waitlist-msg {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  min-height: 1.3em;
}

.waitlist-msg.is-success {
  color: var(--success);
}

.waitlist-msg.is-error {
  color: #f87171;
}

@media (max-width: 480px) {
  .waitlist-form {
    flex-direction: column;
  }
}

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

  .section-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn-waitlist {
    transition: none;
  }
}

@media (max-width: 600px) {
  :root {
    --section-space-top: clamp(2.2rem, 5vw, 3.6rem);
    --section-space-bottom: clamp(1.2rem, 3vw, 1.9rem);
    --section-stack-gap: clamp(0.5rem, 1.5vw, 1rem);
  }

  .hero-visual {
    min-height: 280px;
  }

  .phone-card {
    max-width: 190px;
  }

  .hero {
    padding: 2.5rem 0 1.5rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  .feature-card img {
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .proof {
    padding: 3rem 0 3.5rem;
  }

  .proof-stats {
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .proof-stat__number {
    font-size: 2rem;
  }

  .testimonials-track {
    gap: 0.35rem;
  }

  .testimonial {
    width: min(86vw, 340px);
    padding: 18px;
  }
}
