/* lilithcat.com, версия 2. Приёмы и дизайн-система: ../РЕФЕРЕНСЫ.md */
:root {
  --bg: #0b0b0c;
  --surface: #151412;
  --ink: #f2efe9;
  --muted: #9a948a;
  --accent: #c8a25a;
  --line: rgba(242, 239, 233, .14);
  --gold-line: rgba(200, 162, 90, .34);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Golos Text", Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: 20px;
  --gap-section: 76px;
  --ease: cubic-bezier(.23, 1, .32, 1);
}
@media (min-width: 900px) {
  :root { --pad: 48px; --gap-section: 140px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--pad); }

h1, h2, h3, .price, .mark { font-family: var(--serif); font-weight: 500; }
.price, .num, .views b { font-variant-numeric: lining-nums; }
h1 { font-size: clamp(50px, 13.4vw, 112px); line-height: .92; letter-spacing: -.015em; }
h2 { font-size: clamp(36px, 9.4vw, 68px); line-height: 1.02; letter-spacing: -.01em; }
h3 { font-size: clamp(27px, 6.8vw, 36px); line-height: 1.1; }
.eyebrow {
  font-size: 12px; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
@media (min-width: 900px) { .eyebrow { font-size: 13px; } }
.lead { font-size: 18px; line-height: 1.5; }
@media (min-width: 900px) { .lead { font-size: 22px; } }

/* шапка */
.top {
  position: absolute; z-index: 5; inset: 0 0 auto 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top)) var(--pad) 14px;
}
.mark { font-size: 26px; line-height: 1; letter-spacing: .02em; text-decoration: none; }
a.mark { display: inline-flex; align-items: center; min-height: 44px; }
.lang { display: flex; align-items: center; gap: 2px; color: var(--muted); font-size: 13px; letter-spacing: .1em; }
.lang button {
  min-width: 44px; min-height: 44px; padding: 0;
  background: none; border: 0; color: var(--muted); font: inherit; letter-spacing: inherit; cursor: pointer;
  transition: color .25s;
}
.lang button[aria-pressed="true"] { color: var(--ink); }
.lang button:hover { color: var(--ink); }
/* кнопка «Поддержать Лилит» в шапке: ведёт к блоку доната */
.top { gap: 10px; }
.top__donate {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  min-height: 36px; margin-left: auto; padding: 0 14px;
  border: 1px solid var(--accent); color: var(--accent); background: rgba(11,11,12,.28);
  font: 500 12px/1 var(--sans); letter-spacing: .06em; text-decoration: none; white-space: nowrap;
  transition: background .25s, color .25s;
}
.top__donate:hover { background: var(--accent); color: var(--bg); }
.top__donate .short { display: none; }
@media (max-width: 419px) {
  .top__donate { padding: 0 11px; letter-spacing: .04em; }
  .top__donate .full { display: none; }
  .top__donate .short { display: inline; }
}
@media (max-width: 339px) { .top { gap: 6px; } .top__donate { padding: 0 9px; } .lang button { min-width: 38px; } }
@media (min-width: 900px) { .top__donate { min-height: 40px; padding: 0 20px; font-size: 13px; margin-right: 14px; } }
.donate { scroll-margin-top: calc(24px - var(--gap-section)); }

/* первый экран: на телефоне кадр сверху, строка и кнопка под ним на тёмном */
.hero {
  --cta: 168px;
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0 0 calc(var(--cta) - 40px) 0; z-index: -2; }
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,11,12,.9) 0%, rgba(11,11,12,.55) 26%, rgba(11,11,12,0) 42%),
    linear-gradient(0deg, var(--bg) 0, var(--bg) calc(var(--cta) - 40px), rgba(11,11,12,0) calc(var(--cta) + 70px));
}
.hero__head { padding-top: calc(96px + env(safe-area-inset-top)); }
.hero__head .eyebrow { color: var(--ink); opacity: .78; margin-bottom: 18px; }
.hero__cta { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
.hero__line { font-family: var(--serif); font-weight: 500; font-size: clamp(27px, 7.4vw, 34px); line-height: 1.08; margin-bottom: 20px; max-width: 12em; }
.hero__cta .btn { width: 100%; }
@media (min-width: 900px) {
  h1 { font-size: clamp(64px, 6.4vw, 96px); }
  .hero__bg { inset: 0; }
  .hero__bg img { object-position: 80% 50%; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(11,11,12,.7) 0%, rgba(11,11,12,0) 34%),
      linear-gradient(270deg, rgba(11,11,12,.72) 0%, rgba(11,11,12,.25) 42%, rgba(11,11,12,0) 60%),
      linear-gradient(0deg, rgba(11,11,12,.92) 0%, rgba(11,11,12,0) 34%);
  }
  .hero__head { padding-top: 150px; text-align: right; }
  .hero__cta { display: flex; align-items: center; justify-content: flex-end; gap: 36px; padding-bottom: 52px; }
  .hero__line { font-size: 38px; margin: 0; max-width: none; }
  .hero__cta .btn { width: auto; }
}

/* о сериале */
.about { padding-top: var(--gap-section); }
.about__text { max-width: 34em; }
.about__text h2 { margin: 14px 0 22px; }
.about__accent { font-family: var(--serif); font-weight: 500; font-size: clamp(25px, 6.6vw, 32px); line-height: 1.16; }
.about__accent .num { color: var(--accent); white-space: nowrap; }
.about__desc { margin-top: 18px; color: var(--muted); }
.frames { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 10px; margin-top: 44px; }
.frames img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.frames figcaption { margin-top: 12px; display: grid; gap: 6px; }
.views { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.views b { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1; letter-spacing: 0; text-transform: none; margin-right: 4px; }
.ep { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) {
  .about { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
  .frames { grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 0; }
  .views b { font-size: 40px; display: block; margin: 0 0 4px; }
}

/* два пути */
.paths { padding-top: var(--gap-section); scroll-margin-top: -40px; }
.paths__title { max-width: 17em; }
.paths__sub { color: var(--muted); }
.cards { display: grid; gap: 22px; margin-top: 40px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #1a1814 0%, var(--surface) 46%);
  border: 1px solid var(--gold-line);
  padding: 30px 22px 26px;
}
.card--main {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(200,162,90,.22), 0 0 90px -18px rgba(200,162,90,.38);
}
.card__flag {
  position: absolute; top: -1px; right: -1px;
  padding: 8px 14px; background: var(--accent); color: var(--bg);
  font-size: 11px; font-weight: 500; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase;
}
.tag { font-size: 19px; font-weight: 500; line-height: 1.2; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.card__get { margin-top: 10px; font-size: 17px; line-height: 1.4; }
.card h3 { margin: 26px 0 18px; padding-top: 24px; border-top: 1px solid var(--gold-line); }
.points li { position: relative; padding: 12px 0 12px 22px; border-top: 1px solid var(--line); }
.points li:first-child { border-top: 0; }
.points li::before { content: ""; position: absolute; left: 0; top: 24px; width: 10px; height: 1px; background: var(--accent); }
.example { position: relative; flex: 1 1 auto; min-height: 210px; margin-top: 18px; overflow: hidden; }
.example img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.example figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px;
  background: linear-gradient(0deg, rgba(11,11,12,.88), rgba(11,11,12,0));
  font-size: 13px; line-height: 1.4;
}
.pay { margin-top: 18px; padding: 20px 18px; border: 1px solid var(--gold-line); background: rgba(200,162,90,.06); }
.pay__title { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.pay li { position: relative; padding: 5px 0 5px 20px; font-size: 15px; line-height: 1.45; }
.pay li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 6px; height: 6px; border: 1px solid var(--accent); transform: rotate(45deg); }
.income { margin-top: 18px; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.22; }
.buy { margin-top: auto; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.price { font-size: 38px; line-height: 1; white-space: nowrap; }
@media (min-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; }
  .card { padding: 52px 48px 44px; }
  .tag { font-size: 22px; }
  .card__get { font-size: 19px; }
  .income { font-size: 25px; }
  .price { font-size: 46px; }
  .pay { padding: 24px 26px; }
  .pay li { font-size: 16px; }
}

/* кнопки: один стиль на сайт */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px;
  background: var(--ink); color: var(--bg); border: 1px solid var(--ink);
  font: 500 15px/1 var(--sans); letter-spacing: .04em; text-decoration: none;
  transition: background .25s, color .25s;
}
.btn:hover { background: transparent; color: var(--ink); }

/* донат */
.donate { margin-top: var(--gap-section); border-top: 1px solid var(--line); padding-block: var(--gap-section); }
.donate__in { display: grid; gap: 34px; }
.donate__pic { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--gold-line); }
.donate__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.donate__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,11,12,.5), rgba(11,11,12,0) 45%); }
.donate__text h2 { margin: 14px 0 16px; }
.donate__text .lead { color: var(--muted); max-width: 24em; }
.btn-coin {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  width: 100%; min-height: 64px; margin-top: 30px; padding: 0 30px 0 22px;
  background: var(--accent); color: var(--bg); border: 1px solid var(--accent);
  font: 500 16px/1 var(--sans); letter-spacing: .04em; text-decoration: none;
  transition: background .3s, color .3s, box-shadow .3s;
}
.btn-coin svg { flex: none; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.btn-coin .coin { fill: currentColor; animation: coin 3.4s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
.btn-coin:hover { background: transparent; color: var(--accent); box-shadow: 0 0 60px -14px rgba(200,162,90,.6); }
.btn-coin:hover .coin { animation-duration: 1.1s; }
@keyframes coin {
  0%, 18% { transform: translateY(-5px) scaleX(1); opacity: 0; }
  30% { opacity: 1; }
  52% { transform: translateY(5px) scaleX(-1); opacity: 1; }
  72%, 100% { transform: translateY(15px) scaleX(1); opacity: 0; }
}
@media (min-width: 900px) {
  .donate__in { grid-template-columns: 5fr 6fr; gap: 88px; align-items: center; }
  .donate__pic { max-width: 460px; }
  .btn-coin { width: auto; }
}

/* подвал */
.foot { padding-block: 40px calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 22px; }
.foot__links { display: grid; gap: 4px; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--muted); font-size: 15px; transition: color .25s; }
.foot__links a:hover { color: var(--ink); }
.foot__copy { color: var(--muted); font-size: 13px; }
@media (min-width: 900px) {
  .foot { grid-template-columns: auto 1fr auto; align-items: center; gap: 48px; }
  .foot__links { display: flex; gap: 32px; justify-content: center; }
}

/* служебные страницы */
.page { padding-top: 140px; padding-bottom: var(--gap-section); max-width: 760px; }
.page h1 { font-size: clamp(40px, 9vw, 64px); margin-bottom: 28px; }
.page p { color: var(--muted); margin-top: 14px; }
.page a.back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 30px; color: var(--ink); }

/* появление при прокрутке */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.frames figure:nth-child(2) { transition-delay: .08s; }
.frames figure:nth-child(3) { transition-delay: .16s; }
.frames figure:nth-child(4) { transition-delay: .24s; }
.shot .reveal { opacity: 1; transform: none; transition: none; }
.shot .btn-coin .coin { animation: none; transform: translateY(2px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn-coin .coin { animation: none; }
}
/* режим снимка страницы (?shot=1): первый экран обычной высоты при очень высоком окне */
.shot .hero { min-height: 0; height: var(--shot-h, 844px); }

/* три ролика со статистикой */
.frames--3 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.frames--3 img { aspect-ratio: 650 / 872; }
@media (min-width: 900px) {
  .frames--3 { grid-template-columns: repeat(3, 1fr); gap: 14px; }

}
/* выбор языка курса перед покупкой */
.pick { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.pick__note { color: var(--muted); font-size: 14px; line-height: 1.45; margin-bottom: 14px; }
.pick__label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.pick__select {
  width: 100%; min-height: 52px; padding: 0 44px 0 16px; border: 1px solid var(--gold-line); border-radius: 0;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c8a25a' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center;
  color: var(--ink); font: 400 16px/1 var(--sans); appearance: none; -webkit-appearance: none; cursor: pointer;
  transition: border-color .25s;
}
.pick__select:focus { outline: none; border-color: var(--accent); }
.pick__select option { background: #151412; color: #f2efe9; }
.pick__select option:disabled { color: #7d776d; }
.pick.is-error .pick__select { border-color: #e0584f; }
.pick__err { margin-top: 8px; color: #e0584f; font-size: 14px; }
.pick + .buy { margin-top: 0; padding-top: 22px; }
.btn.is-off { opacity: .42; }
.btn.is-off:hover { background: var(--ink); color: var(--bg); }

/* блок «Не только питомцы» */
.any { padding-top: var(--gap-section); margin-top: var(--gap-section); border-top: 1px solid var(--line); }
.any__text { max-width: 34em; }
.any__text h2 { margin: 14px 0 22px; }
.any__desc { margin-top: 0; }
.frames--any { grid-template-columns: 1fr 1fr; gap: 26px 10px; margin-top: 44px; }
.frames--any img { aspect-ratio: 3 / 4; }
.any__cta { margin-top: 40px; }
@media (min-width: 900px) {
  .frames--any { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .any__cta { margin-top: 56px; }
  .any__cta .btn { width: auto; }
}
/* кнопка первого экрана мягко «дышит» */
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(200,162,90,0), 0 0 0 rgba(200,162,90,0); } 50% { box-shadow: 0 0 0 6px rgba(200,162,90,.16), 0 0 26px rgba(200,162,90,.45); } }
.btn--pulse { animation: breathe 2.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .btn--pulse { animation: none; } }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* плитки серий: один верхний край, одна высота, подписи на одной линии */
.frames--3 { align-items: start; }
.frames--3 figure, .frames--3 figure.reveal.is-in { transform: none; }
.frames--3 figure.reveal:not(.is-in) { transform: translateY(18px); }
.frames--3 img { display: block; height: auto; }
/* козырь курса */
.points li.point--key { padding-left: 0; color: var(--accent); font-weight: 500; font-size: 1.06em; }
.points li.point--key::before { content: none; }
.points li.point--key small { display: block; margin-top: 4px; color: var(--muted); font-weight: 400; font-size: 13px; }
/* ошибка выбора языка видна только после нажатия «Купить» */
.pick__err[hidden] { display: none !important; }
.pick:not(.is-error) .pick__err { display: none; }

/* список ожидания */
.wait__note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--accent); font-size: 15px; line-height: 1.45; }
.wait__note + .buy { padding-top: 18px; }
.buy .btn { white-space: nowrap; }
html.wl-open { overflow: hidden; }
.wl { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(5, 5, 6, .82); overflow-y: auto; }
.wl[hidden] { display: none; }
.wl__box { position: relative; width: 100%; max-width: 440px; background: #151412; border: 1px solid var(--accent); padding: 34px 26px 28px; }
.wl__x { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; background: none; border: 0; color: var(--muted); font-size: 28px; line-height: 1; cursor: pointer; }
.wl__x:hover { color: var(--ink); }
.wl h3 { font-size: 34px; line-height: 1.05; }
.wl__lead { margin-top: 10px; color: var(--muted); }
.wl__label, .wl__set legend { display: block; margin-top: 22px; margin-bottom: 8px; padding: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.wl__input { width: 100%; padding: 14px 14px; background: #0b0b0c; border: 1px solid var(--line); color: var(--ink); font: inherit; font-size: 16px; border-radius: 0; }
.wl__input:focus { outline: none; border-color: var(--accent); }
.wl__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl__set { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.wl__set legend { width: 100%; }
.wl__set label, .wl__check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; min-height: 32px; }
.wl__set input, .wl__check input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.wl__check { margin-top: 20px; align-items: flex-start; line-height: 1.35; }
.wl__check input { margin-top: 2px; }
.wl__err { margin-top: 14px; color: #e0584f; font-size: 14px; }
.wl__err[hidden] { display: none; }
.wl__send { width: 100%; margin-top: 20px; cursor: pointer; }
.wl__send:disabled { opacity: .6; cursor: default; }
.wl__small { margin-top: 12px; color: var(--muted); font-size: 13px; text-align: center; }
.wl__done p { margin: 12px 0 24px; color: var(--muted); }
.wl__done .btn { cursor: pointer; }

.wl__priv { margin: 6px 0 0 26px; font-size: 13px; }
.wl__priv a, .page p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.page p b { color: var(--ink); font-weight: 500; }

.wl__set { margin-top: 22px; }
.wl__set legend { margin-top: 0; }

/* выбор языка: «другой язык» и строка «версия готовится» */
.pick__other { width: 100%; margin-top: 10px; padding: 14px 14px; background: #0b0b0c; border: 1px solid var(--line); color: var(--ink); font: inherit; font-size: 16px; border-radius: 0; }
.pick__other:focus { outline: none; border-color: var(--accent); }
.pick__other[hidden], .pick__soon[hidden] { display: none; }
.pick.is-error .pick__other { border-color: #e0584f; }
.pick__soon { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.45; }

/* свой список подсказок языка: крупные пункты под палец, в потоке страницы (не перекрывается и не выходит за экран) */
.pick__combo { position: relative; scroll-margin-top: 84px; }
.pick__sug { list-style: none; margin: 0; padding: 0; max-height: 228px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; background: #0b0b0c; border: 1px solid var(--accent); border-top: 0; }
.pick__sug[hidden] { display: none; }
.pick__sug li { display: flex; align-items: center; min-height: 46px; padding: 6px 14px; font-size: 17px; line-height: 1.25; color: var(--ink); border-top: 1px solid var(--line); cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; }
.pick__sug li:first-child { border-top: 0; }
.pick__sug li:hover, .pick__sug li:active { background: #221d14; color: var(--accent); }

/* телефон: карточки не шире экрана — цена и кнопка переносятся, длинные слова тоже */
.card { min-width: 0; overflow-wrap: break-word; }
@media (max-width: 899px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .buy { flex-wrap: wrap; }
  .buy .btn { flex: 1 1 auto; }
}

/* оферта и возвраты: длинный документ */
.page--doc h1 { font-size: clamp(30px, 7vw, 48px); line-height: 1.1; overflow-wrap: break-word; }
.page--doc h2 { font-size: clamp(22px, 5vw, 28px); line-height: 1.15; margin: 38px 0 4px; }
.page--doc p { overflow-wrap: break-word; }

/* строка под кнопкой покупки: показывается, когда открыты продажи (SALES_OPEN в main.js) */
.buy__legal { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.buy__legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.buy__legal[hidden] { display: none; }

/* запуск продаж: подарок в карточке курса, окно выбора языка, заявка на другой язык */
.gift { margin: -4px 0 16px; }
.gift__tag { display: inline-block; padding: 8px 14px; background: var(--accent); color: var(--bg); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 0 34px -6px rgba(200,162,90,.7); }
.gift__text { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.gift__text s { color: var(--muted); text-decoration-thickness: 2px; }
.otherlang { margin-top: 34px; padding: 26px 22px; border: 1px solid var(--line); text-align: center; }
.otherlang__t { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; margin-bottom: 16px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--gold-line); cursor: pointer; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.lp__note { margin: 0 34px 16px 0; font-size: 13px; line-height: 1.45; color: #ff5a4a; text-shadow: 0 0 14px rgba(255,70,50,.55); animation: lpglow 2.4s ease-in-out infinite; }
@keyframes lpglow { 50% { text-shadow: 0 0 22px rgba(255,70,50,.95); color: #ff7466; } }
@media (prefers-reduced-motion: reduce) { .lp__note { animation: none; } }
.lp__langs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.lp__lang { min-height: 54px; padding: 0 10px; background: #0b0b0c; border: 1px solid var(--line); color: var(--ink); font: 500 17px/1 var(--sans); cursor: pointer; border-radius: 0; transition: border-color .2s, background .2s, color .2s; }
.lp__lang:hover { border-color: var(--gold-line); }
.lp__lang[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
#lp .wl__send { display: flex; }
#lp .wl__send.is-off { cursor: default; }
.lp__legal { text-align: center; }
.lp__other { display: block; width: 100%; margin-top: 18px; padding: 14px 0 0; background: none; border: 0; border-top: 1px solid var(--line); color: var(--accent); font: 400 14px/1.45 var(--sans); text-align: center; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wl .pick__combo { scroll-margin-top: 0; }
@media (max-width: 359px) { .wl__box { padding: 30px 18px 22px; } .wl h3 { font-size: 29px; } .lp__lang { font-size: 16px; } }
