/* TripMe.world — Sky theme
   Light sky-blue page with white cards, gradient accents (blue → purple),
   dark-navy pill buttons in the header, and a soft mountain wash under the hero.
*/

/* ── Reset & tokens ─────────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

:root {
  --sky-top:        #eff5fc;
  --sky-bot:        #d7e6f5;
  --bg-soft:        #f4f8fd;
  --card:           #ffffff;
  --text:           #0e1626;
  --text-2:         #51607a;
  --muted:          #8694ac;
  --line:           #e1e8f1;
  --line-soft:      #eef2f8;

  --blue:           #2563eb;
  --blue-dark:      #1d4ed8;
  --blue-soft:      #e8f0fe;
  --purple:         #8b5cf6;
  --purple-soft:    #f1ebff;
  --pin:            #ef4444;
  --ok:             #16a34a;

  --grad:           linear-gradient(90deg, #2563eb 0%, #6366f1 50%, #a855f7 100%);
  --grad-btn:       linear-gradient(90deg, #2563eb 0%, #7c3aed 100%);
  --grad-btn-hover: linear-gradient(90deg, #1d4ed8 0%, #6d28d9 100%);

  --shadow-xs:      0 1px 2px rgba(15, 23, 42, .05);
  --shadow-sm:      0 2px 10px rgba(15, 23, 42, .06);
  --shadow:         0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg:      0 24px 60px rgba(15, 23, 42, .14);

  --radius-sm:      10px;
  --radius:         18px;
  --radius-lg:      28px;
  --radius-pill:    999px;

  --font-sans:      'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-hand:      'Caveat', cursive;

  --container:      1180px;
  --gutter:         clamp(20px, 4vw, 40px);

  --ease:           cubic-bezier(.4,.0,.2,1);
}

/* ── Page foundation ────────────────────────────────────────────────────── */
:root {
  /* Dynamic hero background — swapped by app.js based on the chosen pin. */
  --bg-image: url('./assets/img/backgrounds/background_Default.png');
}
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(247, 251, 255, .18) 0%, rgba(228, 238, 250, .42) 70%, rgba(217, 232, 246, .58) 100%),
    var(--bg-image) center top / cover no-repeat fixed,
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bot) 100%);
  background-attachment: fixed, fixed, fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .4s ease;
}
body.modal-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--text); color: #fff; padding: .6rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0; z-index: 999;
}
.skip-link:focus { left: 0; }
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.noscript {
  background: #fff7e0; color: #5a4a00; padding: .9rem 1.2rem;
  text-align: center; font-size: .9rem; border-bottom: 1px solid #f0d97a;
}

/* ── Sky / mountain background ──────────────────────────────────────────── */
/* The decorative cloud + SVG mountain layer is suppressed because the
   snow-mountain photo on <body> provides the scene. The .sky-bg node is
   kept in markup for structure but rendered empty. */
.sky-bg { display: none; }

/* ── Shell & layout ─────────────────────────────────────────────────────── */
.site-shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.3rem 0;
}
.brand { display: inline-flex; align-items: baseline; }
.brand-text {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand-text em {
  font-style: normal;
  color: var(--blue);
  font-weight: 600;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
  padding: .4rem 0;
  position: relative;
}
.nav-links a:hover { color: var(--blue); }
.nav-links .nav-live {
  display: inline-flex; align-items: center; gap: .45rem;
  color: #9ca3af; font-weight: 600;
  transition: color .2s var(--ease);
}
.nav-links .nav-live[hidden] { display: none !important; }
.nav-links .nav-live .live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #9ca3af;
  box-shadow: none;
  transition: background .2s var(--ease);
}
.nav-links .nav-live.is-live { color: #ef4444; }
.nav-links .nav-live.is-live .live-dot {
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239,68,68,.6);
  animation: navLivePulse 1.6s ease-out infinite;
}
@keyframes navLivePulse {
  0%   { box-shadow: 0 0 0 0 rgba(239,68,68,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}
.join-waitlist-cta {
  background: var(--text);
  color: #fff;
  padding: .75rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .9rem;
  transition: transform .15s var(--ease), background .15s var(--ease);
}
.join-waitlist-cta:hover {
  background: #1c2540;
  color: #fff;
  transform: translateY(-1px);
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
  position: relative;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1.2rem;
  color: var(--text);
}
.hero-copy h1 em {
  font-style: italic;
  font-weight: 800;
}
.hero-sub {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 .35rem;
}
.hero-lede {
  font-size: 1.05rem;
  color: var(--text-2);
  margin: 0 0 2rem;
  max-width: 30rem;
}

/* Gradient text utility */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  /* Italic glyphs overshoot the text bounding box; background-clip:text crops
     that ink. Generous padding-inline-end extends the clip box; negative
     margin keeps layout flow intact. */
  display: inline-block;
  padding-inline-end: .25em;
  margin-inline-end: -.1em;
}

/* Gradient pill button (primary CTA) */
.cta-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  background: var(--grad-btn);
  color: #fff;
  border: 0;
  padding: 1rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .04em;
  box-shadow: 0 12px 28px -8px rgba(99, 102, 241, .55);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .25s var(--ease);
}
.cta-gradient:hover {
  background: var(--grad-btn-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -8px rgba(99, 102, 241, .65);
}
.cta-gradient:active { transform: translateY(0); }
.cta-gradient:disabled {
  background: #c6cfdc;
  box-shadow: none;
  cursor: not-allowed;
  color: #f3f6fb;
}

/* Globe column */
.hero-globe {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.globe-stage-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  position: relative;
}
.globe-stage {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.55), rgba(255,255,255,0) 55%),
    radial-gradient(circle at 50% 50%, #cfe1f6 0%, #a7c4e6 70%, #6b8fb9 100%);
  box-shadow:
    0 30px 70px -20px rgba(37, 99, 235, .35),
    0 0 0 1px rgba(255,255,255,.7) inset;
}
#globeCanvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  cursor: grab;
}
#globeCanvas:active { cursor: grabbing; }
.globe-hint {
  position: absolute;
  bottom: 14px; left: 50%; transform: translateX(-50%);
  background: rgba(14, 22, 38, .55);
  color: #fff;
  padding: .35rem .85rem;
  border-radius: var(--radius-pill);
  font-size: .75rem;
  font-weight: 500;
  pointer-events: none;
  backdrop-filter: blur(6px);
}
.selection-panel {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  background: #fff;
  padding: .75rem .9rem .75rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line-soft);
  animation: panelIn .35s var(--ease);
}
.selection-panel[hidden] { display: none; }
.selection-panel .badge-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--pin);
  box-shadow: 0 0 0 5px rgba(239, 68, 68, .18);
  flex-shrink: 0;
}
.selection-info { flex: 1; min-width: 0; }
.selection-info strong {
  display: block; color: var(--text); font-weight: 600;
  font-size: .95rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.selection-info small { color: var(--muted); font-size: .75rem; }
.continue-btn {
  flex-shrink: 0;
  padding: .6rem 1.1rem;
  font-size: .85rem;
  gap: .35rem;
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.webgl-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 1.5rem; text-align: center;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
}
.webgl-fallback h3 { margin: 0 0 .4rem; color: var(--text); font-size: 1rem; }
.webgl-fallback p  { margin: 0; color: var(--text-2); font-size: .9rem; }

/* Hand-drawn annotation — sits outside the globe, top-left of the column */
.hand-annotation {
  position: absolute;
  top: -8px;
  left: -28px;
  display: flex; align-items: flex-start; gap: .4rem;
  pointer-events: none;
  z-index: 2;
}
.hand-text {
  font-family: var(--font-hand);
  font-size: 1.55rem;
  color: var(--text);
  line-height: 1.05;
  transform: rotate(-6deg);
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.hand-arrow {
  width: 80px; height: 56px;
  transform: translateY(6px) rotate(8deg);
}

/* ── Trust strip ────────────────────────────────────────────────────────── */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  padding: 1.6rem clamp(1rem, 3vw, 2.5rem);
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.trust-item {
  display: flex; align-items: center; gap: .85rem;
  color: var(--blue);
}
.trust-item svg { width: 28px; height: 28px; flex-shrink: 0; }
.trust-item strong { display: block; color: var(--text); font-size: .92rem; font-weight: 700; }
.trust-item span { color: var(--text-2); font-size: .82rem; }

/* ── Section heading ────────────────────────────────────────────────────── */
.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
}
.section-heading.row {
  display: flex; align-items: flex-end; justify-content: space-between;
  max-width: none; text-align: left; gap: 2rem; flex-wrap: wrap;
}
.section-heading h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: .35rem 0 .8rem;
  line-height: 1.1;
}
.section-heading h2 em { font-style: italic; font-weight: 800; }
.section-heading p {
  color: var(--text-2);
  font-size: 1.02rem;
  margin: 0;
}
.mini-label {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0;
}
.text-link {
  color: var(--blue);
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
}
.text-link:hover { color: var(--blue-dark); }

/* ── Pick-spot / destination form ───────────────────────────────────────── */
.pick-spot {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.popular-destinations { margin-bottom: 1.8rem; }
.popular-destinations .label {
  display: block;
  text-align: center;
  color: var(--text-2);
  font-size: .88rem;
  margin-bottom: .9rem;
}
.chip-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .55rem;
  max-width: 880px;
  margin: 0 auto;
}
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  padding: .5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: .9rem;
  font-weight: 500;
  transition: border-color .15s, background .15s, transform .12s;
}
.chip:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  transform: translateY(-1px);
}
.chip.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}
.chip .flag { font-size: .9rem; }

.destination-form {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}
.form-row label span {
  color: var(--muted);
  font-weight: 400;
  font-size: .75rem;
  margin-left: .35rem;
}
.form-row input,
.form-row textarea,
.waitlist-input input,
.signup-form input {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .75rem .9rem;
  font: inherit;
  color: var(--text);
  transition: border-color .15s, background .15s;
}
.form-row textarea { resize: vertical; min-height: 80px; }
.form-row input:focus,
.form-row textarea:focus,
.waitlist-input input:focus,
.signup-form input:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}
.honeypot { position: absolute; left: -9999px; }

.consent {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .85rem;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.45;
}
.consent input[type="checkbox"] {
  width: 18px; height: 18px;
  margin: .1rem 0 0;
  flex: 0 0 18px;
  accent-color: var(--blue);
  cursor: pointer;
}
.consent span { flex: 1 1 auto; min-width: 0; }
.host-consent {
  background: var(--blue-soft);
  border: 1px solid #cfe0fb;
  padding: .8rem .9rem;
  border-radius: 12px;
  color: var(--text);
}
.host-consent strong { color: var(--blue-dark); }

.submit-button { width: 100%; }
.form-status {
  min-height: 1.2em;
  font-size: .88rem;
  text-align: center;
  margin: 0;
  color: var(--text-2);
}
.form-status.error { color: #b91c1c; }
.form-status.success { color: var(--ok); }

/* ── How it works ───────────────────────────────────────────────────────── */
.how-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.how-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 1.2rem;
}
.how-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  text-align: left;
}
.how-badge {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: var(--grad-btn);
  color: #fff;
  font-weight: 700;
  font-size: .75rem;
  padding: .25rem .65rem;
  border-radius: var(--radius-pill);
  letter-spacing: .05em;
}
.how-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.how-icon svg { width: 28px; height: 28px; }
.how-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 .9rem;
  color: var(--text);
}
.how-card hr {
  border: 0;
  border-top: 2px solid var(--blue);
  width: 36px;
  margin: 0 0 .85rem;
}
.how-card p {
  margin: 0;
  color: var(--text-2);
  font-size: .95rem;
  line-height: 1.55;
}
.how-arrow {
  align-self: center;
  display: flex; align-items: center;
}
.how-arrow svg { width: 56px; }

/* ── Destinations ───────────────────────────────────────────────────────── */
.destinations { padding: clamp(3rem, 6vw, 5rem) 0; }
.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.dest-card {
  background: #fff;
  border: 0;
  text-align: left;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.dest-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.dest-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #cfd9e6;
}
.dest-card .place-pill {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--blue);
  color: #fff;
  padding: .3rem .7rem;
  border-radius: var(--radius-pill);
  font-size: .72rem;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: .35rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, .35);
}
.dest-card .place-pill svg { width: 12px; height: 12px; }
.dest-meta {
  padding: 1rem 1.1rem 1.2rem;
}
.dest-meta strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .25rem;
}
.dest-meta span {
  color: var(--text-2);
  font-size: .85rem;
  line-height: 1.45;
}

/* ── Modes ──────────────────────────────────────────────────────────────── */
.modes-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.modes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.mode-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.mode-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mode-badge {
  position: absolute;
  top: 1.3rem; right: 1.3rem;
  background: var(--grad-btn);
  color: #fff;
  font-weight: 700;
  font-size: .72rem;
  padding: .22rem .6rem;
  border-radius: var(--radius-pill);
  letter-spacing: .05em;
}
.mode-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.mode-icon svg { width: 26px; height: 26px; }
.mode-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 .8rem;
  color: var(--text);
}
.mode-card hr {
  border: 0;
  border-top: 2px solid var(--blue);
  width: 32px;
  margin: 0 0 .8rem;
}
.mode-card p {
  margin: 0;
  color: var(--text-2);
  font-size: .93rem;
  line-height: 1.55;
}

/* ── Waitlist CTA ───────────────────────────────────────────────────────── */
.waitlist-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.waitlist-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.waitlist-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(139, 92, 246, .08), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(37, 99, 235, .08), transparent 50%);
  pointer-events: none;
}
.paper-plane {
  width: 140px;
  height: auto;
  position: relative;
  z-index: 1;
}
.waitlist-copy { position: relative; z-index: 1; }
.waitlist-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 .8rem;
}
.waitlist-copy h2 em { font-style: italic; }
.waitlist-copy > p {
  color: var(--text-2);
  margin: 0 0 1.5rem;
  font-size: 1rem;
  max-width: 32rem;
}
.waitlist-input {
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: .35rem .35rem .35rem 1.1rem;
  gap: .6rem;
  max-width: 520px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.waitlist-input:focus-within {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}
.waitlist-input svg { color: var(--muted); flex-shrink: 0; }
.waitlist-input input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: .65rem 0;
  font-size: .95rem;
  color: var(--text);
}
.waitlist-input input:focus { outline: none; box-shadow: none; }
.waitlist-input .cta-gradient {
  padding: .75rem 1.4rem;
  font-size: .8rem;
  white-space: nowrap;
}
.waitlist-note {
  margin: .8rem 0 0;
  font-size: .8rem;
  color: var(--muted);
}
.waitlist-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line-soft);
}
.wf {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}
.wf svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.wf strong { display: block; font-size: .85rem; font-weight: 700; color: var(--text); }
.wf span { font-size: .78rem; color: var(--text-2); }

/* ── For guides / About ─────────────────────────────────────────────────── */
.for-guides, .about-section {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.footer-brand strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}
.footer-brand strong em {
  font-style: normal;
  font-weight: 600;
  color: var(--blue);
}
.footer-brand p {
  margin: .3rem 0 0;
  color: var(--text-2);
  font-size: .88rem;
}
.footer-nav {
  display: flex; gap: 1.4rem; flex-wrap: wrap;
}
.footer-nav a {
  color: var(--text-2);
  font-size: .88rem;
  font-weight: 500;
}
.footer-nav a:hover { color: var(--blue); }
.footer-meta {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line-soft);
  padding-top: 1.2rem;
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
  text-align: center;
}

/* ── Modal ──────────────────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(14, 22, 38, .55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  padding: 1.2rem;
}
.modal-backdrop.is-open { display: flex; }
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.5rem);
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.modal-close {
  position: absolute;
  top: .8rem; right: 1rem;
  background: transparent;
  border: 0;
  font-size: 1.8rem;
  color: var(--muted);
  line-height: 1;
  padding: .2rem .55rem;
  border-radius: 50%;
}
.modal-close:hover { background: var(--bg-soft); color: var(--text); }
.modal-pin {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
}
.modal h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 .55rem;
  color: var(--text);
}
.modal > p {
  margin: 0 0 1.4rem;
  color: var(--text-2);
  font-size: .95rem;
}
.signup-form {
  display: flex; flex-direction: column; gap: .55rem;
  text-align: left;
  align-items: stretch;
}
.signup-form label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  margin-top: .3rem;
}
.signup-form label:first-of-type { margin-top: 0; }
.signup-form label.consent {
  margin-top: .8rem;
  font-weight: 400;
}
.signup-form label span {
  color: var(--muted);
  font-weight: 400;
  font-size: .72rem;
  margin-left: .35rem;
}
.signup-form label.consent span {
  color: var(--text-2);
  font-size: .85rem;
  font-weight: 400;
  margin-left: 0;
}
.signup-form .submit-button { margin-top: .6rem; width: 100%; justify-content: center; }
.modal-secondary {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: .82rem;
  text-decoration: underline;
  padding: .4rem;
  margin-top: .2rem;
  align-self: center;
}
.modal-secondary:hover { color: var(--text); }
.coupon-reveal {
  background: var(--blue-soft);
  border: 1px dashed var(--blue);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
  margin-top: 1rem;
}
.coupon-reveal span { color: var(--text-2); font-size: .82rem; display: block; }
.coupon-reveal strong {
  display: block;
  font-size: 1.4rem;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  margin: .3rem 0;
  font-weight: 800;
}
.coupon-reveal small { color: var(--muted); font-size: .78rem; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .nav-links > *:not(.nav-live) { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-lede { margin-left: auto; margin-right: auto; }
  .hero-globe { order: 2; }
  .hand-annotation { top: -4px; left: 4%; }

  .trust-strip { grid-template-columns: repeat(2, 1fr); }

  .how-grid {
    grid-template-columns: 1fr;
  }
  .how-arrow { display: none; }

  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .modes-grid { grid-template-columns: repeat(2, 1fr); }

  .waitlist-card { grid-template-columns: 1fr; text-align: center; }
  .paper-plane { margin: 0 auto; }
  .waitlist-input { margin: 0 auto; }
  .waitlist-features { grid-template-columns: repeat(2, 1fr); text-align: left; }

  .section-heading.row { flex-direction: column; align-items: flex-start; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 540px) {
  .site-header { flex-wrap: wrap; gap: .8rem; }
  .trust-strip { grid-template-columns: 1fr 1fr; padding: 1.2rem; }
  .dest-grid { grid-template-columns: 1fr; }
  .modes-grid { grid-template-columns: 1fr; }
  .waitlist-features { grid-template-columns: 1fr; }
  .waitlist-input {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius);
    padding: .8rem;
  }
  .waitlist-input svg { display: none; }
  .waitlist-input input { padding: .65rem .8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill); }
  .waitlist-input .cta-gradient { width: 100%; }
  .hand-annotation { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}
