/* ============================================================
   AutoSwiper — site styles
   Palette mirrors the app's design tokens (lib/ui.ts):
   monochrome accents, dark default + optional light theme.
   ============================================================ */

/* ---- Dark (default) ---- */
:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-raised: #1c1c1c;
  --border: #2a2a2a;
  --border-subtle: #1e1e1e;
  --text: #ffffff;
  --text-secondary: #a3a3a3;
  --text-muted: #737373;
  --text-faint: #3a3a3a;
  --accent: #ffffff;
  --accent-fg: #0a0a0a;
  --card: #1c1c1c;
  --card-border: #2e2e2e;
  --image-bg: #0c0c0c;
  --success: #22c55e;
  --danger: #ef4444;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.6);

  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --maxw: 1120px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
}

/* ---- Light ---- */
[data-theme='light'] {
  --bg: #f2f2f7;
  --surface: #ffffff;
  --surface-raised: #f9f9f9;
  --border: #e0e0e0;
  --border-subtle: #ebebeb;
  --text: #0a0a0a;
  --text-secondary: #4a4a4a;
  --text-muted: #8a8a8a;
  --text-faint: #b0b0b0;
  --accent: #0a0a0a;
  --accent-fg: #ffffff;
  --card: #ffffff;
  --card-border: #e8e8e8;
  --image-bg: #f0f0f0;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

a { color: inherit; text-decoration: none; }
svg { display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 740px; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn--sm { padding: 9px 16px; font-size: 0.9rem; }
.btn--primary { background: var(--accent); color: var(--accent-fg); }
.btn--primary:hover { transform: translateY(-1px); opacity: 0.9; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--text-muted); }

/* App-store style badges (monochrome, theme-aware) */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 18px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 600;
  transition: transform 0.15s ease, opacity 0.2s ease;
}
.store-badge:hover { transform: translateY(-2px); opacity: 0.92; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.12; font-size: 1.02rem; }
.store-badge small { font-size: 0.64rem; font-weight: 500; opacity: 0.7; letter-spacing: 0.02em; }
.store-badge--soon {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  cursor: default;
  opacity: 0.85;
}
.store-badge--soon:hover { transform: none; opacity: 0.85; }
.badges--soon { margin-top: 4px; }

/* ===================== Waitlist ===================== */
.waitlist {
  margin: 28px 0 22px;
  max-width: 520px;
}
.waitlist--centered { margin-left: auto; margin-right: auto; }

.waitlist__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.waitlist__bar:focus-within {
  border-color: var(--text-muted);
}

.waitlist__input {
  flex: 1;
  min-width: 0;
  padding: 12px 0;
  border: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
}
.waitlist__input::placeholder { color: var(--text-muted); }
.waitlist__input:focus { outline: none; }

.waitlist__submit {
  flex-shrink: 0;
  padding: 12px 22px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.waitlist__submit:disabled { opacity: 0.6; cursor: wait; }

.waitlist__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.waitlist__meta-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}
.waitlist__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.waitlist__pill {
  position: relative;
  display: inline-flex;
  cursor: pointer;
  user-select: none;
}
.waitlist__pill input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.waitlist__pill span {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.waitlist__pill:hover span {
  border-color: var(--text-muted);
  color: var(--text);
}
.waitlist__pill:has(input:checked) span,
.waitlist__pill input:focus-visible + span {
  border-color: var(--text);
  color: var(--text);
  background: var(--surface-raised);
}

.waitlist__hp { display: none !important; }

.waitlist__status {
  margin-top: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  min-height: 1.25em;
}
.waitlist__status--success { color: var(--success); }
.waitlist__status--error { color: var(--danger); }
.waitlist__status--loading { color: var(--text-muted); }

.hero__logo {
  height: 108px;
  width: auto;
  margin-bottom: 18px;
}
.cta__logo {
  height: 88px;
  width: auto;
  margin: 0 auto 20px;
  display: block;
}

/* ===================== Nav ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--border-subtle); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; }
.brand__logo { width: auto; height: 38px; }
.brand__logo--full { width: auto; height: 38px; }
.brand__name { font-size: 1.12rem; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-size: 0.94rem; color: var(--text-secondary); font-weight: 500; transition: color 0.2s ease; }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 12px; }

/* Theme toggle */
.theme-toggle {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.theme-toggle:hover { border-color: var(--text-muted); }
.theme-toggle:active { transform: scale(0.92); }
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: block; }
[data-theme='light'] .theme-toggle .icon-moon { display: block; }
[data-theme='light'] .theme-toggle .icon-sun { display: none; }

/* ===================== Hero ===================== */
.hero { position: relative; padding: 80px 0 64px; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero__title {
  font-size: clamp(2.7rem, 5.6vw, 4.3rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.hero__sub { font-size: 1.16rem; color: var(--text-secondary); max-width: 480px; margin-bottom: 30px; }
.hero__note { margin-top: 16px; color: var(--text-muted); font-size: 0.88rem; display: flex; align-items: center; gap: 8px; }
.hero__note svg { width: 16px; height: 16px; }

/* ===================== Phone mockup ===================== */
.device-wrap { display: flex; justify-content: center; position: relative; }
.device-wrap::before {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--text) 8%, transparent), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 1;
  width: 300px;
  height: 612px;
  background: var(--bg);
  border-radius: 46px;
  padding: 11px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 0 7px color-mix(in srgb, var(--text) 5%, transparent);
  animation: float 6.5s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.phone__notch {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 116px; height: 24px; background: var(--bg);
  border-radius: 0 0 16px 16px; z-index: 4;
}
.screen {
  position: relative;
  width: 100%; height: 100%;
  background: var(--bg);
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.screen__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 10px;
}
.screen__title { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.screen__top .dots { display: flex; gap: 5px; }
.screen__top .dots span { width: 5px; height: 5px; border-radius: 50%; background: var(--text-faint); }

.deck { position: relative; flex: 1; margin: 4px 14px 0; }
.deck__behind {
  position: absolute; left: 50%; top: 8px; transform: translateX(-50%) scale(0.94);
  width: 100%; height: 96%; border-radius: 16px;
  background: var(--surface-raised); border: 1px solid var(--border); opacity: 0.6;
}

/* The car card — mirrors components/SwipeCard.tsx */
.car-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: 0 14px 34px rgba(0,0,0,0.4);
  transform: rotate(-2.5deg);
}
.car-card__img {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(120% 80% at 70% 20%, color-mix(in srgb, var(--text) 7%, transparent), transparent 60%),
    var(--image-bg);
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
}
.car-card__img svg.car-art { width: 88%; margin-bottom: -2%; }
.car-badge {
  position: absolute;
  top: 16px; left: 16px;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  padding: 6px 12px;
  border-radius: 9px;
  border: 4px solid var(--success);
  color: var(--success);
  background: rgba(0,0,0,0.32);
  transform: rotate(-12deg);
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.pill-loc {
  position: absolute; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(0,0,0,0.55); color: #fff;
  font-size: 0.72rem; font-weight: 600;
  padding: 4px 9px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.pill-loc svg { width: 12px; height: 12px; }
.car-card__info { padding: 13px 16px 15px; }
.car-card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.car-card__row strong { font-size: 0.98rem; font-weight: 600; }
.car-card__price { font-size: 1.04rem; font-weight: 700; flex-shrink: 0; }
.car-card__stats { color: var(--text-muted); font-size: 0.82rem; margin-top: 3px; }
.car-card__chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.car-card__chips span {
  font-size: 0.68rem; color: var(--text-secondary);
  padding: 3px 8px; border-radius: 5px;
  background: var(--surface-raised); border: 1px solid var(--border);
}

/* Valuation meter — mirrors the in-card price meter */
.meter { margin-top: 12px; }
.meter__track { display: flex; gap: 0; height: 3px; border-radius: 2px; overflow: visible; position: relative; }
.meter__track i { flex: 1; height: 3px; opacity: 0.78; }
.meter__track i:first-child { border-radius: 2px 0 0 2px; }
.meter__track i:last-child { border-radius: 0 2px 2px 0; }
.meter__dot {
  position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 50%;
  transform: translate(-50%, -50%); border: 2px solid var(--card);
}
.meter__label { display: flex; gap: 5px; align-items: baseline; margin-top: 7px; font-size: 0.72rem; }
.meter__label b { font-weight: 600; }
.meter__label span { color: var(--text-muted); }

/* Bottom tab bar — mirrors app/(tabs)/_layout.tsx */
.tabbar {
  display: flex; justify-content: space-around; align-items: center;
  padding: 12px 8px 18px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg);
}
.tabbar svg { width: 25px; height: 25px; color: var(--text-faint); }
.tabbar .active svg { color: var(--text); }

/* ===================== Logo strip ===================== */
.marquee { border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); padding: 26px 0; }
.marquee__inner { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.marquee__label { color: var(--text-muted); font-size: 0.84rem; }
.marquee__brands { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; }
.marquee__brands span { color: var(--text-secondary); font-weight: 700; letter-spacing: 0.02em; font-size: 0.96rem; opacity: 0.8; }

/* ===================== Sections ===================== */
.section { padding: 96px 0; }
.section--alt { background: var(--surface); }
.section__head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section__head h2 { font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 14px; }
.section__head p { color: var(--text-secondary); font-size: 1.06rem; }

/* ===================== Features ===================== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.section--alt .feature { background: var(--surface-raised); }
.feature:hover { transform: translateY(-4px); border-color: var(--text-faint); }
.feature__icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--surface-raised); border: 1px solid var(--border);
  color: var(--text);
}
.section--alt .feature__icon { background: var(--bg); }
.feature__icon svg { width: 23px; height: 23px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 7px; letter-spacing: -0.01em; }
.feature p { color: var(--text-secondary); font-size: 0.95rem; }

/* ===================== Showcase (smart pricing) ===================== */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.showcase__copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; }
.showcase__copy p { color: var(--text-secondary); font-size: 1.06rem; margin-bottom: 24px; }
.checklist { display: flex; flex-direction: column; gap: 14px; }
.checklist li { list-style: none; display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.checklist svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: var(--success); }
.checklist b { font-weight: 600; }
.checklist span { display: block; color: var(--text-muted); font-size: 0.92rem; }

/* Pricing card demo */
.demo-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}
.demo-card__row { display: flex; justify-content: space-between; align-items: baseline; }
.demo-card__row strong { font-size: 1.2rem; }
.demo-card__row .price { font-size: 1.3rem; font-weight: 800; }
.demo-card__stats { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; margin-bottom: 22px; }
.demo-card .meter__label { font-size: 0.86rem; }
.demo-card .keynums {
  display: flex; align-items: center; margin-top: 22px;
  background: var(--surface-raised); border: 1px solid var(--border); border-radius: 12px; padding: 14px;
}
.demo-card .keynums > div { flex: 1; text-align: center; }
.demo-card .keynums b { display: block; font-size: 0.98rem; }
.demo-card .keynums small { color: var(--text-muted); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.5px; }
.demo-card .keynums i { width: 1px; height: 28px; background: var(--border); }

/* ===================== Steps ===================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 30px; border-radius: var(--radius-xl); background: var(--surface-raised); border: 1px solid var(--border); }
.step__num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: var(--accent-fg); font-weight: 800; font-size: 1.05rem; margin-bottom: 18px;
}
.step h3 { font-size: 1.18rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.step p { color: var(--text-secondary); }

/* ===================== CTA ===================== */
.cta { padding: 88px 0; border-top: 1px solid var(--border-subtle); text-align: center; }
.cta h2 { font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -0.03em; }
.cta p { color: var(--text-secondary); font-size: 1.1rem; margin: 12px 0 28px; }
.cta .badges { justify-content: center; }

/* ===================== FAQ ===================== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2px 20px; }
.faq__item summary {
  cursor: pointer; font-weight: 600; font-size: 1.04rem; padding: 17px 0;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; color: var(--text-muted); font-size: 1.5rem; font-weight: 300; transition: transform 0.2s ease; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--text-secondary); padding: 0 0 18px; }

/* ===================== Footer ===================== */
.footer { border-top: 1px solid var(--border-subtle); padding: 52px 0 30px; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 30px; }
.footer__brand p { color: var(--text-muted); margin-top: 12px; font-size: 0.94rem; max-width: 280px; }
.footer__col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 14px; }
.footer__col a { display: block; color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 10px; transition: color 0.2s ease; }
.footer__col a:hover { color: var(--text); }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__bottom { border-top: 1px solid var(--border-subtle); padding-top: 24px; color: var(--text-muted); font-size: 0.86rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ===================== Legal pages ===================== */
.legal { padding: 52px 0 88px; }
.legal__back { color: var(--text-secondary); font-size: 0.94rem; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 28px; }
.legal__back:hover { color: var(--text); }
.legal h1 { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 8px; }
.legal__updated { color: var(--text-muted); margin-bottom: 14px; }
.legal__intro { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 8px; }
.toc {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px 24px; margin: 28px 0 40px;
}
.toc h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 40px; }
.toc li { margin-bottom: 7px; }
.toc a { color: var(--text-secondary); font-size: 0.94rem; }
.toc a:hover { color: var(--text); }
.legal__content { color: var(--text-secondary); }
.legal__content h2 { color: var(--text); font-size: 1.3rem; margin: 38px 0 12px; scroll-margin-top: 84px; letter-spacing: -0.01em; }
.legal__content h3 { color: var(--text); font-size: 1.02rem; margin: 20px 0 8px; }
.legal__content p { margin-bottom: 14px; }
.legal__content ul { margin: 0 0 16px; padding-left: 22px; }
.legal__content li { margin-bottom: 8px; }
.legal__content a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.legal__content strong { color: var(--text); }

/* ===================== Responsive ===================== */
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { order: 1; }
  .device-wrap { order: 2; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero .waitlist { margin-left: auto; margin-right: auto; }
  .badges, .hero__note { justify-content: center; }
  .showcase { grid-template-columns: 1fr; gap: 36px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav__links { display: none; }
  .features { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; gap: 28px; }
  .footer__cols { gap: 40px; }
  .toc ol { columns: 1; }
  .section { padding: 70px 0; }
  .waitlist__bar {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-lg);
    padding: 12px;
    gap: 10px;
  }
  .waitlist__input { padding: 10px 8px; text-align: center; }
  .waitlist__submit { width: 100%; }
  .waitlist__meta { justify-content: center; }
  .hero__logo { height: 92px; width: auto; }
}

/* ---- Invite landing (/invite) ---- */
.invite-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.invite-shell {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.invite-brand img {
  display: block;
  height: 72px;
  width: auto;
}

.invite-card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  text-align: center;
}

.invite-title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.invite-copy {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 20px;
}

.invite-copy--small {
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.invite-code-box {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 20px;
}

.invite-code-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.invite-code-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.invite-btn {
  width: 100%;
  justify-content: center;
}

.invite-fallback {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.invite-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
