/* Reach keeps the audience foremost; every color comes from the shared theme. */
.reach-body { min-height:100dvh; }
.reach-topbar, .reach-main, .reach-body > footer { position:relative; z-index:1; }
.reach-topbar { display:flex; align-items:center; gap:16px; max-width:1520px; margin:auto; padding:22px 40px; }
.reach-brand-label { color:var(--text-faint); font-size:14px; font-weight:400; }
.reach-header-link { display:inline-flex; align-items:center; gap:20px; min-height:44px; padding:0 12px; color:var(--text-dim); font-size:13px; text-decoration:none; }
.reach-header-link:hover { color:var(--text); }
.reach-main { max-width:1400px; padding:38px 40px 0; margin:auto; }
.reach-intro { max-width:800px; margin:0 auto 36px; text-align:center; }
.reach-eyebrow { margin:0; color:var(--text-faint); font-size:11px; font-weight:500; letter-spacing:.13em; text-transform:uppercase; }
.reach-spark { color:var(--crimson-ink); margin-right:7px; font-size:17px; }
.reach-intro h1 { margin:14px 0 16px; font-size:clamp(30px,4.2vw,54px); font-weight:600; letter-spacing:-.052em; line-height:1.14; }
.reach-subtitle { max-width:635px; margin:auto; font-size:14px; line-height:1.8; color:var(--text-dim); }
.reach-notice { padding:12px 16px; margin-top:20px; border:1px solid var(--ok); border-radius:var(--radius); color:var(--text); background:var(--surface); }
.reach-workspace { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(340px,1fr); align-items:start; border:1px solid var(--line); border-radius:24px; background:var(--bg-tint); overflow:hidden; }
.reach-map-card { min-width:0; padding:26px 26px 24px; }
.reach-map-top { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.reach-map-index { color:var(--text-faint); font-size:9px; letter-spacing:.12em; }
.reach-map-stage { position:relative; margin:10px -12px 0; }
#reach-map { display:block; width:100%; height:auto; touch-action:pan-y; border-radius:var(--radius); }
.reach-map-state { cursor:pointer; transform-box:fill-box; transform-origin:center; transition:transform .2s var(--ease),fill .2s var(--ease); fill:var(--surface-2); stroke:var(--line-strong); stroke-width:1; }
.reach-map-state[data-band="1"] { fill:var(--surface-3); }
.reach-map-state[data-band="2"] { fill:color-mix(in srgb,var(--navy) 45%,var(--surface-3)); }
.reach-map-state[data-band="3"] { fill:color-mix(in srgb,var(--navy) 80%,var(--surface-3)); }
.reach-map-state[data-band="4"] { fill:color-mix(in srgb,var(--navy) 80%,var(--navy-ink)); }
.reach-map-state[data-band="5"] { fill:color-mix(in srgb,var(--navy) 56%,var(--navy-ink)); }
.reach-map-state:hover, .reach-map-state.is-active, .reach-map-state[aria-selected="true"] { fill:var(--crimson); stroke:var(--crimson-ink); transform:translateY(-3px); }
.reach-map-label { fill:var(--text); font-family:var(--sans); font-size:12px; pointer-events:none; opacity:.85; }
.reach-inset-label { fill:var(--text-faint); font-family:var(--sans); font-size:13px; letter-spacing:2px; }
.reach-map-loading { position:absolute; top:40%; left:0; right:0; text-align:center; font-size:13px; color:var(--text-dim); }
.reach-tooltip { position:absolute; bottom:16px; right:14px; padding:10px 14px; font-size:12px; background:var(--surface-2); border:1px solid var(--line-strong); border-radius:var(--radius); pointer-events:none; box-shadow:var(--shadow-lg); }
.reach-blurred { display:inline-block; filter:blur(7px); user-select:none; }
.reach-tooltip .reach-blurred { filter:blur(4px); }
.reach-map-bottom { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:12px 0 22px; color:var(--text-faint); font-size:11px; }
.reach-map-key { display:flex; gap:3px; flex:none; }
.reach-map-key i { display:block; width:12px; height:6px; border-radius:2px; background:var(--navy-ink); }
.reach-map-key i:nth-child(1) { opacity:.2; }.reach-map-key i:nth-child(2) { opacity:.4; }.reach-map-key i:nth-child(3) { opacity:.6; }.reach-map-key i:nth-child(4) { opacity:.8; }
.reach-state-field { display:flex; align-items:center; gap:20px; border-top:1px solid var(--line); padding-top:20px; }
.reach-state-field label { flex-shrink:0; font-size:12px; color:var(--text-dim); }
.reach-body .control { font-size:16px; min-height:48px; }
.reach-welcome { display:flex; flex-direction:column; justify-content:center; min-height:560px; padding:42px 34px; border-left:1px solid var(--line); background:linear-gradient(140deg,var(--surface),var(--bg-tint)); }
.reach-welcome-icon { display:grid; place-items:center; width:54px; height:54px; margin-bottom:28px; border:1px solid var(--line-strong); border-radius:50%; font-size:28px; color:var(--navy-ink); background:var(--navy-soft); }
.reach-welcome h2 { margin:12px 0; font-size:34px; font-weight:500; letter-spacing:-.045em; line-height:1.2; }
.reach-welcome > p:not(.reach-eyebrow) { color:var(--text-dim); font-size:13px; }
.reach-steps { display:grid; gap:12px; margin:25px 0 15px; font-size:12px; color:var(--text-dim); }
.reach-steps span { display:flex; align-items:center; gap:12px; }.reach-steps b { display:grid; place-items:center; width:26px; height:26px; border-radius:50%; border:1px solid var(--line-strong); font-size:11px; font-weight:400; }
.reach-welcome .reach-welcome-note { border-top:1px solid var(--line); padding-top:20px; font-size:11px; color:var(--text-faint); }
.reach-panel { min-width:0; padding:30px; border-left:1px solid var(--line); background:var(--surface); }
.reach-panel-head { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.reach-panel h2 { margin:8px 0 20px; font-size:27px; line-height:1.2; letter-spacing:-.045em; font-weight:500; }
.reach-close { display:grid; place-items:center; flex:none; width:44px; height:44px; padding:0; border:1px solid var(--line); border-radius:50%; font:inherit; font-size:26px; line-height:1; cursor:pointer; background:var(--surface-2); color:var(--text-dim); }
.reach-close:hover { background:var(--surface-3); }
.reach-total { display:flex; flex-direction:column; align-items:flex-start; gap:3px; }
.reach-number { font-size:clamp(36px,4vw,49px); line-height:1.25; font-weight:600; letter-spacing:-.055em; font-variant-numeric:tabular-nums; }
.reach-number.is-revealed { color:var(--navy-ink); animation:reach-reveal .4s var(--ease); }
@keyframes reach-reveal { from { filter:blur(6px); opacity:.35; transform:translateY(4px); } to { filter:blur(0); opacity:1; transform:none; } }
.reach-number-description { color:var(--text-dim); font-size:12px; }
.reach-counted-at { margin:8px 0 0; font-size:11px; color:var(--text-faint); }
.reach-panel-status { margin:12px 0 0; font-size:12px; color:var(--text-dim); }.reach-panel-status:empty { display:none; }
.reach-lead-form { display:grid; gap:10px; margin-top:26px; }.reach-lead-form label, .reach-refinement label { font-size:13px; font-weight:500; }
.reach-lead-form .primary-btn, .reach-live-form .primary-btn, .reach-next .primary-btn { width:100%; }
.reach-body .primary-btn { min-height:50px; font-size:14px; }
.reach-consent { margin:4px 0 0; color:var(--text-faint); font-size:11px; line-height:1.85; }.reach-consent a { color:var(--text-dim); text-decoration:underline; }
.reach-error { margin:0; color:var(--danger); font-size:12px; }
/* The human-check prompt is guidance, not an error, so it is a status line rather than the red alert. */
.reach-live-note { margin:0; color:var(--text-dim); font-size:12px; }.reach-live-note:empty { display:none; }
.reach-refine-heading { border-top:1px solid var(--line); padding-top:22px; margin-top:25px; }.reach-refine-heading h3 { margin:0 0 3px; font-size:14px; font-weight:500; }.reach-refine-heading span { color:var(--text-faint); font-size:11px; }
.reach-chips { display:flex; flex-wrap:wrap; gap:7px; margin:15px 0; }.reach-chips button { min-height:44px; padding:9px 13px; font:inherit; font-size:11px; border:1px solid var(--line-strong); border-radius:24px; background:var(--surface-2); color:var(--text-dim); cursor:pointer; }.reach-chips button:hover,.reach-chips button[aria-pressed="true"] { border-color:var(--navy-ink); background:var(--navy-soft); color:var(--text); }
.reach-refinement { display:grid; gap:10px; margin:18px 0; }.reach-results { display:grid; gap:12px; max-height:290px; overflow:auto; padding:2px; scrollbar-width:thin; }
.reach-result { padding:10px 0; border-bottom:1px solid var(--line); }.reach-result-line { display:flex; justify-content:space-between; align-items:baseline; gap:14px; font-size:12px; }.reach-result-line strong { font-size:15px; font-weight:500; white-space:nowrap; }.reach-result-line span { color:var(--text-dim); }.reach-party-bar { height:5px; background:var(--surface-3); border-radius:6px; overflow:hidden; margin-top:10px; }.reach-party-bar i { display:block; background:var(--navy-ink); height:100%; border-radius:6px; }
.reach-location-hint { margin:0; color:var(--text-faint); font-size:11px; }.reach-location-field { position:relative; }.reach-place-results { list-style:none; padding:5px; margin:6px 0 0; max-height:200px; overflow:auto; border:1px solid var(--line-strong); border-radius:var(--radius); background:var(--surface-2); }.reach-place-results li { min-height:44px; padding:11px 10px; font-size:12px; cursor:pointer; border-radius:8px; }.reach-place-results li:hover,.reach-place-results li[aria-selected="true"] { background:var(--navy-soft); outline:1px solid var(--navy-ink); outline-offset:-1px; }
.reach-picked { display:flex; flex-wrap:wrap; gap:6px; }.reach-picked:empty { display:none; }.reach-picked button { border:1px solid var(--line-strong); border-radius:var(--radius); min-height:44px; max-width:100%; padding:7px 11px; background:var(--surface-2); color:var(--text-dim); font:inherit; font-size:11px; cursor:pointer; }
.reach-live-status { display:flex; align-items:center; gap:14px; padding:15px 0; font-size:14px; color:var(--text-dim); }.reach-orb { flex:none; width:25px; height:25px; border:2px solid var(--line); border-top-color:var(--navy-ink); border-right-color:var(--crimson-ink); border-radius:50%; animation:reach-spin .9s linear infinite; }.reach-live-status.is-done .reach-orb { display:none; }.reach-live-status.is-done { color:var(--navy-ink); font-size:20px; font-weight:500; }
@keyframes reach-spin { to { transform:rotate(360deg); } }
/* What a finished live count counted, under its number. A list of up to 100 ZIPs has to wrap inside the panel. */
#reach-live-message { min-width:0; }.reach-live-counted { display:block; margin-top:4px; color:var(--text-dim); font-size:13px; font-weight:400; line-height:1.5; overflow-wrap:anywhere; }
.reach-next { border-top:1px solid var(--line); padding-top:22px; margin-top:24px; }.reach-contact { display:flex; align-items:center; justify-content:center; gap:18px; min-height:48px; margin-top:5px; text-decoration:none; color:var(--text-dim); font-size:13px; }.reach-contact:hover { color:var(--text); }
.reach-bottom-note { text-align:center; margin:25px 0 32px; color:var(--text-faint); font-size:11px; letter-spacing:.03em; }
.reach-body .human-slot { min-height:0; overflow:visible; max-width:100%; }.reach-body .human-slot:empty { display:none; }
.reach-skip { position:fixed; top:-100px; left:16px; z-index:100; padding:12px 18px; background:var(--surface-2); color:var(--text); border:1px solid var(--sky); border-radius:var(--radius); }.reach-skip:focus { top:12px; }
@media (max-width:1050px) and (min-width:761px) { .reach-main { padding-left:24px; padding-right:24px; }.reach-workspace { grid-template-columns:minmax(0,1fr) 320px; }.reach-map-card { padding:24px 18px; }.reach-map-top { display:block; }.reach-map-index { display:none; }.reach-state-field { display:block; }.reach-state-field label { display:block; margin-bottom:9px; }.reach-panel { padding:24px; }.reach-welcome { min-height:500px; padding:30px 25px; }.reach-number { font-size:38px; } }
@media (max-width:760px) {
  .reach-topbar { padding:12px 16px; }.reach-topbar .brand { font-size:17px; }.reach-brand-label { font-size:12px; }.reach-header-link { display:none; }
  .reach-main { padding:26px 16px 0; }.reach-intro { margin-bottom:26px; text-align:left; }.reach-intro .reach-eyebrow { font-size:9px; letter-spacing:.10em; }.reach-intro h1 { font-size:clamp(30px,8.9vw,45px); margin:13px 0 16px; line-height:1.14; }.reach-subtitle { font-size:12px; line-height:1.85; }
  .reach-workspace { display:block; border-radius:18px; }.reach-map-card { padding:20px 16px; }.reach-map-top .reach-eyebrow { font-size:9px; }.reach-map-index { display:none; }.reach-map-stage { margin:12px -12px 0; }.reach-map-bottom { font-size:10px; margin-top:10px; margin-bottom:16px; }.reach-map-key i { width:9px; }.reach-state-field { display:block; padding-top:15px; }.reach-state-field label { display:block; margin-bottom:8px; }.reach-tooltip { bottom:0; right:12px; font-size:10px; padding:8px 10px; }.reach-welcome { display:none; }
  .reach-shade { position:fixed; z-index:29; inset:0 0 var(--tabbar-size); background:var(--bg); opacity:.7; }
  .reach-panel { position:fixed; z-index:30; left:0; right:0; bottom:var(--tabbar-size); max-height:calc(100dvh - var(--tabbar-size) - var(--safe-top) - 16px); padding:24px 22px 26px; border:1px solid var(--line-strong); border-bottom:0; border-radius:24px 24px 0 0; overflow:auto; overscroll-behavior:contain; box-shadow:var(--shadow-lg); scroll-padding-bottom:20px; }
  .reach-panel h2 { margin-bottom:16px; font-size:28px; }.reach-number { font-size:44px; }.reach-lead-form { margin-top:22px; }.reach-panel .reach-consent { font-size:11px; }.reach-bottom-note { margin:22px 0 25px; font-size:10px; }
  .reach-body.has-tabbar > footer { padding-bottom:20px; }.reach-body.is-sheet-open { overflow:hidden; }
  /* The sheet and its shade live inside main, and main and the footer share z-index 1, so the
     footer (later in the page) was painted over the sheet's button and consent line. Lifting
     main while the sheet is open puts both above the footer; the tab bar (z-index 40) stays on top. */
  .reach-body.is-sheet-open > .reach-main { z-index:2; }
}
@media (max-width:350px) { .reach-panel { padding:20px 16px; }.reach-number { font-size:37px; }.reach-map-bottom { align-items:flex-start; }.reach-brand-label { display:none; } }
@media (prefers-reduced-motion:reduce) { .reach-map-state,.reach-number.is-revealed,.reach-orb { animation:none; transition:none; } }
/* WebKit's native select ignores min-height without a concrete height. */
#reach-state-select { height:48px; }
.reach-topbar .brand { min-height:44px; display:inline-flex; align-items:center; gap:8px; }
