/* Next Tarot — «ночной атлас».
   Кастомный CSS: гравюрная астрономическая карта на сине-чёрной тушь,
   слоновая кость, вермильон и волосяные золотые линии. Без Tailwind,
   без внешнего JS. */

:root {
  --bg: #0e1220;            /* ночная сине-чёрная тушь */
  --bg-deep: #090c16;       /* ещё глубже: шапка, герой, подвал */
  --surface: #151a2b;       /* приподнятые плоскости */
  --fg: #ece6d9;            /* слоновая кость */
  --muted: #99a2b6;         /* холодный серо-синий */
  --border: #242b3f;
  --accent: #d7b46a;        /* основной акцент — тёплое золото гравюры */
  --accent-on: #14121f;     /* тёмные чернила на золоте */
  --gold: #c9a45c;          /* волосяные линии и римские цифры */
  --gold-soft: #e3c78f;     /* блики на золоте */
  --amethyst: #9b8ce8;      /* холодный сиреневый для ссылок и свечения */
  --teal: #4fa3a0;          /* сдержанный бирюзовый для мягких бликов */
  --link: #b3a2f0;          /* ссылки в тексте: светлее фона, контраст ≥ 4.5 */
  --font-display: "Piazzolla", Georgia, serif;
  --font-body: "Golos Text", sans-serif;
  --radius: 3px;
  --space-section: 88px;
  --sheet-max: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; }

.num { font-variant-numeric: tabular-nums; }

/* ── Шапка ─────────────────────────────────────────────── */

.masthead {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
}

.masthead__inner {
  max-width: var(--sheet-max);
  margin: 0 auto;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "card id"
    "nav nav";
  align-items: center;
  gap: 14px 18px;
}

@media (min-width: 900px) {
  .masthead__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "card id nav";
    gap: 20px 28px;
    padding: 20px 32px;
  }
}

.masthead__card {
  grid-area: card;
  width: 46px;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid rgba(201, 164, 92, 0.4);
  padding: 3px;
}

@media (min-width: 900px) {
  .masthead__card { width: 54px; }
}

.masthead__id { grid-area: id; min-width: 0; }

.masthead__word {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  line-height: 1.1;
}

@media (min-width: 900px) {
  .masthead__word { font-size: 21px; }
}

.masthead__tag {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 34ch;
}

.masthead__nav {
  grid-area: nav;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  padding-top: 4px;
}

@media (min-width: 900px) {
  .masthead__nav { padding-top: 0; justify-content: flex-end; }
}

.masthead__nav a:not(.btn) {
  white-space: nowrap;
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.masthead__nav a:not(.btn):hover { color: var(--fg); }

.masthead__nav a[aria-current="page"] {
  color: var(--fg);
  border-bottom-color: var(--gold);
}

.masthead__nav .btn {
  margin-left: 4px;
}

/* ── Герой ─────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-deep);
  background-image: url("img/stars.jpg");
  background-size: cover;
  background-position: 72% 26%;
  border-bottom: 1px solid var(--border);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 78% 18%, rgba(155, 140, 232, 0.22) 0%, rgba(155, 140, 232, 0) 70%),
    radial-gradient(48% 46% at 18% 8%, rgba(79, 163, 160, 0.18) 0%, rgba(79, 163, 160, 0) 72%),
    linear-gradient(90deg, rgba(9, 12, 22, 0.92) 0%, rgba(9, 12, 22, 0.66) 44%, rgba(9, 12, 22, 0.3) 70%, rgba(9, 12, 22, 0.55) 100%),
    linear-gradient(180deg, rgba(9, 12, 22, 0.45) 0%, rgba(9, 12, 22, 0.82) 82%, rgba(9, 12, 22, 0.95) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--sheet-max);
  margin: 0 auto;
  padding: 56px 20px 64px;
  display: grid;
  gap: 44px;
}

@media (min-width: 900px) {
  .hero__inner {
    padding: 84px 32px 96px;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: center;
    gap: 64px;
  }
}

.hero__kicker {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 6.4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero__lede {
  margin: 0 0 30px;
  font-size: clamp(16px, 2.2vw, 18.5px);
  line-height: 1.62;
  color: #c9cfdd;
  max-width: 56ch;
}

.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.hero__plate {
  position: relative;
  justify-self: center;
  max-width: 340px;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(201, 164, 92, 0.45);
  background: rgba(9, 12, 22, 0.5);
  box-shadow: 0 30px 70px -40px rgba(215, 180, 106, 0.5);
}

.hero__plate img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.hero__plate figcaption {
  margin-top: 12px;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* ── Лист документа ────────────────────────────────────── */

.sheet {
  max-width: var(--sheet-max);
  margin: 0 auto;
  padding: 44px 20px 72px;
}

@media (min-width: 768px) {
  .sheet { padding: 64px 48px 88px; }
}

@media (min-width: 1024px) {
  .sheet { padding: 72px 64px 96px; }
}

.sheet--doc .h2-sec {
  padding-top: 0;
  margin-top: 44px;
}

.sheet--doc h1 {
  position: relative;
  padding-top: 30px;
}

.sheet--doc h1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 76px;
  height: 1px;
  background: var(--gold);
}

.label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  text-wrap: balance;
}

.lede {
  font-size: 18px;
  line-height: 1.6;
  max-width: 62ch;
  margin: 0 0 24px;
  color: #c9cfdd;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-size: 13.5px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin: 0 0 8px;
}

.meta b { color: var(--fg); font-weight: 500; }

/* ── Ключевое: факты без карточек ──────────────────────── */

.facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 40px 0 0;
  border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
  .facts { grid-template-columns: 1fr 1fr; }
}

.fact {
  padding: 20px 20px 20px 0;
  border-bottom: 1px solid var(--border);
}

.fact:nth-child(odd) { padding-right: 24px; }
.fact:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--border); }

@media (min-width: 640px) {
  .fact:nth-child(3) { border-bottom: 0; }
  .fact:nth-child(4) { border-bottom: 0; }
}

.fact__k {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}

.fact__v {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.25;
  margin: 0;
}

.fact__v--accent { color: var(--accent); }

.fact__note {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Секции главной: римские номера и волосяная линия ──── */

.sheet--main { counter-reset: sec; }

.sec { counter-increment: sec; }

.h2-sec {
  position: relative;
  margin: 0 0 22px;
  padding-top: 36px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 3.4vw, 30px);
  line-height: 1.2;
  text-wrap: balance;
}

.sheet--main .h2-sec::before {
  content: counter(sec, upper-roman);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--gold);
}

.sheet--main .h2-sec::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 46px;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 164, 92, 0.55) 0%, rgba(201, 164, 92, 0.18) 28%, rgba(155, 140, 232, 0.12) 100%);
}

/* ── Шаги заказа ───────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 640px) {
  .steps { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}

@media (min-width: 960px) {
  .steps--five { grid-template-columns: repeat(5, 1fr); column-gap: 0; }
}

.steps--five > li {
  padding: 22px 22px 26px 0;
  border-top: 1px solid var(--border);
  position: relative;
}

@media (min-width: 960px) {
  .steps--five > li { padding-right: 20px; }
  .steps--five > li + li { padding-left: 20px; border-left: 1px solid var(--border); }
}

.step__n {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 0 0 12px;
}

.step__t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 6px;
}

.step__d {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* ── Блоки услуг ───────────────────────────────────────── */

.offer {
  border-top: 1px solid var(--border);
  padding: 28px 0 26px;
}

.offer:last-of-type { border-bottom: 1px solid var(--border); }

.offer--accent { border-bottom: 1px solid var(--border); }

.offer__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 10px;
}

.offer--accent .offer__name { color: var(--accent); }

.offer__lead {
  font-size: 16px;
  line-height: 1.6;
  color: #c9cfdd;
  max-width: 64ch;
  margin: 0 0 20px;
}

.offer__sub {
  font-weight: 700;
  font-size: 14.5px;
  margin: 0 0 12px;
}

.offer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.offer__list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 2px 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.offer__item { font-weight: 500; }

.offer__price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  white-space: nowrap;
}

.offer__desc {
  grid-column: 1 / -1;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}

.offer__note {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 18px 0 0;
  max-width: 66ch;
}

.bullets {
  margin: 0 0 18px;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #c9cfdd;
}

.bullets li { margin: 0 0 8px; }

.gift {
  margin: 30px 0 0;
  padding: 24px 26px;
  border: 1px solid rgba(201, 164, 92, 0.35);
  background: rgba(201, 164, 92, 0.05);
}

.gift__t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 8px;
}

.gift__d {
  font-size: 16px;
  line-height: 1.6;
  color: #c9cfdd;
  margin: 0 0 10px;
  max-width: 64ch;
}

.gift__note {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.plain p {
  max-width: 68ch;
  margin: 0 0 14px;
  line-height: 1.65;
}

.plain p:last-child { margin-bottom: 0; }

.disclaimer {
  margin: 24px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 68ch;
}

.cta__btns--top { margin: 0 0 8px; }

/* ── Состав подписки: список, а не сетка одинаковых карточек ── */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 40px;
  margin: 8px 0 0;
  border-top: 1px solid var(--border);
}

@media (min-width: 720px) {
  .cards { grid-template-columns: 1fr 1fr; }
}

.card {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  transition: background-color 220ms ease;
}

.card:hover {
  background: linear-gradient(90deg, rgba(155, 140, 232, 0.07) 0%, rgba(155, 140, 232, 0) 70%);
}

.card__t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
  margin: 0 0 8px;
}

.card__d {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 46ch;
}

/* ── Вопросы ───────────────────────────────────────────── */

.qa {
  margin: 8px 0 0;
  border-top: 1px solid var(--border);
}

.qa__i {
  border-bottom: 1px solid var(--border);
}

.qa__q {
  font-weight: 700;
  font-size: 16px;
  padding: 16px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
}

.qa__q::-webkit-details-marker { display: none; }

.qa__q::after {
  content: "+";
  margin-left: auto;
  padding-left: 16px;
  color: var(--gold);
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
}

.qa__i[open] .qa__q::after { content: "\2013"; }

.qa__a {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 62ch;
}

/* ── Призыв к действию ─────────────────────────────────── */

.cta {
  margin-top: 56px;
  padding: 34px 28px;
  border: 1px solid rgba(201, 164, 92, 0.4);
  background: linear-gradient(180deg, rgba(201, 164, 92, 0.07), rgba(201, 164, 92, 0.02));
}

@media (min-width: 768px) {
  .cta { padding: 48px 44px; }
}

.cta__t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  margin: 0 0 12px;
}

.cta__d {
  margin: 0 0 24px;
  max-width: 58ch;
  color: #c9cfdd;
  font-size: 15.5px;
}

.cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

/* ── Кнопка ────────────────────────────────────────────── */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #e8ca86 0%, var(--accent) 55%, #b58f42 100%);
  color: var(--accent-on);
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  border: 1px solid rgba(227, 199, 143, 0.55);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 245, 220, 0.35) inset, 0 10px 28px -14px rgba(215, 180, 106, 0.55);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

/* мягкий блик, проходящий по кнопке */
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg, rgba(255, 250, 235, 0) 0%, rgba(255, 250, 235, 0.45) 50%, rgba(255, 250, 235, 0) 100%);
  transform: skewX(-18deg);
  transition: left 620ms ease;
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 1px 0 rgba(255, 245, 220, 0.5) inset, 0 16px 34px -14px rgba(215, 180, 106, 0.7);
  text-decoration: none;
}

.btn:hover::after { left: 115%; }

.btn:active { transform: translateY(1px); }

.btn--ghost {
  background: rgba(155, 140, 232, 0.06);
  color: var(--fg);
  border-color: rgba(155, 140, 232, 0.35);
  box-shadow: none;
}

.btn--ghost::after { display: none; }

.btn--ghost:hover {
  background: rgba(155, 140, 232, 0.14);
  border-color: var(--amethyst);
  color: var(--fg);
  filter: none;
  box-shadow: 0 12px 26px -18px rgba(155, 140, 232, 0.7);
}

/* ── Двухколоночный текст документа ────────────────────── */

.doc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 48px;
}

@media (min-width: 960px) {
  .doc {
    grid-template-columns: 236px minmax(0, 1fr);
    gap: 64px;
  }
}

.toc {
  font-size: 14px;
  align-self: start;
}

@media (min-width: 960px) {
  .toc {
    position: sticky;
    top: 24px;
    border-left: 1px solid var(--border);
    padding-left: 20px;
  }
}

.toc summary {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.toc ol {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  counter-reset: toc;
}

.toc li { margin: 0 0 2px; }

.toc a {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  text-decoration: none;
  color: var(--muted);
  padding: 7px 0;
  line-height: 1.35;
  min-height: 44px;
  align-items: center;
}

.toc a::before {
  counter-increment: toc;
  content: counter(toc);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.toc a:hover { color: var(--fg); }

@media (min-width: 960px) {
  .toc summary { pointer-events: none; }
  .toc summary::-webkit-details-marker { display: none; }
  .toc ol { display: block !important; }
}

/* ── Пункты договора ───────────────────────────────────── */

.clause {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0 18px;
  padding: 26px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 16px;
}

.clause:first-child { border-top: 0; padding-top: 0; }

.clause__mark {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(201, 164, 92, 0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-top: 2px;
}

.clause h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  margin: 4px 0 10px;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .clause h2 { font-size: 21px; }
}

.clause__body { max-width: 68ch; }

.clause__body p { margin: 0 0 12px; }
.clause__body p:last-child { margin-bottom: 0; }

.clause__body ol,
.clause__body ul {
  margin: 0 0 12px;
  padding-left: 22px;
}

.clause__body li { margin: 0 0 6px; }

.clause__body strong { font-weight: 700; }

.clause__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 4px 0 14px;
  font-size: 15px;
}

.clause__body th,
.clause__body td {
  text-align: left;
  padding: 9px 12px 9px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.clause__body th {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom-color: var(--gold);
}

/* ── Таблица цен ───────────────────────────────────────── */

.prices {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 0 0 16px;
}

.prices th,
.prices td {
  text-align: left;
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.prices th {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom-color: var(--gold);
  font-weight: 500;
}

.prices td:last-child,
.prices th:last-child {
  padding-right: 0;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.prices tbody tr:last-child td { border-bottom: 0; }

.prices .group td {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 22px;
  border-bottom: 1px solid var(--border);
  text-align: left !important;
  white-space: normal;
}

/* ── Реквизиты ─────────────────────────────────────────── */

.specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 40px;
  margin: 0;
  max-width: none;
}

@media (min-width: 720px) {
  .specs { grid-template-columns: 1fr 1fr; }
}

.clause__body .specs { grid-template-columns: 1fr; }

.clause__body .specs div {
  grid-template-columns: 1fr;
  gap: 2px;
}

@media (min-width: 560px) {
  .clause__body .specs div {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 0 20px;
  }
}

.specs div {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 0 18px;
  padding: 11px 0;
  border-top: 1px solid var(--border);
}

.specs dt {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

.specs dd {
  margin: 0;
  font-size: 15px;
  overflow-wrap: anywhere;
}

@media (max-width: 460px) {
  .specs div { grid-template-columns: 1fr; gap: 2px; }
}

.pending {
  color: var(--muted);
  font-style: italic;
}

/* ── Подвал ────────────────────────────────────────────── */

.colophon {
  max-width: var(--sheet-max);
  margin: 0 auto;
  padding: 28px 20px 56px;
  color: var(--muted);
  font-size: 13.5px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: baseline;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .colophon { padding: 32px 48px 64px; }
}

.colophon__brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg);
}

.colophon a { color: var(--muted); }
.colophon a:hover { color: var(--fg); }

.colophon__copy { width: 100%; }

/* ── Заголовки в документе и подвал секций ─────────────── */

.closing {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.closing h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 10px;
}

.closing p {
  max-width: 56ch;
  margin: 0 0 22px;
  color: var(--muted);
}

/* ── Мелочи ────────────────────────────────────────────── */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--fg);
  color: #0e1220;
  padding: 12px 18px;
  z-index: 10;
}

.skip:focus {
  left: 8px;
  top: 8px;
}

.note {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 14px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Платформа-хостинг добавляет плашку «Made with Spru» (внешний скрипт,
   рисуется в закрытом shadow DOM). Юридических требований указывать
   разработчика нет — скрываем по решению владельца сайта). */
#spru-pages-badge-host {
  display: none !important;
}

.hero__note {
  margin: 14px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--gold);
  color: var(--text-soft, #b9b2a4);
  font-size: 15px;
  letter-spacing: 0.01em;
}
