/* SEO landing pages (/trenazher-dlya-mozga/ etc.) — same palette and fonts as the game */

@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('../fonts/manrope-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('../fonts/manrope-latin.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; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('../fonts/unbounded-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('../fonts/unbounded-latin.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 {
  --bg-deep: #0B0915;
  --surface: #1A1530;
  --surface-2: #241D40;
  --line: #342A5A;
  --text: #F3F0FA;
  --muted: #A69CC8;
  --dim: #8E84B5;
  --violet: #6D4AFF;
  --violet-hover: #7B5CFF;
  --violet-text: #B7A4FF;
  --amber: #FFB547;
  --amber-ink: #1A1206;
  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--violet-text); }
a:hover { color: var(--text); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Header */
.lp-header { border-bottom: 1px solid var(--line); }
.lp-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-top: 14px; padding-bottom: 14px; }
.lp-brand { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: 0.04em; color: var(--text); text-decoration: none; }
.lp-links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; font-weight: 700; }
.lp-links a { color: var(--muted); text-decoration: none; }
.lp-links a:hover, .lp-links a[aria-current="page"] { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 16px; font: 800 17px/1 var(--body); text-decoration: none; cursor: pointer; }
.btn--primary { background: var(--violet); color: #fff; }
.btn--primary:hover { background: var(--violet-hover); color: #fff; }
.btn--ghost { color: var(--text); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--surface); color: var(--text); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 12px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 40px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); }
h1 { font-family: var(--display); font-size: 40px; font-weight: 800; line-height: 1.15; margin: 10px 0 16px; overflow-wrap: anywhere; }
.lead { font-size: 19px; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__note { margin-top: 14px; font-size: 14px; color: var(--dim); }
.hero__img { border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(80, 50, 200, 0.25); }

/* Sections */
.section { padding-top: 40px; padding-bottom: 40px; border-top: 1px solid var(--line); }
h2 { font-family: var(--display); font-size: 26px; font-weight: 800; line-height: 1.25; margin-bottom: 18px; }
h3 { font-family: var(--display); font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.section p + p { margin-top: 12px; }
.prose { max-width: 760px; color: var(--muted); }
.prose strong { color: var(--text); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.card p { color: var(--muted); font-size: 16px; }
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--amber); color: var(--amber-ink); font: 800 16px/1 var(--display); margin-bottom: 12px; }

/* «Как это звучит»: text + vertical ad reel */
.sound { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: center; }
.sound__text p { color: var(--muted); max-width: 560px; }
.sound__video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 22px; border: 1px solid var(--line); background: #100C1C; box-shadow: 0 24px 60px rgba(80, 50, 200, 0.22); }

/* Word examples: «кот → ток» with tiles */
.examples { display: flex; flex-wrap: wrap; gap: 12px; }
.ex { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.ex__word { font: 700 17px/1 var(--display); color: var(--muted); }
.ex__arrow { color: var(--amber); font-weight: 800; }
.ex__tiles { display: flex; gap: 4px; }
.ex__tiles span { display: inline-grid; place-items: center; min-width: 28px; height: 32px; padding: 0 4px; border-radius: 8px; background: var(--amber); color: var(--amber-ink); font: 800 15px/1 var(--display); text-transform: uppercase; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--violet-text); font-weight: 800; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* Final call to action */
.final { text-align: center; padding-top: 48px; padding-bottom: 56px; border-top: 1px solid var(--line); }
.final p { color: var(--muted); margin: 0 auto 22px; max-width: 560px; }

/* Related pages and footer */
.related { display: flex; flex-wrap: wrap; gap: 10px; }
.related a { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; text-decoration: none; font-weight: 700; color: var(--text); }
.related a:hover { border-color: var(--violet); }

.lp-footer { border-top: 1px solid var(--line); padding: 20px 0 28px; font-size: 14px; color: var(--dim); }
.lp-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; }
.lp-footer nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.lp-footer a { color: var(--dim); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .hero__media { max-width: 420px; }
  .cards { grid-template-columns: 1fr; }
  .sound { grid-template-columns: 1fr; }
  .sound__video { max-width: 300px; justify-self: center; }
  h1 { font-size: 30px; }
  h2 { font-size: 22px; }
  .lead { font-size: 17px; }
}
@media (max-width: 400px) {
  h1 { font-size: 26px; }
  .btn:not(.btn--sm) { width: 100%; }
}
