/* SPOT — marketing site styles (v2 brand)
   Brand source of truth: BRAND.md. Fonts: Fraunces (display/wordmark/italic) + Geist (UI/body).
   Palette + the purple-dusk gradient surface are the locked v2 tokens. */

:root {
  /* Core palette */
  --ink: #1E1F28;
  --cream: #F5F0E8;
  --purple: #7B6CF6;
  --purpletext: #5B4FCF;
  --lavender: #A89DF8;
  --mist: #ECEAFF;
  /* Cool family — live/now/secondary, used sparingly */
  --bluetext: #1E50C8;
  --blueaccent: #3D6EF5;
  --bluemist: #E7EDFF;
  /* Working tones */
  --muted: #c9c5d4;
  --dim: #8b8799;
  --faint: #7d7a8a;
  --line: rgba(245, 240, 232, 0.12);
  --panel: rgba(20, 20, 26, 0.5);
  /* Type */
  --serif: "Fraunces", Georgia, serif;
  --sans: "Geist", -apple-system, system-ui, "Segoe UI", sans-serif;
  /* The app-wide purple-dusk gradient surface */
  --surface: linear-gradient(150deg, #312A57 0%, #1F1D2B 45%, #131019 100%);
  --nav-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  color: var(--cream);
  background: var(--surface) fixed;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--lavender); text-decoration: none; }
a:hover { color: var(--cream); }
img { max-width: 100%; display: block; }

/* ---- Shared bits ---------------------------------------------------------- */

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender);
}

.wordmark { font-family: var(--serif); font-weight: 900; letter-spacing: 0.5px; }
.signature { font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--lavender); }

.pin { display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  border: none; border-radius: 14px; padding: 14px 22px; cursor: pointer;
  white-space: nowrap; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 10px 28px rgba(123, 108, 246, 0.4); }
.btn-primary:hover { background: #8a7cf8; color: #fff; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: .6; cursor: default; transform: none; }
.btn-ghost { background: rgba(245, 240, 232, 0.06); color: var(--cream); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--lavender); color: var(--cream); transform: translateY(-1px); }
.btn-lg { padding: 16px 30px; font-size: 16px; border-radius: 16px; }

/* Waitlist CTA — a link to the hosted signup form (MailerLite landing page, etc.) */
.waitlist-link { text-decoration: none; }
.cta .waitlist-link { margin-top: 30px; }

/* App Store badge (coming soon — not a live link yet) */
.appstore {
  display: inline-flex; align-items: center; gap: 11px;
  background: rgba(245, 240, 232, 0.06); border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 18px; color: var(--cream);
}
.appstore svg { width: 22px; height: 22px; flex: none; }
.appstore > span { display: flex; flex-direction: column; }
.appstore .small { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); line-height: 1.2; }
.appstore .big { display: block; font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.1; }

/* ---- Top nav -------------------------------------------------------------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(19, 16, 25, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--cream); }
.nav-brand svg { width: 22px; }
.nav-brand .wordmark { font-size: 22px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-family: var(--sans); font-weight: 600; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.nav-links a:hover { color: var(--cream); }
.nav-links .btn { padding: 9px 18px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
@media (max-width: 720px) {
  .nav-links a.navlink { display: none; }
}

/* ---- Sections ------------------------------------------------------------- */

section { scroll-margin-top: calc(var(--nav-h) + 12px); }
.section { padding: 88px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head h2 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(30px, 5vw, 46px); line-height: 1.08; letter-spacing: -0.01em;
}
.section-head p { color: var(--muted); font-size: 17px; margin-top: 16px; }

/* ---- Hero ----------------------------------------------------------------- */

.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero::before { /* neon glow behind the hero — the bright, high-contrast wrapper */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 32% at 78% 22%, rgba(123, 108, 246, 0.40), transparent 70%),
    radial-gradient(36% 30% at 18% 72%, rgba(61, 110, 245, 0.26), transparent 72%),
    radial-gradient(28% 22% at 60% 88%, rgba(168, 157, 248, 0.18), transparent 75%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-copy .eyebrow { display: inline-block; margin-bottom: 18px; }
.hero-copy .signature { font-size: clamp(20px, 4vw, 26px); display: block; margin-bottom: 10px; }
.hero h1 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(40px, 6.4vw, 66px); line-height: 1.04; letter-spacing: -0.015em;
  margin: 6px 0 20px;
}
.hero .lede { color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); max-width: 480px; margin-bottom: 30px; }
.hero .fineprint { color: var(--dim); font-size: 13px; margin-top: 14px; }

/* Waitlist form */
.waitlist { display: flex; gap: 10px; max-width: 440px; }
.waitlist input[type="email"] {
  flex: 1; min-width: 0;
  font-family: var(--sans); font-size: 15px; color: var(--cream);
  background: rgba(20, 20, 26, 0.55); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px; outline: none; transition: border-color .2s;
}
.waitlist input[type="email"]::placeholder { color: var(--dim); }
.waitlist input[type="email"]:focus { border-color: var(--purple); }
.waitlist .thanks { display: none; }
.waitlist.done input, .waitlist.done .btn { display: none; }
.waitlist.done .thanks { display: block; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--lavender); }

/* ---- Phone mockup (the product visual) ------------------------------------ */

.phone-wrap { display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px; max-width: 84vw;
  border-radius: 48px; padding: 10px;
  background: linear-gradient(180deg, #84848c, #5c5c64);  /* titanium band */
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), inset 0 0 0 4px #0a0a0c;
}
.phone-screen {
  border-radius: 38px; overflow: hidden; background: var(--surface);
  padding: 30px 16px 18px; min-height: 540px;
  box-shadow: 0 0 0 5px #0a0a0c;                            /* black display bezel */
}
.phone-notch { /* Dynamic Island */
  width: 84px; height: 24px; background: #060608; border-radius: 999px;
  position: absolute; top: 21px; left: 50%; transform: translateX(-50%); z-index: 2;
}
.scr-top { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.scr-top svg { width: 16px; }
.scr-top .city { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lavender); }
.scr-title { font-family: var(--serif); font-weight: 900; font-size: 26px; line-height: 1.1; margin-bottom: 4px; }
.scr-sub { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--lavender); margin-bottom: 20px; }
.stop {
  background: rgba(245, 240, 232, 0.05); border: 1px solid var(--line);
  border-radius: 16px; padding: 13px 14px; margin-bottom: 11px;
}
.stop-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.stop-time { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }
.stop-kind { font-family: var(--sans); font-weight: 600; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lavender); background: rgba(123, 108, 246, 0.16); border: 1px solid rgba(123, 108, 246, 0.3); border-radius: 20px; padding: 3px 9px; }
.stop-title { font-family: var(--serif); font-weight: 700; font-size: 17px; margin: 5px 0 4px; }
.stop-note { font-size: 12px; line-height: 1.45; color: var(--muted); }
.taste-badge { display: inline-flex; align-items: center; gap: 5px; margin-top: 9px; font-family: var(--sans); font-weight: 600; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); }
.taste-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--purple); }

/* ---- How it works --------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  padding: 28px 24px;
}
.step-num {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(123, 108, 246, 0.16); border: 1px solid rgba(123, 108, 246, 0.3);
  color: var(--lavender); font-family: var(--serif); font-weight: 900; font-size: 18px; margin-bottom: 18px;
}
.step h3 { font-family: var(--serif); font-weight: 700; font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---- City strip ("I know a SPOT in ___") ---------------------------------- */

.cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.city-card {
  position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate;
}
/* Bright, high-contrast neon fallback per city — drop a real photo into the
   commented <img> slot in the markup and it sits behind this overlay. */
.city-card .neon { position: absolute; inset: 0; z-index: 0; }
.city-card img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.city-card .scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,12,22,0) 38%, rgba(15,12,22,0.82) 100%); }
.city-card .label { position: relative; z-index: 2; padding: 18px; }
.city-card .label .eyebrow { color: var(--mist); }
.city-card .label .name { font-family: var(--serif); font-weight: 900; font-size: 26px; line-height: 1.05; margin-top: 4px; color: #fff; }
.neon-nyc { background: radial-gradient(120% 90% at 20% 10%, #ff4d8d 0%, transparent 45%), radial-gradient(120% 90% at 90% 20%, #3d6ef5 0%, transparent 50%), linear-gradient(160deg, #7B6CF6, #1E1F28); }
.neon-tokyo { background: radial-gradient(120% 90% at 80% 12%, #ff5ea3 0%, transparent 46%), radial-gradient(110% 90% at 10% 30%, #3d6ef5 0%, transparent 48%), linear-gradient(160deg, #5B4FCF, #131019); }
.neon-vegas { background: radial-gradient(120% 90% at 30% 12%, #ffb14d 0%, transparent 44%), radial-gradient(120% 90% at 85% 30%, #7B6CF6 0%, transparent 50%), linear-gradient(160deg, #1E50C8, #1E1F28); }

/* ---- Why SPOT ------------------------------------------------------------- */

.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reason {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px;
}
.reason .ic { width: 38px; height: 38px; margin-bottom: 16px; color: var(--lavender); }
.reason h3 { font-family: var(--serif); font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.reason p { color: var(--muted); font-size: 15px; }

/* ---- Closing CTA ---------------------------------------------------------- */

.cta { text-align: center; padding: 96px 0; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 30%, rgba(123, 108, 246, 0.28), transparent 72%);
}
.cta .container { position: relative; z-index: 1; }
.cta h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(32px, 6vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
.cta .signature { font-size: clamp(18px, 3vw, 22px); display: block; margin-top: 16px; }
.cta .waitlist { margin: 34px auto 0; }
.cta .ctarow { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; }

/* ---- Footer --------------------------------------------------------------- */

.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand svg { width: 20px; }
.footer-brand .wordmark { font-size: 19px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a, .footer .handle { font-size: 13px; color: var(--dim); }
.footer-links a:hover { color: var(--cream); }
.footer .copy { color: var(--faint); font-size: 13px; }

/* ---- Legal pages ---------------------------------------------------------- */

.legal { max-width: 740px; margin: 0 auto; padding: 56px 24px 72px; }
.legal h1 { font-family: var(--serif); font-weight: 900; font-size: clamp(30px, 7vw, 42px); margin-bottom: 6px; }
.legal .updated { color: var(--dim); font-size: 14px; margin-bottom: 22px; }
.legal .lede { color: var(--muted); font-size: 17px; margin: 18px 0; }
.legal h2 { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--lavender); margin: 34px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; }
.legal p { margin: 10px 0; }
.legal ul { margin: 8px 0 8px 22px; }
.legal li { margin: 7px 0; }
.legal strong { color: var(--cream); font-weight: 600; }

/* ---- Responsive ----------------------------------------------------------- */

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { text-align: center; }
  .hero-copy .waitlist { margin-left: auto; margin-right: auto; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .steps, .reasons { grid-template-columns: 1fr; }
  .cities { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .waitlist { flex-direction: column; }
  .cities { grid-template-columns: 1fr; }
  .footer .container { flex-direction: column; text-align: center; justify-content: center; }
}
