/* Лендинг книг — та же система, что у «Кода уважения» и «Пересборки»:
   бумага / чернила / золото, Cormorant Garamond + Lora + Manrope.
   Без фоновых картинок и иллюстраций: единственные изображения — обложки,
   вся остальная выразительность — типографика и инфографика. */
:root {
  --ink: #0b1821;
  --ink-soft: #172532;
  --paper: #f5f1e9;
  --paper-warm: #eae0d1;
  --gold: #d8ae63;
  --gold-light: #ebcb91;
  --gold-dark: #9e7437;
  --white: #fffdf8;
  --muted: #66717a;
  --divider: rgba(11, 24, 33, 0.14);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Lora", Georgia, serif;
  --font-ui: "Manrope", Arial, sans-serif;

  --radius-button: 8px;
  --radius-card: 14px;
  --content-max: 1200px;
  --gutter: 40px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; text-wrap: balance; }
/* у Cormorant по умолчанию «старостильные» цифры (10 выглядит как «io») — в инфографике нужны ровные */
.stat b, .topics__list li::before, .offer__price, .flow__n, .hero__price b { font-variant-numeric: lining-nums tabular-nums; }

.eyebrow {
  font-family: var(--font-ui); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark);
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--gold-light); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: var(--radius-button); border: none; cursor: pointer;
  font-family: var(--font-ui); font-weight: 700; font-size: 0.98rem; text-decoration: none;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn--primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(158, 116, 55, 0.55);
}
.btn--primary:hover { box-shadow: 0 14px 32px -10px rgba(158, 116, 55, 0.7); transform: translateY(-1px); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* ---------- Секции ---------- */
.section { padding: 112px 0; position: relative; }
.section--light {
  background: radial-gradient(ellipse at 85% 0%, rgba(216, 174, 99, 0.07), transparent 55%), var(--paper);
}
.section--light + .section--light { padding-top: 32px; }
.section--dark {
  background:
    radial-gradient(800px 500px at 10% 0%, rgba(216, 174, 99, 0.12), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(216, 174, 99, 0.08), transparent 60%),
    var(--ink);
  color: var(--white);
}
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; letter-spacing: -0.01em; margin-top: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(1000px 640px at 78% 40%, rgba(216, 174, 99, 0.16), transparent 62%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
  padding: 120px 0 128px;
}
/* тонкая золотая сетка-«линовка» — фактура без картинок */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(235, 203, 145, 0.06) 1px, transparent 1px);
  background-size: 100% 44px;
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}
.hero__glow {
  position: absolute; width: 620px; height: 620px; right: 4%; top: 50%; translate: 0 -50%;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(216, 174, 99, 0.28), transparent 65%);
  filter: blur(10px);
  animation: glow 9s ease-in-out infinite alternate;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero__title {
  font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 0.98; letter-spacing: -0.015em; margin-top: 18px;
}
.hero__title em { font-style: italic; color: var(--gold-light); display: block; }
.hero__lead { margin: 28px 0 0; max-width: 34em; color: rgba(255, 253, 248, 0.78); font-size: 1.06rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 40px; }
.hero__price { font-family: var(--font-ui); font-size: 0.88rem; color: rgba(255, 253, 248, 0.7); }
.hero__price b { color: var(--gold-light); font-size: 1.05rem; }

.hero__books { display: grid; place-items: center; }
.stack { position: relative; width: min(460px, 100%); aspect-ratio: 1 / 1.12; }
.stack__book {
  position: absolute; width: 64%; border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 40px 80px -20px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(235, 203, 145, 0.18);
}
.stack__book--back { right: 0; top: 0; rotate: 7deg; animation: float-b 7s ease-in-out infinite; }
.stack__book--front { left: 0; bottom: 0; rotate: -5deg; animation: float-a 7s ease-in-out infinite; }
.tag {
  position: absolute; z-index: 2; white-space: nowrap;
  font-family: var(--font-ui); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 9px 14px; border-radius: 999px; color: var(--ink);
  background: var(--white); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
}
.tag::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: 8px; vertical-align: 1px; }
.tag--a { left: -6%; top: 18%; }
.tag--b { right: -4%; bottom: 14%; }

/* ---------- Инфографика «одна система» ---------- */
.axis { display: grid; grid-template-columns: 1fr 260px 1fr; gap: 32px; align-items: center; }
.axis__side {
  background: var(--white); border: 1px solid var(--divider); border-radius: var(--radius-card);
  padding: 32px; box-shadow: 0 1px 2px rgba(11, 24, 33, 0.04), 0 24px 48px -32px rgba(11, 24, 33, 0.35);
}
.axis__kicker { font-family: var(--font-ui); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); }
.axis__side h3 { font-size: 1.85rem; line-height: 1.1; margin-top: 10px; }
.axis__side p { margin: 12px 0 0; color: var(--muted); font-size: 0.98rem; }
.axis__list { list-style: none; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--divider); display: grid; gap: 10px; }
.axis__list li { font-family: var(--font-ui); font-size: 0.9rem; font-weight: 600; padding-left: 22px; position: relative; line-height: 1.4; }
.axis__list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 2px; background: var(--gold); }
.axis__side--in .axis__list li::before { width: 8px; height: 8px; top: 0.35em; border-radius: 50%; background: none; border: 2px solid var(--gold); }

.axis__core { position: relative; aspect-ratio: 1; display: grid; place-items: center; margin-block: 28px; }
.axis__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring { fill: none; stroke: var(--gold); stroke-width: 1.2; }
.ring--1 { stroke-dasharray: 2 6; opacity: 0.7; transform-origin: center; animation: spin 60s linear infinite; }
.ring--2 { opacity: 0.45; }
.ring--3 { stroke-width: 2; fill: rgba(216, 174, 99, 0.1); }
.axis__center { position: relative; text-align: center; font-family: var(--font-ui); line-height: 1.15; }
.axis__center span { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.axis__center b { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; max-width: 7em; margin-top: 2px; }
.axis__arrow {
  position: absolute; font-family: var(--font-ui); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold-dark); white-space: nowrap;
}
.axis__arrow--out { top: -30px; left: 50%; translate: -50% 0; }
.axis__arrow--in { bottom: -30px; left: 50%; translate: -50% 0; }
.axis__arrow--out::after { content: " →"; }
.axis__arrow--in::before { content: "← "; }

/* ---------- Книга ---------- */
.book__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
.book__grid--flip { grid-template-columns: 1.2fr 0.8fr; }
.book__grid--flip .book__cover { order: 2; }
.book__cover { position: sticky; top: 48px; }
.book__cover img {
  border-radius: 6px; width: 100%;
  box-shadow: 0 2px 4px rgba(11, 24, 33, 0.25), 0 48px 80px -36px rgba(11, 24, 33, 0.6);
  transition: transform 500ms var(--ease);
}
.book--dark .book__cover img { box-shadow: 0 0 0 1px rgba(235, 203, 145, 0.2), 0 48px 90px -30px rgba(0, 0, 0, 0.8), 0 0 120px -30px rgba(216, 174, 99, 0.35); }
.book__title { font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -0.01em; margin-top: 12px; }
.book__sub { margin: 14px 0 0; font-family: var(--font-body); font-style: italic; font-size: 1.15rem; color: var(--gold-dark); }
.book--dark .book__sub { color: var(--gold-light); }
.book__text { margin: 22px 0 0; max-width: 36em; }
.book--dark .book__text { color: rgba(255, 253, 248, 0.8); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 40px 0 0; border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.book--dark .stats { border-color: rgba(235, 203, 145, 0.2); }
.stat { padding: 22px 18px 22px 0; }
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--divider); }
.book--dark .stat + .stat { border-color: rgba(235, 203, 145, 0.2); }
.stat b { display: block; font-family: var(--font-display); font-size: 3.2rem; line-height: 1; font-weight: 700; color: var(--gold-dark); font-variant-numeric: lining-nums tabular-nums; }
.book--dark .stat b { color: var(--gold-light); }
.stat span { display: block; font-family: var(--font-ui); font-size: 0.8rem; font-weight: 600; line-height: 1.35; margin-top: 8px; color: var(--muted); }
.book--dark .stat span { color: rgba(255, 253, 248, 0.6); }

.topics, .phrases, .checks { margin-top: 48px; }
.topics__title { font-family: var(--font-ui); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; }
.topics__list { list-style: none; margin: 0; padding: 0; counter-reset: t; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.topics__list li {
  counter-increment: t; position: relative; padding: 14px 0 14px 44px; border-top: 1px solid var(--divider);
  font-family: var(--font-ui); font-size: 0.92rem; font-weight: 600; line-height: 1.4;
}
.topics__list li::before {
  content: counter(t, decimal-leading-zero); position: absolute; left: 0; top: 12px;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--gold); line-height: 1;
}

.phrases__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.phrases__list li {
  position: relative; padding: 11px 16px; border-radius: 14px 14px 14px 4px;
  background: rgba(255, 253, 248, 0.06); border: 1px solid rgba(235, 203, 145, 0.22);
  font-family: var(--font-body); font-style: italic; font-size: 0.98rem; color: rgba(255, 253, 248, 0.88);
  transition: border-color 220ms var(--ease), transform 220ms var(--ease);
}

.checks__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks__list li { display: flex; align-items: center; gap: 14px; font-family: var(--font-ui); font-weight: 600; font-size: 0.95rem; }
.checks__list li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(216, 174, 99, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23ebcb91' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.quote { margin: 96px auto 0; max-width: 900px; text-align: center; position: relative; padding-top: 40px; }
.quote::before { content: ""; position: absolute; top: 0; left: 50%; width: 64px; height: 2px; translate: -50% 0; background: var(--gold); }
.quote p { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.12; letter-spacing: -0.01em; }
.quote em { color: var(--gold-dark); }

/* ---------- Как получить ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.flow::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform-origin: left; transform: scaleX(var(--line, 1)); transition: transform 1100ms var(--ease) 200ms;
}
.flow__step { position: relative; }
.flow__n {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: var(--gold-light); font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  box-shadow: 0 0 0 6px var(--paper);
}
.flow__step h3 { font-size: 1.6rem; margin-top: 22px; }
.flow__step p { margin: 8px 0 0; color: var(--muted); font-size: 0.98rem; max-width: 22em; }

/* ---------- Выбор ---------- */
.choose { padding-bottom: 128px; }
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.offer {
  display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center;
  background: var(--white); border: 1px solid var(--divider); border-radius: var(--radius-card); padding: 24px;
  box-shadow: 0 1px 2px rgba(11, 24, 33, 0.04), 0 30px 60px -40px rgba(11, 24, 33, 0.45);
}
.offer__cover { border-radius: 4px; box-shadow: 0 20px 40px -18px rgba(11, 24, 33, 0.6); }
.offer__kicker { font-family: var(--font-ui); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); }
.offer h3 { font-size: 1.75rem; line-height: 1.05; margin-top: 8px; }
.offer__price { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; margin: 18px 0 20px; }

.consent { display: flex; gap: 12px; align-items: flex-start; max-width: 720px; margin: 32px auto 0; font-family: var(--font-ui); font-size: 0.86rem; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold-dark); }
.consent .link-btn { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 2px; }
.consent__hint { text-align: center; font-family: var(--font-ui); font-size: 0.86rem; font-weight: 600; color: #a24b2a; margin: 12px 0 0; }
.consent.is-error span { color: #a24b2a; }

/* ---------- Футер ---------- */
.legal-footer { background: var(--ink); color: rgba(255, 253, 248, 0.6); padding: 28px 0; font-family: var(--font-ui); font-size: 0.8rem; }
.legal-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.legal-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.legal-footer .link-btn { color: var(--gold-light); text-decoration: none; }
.legal-footer .link-btn:hover { text-decoration: underline; }

/* ---------- Анимации ---------- */
/* Вход первого экрана: каскад по --d. Без JS всё видно сразу. */
.js .enter { opacity: 0; translate: 0 18px; animation: enter 900ms var(--ease) forwards; animation-delay: calc(var(--d, 0) * 120ms + 80ms); }
/* Появление при прокрутке: класс .is-in ставит IntersectionObserver */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity 800ms var(--ease), translate 800ms var(--ease); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }
.js .flow:not(.is-in) { --line: 0; }

@keyframes enter { to { opacity: 1; translate: 0 0; } }
@keyframes float-a { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes float-b { 0%, 100% { translate: 0 0; } 50% { translate: 0 8px; } }
@keyframes glow { from { opacity: 0.7; scale: 1; } to { opacity: 1; scale: 1.08; } }
@keyframes spin { to { rotate: 360deg; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .enter, .js .reveal { opacity: 1; translate: none; }
  .js .flow:not(.is-in) { --line: 1; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  :root { --gutter: 28px; }
  .axis { grid-template-columns: 1fr 1fr; }
  .axis__core { grid-column: 1 / -1; grid-row: 1; width: 240px; justify-self: center; }
  .book__grid, .book__grid--flip { gap: 48px; }
  .offers { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
}
@media (max-width: 820px) {
  .section { padding: 80px 0; }
  .hero { padding: 72px 0 88px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__books { order: -1; }
  .stack { width: min(300px, 78%); }
  .hero__glow { width: 420px; height: 420px; right: 50%; top: 22%; translate: 50% -50%; }
  /* планшет: обложка остаётся колонкой рядом с текстом, только уже */
  .book__grid { grid-template-columns: 0.72fr 1.28fr; gap: 36px; }
  .book__grid--flip { grid-template-columns: 1.28fr 0.72fr; }
  .book__cover { top: 24px; }
  .topics__list { grid-template-columns: 1fr; }
  .stat b { font-size: 2.6rem; }
  .flow__step h3 { font-size: 1.4rem; }
}
@media (max-width: 640px) {
  .book__grid, .book__grid--flip { grid-template-columns: 1fr; gap: 40px; }
  .book__grid--flip .book__cover { order: 0; }
  .book__cover { position: static; width: min(280px, 70%); }
  .flow { grid-template-columns: 1fr; gap: 32px; }
  .flow::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; transform-origin: top; transform: scaleY(var(--line, 1)); background: linear-gradient(180deg, var(--gold), var(--gold-light)); }
  .flow__step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; }
  .flow__step h3 { margin-top: 10px; }
  .flow__step p { grid-column: 2; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .axis { grid-template-columns: 1fr; }
  .axis__side { padding: 24px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { display: none; }
  .stat b { font-size: 2.6rem; }
  .offer { grid-template-columns: 96px 1fr; gap: 18px; padding: 18px; }
  .offer h3 { font-size: 1.4rem; }
  .offer__price { font-size: 2.1rem; margin: 12px 0 14px; }
  .tag { font-size: 0.68rem; padding: 7px 11px; }
  .tag--a { left: -10%; }
  .tag--b { right: -10%; }
  .quote { margin-top: 64px; }
}

/* ---------- Оферта / политика во всплывающем окне (как на «Пересборке») ---------- */
.link-btn { appearance: none; background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; }
.link-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
.legal-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1.25rem; }
.legal-modal[hidden] { display: none; }
.legal-modal__backdrop { position: absolute; inset: 0; background: rgba(9, 15, 23, 0.6); backdrop-filter: blur(2px); animation: legal-fade-in 0.25s var(--ease); }
.legal-modal__panel {
  position: relative; display: flex; flex-direction: column; width: min(100%, 880px); height: min(88vh, 960px);
  background: var(--white); border-radius: var(--radius-card); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.45);
  overflow: hidden; animation: legal-pop-in 0.3s var(--ease);
}
.legal-modal__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--divider); flex-shrink: 0; }
.legal-modal__title { margin: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.legal-modal__close {
  appearance: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: none;
  padding: 0; border: none; border-radius: 50%; background: var(--paper-warm); color: var(--ink); cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease);
}
.legal-modal__close svg { width: 18px; height: 18px; }
.legal-modal__close:hover { background: var(--ink); color: var(--white); }
.legal-modal__frame { flex: 1; width: 100%; border: none; background: var(--paper); }
@keyframes legal-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes legal-pop-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
body.legal-modal-open { overflow: hidden; }
@media (max-width: 560px) {
  .legal-modal { padding: 0; }
  .legal-modal__panel { height: 100%; border-radius: 0; }
}

/* ---------- Окно «Оплата подтверждена» со ссылками на PDF ---------- */
.download-overlay { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 20px; background: rgba(9, 15, 23, 0.62); backdrop-filter: blur(2px); animation: legal-fade-in 0.25s var(--ease); }
.download-overlay[hidden] { display: none; }
.download-overlay__card {
  position: relative; width: min(100%, 460px); background: var(--white); border-radius: var(--radius-card);
  padding: 36px 32px 32px; text-align: center; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.45); animation: legal-pop-in 0.3s var(--ease);
}
.download-overlay__close { position: absolute; top: 12px; right: 12px; }
.download-overlay__card h3 { font-size: 2rem; margin-top: 10px; }
.download-overlay__card p { margin: 10px 0 0; font-family: var(--font-ui); font-size: 0.88rem; color: var(--muted); }
.download-overlay__list { display: grid; gap: 10px; margin-top: 24px; }
