:root {
  --cloud: #f7f6f1;
  --paper: #fffef9;
  --ink: #242039;
  --ink-soft: #5d5870;
  --purple: #5737b8;
  --purple-dark: #352071;
  --coral: #ee604c;
  --yellow: #ffd95c;
  --mint: #bde6d2;
  --line: rgba(36, 32, 57, .15);
  --shadow: 0 28px 80px rgba(53, 32, 113, .14);
  --sans: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh; margin: 0; color: var(--ink); font-family: var(--sans); line-height: 1.6;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,217,92,.34), transparent 24rem),
    radial-gradient(circle at 88% 78%, rgba(87,55,184,.14), transparent 26rem),
    var(--mint);
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 9px 14px; border-radius: 99px; color: white; background: var(--purple); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.waitlist-header {
  width: min(1120px, calc(100vw - 28px)); min-height: 58px; padding: 8px 10px 8px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; position: fixed;
  top: max(14px, env(safe-area-inset-top)); left: 50%; z-index: 100; transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,.68); border-radius: 999px; background: rgba(255,254,249,.88);
  box-shadow: 0 12px 34px rgba(36,32,57,.08); backdrop-filter: blur(18px);
}
.waitlist-brand, .header-actions { display: flex; align-items: center; }
.waitlist-brand { gap: 10px; }
.waitlist-brand img { border-radius: 10px; box-shadow: 0 6px 16px rgba(53,32,113,.18); }
.waitlist-brand > span { display: flex; flex-direction: column; line-height: 1.1; }
.waitlist-brand strong { font-size: 18px; font-weight: 900; letter-spacing: -.04em; }
.waitlist-brand small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.header-actions { gap: 9px; }
.language-toggle { display: flex; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: transparent; cursor: pointer; }
.language-toggle span { min-width: 29px; padding: 4px 6px; border-radius: 99px; font-size: 10px; font-weight: 800; text-align: center; }
.language-toggle .active { color: white; background: var(--purple); }
.back-link { min-height: 42px; padding: 9px 16px; display: inline-flex; align-items: center; gap: 9px; border-radius: 999px; color: white; background: var(--ink); font-size: 11px; font-weight: 850; }
.back-link:hover { background: var(--purple-dark); }

.waitlist-main {
  width: min(1180px, calc(100% - 48px)); min-height: calc(100svh - 90px); margin: 0 auto; padding: 126px 0 58px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, .78fr); align-items: center; gap: clamp(48px, 8vw, 110px);
}
.waitlist-intro { padding: 28px 0; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--purple); font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.eyebrow span { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(238,96,76,.15); }
.waitlist-intro h1 { max-width: 700px; margin: 24px 0; font-family: var(--serif); font-size: clamp(54px, 6.2vw, 88px); font-weight: 400; letter-spacing: -.055em; line-height: .96; }
.waitlist-intro h1 em { color: var(--purple); font-weight: 400; }
.intro-copy > p { max-width: 620px; margin: 0; color: var(--ink-soft); font-size: 17px; }
.waitlist-points { margin-top: 48px; display: grid; gap: 1px; border-top: 1px solid rgba(36,32,57,.2); }
.waitlist-points article { padding: 17px 0; display: grid; grid-template-columns: 42px 1fr; gap: 16px; border-bottom: 1px solid rgba(36,32,57,.2); }
.waitlist-points article > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: var(--serif); font-size: 11px; }
.waitlist-points strong { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.waitlist-points p { margin: 2px 0 0; color: var(--ink-soft); font-size: 12px; }

.waitlist-card { min-height: 660px; padding: 38px; border: 1px solid rgba(255,255,255,.7); border-radius: 34px; background: rgba(255,254,249,.92); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.card-heading { display: grid; grid-template-columns: 52px 1fr; gap: 18px; }
.form-step { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--serif); font-size: 10px; }
.mini-label { margin: 0; color: var(--coral); font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.card-heading h2, .success-state h2 { margin: 6px 0 2px; font-family: var(--serif); font-size: 32px; font-weight: 400; letter-spacing: -.035em; line-height: 1.1; }
.card-heading p:last-child { margin: 0; color: var(--ink-soft); font-size: 11px; }
form { margin-top: 30px; display: flex; flex-direction: column; gap: 17px; }
form > label:not(.news-choice), .field-row label { display: flex; flex-direction: column; gap: 7px; }
form label > span:first-child { font-size: 10px; font-weight: 850; }
.field-help { margin-top: -2px; color: var(--ink-soft); font-size: 8px; font-weight: 650; }
input, select { width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid rgba(36,32,57,.18); border-radius: 13px; color: var(--ink); background: white; outline: none; }
input:focus, select:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(87,55,184,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.select-control { display: block; position: relative; }
.select-control select {
  height: 48px; padding-right: 44px; appearance: none; -webkit-appearance: none; cursor: pointer;
}
.select-chevron {
  width: 9px; height: 9px; position: absolute; top: 50%; right: 17px; pointer-events: none;
  border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft);
  transform: translateY(-72%) rotate(45deg); transition: border-color .18s ease, transform .18s ease;
}
.select-control:focus-within .select-chevron { border-color: var(--purple); transform: translateY(-46%) rotate(225deg); }
.news-choice { padding: 15px; display: grid; grid-template-columns: 25px 1fr; align-items: start; gap: 8px; border: 1px solid rgba(36,32,57,.14); border-radius: 15px; background: #f2effb; cursor: pointer; }
.news-choice input { position: absolute; opacity: 0; pointer-events: none; }
.check-control { width: 22px; height: 22px; margin-top: 1px; display: grid; place-items: center; border: 1px solid rgba(36,32,57,.28); border-radius: 7px; color: transparent; background: white; font-size: 12px; }
.news-choice input:focus-visible + .check-control { outline: 3px solid var(--purple); outline-offset: 3px; }
.news-choice input:checked + .check-control { color: white; border-color: var(--purple); background: var(--purple); }
.news-choice > span:last-child { display: flex; flex-direction: column; }
.news-choice strong { font-size: 11px; }
.news-choice small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; line-height: 1.45; }
.honeypot { position: absolute !important; left: -9999px !important; }
.submit-button { min-height: 52px; padding: 12px 17px; display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 15px; color: white; background: var(--ink); box-shadow: 6px 6px 0 var(--yellow); font-size: 12px; font-weight: 850; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.submit-button:hover { transform: translateY(-2px); box-shadow: 3px 3px 0 var(--yellow); }
.submit-button:disabled { opacity: .6; cursor: wait; transform: none; }
.privacy-note { margin: -2px 0 0; color: var(--ink-soft); font-size: 8px; line-height: 1.5; }
.privacy-note a { text-decoration: underline; text-underline-offset: 2px; }
.form-status { min-height: 18px; margin: -6px 0 0; color: var(--purple-dark); font-size: 10px; font-weight: 750; }
.form-status.error { color: #c73f31; }
.success-state { min-height: 560px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.success-state[hidden] { display: none; }
.success-mark { width: 70px; height: 70px; margin-bottom: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--yellow); box-shadow: 6px 6px 0 var(--ink); font-family: var(--serif); font-size: 32px; }
.success-state > p:not(.mini-label) { color: var(--ink-soft); }
.success-state > a { margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 850; }

.waitlist-footer { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 18px 0 30px; display: flex; justify-content: space-between; gap: 20px; color: var(--ink-soft); border-top: 1px solid rgba(36,32,57,.18); font-size: 9px; }

@media (max-width: 960px) {
  .waitlist-main { grid-template-columns: 1fr; gap: 42px; }
  .waitlist-intro { max-width: 760px; padding-bottom: 0; }
  .waitlist-card { width: min(100%, 620px); }
}
@media (max-width: 620px) {
  .waitlist-header { width: calc(100% - 20px); top: max(10px, env(safe-area-inset-top)); }
  .waitlist-brand small, .back-link span:last-child { display: none; }
  .back-link { width: 42px; padding: 0; justify-content: center; }
  .waitlist-main { width: min(100% - 30px, 1180px); padding-top: 104px; }
  .waitlist-intro h1 { font-size: clamp(48px, 14vw, 66px); }
  .intro-copy > p { font-size: 15px; }
  .waitlist-card { min-height: 0; padding: 28px 22px; border-radius: 26px; }
  .card-heading { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .waitlist-footer { width: calc(100% - 30px); flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; }
}
