/* Air Alert Map — site. Flat light theme: no shadows, no gradients; depth
   comes from 1px borders and background tones. One accent: the app's yellow
   (design.dart AppColors.yellow). Red only means "alert" on the map. */
@font-face { font-family: Onest; src: url(/assets/fonts/onest-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Onest; src: url(/assets/fonts/onest-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Onest; src: url(/assets/fonts/onest-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Onest; src: url(/assets/fonts/onest-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #f5f6f8;
  --card: #ffffff;
  --line: #e3e6ea;
  --line-strong: #cfd5dc;
  --ink: #0b0c0e;
  --ink-hover: #2a2d33;
  --muted: #555c66;
  --faint: #868d97;
  --yellow: #ffd500;
  --yellow-hover: #f5cc00;
  --yellow-tint: #fff4c2;
  --alert: #e5484d;
  --alert-hover: #d23a40;
  --alert-ink: #b4232a;
  --calm: #dde2e8;
  --calm-hover: #c9d0d8;
  --sea: #e9eff5;
  --ok: #23845a;
  --wrap: 1240px;
  --top: 64px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-gutter: stable; }
html.modal-open { overflow: hidden; }
body {
  margin: 0;
  font: 400 16px/1.55 Onest, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a.ul, .doc a, .ans a, .note a, .credits a {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: rgba(11, 12, 14, 0.35);
}
a.ul:hover, .doc a:hover, .ans a:hover, .note a:hover, .credits a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: calc(var(--top) + 8px); }
h1, h2, h3 { text-wrap: balance; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.logo { fill: currentColor; flex: none; }

/* store state: the build renders it, app.js refreshes it from /stores.json */
.stores-soon .if-live, .stores-live .if-soon { display: none !important; }

/* ------------------------------------------------------------ header -- */
.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: var(--top); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); background: var(--bg); }
.top-act { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang {
  display: inline-flex; align-items: center; height: 40px; padding: 0 12px;
  color: var(--muted); font-weight: 500; font-size: 14px;
  border: 1px solid var(--line); border-radius: 10px;
}
.lang:hover { color: var(--ink); background: var(--bg); }
.lang .short { display: none; }

/* ----------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 12px;
  font: 600 16px/1 Onest, system-ui, sans-serif; white-space: nowrap; cursor: pointer;
}
.btn-y { background: var(--yellow); color: var(--ink); }
.btn-y:hover { background: var(--yellow-hover); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 15px;
  border: 1px solid var(--ink); border-radius: 12px; background: var(--ink); color: #fff;
}
a.store[href]:hover { background: var(--ink-hover); border-color: var(--ink-hover); }
.store .logo { width: 24px; height: 24px; }
.store > span { display: flex; flex-direction: column; font-size: 19px; font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; white-space: nowrap; }
.store small { font-size: 11.5px; font-weight: 500; letter-spacing: 0.01em; opacity: 0.86; }
.store .l-soon { display: none; }
.store.soon { background: transparent; color: var(--ink); border-color: var(--line-strong); cursor: default; }
.store.soon .l-live { display: none; }
.store.soon .l-soon { display: block; }

.ico {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px;
  border-radius: 14px; background: var(--yellow-tint); color: var(--ink);
}

/* phone frame: corners scale with --w */
.phone {
  --w: 260px;
  width: var(--w); padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.16); background: var(--ink);
}
.phone img { display: block; width: 100%; height: auto; border-radius: calc(var(--w) * 0.13); background: #16181c; }

/* -------------------------------------------------------------- hero -- */
.hero { position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 40px; min-height: 580px; }
.hero-text { align-self: center; max-width: 640px; padding: 56px 0 72px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 6px 10px 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink); background: #fff;
}
.pill:hover { border-color: var(--line-strong); background: var(--bg); }
.pill > i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.pill.on > i { background: var(--alert); animation: blink 1.6s ease-in-out infinite; }
.pill.calm > i { background: var(--ok); }
.pill.on #pill-text { color: var(--alert-ink); font-weight: 600; }
.pill .i { width: 16px; height: 16px; color: var(--faint); }
#pill-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes blink { 50% { opacity: 0.3; } }
.hero h1 { margin: 20px 0 18px; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 700; }
.hero .lead { margin: 0 0 30px; max-width: 580px; font-size: 19px; line-height: 1.55; color: var(--muted); }
.hero-note { margin: 18px 0 0; font-size: 14px; color: var(--faint); }
.hero-art { position: relative; }
.hero-art .ua { position: absolute; left: -90px; top: 92px; width: 660px; max-width: none; height: auto; }
.hero-art .phone { position: absolute; }
.hero-art .front { --w: 268px; left: 26px; top: 60px; z-index: 2; }
.hero-art .back { --w: 236px; left: 252px; top: 128px; z-index: 1; }

/* ----------------------------------------------------------- live map -- */
.now { padding: 44px 0 56px; background: var(--bg); }
.head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 16px; }
.head h2 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.summary { margin: 0; font-weight: 600; color: var(--alert-ink); }
.summary.calm { color: var(--ok); }
.summary.idle { color: var(--faint); font-weight: 500; }
.updated {
  margin: 0 0 0 auto; display: flex; align-items: center; gap: 6px;
  color: var(--faint); font-size: 13px; font-variant-numeric: tabular-nums;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.dot.on { background: var(--ok); }
.stale {
  margin: 0 0 14px; padding: 10px 14px; border-radius: 10px;
  background: #fff6e8; border: 1px solid #f0cf9a; color: #6e4300; font-size: 14px;
}

.grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.mapcard, .list, .note { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.mapcard { padding: 12px; min-width: 0; }

.map { position: relative; width: 100%; overflow: hidden; border-radius: 10px; background: var(--sea); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
/* Zoomed in, one finger pans the map instead of scrolling the page. */
.map.zoomed { touch-action: none; cursor: grab; }
.map.zoomed:active { cursor: grabbing; }
.map.zoomed .units path { cursor: inherit; }
.map > svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.map .nb { fill: #f8f9fb; stroke: #d9dee5; stroke-width: 0.6; vector-effect: non-scaling-stroke; }
.map .base { fill: var(--calm); }
.map .units path { fill: var(--calm); stroke: #fff; stroke-width: 0.5; stroke-linejoin: round; cursor: pointer; vector-effect: non-scaling-stroke; }
.map .units path:hover, .map .units path.hl { fill: var(--calm-hover); }
.map .units path.on { fill: var(--alert); }
.map .units path.on:hover, .map .units path.on.hl { fill: var(--alert-hover); }
.map .tot { fill: url(#hatch); pointer-events: none; }
.map #hatch line { stroke: rgba(11, 12, 14, 0.3); stroke-width: 1.1; }
.map .obl path { fill: none; stroke: #fff; stroke-width: 1.3; stroke-linejoin: round; pointer-events: none; vector-effect: non-scaling-stroke; }
.map .obl path.sel { stroke: var(--ink); stroke-width: 2; }
.map .outline { fill: none; stroke: #98a0aa; stroke-width: 0.9; stroke-linejoin: round; pointer-events: none; vector-effect: non-scaling-stroke; }
.map.loading::after {
  content: ""; position: absolute; inset: 0; border-radius: 8px; background: var(--bg);
}

/* threat markers: screen-sized, on top of the scaled map */
.markers { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.map.no-threats .markers { display: none; }
.mk {
  position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px;
  border-radius: 50%; background: #16191d; pointer-events: auto;
}
.mk.danger { outline: 2px solid var(--alert); outline-offset: 1px; }
.mk svg { display: block; width: 20px; height: 20px; }
.mk path { fill: #fff; }
.mk b {
  position: absolute; top: -8px; left: 13px; min-width: 16px; padding: 0 4px;
  font: 600 10px/14px Onest, system-ui, sans-serif; text-align: center;
  color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px;
}
.info {
  position: absolute; left: 8px; top: 8px; z-index: 2; max-width: min(320px, 72%);
  padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line);
  font-size: 13px; color: var(--muted); pointer-events: none;
}
.info b { display: block; color: var(--ink); font-size: 14px; font-weight: 600; }
.zoom { position: absolute; top: 8px; right: 8px; z-index: 3; display: flex; flex-direction: column; gap: 6px; }
.zoom button {
  display: grid; place-items: center; width: 34px; height: 34px; padding: 0;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer;
}
.zoom button:hover { background: var(--bg); }
.zoom svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hint {
  position: absolute; left: 50%; bottom: 10px; z-index: 3; margin: 0; transform: translateX(-50%);
  padding: 6px 10px; border-radius: 8px; background: rgba(11, 12, 14, 0.82); color: #fff;
  font-size: 13px; white-space: nowrap; pointer-events: none;
}
.info .st { display: block; margin-top: 2px; color: var(--ink); }
.info .st.on { color: var(--alert-ink); font-weight: 600; }

.mapfoot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 8px 16px; padding: 10px 4px 2px; font-size: 13px; color: var(--muted);
}
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.legend input { margin: 0; accent-color: var(--ink); }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.sw.alert { background: var(--alert); }
.sw.calm { background: var(--calm); }
.sw.tot {
  background: var(--calm) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Cpath d='M-1 1l2-2M0 4l4-4M3 5l2-2' stroke='%23555c66' stroke-width='.8'/%3E%3C/svg%3E");
}
.credits { margin: 0; }

/* region list */
.list { position: sticky; top: calc(var(--top) + 16px); max-height: calc(100vh - var(--top) - 32px); overflow: auto; padding: 4px 0; }
.list h2 {
  margin: 10px 16px 6px; font-size: 12px; font-weight: 600; color: var(--faint);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.list ul { margin: 0; padding: 0; list-style: none; }
.list li + li { border-top: 1px solid var(--line); }
.list button {
  display: flex; width: 100%; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 9px 16px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.list button:hover { background: var(--bg); }
.list button:focus-visible { outline-offset: -2px; }
.list .n { font-weight: 500; font-size: 14px; }
.list .st { color: var(--faint); font-size: 12.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.list li.on .n::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px;
  border-radius: 50%; background: var(--alert); vertical-align: 1px;
}
.list li.on .st { color: var(--alert-ink); font-weight: 600; }
.list li.sel button { background: #eef2f7; }
.list .sub { display: none; margin: 0; padding: 0 16px 10px 32px; list-style: none; font-size: 13px; color: var(--muted); }
.list li.sel .sub { display: block; }
.list .sub li { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; border: 0; }
.list .sub span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }

.note { margin-top: 16px; padding: 12px 18px; font-size: 14px; color: var(--muted); }
.note p { margin: 4px 0; }
.note strong { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------- sections -- */
.sec { padding: 96px 0; background: #fff; }
.sec.alt { background: var(--bg); }
.sec-head { max-width: 700px; margin-bottom: 44px; }
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 24px; height: 4px; border-radius: 2px; background: var(--yellow); }
.sec h2 { margin: 0; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; }
.sec .lead { margin: 16px 0 0; font-size: 18px; color: var(--muted); }
.sec h3 { margin: 20px 0 8px; font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.tiles li { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.tiles p { margin: 0; color: var(--muted); }

/* screenshot strip: aligned with the content, scrolls full bleed */
.sec-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.sec-row .sec-head { margin-bottom: 0; }
.shots-nav { display: flex; gap: 8px; }
.shots-nav button {
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer;
}
.shots-nav button:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.shots-nav button:disabled { opacity: 0.35; cursor: default; }
.shots {
  --gutter: max(24px, calc((100vw - var(--wrap)) / 2 + 24px));
  display: flex; gap: 22px; margin: 0; padding: 0 var(--gutter) 4px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.shots::-webkit-scrollbar { display: none; }
.shots li { flex: none; scroll-snap-align: start; }
.shots figure { width: 236px; margin: 0; }
.shots .phone { --w: 236px; }
.shots figcaption { margin-top: 18px; }
.shots figcaption b { display: block; font-size: 16px; font-weight: 600; }
.shots figcaption span { display: block; font-size: 14px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li { padding: 28px; border-radius: 18px; background: var(--bg); }
.steps p { margin: 0; color: var(--muted); }
.num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--yellow); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums;
}

.src-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.src { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.src-name { display: inline-flex; align-items: center; gap: 6px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
a.src-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.src-name .i { width: 18px; height: 18px; color: var(--faint); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { padding: 3px 10px; border-radius: 999px; background: var(--yellow-tint); font-size: 13px; font-weight: 600; }
.src p { margin: 0; color: var(--muted); }
.src-note { margin: 24px 0 0; font-size: 14px; color: var(--muted); }

.faq-in { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 64px; align-items: start; }
.faq-in .sec-head { position: sticky; top: calc(var(--top) + 32px); margin: 0; }
.faq-more { margin: 20px 0 0; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: 18px; font-weight: 600; line-height: 1.35; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ink-hover); }
.faq summary .i { width: 22px; height: 22px; transition: transform 0.2s ease; }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq .ans { padding: 0 48px 24px 0; color: var(--muted); }
.faq .ans p { margin: 0; }

.cta { background: var(--yellow); }
.cta-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.cta-icon { width: 104px; height: 104px; border-radius: 24px; }
.cta h2 { margin: 0 0 10px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -0.025em; }
.cta p { margin: 0 0 24px; max-width: 580px; font-size: 18px; }
.cta .store.soon { border-color: rgba(11, 12, 14, 0.4); }
.qr-card { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 188px; padding: 16px; border-radius: 18px; background: #fff; text-align: center; }
.qr svg { display: block; width: 148px; height: 148px; }
.qr-card p { margin: 0; font-size: 13px; line-height: 1.35; color: var(--muted); }

/* ------------------------------------------------------- region pages -- */
.hero-ob .wrap { padding-top: 28px; padding-bottom: 40px; }
.hero-ob h1 { margin: 18px 0 14px; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.08; letter-spacing: -0.025em; max-width: 900px; }
.hero-ob .lead { margin: 0; max-width: 760px; font-size: 18px; color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: 14px; color: var(--faint); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.map.focus .units path:not(.in) { fill-opacity: 0.45; }
.list .n small { color: var(--faint); font-size: 12.5px; font-weight: 500; }
.ob-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ob-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.ob-card h2 { margin: 0 0 16px; font-size: 22px; letter-spacing: -0.015em; }
.ob-card p { margin: 0 0 14px; color: var(--muted); }
.ob-card .muted { color: var(--faint); font-size: 14px; }
.facts { display: grid; gap: 0; margin: 0; }
.facts > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: 0; padding-top: 0; }
.facts > div.wide { grid-template-columns: 1fr; }
.facts dt { color: var(--faint); font-size: 14px; }
.facts dd { margin: 0; font-weight: 500; }
.links { display: grid; gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; font-weight: 500; }
.ob-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.ob-link {
  display: flex; align-items: center; gap: 10px; height: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 15px; font-weight: 500;
}
.ob-link:hover { border-color: var(--line-strong); background: var(--bg); }
.ob-link > i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--calm-hover); }
.ob-link.on > i { background: var(--alert); }
.ob-link.on { color: var(--alert-ink); }
.ob-link[aria-current] { border-color: var(--ink); }
.alt .steps li { background: #fff; border: 1px solid var(--line); }

/* ------------------------------------------------------------ footer -- */
.foot { background: #fff; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 48px; padding-top: 56px; padding-bottom: 40px; }
.foot-brand p { margin: 14px 0 0; max-width: 340px; color: var(--muted); font-size: 15px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-h { margin: 4px 0 14px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.foot-cols ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.foot-cols a[href]:hover { text-decoration: underline; text-underline-offset: 3px; }
.flink.soon { color: var(--muted); }
.soon-tag { margin-left: 4px; font-size: 12px; color: var(--faint); }
.flink:not(.soon) + .soon-tag { display: none; }
.foot-base { display: flex; flex-wrap: wrap; gap: 6px 20px; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }

/* -------------------------------------------------------- app promo -- */
.promo {
  width: min(960px, calc(100vw - 48px)); max-width: none; max-height: calc(100vh - 48px);
  padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--ink); overflow: auto;
}
.promo::backdrop { background: rgba(11, 12, 14, 0.55); }
.promo[open] { animation: rise 0.24s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.promo-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.promo-main { padding: 40px 40px 28px; }
.promo-brand { display: flex; align-items: center; gap: 12px; font-size: 18px; }
.promo-brand img { width: 44px; height: 44px; border-radius: 11px; }
.chip { padding: 4px 10px; border-radius: 999px; background: var(--yellow-tint); font-size: 13px; font-weight: 600; }
.promo h2 { margin: 24px 0 12px; font-size: 34px; line-height: 1.1; letter-spacing: -0.025em; }
.promo-lead { margin: 0 0 24px; font-size: 17px; color: var(--muted); }
.perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.perks li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.perks .ico { width: 36px; height: 36px; border-radius: 10px; }
.perks .i { width: 20px; height: 20px; }
.perks b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 15px; font-weight: 600; }
.promo-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; font-size: 13px; color: var(--faint); }
.promo-foot p { margin: 0; }
.later { padding: 6px 2px; border: 0; background: none; color: var(--ink); font: 500 14px Onest, system-ui, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
.promo-art { position: relative; overflow: hidden; min-height: 560px; background: var(--yellow); }
.promo-art .phone { --w: 236px; position: absolute; left: 52px; top: 52px; }
.promo-art .qr-card { position: absolute; left: 20px; right: 20px; bottom: 20px; width: auto; flex-direction: row; text-align: left; gap: 14px; padding: 12px; }
.promo-art .qr svg { width: 104px; height: 104px; }
.promo-art .qr-card p { font-size: 14px; font-weight: 600; color: var(--ink); }
.promo-x {
  position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center;
  width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%;
  background: #fff; color: var(--ink); cursor: pointer;
}
.promo-x:hover { background: var(--bg); }
.promo-x .i { width: 20px; height: 20px; }

/* mobile: a bar at the bottom instead of a dialog */
.pbar {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 30;
  display: flex; align-items: center; gap: 12px; padding: 10px 8px 10px 10px;
  border: 1px solid var(--line-strong); border-radius: 16px; background: #fff;
  transform: translateY(calc(100% + 20px)); transition: transform 0.3s ease;
}
.pbar.in { transform: none; }
.pbar img { width: 44px; height: 44px; border-radius: 10px; }
.pbar p { flex: 1; min-width: 0; margin: 0; font-size: 13px; line-height: 1.3; color: var(--muted); }
.pbar b { display: block; color: var(--ink); font-size: 15px; }
.pbar .btn { flex: none; padding: 0 14px; }
.pbar-x { display: grid; place-items: center; flex: none; width: 32px; height: 40px; padding: 0; border: 0; background: none; color: var(--faint); cursor: pointer; }
.pbar-x .i { width: 18px; height: 18px; }

/* -------------------------------------------------------- text pages -- */
.doc { max-width: 808px; margin: 0 auto; padding: 32px 24px 72px; }
.doc h1 { font-size: 32px; line-height: 1.15; letter-spacing: -0.02em; margin: 8px 0 14px; }
.doc h2 { font-size: 19px; margin: 30px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc .muted { color: var(--faint); font-size: 13px; }
.doc .back { margin-top: 36px; }
.doc .tbl { overflow-x: auto; margin: 10px 0 14px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.doc th { color: var(--ink); font-weight: 600; }

/* /app: QR landing */
.apppage { background: var(--bg); }
.app-in { display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 520px; min-height: 100vh; margin: 0 auto; padding: 64px 24px; text-align: center; justify-content: center; }
.app-icon { width: 96px; height: 96px; border-radius: 22px; }
.app-in h1 { margin: 18px 0 4px; font-size: 30px; letter-spacing: -0.02em; }
.app-lead { margin: 0 0 24px; color: var(--muted); }
.app-in .stores { justify-content: center; }
.app-soon { margin: 18px 0 0; color: var(--muted); }
/* /follow: a relative's link (F5), built on the /app page */
.follow-kicker { margin: 18px 0 0; color: var(--muted); font-weight: 500; }
.app-in .follow-kicker + h1 { margin-top: 2px; }
.follow-oblast { margin: 0 0 8px; color: var(--muted); }
.follow-open { margin: 0 0 16px; }
.follow-install { margin: 0 0 16px; color: var(--muted); font-size: 15px; }

/* -------------------------------------------------------- responsive -- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill.on > i, .promo[open] { animation: none; }
  .pbar, .faq summary .i { transition: none; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .hero-in { grid-template-columns: minmax(0, 1fr) 440px; }
  .hero-art .front { --w: 240px; left: 10px; }
  .hero-art .back { --w: 210px; left: 214px; }
  .hero-art .ua { width: 580px; left: -80px; }
}
@media (max-width: 960px) {
  .grid { grid-template-columns: 1fr; }
  .list { position: static; max-height: none; }
  .updated { margin-left: 0; width: 100%; }
  .tiles, .src-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ob-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ob-info { grid-template-columns: 1fr; }
  .faq-in { grid-template-columns: 1fr; gap: 32px; }
  .faq-in .sec-head { position: static; }
  .foot-in { grid-template-columns: 1fr; gap: 36px; }
  .cta-in { grid-template-columns: auto minmax(0, 1fr); }
  .cta .qr-card { display: none; }
  .promo-in { grid-template-columns: minmax(0, 1fr) 280px; }
  .promo-art .phone { --w: 200px; left: 40px; }
}
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero-text { max-width: none; padding: 36px 0 8px; }
  .hero-art { height: 360px; }
  .hero-art .ua { width: 480px; left: 50%; margin-left: -250px; top: 40px; }
  .hero-art .front { --w: 220px; left: 50%; margin-left: -172px; top: 28px; }
  .hero-art .back { --w: 190px; left: 50%; margin-left: 4px; top: 84px; }
  .promo-in { grid-template-columns: 1fr; }
  .promo-art { display: none; }
}
@media (max-width: 760px) {
  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 32px; }
  .steps { grid-template-columns: 1fr; }
  .shots-nav { display: none; }
  .sec-row { margin-bottom: 28px; }
  .shots { gap: 16px; }
  .shots figure { width: 200px; }
  .shots .phone { --w: 200px; }
}
@media (max-width: 560px) {
  :root { --top: 56px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .top-in { gap: 10px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .lang { padding: 0 10px; }
  .lang .long { display: none; }
  .lang .short { display: inline; }
  .hero h1 { font-size: 34px; margin-top: 16px; }
  .hero .lead { font-size: 17px; margin-bottom: 24px; }
  .stores { gap: 10px; }
  .store { height: 50px; padding: 0 14px 0 12px; gap: 8px; }
  .store > span { font-size: 17px; }
  .store small { font-size: 10.5px; }
  .now { padding: 28px 0 40px; }
  .now .wrap { padding-left: 10px; padding-right: 10px; }
  .head { padding: 0 6px; }
  .head h2 { font-size: 22px; }
  .mapcard { padding: 6px; border-radius: 12px; }
  .mk { width: 16px; height: 16px; margin: -8px 0 0 -8px; }
  .mk svg { width: 16px; height: 16px; }
  .info { max-width: calc(100% - 64px); }
  .zoom button { width: 32px; height: 32px; }
  .tiles, .src-grid { grid-template-columns: 1fr; }
  .ob-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ob-link { padding: 10px 12px; font-size: 14px; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .hero-ob .wrap { padding-top: 20px; padding-bottom: 28px; }
  .hero-ob h1 { font-size: 30px; }
  .hero-ob .lead { font-size: 16px; }
  .tiles li, .steps li, .src, .ob-card { padding: 22px; }
  .faq summary { font-size: 17px; padding: 18px 0; }
  .faq .ans { padding-right: 0; }
  .cta-in { grid-template-columns: 1fr; gap: 20px; padding-top: 56px; padding-bottom: 56px; }
  .cta-icon { width: 80px; height: 80px; border-radius: 18px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .doc h1 { font-size: 26px; }
}
@media (max-width: 380px) {
  .brand span { display: none; }
}
