/* YouthVoice.ai main page. Map center, voice first. Mostly white and ink; dusk blue leads, sky and mint are accents. */
:root { --ink: #14273D; --jade: #C2E8D6; --jade-2: #C2E8D6; --wash: #EAF4EE; --jade-ink: #1F3B5A; --muted: #4A647F; --line: #D5E2EE; --soft: #EAF1F7;
  --yv-surface: #fff; --yv-ink: #14273D; --yv-accent: #1F3B5A; --yv-accent-ink: #FAFCFE; --yv-highlight: #C2E8D6; --yv-highlight-ink: #14273D;
  --yv-display: "Manrope", system-ui, sans-serif; --yv-body: "Manrope", system-ui, sans-serif; --yv-radius: 22px; --top: 76px;}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: var(--top); }
body { margin: 0; background: var(--yv-cloud, #FAFCFE); color: var(--ink); font-family: var(--yv-body); font-size: 1.06rem; line-height: 1.55; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--jade-ink); outline-offset: 3px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--yv-display); font-style: normal; font-weight: 800; margin: 0; line-height: .95; letter-spacing: -.035em; }
p { margin: 0; }
.sr { position: absolute; left: -9999px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 3000; background: var(--yv-dusk); color: #fff; padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font: 800 1rem var(--yv-body); border: 2px solid var(--yv-dusk); border-radius: 999px; padding: 11px 20px; background: var(--jade); color: var(--ink); cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn i { font-size: 1.15rem; }
.btn.dark { background: var(--yv-dusk); color: var(--jade); }
.btn.ghost { background: #fff; }
.btn:active { transform: translateY(1px); }
.kicker { font-weight: 800; color: var(--jade-ink); margin-bottom: 6px; }
.kicker.light { color: var(--jade); }
.fine { font-size: .88rem; color: var(--muted); margin-top: 16px; }

/* Sticky header */
.logo img { height: 50px; width: auto; display: block; }

/* Hero: the map is the page */
.hero { position: relative; height: calc(100dvh - var(--top)); min-height: 660px; max-height: 940px; }
.hero-map { position: absolute; inset: 0; }
.hero-map.yvm { border: 0; border-radius: 0; }
.hero-card { position: absolute; z-index: 700; left: 50%; bottom: 36px; transform: translateX(-50%); width: min(820px, calc(100% - 32px)); background: #fff; border: 2px solid var(--yv-dusk); border-radius: 32px; padding: 30px 38px 24px; text-align: center; box-shadow: 0 30px 60px -30px rgba(20,39,61,.45); display: grid; justify-items: center; gap: 14px; }
.card-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--yv-dusk); background: #fff; color: var(--ink); font-size: 1.15rem; cursor: pointer; display: grid; place-items: center; }
.card-x:hover { background: var(--wash); }
.poll-chip { display: inline-flex; gap: 6px; align-items: center; font-weight: 800; font-size: .95rem; background: var(--yv-dusk); color: var(--jade); border-radius: 999px; padding: 6px 14px; }
.hero-card h1 { font-size: clamp(3rem, 6.8vw, 6rem); line-height: .9; letter-spacing: -.035em;}
.hero-card h1 em { background: linear-gradient(transparent 58%, var(--jade-2) 58%, var(--jade-2) 94%, transparent 94%); padding: 0 .05em; letter-spacing: -.035em;}
.hero-sub { font-size: 1.2rem; color: #2B4560; max-width: 46ch; }
.where { width: 100%; display: grid; gap: 10px; justify-items: center; margin-top: 2px; }
.where-q { font-family: var(--yv-display); font-style: normal; font-weight: 800; font-size: 1.6rem; line-height: 1; letter-spacing: -.035em;}
.where-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; }
.or { font-weight: 700; color: var(--muted); }
.zipf { display: flex; border: 2px solid var(--yv-dusk); border-radius: 999px; overflow: hidden; background: #fff; }
.zipf input { font: inherit; border: 0; padding: 10px 14px; width: 130px; }
.zipf input:focus { outline: none; }
.zipf button { font: 800 1rem var(--yv-body); border: 0; background: var(--wash); color: var(--ink); padding: 0 18px; cursor: pointer; }
.where-note { font-size: .88rem; color: var(--muted); }
.where-note:empty { display: none; }
.explore { background: none; border: 0; font: 700 .95rem var(--yv-body); color: var(--ink); text-decoration: underline; cursor: pointer; }
.hero-pill { position: absolute; z-index: 700; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--yv-dusk); color: #fff; border-radius: 999px; padding: 8px 8px 8px 18px; display: flex; gap: 10px; align-items: center; box-shadow: 0 18px 36px -16px rgba(20,39,61,.8); max-width: calc(100% - 24px); }
.pill-loc { display: inline-flex; gap: 6px; align-items: center; font-weight: 800; white-space: nowrap; }
.pill-loc i { color: var(--jade); }
.pill-loc b { color: var(--jade); font-family: var(--yv-display); font-style: normal; font-size: 1.2rem; letter-spacing: -.035em;}
.pill-hint { font-size: .9rem; opacity: .8; white-space: nowrap; }
.hero-pill .btn { padding: 8px 14px; font-size: .92rem; }
.hero-pill .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.pill-open { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
body.card-open .yvm-places { display: none; }
.hero .yvm-places { bottom: 90px; }
@media (max-width: 760px) {
  .hero { height: auto; min-height: 0; max-height: none; display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; }
  .hero-map { position: relative; height: 64dvh; order: 2; }
  .hero-card { position: relative; left: auto; bottom: auto; transform: none; width: auto; margin: 12px; padding: 24px 18px 18px; order: 1; box-shadow: 0 18px 40px -24px rgba(20,39,61,.4); }
  .hero-pill { position: relative; left: auto; bottom: auto; transform: none; margin: 10px 12px; border-radius: 24px; flex-wrap: wrap; order: 1; }
  .pill-hint { display: none; }
  .hero .yvm-places { bottom: 20px; }
}

/* Steps */
.steps { border-bottom: 1px solid var(--line); }
.steps .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding-top: 26px; padding-bottom: 26px; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: st; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 50px 1fr; gap: 2px 12px; }
.steps li::before { content: counter(st); grid-row: span 2; width: 46px; height: 46px; border-radius: 50%; background: var(--yv-dusk); color: var(--jade); display: grid; place-items: center; font-family: var(--yv-display); font-style: normal; font-weight: 800; font-size: 1.5rem; letter-spacing: -.035em;}
.steps b { font-family: var(--yv-display); font-style: normal; font-weight: 800; font-size: 1.45rem; line-height: 1; letter-spacing: -.035em;}
.steps span { color: var(--muted); font-size: .95rem; }
.steps-cta { display: grid; gap: 8px; }
@media (max-width: 1000px) { .steps .wrap { grid-template-columns: minmax(0, 1fr); } .steps ol { grid-template-columns: 1fr; } .steps-cta { display: flex; flex-wrap: wrap; } }

/* Sections */
section.s { padding: 88px 0; }
.s-head { max-width: 760px; margin-bottom: 30px; }
.s-head h2 { font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: -.035em;}
.s-head p { margin-top: 10px; font-size: 1.2rem; color: #2B4560; }
.voice-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: start; }
#convo { border: 2px solid var(--yv-dusk); box-shadow: 10px 10px 0 var(--jade); }
@media (max-width: 1000px) { .voice-grid { grid-template-columns: 1fr; } }
.proof { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.proof-t { font-family: var(--yv-display); font-style: normal; font-weight: 800; font-size: 1.4rem; margin-right: 6px; letter-spacing: -.035em;}
.proof ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.proof li { display: inline-flex; gap: 8px; align-items: baseline; border: 2px solid var(--yv-dusk); border-radius: 999px; padding: 6px 14px; font-weight: 700; }
.proof li b { font-family: var(--yv-display); font-style: normal; font-size: 1.3rem; color: var(--jade-ink); letter-spacing: -.035em;}
.proof .btn { margin-left: auto; }


/* Social: a real-looking feed */
.social { background: var(--yv-dusk); color: #fff; }
.social .s-head p { color: rgba(255,255,255,.82); }
.feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.ig { background: #000; border-radius: 40px; padding: 10px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), inset 0 0 0 2px #284A6E; max-width: 340px; width: 100%; justify-self: center; }
.ig-screen { background: #fff; color: var(--ink); border-radius: 32px; overflow: hidden; }
.ig-status { height: 34px; display: flex; justify-content: center; align-items: center; }
.ig-status::before { content: ""; width: 86px; height: 22px; border-radius: 999px; background: #000; }
.ig-head { display: flex; align-items: center; gap: 8px; padding: 6px 12px 10px; font-weight: 800; font-size: .9rem; }
.ig-head img { width: 30px; height: 30px; border-radius: 8px; }
.ig-head small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }
.ig-head .follow { margin-left: auto; font: 800 .8rem var(--yv-body); background: var(--yv-dusk); color: #fff; border-radius: 8px; padding: 5px 12px; }
.ig-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--yv-dusk); }
.ig-media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-media.tall { aspect-ratio: 2 / 3; }
.ig-over { position: absolute; inset: auto 0 0 0; padding: 18px 16px 14px; background: linear-gradient(transparent, rgba(20,39,61,.92)); color: #fff; display: grid; gap: 4px; }
.ig-over .k { font-weight: 800; font-size: .74rem; color: var(--jade); }
.ig-over b { font-family: var(--yv-display); font-style: normal; font-weight: 800; font-size: 1.9rem; line-height: .95; letter-spacing: -.035em;}
.ig-over q { font-size: .82rem; font-style: italic; }
.ig-over .wm { height: 16px; width: auto; margin-top: 6px; }
.ig-art { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 22px; background: var(--yv-dusk); color: #fff; }
.ig-art .k { font-weight: 800; color: var(--jade); font-size: .8rem; }
.ig-art b { font-family: var(--yv-display); font-style: normal; font-weight: 800; font-size: 2.4rem; line-height: .92; letter-spacing: -.035em;}
.ig-art .big { font-family: var(--yv-display); font-style: normal; font-weight: 800; font-size: 5.6rem; line-height: .85; color: var(--jade); letter-spacing: -.035em;}
.ig-art .bar { height: 12px; border-radius: 999px; background: rgba(255,255,255,.16); overflow: hidden; }
.ig-art .bar i { display: block; height: 100%; width: 55%; background: var(--jade); }
.ig-art .s2 { font-size: .85rem; opacity: .85; }
.ig-art .wm { height: 18px; width: auto; margin-top: 10px; align-self: flex-start; }
.ig-actions { display: flex; gap: 14px; padding: 10px 12px 2px; font-size: 1.5rem; }
.ig-actions i:last-child { margin-left: auto; }
.ig-actions .ph-fill.ph-heart { color: #FF3B57; }
.ig-cap { padding: 4px 12px 16px; font-size: .84rem; line-height: 1.4; }
.ig-cap .liked { font-weight: 700; margin-bottom: 4px; display: block; }
.ig-cap time { display: block; color: var(--muted); font-size: .72rem; margin-top: 6px; }
@media (max-width: 1000px) { .feed { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .feed { grid-template-columns: 1fr; } }
.share { margin-top: 40px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; background: #2F5176; border-radius: 26px; padding: 22px 26px; }
.share b { font-family: var(--yv-display); font-style: normal; font-size: 1.8rem; display: block; letter-spacing: -.035em;}
.share .msg { color: var(--jade); font-weight: 700; }
@media (max-width: 640px) { .share { grid-template-columns: 1fr; } }

/* Anywhere */
.anywhere { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.way { border: 2px solid var(--yv-dusk); border-radius: 24px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.way > i { width: 52px; height: 52px; border-radius: 16px; background: var(--yv-dusk); color: var(--jade); display: grid; place-items: center; font-size: 1.7rem; }
.way h3 { font-size: 1.7rem; letter-spacing: -.035em;}
.way p { color: #2B4560; }
.soon { justify-self: start; font-size: .78rem; font-weight: 800; background: var(--wash); color: var(--jade-ink); border-radius: 999px; padding: 3px 10px; }
.qr-way #qr { width: 150px; height: 150px; }
.qr-way #qr img, .qr-way #qr canvas { width: 150px !important; height: 150px !important; }
.takes { margin-top: 20px; }
.takes summary { cursor: pointer; font-weight: 800; }
.takes ul { margin: 12px 0 0; padding-left: 1.2em; display: grid; gap: 6px; color: #2B4560; max-width: 82ch; }
@media (max-width: 640px) { .anywhere { grid-template-columns: 1fr; } }

/* Briefs */
.briefs-sec { border-top: 1px solid var(--line); }
.blist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.bcard { background: #fff; border: 2px solid var(--yv-dusk); border-radius: 26px; display: grid; grid-template-columns: 10px 1fr; overflow: hidden; }
.bcard::before { content: ""; background: var(--jade); }
.bcard > div { padding: 22px 24px; display: grid; gap: 10px; }
.bcard .k { font-weight: 800; font-size: .88rem; color: var(--jade-ink); }
.bcard h3 { font-size: 2rem; letter-spacing: -.035em;}
.bcard p { color: #2B4560; }
.bcard .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bcard .st { font-weight: 800; font-size: .88rem; margin-right: auto; }
.bcard .st.yes { color: var(--jade-ink); }
.bcard .btn { padding: 8px 14px; font-size: .92rem; }
@media (max-width: 760px) { .blist { grid-template-columns: 1fr; } }

/* Footer */

/* Ask the Youth Board */
.yv-btn-main { background: var(--jade); border-color: var(--yv-dusk); color: var(--ink); }

/* Guided tour */
.tour { position: fixed; inset: 0; z-index: 2500; }
.tour[hidden] { display: none; }
.tour-hole { position: fixed; border-radius: 22px; box-shadow: 0 0 0 9999px rgba(20,39,61, .66); outline: 3px solid var(--jade); transition: all .35s cubic-bezier(.2, 1, .3, 1); pointer-events: none; }
.tour-tip { position: fixed; width: min(360px, calc(100vw - 24px)); background: #fff; color: var(--ink); border: 2px solid var(--yv-dusk); border-radius: 22px; padding: 18px 18px 14px; box-shadow: 8px 8px 0 var(--jade); transition: top .35s cubic-bezier(.2, 1, .3, 1), left .35s cubic-bezier(.2, 1, .3, 1); }
.tour-n { font-weight: 800; color: var(--jade-ink); font-size: .85rem; }
.tour-tip h3 { font-size: 1.8rem; margin: 2px 0 6px; padding-right: 28px; letter-spacing: -.035em;}
.tour-tip p:not(.tour-n) { color: #2B4560; }
.tour-nav { display: flex; justify-content: space-between; margin-top: 14px; gap: 8px; }
.tour-nav button { font: 800 .95rem var(--yv-body); border: 2px solid var(--yv-dusk); border-radius: 999px; padding: 8px 16px; background: #fff; cursor: pointer; }
.tour-nav .go { background: var(--yv-dusk); color: var(--jade); flex: 1; }
.tour-x { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--yv-dusk); background: #fff; cursor: pointer; font-size: 1.1rem; }
@media (prefers-reduced-motion: reduce) { .tour-hole, .tour-tip { transition: none; } }
@media (max-width: 760px) { .poll-chip { font-size: .8rem; margin-right: 40px; padding: 5px 11px; } }
.bcard { grid-template-columns: minmax(0, 1fr); }
.bcard::before { display: none; }
.bcard .bc-img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-bottom: 2px solid var(--yv-dusk); }

/* Say Why: contrast against the section, polls that fill the phone, strengths on one row */
section.voice { background: #fff; }
#convo.yvc { background: #EAF4EE; }
#convo .yvc-mode, #convo .yvc-hear, #convo .yvc-think, #convo .yvc-facts span { background: #fff; }
#convo .yvc-peer[aria-checked="true"] { background: #fff; }
#convo .yvc-who input:not(:checked) + label { background: #fff; }
.yvpp-screen { height: 620px; background: linear-gradient(180deg, #EAF4EE, #FAFCFE); }
.yvpp-stage .yvp-card, .yvpp-stage .yvp-card.yvp-versus { background: #fff; color: #14273D; border: 2px solid #1F3B5A; justify-content: flex-start; }
.yvpp-stage .yvp-versus .yvp-type { color: #1F3B5A; }
.yvpp-stage .yvp-opts { flex: 1 1 auto; display: grid; grid-auto-rows: 1fr; align-content: stretch; min-height: 0; }
.yvpp-stage .yvp-opts.vs { grid-template-rows: 1fr auto 1fr; grid-auto-rows: auto; }
.yvpp-stage .yvp-opts.vs .yvp-opt { background: #EAF4EE; color: #14273D; border: 2px solid #1F3B5A; font-size: 2rem; align-items: center; }
.yvpp-stage .yvp-opt { align-items: center; font-size: 1.1rem; }
.yvpp-stage .yvp-vs { color: #14273D; }
.voted .yvpp-stage .yvp-opts.vs .yvp-opt::before, .yvpp-stage .voted .yvp-opts.vs .yvp-opt::before { background: #C2E8D6; }
.yvpp-stage .voted .yvp-opts.vs .yvp-opt.mine::before { background: #C2E8D6; }
.yvpp-stage .voted .yvp-opts.vs .yvp-opt .yvp-o-pct { background: #1F3B5A; color: #C2E8D6; }
.proof { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.proof ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px; gap: 6px; }
.proof ul::-webkit-scrollbar { display: none; }
.proof li { white-space: nowrap; flex: none; background: #fff; font-size: .9rem; padding: 4px 11px; }
.proof li b { font-size: 1.15rem; }
.proof .btn { margin-left: 0; }
.proof li button { all: unset; cursor: pointer; display: inline-flex; gap: 8px; align-items: baseline; white-space: nowrap; border-radius: 999px; }
.proof li button:focus-visible { outline: 3px solid var(--jade-ink); outline-offset: 4px; }
.proof li:has(button[aria-pressed="true"]) { background: var(--wash); border-color: var(--yv-dusk); }
.proof-why { grid-column: 1 / -1; font-weight: 600; color: #2B4560; }
.proof-why:empty { display: none; }
@media (max-width: 760px) { .proof { grid-template-columns: minmax(0, 1fr); } }

/* Belonging Index */
section.bindex { background: #1F3B5A; color: #fff; }
.bindex .s-head p { color: #C8D8E6; }
.bindex .kicker { color: var(--jade); }
.bx-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.bi-key { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bi-key li { border-top: 4px solid var(--jade); padding-top: 8px; color: #C8D8E6; font-size: .95rem; }
.bi-key b { display: block; color: #fff; font-family: var(--yv-display); font-style: normal; font-weight: 800; font-size: 1.5rem; letter-spacing: -.035em;}
.bi-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bi-rank button { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) 150px 64px; gap: 14px; align-items: center; text-align: left; font: inherit; color: #fff; background: #2F5176; border: 2px solid transparent; border-radius: 18px; padding: 12px 16px; cursor: pointer; }
.bi-rank button:hover { border-color: var(--jade); }
.bi-rank .r { font-family: var(--yv-display); font-style: normal; font-weight: 800; font-size: 1.6rem; color: #5B7390; letter-spacing: -.035em;}
.bi-rank li:first-child .r { color: var(--jade); }
.bi-rank .n b { display: block; font-family: var(--yv-display); font-style: normal; font-weight: 800; font-size: 1.35rem; line-height: 1.05; letter-spacing: -.035em;}
.bi-rank .n small { color: #9DB1C4; font-size: .88rem; }
.bi-rank .sig { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; align-items: end; height: 40px; }
.bi-rank .sig i { display: block; height: calc((var(--v) - 50) * 2%); min-height: 4px; background: var(--jade); border-radius: 4px 4px 0 0; }
.bi-rank .v { font-family: var(--yv-display); font-style: normal; font-weight: 800; font-size: 2.2rem; color: var(--jade); text-align: right; letter-spacing: -.035em;}
@media (max-width: 960px) { .bx-split { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 560px) { .bi-rank button { grid-template-columns: 30px minmax(0, 1fr) 56px; } .bi-rank .sig { display: none; } }
.bi-how { margin-top: 22px; } .yvm-bi-why a { color: #C2E8D6; font-weight: 800; }
.blist { gap: 14px; }
.bcard .bc-img { aspect-ratio: 16 / 7; }
.bcard > div { padding: 16px 20px 18px; gap: 6px; }
.bcard h3 { font-size: 1.7rem; letter-spacing: -.035em;}
.bcard p { font-size: 1rem; line-height: 1.45; }

/* The header Drop a Pin is always there, so the map hides its own copy (the header still drives it). */
#map .yvm-drop:not([aria-pressed="true"]) { display: none; }

/* Quiet the jade in the intro: white card, wash and ink, no neon */
.hero-card .btn.dark { color: #fff; }
.hero-card .btn.dark i { color: var(--jade-2); }

/* The Vibe Check: top five, stars */
.bi-rank button { grid-template-columns: 36px minmax(0, 1fr) auto; }
.bi-rank .stars-col { display: grid; justify-items: end; gap: 2px; }
.bi-rank .v { font-size: 1.9rem; line-height: 1; }
.bi-rank .v small { font-size: .9rem; color: #9DB1C4; font-style: normal; font-family: var(--yv-body); font-weight: 700; }
.bindex .yv-stars { font-size: 1.05rem; --off: #4A647F; }
@media (max-width: 560px) { .bi-rank button { grid-template-columns: 28px minmax(0, 1fr) auto; padding: 12px; gap: 10px; } .bi-rank .n small { display: none; } }

/* Coming soon, loud and clear */
.way { position: relative; }
.way .badge { position: absolute; top: 14px; right: 14px; background: var(--yv-dusk); color: #fff; font: 800 .8rem var(--yv-body); letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 5px 12px; }
.way.is-soon > :not(.badge) { opacity: .62; }
.way.is-soon .badge { opacity: 1; }

@media (min-width: 761px) { .proof ul { flex-wrap: wrap; overflow: visible; } }

/* Say Why gets the room to itself; Polls are a plain deck of cards in their own section. */
.voice-one { max-width: none; }
section.polls { background: var(--yv-mist); }
#poll-deck .yvp-card { box-shadow: var(--yv-shadow-1); }
#poll-deck .yvp-card:not(.yvp-versus) { background: #fff; }
/* Stars on dusk: flip them so the fill reads as full (mint on dusk), not empty. */
.bindex .yv-stars, .yvm-bi .yv-stars, .site-foot .yv-stars { --on: var(--yv-mint); --off: rgba(250,252,254, .28); }
/* Photo captions on the feed: dusk scrim, mint kicker. */
.ig-over { background: linear-gradient(transparent, rgba(22,44,68, .94)); }

/* ===== Mint And Sky layer (Direction C) ===== */
body { background: #EAF1F7; }
.site-top { margin-bottom: 0; }
section.s { padding: 16px 16px 0; }
section.s > .wrap { max-width: 1240px; border-radius: 44px; padding: 72px 64px; background: #FAFCFE; border: 1px solid #D5E2EE; }
section.voice > .wrap { background: #D2E5F6; border-color: #D2E5F6; }
section.polls > .wrap { background: #C2E8D6; border-color: #C2E8D6; }
section.bindex > .wrap { background: #FAFCFE; }
section.social > .wrap { background: #D2E5F6; border-color: #D2E5F6; }
section.social, section.bindex { background: transparent; color: #14273D; }
section.s .wrap .s-head h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
@media (max-width: 760px) { section.s > .wrap { padding: 44px 22px; border-radius: 32px; } }
.s-head p, .social .s-head p, .bindex .s-head p { color: #2B4560; }
.btn { border-width: 0; background: #1F3B5A; color: #FAFCFE; padding: 13px 24px; }
.btn.ghost { background: transparent; color: #1F3B5A; box-shadow: inset 0 0 0 2px #1F3B5A; }
.btn.dark { background: #1F3B5A; color: #FAFCFE; }
.btn:hover { background: #162C44; color: #FAFCFE; } .btn.ghost:hover { background: #1F3B5A; }
.yv-btn-main { background: #1F3B5A; color: #FAFCFE; }
#convo { border: 0; box-shadow: none; background: #FAFCFE; border-radius: 36px; }
/* steps: three quiet words */
.steps { border: 0; padding: 16px 16px 0; }
.steps .wrap { background: transparent; grid-template-columns: 1fr; padding: 18px 24px 6px; }
.steps ol { gap: 12px; }
.steps li { background: #FAFCFE; border: 1px solid #D5E2EE; border-radius: 999px; padding: 14px 22px; grid-template-columns: 40px 1fr; }
.steps li::before { width: 36px; height: 36px; font-size: 1.1rem; background: #D9601E; color: #fff; grid-row: span 1; align-self: center; }
.steps li { align-items: center; }
.steps span { display: none; }
.steps b { font-size: 1.25rem; }
/* map: blue-tinted tiles, orange pins */
.yvm .leaflet-tile-pane { filter: grayscale(1) sepia(.35) hue-rotate(176deg) saturate(2.1) brightness(1.02) contrast(.95) !important; }
.hero { margin: 16px 16px 0; border-radius: 44px; overflow: hidden; height: calc(100dvh - var(--top) - 32px); }
.hero-card { border: 0; border-radius: 32px; box-shadow: 0 24px 60px -24px rgba(20,39,61,.4); background: #FAFCFE; }
.hero-pill { background: #FAFCFE; color: #1F3B5A; box-shadow: 0 12px 30px -14px rgba(20,39,61,.4); }
.hero-pill .btn.ghost { box-shadow: inset 0 0 0 2px #1F3B5A; }
.pill-hint { color: #2B4560; }
.yvm-pin { background: #D9601E !important; border: 3px solid #FAFCFE !important; }
.yvm-pin span { color: #fff !important; }
.yvm-pin.mine, .yvm-pin.plused { background: #1F3B5A !important; }
.yvm-pin.mine span, .yvm-pin.plused span { color: #FAFCFE !important; }
.yvm-you { background: #D9601E; border-color: #FAFCFE; box-shadow: 0 0 0 3px #D9601E; }
.yvm-note { background: #FAFCFE; color: #1F3B5A; } .yvm-note b { color: #D9601E; }
.yvm-bi { background: #D2E5F6; color: #14273D; }
.yvm-bi-dial::before { background: #D2E5F6; }
/* Vibe Check on light */
.bi-rank button { background: #EAF1F7; color: #14273D; border: 0; border-radius: 28px; padding: 14px 18px; }
.bi-rank button:hover { background: #D2E5F6; }
.bi-rank .r { color: #6E87A1; } .bi-rank li:first-child .r { color: #D9601E; }
.bi-rank .n small, .bi-rank .v small { color: #4A647F; }
.bi-rank .v { color: #1F3B5A; }
.bindex .yv-stars { --on: #D9601E; --off: #C8D8E6; }
.bindex .kicker { color: #1F3B5A; }
/* polls: one question, big two-sided choice */
.polls .s-head { margin-bottom: 20px; }
#poll-deck { max-width: 760px; }
.yvp-one { background: #FAFCFE; border-radius: 36px; padding: 36px; display: grid; gap: 18px; }
.yvp-step { font-weight: 800; color: #4A647F; font-size: .9rem; letter-spacing: .06em; }
.yvp-one h3 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1; }
.yvp-one .yvp-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.yvp-one .yvp-opt { display: grid; place-items: center; gap: 4px; min-height: 120px; border: 0; border-radius: 28px; background: #D2E5F6; color: #1F3B5A; font: 800 1.5rem Manrope, sans-serif; letter-spacing: -.03em; cursor: pointer; padding: 18px; text-align: center; }
.yvp-one .yvp-opt:hover { background: #C2E8D6; }
.yvp-one .yvp-opt.mine { background: #1F3B5A; color: #FAFCFE; }
.yvp-one .yvp-o-pct { font-size: 1rem; font-weight: 700; }
.yvp-one .yvp-o-pct:empty { display: none; }
.yvp-one .yvp-result { color: #2B4560; font-weight: 600; min-height: 1.4em; }
.yvp-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.yvp-say, .yvp-next { font: 800 1rem Manrope, sans-serif; border: 0; border-radius: 999px; padding: 13px 24px; cursor: pointer; }
.yvp-say { background: #1F3B5A; color: #FAFCFE; } .yvp-next { background: transparent; color: #1F3B5A; box-shadow: inset 0 0 0 2px #1F3B5A; }
@media (max-width: 560px) { .yvp-one { padding: 24px; } .yvp-one .yvp-opts { grid-template-columns: 1fr; } .yvp-one .yvp-opt { min-height: 84px; } }
/* posts: light, calm */
.feed { gap: 28px; }
.ig { background: #FAFCFE; box-shadow: 0 24px 50px -30px rgba(20,39,61,.5); border: 1px solid #D5E2EE; border-radius: 36px; }
.ig-status { display: none; }
.ig-screen { border-radius: 28px; }
.ig-head .follow { background: #1F3B5A; border-radius: 999px; }
.ig-head img { border-radius: 50%; background: #C2E8D6; padding: 3px; }
.ig-over { background: linear-gradient(transparent, rgba(22,44,68,.88)); }
.share { background: #FAFCFE; border-radius: 32px; color: #14273D; }
.share .msg { color: #2B4560; }
.share .btn { background: #1F3B5A; }
/* scan it: one calm card */
.anywhere { grid-template-columns: minmax(0, 520px); }
.way { border: 0; background: #C2E8D6; border-radius: 36px; padding: 32px; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: center; }
.way h3, .way p { grid-column: 2; } .qr-way #qr { grid-row: span 2; background: #fff; border-radius: 20px; padding: 10px; }
section#anywhere > .wrap { background: #EAF1F7; border: 0; padding-top: 24px; padding-bottom: 24px; }
section#anywhere .s-head { margin-bottom: 18px; }
/* briefs */
.bcard { border: 0; border-radius: 32px; background: #FAFCFE; }
.bcard > div { color: #14273D; }
section.briefs-sec > .wrap { background: #EAF1F7; border: 0; padding-left: 0; padding-right: 0; }
.tour-tip, .tour-nav button, .tour-x { border-width: 0; box-shadow: 0 20px 50px -20px rgba(20,39,61,.5); }
.tour-nav .go { background: #1F3B5A; color: #FAFCFE; }
.yvp-one .yvp-opt { background: #D2E5F6 !important; color: #1F3B5A !important; border: 0 !important; box-shadow: none !important; position: relative; }
.yvp-one .yvp-opt::before, .yvp-one .yvp-opt::after { display: none !important; }
.yvp-one .yvp-opt:hover { background: #C2E8D6 !important; }
.yvp-one .yvp-opt.mine { background: #1F3B5A !important; color: #FAFCFE !important; }
.yvp-one .yvp-opt .yvp-o-name, .yvp-one .yvp-opt .yvp-o-pct { position: static !important; color: inherit !important; background: none !important; padding: 0 !important; font-size: inherit; }
.yvp-one .yvp-o-pct { font-size: 1rem; font-weight: 700; opacity: .85; }

/* ===== Round 3: more orange and blue, calmer map, a flow between sections ===== */
/* orange replaces the mint accents */
:root { --orange: #D9601E; }
.hero-card em, h1 em, h2 em { background: var(--orange); color: #FAFCFE; padding: 0 .14em; border-radius: .2em; }
section.polls > .wrap { background: var(--orange); border-color: var(--orange); color: #FAFCFE; }
section.polls .s-head h2, section.polls .s-head p { color: #FAFCFE; }
.yvp-one .yvp-opt { background: #FCEBDD !important; }
.yvp-one .yvp-opt:hover { background: #F7D5BA !important; }
.yvp-say { background: var(--orange) !important; }
.way { background: var(--orange); color: #FAFCFE; }
.way h3, .way p { color: #FAFCFE; }
.btn:not(.ghost):not(.dark) { background: var(--orange); }
.btn.dark { background: #1F3B5A; }
.hero-card .btn.dark { background: var(--orange); color: #FAFCFE; }
.bi-rank li:first-child .r { color: var(--orange); }
.ig-head img { background: #FCEBDD; }
.yvm-tags button[aria-pressed="true"] { background: #FCEBDD; }
/* map: muted blue, quiet */
.hero { background: #A9BED3; }
.yvm .leaflet-tile-pane { filter: grayscale(1) sepia(.25) hue-rotate(180deg) saturate(1.1) brightness(.84) contrast(.88) !important; opacity: .92; }
.yvm .leaflet-container { background: #A9BED3; }
/* hero pill: readable */
.hero-pill { background: #FAFCFE; }
.hero-pill .btn.ghost { background: #1F3B5A; color: #FAFCFE; box-shadow: none; }
.pill-loc { color: #1F3B5A; }
/* breathing room, and a flow line that connects the sections */
main { display: block; }
section.s { padding: 0 16px; margin-top: 88px; position: relative; }
section.s::before { content: "\2193"; position: absolute; left: 50%; top: -72px; transform: translateX(-50%); width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font: 800 1.5rem Manrope, sans-serif; z-index: 2; }
section.s::after { content: ""; position: absolute; left: 50%; top: -24px; height: 24px; border-left: 3px dashed var(--orange); transform: translateX(-50%); }
section.voice { margin-top: 96px; }
section.voice::before { top: -80px; }
section.voice::after { top: -32px; height: 32px; }
section.s > .wrap { padding: 80px 64px; }
section.s .s-head { margin-bottom: 40px; }
section#anywhere > .wrap, section.briefs-sec > .wrap { padding-top: 0; }
.blist { gap: 24px; } .feed { gap: 36px; }
/* scan it lines up */
.way { display: flex; align-items: center; gap: 28px; max-width: 560px; }
.way .qr-text, .way h3, .way p { grid-column: auto; }
.qr-way #qr { flex: none; width: 170px; height: 170px; display: grid; place-items: center; background: #fff; border-radius: 22px; padding: 10px; }
.qr-way #qr img, .qr-way #qr canvas { width: 150px !important; height: 150px !important; display: block; }
.qr-way h3 { font-size: 2rem; }
.anywhere { grid-template-columns: 1fr; justify-items: center; }
@media (max-width: 560px) { .way { flex-direction: column; text-align: center; } }
.hero-card h1 em, .hero-card em { background: var(--orange) !important; color: #FAFCFE !important; }
#convo, #convo > *, #convo .yvc, .voice-one #convo { background: #FAFCFE !important; }
.way { max-width: 680px; }
.qr-text p { font-size: 1.05rem; }
.yvm .leaflet-tile-pane { filter: grayscale(1) sepia(.3) hue-rotate(178deg) saturate(1.6) brightness(.86) contrast(.88) !important; }
.hero-card h1 em, .hero-card em, h1 em, h2 em { background: linear-gradient(transparent 60%, var(--orange) 60%, var(--orange) 94%, transparent 94%) !important; color: #14273D !important; padding: 0 .05em; border-radius: 0; }
section.polls h2 em { color: #FAFCFE !important; }

/* ===== Round 4 (home): transparent panels, big spacing, centered where it fits ===== */
:root { --orange: #DE8F66; }
body { background: linear-gradient(180deg, #E8F1FA 0%, #EDF6F2 30%, #FBF1E9 58%, #E9F1FA 82%, #EEF6F2 100%) !important; }
section.s { margin-top: 150px; padding: 0 20px; }
main.inner section.s { margin-top: 72px; }
section.s::before { background: var(--orange); width: 44px; height: 44px; top: -100px; font-size: 1.3rem; opacity: .9; }
section.s::after { border-left: 2px dashed rgba(222,143,102,.7); top: -52px; height: 52px; }
section.voice { margin-top: 160px; }
section.voice::before { top: -110px; } section.voice::after { top: -62px; height: 62px; }
main.inner section.s::before, main.inner section.s::after { display: none; }
section.s > .wrap { padding: 104px 80px; border: 0; box-shadow: none; background: rgba(250,252,254,.55); }
section.voice > .wrap { background: linear-gradient(160deg, rgba(196,218,240,.62), rgba(196,218,240,.28)); }
section.polls > .wrap { background: linear-gradient(160deg, rgba(236,178,140,.38), rgba(236,178,140,.14)); color: #14273D; text-align: center; }
section.polls .s-head { margin-left: auto; margin-right: auto; }
section.polls .s-head h2, section.polls .s-head p { color: #14273D; }
section.polls #poll-deck { margin: 0 auto; }
section.bindex > .wrap { background: linear-gradient(160deg, rgba(190,228,210,.45), rgba(250,252,254,.5)); }
section.social > .wrap { background: linear-gradient(160deg, rgba(196,218,240,.55), rgba(190,228,210,.3)); }
.wrap.center { text-align: center; } .wrap.center .s-head { margin-left: auto; margin-right: auto; }
section.briefs-sec > .wrap { background: transparent; text-align: center; padding: 0; }
section.briefs-sec .s-head { margin-left: auto; margin-right: auto; }
section.briefs-sec .bcard, section.briefs-sec .bcard * { text-align: left; }
section#anywhere > .wrap { padding: 0; background: transparent; }
.s-head { margin-bottom: 64px; }
.s-head h2 { letter-spacing: -.04em; }
.blist { gap: 40px; } .feed { gap: 48px; }
.fine { margin-top: 56px; }
@media (max-width: 760px) { section.s > .wrap { padding: 56px 22px; } section.s { margin-top: 110px; } }
/* softer color on controls */
.btn:not(.ghost):not(.dark) { background: var(--orange); color: #14273D; }
.btn.dark, .btn, .yv-btn-main { background: #4A6D94; color: #fff; }
.btn:hover { background: #3C5F86; }
.btn.ghost { background: transparent; color: #2F5176; box-shadow: inset 0 0 0 1.5px rgba(47,81,118,.45); } .btn.ghost:hover { background: rgba(250,252,254,.8); color: #1F3B5A; }
.hero-card .btn.dark { background: var(--orange); color: #14273D; }
.hero-card em, .hero-card h1 em, h1 em, h2 em { background: linear-gradient(transparent 62%, rgba(222,143,102,.6) 62%, rgba(222,143,102,.6) 94%, transparent 94%) !important; }
section.polls h2 em { color: #14273D !important; }
.hero-card, .hero-pill { background: rgba(250,252,254,.9) !important; backdrop-filter: blur(10px); }
.hero-pill .btn.ghost { background: #4A6D94; color: #fff; box-shadow: none; }
.steps li::before { background: var(--orange); }
.yvp-one { background: rgba(250,252,254,.8); }
.yvp-one .yvp-opt { background: rgba(196,218,240,.7) !important; color: #1F3B5A !important; }
.yvp-one .yvp-opt:hover { background: rgba(236,178,140,.5) !important; }
.yvp-one .yvp-opt.mine { background: #4A6D94 !important; color: #fff !important; }
.yvp-say { background: var(--orange) !important; color: #14273D !important; }
.yvp-next { color: #2F5176; box-shadow: inset 0 0 0 1.5px rgba(47,81,118,.4); }
.way { background: linear-gradient(160deg, rgba(236,178,140,.42), rgba(236,178,140,.18)); color: #14273D; padding: 44px; margin: 0 auto; }
.way h3, .way p { color: #14273D; }
.share { background: rgba(250,252,254,.7); }
.bcard { background: rgba(250,252,254,.75); border-radius: 36px; }
.bcard::before { background: rgba(222,143,102,.7); }
.bi-rank button { background: rgba(250,252,254,.7); } .bi-rank button:hover { background: rgba(250,252,254,.95); }
.bi-rank { gap: 14px; }
.bi-rank li:first-child .r { color: var(--orange); }
.bindex .yv-stars { --on: #DE8F66; --off: rgba(31,59,90,.18); }
#convo { background: rgba(250,252,254,.85) !important; }
.hero { box-shadow: none; }
.yvm-pin { background: #DE8F66 !important; border-color: rgba(250,252,254,.95) !important; } .yvm-pin span { color: #14273D !important; }
.yvm-you { background: #DE8F66; box-shadow: 0 0 0 3px rgba(222,143,102,.5); }
.yvm .leaflet-tile-pane { filter: grayscale(1) sepia(.28) hue-rotate(178deg) saturate(1.3) brightness(.95) contrast(.78) !important; opacity: .88; }
.hero, .yvm .leaflet-container { background: #C3D3E3; }
section.briefs-sec, section#anywhere, section.s.briefs-sec { background: transparent !important; border: 0 !important; }

/* Round 5: no boxes behind Say Why or the Vibe Check; Pick A Side matches the arrows */
section.voice > .wrap, section.bindex > .wrap { background: transparent !important; }
section.polls > .wrap { background: var(--orange) !important; }
section.polls .yvp-one { background: rgba(250,252,254,.9); }
section.polls .s-head h2, section.polls .s-head p { color: #14273D; }
section.s, section.voice, section.polls, section.bindex { background: transparent !important; }
section.briefs-sec > .wrap { padding: 0 40px; }
@media (max-width: 760px) { section.briefs-sec > .wrap { padding: 0 8px; } }
