/* Cat Number Match landing page, vlasiichuk.pro brand v2.1 "Paper" (white):
   C:\vibe coder\vlasiichuk.pro\v2\BRAND.md and v2.1\tokens.css. Layout and
   patterns follow the rebuilt vlasiichuk.pro (2026-11-21): a hero that fills
   the first screen, a two-tone headline, one dark rounded button with a risk
   line, sections that take turns white and #F3F5F9, cards with an icon tile
   whose rows line up across cards (subgrid), real screens one after another,
   a roadmap of round steps, a light and a dark card at the end.
   Inter (self-hosted, SIL OFL), thin only at large sizes. Ink #10131C, body
   #3B4252, muted #5E6678, hairline #DDE1EA, accent Nebula deep #4C5BD0 only
   for links, focus, icon accent strokes and what is selected. No dark mode
   on purpose (Julian, 2026-11-20). The page is generated by
   tool/landing/build.mjs. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/inter-cyrillic-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/inter-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/inter-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/inter-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --page: #ffffff;
  --surface: #f3f5f9;
  --hairline: #dde1ea;
  --line: #c3c9d6;
  --control: #7e8698;
  --ink: #10131c;
  --ink-hover: #3b4252;
  --body: #3b4252;
  --muted: #5e6678;
  --accent: #4c5bd0;
  --accent-soft: #a3adeb;
  --on-ink: #ffffff;
  --radius-control: 8px;
  --radius-card: 16px;
  --header: 3.5rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--page); color: var(--body);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 1.0625rem; font-weight: 400; line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 400; letter-spacing: -0.015em; line-height: 1.1; text-wrap: balance; }
p, ul, ol, figure, blockquote { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgb(76 91 208 / 0.2); color: var(--ink); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .wrap { padding: 0 1.5rem; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0.5rem; z-index: 100; background: var(--page); color: var(--ink); padding: 0.5rem 0.75rem; border-radius: var(--radius-control); box-shadow: 0 0 0 1px var(--hairline); }
.skip:focus { left: 0.5rem; }

/* Brand icons: lines follow the text colour, one stroke takes the accent. */
.ic { width: 1.5rem; height: 1.5rem; flex: none; --icon-accent: var(--accent); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 0.86); backdrop-filter: saturate(160%) blur(20px); -webkit-backdrop-filter: saturate(160%) blur(20px); border-bottom: 1px solid var(--hairline); }
/* Left: vlasiichuk.pro / vGames (the games hub). Middle: the game's name
   (wide screens). Right: languages and the store button. */
.site-header .wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; height: var(--header); }
@media (min-width: 900px) { .site-header .wrap { grid-template-columns: 1fr auto 1fr; } }
.head-left { display: flex; align-items: center; gap: 0.55rem; min-width: 0; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 1.75rem; width: auto; }
.crumb-sep { color: var(--line); font-weight: 300; font-size: 1.25rem; line-height: 1; }
.hub { font-size: 0.9375rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.hub:hover { color: var(--accent); text-decoration: none; }
.head-game { display: none; align-items: center; gap: 0.5rem; font-size: 0.9375rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.head-game img { width: 1.5rem; height: 1.5rem; border-radius: 0.4rem; }
@media (min-width: 900px) { .head-game { display: inline-flex; } }
.head-right { display: flex; align-items: center; justify-content: flex-end; gap: 1.25rem; }
@media (max-width: 380px) { .brand img { height: 1.5rem; } .head-left { gap: 0.4rem; } .lang { gap: 0.55rem; } }

/* Back to top, as on vlasiichuk.pro: a dark round button bottom right,
   shown once the first screen is left. */
.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; display: grid; place-items: center; width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; box-shadow: 0 12px 28px -10px rgb(16 19 28 / 0.5); opacity: 0; transform: translateY(0.75rem); pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.3s var(--ease); }
.to-top[data-visible] { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ink-hover); }
.to-top .ic { width: 1.25rem; height: 1.25rem; transform: rotate(-90deg); --icon-accent: var(--accent-soft); }
@media (min-width: 768px) { .to-top { right: 2rem; bottom: 2rem; } }
.lang { display: flex; gap: 0.7rem; font-size: 0.8125rem; font-weight: 500; }
.lang a { color: var(--muted); }
.lang a:hover { color: var(--ink); text-decoration: none; }
.lang [aria-current] { color: var(--ink); }
.site-header .head-cta { display: none; }
@media (min-width: 640px) { .site-header .head-cta { display: inline-flex; } }

/* ---------- Buttons ----------
   The main button is dark ink, white text, fully rounded. The accent is for
   links only, never a main button. */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3.25rem; padding: 0.85rem 1.9rem; border-radius: 999px;
  background: var(--ink); color: var(--on-ink); font-size: 1rem; font-weight: 500; line-height: 1.2;
  transition: background-color 0.3s var(--ease), transform 0.25s var(--ease);
}
.btn-primary:hover { background: var(--ink-hover); text-decoration: none; }
.btn-primary:active { transform: scale(0.98); }
.btn-store svg { width: 1.25rem; height: 1.25rem; flex: none; }
.btn-store { padding: 0.6rem 1.9rem; gap: 0.7rem; }
.btn-primary .ic { width: 1.25rem; height: 1.25rem; --icon-accent: var(--accent-soft); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0 1.4rem; border-radius: 999px; border: 0;
  background: var(--ink); color: var(--on-ink); font: inherit; font-size: 1rem; font-weight: 500; line-height: 1.2; cursor: pointer;
  transition: background 0.25s var(--ease);
}
.btn:hover { background: var(--ink-hover); text-decoration: none; }
.btn-sm { min-height: 2.25rem; padding: 0 1rem; font-size: 0.8125rem; }
/* The store button on the dark card: white on ink. */
.btn-light {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 3.25rem; padding: 0.6rem 1.6rem;
  border-radius: 999px; background: var(--page); color: var(--ink); font-weight: 500; line-height: 1.15;
  transition: background-color 0.3s var(--ease);
}
.btn-light:hover { background: var(--surface); text-decoration: none; }
.btn-light svg { width: 1.15rem; height: 1.15rem; flex: none; }
.two { display: flex; flex-direction: column; align-items: flex-start; text-align: left; line-height: 1.15; }
.two small { display: block; font-size: 0.6875rem; font-weight: 400; opacity: 0.75; line-height: 1.1; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.95rem; font-weight: 500; color: var(--accent); }
.link-arrow span { font-size: 1.15rem; line-height: 1; }
.link-arrow:hover { color: #333f96; text-decoration: none; }

/* ---------- Hero: exactly the first screen ---------- */
.eyebrow { font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.h-soft { color: var(--muted); }
.h-ink { color: var(--ink); display: block; }
.hero { display: flex; align-items: center; min-height: calc(100vh - var(--header) - 1px); min-height: calc(100dvh - var(--header) - 1px); padding: 2rem 0 2.5rem; }
.hero > .wrap { width: 100%; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.25rem; align-items: center; }
.hero h1 { margin-top: 0.9rem; font-size: clamp(2.5rem, min(6vw, 8.5vh), 4.5rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1.03; }
.hero h1 .h-ink { margin-top: 0.15em; }
.lead { max-width: 30rem; margin-top: 1.1rem; font-size: clamp(1.0625rem, 1.7vw, 1.25rem); color: var(--ink); line-height: 1.5; }
.pills { list-style: none; padding: 0; margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pills li { padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--surface); color: var(--body); font-size: 0.8125rem; }
.cta { margin-top: 1.75rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.7rem; }
.micro { font-size: 0.875rem; color: var(--body); }
.store-line { margin-top: 0.15rem; }
.store-line .link-arrow { display: inline; }
@media (min-width: 900px) {
  .hero { padding: 1.5rem 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 3.5rem; }
}
@media (max-width: 899px) {
  .hero { min-height: 0; padding-top: 2.5rem; }
}

/* The hero's picture: the playable phone with the self-playing board as a
   small card in front of it. On phones only the board shows. */
.hero-visual { position: relative; }
@media (min-width: 900px) {
  /* The card overlaps only the phone's left edge, never the app icon in the
     middle of its screen. */
  .hero-visual { padding-left: 11.5rem; }
  .hero-visual .mb { position: absolute; left: 0; top: 38%; width: 16rem; z-index: 4; box-shadow: 0 24px 48px -24px rgb(16 19 28 / 0.35), inset 0 0 0 1px var(--hairline); background: var(--page); }
  .hero-visual .mb { transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
  /* While the demo runs in the phone, the card steps aside. */
  .hero-visual.playing .mb { opacity: 0; transform: translateX(-1rem); pointer-events: none; }
  .hero-visual .mb .mb-tile { background: var(--surface); }
  .hero-visual .mb .mb-tile.pick { background: var(--accent); }
}

/* ---------- The self-playing board ---------- */
.mb { max-width: 26rem; container-type: inline-size; padding: 0.65rem; border-radius: var(--radius-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); }
.mb-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 0.25rem; }
.mb-tile {
  aspect-ratio: 1; display: grid; place-items: center; border-radius: 0.45rem; background: var(--page); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--hairline);
  font-size: 5.4cqw; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.35s var(--ease), opacity 0.45s var(--ease);
}
.mb-tile.pick { background: var(--accent); color: #fff; box-shadow: none; transform: scale(1.08); }
.mb-tile.gone { opacity: 0.1; transform: scale(0.7); }
.mb-cap { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.65rem; }
.mb-cap img { width: 2.25rem; height: 2.25rem; border-radius: 0.65rem; flex: none; }
.mb-say { position: relative; padding: 0.45rem 0.8rem; border-radius: 0.9rem; background: var(--page); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hairline); font-size: 0.875rem; font-weight: 500; line-height: 1.3; min-height: 2.75rem; display: flex; align-items: center; }
.hero-visual .mb .mb-say { background: var(--surface); box-shadow: none; }
@media (max-width: 899px) { .mb { margin: 0 auto; } }

/* ---------- The playable phone ----------
   Its screen is 360 x 740 CSS pixels, the size the game is made for; the
   whole phone scales with the window height (--s, set by the script). */
.phone-col { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
@media (max-width: 899px) { .phone-col { display: none; } }
.pp-scale { width: calc(384px * var(--s, 1)); height: calc(764px * var(--s, 1)); }
.pp { width: 384px; height: 764px; padding: 12px; border-radius: 52px; background: var(--ink); box-shadow: 0 40px 60px -32px rgb(16 19 28 / 0.45), 0 0 0 1px rgb(16 19 28 / 0.9); transform: scale(var(--s, 1)); transform-origin: top left; position: relative; }
.pp-screen { position: relative; width: 360px; height: 740px; border-radius: 40px; overflow: hidden; isolation: isolate; background: linear-gradient(170deg, #f3f5f9 0%, #e4e8f0 100%); }
.pp-camera { position: absolute; top: 12px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #0b0b0c; z-index: 5; }
.pp-home { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; color: var(--ink); }
.pp-status { align-self: stretch; display: flex; justify-content: space-between; padding: 12px 26px 0; font-size: 0.8125rem; font-weight: 500; }
.pp-icons { display: flex; gap: 6px; align-items: center; }
.pp-icons i { display: block; width: 14px; height: 9px; border-radius: 2px; background: currentColor; opacity: 0.7; }
.pp-clock { margin-top: 64px; font-size: 4rem; font-weight: 260; letter-spacing: -0.035em; line-height: 1; }
.pp-date { margin-top: 6px; font-size: 0.9375rem; font-weight: 500; color: var(--muted); }
.pp-app { all: unset; margin-top: auto; margin-bottom: 116px; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; border-radius: 22px; padding: 8px; position: relative; }
.pp-app img { width: 72px; height: 72px; border-radius: 20px; box-shadow: 0 10px 20px -8px rgb(16 19 28 / 0.4); transition: transform 0.2s var(--ease); }
.pp-app:hover img { transform: scale(1.05); }
.pp-app:active img { transform: scale(0.94); }
.pp-app > span:last-child { font-size: 0.8125rem; font-weight: 500; color: var(--ink); }
.pp-app:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pp-hint { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.8125rem; font-weight: 500; animation: pp-bob 2.4s var(--ease) 1s 3 both; }
.pp-hint::after { content: ''; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--ink); }
@keyframes pp-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }
.pp-gesture { position: absolute; bottom: 10px; left: 50%; width: 120px; height: 5px; margin-left: -60px; border-radius: 3px; background: rgb(16 19 28 / 0.4); }
.pp-window { position: absolute; inset: 0; z-index: 3; background: #fdf4ec; overflow: hidden; transform-origin: var(--ox, 50%) var(--oy, 85%); transform: scale(0.18); opacity: 0; border-radius: 40px; pointer-events: none; transition: transform 0.42s var(--ease), opacity 0.2s linear, border-radius 0.42s var(--ease); }
.pp-window.open { transform: none; opacity: 1; border-radius: 0; pointer-events: auto; }
.pp-window iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fdf4ec; }
.pp-bar { display: flex; align-items: center; gap: 0.9rem; font-size: 0.8125rem; color: var(--muted); min-height: 2.25rem; }
.pp-close { font: inherit; font-weight: 500; cursor: pointer; padding: 0.35rem 0.9rem; border-radius: 999px; border: 0; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--control); }
.pp-close:hover { background: var(--surface); }
.pp-close[hidden] { display: none; }

/* ---------- Sections: white and grey take turns ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section.panel { background: var(--surface); }
.section h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 300; letter-spacing: -0.025em; line-height: 1.08; }
.center { text-align: center; margin-left: auto; margin-right: auto; max-width: 44rem; }
.narrow { max-width: 46rem; }
.narrow > h2 { text-align: center; }
.fine { font-size: 0.8125rem; color: var(--muted); }

/* Icon tile, as on vlasiichuk.pro: rounded, light grey (white on grey). */
.tile { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 0.75rem; background: var(--surface); color: var(--ink); }
.panel .tile { background: var(--surface); }

/* Three cards: icon, title and text line up across the cards. */
.cards { list-style: none; padding: 0; margin-top: 3rem; display: grid; gap: 1.25rem; }
.card { background: var(--page); border-radius: var(--radius-card); padding: 2rem; box-shadow: inset 0 0 0 1px var(--hairline); }
.card h3 { margin-top: 1.4rem; font-size: 1.25rem; font-weight: 500; line-height: 1.3; }
.card p { margin-top: 0.6rem; color: var(--body); line-height: 1.6; }
/* The card's point as a picture: an icon per fact, crossed out for what the
   game never does. */
.card-visual { margin-top: 1.25rem; }
.chips { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.chip { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; padding: 0.85rem 0.5rem 0.75rem; border-radius: 0.9rem; background: var(--surface); text-align: center; font-size: 0.8125rem; font-weight: 500; line-height: 1.25; color: var(--ink); }
.chips .chip:last-child:nth-child(odd) { grid-column: span 2; flex-direction: row; justify-content: center; }
.chip-ic { position: relative; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; }
.chip-ic .ic { width: 2.1rem; height: 2.1rem; }
/* Crossed out: the icon fades, a dark line runs across it. */
.chip.no .chip-ic .ic { color: var(--body); --icon-accent: var(--body); }
.chip.no .chip-ic::after { content: ''; position: absolute; left: 50%; top: 50%; width: 2.9rem; height: 3px; margin: -1.5px 0 0 -1.45rem; border-radius: 3px; background: var(--ink); transform: rotate(-45deg); box-shadow: 0 0 0 2.5px var(--surface); }
.chip.no { color: var(--body); }
/* What the game does: a small accent check in the corner. */
.chip:not(.no) { background: #e4e7fa; }
.chip:not(.no) .chip-ic .ic { color: var(--ink); }
/* Difficulty: bars growing from easy to a real challenge. */
.ramp { margin-top: 0.9rem; padding: 0.9rem 0.9rem 0.7rem; border-radius: 0.9rem; background: var(--surface); }
.ramp-bars { display: flex; align-items: flex-end; gap: 0.35rem; height: 3.25rem; }
.ramp-bars i { flex: 1; height: calc(var(--n) * 14%); border-radius: 0.3rem 0.3rem 0.15rem 0.15rem; background: color-mix(in srgb, var(--accent) calc(var(--n) * 14%), var(--hairline)); }
.ramp-bars i:last-child { background: var(--ink); }
.ramp-labels { display: flex; justify-content: space-between; margin-top: 0.45rem; font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.ramp-labels span:last-child { color: var(--ink); }
@media (min-width: 820px) {
  .cards { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto 1fr; column-gap: 1.25rem; row-gap: 0; }
  .card { grid-row: span 3; display: grid; grid-template-rows: subgrid; }
}

/* The game, one moment after the other: text and a real screen take turns
   left and right while the visitor scrolls. */
.features { list-style: none; padding: 0; margin-top: 1rem; }
.feature { display: grid; gap: 2rem; align-items: center; padding: clamp(2.25rem, 5vw, 3.5rem) 0; }
.feature + .feature { border-top: 1px solid var(--hairline); }
.feature h3 { margin-top: 0.6rem; font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 300; letter-spacing: -0.025em; line-height: 1.1; }
.feature .text { margin-top: 1rem; max-width: 30rem; font-size: 1.125rem; line-height: 1.6; }
@media (min-width: 800px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .feature.flip .copy { order: 2; }
}
@media (max-width: 799px) { .feature .copy { text-align: center; } .feature .text { margin-left: auto; margin-right: auto; } }
.shot { max-width: 15rem; margin: 0 auto; width: 100%; aspect-ratio: 1 / 2; padding: 0.4rem; border-radius: 2rem; background: var(--ink); box-shadow: 0 30px 50px -30px rgb(16 19 28 / 0.4); }
.shot .scr { height: 100%; display: flex; flex-direction: column; border-radius: 1.6rem; overflow: hidden; background: #fff8f5; }
.shot .sb { flex: none; display: flex; justify-content: space-between; align-items: center; padding: 0.55rem 1.05rem 0.25rem; font-size: 0.6rem; font-weight: 600; color: var(--ink); line-height: 1; }
.shot .sb i { display: inline-block; width: 1.1rem; height: 0.5rem; border-radius: 0.15rem; background: var(--ink); opacity: 0.8; }
.shot img { flex: 1; min-height: 0; width: 100%; object-fit: contain; object-position: top; padding-bottom: 0.3rem; }

/* Cities: a strip that scrolls sideways on phones, one row on wide screens. */
.cities { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(9.5rem, 1fr); gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 2.75rem; padding-bottom: 0.5rem; }
.cities figure { scroll-snap-align: start; }
.cities img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 0.9rem; }
.cities figcaption { margin-top: 0.5rem; font-size: 0.8125rem; color: var(--muted); }
@media (min-width: 1000px) { .cities { grid-auto-flow: row; grid-template-columns: repeat(8, 1fr); overflow: visible; } }

/* How to play: round steps on a line, the last one dark. Vertical on phones. */
.roadmap { list-style: none; padding: 0; margin: 3rem auto 0; max-width: 56rem; position: relative; display: grid; gap: 1.5rem; }
.roadmap li { position: relative; display: flex; align-items: flex-start; gap: 1rem; }
.roadmap .dot { position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: 0 0 0 4px var(--page); }
.roadmap .last .dot { background: var(--ink); color: #fff; }
.roadmap .last .dot .ic { --icon-accent: var(--accent-soft); }
.roadmap li::before { content: ''; position: absolute; left: 1.5rem; top: 3rem; bottom: -1.5rem; width: 1px; background: var(--line); }
.roadmap li:last-child::before { display: none; }
.step-h { font-weight: 500; color: var(--ink); line-height: 1.35; padding-top: 0.2rem; }
.step-p { margin-top: 0.15rem; font-size: 0.9375rem; color: var(--muted); line-height: 1.4; }
@media (min-width: 760px) {
  .roadmap { grid-template-columns: repeat(var(--steps, 4), 1fr); gap: 1rem; max-width: calc(var(--steps, 4) * 14rem); }
  .roadmap::before { content: ''; position: absolute; top: 1.5rem; left: calc(50% / var(--steps, 4)); right: calc(50% / var(--steps, 4)); height: 1px; background: var(--line); }
  .roadmap li { flex-direction: column; align-items: center; text-align: center; gap: 0.85rem; }
  .roadmap li::before { display: none; }
  .step-h { padding-top: 0; }
}

/* Not a step, a way out: shown as a small note under the roadmap. */
.side-note { display: flex; align-items: center; gap: 0.65rem; width: fit-content; max-width: 100%; margin: 2.5rem auto 0; padding: 0.55rem 1.1rem 0.55rem 0.6rem; border-radius: 999px; background: var(--surface); font-size: 0.9375rem; color: var(--body); line-height: 1.35; }
.side-note b { font-weight: 500; color: var(--ink); }
.side-ic { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--page); color: var(--ink); }
.side-ic .ic { width: 1.1rem; height: 1.1rem; }

/* FAQ. */
.faq { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2rem 1.2rem 0; font-weight: 500; font-size: 1.0625rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0.25rem; top: 1rem; font-weight: 300; font-size: 1.5rem; color: var(--muted); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 1.4rem; max-width: 44rem; }

/* Closing: one light and one dark card side by side. */
.final { text-align: center; }
.final .icon { width: 4.5rem; height: 4.5rem; border-radius: 1.2rem; margin: 0 auto 1.4rem; }
.final h2 { margin: 0 auto; max-width: 36rem; font-size: clamp(1.75rem, 4vw, 3rem); }
.duo { margin: 2.75rem auto 0; max-width: 52rem; display: grid; gap: 1.25rem; text-align: left; }
.duo-card { display: flex; flex-direction: column; align-items: flex-start; padding: 2rem; border-radius: var(--radius-card); background: var(--page); box-shadow: inset 0 0 0 1px var(--hairline); }
.duo-card h3 { margin-top: 1.25rem; font-size: 1.375rem; font-weight: 500; }
.duo-card p { margin-top: 0.4rem; margin-bottom: 1.5rem; color: var(--body); }
.duo-card > a { margin-top: auto; }
.duo-card.dark { background: var(--ink); box-shadow: none; }
.duo-card.dark h3 { color: #fff; }
.duo-card.dark p { color: #c3c9d6; }
.duo-card.dark .tile { background: rgb(255 255 255 / 0.08); color: #fff; }
.duo-card.dark .tile .ic { --icon-accent: var(--accent-soft); }
@media (min-width: 720px) { .duo { grid-template-columns: 1fr 1fr; } }

/* Legal pages (privacy): one narrow column, a thin large title, sections
   with medium headings, as on vlasiichuk.pro. */
.head-game.is-link:hover { color: var(--accent); text-decoration: none; }
.legal-wrap { max-width: 48rem; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem clamp(3.5rem, 8vw, 6rem); }
.legal .back { margin-bottom: 1.5rem; }
.legal h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.04; }
.legal-body { margin-top: 1rem; color: var(--body); line-height: 1.7; }
.legal-body .meta { font-size: 0.875rem; color: var(--muted); }
.legal-body h2 { margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid var(--hairline); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.legal-body h2 + p, .legal-body h2 + ul { margin-top: 0.75rem; }
.legal-body p + p, .legal-body p + ul, .legal-body ul + p { margin-top: 0.85rem; }
.legal-body ul { padding-left: 1.2rem; }
.legal-body li + li { margin-top: 0.45rem; }
.legal-body li::marker { color: var(--control); }
.legal-body strong { font-weight: 600; color: var(--ink); }
.legal-body a { text-decoration: underline; text-underline-offset: 2px; }
.legal-body code { font-size: 0.875em; padding: 0.1em 0.35em; border-radius: 0.3rem; background: var(--surface); color: var(--ink); }
.legal-foot { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline); font-size: 0.875rem; color: var(--muted); }
.site-footer [aria-current] { color: var(--ink); }

/* Video (hidden until the real video exists). */
.video { position: relative; margin-top: 2rem; aspect-ratio: 16 / 9; border-radius: var(--radius-card); overflow: hidden; background: var(--surface); }
.video button { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video .play { position: absolute; left: 50%; top: 50%; width: 4.25rem; height: 4.25rem; margin: -2.125rem 0 0 -2.125rem; border-radius: 50%; background: rgb(16 19 28 / 0.78); display: grid; place-items: center; }
.video .play svg { width: 1.75rem; height: 1.75rem; margin-left: 0.25rem; fill: #fff; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { margin-top: 0.6rem; text-align: center; }

/* Footer (grey; the section above it is always white). */
.site-footer { background: var(--surface); border-top: 1px solid var(--hairline); padding: 2rem 0 2.25rem; font-size: 0.8125rem; color: var(--muted); }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem 1.5rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.foot-small { margin-top: 0.9rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pp-hint { animation: none; }
  .pp-window { transition: opacity 0.15s linear; transform: none; }
  .btn, .btn-primary, .pp-app img, .mb-tile { transition: none; }
}
