@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/SpaceGrotesk-Variable.ttf') format('truetype');
  font-weight: 300 700;
  font-display: swap;
}

@font-face { font-family: 'Russo One'; src: url('assets/fonts/RussoOne-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }

:root {
  --font-display: 'Russo One', 'Space Grotesk', sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --display-weight: 400;
  --display-case: uppercase;
  --display-tracking: 0.02em;
  --on-accent: #fff;
  --head-bg: rgba(11, 11, 13, 0.82);
  --ctl-border: rgba(255, 255, 255, 0.5);
  --ctl-border-hover: #fff;
  --card-border: rgba(255, 255, 255, 0.12);
  --canvas: #0b0b0d;
  --surface: #15161a;
  --panel: #1d1e24;
  --text: #f4f4f5;
  --muted: #9d9ea4;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #e10600;
  --accent-hover: #c40500;
  --accent-text: #f87967;
  --focus: #fa6a58;
  --glow: 0 0 24px rgba(225, 6, 0, 0.55);
  --r-ctl: 12px;
  --r-card: 20px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --pad: 20px;
  --head: 56px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font: 400 16px/1.5 var(--font-body);
  overflow-x: hidden;
}
body.has-sticky { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: var(--display-tracking); line-height: 1.05; }
h2 { font-size: 28px; margin-bottom: 16px; }
p { margin: 0; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 760px; }
.col { max-width: 560px; margin-inline: auto; }
section { padding: 40px 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 22px; border-radius: var(--r-ctl);
  font: 500 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; width: 100%;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease), transform 150ms var(--ease), box-shadow 200ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary.glow { box-shadow: var(--glow); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--ctl-border); }
.btn-secondary:hover { border-color: var(--ctl-border-hover); background: var(--line); }
.btn-text { display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--accent-text); min-height: 44px; padding: 0 8px; font: 500 15px/1 var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.btn-sm { min-height: 44px; width: auto; padding: 0 16px; font-size: 14px; }
:focus-visible { outline: 3px solid rgba(225, 6, 0, 0.4); outline-offset: 2px; box-shadow: 0 0 0 1px var(--focus); }
.icon { display: inline-block; width: 20px; height: 20px; flex: none; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.icon[data-icon="chevron"] { --icon: url('assets/icons/chevron-down.svg'); }
.icon[data-icon="instagram"] { --icon: url('assets/icons/instagram.svg'); }
.icon[data-icon="send"] { --icon: url('assets/icons/send.svg'); }
.icon[data-icon="landmark"] { --icon: url('assets/icons/landmark.svg'); }
.icon[data-icon="phone"] { --icon: url('assets/icons/phone.svg'); }
.icon[data-icon="video"] { --icon: url('assets/icons/video.svg'); }
.icon[data-icon="file-check"] { --icon: url('assets/icons/file-check.svg'); }

/* Header */
.head {
  position: sticky; top: 0; z-index: 20; height: var(--head);
  background: var(--head-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.head .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; min-height: 44px; }
.mono { display: block; position: relative; width: 52px; height: 30px; overflow: hidden; border-radius: 4px; flex: none; }
.mono img { position: absolute; width: 128px; height: 128px; max-width: none; left: -38px; top: -14px; }
.mono.lg { width: 104px; height: 60px; }
.mono.lg img { width: 256px; height: 256px; left: -76px; top: -28px; }
.brand-name { font-weight: 700; font-size: 16px; }
.brand-name b { font-weight: inherit; }
.brand-name b { color: var(--accent-text); }
.nav { display: none; gap: 32px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; transition: color 150ms var(--ease); }
.nav a:hover { color: var(--accent-text); }

/* Hero */
.hero { position: relative; padding: 0; min-height: calc(100svh - var(--head)); display: flex; flex-direction: column; justify-content: flex-end; }
.hero .wrap { display: flex; flex-direction: column; padding: 0; }
.hero-media { position: relative; order: -1; aspect-ratio: 1 / 1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero-media::after { content: ''; position: absolute; inset: auto 0 0 0; height: 60%; background: linear-gradient(to bottom, transparent, var(--canvas)); }
.hero-text { position: relative; z-index: 1; margin-top: -90px; padding: 48px var(--pad) 28px; background: linear-gradient(to bottom, rgba(11, 11, 13, 0) 0%, rgba(11, 11, 13, 0.85) 48px, var(--canvas) 100px); }
.eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-text); font-weight: 700; margin-bottom: 12px; }
.hero h1 { font-size: 40px; margin-bottom: 14px; }
.hero .lead { font-size: 15px; max-width: 34ch; margin-bottom: 6px; }
.hero .caption { font-size: 12px; margin-top: 10px; }
.hero-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.hero-actions .btn { width: auto; }
.hero-actions .btn { flex: 1 1 auto; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 48px 1fr; align-items: center; min-height: 72px; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps b { font: var(--display-weight) 32px/1 var(--font-display); color: var(--accent-text); }

/* Tariffs */
.tariffs { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.tariff { position: relative; cursor: default; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "price pick" "codes pick"; align-items: center; column-gap: 12px; row-gap: 2px; min-height: 76px; padding: 12px 12px 12px 18px; background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--r-card); cursor: pointer; transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), background-color 180ms var(--ease); }
.tariff input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tariff .price { grid-area: price; font: var(--display-weight) 26px/1 var(--font-display); transition: color 180ms var(--ease); }
.tariff .codes { grid-area: codes; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tariff .pick { border: 0; cursor: pointer; grid-area: pick; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 104px; min-height: 48px; padding: 0 16px; border-radius: var(--r-ctl); background: var(--accent); color: var(--on-accent); font: 700 14px/1 var(--font-body); white-space: nowrap; transition: background-color 180ms var(--ease), color 180ms var(--ease), transform 150ms var(--ease); }
.tariff:active .pick { transform: scale(0.97); }
.tariff.is-rec { border-color: var(--accent); }
\.tariff.is-checked { border: 2px solid var(--accent); box-shadow: var(--glow); padding-left: 17px; }
\.tariff.is-checked .price { color: var(--accent-text); }
.stepper { grid-area: pick; display: inline-flex; align-items: center; height: 48px; border-radius: var(--r-ctl); background: var(--panel); border: 1px solid var(--line-strong); overflow: hidden; }
.stepper[hidden] { display: none; }
.stepper button { width: 44px; height: 100%; border: 0; background: transparent; color: var(--text); font: 500 22px/1 var(--font-body); cursor: pointer; transition: background-color 150ms var(--ease); }
.stepper button:hover { background: var(--line); }
.stepper .qty { min-width: 32px; text-align: center; font: 700 16px var(--font-body); color: var(--accent-text); }
.tariff .pick[hidden] { display: none; }
.cart { margin-bottom: 16px; }
.cart-empty { font-size: 14px; }
.cart-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name sum" "name step"; align-items: center; column-gap: 12px; row-gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cart-name { grid-area: name; line-height: 1.3; }
.cart-name .muted { display: block; font-size: 13px; }
.cart-row .stepper { grid-area: step; justify-self: end; }
.cart-sum { grid-area: sum; justify-self: end; }
.cart-row .stepper { height: 46px; }
.cart-row .stepper button { width: 44px; font-size: 18px; }
.cart-row .stepper .qty { min-width: 24px; font-size: 15px; }
.cart-sum { font-size: 16px; }
.cart-total { display: flex; justify-content: space-between; align-items: center; padding: 12px 0 4px; font-size: 15px; }
.cart-total b { font: var(--display-weight) 22px/1 var(--font-display); color: var(--accent-text); }
.chip { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.tariffs-note { margin-top: 14px; font-size: 14px; }

/* Checkout */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; }
.panel h2 { font-size: 24px; margin-bottom: 12px; }
.sel { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input { width: 100%; height: 56px; padding: 0 14px; border-radius: var(--r-ctl); background: var(--surface); border: 1px solid var(--line-strong); color: var(--text); font: 400 16px var(--font-body); transition: border-color 150ms var(--ease); }
.field input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.4); }
.field.is-error input { border-color: var(--accent); }
.err { display: none; font-size: 13px; color: var(--accent-text); margin-top: 6px; }
.field.is-error .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 8px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); }
.check a, .faq .a a { color: var(--text); display: inline-block; padding: 12px 0; margin: -12px 0; }
.check.is-error { color: var(--accent-text); }
.check.is-error input { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.banks { margin-top: 16px; }
.banks > .muted { font-size: 14px; margin-bottom: 10px; }
.banks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.bank { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; padding: 8px 4px; border-radius: var(--r-ctl); background: var(--panel); border: 1px solid var(--line-strong); text-decoration: none; font-size: 12px; color: var(--text); }
.bank b { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bank); color: #fff; font: 700 13px/1 var(--font-body); text-transform: lowercase; }
.hint.warn { color: var(--accent-text); margin-top: 8px; font-size: 13px; }
.copyrow { display: flex; gap: 8px; align-items: stretch; }
.copyrow input { flex: 1; min-width: 0; }
.copyrow .btn { width: auto; min-height: 56px; padding: 0 14px; }
.checkout-actions { display: grid; gap: 10px; margin-top: 18px; }
.qr-box { display: none; margin-top: 16px; }
.qr-box .field { margin-top: 16px; }
.qr-box.is-open { display: block; }
.qr-pad { width: 236px; padding: 8px; background: #fff; border-radius: var(--r-ctl); margin: 0 auto; transition: box-shadow 300ms var(--ease); }
.qr-pad.glow { box-shadow: var(--glow); }
.qr-pad canvas { width: 220px; height: 220px; display: block; }
.req { margin-top: 16px; display: grid; gap: 8px; font-size: 13px; }
.req div { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding: 6px 0; }
.req code { font-family: inherit; overflow-wrap: anywhere; min-width: 0; }
.req .btn-text { flex: none; }
.hint { font-size: 14px; margin-top: 16px; }
#paid-link { width: 100%; margin-top: 8px; }
.thanks-note { color: var(--text); margin-top: 16px; padding: 12px 14px; border: 1px solid var(--accent); border-radius: var(--r-ctl); }
.buy-tariffs { margin-bottom: 56px; }

/* Course */
.media { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 5; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.course h2 { margin-top: 24px; }
.modules { list-style: none; margin: 0 0 20px; padding: 0; }
.modules li { display: grid; grid-template-columns: 40px 1fr; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); font-weight: 500; }
.modules b { font: var(--display-weight) 20px/1 var(--font-display); color: var(--accent-text); }

/* Live card */
.live-tag { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.18em; font-weight: 700; margin-bottom: 12px; }
.live-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.live-date { font-size: 32px; margin-bottom: 16px; }
.rules { list-style: none; margin: 0 0 16px; padding: 0; font-size: 15px; }
.rules li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.rules li:first-child { padding-top: 0; }
.socials { display: grid; gap: 10px; }

/* Honesty */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.facts li { display: grid; grid-template-columns: 32px 1fr; gap: 0; align-items: start; }
.facts .icon { margin-top: 2px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; cursor: pointer; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .a { padding: 0 0 16px 12px; font-size: 15px; color: var(--muted); }
.faq .btn-secondary { margin-top: 24px; width: auto; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 12px; color: var(--muted); }
.wordmark { position: relative; width: 180px; height: 25px; overflow: hidden; margin-bottom: 20px; }
.wordmark img { position: absolute; width: 230px; height: 230px; max-width: none; left: -25px; top: -77px; }
.flinks { display: grid; gap: 4px; margin-bottom: 20px; }
.flinks a { color: var(--text); font-size: 15px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.flinks a:hover { color: var(--accent-text); }
footer p { margin-bottom: 8px; }
footer p a { color: var(--muted); display: inline-block; padding: 14px 0; margin: -14px 0; }

/* Sticky */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 8px var(--pad) calc(8px + env(safe-area-inset-bottom)); background: var(--head-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transition: transform 250ms var(--ease), opacity 250ms var(--ease); }
.sticky.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
.sticky .btn span { transition: opacity 120ms var(--ease); font-size: 15px; }

/* Thank you */
.thanks { min-height: calc(100svh - var(--head)); display: flex; align-items: center; }
.thanks h1 { font-size: 32px; margin: 20px 0 16px; }
.thanks p { margin-bottom: 8px; }
.thanks .btn { margin-top: 10px; }
.thanks .mono.lg { margin-bottom: 4px; }
.thanks p { overflow-wrap: anywhere; }

/* Hero entrance (JS adds .play) */
.hero.play .hero-media { animation: fade 600ms var(--ease) both; }
.hero.play .hero-text > * { animation: rise 650ms var(--ease) both; }
.hero.play .hero-text > :nth-child(2) { animation-delay: 80ms; }
.hero.play .hero-text > :nth-child(3) { animation-delay: 160ms; }
.hero.play .hero-text > :nth-child(n + 4) { animation-delay: 240ms; }
.thanks.play > * > * { animation: rise 650ms var(--ease) both; }
.thanks.play > * > :nth-child(2) { animation-delay: 80ms; }
.thanks.play > * > :nth-child(3) { animation-delay: 160ms; }
.thanks.play > * > :nth-child(n + 4) { animation-delay: 240ms; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes glow { from { box-shadow: 0 0 0 rgba(225, 6, 0, 0); } to { box-shadow: var(--glow); } }
@media (prefers-reduced-motion: reduce) {
  .hero.play *, .thanks.play * { animation: none !important; }
  .btn, .tariff, .sticky, .faq summary .icon { transition: none; }
}
@media (hover: none) { .btn-primary:hover { background: var(--accent); } }

/* Medium */
@media (min-width: 640px) {
  section { padding: 72px 0; }
  .nav { display: flex; }
  .sticky { display: none; }
  body.has-sticky { padding-bottom: 0; }
  .hero { min-height: auto; display: block; padding-top: 32px; }
  .hero-media { position: static; order: 0; height: auto; aspect-ratio: 1 / 1; max-width: 560px; border-radius: var(--r-card); margin: 0 auto; }
  .hero-media::after { display: none; }
  .hero-media::before { display: none; }
  .hero-media { border: 3px solid var(--accent); box-shadow: var(--glow); }
  .hero-media img { object-position: 50% 50%; }
  .hero .wrap { padding: 0 var(--pad); }
  .hero-text { margin-top: 0; padding-top: 28px; padding-bottom: 28px; background: none; }
  .hero-actions .btn { flex: 0 0 auto; }
  .steps { grid-template-columns: repeat(3, 1fr); display: grid; gap: 24px; }
  .steps li { display: block; border: 0; min-height: 0; }
  .steps b { display: block; font-size: 48px; margin-bottom: 8px; }
  .modules { columns: 2; column-gap: 24px; }
  .modules li { break-inside: avoid; }
  .socials { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .checkout-actions { grid-template-columns: 1fr 1fr; }
  .checkout-actions .btn-text { grid-column: 1 / -1; }
  .flinks { grid-template-columns: repeat(3, auto); justify-content: start; gap: 24px; }
  .media { aspect-ratio: 16 / 9; }
}

/* Expanded */
@media (min-width: 1024px) {
  section { padding: 72px 0; }
  h2 { font-size: 36px; margin-bottom: 28px; }
  /* Hero: фото на весь екран, текст поверх */
  .hero { position: relative; min-height: calc(100vh - var(--head)); display: flex; align-items: center; padding: 0; overflow: hidden; }
  .hero .wrap { position: static; display: block; }
  .hero-text { position: relative; z-index: 1; }
  .hero-media { position: absolute; inset: 0 0 0 auto; margin: 0; width: 46%; max-width: none; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; }
  .hero-media img { object-fit: contain; object-position: 100% 50%; }
  .hero-media::after { display: block; inset: 0; height: 100%; background: linear-gradient(to right, var(--canvas) 0%, transparent 12%), linear-gradient(to top, var(--canvas) 0%, transparent 18%); }
  .hero-media::before { display: none; }
  .hero-text { padding: 0; max-width: 640px; }
  .hero h1 { font-size: 72px; max-width: 640px; }
  .hero .lead { font-size: 19px; max-width: 42ch; }
  /* Як це працює: 3 широкі колонки */
  #how_it_works .wrap { max-width: 1120px; }
  .steps { gap: 32px; }
  .steps li { padding: 28px 28px 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
  .steps b { font-size: 72px; margin-bottom: 16px; }
  .steps li p { font-size: 19px; }
  /* Тарифи + оплата на одному екрані */
  .buy-grid { display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 48px; align-items: start; }
  .buy-tariffs { margin-bottom: 0; }
  .tariffs { grid-template-columns: 1fr; gap: 10px; }
  .tariff { grid-template-columns: 1fr auto; grid-template-areas: "price pick" "codes pick"; row-gap: 2px; padding: 16px 16px 16px 22px; min-height: 84px; align-content: center; }
  .tariff .price { font-size: 30px; }
  .tariff .codes { margin-bottom: 0; font-size: 15px; }
  .tariff .pick { width: auto; min-width: 120px; min-height: 52px; }
  .checkout { position: sticky; top: calc(var(--head) + 24px); }
  .checkout .col { max-width: none; }
  /* Курс */
  .course .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
  .course .media { aspect-ratio: 4 / 5; }
  .course h2 { margin-top: 0; }
  .modules { columns: 1; }
  .modules li { min-height: 64px; font-size: 18px; }
  .course .btn { width: auto; }
  /* Ефір: дві колонки всередині панелі */
  .live-panel { max-width: none; display: grid; grid-template-columns: 5fr 7fr; gap: 48px; padding: 40px; }
  .live-date { font-size: 56px; margin-bottom: 0; }
  .rules { font-size: 17px; }
  .live-body .socials { grid-template-columns: 1fr; }
  /* Чесність: 4 в ряд */
  #honesty .wrap { max-width: 1120px; }
  .facts { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .facts li { grid-template-columns: 1fr; gap: 14px; }
  .facts .icon { width: 28px; height: 28px; color: var(--accent-text); }
  /* FAQ: 2 колонки */
  .faq .wrap { max-width: 1120px; }
  .faq-list { columns: 2; column-gap: 48px; }
  .faq details { break-inside: avoid; }
  footer .wrap { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .flinks { grid-template-columns: 1fr; gap: 4px; }
}

/* Legal pages (оферта, політика) */
.legal-page h1 { font-size: 28px; margin-bottom: 12px; }
.legal-page .lead { font-size: 16px; max-width: 640px; }
.legal-page .updated { font-size: 13px; margin: 8px 0 28px; }
.legal-page .eyebrow { margin-top: 24px; }
.legal-grid { display: grid; gap: 32px; align-items: start; }
.toc { display: grid; gap: 2px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.toc a { font-size: 14px; color: var(--muted); text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
.toc a:hover { color: var(--accent-text); }
.legal-body { display: grid; gap: 16px; }
.legal-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; scroll-margin-top: calc(var(--head) + 16px); }
.legal-card h3 { font-size: 16px; margin-bottom: 8px; }
.legal p, .legal li { margin: 10px 0 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
.legal ul { margin: 6px 0 0; padding-left: 20px; }
.legal b, .legal strong { color: var(--text); }
.legal a { color: var(--accent-text); word-break: break-word; }
@media (min-width: 1024px) {
  .legal-page h1 { font-size: 40px; }
  .legal-grid { grid-template-columns: 260px minmax(0, 1fr); }
  .toc { position: sticky; top: calc(var(--head) + 16px); }
}
