/* ===========================================================================
   marketing.css — hand-authored styles for the Urua public marketing surface.
   No build step (NOT Tailwind). Reuses the existing brand tokens from the app
   (lime #C4F000, bg #07090A, fonts Bricolage / Inter / Space Grotesk).
   Mobile-first; progressively enhanced at >=768px and >=1024px.
   =========================================================================== */

:root {
  --bg: #07090A;
  --bg1: #0C0F10;
  --bg2: #111518;
  --card: #161C1F;
  --card2: #1C2428;
  --b0: rgba(255, 255, 255, .04);
  --b1: rgba(255, 255, 255, .08);
  --b2: rgba(255, 255, 255, .14);
  --lime: #C4F000;
  --limeD: #d2ff23;
  --orange: #FF7B3A;
  --teal: #00D4AA;
  --purple: #9B6DFF;
  --red: #FF5E5E;
  --saffron: #FFB547;
  --t1: #EEF4F0;
  --t2: #93AFA6;
  --t3: #5A7A70;
  --fd: 'Bricolage Grotesque', sans-serif;
  --fb: 'Inter', -apple-system, sans-serif;
  --fw: 'Space Grotesk', sans-serif;
  --maxw: 1120px;
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  min-height: 100%;
  background: #07090A;
  background: radial-gradient(circle at 50% 0%, #111415 0%, #07090A 60%);
  color: var(--t1);
  font-family: var(--fb);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

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

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Ambient brand decor ─────────────────────────────────────────────────── */
.grain-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 256px 256px;
}
.grid-line {
  position: fixed; top: 0; bottom: 0; width: 1px;
  background: rgba(255, 255, 255, .04); z-index: 0; pointer-events: none;
}
.grid-line--l1 { left: 8%; } .grid-line--l2 { left: 12%; }
.grid-line--r1 { right: 8%; } .grid-line--r2 { right: 12%; }
.blob {
  position: fixed; border-radius: 50%; z-index: 0; pointer-events: none; filter: blur(120px);
}
.blob--lime { width: 460px; height: 460px; top: -120px; left: -140px; background: rgba(196, 240, 0, .06); }
.blob--purple { width: 460px; height: 460px; top: 220px; right: -160px; background: rgba(155, 109, 255, .05); }

@media (max-width: 640px) {
  .grid-line--l2, .grid-line--r2 { display: none; }
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--fb); font-weight: 700; font-size: 15px;
  border: 1px solid transparent; border-radius: 12px; padding: 14px 28px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: box-shadow .25s ease, transform .12s ease, background .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn:active { transform: scale(.98); }
.btn--lime { background: var(--limeD); color: #07090A; }
.btn--lime:hover { box-shadow: 0 0 28px rgba(210, 255, 35, .32); }
.btn--ghost { background: transparent; color: var(--t1); border-color: var(--b2); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--sm { padding: 10px 18px; font-size: 14px; border-radius: 10px; }
.btn--lg { padding: 17px 36px; font-size: 16px; }
.btn--block { width: 100%; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 10, .72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--b0);
}
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto; min-height: var(--header-h);
  display: flex; align-items: center; gap: 20px;
  padding: 10px 20px;
}
.wordmark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.wordmark__mark { display: block; }
.wordmark__text {
  font-family: var(--fw); font-weight: 700; font-size: 22px; letter-spacing: .01em; color: var(--t1);
}
.wordmark__a { color: var(--lime); }

.site-nav { display: none; align-items: center; gap: 22px; margin-left: 8px; }
.site-nav a {
  font-size: 14px; color: var(--t2); text-decoration: none; font-weight: 500;
  transition: color .18s;
}
.site-nav a:hover { color: var(--t1); }

.site-header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-link {
  display: none; font-size: 13px; color: var(--t2); text-decoration: none; font-weight: 500;
}
.header-link:hover { color: var(--t1); }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 11px; background: var(--b0);
  border: 1px solid var(--b1); border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--t1); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Collapsed by DEFAULT. The panel only renders when JS removes [hidden]
   (i.e. on hamburger tap). Base state is display:none so a fresh mobile load
   never shows an open panel, regardless of cascade order. */
.mobile-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  flex-direction: column; gap: 4px;
  padding: 12px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--b0); border-bottom: 1px solid var(--b0);
  background: rgba(7, 9, 10, .98);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .7);
}
/* Shown only when NOT hidden (JS toggles the [hidden] attribute). */
.mobile-nav:not([hidden]) { display: flex; }
.mobile-nav a {
  padding: 12px 8px; font-size: 16px; color: var(--t1); text-decoration: none;
  border-bottom: 1px solid var(--b0);
}
.mobile-nav__account { color: var(--t2) !important; }
.mobile-nav .btn { margin-top: 14px; }

/* Desktop: show inline nav, hide the hamburger + its dropdown panel entirely. */
@media (min-width: 1024px) {
  .site-nav { display: flex; }
  .header-link { display: inline-block; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ── Layout primitives ───────────────────────────────────────────────────── */
.section { position: relative; z-index: 1; padding: 72px 20px; }
.container { max-width: var(--maxw); margin: 0 auto; }
.container--narrow { max-width: 760px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fw); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em; color: var(--t2);
  padding: 7px 14px; border: 1px solid var(--b1); border-radius: 999px;
  background: var(--b0);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 4px rgba(196, 240, 0, .18);
}
/* Mobile: render the eyebrow as a compact tag, not a bulky 2-line block.
   Smaller text, tighter tracking, slimmer pill + a smaller indicator dot.
   Desktop appearance (base rule above) is unchanged. */
@media (max-width: 640px) {
  .eyebrow {
    font-size: 10px; letter-spacing: .1em; gap: 6px; padding: 5px 11px;
  }
  .eyebrow .dot { width: 6px; height: 6px; box-shadow: 0 0 0 3px rgba(196, 240, 0, .18); }
}
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-title {
  font-family: var(--fd); font-weight: 800; letter-spacing: -.03em; line-height: 1.08;
  font-size: clamp(1.9rem, 5vw, 2.8rem); color: var(--t1);
}
.section-sub { margin-top: 14px; color: var(--t2); font-size: 1.0625rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  font-weight: 600; font-size: 15px; color: var(--lime); text-decoration: none;
}
.link-arrow:hover { gap: 10px; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { padding-top: 56px; padding-bottom: 64px; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__title {
  font-family: var(--fd); font-weight: 800; letter-spacing: -.04em; line-height: 1.04;
  font-size: clamp(2.4rem, 8vw, 4.25rem); margin: 22px 0 18px; color: var(--t1);
}
.hero__title .lime { color: var(--lime); }
.hero__sub {
  font-size: 1.0625rem; color: var(--t2); max-width: 520px; line-height: 1.6;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__secondary {
  margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  font-size: 14px; color: var(--t3);
}
.hero__secondary a, .hero__secondary button {
  background: none; border: none; cursor: pointer; padding: 0;
  font: inherit; color: var(--t2); text-decoration: none; font-weight: 600;
}
.hero__secondary a:hover, .hero__secondary button:hover { color: var(--lime); }
.hero__media {
  position: relative; border: 1px solid var(--b1); border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, #111518, #0C0F10);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8);
}
.hero__media picture { display: block; width: 100%; }
/* width drives height via the image's 3:4 aspect ratio (no fixed panel height,
   so cover has a real box to fill and the img can never collapse to 0). */
.hero__media img { width: 100%; height: auto; aspect-ratio: 896 / 1200; object-fit: cover; }

/* Mobile: hide the hero image entirely. display:none removes it from the
   single-column grid flow, so the copy/CTA column takes the full width with
   no leftover gap. Desktop (>=641px) keeps the full hero panel above. */
@media (max-width: 640px) {
  .hero__media { display: none; }
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
}

/* ── Cities / social proof ───────────────────────────────────────────────── */
.proof { display: grid; gap: 18px; grid-template-columns: 1fr; }
.proof-card {
  border: 1px solid var(--b1); border-radius: 18px; background: var(--bg1);
  padding: 26px 24px;
}
.proof-card__k {
  font-family: var(--fd); font-weight: 800; font-size: 1.7rem; color: var(--lime);
  letter-spacing: -.02em;
}
.proof-card__l { margin-top: 6px; color: var(--t2); font-size: .95rem; }
@media (min-width: 720px) { .proof { grid-template-columns: repeat(3, 1fr); } }

/* ── How it works (steps) ────────────────────────────────────────────────── */
.steps { display: grid; gap: 18px; grid-template-columns: 1fr; }
.step {
  position: relative; border: 1px solid var(--b1); border-radius: 18px;
  background: var(--bg1); padding: 26px 24px;
}
.step__n {
  font-family: var(--fw); font-weight: 700; font-size: 13px; color: #07090A;
  background: var(--lime); width: 30px; height: 30px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
}
.step__t { font-family: var(--fd); font-weight: 700; font-size: 1.2rem; margin: 16px 0 8px; }
.step__d { color: var(--t2); font-size: .96rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ── Role + feature cards ────────────────────────────────────────────────── */
.card-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .card-grid--5 { grid-template-columns: repeat(5, 1fr); } }

.mini-card {
  border: 1px solid var(--b1); border-radius: 18px; background: var(--bg1);
  padding: 24px 22px; transition: border-color .2s, transform .2s;
}
.mini-card:hover { border-color: var(--b2); transform: translateY(-2px); }
.mini-card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: inline-flex;
  align-items: center; justify-content: center; margin-bottom: 16px;
  background: var(--accentA, rgba(196, 240, 0, .12));
}
.mini-card__icon .material-symbols-outlined { color: var(--accent, var(--lime)); font-size: 26px; }
.mini-card__t { font-family: var(--fd); font-weight: 700; font-size: 1.12rem; }
.mini-card__d { color: var(--t2); font-size: .94rem; margin-top: 8px; }
.role-tag {
  display: inline-block; margin-bottom: 14px; font-family: var(--fw); font-size: 11px;
  font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent, var(--lime));
}
/* role accent colors (mirrors the email roleStripeMap) */
.role--resident { --accent: var(--lime); --accentA: rgba(196,240,0,.12); }
.role--vendor   { --accent: var(--orange); --accentA: rgba(255,123,58,.14); }
.role--chef     { --accent: var(--saffron); --accentA: rgba(255,181,71,.14); }
.role--runner   { --accent: var(--teal); --accentA: rgba(0,212,170,.14); }
.role--store    { --accent: var(--orange); --accentA: rgba(255,123,58,.14); }

/* ── FAQ teaser accordion ────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--b1); border-radius: 14px; background: var(--bg1);
  overflow: hidden;
}
.faq-item > summary {
  list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600;
  font-size: 1.02rem; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: 'add'; font-family: 'Material Symbols Outlined'; color: var(--lime); font-size: 22px;
}
.faq-item[open] > summary::after { content: 'remove'; }
.faq-item__a { padding: 0 22px 20px; color: var(--t2); font-size: .98rem; line-height: 1.6; }

/* ── Final CTA band ──────────────────────────────────────────────────────── */
.cta-band {
  position: relative; z-index: 1; text-align: center;
  border: 1px solid var(--b1); border-radius: 28px;
  background: linear-gradient(150deg, rgba(196, 240, 0, .08), rgba(155, 109, 255, .05));
  padding: 56px 28px; max-width: var(--maxw); margin: 0 auto;
}
.cta-band__t {
  font-family: var(--fd); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
}
.cta-band__s { color: var(--t2); margin: 12px auto 26px; max-width: 480px; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--b0); margin-top: 24px; }
.site-footer__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 56px 20px 28px;
  display: grid; gap: 40px; grid-template-columns: 1fr;
}
.site-footer__tagline { color: var(--t2); font-size: .95rem; margin: 16px 0; max-width: 320px; }
.city-badge {
  display: inline-block; font-family: var(--fw); font-size: 12px; letter-spacing: .08em;
  color: var(--t2); padding: 6px 12px; border: 1px solid var(--b1); border-radius: 999px;
}
.site-footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col__title {
  font-family: var(--fw); font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; color: var(--t3); margin-bottom: 4px;
}
.footer-col a, .footer-link-btn {
  font-size: 14px; color: var(--t2); text-decoration: none; text-align: left;
  background: none; border: none; padding: 0; cursor: pointer; font-family: var(--fb);
}
.footer-col a:hover, .footer-link-btn:hover { color: var(--lime); }
.site-footer__bar {
  max-width: var(--maxw); margin: 0 auto; padding: 20px;
  border-top: 1px solid var(--b0); display: flex; justify-content: space-between;
  align-items: center; font-size: 13px; color: var(--t3);
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
}
.footer-brand-mini { font-family: var(--fw); font-weight: 700; letter-spacing: .04em; color: var(--t2); }

/* Social icon row — sits between the footer columns and the copyright bar.
   Aligned to the footer content edge (same max-width + 20px gutter). The
   negative inline margin offsets each link's tap-target padding so the first
   icon still lines up with the left edge above it. */
.site-footer__social {
  max-width: var(--maxw); margin: 0 auto; padding: 8px 10px 4px;
  display: flex; align-items: center; gap: 6px;
}
.site-footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  color: var(--t3); text-decoration: none;
  transition: color .18s ease, background .18s ease;
}
.site-footer__social a:hover { color: var(--lime); background: var(--b0); }
.site-footer__social svg { width: 20px; height: 20px; display: block; }

@media (prefers-reduced-motion: reduce) {
  .site-footer__social a { transition: none; }
}

@media (min-width: 760px) {
  .site-footer__inner { grid-template-columns: 1.3fr 2fr; }
  .site-footer__cols { grid-template-columns: repeat(4, 1fr); }
}

/* ── Modal (waitlist) ────────────────────────────────────────────────────── */
/* Collapsed by DEFAULT. The [hidden] attribute is the authoritative open/closed
   switch (JS removes it to open, re-adds it after the close transition). Base
   display:none guarantees the invisible overlay never captures clicks while closed
   — mirrors the .mobile-nav pattern. The .open class drives only the opacity fade. */
.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 100; background: rgba(7, 9, 10, .92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  align-items: center; justify-content: center; padding: 16px;
  opacity: 0; transition: opacity .28s ease;
}
.modal-overlay:not([hidden]) { display: flex; }
.modal-overlay.open { opacity: 1; }
.modal-card {
  position: relative; width: 100%; max-width: 420px; background: var(--bg2);
  border: 1px solid var(--b1); border-radius: 28px; padding: 40px 30px 30px;
  text-align: center; transform: translateY(20px) scale(.97); transition: transform .28s ease;
}
.modal-overlay.open .modal-card { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px;
  border: none; background: var(--b0); border-radius: 50%; cursor: pointer;
  color: var(--t2); font-size: 20px; display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--b1); color: var(--t1); }
.modal-icon { margin-bottom: 8px; }
.modal-title { font-family: var(--fd); font-weight: 800; font-size: 26px; letter-spacing: -.03em; margin: 14px 0 8px; }
.modal-desc { color: var(--t2); font-size: 14px; line-height: 1.6; margin-bottom: 22px; }
.input-wrap { margin-bottom: 14px; }
.waitlist-input {
  width: 100%; padding: 15px 18px; background: var(--b0); border: 1px solid var(--b1);
  border-radius: 12px; color: var(--t1); font-family: var(--fb); font-size: 16px;
  outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none;
}
.waitlist-input:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(196, 240, 0, .18); }
.waitlist-input::placeholder { color: var(--t3); }
.waitlist-btn {
  width: 100%; padding: 15px; background: var(--limeD); color: #07090A; border: none;
  border-radius: 12px; font-family: var(--fw); font-size: 16px; font-weight: 700;
  letter-spacing: .04em; cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 8px; transition: box-shadow .2s, transform .1s;
}
.waitlist-btn:hover { box-shadow: 0 0 24px rgba(210, 255, 35, .3); }
.waitlist-btn:active { transform: scale(.98); }
.waitlist-btn:disabled { opacity: .6; cursor: not-allowed; }
.modal-fine { font-size: 11px; color: var(--t3); margin-top: 14px; }
.spinner {
  width: 18px; height: 18px; border: 2px solid rgba(7, 9, 10, .3);
  border-top-color: #07090A; border-radius: 50%; animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===========================================================================
   Urua editorial — reusable component vocabulary (shared across marketing pages)
   Varied section rhythms: surface alternation, marquee, step timeline,
   zig-zag rows, bento grid, full-bleed type, scroll-reveal.
   =========================================================================== */

/* ── Section surface alternation ─────────────────────────────────────────── */
/* Raised, subtly washed surface so adjacent sections don't read as one slab. */
.section--surface {
  background:
    linear-gradient(180deg, rgba(196, 240, 0, .03), transparent 240px),
    var(--bg1);
  border-top: 1px solid var(--b0);
  border-bottom: 1px solid var(--b0);
}

/* Left-aligned heading variants for split / editorial layouts. */
.section-title--left { text-align: left; }
.section-sub--left { text-align: left; }

/* Shared "see more" link row beneath a section. */
.section-cta { text-align: center; margin-top: 36px; }

/* ── Marquee / auto-scroller ─────────────────────────────────────────────── */
/* Horizontal ticker. Track is duplicated in markup for a seamless -50% loop. */
.marquee {
  position: relative; z-index: 1; margin-top: 48px; overflow: hidden;
  width: 100%; max-width: 100%;
  border-top: 1px solid var(--b0); border-bottom: 1px solid var(--b0);
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 18px; white-space: nowrap;
  will-change: transform; animation: marquee-scroll 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--fw); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em;
  color: var(--t2);
}
.marquee__sep { color: var(--lime); opacity: .55; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Cities / social-proof split ─────────────────────────────────────────── */
.proof-split { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
.proof-split__lead .eyebrow { margin-bottom: 18px; }
.proof-split__lead .section-title { margin-top: 0; }
.proof-list { list-style: none; display: grid; gap: 14px; }
.proof-item {
  display: grid; grid-template-columns: minmax(96px, auto) 1fr; gap: 16px; align-items: baseline;
  border: 1px solid var(--b1); border-radius: 18px; background: var(--bg2);
  padding: 22px 24px;
}
.proof-item__k {
  font-family: var(--fd); font-weight: 800; font-size: 1.5rem; color: var(--lime);
  letter-spacing: -.02em;
}
.proof-item__l { color: var(--t2); font-size: .95rem; }
@media (min-width: 880px) {
  .proof-split { grid-template-columns: .9fr 1.1fr; gap: 56px; }
}

/* ── Step timeline (numbered, with connector line) ───────────────────────── */
.step-timeline { list-style: none; position: relative; display: grid; gap: 22px; }
.step-timeline__step {
  position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px;
  align-items: start;
}
.step-timeline__n {
  position: relative; z-index: 1; flex: none;
  width: 44px; height: 44px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--fw); font-weight: 700; font-size: 16px; color: #07090A;
  background: var(--lime); box-shadow: 0 0 0 6px rgba(196, 240, 0, .08);
}
.step-timeline__t { font-family: var(--fd); font-weight: 700; font-size: 1.18rem; }
.step-timeline__d { color: var(--t2); font-size: .96rem; margin-top: 6px; max-width: 46ch; }
/* Mobile: vertical connector down the left rail. */
.step-timeline__step::before {
  content: ""; position: absolute; left: 21px; top: 44px; bottom: -22px; width: 2px;
  background: linear-gradient(180deg, var(--b2), transparent);
}
.step-timeline__step:last-child::before { display: none; }

@media (min-width: 820px) {
  .step-timeline {
    grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch;
  }
  .step-timeline__step {
    grid-template-columns: 1fr; gap: 16px; text-align: left;
    padding: 28px 26px; border: 1px solid var(--b1); border-radius: 20px; background: var(--bg1);
  }
  /* Horizontal connector running across the row of cards. */
  .step-timeline__step::before {
    left: auto; right: -28px; top: 50px; bottom: auto; width: 28px; height: 2px;
    background: linear-gradient(90deg, var(--b2), transparent);
  }
}

/* ── Editorial typographic moment ────────────────────────────────────────── */
.bleed-type {
  background:
    radial-gradient(circle at 20% 30%, rgba(196, 240, 0, .045), transparent 45%),
    radial-gradient(circle at 82% 78%, rgba(155, 109, 255, .04), transparent 48%);
  text-align: center;
}
/* Proportionate band — not a heavy full-bleed slab. */
.bleed-type__inner { padding-block: clamp(12px, 4vw, 36px); }
/* Small uppercase, letter-spaced overline. */
.bleed-type__kicker {
  display: block; font-family: var(--fw); font-weight: 600;
  font-size: .8125rem; text-transform: uppercase; letter-spacing: .22em;
  color: var(--t3); margin-bottom: 16px;
}
/* Refined single balanced headline — crisp, not shouty. */
.bleed-type__line {
  font-family: var(--fd); font-weight: 700; line-height: 1.1;
  letter-spacing: -.025em; text-wrap: balance;
  font-size: clamp(1.75rem, 5vw, 3.25rem); color: var(--t1);
  max-width: 18ch; margin-inline: auto;
}
.bleed-type__line .lime { color: var(--lime); }
/* Trailing refined line — integrated, not dangling grey text. */
.bleed-type__tail {
  margin-top: 14px; font-family: var(--fb); font-weight: 500;
  font-size: 1rem; letter-spacing: .01em; color: var(--t2);
}

/* ── Alternating zig-zag rows (roles) ────────────────────────────────────── */
.alt-rows { display: grid; gap: 22px; }
.alt-row {
  display: grid; gap: 20px; align-items: center;
  grid-template-columns: 1fr;
  border: 1px solid var(--b1); border-radius: 24px; background: var(--bg1);
  padding: 26px 24px; overflow: hidden; position: relative;
}
.alt-row__media {
  display: flex; align-items: center; justify-content: center;
  min-height: 120px; border-radius: 18px;
  background:
    radial-gradient(circle at 50% 40%, var(--accentA, rgba(196,240,0,.12)), transparent 70%),
    var(--bg2);
  border: 1px solid var(--b0);
}
.alt-row__icon {
  width: 64px; height: 64px; border-radius: 18px; display: inline-flex;
  align-items: center; justify-content: center; background: var(--accentA, rgba(196,240,0,.12));
}
.alt-row__icon .material-symbols-outlined { font-size: 34px; color: var(--accent, var(--lime)); }
.alt-row__t { font-family: var(--fd); font-weight: 700; font-size: 1.35rem; margin-top: 12px; }
.alt-row__d { color: var(--t2); font-size: .98rem; margin-top: 8px; max-width: 48ch; }

@media (min-width: 760px) {
  .alt-row { grid-template-columns: .8fr 1.2fr; gap: 36px; padding: 32px 36px; }
  .alt-row__media { min-height: 168px; }
  /* Zig-zag: even rows flip the media to the right. */
  .alt-row:nth-child(even) .alt-row__media { order: 2; }
  .alt-row:nth-child(even) .alt-row__copy { order: 1; }
}

/* ── Alt-row panel fill images ────────────────────────────────────────────── */
.alt-row__media { position: relative; overflow: hidden; }
.alt-row__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block; z-index: 1;
}

/* ── Bento / asymmetric feature grid ─────────────────────────────────────── */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.bento__tile {
  border: 1px solid var(--b1); border-radius: 20px; background: var(--bg1);
  padding: 26px 24px; transition: border-color .2s ease, transform .2s ease;
}
.bento__tile:hover { border-color: var(--b2); transform: translateY(-3px); }
.bento__icon {
  width: 48px; height: 48px; border-radius: 14px; display: inline-flex;
  align-items: center; justify-content: center; margin-bottom: 16px;
  background: var(--limeA, rgba(196, 240, 0, .12));
}
.bento__icon .material-symbols-outlined { color: var(--lime); font-size: 27px; }
.bento__t { font-family: var(--fd); font-weight: 700; font-size: 1.16rem; }
.bento__d { color: var(--t2); font-size: .95rem; margin-top: 8px; }
/* Hero tile: larger type + lime-washed gradient surface. */
.bento__tile--hero {
  background:
    linear-gradient(155deg, rgba(196, 240, 0, .10), rgba(155, 109, 255, .05)),
    var(--bg1);
}
.bento__tile--hero .bento__t { font-size: 1.5rem; margin-top: 4px; }
.bento__tile--hero .bento__d { font-size: 1.02rem; }

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__tile--wide { grid-column: span 2; }
  .bento__tile--hero { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; }
  /* Hero tile spans two columns and two rows for a bold anchor. */
  .bento__tile--hero { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
  .bento__tile--hero .bento__d { margin-top: auto; }
  .bento__tile--wide { grid-column: span 1; }
}

/* ── Bento hero tile: copy + illustration ────────────────────────────────── */
/* Mobile: illustration banner below copy */
.bento__hero-copy {
  padding: 0; /* inherits tile padding */
}
.bento__hero-media {
  position: relative;
  margin-top: 20px;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.bento__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Desktop: side-by-side layout — copy left, illustration right */
@media (min-width: 1000px) {
  .bento__tile--hero {
    flex-direction: row;
    padding: 0;
    overflow: hidden;
  }
  .bento__hero-copy {
    flex: 0 0 56%;
    display: flex;
    flex-direction: column;
    padding: 26px 24px;
    background:
      linear-gradient(155deg, rgba(196, 240, 0, .10), rgba(155, 109, 255, .05)),
      var(--bg1);
  }
  .bento__hero-copy .bento__d { margin-top: auto; }
  /* Override the top-level rule that pins .bento__d via margin-top:auto on the tile */
  .bento__tile--hero .bento__d { margin-top: 0; }
  .bento__hero-media {
    flex: 0 0 44%;
    margin-top: 0;
    border-radius: 0;
    aspect-ratio: unset;
    position: relative;
  }
  .bento__hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
}

/* ── Scroll-reveal ───────────────────────────────────────────────────────── */
/* Content is visible by default. The hidden/animated state only applies once JS
   has confirmed it can run AND will reveal — it adds .reveal-on to <html>. This
   guarantees no-JS visitors (and any JS failure) always see the content. */
.reveal-on .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-on .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  /* No motion: marquee parks, reveals are fully visible with no transform. */
  .marquee__track { animation: none; }
  .reveal-on .reveal { opacity: 1; transform: none; }
}

/* ===========================================================================
   Install UX — shared by the #installModal popup AND the standalone /install
   page (which mounts a runtime clone of the modal content). One source of CSS
   for both so they always look identical. Panel show/hide uses the project's
   :not([hidden]) pattern (base display:none) — author display rules can defeat
   the bare [hidden] attribute, so display is set explicitly.
   =========================================================================== */

/* Modal chrome overrides: the install content is wider + scrollable than the
   default .modal-card (which is a narrow 420px form). */
.install-modal__card {
  max-width: 640px;
  text-align: left;
  padding: 40px 26px 30px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 720px) {
  .install-modal__card { padding: 48px 44px 38px; }
}

/* Canonical install content head. */
.install-content__head { text-align: center; }
.install-content__title {
  font-family: var(--fd); font-weight: 800;
  font-size: clamp(24px, 5vw, 30px); letter-spacing: -.03em;
  margin: 12px 0 8px; color: var(--t1);
}
.install-content__sub {
  color: var(--t2); font-size: 14px; line-height: 1.6;
  max-width: 460px; margin: 0 auto;
}

/* Segmented 3-way platform toggle. */
.install-tabs {
  display: flex; gap: 4px; margin: 24px auto 0; justify-content: center;
  padding: 4px; border: 1px solid var(--b1); border-radius: 14px;
  background: var(--b0); max-width: 100%; width: fit-content;
}
.install-tab {
  appearance: none; cursor: pointer; white-space: nowrap;
  font-family: var(--fb); font-weight: 600; font-size: 14px;
  color: var(--t2); background: transparent;
  border: 0; border-radius: 10px; padding: 9px 16px;
  transition: background .18s, color .18s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.install-tab:hover { color: var(--t1); }
.install-tab[aria-selected="true"] { background: var(--limeD); color: #07090A; }
@media (max-width: 420px) {
  .install-tab { padding: 9px 12px; font-size: 13px; flex: 1; }
}

/* Panels: hidden by default, shown only when [hidden] is removed. */
.install-panel { display: none; margin-top: 28px; text-align: left; }
.install-panel:not([hidden]) { display: block; }

/* Keep each panel a single vertical step list at every width (the global
   .step-timeline goes multi-up at wide breakpoints, which would mis-order the
   sequential install steps). */
.install-panel .step-timeline { grid-template-columns: 1fr; gap: 18px; }
.install-panel .step-timeline__step {
  grid-template-columns: 44px 1fr; gap: 18px; text-align: left;
  padding: 0; border: 0; border-radius: 0; background: transparent;
}
.install-panel .step-timeline__step::before {
  left: 21px; right: auto; top: 44px; bottom: -18px;
  width: 2px; height: auto;
  background: linear-gradient(180deg, var(--b2), transparent);
}
.install-panel .step-timeline__step:last-child::before { display: none; }

/* One-tap install button — hidden until beforeinstallprompt fires. */
.install-oneclick { margin-bottom: 22px; }
.install-oneclick[hidden] { display: none; }
.install-note {
  margin-top: 18px; color: var(--t2); font-size: .9rem; line-height: 1.5;
}
.install-confirm {
  margin-top: 18px; padding: 12px 16px;
  border: 1px solid var(--b1); border-radius: 12px;
  background: rgba(196, 240, 0, .08); color: var(--t1);
  font-size: .95rem; font-weight: 600;
}
.install-confirm[hidden] { display: none; }

/* Standalone /install page card — the same content in a static page surface. */
.install-page__card {
  border: 1px solid var(--b1); border-radius: 28px;
  background: linear-gradient(150deg, rgba(196, 240, 0, .06), rgba(155, 109, 255, .04));
  padding: 40px 24px; max-width: 820px; margin: 0 auto;
}
@media (min-width: 720px) { .install-page__card { padding: 52px 48px; } }

/* ── Bento spot illustrations (corner art for the 5 sibling tiles) ──────── */
.bento__tile--spot { position: relative; overflow: hidden; }

/* Ensure icon, heading, body sit above the illustration */
.bento__tile--spot .bento__icon,
.bento__tile--spot .bento__t,
.bento__tile--spot .bento__d { position: relative; z-index: 1; }

/* Keep description text from colliding with corner art */
.bento__tile--spot .bento__d { padding-right: 88px; }

/* The corner illustration itself */
.bento__spot {
  position: absolute; right: 0; bottom: 0;
  width: clamp(96px, 38%, 132px); height: auto; max-height: 70%;
  object-fit: contain; object-position: bottom right;
  pointer-events: none; z-index: 0;
  /* feather top + left edges so image melts into the dark tile background */
  -webkit-mask-image: linear-gradient(to top left, #000 35%, transparent 90%);
          mask-image: linear-gradient(to top left, #000 35%, transparent 90%);
}

/* Wide tile ("Market runs") can carry a slightly larger spot since it's broader */
.bento__tile--wide.bento__tile--spot .bento__spot {
  width: clamp(110px, 22%, 150px);
}
/* Wide tile: description is already spacious horizontally, reduce right pad */
.bento__tile--wide.bento__tile--spot .bento__d { padding-right: 100px; }

/* ===========================================================================
   Blog — index card grid + single-post prose. Brand tokens only; mobile-first.
   =========================================================================== */

/* ── Index: responsive card grid ─────────────────────────────────────────── */
.blog-grid {
  display: grid; gap: 20px; grid-template-columns: 1fr;
}
@media (min-width: 680px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--b1);
  border-radius: 18px; padding: 24px; text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.post-card:hover,
.post-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--b2);
  background: var(--card2);
}
.post-card__date,
.post-meta {
  font-family: var(--fm, var(--fw)); font-size: .8125rem;
  color: var(--t3); letter-spacing: .01em;
}
.post-card__title {
  font-family: var(--fd); font-weight: 700; line-height: 1.2;
  font-size: 1.1875rem; color: var(--t1); margin-top: 10px;
}
.post-card__excerpt {
  margin-top: 10px; color: var(--t2); font-size: .9375rem; line-height: 1.55;
  flex: 1 1 auto;
}
.post-card__more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; color: var(--lime); font-weight: 600; font-size: .9375rem;
}

/* ── Single post: comfortable centered prose ─────────────────────────────── */
.post-body {
  padding: 56px 0 64px;
}
.post-body .container--narrow,
.post-body > .container {
  max-width: 720px; margin: 0 auto;
}
.post-body h1 {
  font-family: var(--fd); font-weight: 800; letter-spacing: -.03em; line-height: 1.08;
  font-size: clamp(1.9rem, 5.5vw, 2.8rem); color: var(--t1);
}
.post-body .post-meta { margin-top: 14px; }
.post-body h2 {
  font-family: var(--fd); font-weight: 700; letter-spacing: -.02em; line-height: 1.2;
  font-size: clamp(1.3rem, 3.4vw, 1.6rem); color: var(--t1);
  margin-top: 40px;
}
.post-body h3 {
  font-family: var(--fd); font-weight: 700; font-size: 1.125rem; color: var(--t1);
  margin-top: 28px;
}
.post-body p {
  margin-top: 18px; color: var(--t2); font-size: 1.0625rem; line-height: 1.7;
}
.post-body ul,
.post-body ol {
  margin-top: 18px; padding-left: 1.4em; color: var(--t2);
  font-size: 1.0625rem; line-height: 1.7;
}
.post-body li { margin-top: 8px; }
.post-body strong { color: var(--t1); font-weight: 600; }
.post-body a {
  color: var(--lime); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(196, 240, 0, .4);
}
.post-body a:hover { text-decoration-color: var(--lime); }
.post-body blockquote {
  margin: 24px 0 0; padding: 16px 20px;
  border-left: 3px solid var(--lime);
  background: var(--limeA, rgba(196, 240, 0, .06)); border-radius: 0 12px 12px 0;
  color: var(--t1); font-size: 1.0625rem; line-height: 1.6;
}
.post-body .post-cta {
  margin-top: 40px;
}
.post-body .post-cta .btn { text-decoration: none; }
