:root {
  --ink: #0D121C;
  --ink-2: #4A5563;
  --ink-3: #7A8594;
  --ground: #FFFFFF;
  --surface: #F4F6F7;
  --surface-2: #EDF1F3;
  --line: #E1E5EA;
  --accent: #0E7C66;
  --accent-soft: #E2F1EC;
  --deep: #0D121C;
  --deep-2: #123A33;
  --on-light: #0D121C;
  --max: 1080px;
  --radius: 16px;
}

* { box-sizing: border-box; }

/* Width-constrained images must scale their height to match, or the
   intrinsic height attribute squashes them. */
img { max-width: 100%; height: auto; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; color: var(--ink-2); }
a { color: var(--accent); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: 24px;
}

/* ---- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav a.hide-sm { display: none; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #1b2432; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-light { background: #fff; color: var(--on-light); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }

/* ---- hero ---- */
.hero {
  background: linear-gradient(170deg, var(--deep) 0%, var(--deep-2) 100%);
  color: #fff;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-block: 72px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8FD8C4;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3CC4A4;
}
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.08; color: #fff; }
.hero p.lead {
  margin-top: 20px;
  font-size: 19px;
  color: rgba(255,255,255,.76);
  max-width: 46ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 20px; font-size: 14px; color: rgba(255,255,255,.52); }
.hero-shot { display: flex; justify-content: center; align-items: flex-end; }
/* The phone is cropped to a fixed height so the headline always sits
   above the fold; the screenshot rises out of the bottom of the hero. */
.phone {
  width: 288px;
  max-width: 100%;
  height: 440px;
  border-radius: 40px 40px 0 0;
  padding: 10px 10px 0;
  background: #060a10;
  box-shadow: 0 40px 80px rgba(0,0,0,.45);
  overflow: hidden;
}
.phone img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top;
  border-radius: 31px 31px 0 0;
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 56px 0; }
  .hero-shot { margin-top: 24px; }
  .phone { width: 252px; height: 380px; }
}

/* ---- sections ---- */
section { padding-block: 88px; }
.section-head { max-width: 62ch; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; }
.section-head p { margin-top: 14px; font-size: 18px; }
.tag {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}

.alt { background: var(--surface); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.alt .card { background: #fff; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 16px; }
.icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.icon svg { width: 22px; height: 22px; }

/* ---- steps ---- */
.steps { counter-reset: step; display: grid; gap: 28px; }
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}
.step h3 { font-size: 20px; margin-bottom: 6px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split img.shot {
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 585 / 1266;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(13,18,28,.12);
}

/* ---- routes ---- */
.routes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 720px) { .routes { grid-template-columns: 1fr; } }
.route {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.badge {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 17px;
  flex: none;
}
.route strong { display: block; font-size: 17px; }
.route span { font-size: 15px; color: var(--ink-3); }
.soon { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--ink-3); }

/* ---- faq ---- */
details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  font-size: 22px;
  color: var(--ink-3);
  font-weight: 400;
}
details[open] summary::after { content: "−"; }
details p { margin-top: 12px; max-width: 72ch; }

/* ---- cta ---- */
.cta {
  background: linear-gradient(150deg, var(--deep) 0%, var(--deep-2) 100%);
  color: #fff;
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
}
.cta h2 { font-size: clamp(26px, 3.2vw, 36px); color: #fff; }
.cta p { color: rgba(255,255,255,.72); margin-top: 14px; }
.cta .hero-actions { justify-content: center; }

/* ---- footer ---- */
footer {
  border-top: 1px solid var(--line);
  padding-block: 44px 56px;
  margin-top: 24px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 28px; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--ink); }
.copyright { color: var(--ink-3); font-size: 14px; margin-top: 28px; }

/* ---- legal pages ---- */
.legal { max-width: 760px; padding-block: 64px 96px; }
.legal h1 { font-size: 34px; }
.legal .meta { color: var(--ink-3); font-size: 15px; margin-top: 8px; }
.legal h2 { font-size: 22px; margin-top: 44px; margin-bottom: 12px; }
.legal h3 { font-size: 18px; margin-top: 28px; margin-bottom: 8px; }
.legal p, .legal li { font-size: 16px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 8px; color: var(--ink-2); }
.legal table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.legal th, .legal td {
  text-align: left; padding: 12px 14px;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.legal th { font-weight: 600; }
.legal td { color: var(--ink-2); }
.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 28px 0;
}
.callout p { color: var(--ink); }
.legal-head { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 8px; }
@media (max-width: 720px) {
  .legal table, .legal thead, .legal tbody, .legal th, .legal td, .legal tr { display: block; }
  .legal thead { display: none; }
  .legal td { border: 0; padding: 4px 0; }
  .legal tr { border-bottom: 1px solid var(--line); padding: 14px 0; display: block; }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #E8EDF2;
    --ink-2: #B2BCC8;
    --ink-3: #808B99;
    --ground: #0C1118;
    --surface: #10161F;
    --surface-2: #141B25;
    --line: #26303C;
    --accent: #3CC4A4;
    --accent-soft: #123A33;
  }
  :root:not([data-theme="light"]) .site-header { background: rgba(12,17,24,.86); }
  :root:not([data-theme="light"]) .alt .card,
  :root:not([data-theme="light"]) .route { background: var(--surface-2); }
  :root:not([data-theme="light"]) .btn-primary { background: #fff; color: var(--on-light); }
  :root:not([data-theme="light"]) .btn-primary:hover { background: #e6ebf0; }
  :root:not([data-theme="light"]) .step::before { background: var(--accent); }
}

/* ---- waitlist page ---- */
.join {
  background: linear-gradient(170deg, var(--deep) 0%, var(--deep-2) 100%);
  color: #fff;
}
.join-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
  padding-block: 72px 88px;
}
.join h1 { font-size: clamp(34px, 4.6vw, 50px); line-height: 1.1; color: #fff; }
.join .lead { margin-top: 18px; font-size: 18px; color: rgba(255,255,255,.76); max-width: 46ch; }

#waitlist-form { margin-top: 36px; max-width: 460px; }
.field { display: block; margin-bottom: 18px; }
.field > span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  margin-bottom: 8px;
}
.field em { font-style: normal; font-weight: 400; color: rgba(255,255,255,.45); }
.field input,
.field select {
  width: 100%;
  padding: 15px 16px;
  font: inherit;
  font-size: 16px;
  color: #fff;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23ffffff' stroke-opacity='.6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.field select option { color: #0D121C; }
.field input::placeholder { color: rgba(255,255,255,.4); }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: #3CC4A4;
  background: rgba(255,255,255,.1);
}
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

#waitlist-submit { width: 100%; background: #fff; color: var(--on-light); padding: 16px 24px; font-size: 16px; }
#waitlist-submit:hover { background: #e9eef2; }
#waitlist-submit:disabled { opacity: .6; cursor: progress; }

.form-status { min-height: 22px; margin-top: 12px; font-size: 15px; color: rgba(255,255,255,.7); }
.form-status[data-tone="error"] { color: #FF9A9A; }
.form-note { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.5); }
.form-note a { color: rgba(255,255,255,.8); }

.success { margin-top: 36px; max-width: 460px; }
.success:focus { outline: none; }
.success-mark {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(60,196,164,.16);
  color: #3CC4A4;
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.success-mark svg { width: 28px; height: 28px; }
.success h2 { font-size: 28px; color: #fff; }
.success p { margin-top: 12px; color: rgba(255,255,255,.76); }
.success .btn { margin-top: 24px; color: #fff; border-color: rgba(255,255,255,.35); }

.join-side { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.phone-full {
  height: auto;
  border-radius: 40px;
  padding: 10px;
  width: 268px;
}
.phone-full img { border-radius: 31px; height: auto; object-fit: fill; }
.ticks { list-style: none; padding: 0; margin: 0; max-width: 360px; }
.ticks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: rgba(255,255,255,.74);
  font-size: 16px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 16px; height: 9px;
  border-left: 2px solid #3CC4A4;
  border-bottom: 2px solid #3CC4A4;
  transform: rotate(-45deg);
}
@media (max-width: 880px) {
  .join-grid { grid-template-columns: 1fr; gap: 44px; padding-block: 56px 72px; }
  .join-side { align-items: flex-start; }
  .phone-full { width: 232px; align-self: center; }
}
