/* Clean blue & white. White mist over a pale-blue map, one electric blue, navy ink.
   Mobile-first: the product is filmed vertically. */
:root {
  --bg: #ffffff;
  --bg-2: #f5f8ff;
  --bg-3: #eaf1ff;
  --ink: #0b1b3f;
  --ink-2: #2f4068;
  --muted: #6a7999;
  --line: #e4eaf6;
  --line-2: #cdd8ee;
  --blue: #1d5bff;
  --blue-600: #1348d8;
  --blue-100: #dbe7ff;
  --sky: #6aa5ff;
  --ok: #0c9a6a;
  --rec: #ff3b30;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Schibsted Grotesk", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow-sm: 0 1px 2px rgba(11,27,63,.06), 0 4px 14px rgba(11,27,63,.06);
  --shadow: 0 2px 6px rgba(11,27,63,.06), 0 18px 50px rgba(11,27,63,.12);
  --shadow-lg: 0 30px 90px rgba(11,27,63,.22);
  --top-h: 58px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--body);
  min-height: 100dvh; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body[data-state="scan"], body[data-state="scanning"] { overflow: hidden; height: 100dvh; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
.accent { color: var(--blue); }
.muted { color: var(--muted); }
.fine { font-size: 12px; line-height: 1.5; color: var(--muted); }
.center { text-align: center; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

body[data-state="landing"] .only-scan { display: none !important; }
body:not([data-state="landing"]) .only-landing { display: none !important; }

/* ───────── Stage ───────── */
#stage { position: fixed; inset: 0; z-index: 0; background: var(--bg-2); }
#map, #fog, #pins { position: absolute; inset: 0; width: 100%; height: 100%; }
#fog, #pins { pointer-events: none; }
.maplibregl-ctrl-bottom-right, .maplibregl-ctrl-bottom-left { display: none; }
.maplibregl-canvas { outline: none; }
body[data-state="landing"] #map { pointer-events: none; }
.veil { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; }
body[data-state="landing"] .veil { opacity: 1; background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.2) 38%, rgba(255,255,255,.85) 86%, #fff 100%); }

/* ───────── Top bar ───────── */
.top {
  position: fixed; inset: 0 0 auto 0; height: var(--top-h); z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; padding-top: env(safe-area-inset-top, 0);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,0));
}
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--blue); }
.mark { font: 800 20px/1 var(--display); font-stretch: 108%; letter-spacing: -.035em; color: var(--ink); }
.mark b { color: var(--blue); font-weight: 800; }
.top-nav { display: flex; align-items: center; gap: 6px; }
.top-nav a { display: none; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.top-nav a:hover { color: var(--blue); }
.ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink);
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  transition: border-color .2s, color .2s, background .2s;
}
.ghost:hover { border-color: var(--blue); color: var(--blue); }
.ghost.small { min-height: 36px; font-size: 13px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); }
.icon-btn[aria-pressed="false"] .wave { display: none; }
.icon-btn:hover { color: var(--blue); background: var(--bg-3); }
.rec-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px 0 11px;
  border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink);
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
}
.rec-toggle i { width: 9px; height: 9px; border-radius: 50%; background: #c3cbdb; transition: background .2s, box-shadow .2s; }
.rec-toggle[aria-pressed="true"] i { background: var(--rec); box-shadow: 0 0 0 4px rgba(255,59,48,.16); animation: rec 1.6s ease-in-out infinite; }
.rec-toggle span { display: none; }
@keyframes rec { 50% { opacity: .45; } }

/* ───────── Hero ───────── */
#hero {
  position: relative; z-index: 10; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--top-h) + 24px) 20px 44px; max-width: 1120px; margin: 0 auto;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  font: 500 11px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600);
}
#hero .kicker { padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--bg-3); }
.dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(29,91,255,.16); display: inline-block; }
h1 {
  margin: 20px 0 18px; font: 800 clamp(36px, min(10.4vw, 12.5vh), 104px)/.98 var(--display);
  font-stretch: 106%; letter-spacing: -.045em; color: var(--ink);
}
h1 span { display: block; opacity: 0; transform: translateY(20px); animation: rise .8s var(--ease) forwards; }
h1 .l2 { animation-delay: .08s; }
h1 .l3 { animation-delay: .16s; }
h1 em { font-style: normal; color: var(--blue); }
.lede { max-width: 540px; font-size: 17px; color: var(--ink-2); opacity: 0; animation: rise .8s .22s var(--ease) forwards; }
.lede strong { color: var(--ink); white-space: nowrap; font-weight: 700; }
@keyframes rise { to { opacity: 1; transform: none; } }

#search { position: relative; z-index: 20; margin-top: 28px; max-width: 620px; opacity: 0; animation: rise .8s .32s var(--ease) forwards; }
.field {
  display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px;
  background: #fff; border: 1.5px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow);
  transition: border-color .2s, box-shadow .2s;
}
.field:focus-within { border-color: var(--blue); box-shadow: var(--shadow), 0 0 0 4px rgba(29,91,255,.14); }
.field svg { flex: none; color: var(--muted); }
#city { flex: 1; min-width: 0; height: 52px; background: none; border: 0; outline: 0; font-size: 18px; font-weight: 500; color: var(--ink); }
#city::placeholder { color: #9aa6c0; }
#go {
  flex: none; height: 52px; padding: 0 18px; border-radius: 13px; background: var(--blue); color: #fff;
  font: 700 16px/1 var(--display); font-stretch: 104%; letter-spacing: -.01em;
  box-shadow: 0 8px 22px rgba(29,91,255,.32); transition: transform .15s var(--ease), background .2s;
}
#go:hover { background: var(--blue-600); } #go:active { transform: scale(.97); }
#go span { display: none; }
#go::after { content: "→"; font-size: 22px; }
#suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 5; list-style: none; padding: 6px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-lg); max-height: 320px; overflow: auto;
}
#suggest li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px; border-radius: 10px; cursor: pointer; }
#suggest li[aria-selected="true"], #suggest li:hover { background: var(--bg-3); }
#suggest li b { font-weight: 600; }
#suggest li small { font: 400 11px var(--mono); color: var(--muted); white-space: nowrap; }
#suggest li .pre { color: var(--blue); }

.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; max-width: 620px; opacity: 0; animation: rise .8s .42s var(--ease) forwards; }
.quick button {
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.92);
  font-size: 13px; font-weight: 500; color: var(--ink-2); transition: border-color .2s, color .2s, background .2s;
}
.quick button:hover { border-color: var(--blue); color: var(--blue); background: #fff; }
.quick button small { font: 500 10.5px var(--mono); color: var(--blue); margin-left: 6px; }

.proof { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 28px; margin-top: 38px; opacity: 0; animation: rise .8s .52s var(--ease) forwards; }
.proof b { display: block; font: 800 clamp(24px, 6.6vw, 34px)/1 var(--display); letter-spacing: -.04em; color: var(--ink); }
.proof span { display: block; max-width: 13ch; margin-top: 5px; font: 400 10px/1.4 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.scroll-cue { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); color: var(--muted); text-decoration: none; font-size: 20px; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ───────── HUD ───────── */
#hud { position: fixed; z-index: 20; left: 16px; right: 16px; top: calc(var(--top-h) + 4px); pointer-events: none; }
#hud button { pointer-events: auto; }
.hud-city { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); display: flex; align-items: center; gap: 10px; }
.hud-city small { font: 500 10px var(--mono); letter-spacing: .04em; color: #fff; background: var(--blue); padding: 3px 7px; border-radius: 5px; }
.hud-count { font: 900 clamp(88px, 28vw, 196px)/.84 var(--display); font-stretch: 70%; letter-spacing: -.035em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.hud-count span { display: inline-block; color: var(--blue); background: linear-gradient(180deg, #3d7bff 0%, var(--blue) 45%, #0c3fc9 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 10px 26px rgba(29,91,255,.22)); }
.hud-count.bump span { animation: bump .18s ease-out; }
@keyframes bump { 40% { transform: scale(1.03); } }
.hud-label { font: 600 18px/1.2 var(--body); margin-top: 8px; color: var(--ink); text-shadow: 0 0 12px #fff, 0 0 4px #fff; }
.hud-label em { font-style: normal; color: var(--blue); }
.hud-tiers { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tier {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px;
  font-size: 12.5px; font-weight: 500; color: var(--ink-2); background: rgba(255,255,255,.94); border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm); transition: opacity .2s;
}
.tier[aria-pressed="false"] { opacity: .45; }
.tier i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.tier b { font: 500 12px var(--mono); color: var(--ink); }
.tier .long { display: none; }
.t-gold i { background: var(--blue); }
.t-social i { background: #fff; border: 2.5px solid var(--blue); }
.hud-rank {
  display: inline-block; margin-top: 12px; padding: 7px 11px; border-radius: 8px;
  font: 500 11px/1.25 var(--mono); letter-spacing: .03em; text-transform: uppercase; color: #fff;
  background: var(--ink); box-shadow: var(--shadow-sm); transform-origin: left center; animation: stamp .45s var(--ease) both;
}
@keyframes stamp { 0% { opacity: 0; transform: scale(1.3) translateY(6px); } 100% { opacity: 1; transform: none; } }
body[data-state="scan"] .hud-count { font-size: clamp(66px, 20vw, 150px); transition: font-size .5s var(--ease); }

#map-attrib { position: fixed; z-index: 19; right: 12px; top: calc(var(--top-h) + 2px); font-size: 10px; color: #8a97b3; }
#map-attrib a { color: inherit; text-decoration: none; }

.scanmsg {
  position: fixed; z-index: 25; left: 50%; bottom: calc(28px + var(--safe-b)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px;
  font: 500 12px var(--mono); color: var(--ink); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow); white-space: nowrap;
}
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--blue-100); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ───────── Panel (bottom sheet on mobile, right rail on desktop) ───────── */
#panel {
  position: fixed; z-index: 22; left: 0; right: 0; bottom: 0; height: min(72dvh, 640px);
  display: flex; flex-direction: column; background: #fff;
  border-top: 1px solid var(--line); border-radius: 22px 22px 0 0;
  transform: translateY(calc(100% - 64px - var(--safe-b))); transition: transform .45s var(--ease);
  box-shadow: 0 -12px 50px rgba(11,27,63,.14);
}
#panel[data-open="true"] { transform: none; }
body[data-state="scanning"] #panel, body[data-state="scanning"] #dock { transform: translateY(110%); opacity: 0; }
.panel-handle { flex: none; height: 64px; width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px 20px 0; position: relative; text-align: left; }
.panel-handle i { position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--line-2); }
.panel-handle span { font: 800 19px/1 var(--display); font-stretch: 104%; letter-spacing: -.03em; color: var(--ink); }
.panel-handle small { font: 400 11px var(--mono); color: var(--muted); margin-left: auto; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 4px 16px 12px; scrollbar-width: none; flex: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff;
  font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: all .2s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip small { font: 400 10.5px var(--mono); color: var(--muted); margin-left: 5px; }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.chip[aria-pressed="true"] small { color: #cfe0ff; }
.list { list-style: none; padding: 0 8px; overflow-y: auto; overflow-x: hidden; flex: 1; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.list::-webkit-scrollbar { width: 6px; } .list::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }
.leadcard, .demo-side, .script, #suggest { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.list li {
  display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 12px; border-radius: 12px; cursor: pointer; transition: background .15s;
}
.list li:hover, .list li.sel { background: var(--bg-2); }
.list li.sel { box-shadow: inset 0 0 0 1px var(--blue-100); }
.list li i { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.list li.social i { background: #fff; border: 2.5px solid var(--blue); }
.list li b { display: block; font-weight: 600; font-size: 15px; line-height: 1.25; color: var(--ink); }
.list li small { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list li .st { font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ok); }
.list li .more { color: #a6b1c9; font-size: 18px; }
.list .empty { display: block; padding: 24px 12px; color: var(--muted); cursor: default; }
.list .empty.more-rows { cursor: pointer; color: var(--blue); font-weight: 600; }
.attrib { flex: none; padding: 10px 20px calc(12px + var(--safe-b)); font-size: 11px; color: #8a97b3; border-top: 1px solid var(--line); }
.attrib a { color: var(--muted); }

/* ───────── Dock ───────── */
#dock { position: fixed; z-index: 21; right: 12px; bottom: calc(76px + var(--safe-b)); display: flex; flex-direction: column; align-items: flex-end; gap: 8px; transition: transform .45s var(--ease), opacity .3s; }
.goal { display: none; }
.btn-share {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; box-shadow: var(--shadow);
  transition: background .2s, transform .15s var(--ease);
}
.btn-share:hover { background: var(--blue); } .btn-share:active { transform: scale(.97); }

/* ───────── Overlays ───────── */
.overlay { position: fixed; inset: 0; z-index: 50; display: grid; grid-template-columns: minmax(0, 1fr); place-items: end center; }
.overlay-bg { position: absolute; inset: 0; background: rgba(11,27,63,.38); backdrop-filter: blur(6px); animation: fade .25s ease both; }
@keyframes fade { from { opacity: 0; } }
.x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; font-size: 24px; line-height: 1; color: var(--muted); z-index: 2; }
.x:hover { color: var(--ink); background: var(--bg-3); }

.leadcard, .paycard {
  position: relative; width: 100%; max-width: 460px; max-height: 92dvh; overflow: auto;
  padding: 26px 22px calc(22px + var(--safe-b)); background: #fff; border-radius: 24px 24px 0 0;
  box-shadow: var(--shadow-lg); animation: sheet .45s var(--ease) both;
}
@keyframes sheet { from { opacity: 0; transform: translateY(36px) scale(.98); } }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; font: 500 10.5px var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.badge.gold { background: var(--blue); color: #fff; }
.badge.social { background: var(--bg-3); color: var(--blue-600); border: 1px solid var(--blue-100); }
.badge.pending, .badge.silver { background: #f1f3f8; color: var(--muted); }
.leadcard h2 { font: 800 30px/1.02 var(--display); font-stretch: 104%; letter-spacing: -.04em; margin: 14px 40px 4px 0; overflow-wrap: anywhere; color: var(--ink); }
.facts { margin: 18px 0 12px; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 86px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.facts dt { font: 400 10.5px/1.9 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.facts dd { overflow-wrap: anywhere; color: var(--ink); }
.facts dd .free { color: var(--ok); font-weight: 600; }
.facts dd small { display: block; color: var(--muted); font-size: 12px; }
.link { color: var(--blue); text-decoration: underline; text-decoration-color: var(--blue-100); text-underline-offset: 3px; font-size: 13.5px; font-weight: 500; }
.link:hover { text-decoration-color: var(--blue); }
.verify { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.sep { color: var(--line-2); }
.author { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 12px; }
.author small { font-weight: 400; color: var(--muted); }
.author input { display: block; width: 100%; height: 46px; margin-top: 6px; padding: 0 12px; border-radius: 12px; background: var(--bg-2); border: 1.5px solid var(--line); outline: 0; font-size: 16px; color: var(--ink); }
.author input:focus { border-color: var(--blue); background: #fff; }
.pricehint { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); }
.pricehint b { color: var(--blue); }
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 13px;
  background: var(--blue); color: #fff; font: 700 15.5px/1 var(--display); font-stretch: 104%; letter-spacing: -.01em; text-decoration: none;
  box-shadow: 0 8px 22px rgba(29,91,255,.3); transition: transform .15s var(--ease), background .2s;
}
.cta:hover { background: var(--blue-600); } .cta:active { transform: scale(.98); }
.cta.big { width: 100%; min-height: 58px; font-size: 18px; border-radius: 16px; }
#quota { margin-top: 10px; }

/* Demo overlay */
#demo { place-items: stretch; }
.demo-wrap { position: relative; display: flex; flex-direction: column; width: 100%; min-width: 0; max-width: 100vw; height: 100dvh; animation: fade .3s ease both; }
.phone { position: relative; flex: 1; min-height: 0; background: #fff; overflow: hidden; }
#demo-frame { width: 100%; height: 100%; border: 0; display: block; background: #fff; opacity: 0; transition: opacity .45s ease; }
#demo-frame.on { opacity: 1; }
.build { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; gap: 14px; padding: 30px; background: #fff; color: var(--ink); transition: opacity .35s ease, visibility .35s; }
.build.off { opacity: 0; visibility: hidden; }
.build-title { font: 800 22px/1 var(--display); letter-spacing: -.03em; color: var(--blue); }
#build-steps { list-style: none; padding: 0; font: 400 12.5px/2 var(--mono); color: var(--muted); min-width: 220px; }
#build-steps li { opacity: .4; transition: opacity .2s, color .2s; }
#build-steps li.ok { opacity: 1; color: var(--ink); }
#build-steps li.ok::before { content: "✓ "; color: var(--ok); }
#build-steps li:not(.ok)::before { content: "· "; }
.demo-side {
  position: relative; flex: none; min-width: 0; padding: 14px 16px calc(14px + var(--safe-b)); background: #fff; border-top: 1px solid var(--line);
  max-height: 46dvh; overflow: auto; box-shadow: 0 -10px 40px rgba(11,27,63,.1);
}
.demo-side .x { top: 4px; right: 6px; }
.demo-side h2 { font: 800 22px/1.05 var(--display); font-stretch: 104%; letter-spacing: -.035em; margin: 8px 40px 12px 0; color: var(--ink); }
.demo-side .kicker b { color: var(--ink); font-weight: 500; }
.demo-actions { display: flex; gap: 8px; }
.demo-actions .cta { flex: 1; }
.status { display: flex; align-items: center; gap: 4px; min-width: 0; margin-top: 12px; font: 400 10.5px var(--mono); text-transform: uppercase; color: var(--muted); }
.status .chips { padding: 0 0 0 8px; min-width: 0; flex: 1; }
/* phone: the generated site is the star, the sales kit stays folded until asked for */
.demo-actions--sub { margin-top: 8px; }
.demo-actions--sub .ghost { flex: 1; }
.demo-more { margin: 0; }
.demo-side[data-expanded="false"] .status, .demo-side[data-expanded="false"] .scripts { display: none; }
.demo-side[data-expanded="true"] { max-height: 70dvh; }
.scripts { margin-top: 12px; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tabs button { flex: none; padding: 9px 12px; font-size: 13px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); }
.tabs button .lock { margin-left: 5px; font-size: 11px; }
.script { margin: 10px 0; padding: 14px; min-height: 120px; max-height: 240px; overflow: auto; white-space: pre-wrap; font: 400 13.5px/1.6 var(--body); background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; color: var(--ink-2); }
.script.locked { filter: blur(5px); user-select: none; pointer-events: none; }

/* Share */
.share-wrap { position: relative; width: 100%; max-width: 420px; padding: 18px 18px calc(18px + var(--safe-b)); animation: sheet .45s var(--ease) both; place-self: center; }
#share-canvas { display: block; width: auto; height: min(70dvh, 640px); max-width: 100%; margin: 0 auto; border-radius: 20px; box-shadow: var(--shadow-lg); aspect-ratio: 9 / 16; }
.share-actions { display: flex; gap: 8px; justify-content: center; margin: 14px 0 8px; }
.share-wrap .x { top: -4px; right: 6px; color: #fff; }
.share-wrap .fine { color: #e6edff; }

/* Paywall */
.paycard h2 { font: 800 28px/1.05 var(--display); font-stretch: 104%; letter-spacing: -.04em; margin: 14px 30px 12px 0; color: var(--ink); }
.paycard .muted { color: var(--ink-2); }
#waitlist { display: flex; flex-direction: column; gap: 8px; margin: 18px 0 10px; }
#waitlist input { height: 50px; padding: 0 14px; border-radius: 13px; background: var(--bg-2); border: 1.5px solid var(--line); outline: 0; font-size: 16px; color: var(--ink); }
#waitlist input:focus { border-color: var(--blue); background: #fff; }

#toast {
  position: fixed; z-index: 80; left: 50%; bottom: calc(24px + var(--safe-b)); transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  padding: 12px 16px; border-radius: 13px; background: var(--ink); color: #fff; font-weight: 500; font-size: 14px;
  box-shadow: var(--shadow); transition: all .3s var(--ease); max-width: 90vw; text-align: center;
}
#toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ───────── Below the fold ───────── */
#below { position: relative; z-index: 10; background: #fff; }
#below section { max-width: 1120px; margin: 0 auto; padding: 88px 20px; }
#below .pricing { padding-top: 40px; }
.eyebrow { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
#below h2 { font: 800 clamp(30px, 6.2vw, 58px)/1.02 var(--display); font-stretch: 104%; letter-spacing: -.045em; max-width: 18ch; margin-bottom: 44px; color: var(--ink); }
.steps { list-style: none; padding: 0; display: grid; gap: 14px; }
.steps li { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--bg-2); }
.steps .n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font: 500 12px var(--mono); color: #fff; background: var(--blue); }
.steps h3 { font: 800 22px/1.1 var(--display); letter-spacing: -.03em; margin: 18px 0 10px; color: var(--ink); }
.steps p { color: var(--ink-2); font-size: 15.5px; }
.honest { margin-top: 14px; padding: 26px; border-radius: 22px; border: 1.5px dashed var(--line-2); background: #fff; }
.honest h3 { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--blue); margin-bottom: 10px; }
.honest p { color: var(--ink-2); max-width: 760px; }
.plans { display: grid; gap: 14px; }
.plan { position: relative; padding: 30px 26px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.plan.pro { border: 0; background: var(--blue); color: #fff; box-shadow: 0 24px 70px rgba(29,91,255,.35); }
.plan h3 { font: 800 22px/1 var(--display); letter-spacing: -.03em; }
.plan .tag { display: inline-block; font: 500 10.5px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: #fff; background: rgba(255,255,255,.18); padding: 6px 10px; border-radius: 999px; margin-bottom: 16px; }
.price { font: 800 54px/1 var(--display); font-stretch: 90%; letter-spacing: -.05em; margin: 12px 0 20px; }
.price small { font: 400 13px var(--body); letter-spacing: 0; color: var(--muted); margin-left: 8px; }
.plan.pro .price small { color: #cfe0ff; }
.plan ul { list-style: none; padding: 0; display: grid; gap: 11px; color: var(--ink-2); font-size: 15px; margin-bottom: 24px; }
.plan.pro ul { color: #eaf1ff; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: baseline; }
.plan li::before { content: "✓"; color: var(--blue); font-weight: 700; }
.plan.pro li::before { color: #fff; }
.plan.pro .cta { width: 100%; background: #fff; color: var(--blue); box-shadow: none; }
.plan.pro .cta:hover { background: var(--bg-3); }
.pricing .fine { margin-top: 24px; }
.foot { max-width: 1120px; margin: 0 auto; padding: 30px 20px 50px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); display: grid; gap: 6px; }
.foot b { color: var(--ink); }

/* ───────── Desktop ───────── */
@media (min-width: 900px) {
  :root { --top-h: 68px; }
  .top { padding: 0 28px; }
  .mark { font-size: 22px; }
  .top-nav a { display: block; }
  .rec-toggle span { display: inline; }
  .tier .long { display: inline; }
  #hero { padding-left: 40px; padding-right: 40px; }
  #go span { display: inline; } #go::after { display: none; } #go { padding: 0 24px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: 1fr 1.15fr; max-width: 860px; align-items: start; }
  .proof { gap: 12px 44px; } .proof span { max-width: none; font-size: 11px; }
  #below section { padding-left: 40px; padding-right: 40px; }

  #map-attrib { top: auto; bottom: 6px; right: 410px; }
  #hud { left: 32px; top: calc(var(--top-h) + 8px); right: auto; max-width: 560px; }
  #panel {
    left: auto; right: 16px; top: calc(var(--top-h) + 8px); bottom: 16px; width: 380px; height: auto;
    border: 1px solid var(--line); border-radius: 22px; transform: none; box-shadow: var(--shadow);
    transition: transform .5s var(--ease), opacity .4s;
  }
  #panel[data-open] { transform: none; }
  body[data-state="scanning"] #panel { transform: translateX(110%); opacity: 0; }
  .panel-handle { cursor: default; } .panel-handle i { display: none; }
  #dock { left: 32px; right: auto; bottom: 24px; align-items: flex-start; }
  body[data-state="scanning"] #dock { transform: translateY(40px); opacity: 0; }
  .goal { display: block; width: 320px; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
  .goal-head { margin-bottom: 14px; }
  .goal-head b { display: block; font: 800 28px/1 var(--display); letter-spacing: -.04em; white-space: nowrap; color: var(--ink); }
  .goal-head small { display: block; margin-top: 5px; font-size: 11.5px; color: var(--muted); }
  .goal label { font-size: 13.5px; color: var(--ink-2); } .goal label b { color: var(--blue); }
  .goal input[type=range] { width: 100%; margin: 10px 0 8px; accent-color: var(--blue); }
  .goal-out { font-size: 15px; color: var(--ink); } .goal-out b { color: var(--blue); }
  .goal .fine { margin-top: 6px; font-size: 11px; }
  .goal-won { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ok); }

  .overlay { place-items: center; }
  .leadcard, .paycard { border-radius: 24px; padding: 30px 28px; }
  #demo { place-items: center; }
  .demo-wrap { flex-direction: row; align-items: center; justify-content: center; gap: 32px; height: auto; width: auto; max-width: 96vw; }
  .phone {
    flex: none; width: 390px; height: min(800px, 88dvh); border-radius: 44px; border: 10px solid var(--ink);
    box-shadow: var(--shadow-lg); animation: phone-in .6s var(--ease) both;
  }
  @keyframes phone-in { from { opacity: 0; transform: translateY(50px) scale(.95); } }
  .demo-more { display: none; }
  .demo-actions--sub .ghost { flex: none; }
  .demo-side[data-expanded] .status { display: flex; } .demo-side[data-expanded] .scripts { display: block; }
  .demo-side[data-expanded] { max-height: 88dvh; }
  .demo-side { width: 400px; max-height: 88dvh; padding: 28px; border: 0; border-radius: 24px; box-shadow: var(--shadow-lg); }
  .demo-side h2 { font-size: 28px; }
  .script { max-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  h1 span, .lede, #search, .quick, .proof { opacity: 1; transform: none; }
}
