/* ============================================================
   local — Bevel-grade sections (everything below the hero)
   Reuses brand vars from the page <style> (--gold, --blue, etc.)
   ============================================================ */
:root {
  --bv-ink:      #1b1b1f;
  --bv-ink-soft: #3c3d42;
  --bv-gray:     #74757c;
  --bv-gray-2:   #9b9ca2;
  --bv-line:     rgba(20,20,30,0.09);
  --bv-page:     #f3f3f1;
  --bv-card:     #ffffff;
  --gold-deep:   #b4901f;
  --blue-deep:   #2f7fb4;
  --display: 'Helvetica Neue', Helvetica, 'Inter', Arial, sans-serif;
}

/* ---------- Floating pill nav ---------- */
.bv-nav {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  z-index: 60; display: flex; align-items: center; gap: 9px;
  padding: 11px 11px 11px 32px; border-radius: 999px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 14px 34px -18px rgba(30,22,8,0.34), inset 0 1px 1px rgba(255,255,255,0.7);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.4s ease;
}
.bv-nav.hide { transform: translateX(-50%) translateY(-130%); opacity: 0; }
.bv-nav .logo { font-size: 32px; margin-right: 12px; }
.bv-nav .navlink {
  font: 500 18px/1 var(--sans); color: var(--bv-ink-soft);
  padding: 14px 20px; border-radius: 999px; transition: background 0.18s ease, color 0.18s ease;
}
.bv-nav .navlink:hover { background: rgba(20,20,30,0.05); color: var(--bv-ink); }
.bv-nav .nav-cta {
  background: var(--gold); color: var(--gold-ink);
  font: 600 18px/1 var(--sans); padding: 16px 28px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 7px;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 8px 18px -8px rgba(180,144,31,0.6);
}
.bv-nav .nav-cta:hover { background: var(--gold-dark); transform: translateY(-1px); }
.bv-nav .nav-cta:active { transform: translateY(0); }

/* ---------- Section scaffold ---------- */
section.bv { position: relative; padding: clamp(80px, 11vh, 150px) 24px; background: var(--bv-page); }
.bv-wrap { max-width: 1180px; margin: 0 auto; }

.bv-eyebrow {
  font: 600 12.5px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep); display: inline-flex; align-items: center; gap: 9px;
}
.bv-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--gold); }
.bv-eyebrow.blue { color: var(--blue-deep); }
.bv-eyebrow.blue::before { background: var(--blue-deep); }

.bv-h {
  font-family: var(--display); font-weight: 700; color: var(--bv-ink);
  font-size: clamp(40px, 5.4vw, 68px); line-height: 0.98; letter-spacing: -0.022em;
  margin: 18px 0 0; text-wrap: balance;
}
.bv-h .alt { font-family: var(--serif); font-style: italic; font-weight: 600; letter-spacing: -0.01em; }
.bv-sub {
  font: 400 clamp(17px, 1.9vw, 22px)/1.5 var(--display); color: var(--bv-gray);
  margin: 20px 0 0; max-width: 30ch; text-wrap: pretty;
}

/* scroll reveal — base hidden, .in reveals (handled by page IO).
   Soft blur-in + spring easing for a premium settle; --rd staggers grouped items. */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 0.85s cubic-bezier(0.22,1,0.36,1),
    transform 0.95s cubic-bezier(0.22,1,0.36,1),
    filter 0.7s cubic-bezier(0.22,1,0.36,1);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform, filter;
}
.reveal.in { opacity: 1; transform: none; filter: blur(0); }

/* ============================================================
   PHONE  (reusable)
   ============================================================ */
.bv-phone {
  position: relative; width: 300px; flex-shrink: 0;
  border-radius: 52px; padding: 8px;
  background: linear-gradient(150deg, #3b3c42 0%, #202024 40%, #101012 100%);
  box-shadow:
    0 44px 80px -34px rgba(28,26,38,0.42),
    0 10px 26px -14px rgba(28,26,38,0.3),
    inset 0 0 0 1px rgba(255,255,255,0.14),
    inset 0 0 1px 1px rgba(0,0,0,0.5);
}
.bv-phone::before, .bv-phone::after { content: ""; position: absolute; background: #15151a; border-radius: 2px; z-index: -1; }
.bv-phone::before { left: -2px; top: 118px; width: 3px; height: 28px; box-shadow: 0 42px 0 #15151a, 0 80px 0 #15151a; }
.bv-phone::after { right: -2px; top: 150px; width: 3px; height: 60px; }
.bv-screen {
  position: relative; border-radius: 42px; overflow: hidden;
  background: #ffffff; width: 282px; height: 596px;
  display: flex; flex-direction: column;
}
.bv-island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 27px; background: #08080a; border-radius: 999px; z-index: 20;
}
.bv-statusbar {
  position: absolute; top: 0; left: 0; right: 0; height: 50px; z-index: 15;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px 0; pointer-events: none;
}
.bv-statusbar .t { font: 600 14px/1 var(--sans); color: var(--bv-ink); letter-spacing: -0.01em; }
.bv-statusbar .ic { display: flex; align-items: center; gap: 6px; color: var(--bv-ink); }
.bv-screen.dark { background: #121316; }
.bv-screen.dark .bv-statusbar .t, .bv-screen.dark .bv-statusbar .ic { color: #fff; }

/* app chrome */
.bv-app-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 52px 18px 12px; flex-shrink: 0;
}
.bv-app-hdr .logo { font-size: 20px; }
.bv-app-hdr .av {
  width: 30px; height: 30px; border-radius: 999px; background: var(--blue);
  color: var(--blue-ink); display: flex; align-items: center; justify-content: center;
  font: 700 13px/1 var(--sans);
}
.bv-app-hdr .friends {
  border: 1px solid var(--blue-deep); color: var(--blue-deep);
  font: 600 11.5px/1 var(--sans); padding: 6px 11px; border-radius: 999px; margin-left: auto; margin-right: 9px;
}
.bv-tabbar {
  margin-top: auto; flex-shrink: 0; display: flex; justify-content: space-around; align-items: center;
  padding: 11px 14px 16px; border-top: 1px solid var(--bv-line); background: rgba(255,255,255,0.7);
}
.bv-tabbar .tab { font: 500 11px/1 var(--sans); color: var(--bv-gray-2); display: flex; flex-direction: column; align-items: center; gap: 5px; }
.bv-tabbar .tab svg { width: 19px; height: 19px; }
.bv-tabbar .tab.on { color: var(--gold-ink); }
.bv-tabbar .tab.on .pill { background: var(--gold); border-radius: 999px; }
.bv-screen.dark .bv-tabbar { background: rgba(18,19,22,0.8); border-top-color: rgba(255,255,255,0.08); }

/* ============================================================
   3-UP USE-CASE PANELS  (Bevel Strain/Sleep/Recovery)
   ============================================================ */
.bv-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.bv-panel {
  position: relative; border-radius: 38px; overflow: hidden;
  padding: 44px 26px 0; height: 600px;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}
.bv-panel.warm { background: linear-gradient(168deg, #fbf4dd 0%, #f6ecc9 100%); }
.bv-panel.cool { background: linear-gradient(168deg, #eef6fc 0%, #dfeefa 100%); }
.bv-panel.neutral { background: linear-gradient(168deg, #f6f4ee 0%, #ebe8df 100%); }
/* uniform-tint option (Bevel's single restrained gray) — add .uniform to .bv-grid3 */
.bv-grid3.uniform .bv-panel { background: linear-gradient(168deg, #eef0f4 0%, #e4e7ec 100%); }
.bv-panel .p-h { font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: -0.02em; color: var(--bv-ink); align-self: flex-start; }
.bv-panel .p-sub { font: 400 16.5px/1.45 var(--display); color: var(--bv-gray); margin: 14px 0 0; align-self: flex-start; max-width: 23ch; }
.bv-panel .p-stage {
  position: relative; margin-top: auto; width: 100%;
  display: flex; justify-content: center; padding-top: 18px;
}
/* phone fills the card and overflows the fixed-height panel — clipped at the bottom edge for the Bevel "rising" look */
.bv-panel .bv-phone { width: 306px; margin-bottom: 0; }
.bv-panel .bv-screen { width: 284px; height: 548px; }
.bv-panel .bv-app-hdr { padding: 46px 15px 10px; }
.bv-panel .bv-app-hdr .logo { font-size: 17px; }
/* iOS status bar + dynamic island, scaled for the smaller panel phone */
.bv-panel .bv-island { width: 78px; height: 23px; top: 9px; }
.bv-panel .bv-statusbar { height: 42px; padding: 14px 18px 0; }
.bv-panel .bv-statusbar .t { font-size: 12px; }
.bv-statusbar .ic svg.sb { display: block; }

/* ============================================================
   FLOATING CARDS  (pop out of the phone)
   ============================================================ */
.bv-card {
  position: absolute; border-radius: 20px; background: var(--bv-card);
  box-shadow: 0 26px 50px -22px rgba(20,20,30,0.45), 0 4px 12px -6px rgba(20,20,30,0.2), inset 0 0 0 1px rgba(255,255,255,0.6);
  z-index: 12;
}
.bv-card.glass {
  background: rgba(28,30,38,0.78); color: #fff;
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 30px 60px -24px rgba(10,12,20,0.6), inset 0 0 0 1px rgba(255,255,255,0.12);
}
/* pop animation (sections.js adds .pop-in via IO; subtle float wrapper keeps idle motion) */
.bv-pop { opacity: 0; transform: translateY(16px) scale(0.93); transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.bv-pop.pop-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .bv-float { animation: bvFloat 6s ease-in-out infinite; }
  .bv-float.b { animation-duration: 7.5s; animation-delay: -2s; }
  .bv-float.c { animation-duration: 8.5s; animation-delay: -4s; }
}
@keyframes bvFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }


/* little metric card (Bevel "Daytime HR") */
.bv-metric { padding: 13px 16px; min-width: 156px; }
.bv-metric .lbl { font: 600 11.5px/1 var(--sans); color: var(--bv-gray); display: flex; align-items: center; gap: 7px; }
.bv-metric .big { font: 700 22px/1 var(--display); color: var(--bv-ink); margin-top: 9px; letter-spacing: -0.02em; }
.bv-metric .big .u { font-size: 13px; font-weight: 600; color: var(--bv-gray); margin-left: 2px; }
.bv-metric .tag { font: 600 12px/1 var(--sans); margin-top: 7px; color: var(--gold-deep); display: flex; align-items: center; gap: 5px; }
.bv-metric .tag.blue { color: var(--blue-deep); }

/* ============================================================
   DECISION-CARD DEEP DIVE  (the chat walkthrough)
   ============================================================ */
.bv-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.bv-split.rev .copy { order: 2; }
.bv-split.rev .stage { order: 1; }
.bv-stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 680px; perspective: 1600px; }
.bv-stage .bv-phone { transform: rotateY(-8deg) rotateX(2deg) rotateZ(0.4deg); transition: transform 0.2s linear; will-change: transform; }
.bv-stage.flat .bv-phone { transform: none; }

/* in-app chat */
.bv-chat { flex: 1; overflow: hidden; padding: 6px 14px 10px; display: flex; flex-direction: column; gap: 9px; }
.bv-bub { max-width: 84%; padding: 10px 14px; border-radius: 18px; font: 500 13px/1.4 var(--sans); }
.bv-bub.u { align-self: flex-end; background: var(--blue); color: var(--blue-ink); border-bottom-right-radius: 5px; }
.bv-bub.a { align-self: flex-start; background: #fff7df; color: var(--gold-ink); border: 1px solid #f0e3b4; border-bottom-left-radius: 5px; }
.bv-think { align-self: flex-start; font: 500 11.5px/1.5 var(--sans); color: var(--bv-gray); display: flex; flex-direction: column; gap: 6px; padding: 2px 2px 2px 4px; }
.bv-think .row { display: flex; align-items: center; gap: 8px; }
.bv-think .row .d { width: 13px; height: 13px; border-radius: 999px; background: var(--gold); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--gold-ink); font-size: 8px; }

/* the decision card (rich) */
.bv-rec {
  width: 268px; border-radius: 22px; overflow: hidden; background: #fff;
}
.bv-rec .photo { position: relative; height: 132px; background: #ddd; }
.bv-rec .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bv-rec .photo .badge {
  position: absolute; top: 11px; left: 11px; font: 700 10px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-ink); background: var(--gold); padding: 6px 10px; border-radius: 999px;
}
.bv-rec .photo .open {
  position: absolute; top: 11px; right: 11px; font: 600 10.5px/1 var(--sans); color: #0c6b46;
  background: rgba(255,255,255,0.92); padding: 6px 9px; border-radius: 999px; display: flex; align-items: center; gap: 5px;
}
.bv-rec .photo .open .dot { width: 6px; height: 6px; border-radius: 999px; background: #14a86a; }
.bv-rec .body { padding: 13px 15px 15px; }
.bv-rec .name { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 21px; line-height: 1; color: var(--bv-ink); letter-spacing: -0.01em; }
.bv-rec .meta { font: 500 11.5px/1 var(--sans); color: var(--bv-gray); margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bv-rec .meta .star { color: var(--gold-deep); font-weight: 700; }
.bv-rec .meta .sep { color: var(--bv-line); }
.bv-rec .order { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--bv-line); }
.bv-rec .order .ol { font: 700 9.5px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }
.bv-rec .order .dish { font: 500 12.5px/1.5 var(--sans); color: var(--bv-ink-soft); margin-top: 7px; display: flex; gap: 8px; }
.bv-rec .order .dish .n { color: var(--gold-deep); font-weight: 700; flex-shrink: 0; }

/* stacked backups */
.bv-backup {
  width: 210px; border-radius: 18px; background: #fff; padding: 12px 14px;
  display: flex; align-items: center; gap: 11px;
}
.bv-backup .th { width: 44px; height: 44px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: #ddd; }
.bv-backup .th img { width: 100%; height: 100%; object-fit: cover; }
.bv-backup .rk { font: 700 11px/1 var(--sans); color: var(--bv-gray-2); }
.bv-backup .nm { font: 600 14px/1.1 var(--sans); color: var(--bv-ink); margin-top: 3px; }
.bv-backup .sm { font: 500 11px/1 var(--sans); color: var(--bv-gray); margin-top: 4px; }

/* ============================================================
   SOURCES ORBIT  (Bevel "Connect your health records")
   ============================================================ */
.bv-orbit { position: relative; min-height: 620px; display: flex; align-items: center; justify-content: center; }
.bv-orbit .rings { position: absolute; inset: 0; pointer-events: none; }
.bv-orbit .rings span {
  position: absolute; top: 50%; left: 50%; border-radius: 50%;
  border: 1px solid var(--bv-line); transform: translate(-50%,-50%);
}
.bv-srcsheet {
  position: relative; z-index: 4; width: 300px; border-radius: 24px; background: #fff; overflow: hidden;
  box-shadow: 0 50px 90px -34px rgba(20,20,30,0.4), inset 0 0 0 1px rgba(255,255,255,0.6);
}
.bv-srcsheet .top { padding: 18px 20px 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--bv-line); }
.bv-srcsheet .top .x { width: 28px; height: 28px; border-radius: 999px; background: #f0f0ec; display: flex; align-items: center; justify-content: center; color: var(--bv-gray); font-size: 14px; }
.bv-srcsheet .top h4 { font: 700 16px/1 var(--display); color: var(--bv-ink); margin: 0; letter-spacing: -0.01em; }
.bv-srcrow { padding: 14px 20px; display: flex; gap: 13px; border-bottom: 1px solid var(--bv-line); }
.bv-srcrow:last-child { border-bottom: none; }
.bv-srcrow .num { font: 700 12px/1.5 var(--sans); color: var(--bv-gray-2); flex-shrink: 0; }
.bv-srcrow .ti { font: 600 13.5px/1.35 var(--sans); color: var(--bv-ink); }
.bv-srcrow .dm { font: 500 11.5px/1 var(--sans); color: var(--bv-gray); margin-top: 6px; display: flex; align-items: center; gap: 7px; }
.bv-srcrow .dm .fav { width: 15px; height: 15px; border-radius: 4px; object-fit: contain; }

.bv-tile {
  position: absolute; width: 66px; height: 66px; border-radius: 19px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 22px 44px -20px rgba(20,20,30,0.4), inset 0 0 0 1px rgba(255,255,255,0.6);
  z-index: 3;
}
.bv-tile img { width: 56%; height: 56%; object-fit: contain; }
.bv-tile span { font: 800 24px/1 var(--display); }

/* ============================================================
   LOCAL SCORE
   ============================================================ */
.bv-score-card {
  background: linear-gradient(168deg, #fbf4dd 0%, #f5ead0 100%);
  border-radius: 32px; padding: 40px; display: flex; gap: 40px; align-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55);
}
.bv-ring { position: relative; width: 200px; height: 200px; flex-shrink: 0; }
.bv-ring svg { transform: rotate(-90deg); display: block; }
.bv-ring .val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.bv-ring .val .n { font: 700 56px/1 var(--display); color: var(--gold-ink); letter-spacing: -0.03em; }
.bv-ring .val .l { font: 600 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); margin-top: 6px; }
.bv-score-rows { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.bv-score-rows .r { }
.bv-score-rows .r .top { display: flex; justify-content: space-between; align-items: baseline; }
.bv-score-rows .r .nm { font: 600 14.5px/1 var(--sans); color: var(--bv-ink); }
.bv-score-rows .r .vl { font: 600 13px/1 var(--sans); color: var(--gold-deep); }
.bv-score-rows .r .track { height: 7px; border-radius: 999px; background: rgba(180,144,31,0.16); margin-top: 9px; overflow: hidden; }
.bv-score-rows .r .fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); width: 0; transition: width 1s cubic-bezier(0.16,1,0.3,1); }
.bv-score-rows .r.in .fill { width: var(--w); }

/* ============================================================
   +FRIENDS feature row
   ============================================================ */
.bv-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; background: #fff; box-shadow: 0 6px 16px -10px rgba(20,20,30,0.35), inset 0 0 0 1px var(--bv-line); font: 600 12.5px/1 var(--sans); color: var(--bv-ink-soft); }
.bv-chip .av { width: 20px; height: 20px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font: 700 10px/1 var(--sans); color: #fff; }

/* ============================================================
   CLOSING CTA
   ============================================================ */
.bv-closing { text-align: center; padding: clamp(100px,14vh,170px) 24px; background: var(--bv-page); }
.bv-closing .logo { font-size: 40px; display: inline-block; margin-bottom: 26px; }
.bv-closing h2 { font-family: var(--display); font-weight: 700; font-size: clamp(40px,6vw,76px); line-height: 0.98; letter-spacing: -0.025em; color: var(--bv-ink); margin: 0 0 12px; }
.bv-closing h2 .alt { font-family: var(--serif); font-style: italic; font-weight: 600; }
.bv-closing .csub { font: 400 19px/1.5 var(--display); color: var(--bv-gray); margin: 0 auto 34px; max-width: 30ch; }
.bv-cta-form {
  display: flex; gap: 8px; align-items: center; max-width: 460px; margin: 0 auto;
  padding: 7px 7px 7px 22px; border-radius: 22px; background: #fff;
  box-shadow: 0 22px 44px -22px rgba(30,22,8,0.3), inset 0 0 0 1px var(--bv-line);
}
.bv-cta-form input { flex: 1; min-width: 0; border: none; background: transparent; outline: none; font: 500 16px/1 var(--sans); color: var(--bv-ink); padding: 12px 0; }
.bv-cta-form input::placeholder { color: var(--bv-gray-2); }
.bv-cta-form button { flex-shrink: 0; background: var(--gold); color: var(--gold-ink); border: none; border-radius: 15px; padding: 0 22px; height: 50px; font: 600 15px/1 var(--sans); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background 0.18s ease, transform 0.18s ease; }
.bv-cta-form button:hover { background: var(--gold-dark); transform: translateY(-1px); }
.bv-cta-form.done button { cursor: default; }
.bv-cta-form.invalid { box-shadow: 0 0 0 2px rgba(194,58,45,0.5), inset 0 0 0 1px rgba(194,58,45,0.4); }
.bv-fine { font: 500 13px/1 var(--sans); color: var(--bv-gray); margin: 20px 0 0; }

/* ---------- Footer ---------- */
.bv-footer {
  background: var(--bv-ink); color: #cfcfcf; padding: 44px 28px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.bv-footer .foot-left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.bv-footer .logo { color: var(--gold); font-size: 22px; }
.bv-footer .links { display: flex; align-items: center; gap: 16px; font: 500 13px/1 var(--sans); }
.bv-footer .links a { color: #9d9d9d; transition: color 0.18s ease; }
.bv-footer .links a:hover { color: #fff; }
.bv-footer .built { font: 500 13px/1 var(--sans); color: #7d7d7d; }

/* ---------- Map screen ---------- */
.bv-mapwrap { position: relative; flex: 1; overflow: hidden; }
.bv-mapbg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bv-pin {
  position: absolute; width: 15px; height: 15px; border-radius: 999px; background: #fff;
  border: 3px solid var(--blue-deep); transform: translate(-50%,-50%);
  box-shadow: 0 4px 10px -3px rgba(0,0,0,0.35);
  display: flex; align-items: center; justify-content: center; font-size: 9px; color: var(--gold-ink);
}
.bv-pin.gold { background: var(--gold); border-color: var(--gold-deep); width: 26px; height: 26px; font-weight: 700; z-index: 3; }
.bv-mapcard {
  position: absolute; left: 12px; right: 12px; bottom: 12px; background: #fff; border-radius: 14px;
  padding: 9px 11px; display: flex; gap: 10px; align-items: center; box-shadow: 0 14px 28px -14px rgba(0,0,0,0.4);
}
.bv-mapcard .th { width: 38px; height: 38px; border-radius: 9px; overflow: hidden; flex-shrink: 0; }
.bv-mapcard .th img { width: 100%; height: 100%; object-fit: cover; }
.bv-mapcard .nm { font: 700 13px/1 var(--sans); color: var(--bv-ink); }
.bv-mapcard .sm { font: 500 11px/1 var(--sans); color: var(--bv-gray); margin-top: 5px; }
.bv-mapcard .star { color: var(--gold-deep); font-weight: 700; }

/* ---------- Saved screen ---------- */
.bv-saved { flex: 1; overflow: hidden; padding: 4px 14px; display: flex; flex-direction: column; gap: 9px; }
.bv-saved-h { font: 600 10.5px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--bv-gray); padding: 2px 2px 4px; }
.bv-srow { display: flex; align-items: center; gap: 11px; padding: 8px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--bv-line); }
.bv-srow .th { width: 42px; height: 42px; border-radius: 11px; overflow: hidden; flex-shrink: 0; }
.bv-srow .th img { width: 100%; height: 100%; object-fit: cover; }
.bv-srow .nm { font: 600 13px/1.1 var(--sans); color: var(--bv-ink); }
.bv-srow .sm { font: 500 11px/1 var(--sans); color: var(--bv-gray); margin-top: 4px; }
.bv-srow .bk { margin-left: auto; color: var(--gold-deep); font-size: 14px; }

/* ---------- +friends plan screen ---------- */
.bv-plan { flex: 1; overflow: hidden; padding: 6px 16px; display: flex; flex-direction: column; gap: 12px; }
.bv-plan-h { font: 700 14px/1 var(--sans); color: var(--bv-ink); }
.bv-avs { display: flex; }
.bv-avs .pa { width: 30px; height: 30px; border-radius: 999px; color: #fff; font: 700 12px/1 var(--sans); display: flex; align-items: center; justify-content: center; border: 2px solid #fbfaf6; margin-left: -8px; }
.bv-avs .pa:first-child { margin-left: 0; }
.bv-prefs { display: flex; flex-wrap: wrap; gap: 6px; }
.bv-prefs .pf { font: 500 11px/1 var(--sans); color: var(--bv-ink-soft); background: #f1efe8; padding: 6px 9px; border-radius: 999px; }
.bv-merge .ml { font: 700 9.5px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 7px; }

/* ============================================================
   REAL LOCAL APP COMPONENTS  (faithful to the product)
   ============================================================ */
:root {
  --la-cream:      #FBF1C6;
  --la-cream-lift: #FFFBEC;
  --la-ink:        #26210F;
  --la-olive:      #94842F;
  --la-olive-soft: #8c8358;
  --la-orange:     #E68A3A;
  --la-amber:      #EAC24A;
  --la-blue:       #BBDDF4;
  --la-navy:       #0A3550;
  --la-badge:      #ECC54C;
}
.bv-screen { background: #ffffff; }

/* header */
.la-hdr { display: flex; align-items: center; gap: 7px; padding: 50px 14px 11px; border-bottom: 1px solid rgba(20,20,30,0.05); flex-shrink: 0; }
.la-hdr .lg { font-family: var(--serif); font-style: italic; font-weight: 800; color: var(--gold); font-size: 19px; letter-spacing: -0.5px; margin-right: auto; }
.la-hdr .fr { background: var(--la-blue); color: var(--la-navy); font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 11px; padding: 6px 11px; border-radius: 999px; }
.la-hdr .av { width: 26px; height: 26px; border-radius: 999px; background: #CDE6F7; border: 1.5px solid #8FC4E8; display: flex; align-items: center; justify-content: center; color: var(--la-navy); }
.la-hdr .av svg { width: 14px; height: 14px; }

/* text tab bar */
.la-tabs { margin-top: auto; flex-shrink: 0; display: flex; justify-content: space-around; padding: 13px 10px 16px; border-top: 1px solid rgba(20,20,30,0.05); }
.la-tabs span { font: 600 12px/1 var(--sans); color: #A8A89E; }
.la-tabs span.on { color: #1A1A1A; font-weight: 700; }

/* composer */
.la-comp { flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-top: 1px solid rgba(20,20,30,0.05); }
.la-comp .plus { width: 26px; height: 26px; border-radius: 999px; border: 1px solid rgba(20,20,30,0.15); color: #9a9a90; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.la-comp .ip { flex: 1; background: #f4f3ee; border-radius: 999px; padding: 9px 14px; font: 500 11px/1 var(--sans); color: #a6a69c; }
.la-comp .snd { width: 26px; height: 26px; border-radius: 999px; border: 1.5px solid var(--gold); color: var(--gold-deep); display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }

/* home hero */
.la-home { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 18px; }
.la-home .gd { font: 500 11px/1 var(--sans); color: #a8a79b; }
.la-home .q { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 29px; color: var(--la-ink); margin: 9px 0 17px; letter-spacing: -0.5px; }
.la-home .mk { background: #1A1A1A; color: #fff; font: 700 12px/1 var(--sans); padding: 13px 22px; border-radius: 999px; display: inline-flex; gap: 7px; align-items: center; }
.la-home .or { font: 500 10px/1 var(--sans); color: #b6b5a9; margin: 19px 0 13px; }
.la-home .chips { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.la-home .chips b { background: #FBEFB6; color: #6f6325; border: 1px solid #f0de82; border-radius: 999px; padding: 8px 13px; font: 600 11px/1 var(--sans); white-space: nowrap; }

/* chat */
.la-chatwrap { flex: 1; overflow: hidden; padding: 10px 13px; display: flex; flex-direction: column; gap: 8px; }
.la-bub { max-width: 84%; padding: 9px 12px; font: 500 11px/1.35 var(--sans); border-radius: 15px; }
.la-bub.u { align-self: flex-end; background: var(--la-blue); color: var(--la-navy); border-bottom-right-radius: 5px; }
.la-bub.a { align-self: flex-start; background: var(--la-cream); color: #4a4326; border-bottom-left-radius: 5px; }
.la-swipe { align-self: flex-end; font: 700 9px/1 var(--sans); color: var(--la-olive); letter-spacing: 0.02em; }

/* THE LOCAL PICK CARD */
.la-pick { width: 100%; border-radius: 18px; overflow: hidden; background: var(--la-cream); }
.la-pick .ph { position: relative; height: 104px; background: #cbb9a0; }
.la-pick .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.la-pick .bk { position: absolute; top: 9px; right: 9px; width: 26px; height: 26px; border-radius: 999px; background: rgba(251,241,198,0.82); border: 1px solid rgba(40,33,15,0.18); display: flex; align-items: center; justify-content: center; color: var(--la-ink); }
.la-pick .bk svg { width: 12px; height: 12px; }
.la-pick .bd { padding: 12px 14px 14px; }
.la-pick .ey { font: 800 8.5px/1 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; color: var(--la-olive); }
.la-pick .nm { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 19px; line-height: 1.05; color: var(--la-ink); margin: 6px 0 0; }
.la-pick .mt { font: 500 9.5px/1.35 var(--sans); color: var(--la-olive-soft); margin-top: 7px; }
.la-pick .rt { font: 700 10.5px/1 var(--sans); color: var(--la-ink); margin-top: 6px; }
.la-pick .rt .st { color: #caa42e; }
.la-pick .rt .gr { color: var(--la-olive-soft); font-weight: 500; }
.la-pick .bl { font: 500 10.5px/1.45 var(--sans); color: #4a4326; margin-top: 9px; }
.la-pick .mm { font: 800 8px/1 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; color: var(--la-olive); margin: 12px 0 7px; }
.la-pick .mv { display: flex; align-items: center; gap: 9px; background: var(--la-cream-lift); border-radius: 11px; padding: 8px 10px; margin-bottom: 6px; }
.la-pick .mv .n { width: 19px; height: 19px; border-radius: 999px; background: var(--la-badge); color: #5a4a00; font: 700 9px/1 var(--sans); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.la-pick .mv .dn { font: 700 10.5px/1.1 var(--sans); color: var(--la-ink); }
.la-pick .mv .ds { font: 500 9px/1 var(--sans); color: #9a9270; margin-top: 3px; }
.la-pick .acts { display: flex; gap: 7px; margin-top: 10px; }
.la-pick .go { flex: 1; background: #1A1A1A; color: #fff; border-radius: 999px; padding: 11px; text-align: center; font: 700 10.5px/1 var(--sans); }
.la-pick .lm { background: var(--la-cream-lift); color: var(--la-ink); border: 1px solid rgba(40,33,15,0.12); border-radius: 999px; padding: 11px 15px; font: 700 10.5px/1 var(--sans); }

/* score pill */
.la-spill { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--la-orange); color: #fff; font: 800 11px/1 var(--sans); border: 2px solid #fff; box-shadow: 0 3px 7px -3px rgba(0,0,0,0.4); }
.la-spill.amber { background: var(--la-amber); color: #3a2e00; }
.la-spill.blue { background: var(--la-blue); color: var(--la-navy); }
.la-spill.lg { width: 50px; height: 50px; min-width: 0; padding: 0; border-radius: 999px; font-size: 16px; flex-direction: column; gap: 0.5px; }
.la-spill.lg small { font: 800 4.5px/1 var(--sans); letter-spacing: 0; }

/* map */
.la-map { position: relative; flex: 1; overflow: hidden; }
.la-map .mbg { position: absolute; inset: 0; width: 100%; height: 100%; }
.la-map .srch { position: absolute; top: 46px; left: 10px; right: 10px; background: #fff; border-radius: 999px; padding: 9px 13px; font: 500 10px/1 var(--sans); color: #a6a69c; box-shadow: 0 7px 16px -10px rgba(0,0,0,0.4); z-index: 6; display: flex; align-items: center; gap: 6px; }
.la-map .la-spill { position: absolute; transform: translate(-50%,-50%); }
.la-mapcard { position: absolute; left: 10px; right: 10px; bottom: 10px; background: var(--la-cream); border-radius: 15px; padding: 11px 13px; box-shadow: 0 14px 28px -12px rgba(0,0,0,0.42); z-index: 5; }
.la-mapcard .nm { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 15px; color: var(--la-ink); }
.la-mapcard .mt { font: 500 9px/1 var(--sans); color: var(--la-olive-soft); margin-top: 5px; }
.la-mapcard .sc { position: absolute; top: 11px; right: 13px; }
.la-mapcard .acts { display: flex; gap: 6px; margin-top: 10px; }
.la-mapcard .vd { flex: 1; background: #1A1A1A; color: #fff; border-radius: 999px; padding: 9px; text-align: center; font: 700 9.5px/1 var(--sans); }
.la-mapcard .sv { background: var(--la-cream-lift); border: 1px solid rgba(40,33,15,0.12); border-radius: 999px; padding: 9px 14px; font: 700 9.5px/1 var(--sans); color: var(--la-ink); }

/* saved */
.la-saved { flex: 1; overflow: hidden; padding: 12px 13px; display: flex; flex-direction: column; gap: 8px; }
.la-saved .ttl { font: 800 9px/1 var(--sans); letter-spacing: 0.13em; text-transform: uppercase; color: var(--la-olive); padding: 2px 2px 2px; }
.la-srow { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid rgba(20,20,30,0.07); border-radius: 14px; padding: 8px; }
.la-srow .th { width: 42px; height: 42px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.la-srow .th img { width: 100%; height: 100%; object-fit: cover; }
.la-srow .nm { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 14px; color: var(--la-ink); }
.la-srow .mt { font: 500 9.5px/1 var(--sans); color: var(--la-olive-soft); margin-top: 4px; }
.la-srow .la-spill { margin-left: auto; }

/* +friends plan card */
.la-plan { flex: 1; overflow: hidden; padding: 12px 13px; display: flex; flex-direction: column; }
.la-plan .card { background: var(--la-cream); border-radius: 16px; padding: 13px; }
.la-plan .ph { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 16px; color: var(--la-ink); }
.la-plan .avs { display: flex; margin: 10px 0 12px; }
.la-plan .avs .pa { width: 26px; height: 26px; border-radius: 999px; color: #fff; font: 700 11px/1 var(--sans); display: flex; align-items: center; justify-content: center; border: 2px solid var(--la-cream); margin-left: -7px; }
.la-plan .avs .pa:first-child { margin-left: 0; }
.la-plan .prefs { display: flex; flex-wrap: wrap; gap: 6px; }
.la-plan .prefs b { font: 600 9.5px/1 var(--sans); color: #6f6325; background: var(--la-cream-lift); border: 1px solid #efdf94; padding: 6px 9px; border-radius: 999px; }
.la-plan .ml { font: 800 8px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--la-olive); margin: 13px 0 8px; }

/* picker card (Ask) */
.la-picker { flex: 1; overflow: hidden; padding: 13px 13px; }
.la-picker .card { background: var(--la-cream); border-radius: 16px; padding: 13px 14px; }
.la-picker .bk { font: 600 9px/1 var(--sans); color: var(--la-olive-soft); }
.la-picker .q { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 17px; color: var(--la-ink); margin: 5px 0 8px; }
.la-picker .lbl { font: 500 9px/1 var(--sans); color: #a09a72; margin: 7px 0 5px; }
.la-picker .row { display: flex; flex-wrap: wrap; gap: 5px; }
.la-picker .row b { font: 600 9.5px/1 var(--sans); color: #4a4326; background: var(--la-cream-lift); border: 1px solid #efdf94; border-radius: 999px; padding: 7px 11px; white-space: nowrap; }
.la-picker .row b.on { background: var(--la-badge); border-color: #d8b93a; color: #5a4a00; font-weight: 700; }
.la-picker .mk { display: block; text-align: center; background: #1A1A1A; color: #fff; border-radius: 999px; padding: 10px; font: 700 10px/1 var(--sans); margin-top: 9px; }

/* elevated when floating out of the phone */
.la-elev { box-shadow: 0 34px 64px -26px rgba(46,33,5,0.5), 0 8px 20px -10px rgba(46,33,5,0.3); border-radius: 18px; }

/* compact floating "menu moves" / backup cards */
.la-float-card { width: 178px; background: var(--la-cream); border-radius: 16px; padding: 12px 13px; }
.la-float-card .ey { font: 800 8px/1 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; color: var(--la-olive); }
.la-backup { width: 186px; background: var(--la-cream); border-radius: 16px; overflow: hidden; }
.la-backup .ph { height: 70px; } .la-backup .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.la-backup .bd { padding: 10px 12px 12px; position: relative; }
.la-backup .ey { font: 800 7.5px/1 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; color: var(--la-olive); }
.la-backup .nm { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 14px; color: var(--la-ink); margin-top: 5px; }
.la-backup .mt { font: 500 9px/1 var(--sans); color: var(--la-olive-soft); margin-top: 5px; }
.la-backup .sc { position: absolute; top: -16px; right: 12px; }

/* small-phone scaling inside 3-up panels */
.bv-panel .la-hdr { padding: 44px 11px 9px; }
.bv-panel .la-hdr .lg { font-size: 16px; }
.bv-panel .la-home .q { font-size: 23px; }
.bv-panel .la-tabs span { font-size: 10.5px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .bv-grid3 { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  /* tighten the gap between the use-cases section and The Call on mobile */
  #usecases { padding-bottom: 44px; }
  #thecall { padding-top: 36px; }
  /* keep the phone peeking out of the card (like desktop) instead of showing the whole thing */
  .bv-panel { height: 560px; min-height: 0; padding-bottom: 0; }
  .bv-panel .bv-phone { margin-bottom: 0; }
  .bv-split, .bv-score-card { grid-template-columns: 1fr; }
  .bv-split { display: flex; flex-direction: column; gap: 8px; }
  .bv-split.rev .copy, .bv-split.rev .stage { order: 0; }
  .bv-split .copy { text-align: center; }
  .bv-sub { margin-left: auto; margin-right: auto; }
  .bv-stage { min-height: 0; margin-top: 30px; perspective: none; }
  .bv-stage .bv-phone { transform: none !important; }
  .bv-score-card { flex-direction: column; text-align: center; }
  /* sources + friends: copy ABOVE the visual on mobile */
  #sources .copy, #friends .copy { order: 1; margin-bottom: 8px; }
  #sources .stage, #friends .stage { order: 2; margin-top: 8px; }
  /* sources orbit on mobile: keep it, but send the logos BEHIND the card so they
     peek around the edges instead of covering the source list */
  .bv-orbit { min-height: 440px; }
  .bv-orbit .bv-tile.orbiting { z-index: 1 !important; }
  .bv-srcsheet { width: 264px; }
}
@media (max-width: 560px) {
  /* compact nav that still fits the logo + all links + a short CTA */
  .bv-nav { left: 8px; right: 8px; transform: none; gap: 2px; padding: 6px 6px 6px 12px; justify-content: space-between; }
  .bv-nav.hide { transform: translateY(-130%); }
  .bv-nav .logo { font-size: 20px; margin-right: 2px; }
  .bv-nav .navlink { display: inline-flex; font-size: 12px; padding: 7px 6px; }
  .bv-nav .nav-cta { font-size: 12px; padding: 8px 11px; gap: 4px; }
  .bv-nav .nav-cta .cta-long { display: none; }   /* show "↑ Join" instead of "Join waitlist" */
  /* keep phones full-size on mobile so the in-phone demos fit like desktop */
  .bv-score-card { padding: 28px 20px; }
  /* closing waitlist CTA: arrow-only on mobile to give the email field more room */
  .bv-cta-form button .cta-label { display: none; }
  .bv-cta-form button { padding: 0 18px; gap: 0; }
}

/* ---------- reduced motion / safety ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .bv-pop { opacity: 1 !important; transform: none !important; transition: none !important; }
  .bv-float { animation: none !important; }
  .bv-stage .bv-phone { transform: none !important; }
}
body.force-visible .reveal,
body.force-visible .bv-pop { opacity: 1 !important; transform: none !important; }
