@import url(/fonts/fonts.css);

:root {
  --paper: #f2f2ee;
  --paper-2: #e9e9e3;
  --ink: #161616;
  --ink-2: #3a3a38;
  --mute: #74746e;
  --line: #d3d3cc;
  --sun: #e05f16;
  --display: "Unbounded", "Helvetica Neue", Arial, sans-serif;
  --sans: "Golos Text", "Helvetica Neue", Arial, sans-serif;
  --band-bg: #161616;
  --band-fg: #f2f2ee;
  --band-soft: #d9d9d3;
  --band-mute: #9a9a95;
  --band-line: #3a3a3a;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
}

/* Тёмные страницы: подкаст и музыка */
body.dark {
  --paper: #131312;
  --paper-2: #1c1c1a;
  --ink: #f2f2ee;
  --ink-2: #cdcdc6;
  --mute: #8b8b84;
  --line: #34343100;
  --band-bg: #0a0a09;
  --band-line: #2a2a27;
}
body.dark { --line: #343431; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--mute); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1em; max-width: 62ch; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; line-height: 1.02; margin: 0; letter-spacing: -0.035em; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Шапка */
.top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0 0; position: relative; z-index: 3; }
.top .name { font-family: var(--display); font-weight: 400; font-size: 17px; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.top nav { display: flex; gap: 26px; font-size: 15px; }
.top nav a { text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid transparent; white-space: nowrap; }
.top nav a[aria-current] { border-bottom-color: currentColor; }
.top nav a:hover { border-bottom-color: var(--line); }
/* Мобильное меню */
.burger { display: none; width: 34px; height: 26px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 4px; right: 4px; height: 1.5px; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
.burger span:first-child { top: 9px; }
.burger span:last-child { top: 16px; }
.top.open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.top.open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 720px) {
  .top { padding-top: 14px; }
  .top .name { font-size: 14px; }
  .burger { display: block; }
  .top nav {
    position: absolute; top: calc(100% + 14px); right: 0; left: 0; z-index: 5;
    flex-direction: column; gap: 0; display: none;
    background: var(--paper); color: var(--ink); padding: 4px 0;
    border: 1px solid var(--line); box-shadow: 0 22px 48px rgba(0, 0, 0, .22);
  }
  .top.open nav { display: flex; }
  .top nav a, .over .top nav a {
    color: var(--ink); padding: 14px 20px; font-size: 16px; border-bottom: 0; text-shadow: none;
  }
  .top nav a + a { border-top: 1px solid var(--line); }
  .top nav a[aria-current], .over .top nav a[aria-current] { color: var(--sun); font-weight: 500; }
}

/* Шапка поверх слайдера */
.over { position: relative; }
.over .top::before {
  content: ""; position: absolute; left: calc(50% - 50vw); width: 100vw; top: -20px; bottom: -22px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .45) 52%, transparent 100%);
  pointer-events: none; z-index: -1;
}
.over .top {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(100% - 2 * var(--gutter), var(--max)); color: var(--band-fg);
}
.over .top a { color: var(--band-fg); text-shadow: 0 1px 14px rgba(0,0,0,.75); }
.over .top nav a:hover { border-bottom-color: rgba(242,242,238,.6); }

/* Хиро-слайдер */
.hero { position: relative; height: 100svh; min-height: 520px; overflow: hidden; background: var(--ink); }
.hero .slides { position: absolute; inset: -7% 0; will-change: transform; }
.hero video.slide { object-fit: cover; background: #14121a; z-index: 1; transition: opacity .6s ease; }
.hero video.slide.gone { opacity: 0; }
.hero.clip { width: 100%; height: auto; aspect-ratio: 16 / 9; min-height: 0; }
.hero.clip .slide { object-fit: cover; background: #14121a; }
.hero.clip::after {
  background: linear-gradient(to bottom, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,0) 62%, rgba(0,0,0,.52) 86%, rgba(0,0,0,.78) 100%);
}
.hero.clip .hero-text::before {
  background: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .28) 46%, transparent 86%);
  top: -22px; bottom: -28px;
}
.hero.clip h1 { font-size: clamp(24px, 3.4vw, 52px); }
.hero .slide, .hero video.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; opacity: 0; transition: opacity 1.4s ease; }
.hero .slide.on { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.12) 22%, rgba(0,0,0,0) 40%, rgba(0,0,0,.88) 100%);
}
.hero .hero-text { position: absolute; left: 0; right: 0; bottom: clamp(38px, 6.5vh, 78px); z-index: 2; color: var(--band-fg); text-shadow: 0 2px 26px rgba(0, 0, 0, .7); }
.hero .hero-text::before {
  content: ""; position: absolute; left: calc(50% - 50vw); width: 100vw;
  top: -34px; bottom: -44px; z-index: -1; pointer-events: none;
  background: linear-gradient(to right, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .66) 46%, rgba(0, 0, 0, .18) 82%, transparent 100%);
}
.hero h1 { font-size: clamp(30px, 5.6vw, 88px); font-weight: 300; line-height: 0.94; letter-spacing: -0.05em; margin-bottom: 0.3em; }
.hero .role { font-size: clamp(15px, 1.4vw, 19px); max-width: 52ch; margin: 0; color: rgba(242,242,238,.93); }
.hero .dots { position: absolute; left: 0; right: 0; bottom: clamp(16px, 2.6vh, 28px); z-index: 2; display: flex; gap: 8px; justify-content: flex-end; }
.hero .dots button { width: 38px; height: 2px; border: 0; padding: 0; cursor: pointer; background: rgba(242,242,238,.35); }
.hero .dots button[aria-current="true"] { background: var(--band-fg); }
.hero .dots button:focus-visible { outline: 2px solid var(--band-fg); outline-offset: 4px; }
.hero.short { height: 86svh; min-height: 520px; }
.hero.short::after {
  background:
    linear-gradient(to right, rgba(0,0,0,.72) 0%, rgba(0,0,0,.34) 48%, rgba(0,0,0,0) 80%),
    linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.08) 24%, rgba(0,0,0,.62) 56%, rgba(0,0,0,.97) 84%, #000 100%);
}
.hero.short h1 { font-size: clamp(32px, 5.6vw, 84px); }
.hero.sun h1 { color: var(--band-fg); }
@media (max-width: 720px) {
  .hero { height: 88svh; }
  .hero.short { height: 68svh; min-height: 400px; }
  /* заставка: кадр сверху, заголовок под ним, ничего не перекрывается */
  .hero.clip { aspect-ratio: auto; height: auto; display: flex; flex-direction: column; background: var(--band-bg); }
  .hero.clip .slides { position: relative; inset: auto; aspect-ratio: 16 / 9; width: 100%; transform: none !important; }
  .hero.clip::after { display: none; }
  .hero.clip .hero-text { position: static; padding: 22px 0 26px; text-shadow: none; }
  .hero.clip .hero-text::before { display: none; }
  .hero.clip h1 { font-size: clamp(26px, 8vw, 40px); }
  .hero.clip .role { color: var(--band-soft); }
}
@media (prefers-reduced-motion: reduce) { .hero .slide { transition: none; } }

/* Три дорожки */
.tracks { border-top: 1px solid var(--ink); margin-top: 72px; }
.track { display: grid; grid-template-columns: 260px 1fr auto; gap: 32px; align-items: baseline; padding: 38px 0; border-bottom: 1px solid var(--line); }
.track h2 { font-size: clamp(22px, 2.3vw, 32px); }
.track p { margin: 0; max-width: 58ch; }
.track .links { display: flex; flex-direction: column; gap: 6px; font-size: 15px; white-space: nowrap; }
.track[data-t="voice"] h2 { color: var(--sun); }
@media (max-width: 860px) { .track { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; } .track .links { flex-direction: row; flex-wrap: wrap; gap: 14px; } }

/* Плёнка */
.reel { margin-top: 84px; }
.reel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.reel-head h2 { font-size: clamp(22px, 2.3vw, 32px); }
.reel-head .hint { color: var(--mute); font-size: 14px; }
.film {
  --hole: 12px; display: flex; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; cursor: grab;
  color: var(--band-fg); padding: 24px 0; gap: 14px; scrollbar-width: none; position: relative;
  background-color: var(--band-bg);
  background-image:
    repeating-linear-gradient(90deg, transparent 0 14px, rgba(242, 242, 238, .82) 14px 30px, transparent 30px 44px),
    repeating-linear-gradient(90deg, transparent 0 14px, rgba(242, 242, 238, .82) 14px 30px, transparent 30px 44px);
  background-size: 44px 11px, 44px 11px;
  background-position: 0 7px, 0 calc(100% - 7px);
  background-repeat: repeat-x, repeat-x;
  width: 100vw; margin-left: calc(50% - 50vw);
}
.film::-webkit-scrollbar { display: none; }
.film.dragging { cursor: grabbing; scroll-snap-type: none; }
.frame {
  flex: 0 0 clamp(300px, 32vw, 440px); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 5px; position: relative;
}
.frame .shot {
  position: relative; overflow: hidden; background: #191919;
  height: clamp(230px, 24vw, 300px);
}
.frame .edge {
  font-size: 9px; letter-spacing: .2em; color: rgba(242, 242, 238, .42);
  white-space: nowrap; line-height: 1;
}
.frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.22) contrast(1.06) brightness(0.92);
}
/* зерно плёнки поверх кадра */
.frame .grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .42; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}
.frame .meta {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px 22px 20px;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.72) 45%, rgba(0,0,0,0) 100%);
}
.frame.blank { flex-basis: clamp(90px, 11vw, 150px); }
.frame .year { font-family: var(--display); font-weight: 300; font-size: clamp(26px, 2.6vw, 38px); line-height: .9; letter-spacing: -0.05em; margin: 0 0 8px; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.frame .code { font-size: 11px; color: rgba(242,242,238,.72); letter-spacing: .14em; }
.frame p { margin: 0; font-size: 14px; line-height: 1.4; color: #e2e2dc; max-width: 34ch; text-shadow: 0 1px 12px rgba(0,0,0,.7); }
.frame.current .year { color: var(--sun); }
.frame.blank { flex: 0 0 clamp(110px, 13vw, 180px); }

/* Фильм «Соло» */
.solo {
  margin-top: 104px; background: var(--band-bg); color: var(--band-fg);
  padding: 76px 0 84px; border-top: 1px solid var(--band-line);
}
.solo-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.solo-head h2 { font-size: clamp(26px, 3.2vw, 46px); }
.solo-head .sub { color: var(--band-soft); font-size: 16px; margin: 0; }
.solo video { width: 100%; height: auto; display: block; background: #000; }
.solo .synopsis { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; max-width: 62ch; margin: 32px 0 0; color: var(--band-fg); }
.solo-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 44px; }
.solo-cols h3 { font-family: var(--sans); font-weight: 600; font-size: 16px; letter-spacing: 0; margin-bottom: 10px; }
.solo-cols p { color: var(--band-soft); font-size: 16px; margin: 0 0 14px; max-width: 52ch; }
.solo-cols p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .solo-cols { grid-template-columns: 1fr; gap: 28px; } }

/* Сейчас */
.today { margin-top: 92px; display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.today h2 { font-size: clamp(22px, 2.3vw, 32px); }
.today .cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
.today h3 { font-family: var(--sans); font-weight: 600; font-size: 17px; letter-spacing: 0; margin-bottom: 6px; }
.today p { font-size: 16px; color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .today { grid-template-columns: 1fr; } .today .cols { grid-template-columns: 1fr; } }

/* Подвал */
.foot {
  margin-top: 100px; padding: 44px 0 52px; border-top: 1px solid var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center; font-size: 15px;
}
/* после тёмного блока подвал начинается сразу, без светлой полосы */
.solo ~ .foot, .guest-band ~ .foot { margin-top: 0; border-top: 0; }
.foot .contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; }
.foot .contacts a { text-decoration: none; border-bottom: 1px solid var(--line); }
.foot .contacts a:hover { border-bottom-color: var(--ink); }
.foot .copy { color: var(--mute); }

/* Подкаст */
.pod-intro { padding: 56px 0 0; }
.pod-intro .lede { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.45; margin: 0 0 26px; max-width: 54ch; }

.player { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid var(--ink); border-radius: 999px; max-width: 480px; }
.player button { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); cursor: pointer; display: grid; place-items: center; font-size: 0; }
.player button svg { width: 16px; height: 16px; fill: currentColor; }
.player .meta { font-size: 14px; line-height: 1.3; }
.player .meta b { font-weight: 600; }
.player .bar { flex: 1; height: 2px; background: var(--line); position: relative; cursor: pointer; }
.player .bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--sun); }
.player .t { font-size: 12px; color: var(--mute); letter-spacing: .06em; }

.section { margin-top: 80px; }
.section > h2 { font-size: clamp(22px, 2.3vw, 32px); margin-bottom: 8px; }
.section > .sub { color: var(--mute); margin-bottom: 28px; }

.episodes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; list-style: none; padding: 0; margin: 0; }
.episodes a { text-decoration: none; display: block; }
.episodes img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--paper-2); }
.episodes .guest { font-family: var(--display); font-weight: 300; font-size: 19px; letter-spacing: -0.03em; margin-top: 12px; line-height: 1.15; }
.episodes .date { font-size: 13px; color: var(--mute); margin-top: 4px; }
.episodes a:hover .guest { text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 860px) { .episodes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .episodes { grid-template-columns: 1fr; } }

.listen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.listen a { text-decoration: none; border: 1px solid var(--ink); padding: 10px 18px; border-radius: 999px; font-size: 15px; }
.listen a:hover { background: var(--ink); color: var(--paper); }

/* Стать гостем */
.guest-band { margin-top: 100px; background: var(--band-bg); color: var(--band-fg); padding: 72px 0 80px; border-top: 1px solid var(--band-line); }
.guest-band h2 { font-size: clamp(24px, 2.9vw, 40px); max-width: 18ch; }
.guest-band .intro { font-size: 18px; max-width: 58ch; margin: 22px 0 16px; color: var(--band-soft); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--band-line); border: 1px solid var(--band-line); }
.plan { background: var(--band-bg); padding: 28px 26px 30px; display: flex; flex-direction: column; }
.plan h3 { font-size: 20px; }
.plan .for { color: var(--band-soft); font-size: 15px; margin: 6px 0 20px; }
.plan .price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.plan .price b { font-family: var(--display); font-weight: 300; font-size: 38px; letter-spacing: -0.05em; }
.plan .price s { color: #8a8a84; font-size: 17px; }
.plan ul { list-style: none; padding: 0; margin: 0; font-size: 15px; color: var(--band-soft); flex: 1; }
.plan li { padding: 7px 0; border-top: 1px solid var(--band-line); }
.plan li:first-child { border-top: 0; }
.plan small { display: block; color: var(--band-mute); font-size: 13px; margin-top: 14px; }
.plan a { text-decoration: none; display: inline-block; padding: 12px 20px; border-radius: 999px; background: var(--sun); color: #fff; font-weight: 500; font-size: 15px; align-self: flex-start; }
.plan a:hover { background: #f07a35; }
.plan.hit h3::after { content: "чаще всего"; font-family: var(--sans); font-weight: 400; font-size: 12px; letter-spacing: 0; color: var(--sun); margin-left: 12px; vertical-align: middle; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

.tax { font-size: 13px; color: var(--band-mute); margin: 16px 0 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; counter-reset: s; }
.step { counter-increment: s; font-size: 15px; color: var(--band-soft); }
.step::before { content: counter(s); font-family: var(--display); font-weight: 300; font-size: 32px; color: var(--sun); display: block; line-height: 1; margin-bottom: 10px; letter-spacing: -0.05em; }
.step b { display: block; color: var(--band-fg); font-weight: 500; margin-bottom: 4px; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }

/* Предложение: один яркий баннер */
.deal {
  display: flex; width: fit-content; margin-inline: auto;
  align-items: center; justify-content: center; text-align: center;
  margin-top: 52px; padding: clamp(20px, 2.4vw, 30px) clamp(28px, 4vw, 56px);
  background: var(--sun); color: #fff; text-decoration: none; border-radius: 999px;
  transition: background .2s ease;
}
.deal span {
  font-family: var(--display); font-weight: 400; letter-spacing: -0.03em; line-height: 1.12;
  font-size: clamp(17px, 1.9vw, 26px); max-width: 24ch;
}
.deal:hover { background: #f4782f; }
.cta { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.cta a.btn { text-decoration: none; padding: 14px 26px; border-radius: 999px; background: var(--sun); color: #fff; font-weight: 500; }
.cta a.btn:hover { background: #f07a35; }
.cta .or { color: var(--band-mute); font-size: 15px; }
.cta .or a { color: var(--band-fg); }

/* Музыка */
.music-intro { padding: 56px 0 0; }
.music-intro .lede { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.45; margin: 0 0 26px; max-width: 54ch; }

.embed { border: 1px solid var(--line); background: var(--paper-2); min-height: 352px; display: grid; place-items: center; text-align: center; padding: 24px; }
.embed p { margin: 0 0 14px; color: var(--mute); font-size: 15px; }
.embed button { border: 1px solid var(--ink); background: transparent; padding: 10px 18px; border-radius: 999px; font: inherit; font-size: 15px; cursor: pointer; }
.embed button:hover { background: var(--ink); color: var(--paper); }
.embed iframe { width: 100%; height: 352px; border: 0; display: block; }
.embed.loaded { display: block; padding: 0; border: 0; background: transparent; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.two h3 { font-size: 19px; margin-bottom: 12px; }

.ambient { display: grid; grid-template-columns: 280px 1fr; gap: 44px; align-items: center; }
.ambient figure { margin: 0; }
.ambient figure img { width: 100%; border-radius: 50%; }
.ambient .sub { margin-bottom: 16px; }
.ambient .listen { margin-top: 22px; }
@media (max-width: 860px) {
  .ambient { grid-template-columns: 1fr; gap: 24px; }
  .ambient figure { max-width: 200px; margin-inline: auto; }
}

/* Cookies */
.cookies {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 40;
  width: min(100% - 2 * var(--gutter), 720px);
  display: none; gap: 20px; align-items: center; justify-content: space-between;
  background: var(--band-bg); color: var(--band-fg); border: 1px solid var(--band-line);
  padding: 18px 22px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}
.cookies[open] { display: flex; }
.cookies p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--band-soft); max-width: 46ch; }
.cookies p a { color: var(--band-fg); }
.cookies .row { display: flex; gap: 10px; flex: none; }
.cookies button {
  font: inherit; font-size: 14px; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--band-line); background: transparent; color: var(--band-fg); white-space: nowrap;
}
.cookies button.yes { background: var(--sun); border-color: var(--sun); color: #fff; }
.cookies button.yes:hover { background: #f07a35; }
.cookies button:not(.yes):hover { border-color: var(--band-fg); }
@media (max-width: 720px) { .cookies { flex-direction: column; align-items: flex-start; gap: 14px; } .cookies .row { width: 100%; } .cookies button { flex: 1; } }

/* Правовые страницы */
.doc { max-width: 68ch; margin: 56px auto 0; }
.doc .dl { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 14px 0 0; }
.doc .dl a { display: inline-block; font-size: 14px; text-decoration: none; border: 1px solid var(--ink); border-radius: 999px; padding: 8px 16px; }
.doc .dl a:hover { background: var(--ink); color: var(--paper); }
.doc .lang { display: inline-block; font-size: 14px; color: var(--mute); text-decoration: none;
  border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.doc .lang:hover { color: var(--ink); border-bottom-color: var(--ink); }
.doc h1 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 28px; }
.doc h2 { font-family: var(--sans); font-weight: 600; font-size: 17px; letter-spacing: 0; margin: 36px 0 10px; }
.doc p { font-size: 16px; color: var(--ink-2); }
.doc p.fine { font-size: 13px; color: var(--mute); }
.doc .plans-table { border-collapse: collapse; width: 100%; margin: 16px 0 8px; font-size: 15px; }
.doc .plans-table th { text-align: left; font-weight: 600; font-size: 13px; color: var(--mute); padding: 0 12px 8px 0; border-bottom: 1px solid var(--line); }
.doc .plans-table td { border-top: 1px solid var(--line); padding: 12px 12px 12px 0; vertical-align: top; color: var(--ink-2); }
.doc .plans-table .num { text-align: right; padding-right: 0; white-space: nowrap; }
.doc .plans-table .mute { color: var(--mute); font-size: 13px; }
@media (max-width: 620px) { .doc .plans-table, .doc .plans-table tr, .doc .plans-table td, .doc .plans-table th { display: block; } .doc .plans-table th { display: none; } .doc .plans-table td { border-top: 0; padding: 2px 0; } .doc .plans-table tr { border-top: 1px solid var(--line); padding: 12px 0; } .doc .plans-table .num { text-align: left; font-weight: 600; } }
.doc .reqs { border-collapse: collapse; width: 100%; margin: 14px 0 6px; font-size: 15px; }
.doc .reqs td { border-top: 1px solid var(--line); padding: 9px 0; vertical-align: top; color: var(--ink-2); }
.doc .reqs td:first-child { width: 34%; padding-right: 20px; color: var(--mute); }
@media (max-width: 560px) { .doc .reqs td { display: block; border-top: 0; padding: 2px 0; } .doc .reqs tr { display: block; border-top: 1px solid var(--line); padding: 8px 0; } .doc .reqs td:first-child { width: auto; } }

.foot .legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 12px; }
.foot .legal a { color: var(--mute); text-decoration: none; border-bottom: 1px solid transparent; }
.foot .legal a:hover { color: var(--ink); border-bottom-color: var(--line); }

/* Бланк согласия */
body.paper .top, body.paper .foot, body.paper .cookies { display: none; }
.release { max-width: 78ch; margin: 44px auto 80px; color: var(--ink); }
.rl-kicker { font-size: 13px; color: var(--mute); margin: 0 0 10px; }
.release h1 { font-size: 26px; line-height: 1.15; margin: 0 0 22px; }
.release h1 span { font-size: 19px; color: var(--mute); }
.release h2 { font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--mute); margin: 0 0 12px; }
.rl-meta { display: flex; gap: 40px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 12px 0; }
.rl-meta div { display: flex; flex-direction: column; gap: 4px; font-size: 14px; min-width: 200px; }
.rl-meta span { color: var(--mute); font-size: 12px; }
.rl-meta i { display: block; border-bottom: 1px solid var(--line); height: 18px; width: 200px; }
.rl-parts { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin: 26px 0 34px; }
.fld { display: flex; flex-direction: column; gap: 3px; margin-bottom: 14px; }
.fld span { font-size: 12px; color: var(--mute); }
.fld i { display: block; border-bottom: 1px solid var(--line); height: 20px; }
.release .reqs { border-collapse: collapse; width: 100%; font-size: 14px; }
.release .reqs td { border-top: 1px solid var(--line); padding: 7px 0; vertical-align: top; }
.release .reqs td:first-child { width: 34%; color: var(--mute); padding-right: 14px; }
.rl-lang { border-top: 1px solid var(--ink); padding-top: 14px; margin-top: 30px; }
.cl { margin-bottom: 16px; }
.cl h3 { font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: 0; margin: 0 0 5px; }
.cl p { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin: 0 0 7px; max-width: none; }
.signs { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; margin-top: 44px; }
.signs div { display: flex; flex-direction: column; gap: 6px; }
.signs span { font-size: 12px; color: var(--mute); }
.signs i { display: block; border-bottom: 1px solid var(--ink); height: 34px; }
.signs .minor { grid-column: 1 / -1; max-width: 50%; }
@media (max-width: 720px) { .rl-parts, .signs { grid-template-columns: 1fr; } .signs .minor { max-width: none; } }

@media print {
  @page { size: A4; margin: 16mm 15mm; }
  body { background: #fff; font-size: 11pt; }
  .release { margin: 0 auto; max-width: none; }
  .release h1 { font-size: 20pt; }
  .cl p { font-size: 9.5pt; line-height: 1.45; }
  .cl { break-inside: avoid; }
  .rl-lang.break { break-before: page; }
  .signs { break-inside: avoid; }
}
