/* Лендінг Байки — тема A · Неон (tokens.md workspace bayka), макет W5b / W5c
   (openspec/changes/web-solo-build/design-board/). Шрифти — підмножини
   латиниця + кирилиця з тих самих файлів, що в грі (OFL, assets/fonts/). */
@font-face {
  font-family: "Unbounded";
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/Unbounded-Black.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/Manrope-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/Manrope-ExtraBold.woff2") format("woff2");
}

:root {
  --bg: #0c0b1c;
  --bg-ink: #f4f4fc;
  --bg-muted: #afafc4;
  --surface: #1b1933;
  --surface-2: #262443;
  --line: #3f3f5c;
  --lie: #f779ba;
  --truth: #00ccb9;
  --on-accent: #0c0b1c;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 120% at 0 0, rgb(247 121 186 / .18), transparent 60%),
    radial-gradient(120% 120% at 100% 100%, rgb(0 204 185 / .14), transparent 60%),
    var(--bg);
  color: var(--bg-ink);
  font: 600 16px/1.45 var(--body);
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--bg-ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 56px; }

/* навігація */
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.mark { font: 900 22px var(--display); text-decoration: none; text-shadow: 0 0 22px rgb(247 121 186 / .55); }
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 99px; background: rgb(244 244 252 / .1); font: 800 12px var(--body); }
.lang a, .lang span { padding: 6px 11px; border-radius: 99px; color: var(--bg-muted); text-decoration: none; }
.lang [aria-current] { background: var(--bg-ink); color: var(--on-accent); }

/* герой W5b: саме питання гри */
main { flex: 1; }
.hero { display: flex; flex-direction: column; gap: 18px; padding-top: 28px; padding-bottom: 56px; }
.stamp {
  align-self: flex-start;
  padding: 4px 12px;
  border: 3px solid var(--lie);
  border-radius: 10px;
  transform: rotate(-6deg);
  color: var(--lie);
  font: 900 18px var(--display);
  letter-spacing: .04em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgb(247 121 186 / .6);
}
.q { margin: 0; max-width: 20ch; font: 900 clamp(26px, 5vw, 48px)/1.12 var(--display); }
.blank {
  display: inline-block;
  min-width: 3.4em;
  border-bottom: .12em solid var(--lie);
  vertical-align: baseline;
}
.pick { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; }
.pick li {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font: 900 18px var(--display);
}
.pick .truth { box-shadow: 0 0 0 3px var(--truth), 0 0 26px rgb(0 204 185 / .45); }
.lede { margin: 4px 0 0; max-width: 46ch; color: var(--bg-muted); font-size: 18px; }
.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 16px;
  background: var(--truth);
  color: var(--on-accent);
  font: 800 17px var(--body);
  text-decoration: none;
  box-shadow: 0 0 26px rgb(0 204 185 / .45);
}
.btn:hover { filter: brightness(1.08); }
.note { margin: 0; color: var(--bg-muted); font-size: 13px; }
.stores { display: flex; gap: 8px; margin-top: 10px; }
.store { display: grid; padding: 7px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); font: 800 13px var(--body); }
.store small { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--bg-muted); }

/* підвал */
.foot { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 22px; border-top: 1px solid var(--line); color: var(--bg-muted); font-size: 12.5px; }

/* W5c: телефон — питання до 3 рядків, варіанти 2×2, кнопка в першому екрані */
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .hero { gap: 12px; padding-top: 8px; padding-bottom: 28px; }
  .stamp { font-size: 15px; }
  .q { font-size: 20px; line-height: 1.2; }
  .pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .pick li { min-height: 48px; padding: 8px 12px; font-size: 17px; }
  .lede { font-size: 14px; }
  .cta { align-items: stretch; }
  .btn { min-width: 0; width: 100%; }
  .note { text-align: center; }
}

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: filter 120ms cubic-bezier(.2, .8, .2, 1); }
}
