@font-face { font-family: 'Inter'; src: url(fonts/inter.woff2) format('woff2'); font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(fonts/instrument-serif.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(fonts/instrument-serif-italic.woff2) format('woff2'); font-style: italic; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(fonts/jetbrains-mono.woff2) format('woff2'); font-weight: 400 500; font-display: swap; }

:root {
  /* concrete by day, asphalt at night, hi-vis lime – the app's palette */
  --paper: #efeee7;
  --paper-2: #e5e3d9;
  --card: #fbfaf6;
  --line: #d8d5c9;
  --ink: #161917;
  --ink-2: #4a504b;
  --muted: #8d928b;
  --asphalt: #111312;
  --asphalt-2: #191c1a;
  --asphalt-3: #212522;
  --asphalt-line: #2f3531;
  --night-text: #eceeea;
  --night-muted: #8e968f;
  --lime: #c8f031;
  --lime-ink: #4d6a00;
  --plenty: #1e9e5a;
  --few: #d4870f;
  --empty: #d93a37;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.soft { color: var(--muted); }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- announcement bar + nav ---------- */

.bar {
  background: var(--lime);
  color: var(--ink);
  text-align: center;
  padding: 9px var(--gutter);
}
.bar a { text-underline-offset: 3px; }

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -.02em; }
.mark { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: none; }
.mark svg { width: 20px; height: auto; }
.links { display: flex; gap: clamp(16px, 3vw, 44px); }
.links a { text-decoration: none; color: var(--ink-2); }
.links a:hover { color: var(--ink); }
.nav .pill { justify-self: end; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 18px;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s, transform .15s;
}
.pill:hover { background: var(--ink); color: var(--paper); }
.pill:active { transform: scale(.97); }
.pill.lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.pill.lime:hover { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.pill.big { padding: 15px 24px; font-size: 13px; }
.pill[disabled] { opacity: .6; cursor: progress; }

/* ---------- hero ---------- */

.hero { padding-bottom: clamp(40px, 6vw, 90px); }
.hero-inner { position: relative; }
.stage {
  position: relative;
  height: min(84vh, 820px);
  min-height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #eae8df;
  isolation: isolate;
}
.scene { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: manipulation; }

/* streets */
.s-block { fill: #e3e1d6; }
.s-park { fill: #cfe0b2; }
.s-tree { fill: #a9c97f; }
.s-tree.dark { fill: #8fb562; }
.s-water { fill: #c6d8dc; }
.s-road { stroke: #f7f6f0; stroke-linecap: round; fill: none; }
.s-road-edge { stroke: #d9d6ca; stroke-linecap: round; fill: none; }

/* pins */
.pin { cursor: pointer; }
.pin-in {
  transform-box: view-box;
  transform-origin: 0 0;
  transform: translateY(-30px) scale(.2);
  opacity: 0;
  transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), opacity .25s;
}
.pin.on .pin-in { transform: none; opacity: 1; }
.pin.on.picked .pin-in { transform: scale(1.18); }
.pin .pill-bg { fill: #fff; stroke-width: 3; }
.pin.picked .pill-bg { stroke: var(--ink) !important; stroke-width: 4; }
.pin .count { font: 700 15px var(--mono); fill: #fff; text-anchor: middle; dominant-baseline: central; }
.pin.few .count { fill: var(--ink); }
.pin:focus { outline: none; }
.pin:focus-visible .pill-bg { stroke: var(--ink) !important; stroke-width: 4; }

/* walking route */
.route { fill: none; stroke: var(--ink); stroke-width: 5; stroke-dasharray: 1 12; stroke-linecap: round; }
.route-mask { fill: none; stroke: #fff; stroke-width: 18; stroke-linecap: round; }

/* the searching ripple */
.ripple { fill: none; stroke: var(--lime-ink); stroke-width: 3; opacity: 0; }
.searching .ripple { animation: ripple 1.1s ease-out infinite; }
.searching .ripple.r2 { animation-delay: .35s; }
@keyframes ripple {
  0% { r: 20px; opacity: .7; }
  100% { r: 260px; opacity: 0; }
}

/* the person */
.p-part { transform-box: view-box; transform-origin: 0 0; }
.p-arm-r { animation: scratch 2.4s ease-in-out infinite; }
.searching .p-arm-r { animation-duration: .9s; }
@keyframes scratch {
  0%, 46%, 100% { transform: rotate(0deg); }
  52%, 64%, 76% { transform: rotate(-9deg); }
  58%, 70%, 82% { transform: rotate(4deg); }
}
.found .p-arm-r { animation: none; transform: rotate(32deg); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.p-body { transition: transform .2s; }
.found .p-body { animation: hop .55s cubic-bezier(.3, 0, .4, 1); }
@keyframes hop { 40% { transform: translateY(-22px); } 70% { transform: translateY(2px); } }
.nope .p-head-tilt { animation: shake .6s; }
@keyframes shake { 20%, 60% { transform: rotate(-8deg); } 40%, 80% { transform: rotate(8deg); } }

.p-q text { font: italic 400 52px var(--serif); fill: var(--ink); }
.p-q .q2 { font-size: 34px; fill: var(--muted); }
.p-q .q1, .p-q .q2 { animation: float 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.p-q .q2 { animation-delay: -1.3s; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-6deg); } }
.p-bang { opacity: 0; transform-box: fill-box; transform-origin: center bottom; transform: scale(.3); transition: opacity .2s, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.p-bang text { font: italic 400 64px var(--serif); fill: var(--ink); }
.p-bang circle { fill: var(--lime); }
.found .p-q { opacity: 0; }
.found .p-bang { opacity: 1; transform: none; }
.mouth-happy, .blush { opacity: 0; }
.found .mouth-happy, .found .blush { opacity: 1; }
.found .mouth-puzzled { opacity: 0; }
.found .brow-l { transform: translateY(-3px); }
.brow-l, .brow-r { transform-box: view-box; transform-origin: 0 0; transition: transform .2s; }
.phone-glow { fill: #3a403b; transition: fill .3s; }
.found .phone-glow { fill: var(--lime); }
.phone-pin { opacity: 0; transition: opacity .3s; }
.found .phone-pin { opacity: 1; }

/* copy over the scene */
.hero-copy {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(20px, 3.4vw, 48px);
  max-width: min(62%, 760px);
  pointer-events: none;
}
.hero-copy::before {
  /* a soft wash, so the headline reads over the streets */
  content: '';
  position: absolute;
  inset: -40% -30% 0 0;
  z-index: -1;
  background: radial-gradient(ellipse at 0% 100%, rgba(234, 232, 223, .96) 38%, rgba(234, 232, 223, 0) 72%);
}
.hero-copy > * { pointer-events: auto; }
.hero h1 {
  margin: 0 0 18px;
  font-weight: 500;
  font-size: clamp(52px, 8.6vw, 132px);
  line-height: .92;
  letter-spacing: -.055em;
}
.hero h1 .serif { font-size: 1.08em; letter-spacing: -.03em; }
.glyph-dot {
  display: inline-grid;
  place-items: center;
  width: .78em;
  height: .78em;
  margin: 0 .04em;
  border-radius: 50%;
  background: var(--ink);
  vertical-align: -.06em;
}
.glyph-dot svg { width: 58%; height: auto; }
.hero-sub { margin: 0 0 22px; max-width: 34ch; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-corner {
  position: absolute;
  top: clamp(16px, 2.6vw, 32px);
  left: clamp(20px, 3.4vw, 48px);
  z-index: 2;
  color: var(--ink-2);
  transition: opacity .3s;
}
.has-card .hero-corner { opacity: 0; }

/* found card */
.found-card {
  position: absolute;
  top: clamp(16px, 2.6vw, 32px);
  right: clamp(16px, 2.6vw, 32px);
  z-index: 3;
  width: min(330px, calc(100% - 32px));
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  background: rgba(251, 250, 246, .94);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -18px rgba(22, 25, 23, .35);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(-10px) scale(.98);
  pointer-events: none;
  transition: opacity .3s, transform .35s cubic-bezier(.3, 1.4, .5, 1);
}
.found-card.on { opacity: 1; transform: none; pointer-events: auto; }
.fc-badge {
  flex: none;
  width: 66px;
  height: 66px;
  border-radius: 18px;
  border: 2.5px solid var(--plenty);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
}
.fc-badge svg { width: 30px; height: auto; }
.fc-badge b { font: 800 20px var(--sans); line-height: 1; }
.fc-main { min-width: 0; }
.fc-main .mono { font-size: 10.5px; color: var(--muted); }
.fc-main h3 { margin: 2px 0 1px; font-size: 17px; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-sub { margin: 0; font-size: 13px; color: var(--ink-2); }
.fc-walk { margin: 4px 0 0; font-size: 13px; font-weight: 600; }

/* ---------- section heads ---------- */

.section { padding: clamp(70px, 10vw, 140px) 0; }
.kicker { display: flex; justify-content: space-between; gap: 16px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: clamp(36px, 6vw, 72px); }
.big-title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(42px, 7vw, 104px);
  line-height: .95;
  letter-spacing: -.05em;
}
.big-title .serif { font-size: 1.08em; }
.big-title .soft { color: #a8aca5; }

/* ---------- app showcase ---------- */

.show-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(16px, 4vw, 64px);
  margin-top: clamp(40px, 6vw, 80px);
}
.word { display: grid; }
.word.left { text-align: right; justify-items: end; }
.w-main { font-weight: 500; font-size: clamp(34px, 5vw, 72px); line-height: .95; letter-spacing: -.05em; }
.word.right .w-main { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; font-size: clamp(38px, 5.5vw, 80px); }
.w-ghost { display: block; margin-top: 8px; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.w-main { display: block; }

/*
 * Every slide's words and caption sit stacked in one grid cell, so the tallest one sets
 * the height and nothing below moves. The old words leave upwards, the new ones rise in.
 */
.w-item, .cap { grid-area: 1 / 1; }
.w-item {
  display: grid;
  align-content: center;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity .22s ease-in, transform .22s ease-in;
}
.word.left .w-item { justify-items: end; }
.w-item.enter { transform: translateY(18px); transition: none; }
.w-item.on { opacity: 1; transform: none; transition: opacity .5s ease .16s, transform .6s cubic-bezier(.2, .8, .2, 1) .16s; }
.cap { opacity: 0; transition: opacity .25s; }
.cap.on { opacity: 1; transition: opacity .4s .15s; }

.show-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: clamp(30px, 4vw, 54px);
}
.caption { display: grid; max-width: 38ch; margin: 0; color: var(--ink-2); font-size: 15px; }
.ticks { display: flex; gap: 6px; }
.tick {
  border: 0;
  background: none;
  padding: 10px 0;
  cursor: pointer;
  display: grid;
  gap: 8px;
  width: clamp(54px, 7vw, 90px);
  text-align: left;
  color: var(--muted);
}
.tick::after { content: ''; display: block; height: 2px; background: var(--line); border-radius: 2px; }
.tick.on { color: var(--ink); }
.tick:focus { outline: none; }
.tick:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.tick.on::after { background: linear-gradient(90deg, var(--ink) var(--p, 100%), var(--line) var(--p, 100%)); }
.arrows { display: flex; gap: 8px; justify-self: end; }
.arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s, border-color .2s;
}
.arrow:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* phone */
.phone {
  position: relative;
  width: 292px;
  height: 610px;
  border-radius: 46px;
  padding: 10px;
  background: #0b0c0b;
  box-shadow: 0 0 0 1.5px #3a3f3b inset, 0 40px 80px -30px rgba(22, 25, 23, .55), 0 18px 30px -18px rgba(22, 25, 23, .4);
}
.phone::before {
  /* camera hole */
  content: '';
  position: absolute;
  top: 22px; left: 50%;
  width: 11px; height: 11px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: #000;
  z-index: 5;
}
.screens { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: var(--asphalt); }
.screen {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .5s ease, transform .6s ease;
  color: var(--night-text);
  font-size: 12px;
}
.screen.on { opacity: 1; transform: none; }

/* ---------- the app's UI, drawn small ---------- */

.ui-map { position: absolute; inset: 0; }
.ui-map svg { width: 100%; height: 100%; }
.ui-top { position: absolute; top: 40px; left: 12px; right: 12px; display: grid; gap: 8px; }
.ui-glass {
  background: rgba(25, 28, 26, .86);
  border: 1px solid var(--asphalt-line);
  backdrop-filter: blur(6px);
}
.ui-citycard { padding: 9px 9px 8px; border-radius: 18px; display: grid; gap: 8px; }
.ui-cityrow { display: flex; align-items: center; justify-content: space-between; padding: 0 3px; }
.ui-city { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: 14px; }
.ui-fresh { display: flex; align-items: center; gap: 4px; color: var(--night-muted); font-size: 10px; }
.flag-sk { width: 15px; height: 10px; border-radius: 2px; background: linear-gradient(#fff 0 33%, #0b4ea2 33% 67%, #ee1c25 67%); }
.ui-mode { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: 12px; background: var(--asphalt-3); font-size: 10.5px; font-weight: 600; text-align: center; color: var(--night-muted); }
.ui-mode span { padding: 6px 0; border-radius: 10px; }
.ui-mode .on { background: var(--lime); color: #121410; }

.ui-pin { position: absolute; transform: translate(-50%, -50%); }
.ui-pin .p {
  display: grid; place-items: center;
  padding: 4px 7px;
  border-radius: 999px;
  border: 2px solid currentColor;
  background: var(--asphalt-2);
}
.ui-pin svg { width: 19px; height: auto; }
.ui-pin b {
  position: absolute; top: -8px; right: -9px;
  min-width: 17px; height: 17px; padding: 0 3px;
  border-radius: 9px;
  border: 2px solid var(--asphalt-2);
  background: currentColor;
  font: 800 9.5px/13px var(--sans);
  text-align: center;
}
.ui-pin b i { font-style: normal; color: #111312; }
.ui-pin.sel .p { border-color: var(--night-text); padding: 6px 9px; }
.ui-pin.svc .p { padding: 5px; border-width: 1.5px; color: var(--night-muted); background: var(--asphalt-3); }
.ui-pin.svc svg { width: 15px; height: 15px; }
.c-plenty { color: #34c77b; }
.c-few { color: #f2a53a; }
.c-empty { color: #ef5350; }
.c-lime { color: var(--lime); }

.ui-chip { position: absolute; left: 12px; bottom: 88px; display: flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 18px; font-weight: 700; font-size: 12px; }
.ui-chip small { display: block; font-size: 9px; color: var(--lime); font-weight: 600; }
.ui-fabs { position: absolute; right: 12px; bottom: 88px; display: grid; gap: 7px; }
.ui-fab { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.ui-fab svg { width: 16px; height: 16px; }
.ui-fab.lit { border-color: var(--lime); }

.ui-tabbar {
  position: absolute; left: 12px; right: 12px; bottom: 14px;
  height: 52px; border-radius: 26px;
  display: grid; grid-template-columns: repeat(3, 1fr); align-items: center;
  text-align: center; font-size: 9.5px; color: var(--night-muted);
  background: rgba(25, 28, 26, .94);
  border: 1px solid var(--asphalt-line);
}
.ui-tabbar span { display: grid; justify-items: center; gap: 2px; }
.ui-tabbar svg { width: 17px; height: 17px; }
.ui-tabbar .on { color: var(--lime); }

.ui-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .38); }
.ui-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; height: 64%;
  border-radius: 26px 26px 0 0;
  background: rgba(25, 28, 26, .97);
  border-top: 1px solid var(--asphalt-line);
  padding: 8px 12px 0;
}
.ui-handle { width: 32px; height: 4px; border-radius: 3px; background: var(--asphalt-line); margin: 0 auto 10px; }
.ui-sum { display: flex; gap: 10px; align-items: center; }
.ui-badge {
  flex: none; width: 54px; height: 54px; border-radius: 15px;
  border: 2px solid currentColor;
  display: grid; place-items: center; align-content: center; gap: 1px;
}
.ui-badge svg { width: 24px; height: auto; }
.ui-badge b { font: 800 16px/1 var(--sans); }
.ui-name { font-size: 14px; font-weight: 700; line-height: 1.2; }
.ui-mut { color: var(--night-muted); font-size: 10.5px; }
.ui-strong { font-weight: 600; font-size: 11px; margin-top: 2px; }
.ui-price { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 10.5px; color: var(--night-muted); }
.ui-tag { padding: 2px 6px; border-radius: 6px; background: rgba(52, 199, 123, .15); color: #34c77b; font-weight: 700; font-size: 9px; }
.ui-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 10px 0; }
.ui-btn { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 9px 0; border-radius: 12px; background: var(--asphalt-3); font-weight: 600; font-size: 11px; }
.ui-btn.pri { background: var(--lime); color: #121410; }
.ui-btn svg { width: 13px; height: 13px; }
.ui-sec { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--night-muted); font-weight: 600; margin: 4px 2px 6px; }
.ui-rows { border-radius: 14px; background: var(--asphalt-2); overflow: hidden; }
.ui-row { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-bottom: 1px solid var(--asphalt-line); }
.ui-row:last-child { border-bottom: 0; }
.ui-cnt { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.ui-cnt.c-plenty { background: rgba(52, 199, 123, .14); }
.ui-cnt.c-few { background: rgba(242, 165, 58, .14); }
.ui-cnt.c-empty { background: rgba(239, 83, 80, .14); }
.ui-row > div { min-width: 0; flex: 1; }
.ui-row .t { font-size: 11.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ui-page { position: absolute; inset: 0; background: var(--asphalt); padding: 44px 12px 0; }
.ui-h { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 0 2px 2px; }
.ui-hero { margin-top: 10px; padding: 12px; border-radius: 18px; background: var(--asphalt-2); border: 1px solid var(--asphalt-line); }
.ui-hero .ui-name { font-size: 15px; margin: 2px 0 10px; }
.ui-stats { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 10px; align-items: center; }
.ui-stats i { align-self: stretch; background: var(--asphalt-line); }
.ui-val { display: flex; align-items: center; gap: 5px; font-size: 22px; font-weight: 800; }
.ui-val svg { width: 22px; height: auto; }

.ui-place {
  position: absolute; left: 10px; right: 10px; bottom: 80px;
  border-radius: 20px; padding: 11px;
}
.ui-place .ui-sum { align-items: flex-start; }
.ui-ico { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--lime); background: var(--asphalt-3); }
.ui-ico svg { width: 18px; height: 18px; }
.ui-credit { text-align: right; font-size: 7.5px; color: var(--night-muted); margin-top: 4px; }
.ui-menu { position: absolute; right: 12px; bottom: 214px; display: grid; gap: 5px; justify-items: end; }
.ui-mcard { display: flex; align-items: center; gap: 7px; padding: 3px 3px 3px 10px; border-radius: 16px; font-size: 10.5px; font-weight: 600; }
.ui-mcard .ui-ico { width: 26px; height: 26px; border: 0; }
.ui-mcard .ui-ico svg { width: 13px; height: 13px; }
.ui-mcard.on { border-color: var(--lime); color: var(--lime); }
.ui-mcard.on .ui-ico { background: var(--lime); color: #121410; }

/* ---------- coverage: dotted world map (night) ---------- */

.night { background: var(--asphalt); color: var(--night-text); border-radius: var(--radius); margin: 0 var(--gutter); }
.night .kicker { color: var(--night-muted); border-color: var(--asphalt-line); }
.night .big-title { font-size: clamp(40px, 5.8vw, 86px); }
.night .big-title .serif { color: var(--night-muted); }
.num-lime { color: var(--lime); font-variant-numeric: tabular-nums; }

.cov-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.cov-search { position: relative; display: grid; gap: 10px; }
.cov-search label { color: var(--night-muted); }
.search-box {
  display: flex; align-items: center; gap: 10px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--asphalt-2);
  border: 1px solid var(--asphalt-line);
  color: var(--night-muted);
  transition: border-color .2s;
}
.search-box:focus-within { border-color: var(--lime); color: var(--lime); }
.search-box input {
  flex: 1; min-width: 0;
  padding: 16px 0;
  border: 0; outline: 0;
  background: transparent;
  color: var(--night-text);
  font: 16px var(--sans);
}
.search-box input::placeholder { color: #6b726c; }
.search-box input::-webkit-search-cancel-button { filter: invert(1) brightness(.6); }
.suggest {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 5;
  margin: 6px 0 0; padding: 6px; list-style: none;
  border-radius: 18px;
  background: var(--asphalt-2);
  border: 1px solid var(--asphalt-line);
  box-shadow: 0 20px 40px -20px #000;
}
.suggest li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; cursor: pointer; }
.suggest li span { color: var(--night-muted); font-size: 13px; white-space: nowrap; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--asphalt-3); }
.cov-result { margin: 0; min-height: 1.5em; color: var(--night-muted); font-size: 14px; }
.cov-result b { color: var(--night-text); font-weight: 600; }
.cov-result .yes { color: var(--lime); }

.world { position: relative; margin-top: clamp(30px, 5vw, 60px); }
.world-inner { position: relative; }
.world svg { width: 100%; height: auto; overflow: visible; }
.land { fill: none; stroke: #2e3430; stroke-width: 2.7; stroke-linecap: round; }
.cities { fill: none; stroke: var(--lime); stroke-width: 3.6; stroke-linecap: round; }
.cities-glow { fill: none; stroke: var(--lime); stroke-width: 11; stroke-linecap: round; opacity: .12; }
.cities, .cities-glow { opacity: 0; transition: opacity 1.2s; }
.world.ready .cities { opacity: 1; }
.world.ready .cities-glow { opacity: .12; }
.hl { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.hl-dot { fill: #fff; }
.hl-ring { fill: none; stroke: #fff; stroke-width: 1.5; animation: ping 1.8s ease-out infinite; }
.hl-ring.r2 { animation-delay: .9s; }
@keyframes ping { from { r: 5px; opacity: .9; } to { r: 26px; opacity: 0; } }
.world-tip {
  position: absolute;
  transform: translate(-50%, calc(-100% - 18px));
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--night-text);
  color: var(--asphalt);
  font-size: 11px;
  white-space: nowrap;
  pointer-events: none;
  transition: left .6s cubic-bezier(.2, .8, .2, 1), top .6s cubic-bezier(.2, .8, .2, 1);
}
.world-tip.instant { transition: none; }

.cov-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(30px, 5vw, 60px); border-top: 1px solid var(--asphalt-line); }
.cov-stats > div { padding: 24px 20px 0 0; }
.cov-stats > div + div { padding-left: 20px; border-left: 1px solid var(--asphalt-line); }
.cov-stats b { display: block; font-weight: 500; font-size: clamp(36px, 4.6vw, 60px); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.cov-stats span { display: block; margin-top: 10px; color: var(--night-muted); }
.night .src { margin: 34px 0 0; color: #5f665f; font-size: 11px; }

/* ---------- features: bento ---------- */

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(40px, 6vw, 72px); }
.card {
  display: flex; flex-direction: column;
  border-radius: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}
.card.span-2 { grid-column: span 2; flex-direction: row; }
.card.dark { background: var(--asphalt); border-color: var(--asphalt); color: var(--night-text); }
.card.lime { background: var(--lime); border-color: var(--lime); }
.card-copy { padding: 24px 26px 28px; }
.card h3 { margin: 6px 0 10px; font-weight: 500; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.05; letter-spacing: -.035em; }
.card-copy > p:not(.kick):not(.credit) { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 42ch; }
.card.dark .card-copy > p:not(.kick):not(.credit) { color: var(--night-muted); }
.kick { margin: 0; color: var(--muted); }
.card.dark .kick { color: var(--night-muted); }
.card.lime .kick { color: var(--lime-ink); }
.card-vis { position: relative; height: 228px; margin: 10px 10px 0; border-radius: 18px; background: var(--paper-2); }

/* 01 add-ons */
.card.span-2 .card-copy { flex: 1; display: flex; flex-direction: column; padding: 30px; }
.card.span-2 .card-vis { flex: 1.1; height: auto; min-height: 320px; margin: 10px; background: #151816; overflow: hidden; }
.addon-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 18px; }
.toggle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  border: 1px solid var(--asphalt-line);
  background: var(--asphalt-2);
  color: var(--night-text);
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
}
.toggle:active { transform: scale(.96); }
.toggle i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--asphalt-3); color: var(--night-muted); transition: background .2s, color .2s; }
.toggle svg { width: 16px; height: 16px; }
.toggle.on { border-color: var(--lime); }
.toggle.on i { background: var(--lime); color: var(--asphalt); }
.credit { margin: auto 0 0; color: #5f665f; font-size: 10.5px; }
.svc { transition: opacity .3s, transform .45s cubic-bezier(.3, 1.6, .5, 1); transform-box: fill-box; transform-origin: center; }
.svc.off { opacity: 0; transform: scale(.3); }

/* 02 weather */
.rain { display: flex; flex-direction: column; padding: 18px 18px 14px; }
.rain-top { display: flex; align-items: center; gap: 8px; }
.rain-top b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.app-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 11px;
  border-radius: 22px;
  background: var(--asphalt-2);
  color: var(--night-text);
  box-shadow: 0 10px 20px -12px rgba(22, 25, 23, .6);
}
.app-chip b { display: block; font-size: 15px; line-height: 1.1; }
.app-chip small { display: block; color: var(--lime); font-size: 10.5px; font-weight: 600; }
.rain-note { margin-left: auto; color: var(--muted); font-size: 10px; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: 4px; margin: 14px 0 8px; }
.bars span { flex: 1; min-height: 4px; border-radius: 4px; background: var(--line); transform-origin: bottom; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.bars span.wet { background: #5aa7c4; }
.bars span.now { background: var(--ink); }
.card:not(.in) .bars span { transform: scaleY(.1); }
.rain-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }

/* 03 docks */
.docks { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.seg button { border: 0; padding: 8px; border-radius: 10px; background: none; font-weight: 600; font-size: 13px; cursor: pointer; color: var(--ink-2); transition: background .25s, color .25s; }
.seg button.on { background: var(--ink); color: var(--lime); }
.mini-rows { list-style: none; margin: 0; padding: 0; border-radius: 14px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.mini-rows li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; font-size: 14px; }
.mini-rows li + li { border-top: 1px solid var(--line); }
.mini-rows .n {
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums;
  transition: color .3s, background .3s;
}
.mini-rows small { margin-left: auto; color: var(--muted); font-size: 12px; }

/* 04 hills */
.hill svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 72%; }
.hill-line { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-dasharray: 420; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s ease; }
.card:not(.in) .hill-line { stroke-dashoffset: 420; }
.hill-you { fill: var(--card); stroke: var(--ink); stroke-width: 2.5; }
.hill-station { fill: var(--plenty); stroke: var(--card); stroke-width: 3; }
.hill-tag { position: absolute; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.hill-tag.you { left: 14px; bottom: 50%; background: var(--card); border: 1px solid var(--line); font-size: 10px; }
.hill-tag.up { right: 14px; top: 16px; background: var(--ink); color: var(--lime); }

/* 05 prices */
.card.lime .card-vis { background: rgba(255, 255, 255, .32); display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 16px; }
.card.lime .card-copy > p:not(.kick) { color: #2c3410; }
.price { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .55); }
.price span { font-weight: 500; font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price b { font-size: 20px; letter-spacing: -.02em; white-space: nowrap; }
.price small { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.price.best { background: var(--ink); color: var(--night-text); }
.price.best small { color: var(--night-muted); }
.price em { font-style: normal; padding: 3px 7px; border-radius: 6px; background: var(--plenty); color: #fff; font-size: 9.5px; }

/* ---------- closing ---------- */

.closing { text-align: center; }
.closing .big-title { margin-bottom: 34px; }
.foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}
.foot p { margin: 0; font-size: 13px; }
.foot a { text-underline-offset: 3px; }
.credits { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- phones ---------- */

@media (max-width: 900px) {
  .links { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .show-stage { grid-template-columns: 1fr; justify-items: center; }
  .word.left, .word.right { text-align: center; justify-items: center; }
  .word.left { order: -1; }
  .w-ghost { display: none; }
  .show-foot { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .caption { text-align: center; }
  .arrows { justify-self: center; }
  .cov-head { grid-template-columns: 1fr; }
  .cov-stats { grid-template-columns: 1fr 1fr; }
  .cov-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .cov-stats > div:nth-child(n + 3) { border-top: 1px solid var(--asphalt-line); margin-top: 20px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card.span-2 { flex-direction: column; }
  .card.span-2 .card-vis { min-height: 260px; order: -1; }
}

@media (max-width: 700px) {
  .stage { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .hero-copy { position: relative; max-width: none; padding: 26px 4px 0; }
  .hero-copy::before { display: none; }
  .hero-corner { display: none; }
  .bar-more { display: none; }
  .found-card { top: 12px; right: 12px; left: 12px; width: auto; }
  .bento { grid-template-columns: 1fr; }
  /* the whole world is too small on a phone: zoom in on Europe, Africa and Asia */
  .world { overflow: hidden; margin: 24px calc(-1 * var(--gutter)) 0; }
  .world-inner { width: 230%; margin-left: -71%; }
  .card.span-2 { grid-column: auto; }
  .foot { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
