:root {
  --luna-lilac: #7e8fea;
  --soft-rose: #f7c8c8;
  --dusk-lavender: #d8b7f5;
  --night-ink: #2d2a5a;
  --cream: #fff7f8;
  --mint: #9edcb7;
  --text-muted: #5c5878;
  --gradient: linear-gradient(135deg, var(--soft-rose) 0%, var(--dusk-lavender) 45%, var(--luna-lilac) 100%);
  --shadow: 0 18px 50px rgba(45, 42, 90, 0.12);
  --radius: 1.25rem;
  --max: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--night-ink);
  background: var(--cream);
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--luna-lilac);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #5f6fd4;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--night-ink);
  color: var(--cream);
}

.skip-link:focus,
.skip-link:focus-visible {
  left: 1rem;
  top: 1rem;
  outline: 2px solid var(--cream);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-cta:focus-visible,
.nav-link:focus-visible,
.logo:focus-visible,
.footer-links a:focus-visible {
  outline: 2px solid var(--luna-lilac);
  outline-offset: 3px;
}

.waitlist-consent input:focus-visible {
  outline: 2px solid var(--luna-lilac);
  outline-offset: 2px;
}

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

.site-header {
  padding: 1.25rem 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(45, 42, 90, 0.08);
  gap: 0.15rem;
}

.lang-switch__btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
}

.lang-switch__btn:hover {
  color: var(--night-ink);
}

.lang-switch__btn.is-active {
  background: #fff;
  color: var(--night-ink);
  box-shadow: 0 2px 8px rgba(45, 42, 90, 0.12);
}

.lang-switch__btn:focus-visible {
  outline: 2px solid var(--luna-lilac);
  outline-offset: 2px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--night-ink);
  text-decoration: none;
}

.logo svg {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  background: var(--night-ink);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta:hover {
  background: #403c72;
  color: #fff;
}

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

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(126, 143, 234, 0.14);
  color: #4f5eb8;
  font-size: 0.875rem;
  font-weight: 600;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gradient);
  color: var(--night-ink);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: #fff;
  color: var(--night-ink);
  border-color: rgba(45, 42, 90, 0.12);
}

.hero-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  padding: 2rem;
  border-radius: calc(var(--radius) + 0.5rem);
  background: var(--gradient);
  box-shadow: var(--shadow);
}

.phone-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.phone-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.phone-card .stat {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.stat-box {
  padding: 0.85rem;
  border-radius: 0.85rem;
  background: var(--cream);
}

.stat-box strong {
  display: block;
  font-size: 1.1rem;
}

.stat-box span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(126, 143, 234, 0.12);
  font-size: 0.8rem;
  font-weight: 500;
}

section {
  padding: 3.5rem 0;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0 0 2rem;
  max-width: 52ch;
  color: var(--text-muted);
}

.problem {
  background: #fff;
}

.features-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 30px rgba(45, 42, 90, 0.06);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.card .icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 0.85rem;
  background: var(--gradient);
  font-size: 1.35rem;
}

.trust-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .trust-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-list li {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(45, 42, 90, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

.trust-list strong {
  display: block;
  margin-bottom: 0.35rem;
}

.cta-band {
  padding: 3rem 0 4rem;
}

.cta-box {
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: calc(var(--radius) + 0.25rem);
  background: var(--gradient);
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.cta-box > p:first-of-type {
  margin: 0 auto 1.5rem;
  max-width: 40ch;
  color: var(--night-ink);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.waitlist-form {
  max-width: 32rem;
  margin: 0 auto;
  text-align: left;
}

.waitlist-row {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 520px) {
  .waitlist-row {
    grid-template-columns: minmax(12rem, 1fr) auto;
    align-items: center;
  }
}

.waitlist-field {
  min-width: 0;
}

.waitlist-input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 3.1rem;
  margin: 0;
  padding: 0.85rem 1.15rem;
  border: 2px solid rgba(45, 42, 90, 0.14);
  border-radius: 999px;
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.25;
  color: var(--night-ink);
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
}

.waitlist-input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.waitlist-input:focus {
  outline: 2px solid var(--luna-lilac);
  outline-offset: 2px;
  border-color: #fff;
}

.waitlist-submit {
  width: 100%;
  min-height: 3.1rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

@media (min-width: 520px) {
  .waitlist-submit {
    width: auto;
    justify-self: start;
  }
}

.waitlist-submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.waitlist-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--night-ink);
  cursor: pointer;
}

.waitlist-consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--luna-lilac);
}

.waitlist-consent a {
  color: var(--night-ink);
  font-weight: 600;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

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

.waitlist-status {
  margin: 0.5rem 0 0;
  padding: 0.65rem 0.9rem;
  border-radius: 0.75rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.waitlist-status--success {
  background: rgba(158, 220, 183, 0.45);
  color: #1f4d35;
}

.waitlist-status--error {
  background: rgba(247, 200, 200, 0.65);
  color: #5c2a2a;
}

.waitlist-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.waitlist-note a {
  color: var(--night-ink);
}

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(45, 42, 90, 0.08);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--night-ink);
  text-decoration: underline;
}

.legal-page {
  padding: 3rem 0 4rem;
}

.legal-tabs {
  margin: 2rem 0 2.5rem;
}

.legal-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(45, 42, 90, 0.1);
}

.legal-tabs__tab {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}

.legal-tabs__tab:hover {
  color: var(--night-ink);
  background: rgba(126, 143, 234, 0.1);
}

.legal-tabs__tab.is-active {
  color: var(--night-ink);
  background: rgba(126, 143, 234, 0.18);
}

.legal-tabs__tab:focus-visible {
  outline: 2px solid var(--luna-lilac);
  outline-offset: 2px;
}

.legal-tabs__panel h2:first-child {
  margin-top: 0;
}

.legal-tabs__panel[hidden] {
  display: none;
}

.legal-intro {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.legal-page h1 {
  margin-top: 0;
}

.legal-page h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.legal-meta {
  color: var(--text-muted);
}

.legal-page code {
  font-size: 0.9em;
}

.site-header .nav-link {
  color: var(--text-muted);
  text-decoration: none;
}

.site-header .nav-link:hover {
  color: var(--night-ink);
}

.trust-list li span {
  display: block;
}

@media (max-width: 520px) {
  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }
}
