/* =========================================================================
   VibeSpot — Landing Page
   Brand tokens mirror the VibeSpot app design system (light theme).
   Premium pass: fluid type, layered depth, signature map heat, motion.
   ========================================================================= */

:root {
  --vs-accent: #005df2;
  --vs-accent-hover: #1f74ff;
  --vs-accent-active: #0050db;
  --vs-accent-soft: rgba(0, 93, 242, 0.10);
  --vs-accent-grad: linear-gradient(135deg, #2f7bff 0%, #005df2 52%, #0050db 100%);
  --vs-accent-grad-hover: linear-gradient(135deg, #3d86ff 0%, #0d68fb 52%, #075ee8 100%);

  --vs-ink: #20223d;          /* headings            */
  --vs-text: #333659;         /* primary text        */
  --vs-text-2: #555a82;       /* lead / paragraph    */
  --vs-muted: #666a8f;
  --vs-muted-2: #8386a5;
  --vs-faint: #b3bad4;

  --vs-bg: #f5f6f9;
  --vs-surface: #ffffff;
  --vs-soft: #f7f8fc;
  --vs-subtle: #fbfcff;

  --vs-border: #ebedf5;
  --vs-border-strong: #dadcec;

  --vs-success: #1f9d63;
  --vs-success-bg: #edf9f3;
  --vs-success-border: #ccefdc;
  --vs-warn: #b87512;
  --vs-warn-bg: #fff5e8;
  --vs-warn-border: #f3d8ad;

  /* Layered, low-opacity shadows read as "expensive". */
  --vs-shadow-xs: 0 1px 2px rgba(20, 27, 52, 0.05), 0 2px 6px rgba(20, 27, 52, 0.04);
  --vs-shadow-sm: 0 2px 6px rgba(20, 27, 52, 0.05), 0 8px 18px rgba(20, 27, 52, 0.05);
  --vs-shadow-md: 0 4px 12px rgba(20, 27, 52, 0.06), 0 16px 34px rgba(20, 27, 52, 0.08);
  --vs-shadow-lg: 0 8px 24px rgba(20, 27, 52, 0.08), 0 36px 70px rgba(20, 27, 52, 0.14);
  --vs-shadow-accent: 0 6px 16px rgba(0, 93, 242, 0.24), 0 16px 34px rgba(0, 93, 242, 0.24);
  --vs-shadow-accent-sm: 0 4px 10px rgba(0, 93, 242, 0.20), 0 10px 22px rgba(0, 93, 242, 0.18);

  --vs-ease: cubic-bezier(0.22, 1, 0.36, 1);        /* soft, premium ease-out  */
  --vs-ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --vs-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --vs-maxw: 1200px;
  --vs-maxw-narrow: 1080px;
  --vs-font: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Fluid type scale — smoothly bridges phone → desktop. */
  --fs-hero: clamp(2.2rem, 1.05rem + 5.0vw, 4.25rem);     /* 35 → 68 */
  --fs-h2: clamp(1.95rem, 1.40rem + 2.35vw, 2.75rem);     /* 31 → 44 */
  --fs-h2-sm: clamp(1.8rem, 1.40rem + 1.85vw, 2.6rem);    /* community/cta */
  --fs-lead: clamp(1.03rem, 0.97rem + 0.45vw, 1.19rem);   /* 16.5 → 19 */
  --fs-sub: clamp(1.06rem, 0.98rem + 0.5vw, 1.19rem);

  --vs-nav-h: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* offset in-page anchors so they don't tuck under the floating nav */
  scroll-padding-top: calc(var(--vs-nav-h) + 18px);
}

body {
  margin: 0;
  font-family: var(--vs-font);
  background: var(--vs-bg);
  color: var(--vs-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; }
img, svg { display: block; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2.5px solid var(--vs-accent); outline-offset: 3px; border-radius: 6px; }

/* keyboard skip link — hidden until focused */
.vs-skip {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--vs-accent); background-image: var(--vs-accent-grad); color: #fff;
  font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: var(--vs-shadow-accent-sm);
  transform: translateY(-150%); opacity: 0;
  transition: transform .2s var(--vs-ease), opacity .2s var(--vs-ease);
}
.vs-skip:focus { transform: none; opacity: 1; }

/* ---------- shared bits ---------- */
.vs-shell { position: relative; width: 100%; }
.vs-container { width: 100%; max-width: var(--vs-maxw-narrow); margin: 0 auto; }

.vs-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--vs-accent);
  text-transform: uppercase;
}
.vs-h2 {
  margin: 14px 0 0;
  font-size: var(--fs-h2);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--vs-ink);
}
.vs-lead {
  margin: 18px 0 0;
  font-size: var(--fs-lead);
  line-height: 1.62;
  font-weight: 500;
  color: var(--vs-text-2);
}

/* ---------- buttons ---------- */
.vs-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--vs-accent);
  background-image: var(--vs-accent-grad);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--vs-shadow-accent);
  transition: transform .25s var(--vs-ease), box-shadow .25s var(--vs-ease), background-image .25s var(--vs-ease);
  -webkit-tap-highlight-color: transparent;
}
.vs-btn svg { transition: transform .25s var(--vs-ease); }
.vs-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 93, 242, 0.30), 0 22px 44px rgba(0, 93, 242, 0.26); background-image: var(--vs-accent-grad-hover); }
.vs-btn:hover svg { transform: translateX(3px); }
.vs-btn:active { transform: translateY(0); }
.vs-btn--sm { padding: 11px 20px; font-size: 15px; box-shadow: var(--vs-shadow-accent-sm); }
.vs-btn--ghost {
  background: rgba(255, 255, 255, 0.9);
  background-image: none;
  color: var(--vs-text);
  border: 1px solid var(--vs-border-strong);
  box-shadow: 0 4px 14px rgba(20, 27, 52, 0.06);
}
.vs-btn--ghost:hover { background: #fff; background-image: none; box-shadow: 0 8px 20px rgba(20, 27, 52, 0.10); }

/* ---------- app-store badges ---------- */
.vs-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 56px;
  padding: 0 20px;
  border-radius: 14px;
  background: #0c1020;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--vs-shadow-sm);
  transition: transform .25s var(--vs-ease), box-shadow .25s var(--vs-ease), filter .25s var(--vs-ease);
}
.vs-badge:hover { transform: translateY(-2px); filter: brightness(1.12); box-shadow: var(--vs-shadow-md); }
.vs-badge__txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.vs-badge__txt small { font-size: 11px; opacity: 0.82; }
.vs-badge__txt b { font-size: 18px; font-weight: 700; }

/* ---------- vibe markers (map speech-bubble pins) ---------- */
.vs-marker {
  position: absolute;
  z-index: 6;
  animation: vsFloat var(--dur, 6.5s) ease-in-out infinite var(--d, 0s);
  will-change: transform;
}
.vs-marker__pin {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--vs-border-strong);
  box-shadow: 0 10px 24px rgba(20, 27, 52, 0.18), 0 2px 6px rgba(20, 27, 52, 0.10);
  font-size: 26px;
  line-height: 1;
  transition: transform .3s var(--vs-ease-spring), box-shadow .3s var(--vs-ease);
}
.vs-marker:hover .vs-marker__pin { transform: scale(1.12) translateY(-2px); box-shadow: 0 16px 32px rgba(20, 27, 52, 0.22); }
.vs-marker__tail {
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: #fff;
  border-right: 1px solid var(--vs-border-strong);
  border-bottom: 1px solid var(--vs-border-strong);
  transform: rotate(45deg);
  border-bottom-right-radius: 3px;
}
.vs-marker__ring {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: rgba(0, 93, 242, 0.16);
  animation: vsPulse 2.9s ease-out infinite;
}
.vs-marker--active .vs-marker__pin { border: 1.5px solid var(--vs-accent); }
.vs-marker--active .vs-marker__tail { border-color: var(--vs-accent); }
.vs-marker--sm .vs-marker__pin { width: 46px; height: 46px; font-size: 23px; }
.vs-marker--sm .vs-marker__tail { width: 10px; height: 10px; margin-left: -5px; }
.vs-marker--xs .vs-marker__pin { width: 44px; height: 44px; font-size: 22px; }
.vs-marker--xs .vs-marker__tail { width: 10px; height: 10px; margin-left: -5px; }

.vs-here { position: absolute; z-index: 5; }
.vs-here__ring {
  position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border-radius: 50%; background: rgba(0, 93, 242, 0.22); animation: vsRing 2.6s ease-out infinite;
}
.vs-here__dot {
  position: relative; width: 16px; height: 16px; border-radius: 50%;
  display: block;
  background: var(--vs-accent); border: 3px solid #fff; box-shadow: 0 3px 8px rgba(0, 93, 242, 0.5);
}

/* ---------- signature map "heat" glow — rides each active pin, sits above the scrim ---------- */
.vs-marker--active .vs-marker__pin::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 300px; height: 300px;
  border-radius: 50%;
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: vsHeatPulse 7s ease-in-out infinite;
}
.vs-marker--active[style*="top:25%"] .vs-marker__pin::after { background: radial-gradient(circle, rgba(255, 138, 0, 0.5) 0%, rgba(255, 94, 108, 0.22) 38%, rgba(255, 94, 108, 0) 68%); }
.vs-marker--active[style*="top:45%"] .vs-marker__pin::after { background: radial-gradient(circle, rgba(52, 215, 160, 0.42) 0%, rgba(0, 93, 242, 0.2) 42%, rgba(0, 93, 242, 0) 70%); width: 250px; height: 250px; animation-delay: 1.4s; }

/* ---------- location chip ---------- */
.vs-locchip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px 9px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); border: 1px solid var(--vs-border);
  box-shadow: var(--vs-shadow-sm);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.vs-locchip__pin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; background: #eef4ff;
}
.vs-locchip b { font-size: 14px; font-weight: 700; color: var(--vs-text); }
.vs-locchip span { font-size: 14px; font-weight: 600; color: var(--vs-muted-2); }
.vs-locchip__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--vs-faint); }

/* =========================================================================
   NAV
   ========================================================================= */
.vs-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center;
  padding: 18px 28px;
  padding-top: max(18px, env(safe-area-inset-top));
  transition: padding .3s var(--vs-ease);
}
.vs-nav__inner {
  width: 100%; max-width: var(--vs-maxw);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 12px 10px 22px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(217, 219, 235, 0.7);
  box-shadow: 0 8px 24px rgba(20, 27, 52, 0.06);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  transition: background .3s var(--vs-ease), box-shadow .3s var(--vs-ease), border-color .3s var(--vs-ease);
}
.vs-nav.is-scrolled .vs-nav__inner {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(20, 27, 52, 0.12);
  border-color: rgba(217, 219, 235, 0.95);
}
.vs-nav__brand { display: inline-flex; flex: 0 0 auto; }
.vs-logo { height: 26px; width: auto; }
.vs-nav__links {
  display: flex; align-items: center; gap: 30px;
  font-size: 15px; font-weight: 600; color: var(--vs-muted);
}
.vs-nav__links > a:not(.vs-btn) { position: relative; text-decoration: none; padding: 4px 0; transition: color .2s var(--vs-ease); }
.vs-nav__links > a:not(.vs-btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  border-radius: 2px; background: var(--vs-accent);
  transform: scaleX(0); transform-origin: left; transition: transform .28s var(--vs-ease);
}
.vs-nav__links > a:not(.vs-btn):hover { color: var(--vs-accent); }
.vs-nav__links > a:not(.vs-btn):hover::after { transform: scaleX(1); }
.vs-nav__menu-cta { display: none; }

.vs-nav__toggle {
  display: none;
  flex: 0 0 auto;
  width: 42px; height: 42px; margin-left: 4px;
  border: none; border-radius: 12px; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center;
}
.vs-nav__toggle span {
  display: block; position: relative;
  width: 20px; height: 2px; border-radius: 2px; background: var(--vs-ink);
  transition: transform .3s var(--vs-ease), opacity .2s var(--vs-ease);
}
.vs-nav__toggle span + span { margin-top: 5px; }
.vs-nav.is-open .vs-nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vs-nav.is-open .vs-nav__toggle span:nth-child(2) { opacity: 0; }
.vs-nav.is-open .vs-nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   HERO (immersive live map)
   ========================================================================= */
.vs-hero {
  position: relative; min-height: 100vh; padding: 132px 0 72px;
  display: flex; align-items: center; overflow: hidden; background: #e9eef0;
}
.vs-hero__map {
  position: absolute; inset: -4%;
  background: url('../assets/map.png') center/cover no-repeat;
  transform: scale(1.04);
  animation: vsMapDrift 46s ease-in-out infinite alternate;
  will-change: transform;
}
.vs-hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(245,246,249,0.98) 0%, rgba(245,246,249,0.93) 26%, rgba(245,246,249,0.55) 52%, rgba(245,246,249,0.08) 76%, rgba(245,246,249,0) 100%);
}
.vs-hero__blend {
  position: absolute; left: 0; right: 0; bottom: 0; height: 200px; z-index: 3;
  background: linear-gradient(to bottom, rgba(245,246,249,0) 0%, var(--vs-bg) 94%);
}
/* gentle vignette gives the flat map photo some depth */
.vs-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  box-shadow: inset 0 0 180px rgba(20, 27, 52, 0.10);
}
.vs-hero__content { position: relative; z-index: 10; width: 100%; max-width: var(--vs-maxw); margin: 0 auto; padding: 0 28px; }
.vs-hero__copy { max-width: 600px; }
.vs-hero__title {
  margin: 20px 0 0; font-size: var(--fs-hero); line-height: 1.03; font-weight: 900;
  letter-spacing: -0.03em; color: var(--vs-ink);
  text-wrap: balance;
}
/* deliberate two-line break on larger screens; a plain space (natural wrap) on phones */
.vs-hero__brk { white-space: normal; }
@media (min-width: 600px) { .vs-hero__brk { display: block; height: 0; } }
.vs-hero__sub { margin: 22px 0 0; max-width: 512px; font-size: var(--fs-sub); line-height: 1.58; font-weight: 500; color: var(--vs-text-2); }
.vs-cta-row { display: flex; align-items: center; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.vs-hero__loc { margin-top: 28px; }

.vs-eyebrow-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.9); border: 1px solid rgba(217, 219, 235, 0.9);
  box-shadow: var(--vs-shadow-sm);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--vs-text);
  text-transform: uppercase;
}
.vs-live-dot { position: relative; display: inline-flex; width: 9px; height: 9px; }
.vs-live-dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  background: rgba(31, 157, 99, 0.28); animation: vsLiveRing 1.8s ease-out infinite;
}
.vs-live-dot::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--vs-success);
  animation: vsBlink 1.8s ease-in-out infinite;
}

.vs-scrollcue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.vs-scrollcue span { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; color: var(--vs-muted-2); }
.vs-scrollcue__mouse {
  width: 25px; height: 39px; border-radius: 999px; border: 2px solid #c2c7dd;
  display: flex; justify-content: center; padding-top: 7px;
}
.vs-scrollcue__mouse i { width: 4px; height: 8px; border-radius: 4px; background: var(--vs-muted-2); animation: vsScrollCue 1.8s ease-in-out infinite; }

/* =========================================================================
   VIBE MARQUEE (live tag band — replaces stat strip)
   ========================================================================= */
.vs-marquee {
  padding: 22px 0;
  background: var(--vs-surface);
  border-top: 1px solid var(--vs-border);
  border-bottom: 1px solid var(--vs-border);
  overflow: hidden;
}
.vs-marquee__viewport {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.vs-marquee__track {
  display: flex; width: max-content;
  animation: vsMarquee 38s linear infinite;
  will-change: transform;
}
.vs-marquee:hover .vs-marquee__track { animation-play-state: paused; }
.vs-marquee__group { display: flex; }
.vs-chip {
  display: inline-flex; align-items: center; gap: 8px;
  margin-right: 14px;
  height: 42px; padding: 0 20px; border-radius: 999px; white-space: nowrap;
  background: var(--vs-soft); border: 1px solid var(--vs-border);
  box-shadow: var(--vs-shadow-xs);
  font-size: 15px; font-weight: 700; color: var(--vs-text);
}

/* =========================================================================
   ABOUT  (A social map for right now)
   ========================================================================= */
.vs-section { padding: clamp(64px, 8vw, 104px) 28px; }
.vs-about { padding-bottom: clamp(48px, 6vw, 64px); }
.vs-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-top: clamp(36px, 5vw, 52px);
}
.vs-card {
  position: relative;
  padding: 30px; border-radius: 20px; background: var(--vs-surface);
  border: 1px solid var(--vs-border); box-shadow: var(--vs-shadow-sm);
  overflow: hidden;
  transition: transform .3s var(--vs-ease), box-shadow .3s var(--vs-ease), border-color .3s var(--vs-ease);
}
.vs-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--vs-accent-grad);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--vs-ease);
}
.vs-card:hover { transform: translateY(-6px); box-shadow: var(--vs-shadow-md); border-color: var(--vs-border-strong); }
.vs-card:hover::before { transform: scaleX(1); }
.vs-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; font-size: 26px;
  transition: transform .35s var(--vs-ease-spring);
}
.vs-card:hover .vs-card__icon { transform: scale(1.08) rotate(-4deg); }
.vs-card__icon--blue { background: #eef4ff; color: var(--vs-accent); }
.vs-card__icon--amber { background: var(--vs-warn-bg); }
.vs-card__icon--green { background: var(--vs-success-bg); }
.vs-card h3 { margin: 20px 0 0; font-size: 21px; font-weight: 800; color: var(--vs-ink); }
.vs-card p { margin: 9px 0 0; font-size: 16px; line-height: 1.55; font-weight: 500; color: var(--vs-muted); }

/* ---------- app window (live map preview) — optional, used by commented markup ---------- */
.vs-appwindow {
  position: relative; max-width: var(--vs-maxw-narrow); margin: 56px auto 0;
  border-radius: 28px; overflow: hidden; border: 1px solid #e4e6f0;
  background: #fff; box-shadow: var(--vs-shadow-lg);
}
.vs-appwindow__map { position: relative; height: 520px; background: url('../assets/map.png') center/cover no-repeat; }
.vs-appbar { position: absolute; top: 20px; left: 20px; right: 20px; display: flex; align-items: center; gap: 12px; }
.vs-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(135deg, #97abff, #2668e8); color: #fff;
  font-size: 16px; font-weight: 800; border: 1px solid var(--vs-border);
  box-shadow: var(--vs-shadow-xs);
}
.vs-searchbar {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 44px;
  padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--vs-border);
  box-shadow: var(--vs-shadow-xs); color: var(--vs-muted-2);
  font-size: 15px; font-weight: 500;
}
.vs-datechip {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px;
  border-radius: 999px; background: #fff; border: 1px solid var(--vs-border);
  box-shadow: var(--vs-shadow-xs); font-size: 14px; font-weight: 700; color: var(--vs-text);
}
.vs-tagrow { position: absolute; top: 78px; right: 20px; display: flex; gap: 8px; }
.vs-tag {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--vs-border); box-shadow: var(--vs-shadow-xs);
  font-size: 14px; font-weight: 700; color: var(--vs-accent);
}
.vs-vibescount {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px;
  background: rgba(32, 34, 61, 0.9); color: #fff; font-size: 13.5px; font-weight: 700;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.vs-fab {
  position: absolute; right: 20px; bottom: 20px; display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%; background: var(--vs-accent);
  box-shadow: 0 12px 26px rgba(0, 93, 242, 0.4); transition: transform .25s var(--vs-ease);
}
.vs-fab:hover { transform: scale(1.06); }
.vs-appwindow .vs-locchip { position: absolute; left: 20px; bottom: 20px; }

/* =========================================================================
   VIBE ICONS  (Say it with a vibe — horizontal band)
   ========================================================================= */
.vs-icons { text-align: center; }
.vs-icons__head { max-width: 720px; margin: 0 auto; }
.vs-icons__row {
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
  max-width: 880px; margin: clamp(32px, 5vw, 44px) auto 0;
}
.vs-icontile {
  display: flex; align-items: center; justify-content: center;
  width: 70px; height: 70px; border-radius: 20px; background: #fff;
  border: 1px solid var(--vs-border); box-shadow: var(--vs-shadow-sm);
  font-size: 34px; animation: vsFloat var(--dur, 6.5s) ease-in-out infinite var(--d, 0s);
  transition: box-shadow .3s var(--vs-ease), border-color .3s var(--vs-ease);
}
.vs-icontile:hover { box-shadow: var(--vs-shadow-md); border-color: var(--vs-border-strong); }
.vs-icontile--brand {
  width: 84px; height: 84px; border-radius: 24px; background: var(--vs-accent); background-image: var(--vs-accent-grad); border: none;
  box-shadow: 0 16px 32px rgba(0, 93, 242, 0.34);
}
.vs-icons .vs-btn { margin-top: clamp(30px, 4vw, 40px); }

/* =========================================================================
   STEPS  (Three taps to your next vibe — horizontal)
   ========================================================================= */
.vs-steps { background: var(--vs-soft); border-top: 1px solid var(--vs-border); border-bottom: 1px solid var(--vs-border); }
.vs-steps__inner { max-width: 1000px; margin: 0 auto; }
.vs-steps__head { text-align: center; }
.vs-steps__grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: clamp(40px, 6vw, 60px); }
.vs-steps__line {
  position: absolute; left: 16%; right: 16%; top: 27px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--vs-border-strong) 0 7px, transparent 7px 14px);
}
.vs-step { position: relative; text-align: center; }
.vs-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; background: var(--vs-accent); background-image: var(--vs-accent-grad);
  color: #fff; font-size: 20px; font-weight: 900; box-shadow: 0 12px 26px rgba(0, 93, 242, 0.3);
  transition: transform .35s var(--vs-ease-spring);
}
.vs-step:hover .vs-step__num { transform: translateY(-4px) scale(1.05); }
.vs-step h3 { margin: 22px 0 0; font-size: 22px; font-weight: 800; color: var(--vs-ink); }
.vs-step p { margin: 9px auto 0; max-width: 240px; font-size: 16px; line-height: 1.55; font-weight: 500; color: var(--vs-muted); }

/* =========================================================================
   COMMUNITY  (Real moments, dropped by real people)
   ========================================================================= */
.vs-split { max-width: var(--vs-maxw-narrow); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.vs-community__title { margin: 14px 0 0; font-size: var(--fs-h2-sm); line-height: 1.12; font-weight: 900; letter-spacing: -0.025em; color: var(--vs-ink); }
.vs-community__points { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.vs-community__points li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 16.5px; line-height: 1.4; font-weight: 500; color: var(--vs-text-2);
}
.vs-community__points b { font-weight: 800; color: var(--vs-ink); }
.vs-community__check {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  background: var(--vs-accent); background-image: var(--vs-accent-grad);
  box-shadow: 0 4px 10px rgba(0, 93, 242, 0.28);
}
.vs-activity { display: flex; flex-direction: column; gap: 14px; }
.vs-acard {
  padding: 20px; border-radius: 18px; background: #fff;
  border: 1px solid var(--vs-border); box-shadow: var(--vs-shadow-sm);
  transition: transform .3s var(--vs-ease), box-shadow .3s var(--vs-ease);
}
.vs-acard:hover { transform: translateY(-4px); box-shadow: var(--vs-shadow-md); }
.vs-acard__row { display: flex; align-items: flex-start; gap: 13px; }
.vs-acard__icon {
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 12px; background: var(--vs-soft);
  border: 1px solid var(--vs-border-strong); font-size: 25px; flex: 0 0 auto;
}
.vs-acard__body { flex: 1; min-width: 0; }
.vs-acard__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vs-acard__head h3 { margin: 0; font-size: 18px; font-weight: 800; color: var(--vs-ink); }
.vs-acard__sub { margin: 2px 0 0; font-size: 13.5px; font-weight: 600; color: var(--vs-muted-2); }
.vs-acard__tags { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: var(--vs-accent); }

.vs-pill {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; border: 1px solid var(--vs-border-strong); background: #f7f9fd; color: var(--vs-text);
}
.vs-pill--free { background: var(--vs-success-bg); border-color: var(--vs-success-border); color: var(--vs-success); }
.vs-pill--paid { background: var(--vs-warn-bg); border-color: var(--vs-warn-border); color: var(--vs-warn); }

/* =========================================================================
   FINAL CTA  (Your city is waiting — centered light)
   ========================================================================= */
.vs-cta { padding: 40px 28px clamp(72px, 9vw, 104px); }
.vs-cta__card {
  position: relative; max-width: 960px; margin: 0 auto; padding: clamp(48px, 7vw, 72px) clamp(24px, 5vw, 40px);
  border-radius: 32px; overflow: hidden; text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f1f6ff 100%);
  border: 1px solid #e4e6f0; box-shadow: var(--vs-shadow-md);
}
.vs-cta__glow {
  position: absolute; left: 50%; top: -120px; transform: translateX(-50%);
  width: 480px; height: 320px; background: radial-gradient(circle, rgba(0, 93, 242, 0.14), transparent 66%);
  animation: vsGlow 6s ease-in-out infinite;
}
.vs-cta__mark {
  position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 20px; background: var(--vs-accent); background-image: var(--vs-accent-grad);
  box-shadow: 0 16px 34px rgba(0, 93, 242, 0.34);
}
.vs-cta__title { position: relative; z-index: 2; margin: 26px 0 0; font-size: var(--fs-h2); line-height: 1.06; font-weight: 900; letter-spacing: -0.03em; color: var(--vs-ink); }
.vs-cta__sub { position: relative; z-index: 2; margin: 16px auto 0; max-width: 480px; font-size: var(--fs-lead); line-height: 1.55; font-weight: 500; color: var(--vs-text-2); }
.vs-cta__actions { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 13px; margin-top: 32px; flex-wrap: wrap; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.vs-footer { padding: clamp(48px, 7vw, 64px) 28px 40px; padding-bottom: max(40px, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--vs-border); }
.vs-footer__inner { max-width: var(--vs-maxw-narrow); margin: 0 auto; }
.vs-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.vs-footer__about { max-width: 260px; margin: 18px 0 0; font-size: 15px; line-height: 1.55; font-weight: 500; color: var(--vs-muted-2); }
.vs-footer h4 { margin: 0 0 16px; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; color: var(--vs-muted); }
.vs-footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; font-weight: 600; }
.vs-footer__col a { color: var(--vs-muted); text-decoration: none; width: fit-content; transition: color .18s var(--vs-ease), transform .18s var(--vs-ease); }
.vs-footer__col a:hover { color: var(--vs-accent); transform: translateX(3px); }
.vs-footer__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--vs-border); flex-wrap: wrap;
}
.vs-footer__bar small { font-size: 14px; font-weight: 500; color: var(--vs-muted-2); }
.vs-footer__bar span { font-size: 14px; font-weight: 600; color: var(--vs-muted-2); }

/* =========================================================================
   ENTRANCE — reveal on scroll + staggered children
   (active only when JS is on; no-JS keeps everything visible)
   ========================================================================= */
.vs-js .vs-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--vs-ease), transform .7s var(--vs-ease); }
.vs-js .vs-reveal.is-in { opacity: 1; transform: none; }

.vs-js .vs-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--vs-ease), transform .6s var(--vs-ease); }
.vs-js .vs-reveal.is-in .vs-stagger > * { opacity: 1; transform: none; }
.vs-js .vs-reveal.is-in .vs-stagger > *:nth-child(1) { transition-delay: .06s; }
.vs-js .vs-reveal.is-in .vs-stagger > *:nth-child(2) { transition-delay: .14s; }
.vs-js .vs-reveal.is-in .vs-stagger > *:nth-child(3) { transition-delay: .22s; }
.vs-js .vs-reveal.is-in .vs-stagger > *:nth-child(4) { transition-delay: .30s; }
.vs-js .vs-reveal.is-in .vs-stagger > *:nth-child(5) { transition-delay: .38s; }
.vs-js .vs-reveal.is-in .vs-stagger > *:nth-child(6) { transition-delay: .46s; }
.vs-js .vs-reveal.is-in .vs-stagger > *:nth-child(7) { transition-delay: .54s; }
.vs-js .vs-reveal.is-in .vs-stagger > *:nth-child(8) { transition-delay: .62s; }

/* hero load sequence */
.vs-js .vs-hero__copy > * { opacity: 0; animation: vsHeroIn .8s var(--vs-ease) both; }
.vs-js .vs-hero__copy > *:nth-child(1) { animation-delay: .15s; }
.vs-js .vs-hero__copy > *:nth-child(2) { animation-delay: .26s; }
.vs-js .vs-hero__copy > *:nth-child(3) { animation-delay: .37s; }
.vs-js .vs-hero__copy > *:nth-child(4) { animation-delay: .48s; }
.vs-js .vs-hero__copy > *:nth-child(5) { animation-delay: .59s; }
/* pop in once, then keep the continuous float/pulse running */
.vs-js .vs-marker { opacity: 0; animation: vsMarkerIn .7s var(--vs-ease) .6s both, vsFloat var(--dur, 6.5s) ease-in-out 1.3s infinite; }
.vs-js .vs-here { opacity: 0; animation: vsFadeIn 1s var(--vs-ease) .7s both; }

/* =========================================================================
   KEYFRAMES
   ========================================================================= */
@keyframes vsPulse { 0% { transform: scale(.55); opacity: .5; } 70% { opacity: 0; } 100% { transform: scale(2.3); opacity: 0; } }
@keyframes vsRing { 0% { transform: scale(.7); opacity: .6; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes vsFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
@keyframes vsBlink { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.8); } }
@keyframes vsLiveRing { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes vsScrollCue { 0% { transform: translateY(-3px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(7px); opacity: 0; } }
@keyframes vsHeatPulse { 0%, 100% { opacity: .6; transform: translate(-50%, -50%) scale(0.92); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } }
@keyframes vsMapDrift { 0% { transform: scale(1.04) translate(0, 0); } 100% { transform: scale(1.1) translate(-1.4%, -1.2%); } }
@keyframes vsMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes vsGlow { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes vsHeroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes vsFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes vsMarkerIn { from { opacity: 0; transform: translateY(8px) scale(.85); } to { opacity: 1; transform: none; } }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .vs-split { gap: 44px; }
}

@media (max-width: 880px) {
  /* --- nav → hamburger menu --- */
  .vs-nav__cta { display: none; }
  .vs-nav__toggle { display: inline-flex; }
  .vs-nav__inner { padding: 9px 9px 9px 18px; }
  .vs-nav__links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px; border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(217, 219, 235, 0.9);
    box-shadow: var(--vs-shadow-lg);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top;
    transition: opacity .26s var(--vs-ease), transform .26s var(--vs-ease), visibility .26s;
    font-size: 16px;
  }
  .vs-nav.is-open .vs-nav__links { opacity: 1; visibility: visible; transform: none; }
  .vs-nav__links > a:not(.vs-btn) { padding: 12px 14px; border-radius: 12px; color: var(--vs-text); }
  .vs-nav__links > a:not(.vs-btn)::after { display: none; }
  .vs-nav__links > a:not(.vs-btn):hover, .vs-nav__links > a:not(.vs-btn):active { background: var(--vs-accent-soft); color: var(--vs-accent); }
  .vs-nav__menu-cta { display: inline-flex; margin-top: 8px; justify-content: center; }

  /* hero: copy pinned to the top, then a dedicated live "map band" below it */
  .vs-hero { min-height: 100vh; min-height: 100svh; align-items: flex-start; padding: 112px 0 184px; }
  .vs-hero__copy { width: 100%; }
  .vs-hero__title { margin-top: 12px; }
  .vs-hero__sub { margin-top: 16px; }
  .vs-cta-row { margin-top: 22px; }
  .vs-hero__loc { margin-top: 16px; }
  /* mobile scrim reads top→bottom so the headline sits on clean ground and the map breathes below */
  .vs-hero__scrim {
    background: linear-gradient(168deg, rgba(245,246,249,0.99) 0%, rgba(245,246,249,0.96) 32%, rgba(245,246,249,0.80) 52%, rgba(245,246,249,0.34) 74%, rgba(245,246,249,0.04) 100%);
  }
  .vs-hero__blend { height: 104px; }
  /* nudge the map so the bottom band sits over land, not the water */
  .vs-hero__map { background-position: 62% 15%; }
  /* only the two "active" markers + the here-dot remain, clustered over land in the band */
  .vs-marker--hide-sm { display: none; }
  .vs-marker--active[style*="top:25%"] { top: auto !important; bottom: 120px !important; left: 13% !important; }
  .vs-marker--active[style*="top:45%"] { top: auto !important; bottom: 112px !important; left: auto !important; right: 13% !important; }
  .vs-here { top: auto !important; bottom: 150px !important; left: 45% !important; }
  /* the base pin heat-halo, sized down a touch for phones */
  .vs-marker--active[style*="top:25%"] .vs-marker__pin::after { width: 220px; height: 220px; }
  .vs-marker--active[style*="top:45%"] .vs-marker__pin::after { width: 190px; height: 190px; }
  .vs-split { grid-template-columns: 1fr; gap: 32px; }
  .vs-steps__grid { grid-template-columns: 1fr; gap: 18px; max-width: 420px; margin-left: auto; margin-right: auto; }
  .vs-steps__line { display: none; }
  /* steps become compact horizontal rows on mobile */
  .vs-step { display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; text-align: left; align-items: center; }
  .vs-step__num { grid-row: span 2; }
  .vs-step h3 { margin: 0; }
  .vs-step p { margin: 4px 0 0; max-width: none; }
  .vs-appwindow__map { height: 440px; }
}

@media (max-width: 560px) {
  :root { --vs-nav-h: 70px; }
  .vs-hero__content, .vs-cta { padding-left: 18px; padding-right: 18px; }
  .vs-nav { padding-left: 16px; padding-right: 16px; padding-top: max(12px, env(safe-area-inset-top)); }
  .vs-hero { padding-top: 104px; min-height: 90vh; }
  .vs-hero__sub { margin-top: 18px; }
  .vs-section { padding: clamp(56px, 12vw, 72px) 20px; }
  .vs-marquee { padding: 16px 0; }
  .vs-chip { height: 38px; font-size: 14px; padding: 0 16px; }
  /* vibe icons: 3-up grid with the brand tile centered on its own row */
  .vs-icons__row { display: grid; grid-template-columns: repeat(3, 64px); justify-content: center; gap: 14px; margin-top: 28px; }
  .vs-icontile { width: 64px; height: 64px; font-size: 31px; }
  .vs-icontile--brand { grid-column: 1 / -1; justify-self: center; width: 76px; height: 76px; }
  .vs-cta-row { gap: 12px; }
  .vs-cta-row .vs-btn, .vs-cta-row .vs-btn--ghost { flex: 1 1 100%; }
  .vs-btn { padding: 15px 22px; }
  .vs-cta__actions { flex-direction: column; align-items: stretch; }
  .vs-cta__actions .vs-btn, .vs-cta__actions .vs-badge { width: 100%; }
  .vs-cta__actions .vs-badge { justify-content: center; }
  .vs-appwindow__map { height: 380px; }
  .vs-tagrow, .vs-datechip { display: none; }
  .vs-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .vs-footer__grid > div:first-child { grid-column: 1 / -1; }
  .vs-footer__about { max-width: none; margin-top: 14px; }
  .vs-footer__bar { justify-content: center; text-align: center; }
}

@media (max-width: 380px) {
  .vs-eyebrow-pill { font-size: 11.5px; letter-spacing: .04em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .vs-js .vs-reveal, .vs-js .vs-stagger > *, .vs-js .vs-hero__copy > *, .vs-js .vs-marker, .vs-js .vs-here { opacity: 1 !important; transform: none !important; }
  .vs-hero__map { animation: none; transform: scale(1.04); }
}
