/* ============================================================================
   main.css — Zotabet (DE).
   ----------------------------------------------------------------------------
   Третья система в портфеле, а не вариация предыдущих двух. Отличия заданы
   намеренно, чтобы сайты не читались как одна сетка:
     • дисплейная гарнитура — МОНОШИРИННАЯ (JetBrains Mono), тело — Inter.
       У соседей наоборот: гротеск на всё либо Inter на всё;
     • база тёмно-зелёные чернила с янтарным акцентом, не чёрный с оранжевым
       и не бумага с малиновым;
     • макет — широкие полосы на всю ширину с чередованием чернил и бумаги,
       а не колонка с липкой карточкой;
     • навигация — липкая сегментированная лента сверху, не нижняя панель
       и не боковой рельс;
     • форма — срезанный угол (clip-path), а не скругление и не прямой угол;
     • каскад без @layer, другая структура файла.
   ========================================================================== */

/* шрифты: оба self-hosted, внешних запросов нет */
@font-face {
  font-family: "Mono"; src: url("/fonts/mono-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter"; src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Inter"; src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+20A0-20AB, U+2C60-2C7F;
}

:root {
  color-scheme: dark light;

  /* чернила с зеленью, янтарь как действие, холодная мята как второй сигнал */
  --paper:      #0c1310;
  --paper-2:    #121b17;
  --card:       #16211c;
  --ink:        #070b09;
  --ink-text:   #eef3ef;
  --text:       #e8efe9;
  --text-soft:  #9bb0a4;
  --hush:       #5d7268;      /* приглушённые слова в двухтонном заголовке */
  --rule:       #24342c;
  --rule-hard:  #375043;

  --amber:      #f5b301;      /* действие */
  --amber-ink:  #140e00;
  --amber-text: #f5b301;
  --mint:       #4fd1a5;      /* подтверждение, «да» */
  --chili:      #ff5a3c;      /* предупреждение, «нет» */

  --font-display: "Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-text:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --step--1: 0.8125rem;
  --step-0:  1rem;
  --step-1:  clamp(1.125rem, 1.6vw, 1.375rem);
  --step-2:  clamp(1.5rem, 3vw, 2.25rem);
  --step-3:  clamp(2rem, 5.2vw, 3.75rem);

  --gap-1: .25rem; --gap-2: .5rem; --gap-3: 1rem;
  --gap-4: 1.5rem; --gap-5: 2.5rem; --gap-6: 4rem;
  --band: clamp(3.5rem, 9vw, 7rem);
  --edge: clamp(1rem, 4vw, 3rem);
  --max: 72rem;
  --cut: 14px;                /* срез угла — фирменная форма этого сайта */
}

@media (prefers-color-scheme: light) {
  :root {
    --paper:   #f3f1ea;
    --paper-2: #e9e6dc;
    --card:    #ffffff;
    --ink:     #0c1310;
    --ink-text:#f3f1ea;
    --text:    #15201a;
    --text-soft:#4a5b51;
    --hush:    #9bada2;
    --rule:    #ddd8cb;
    --rule-hard:#bdb6a4;
    --amber:   #c98a00;
    --amber-ink:#fffaf0;
    --amber-text:#8a5e00;
    --mint:    #0f8f67;
    --chili:   #c0391f;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--font-text); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* заголовки моноширинные: крупно, плотно, капсом на верхнем уровне */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0 0 var(--gap-3); }
h1 { font-size: var(--step-3); line-height: 1.02; letter-spacing: -0.03em; text-transform: uppercase; }
h2 { font-size: var(--step-2); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-size: var(--step-1); line-height: 1.25; letter-spacing: -0.01em; }
p  { margin: 0 0 var(--gap-3); }
a  { color: var(--amber-text); text-underline-offset: 3px; }
img, svg { max-width: 100%; height: auto; display: block; }
table { border-collapse: collapse; width: 100%; }
th { text-align: left; }
:where(a, button, input, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--amber); outline-offset: 3px;
}

.hush { color: var(--hush); }
.soft { color: var(--text-soft); }
.sr   { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ---- полосы вместо колонок: страница читается горизонтальными слоями ---- */
.band { padding-block: var(--band); }
.band--ink { background: var(--ink); color: var(--ink-text); }
.band--raise { background: var(--paper-2); }
.inner { width: min(100% - 2 * var(--edge), var(--max)); margin-inline: auto; }
.inner--wide { width: min(100% - 2 * var(--edge), 86rem); margin-inline: auto; }

/* ---- служебная подпись: моно, капс, с номером ---- */
.tag {
  font-family: var(--font-display); font-size: var(--step--1); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: var(--amber-text);
  display: flex; align-items: center; gap: var(--gap-3); margin: 0 0 var(--gap-4);
}
.tag::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

/* ---- кнопка со срезанным углом ---- */
.act {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--gap-2);
  min-height: 50px; padding: 0 var(--gap-5);
  font-family: var(--font-display); font-size: var(--step--1); font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; text-decoration: none;
  background: var(--amber); color: var(--amber-ink); border: 0; cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: filter .15s, transform .1s;
}
.act:hover { filter: brightness(1.08); }
.act:active { transform: translateY(1px); }
.act--quiet {
  background: transparent; color: var(--text);
  box-shadow: inset 0 0 0 1px var(--rule-hard);
}
.act--wide { width: 100%; }

/* ---- карточка со срезом ---- */
.slab {
  background: var(--card); padding: var(--gap-4);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.band--ink .slab { background: rgb(255 255 255 / .06); }

/* ---- таблица фактов ---- */
.facts { display: grid; gap: var(--gap-3); margin: 0; }
@media (min-width: 48rem) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-4); } }
.facts__row { display: flex; justify-content: space-between; gap: var(--gap-3);
  padding-block: var(--gap-2); border-bottom: 1px solid var(--rule); }
.facts dt { font-family: var(--font-display); font-size: var(--step--1); text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-soft); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

/* ---- данные ---- */
.grid-table { font-size: var(--step--1); }
.grid-table th, .grid-table td { padding: var(--gap-3); border-bottom: 1px solid var(--rule); vertical-align: top; }
.grid-table thead th { font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .1em; color: var(--amber-text); }
.grid-table .num { font-family: var(--font-display); font-weight: 700; white-space: nowrap; }
.grid-table .why { color: var(--text-soft); }
@media (max-width: 44rem) {
  .grid-table, .grid-table tbody, .grid-table tr, .grid-table td, .grid-table th { display: block; }
  .grid-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .grid-table tr { background: var(--card); margin-bottom: var(--gap-3); padding: var(--gap-3); }
  .grid-table td, .grid-table th { border: 0; padding: var(--gap-1) 0; }
  .grid-table td::before { content: attr(data-label) " · "; font-family: var(--font-display);
    font-size: var(--step--1); text-transform: uppercase; letter-spacing: .08em; color: var(--text-soft); }
}

/* ---- вопрос-ответ ---- */
.qa { border-bottom: 1px solid var(--rule); }
.qa summary { cursor: pointer; list-style: none; padding-block: var(--gap-3);
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-1);
  display: flex; justify-content: space-between; gap: var(--gap-3); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "[+]"; color: var(--amber-text); }
.qa[open] summary::after { content: "[–]"; }
.qa__a { color: var(--text-soft); padding-bottom: var(--gap-3); margin: 0; max-width: 64ch; }

/* ---- 18+ ---- */
.warn { display: flex; gap: var(--gap-3); align-items: flex-start;
  font-family: var(--font-display); font-size: var(--step--1); line-height: 1.6;
  color: var(--text-soft); margin-block: var(--gap-4); }
.warn__age { flex: none; font-weight: 700; color: var(--text);
  padding: 2px var(--gap-2); box-shadow: inset 0 0 0 1px currentColor; }

/* ---- проявление по скроллу со страховкой ---- */
.js .lift { opacity: 0; transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
  animation: lift-failsafe .01s linear 4s forwards; }
.js .lift.seen { opacity: 1; transform: none; }
@keyframes lift-failsafe { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .lift { opacity: 1; transform: none; } }

/* ---- липкая сегментированная лента: третий тип навигации в портфеле ----
   У соседних проектов нижняя панель и боковой рельс. Здесь — полоса под
   шапкой, которая прилипает к верху и подсвечивает текущий раздел. */
.segs {
  position: sticky; top: 0; z-index: 60;
  background: var(--ink); border-bottom: 1px solid var(--rule);
}
.segs__row {
  display: flex; gap: 0; overflow-x: auto; scrollbar-width: none;
  width: min(100% - 2 * var(--edge), var(--max)); margin-inline: auto;
}
.segs__row::-webkit-scrollbar { display: none; }
.seg {
  flex: 1 0 auto; min-height: 52px; display: inline-flex; align-items: center; gap: var(--gap-2);
  justify-content: center; padding: 0 var(--gap-4); text-decoration: none;
  font-family: var(--font-display); font-size: var(--step--1); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-text); opacity: .68; white-space: nowrap;
  border-bottom: 3px solid transparent; transition: opacity .15s, border-color .15s, background .15s;
}
.seg:hover, .seg:focus-visible { opacity: 1; background: rgb(255 255 255 / .06); }
.seg[aria-current] { opacity: 1; border-bottom-color: var(--amber); }
.seg__dot { width: 6px; height: 6px; background: currentColor; flex: none; }

/* ---- шапка: имя слева, кнопка справа, без второго меню ---- */
.top { background: var(--ink); color: var(--ink-text); }
.top__row { display: flex; align-items: center; gap: var(--gap-4);
  min-height: 72px; padding-block: var(--gap-3); flex-wrap: wrap; }
.mark { display: flex; align-items: baseline; gap: var(--gap-2); text-decoration: none; color: inherit; }
.mark__name { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1);
  letter-spacing: -0.02em; text-transform: uppercase; }
.mark__note { font-family: var(--font-text); font-size: var(--step--1); color: var(--text-soft); }
.top__act { margin-inline-start: auto; }

/* ---- подвал ---- */
.foot { background: var(--ink); color: var(--ink-text); margin-top: var(--band); }
.foot__cols { display: grid; gap: var(--gap-4); padding-block: var(--gap-6) var(--gap-4);
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.foot__head { font-family: var(--font-display); font-size: var(--step--1); text-transform: uppercase;
  letter-spacing: .12em; color: var(--amber-text); margin-bottom: var(--gap-3); }
.foot__links { list-style: none; margin: 0; padding: 0; font-size: var(--step--1); }
.foot__links a { color: var(--ink-text); text-decoration: none; display: inline-flex;
  min-height: 40px; align-items: center; }
.foot__links a:hover { color: var(--amber); }
.foot__legal { display: flex; flex-wrap: wrap; gap: var(--gap-3); align-items: center;
  border-top: 1px solid rgb(255 255 255 / .12); padding-block: var(--gap-4) var(--gap-6);
  font-family: var(--font-display); font-size: var(--step--1); line-height: 1.7; color: var(--text-soft); }
.foot__legal a { color: var(--amber); }

/* ---- симулятор лимита: третий тип интерактива в портфеле ----
   У соседей проверка домена по реестру и калькулятор оборота. Здесь —
   сравнение «с немецким лимитом и без», потому что это и есть главный
   практический разрыв между лицензированным и нелицензированным предложением. */
.sim__head { display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: baseline; gap: var(--gap-2); }
.sim__head label { font-family: var(--font-display); font-size: var(--step--1);
  text-transform: uppercase; letter-spacing: .1em; color: var(--text-soft); }
.sim__out { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2);
  color: var(--amber); letter-spacing: -0.02em; }
.sim__range { width: 100%; height: 44px; margin-block: var(--gap-3); accent-color: var(--amber); }
.sim__grid { display: grid; gap: var(--gap-3); grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  border-top: 1px solid var(--rule); padding-top: var(--gap-4); }
.sim__cell { display: grid; gap: var(--gap-1); align-content: start; }
.sim__label { font-family: var(--font-display); font-size: var(--step--1); text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-soft); margin: 0; }
.sim__value { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1);
  margin: 0; letter-spacing: -0.01em; }
.sim__cell:first-child .sim__value { color: var(--mint); }
.sim__cell:nth-child(2) .sim__value { color: var(--chili); }
.sim__hint { font-size: var(--step--1); color: var(--text-soft); margin: 0; line-height: 1.5; }
.lead-text { font-size: var(--step-1); line-height: 1.5; color: var(--ink-text); max-width: 56ch;
  margin-bottom: var(--gap-5); }
.band--ink .facts dt { color: var(--text-soft); }
.band--ink .facts__row { border-bottom-color: rgb(255 255 255 / .14); }
.slab + .slab { margin-top: var(--gap-3); }
.slab h3 { margin-bottom: var(--gap-1); }
.slab .soft { font-family: var(--font-display); font-size: var(--step--1); text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: var(--gap-3); }

/* ---- закреплённая связка «шапка + лента» ----
   Меню не должно исчезать при скролле: имя, кнопка и разделы едут вместе.
   При прокрутке блок ужимается — подпись под именем прячется, высота падает,
   чтобы на телефоне не съедать экран. Класс вешает скрипт, inline-стилей нет. */
.chrome { position: sticky; top: 0; z-index: 70; }
.chrome .segs { position: static; }
.top__row { transition: min-height .18s ease; }
.mark__note { transition: opacity .18s ease; }
.chrome.is-stuck { box-shadow: 0 10px 30px rgb(0 0 0 / .35); }
.chrome.is-stuck .top__row { min-height: 54px; }
.chrome.is-stuck .mark__note { display: none; }
.chrome.is-stuck .seg { min-height: 46px; }
@media (max-width: 47.99rem) {
  .top__row { min-height: 60px; }
  .mark { flex-direction: column; gap: 0; }
  .chrome.is-stuck .top__row { min-height: 48px; }
  .chrome.is-stuck .act { min-height: 40px; padding: 0 var(--gap-3); }
}
@media (prefers-reduced-motion: reduce) {
  .top__row, .mark__note { transition: none; }
}

/* ---- ряды кнопок ---- */
.acts { display: flex; flex-wrap: wrap; gap: var(--gap-3); margin-block: var(--gap-5) 0; }

/* ---- поведение кнопки: срез перескакивает с угла на угол ----
   Третий характер в портфеле: у соседей зеркальный блик и дыхание.
   Здесь работает фирменная форма сайта — вырез живёт, а по нижней кромке
   время от времени проходит янтарная черта. Всё на CSS, без JS. */
.act {
  position: relative; overflow: hidden;
  animation: cut-flip 7s steps(1, end) infinite;
}
.act::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: currentColor; opacity: .55;
  transform: scaleX(0); transform-origin: left center;
  animation: cut-sweep 7s ease-in-out infinite;
}
.act--quiet::after { background: var(--amber); opacity: .9; }
@keyframes cut-flip {
  0%, 49.9% { clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
  50%, 100% { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
}
@keyframes cut-sweep {
  0%, 60% { transform: scaleX(0); transform-origin: left center; }
  72% { transform: scaleX(1); transform-origin: left center; }
  73% { transform: scaleX(1); transform-origin: right center; }
  88%, 100% { transform: scaleX(0); transform-origin: right center; }
}
.act:hover::after { animation: none; transform: scaleX(1); transform-origin: left center; }
@media (prefers-reduced-motion: reduce) {
  .act, .act::after { animation: none; }
  .act::after { display: none; }
}

/* на узком экране связка не должна съедать треть экрана:
   имя и кнопка в одну строку, пояснение под именем прячем */
@media (max-width: 47.99rem) {
  .top__row { flex-wrap: nowrap; gap: var(--gap-3); }
  .mark__note { display: none; }
  .mark__name { font-size: var(--step-0); }
  .top__act { font-size: 11px; padding: 0 var(--gap-3); min-height: 42px; }
  .seg { padding: 0 var(--gap-3); min-height: 48px; }
}

/* ---- КОНТРАСТ НА ЧЕРНИЛЬНЫХ ПОЛОСАХ ----
   Шапка, подвал и тёмные полосы остаются тёмными в обеих темах. Значит
   внутри них действуют свои значения токенов, иначе в светлой теме
   «тёмный текст» ложится на тёмный фон. Переопределяем на уровне блока —
   все вложенные компоненты подхватывают автоматически. */
.band--ink, .top, .foot, .segs {
  --text:      #eef3ef;
  --text-soft: #a9bdb2;
  --hush:      #7e9488;
  --rule:      rgb(255 255 255 / .16);
  --rule-hard: rgb(255 255 255 / .34);
  --card:      rgb(255 255 255 / .07);
  --amber-text:#f7c53a;
  --mint:      #6fe0bb;
  --chili:     #ff7a5e;
  color: var(--text);
}
.band--ink .act--quiet, .top .act--quiet, .foot .act--quiet { color: var(--text); }
.band--ink .lead-text { color: var(--text); }

/* ---- ПЛИТКИ ИГР ----
   Срез показывал фон страницы — в светлой теме это читалось как белые уголки.
   Поэтому плитка двухслойная: внешний слой чернильный и работает рамкой
   толщиной 2px, включая саму диагональ среза; внутренний повторяет форму.
   Рамка рисуется формой, а не border: у border нет скоса. */
.tiles {
  display: grid; gap: var(--gap-3); margin-top: var(--gap-5);
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
}
.tile {
  background: var(--ink);            /* это и есть рамка */
  padding: 2px;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: clip-path .2s ease, background .2s ease;
}
.tile__link {
  display: grid; grid-template-rows: auto 1fr; position: relative;
  text-decoration: none; color: var(--text); height: 100%;
  background: var(--card);
  clip-path: polygon(calc(var(--cut) - 2px) 0, 100% 0, 100% calc(100% - var(--cut) + 2px), calc(100% - var(--cut) + 2px) 100%, 0 100%, 0 calc(var(--cut) - 2px));
  transition: clip-path .2s ease, background .2s ease;
}
.tile__art {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block;
  background: var(--ink); transition: transform .3s ease, filter .3s ease;
  filter: saturate(.92);
}
.tile__kind {
  position: absolute; inset-block-start: var(--gap-3); inset-inline-start: var(--gap-3);
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  background: var(--amber); color: var(--amber-ink); padding: 3px var(--gap-2);
}
.tile__body { display: grid; gap: 2px; padding: var(--gap-3) var(--gap-4) var(--gap-4); }
.tile__name {
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-0);
  letter-spacing: -0.01em; line-height: 1.25;
}
.tile__house { font-size: var(--step--1); color: var(--text-soft); }
.tile__go {
  position: absolute; inset-block-end: var(--gap-3); inset-inline-end: var(--gap-3);
  font-family: var(--font-display); color: var(--amber-text); opacity: 0;
  transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease;
}
/* наведение: срез перескакивает у обоих слоёв разом, рамка остаётся цельной */
.tile:hover, .tile:focus-within {
  background: var(--amber);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.tile:hover .tile__link, .tile:focus-within .tile__link {
  background: var(--paper-2);
  clip-path: polygon(0 0, calc(100% - var(--cut) + 2px) 0, 100% calc(var(--cut) - 2px), 100% 100%, calc(var(--cut) - 2px) 100%, 0 calc(100% - var(--cut) + 2px));
}
.tile:hover .tile__art, .tile:focus-within .tile__art { transform: scale(1.04); filter: saturate(1.05); }
.tile:hover .tile__go, .tile:focus-within .tile__go { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .tile, .tile__link, .tile__art, .tile__go { transition: none; }
}

/* ---- ЗНАКИ ----
   Рубленый набор под моноширинную типографику: прямые концы штриха,
   угловые соединения, толщина 2. У соседних проектов набор мягкий —
   здесь он намеренно жёсткий, как и вся форма этого сайта. */
.ic { width: 18px; height: 18px; flex: none; display: block; }
.seg .ic { width: 16px; height: 16px; opacity: .9; }
.act .ic { width: 16px; height: 16px; }
.h-ic { display: flex; align-items: center; gap: var(--gap-2); }
.h-ic .ic { width: 20px; height: 20px; color: var(--amber-text); }
.foot__legal .ic { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; margin-inline-end: 6px; }
.foot__legal a { display: inline-flex; align-items: center; }

/* ---- текстовая подстраница ---- */
.readable { max-width: 70ch; }
.readable p { max-width: 68ch; }
.readable h2 { margin-top: var(--gap-6); }
.lead-page { font-size: var(--step-1); line-height: 1.55; color: var(--text); margin-bottom: var(--gap-5); }
.trail { font-family: var(--font-display); font-size: var(--step--1); text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-soft); margin-bottom: var(--gap-4); }
.trail a { color: var(--amber-text); text-decoration: none; }
.ticks { list-style: none; margin: 0 0 var(--gap-4); padding: 0; }
.ticks li { position: relative; padding-inline-start: var(--gap-4); padding-block: var(--gap-2);
  border-bottom: 1px solid var(--rule); }
.ticks li::before { content: "—"; position: absolute; inset-inline-start: 0; color: var(--amber-text);
  font-family: var(--font-display); }
.page-links { list-style: none; margin: var(--gap-4) 0 0; padding: 0; display: grid; gap: var(--gap-2); }
.page-links a { display: block; padding: var(--gap-3) var(--gap-4); background: var(--card);
  color: var(--text); text-decoration: none; font-size: var(--step--1); line-height: 1.5;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background .15s ease, clip-path .2s ease; }
.page-links b { font-family: var(--font-display); font-size: var(--step-0); display: block; }
.page-links a:hover, .page-links a:focus-visible { background: var(--paper-2);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }

/* описание игры в плитке и строка вердикта под H1 */
.tile__note { font-size: var(--step--1); color: var(--text-soft); line-height: 1.5; margin-top: var(--gap-2); }
.tile__art--blank { display: block; width: 100%; aspect-ratio: 16/10;
  background: repeating-linear-gradient(135deg, var(--paper-2) 0 12px, var(--card) 12px 24px); }
.verdict-line { font-size: var(--step-1); line-height: 1.45; color: var(--text);
  border-inline-start: 3px solid var(--amber); padding-inline-start: var(--gap-3);
  margin-bottom: var(--gap-5); max-width: 62ch; }
