/* ==========================================================================
   ИИ Право — iilaw.ru
   Оформление «Контраст»: белый лист, чёрная типографика, один акцент.
   ========================================================================== */

:root {
  --ink: #101010;
  --paper: #ffffff;
  --tint: #f6f4f0;
  --line: #d6d3cc;
  --text: #3a3a3a;
  --muted: #4c4c4c;
  --accent: #c22a0e;
  --accent-soft: #f07a5c;

  --display: "Unbounded", "Helvetica Neue", Arial, sans-serif;
  --body: "Onest", "Helvetica Neue", Arial, sans-serif;

  --pad: 64px;
  --maxw: 1440px;
}

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

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

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

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; }

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.label--accent { color: var(--accent); }

/* ------------------------------------------------------------------ шапка */

.site-header {
  border-bottom: 2px solid var(--ink);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 20;
}

.site-header__inner {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.nav a.is-active { color: var(--accent); }

.burger {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0; background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
}

/* ------------------------------------------------------------------ кнопки */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 30px;
  border: 0;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { color: inherit; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2a2a; color: #fff; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #a92309; color: #fff; }
.btn--ghost { border: 2px solid var(--ink); background: none; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--sm { height: 46px; padding: 0 22px; font-size: 14px; }
.btn[disabled] { background: #8a8a8a; color: #fff; cursor: default; }

/* ------------------------------------------------------------------- герой */

.hero { padding: 60px 0 48px; }

.hero__title {
  font-size: clamp(38px, 6vw, 82px);
  line-height: 0.99;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-wrap: pretty;
}
.hero__title .accent { color: var(--accent); }

.hero__split {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  border-top: 2px solid var(--ink);
  margin-top: 40px;
  padding-top: 32px;
}
.hero__lead {
  flex: 1 1 auto;
  max-width: 560px;
  font-size: 20px;
  line-height: 1.55;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero__aside { flex: 0 0 520px; }

/* --------------------------------------------------------- строки-перечень */

.deflist { display: flex; flex-direction: column; }
.deflist div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.deflist div:last-child { border-bottom: 0; }
.deflist dt, .deflist .term { font-size: 16px; font-weight: 600; }
.deflist dd, .deflist .val { margin: 0; font-size: 14px; color: var(--muted); white-space: nowrap; }

/* ----------------------------------------------------------- тёмная полоса */

.band {
  background: var(--ink);
  color: #fff;
}
.band .wrap {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.band h2 { font-size: clamp(24px, 3vw, 30px); }
.band p { color: #d8d8d8; font-size: 16px; }

.stats { display: flex; gap: 64px; }
.stat__num {
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat__cap {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bdbdbd;
}

.band__text { max-width: 420px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

/* ------------------------------------------------------------- секции/шапки */

.section { padding: 48px 0; }
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 24px;
}
.section__head h2 { font-size: clamp(26px, 3vw, 34px); }
.section__link {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

/* ----------------------------------------------------- нумерованный перечень */

.rows { border-top: 2px solid var(--ink); }
.rows__item {
  display: grid;
  grid-template-columns: 72px 280px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.rows__num {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}
.rows__name { font-size: 21px; font-weight: 600; }
.rows__text { font-size: 16px; line-height: 1.55; color: var(--text); }

/* ------------------------------------------------------------ шапка страницы */

.page-head {
  padding: 56px 0 36px;
  border-bottom: 2px solid var(--ink);
}
.page-head__inner {
  display: flex;
  gap: 64px;
  align-items: flex-end;
  justify-content: space-between;
}
.page-head h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.045em;
  margin: 18px 0 0;
}
.page-head p { margin-top: 18px; font-size: 19px; color: var(--text); max-width: 760px; }
.page-head__side {
  flex: 0 0 300px;
  border-top: 2px solid var(--ink);
  padding-top: 18px;
  font-size: 15px;
  color: var(--text);
}

/* ------------------------------------------------------------------ таблица */

.table { margin-top: 36px; }
.table__head,
.table__row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 260px 180px;
  gap: 24px;
  align-items: center;
}
.table__head {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.table__row {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.table__row--lead { background: var(--tint); }
.table__row--lead .table__num,
.table__row--lead .table__price { padding-left: 12px; }
.table__num { font-family: var(--display); font-size: 14px; font-weight: 600; }
.table__row--lead .table__num { color: var(--accent); }
.table__name { font-size: 21px; font-weight: 600; }
.table__desc, .table__res { font-size: 15px; line-height: 1.5; color: var(--text); }
.table__desc { margin-top: 5px; }
.table__price strong { display: block; font-family: var(--display); font-size: 18px; font-weight: 600; }
.table__price span { font-size: 14px; color: var(--muted); }

/* --------------------------------------------------------------- сетка карт */

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  margin-top: 40px;
}
.cell {
  background: var(--paper);
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cell__num { font-family: var(--display); font-size: 14px; font-weight: 600; color: var(--accent); }
.cell h3 { font-family: var(--body); font-size: 23px; letter-spacing: 0; }
.cell p { font-size: 15.5px; color: var(--text); }
.cell__note {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ------------------------------------------------------------- база знаний */

.feature {
  display: flex;
  align-items: stretch;
  background: var(--ink);
  color: #fff;
  margin-top: 32px;
}
.feature:hover { color: #fff; }
.feature__body { flex: 1 1 auto; padding: 36px 44px; display: flex; flex-direction: column; gap: 14px; }
.feature__meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #bdbdbd; }
.feature__meta .accent { color: var(--accent-soft); }
.feature__title { font-family: var(--display); font-size: clamp(24px, 3vw, 34px); line-height: 1.15; font-weight: 600; letter-spacing: -0.04em; max-width: 780px; }
.feature p { color: #d8d8d8; font-size: 16.5px; max-width: 720px; }
.feature__cta {
  flex: 0 0 240px;
  border-left: 1px solid #333;
  display: flex;
  align-items: flex-end;
  padding: 36px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.chip:hover { background: var(--tint); color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.list { margin-top: 36px; }
.list__head,
.list__item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 300px 90px;
  gap: 24px;
  align-items: center;
}
.list__head {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.list__item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.list__item:hover { background: var(--tint); color: inherit; }
.list__date { font-size: 14.5px; color: var(--muted); }
.list__name { font-size: 21px; font-weight: 600; }
.list__desc { margin-top: 5px; font-size: 15px; line-height: 1.5; color: var(--text); }
.list__tags, .list__time { font-size: 13.5px; color: var(--muted); }

/* ---------------------------------------------------------------- новости */

.news__item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 220px;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.news__item:hover { color: inherit; background: var(--tint); }
.news__date { font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--accent); }
.news__title { font-size: 22px; font-weight: 600; }
.news__text { margin-top: 6px; font-size: 16px; line-height: 1.55; color: var(--text); }
.news__who { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ----------------------------------------------------------------- статья */

.article-head { padding: 40px 0 32px; border-bottom: 2px solid var(--ink); }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumbs .current { color: var(--accent); }
.article-head h1 {
  margin-top: 24px;
  max-width: 1060px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-wrap: pretty;
}
.article-head__lead { margin-top: 24px; max-width: 880px; font-size: clamp(17px, 2vw, 21px); line-height: 1.55; color: var(--text); }
.article-head__meta { margin-top: 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.article {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 260px;
  gap: 64px;
  align-items: start;
  padding: 44px 0 56px;
}

.toc { border-top: 2px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 108px; }
.toc__title { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.toc a { font-size: 15.5px; line-height: 1.45; color: var(--text); }
.toc a.is-active { color: var(--accent); font-weight: 600; }
.toc__toggle { display: none; }

.prose { max-width: 760px; display: flex; flex-direction: column; gap: 26px; }
.prose p { font-size: 19px; line-height: 1.8; color: #1a1a1a; }
.prose h2 { margin-top: 14px; font-size: clamp(22px, 2.4vw, 27px); line-height: 1.2; }

.callout {
  border: 2px solid var(--ink);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.callout__label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.callout p { font-size: 17px; line-height: 1.65; }

.timeline { border-top: 2px solid var(--ink); }
.timeline div {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.timeline dt, .timeline .term { font-size: 15px; font-weight: 600; }
.timeline dd, .timeline .val { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text); }

.article__aside { border-top: 2px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 18px; }.article__aside h2 { font-family: var(--body); font-size: 16px; letter-spacing: 0; }
.author__name { font-size: 18px; font-weight: 600; }
.author__role { font-size: 15px; line-height: 1.5; color: var(--text); }
.aside-cta { background: var(--tint); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.aside-cta strong { font-size: 16px; font-weight: 600; }
.aside-cta small { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.aside-cta .btn { width: 100%; height: 48px; padding: 0 16px; font-size: 14px; }

/* ---------------------------------------------------------------- сноски */

.prose sup.ref { font-size: 11px; line-height: 0; vertical-align: super; margin-left: 2px; }
.prose sup.ref a { font-weight: 600; color: var(--accent); }

.sources { border-top: 2px solid var(--ink); padding-top: 18px; margin-top: 8px; }
.sources__title {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.sources ol { margin: 14px 0 0; padding-left: 20px; }
.sources li { font-size: 15px; line-height: 1.6; color: var(--text); margin-bottom: 10px; }
.sources li a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.sources li a:hover { color: var(--accent); }
.sources__back { margin-left: 6px; text-decoration: none; color: var(--muted); }

/* ------------------------------------------------------------------ формы */

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 72px;
  align-items: start;
  padding: 44px 0 56px;
}
.form { display: flex; flex-direction: column; gap: 22px; }
.form__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 0 16px;
  height: 56px;
  border-radius: 0;
  appearance: none;
}
.field textarea { height: auto; padding: 16px; line-height: 1.6; resize: vertical; }
.field select { background-image: none; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-width: 2px;
  padding-left: 15px;
  background: var(--tint);
}
.field textarea:focus { padding: 15px; }
.field.has-error input,
.field.has-error textarea { border: 2px solid var(--accent); }
.field__error { display: none; font-size: 13px; line-height: 1.45; color: var(--accent); }
.field.has-error .field__error { display: block; }

.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.6; color: var(--text); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.consent a { color: var(--accent); font-weight: 600; }

.form__submit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__note { font-size: 14px; color: var(--muted); }

.form-status { display: none; }
.form-status.is-visible { display: flex; }
.form-status--ok {
  background: var(--ink);
  color: #fff;
  padding: 30px 34px;
  flex-direction: column;
  gap: 12px;
}
.form-status--ok h2 { font-size: 26px; }
.form-status--ok p { color: #d8d8d8; font-size: 16px; max-width: 620px; }
.form-status--fail {
  border: 2px solid var(--accent);
  padding: 20px 24px;
  flex-direction: column;
  gap: 8px;
}
.form-status--fail strong { font-size: 18px; color: var(--accent); }
.form-status--fail p { font-size: 15.5px; color: var(--text); }

.contacts-aside { display: flex; flex-direction: column; gap: 28px; }
.contacts-aside__block { border-top: 2px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.contacts-aside__big { font-size: 21px; font-weight: 600; }
.steps { display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--line); padding-top: 20px; }
.steps div { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.steps .num { font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--accent); }
.steps p { font-size: 15.5px; color: var(--text); }
.req { background: var(--tint); padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.req strong { font-size: 17px; }
.req p { font-size: 14.5px; line-height: 1.7; color: var(--text); }

/* ------------------------------------------------------------------- книга */

.book { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 72px; align-items: start; padding: 56px 0; }
.cover {
  aspect-ratio: 42 / 58;
  background: var(--ink);
  color: #fff;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cover__kind { font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-soft); }
.cover__title { font-family: var(--display); font-size: clamp(28px, 3vw, 40px); line-height: 1.08; font-weight: 700; letter-spacing: -0.045em; margin-top: 10px; }
.cover__rule { height: 2px; background: var(--accent); }
.cover__author { font-size: 18px; font-weight: 600; }
.cover__year { margin-top: 6px; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: #bdbdbd; }
.book__side-note { margin-top: 16px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.book__body { display: flex; flex-direction: column; gap: 28px; }
.book__body h1 { font-size: clamp(30px, 4vw, 52px); line-height: 1.02; font-weight: 700; letter-spacing: -0.045em; }
.book__body > p { max-width: 700px; font-size: 19px; line-height: 1.65; color: var(--text); }
.book-form { background: var(--tint); padding: 32px 36px; display: flex; flex-direction: column; gap: 20px; }
.book-form h2 { font-size: 26px; }
.book-form__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

/* --------------------------------------------------------------------- 404 */

.error-page { padding: 100px 0 120px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.error-page__code { font-family: var(--display); font-size: clamp(64px, 12vw, 140px); line-height: 1; font-weight: 700; letter-spacing: -0.05em; color: var(--accent); }
.error-page p { max-width: 560px; font-size: 19px; line-height: 1.6; color: var(--text); }
.error-page__links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }

/* ------------------------------------------------------------------ подвал */

.site-footer {
  border-top: 2px solid var(--ink);
  margin-top: 40px;
}
.site-footer .wrap {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--muted);
}
.site-footer__links { display: flex; gap: 26px; flex-wrap: wrap; }

/* ------------------------------------------------------------- адаптивность */

@media (max-width: 1200px) {
  :root { --pad: 40px; }
  .article { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
  .article__aside { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; }
  .hero__aside { flex-basis: 420px; }
  .list__head, .list__item { grid-template-columns: 140px minmax(0, 1fr) 100px; }
  .list__tags { display: none; }
  .table__head, .table__row { grid-template-columns: 44px minmax(0, 1fr) 200px 160px; }
  .book { grid-template-columns: 340px minmax(0, 1fr); gap: 48px; }
}

@media (max-width: 900px) {
  :root { --pad: 20px; }

  body { font-size: 16px; }

  .site-header__inner { height: 58px; }
  .nav {
    display: none;
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
  }
  .nav.is-open { display: flex; }
  .nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .site-header .btn--sm { display: none; }
  .burger { display: flex; }

  .hero { padding: 26px 0 28px; }
  .hero__split { flex-direction: column; gap: 28px; margin-top: 28px; padding-top: 24px; }
  .hero__aside { flex-basis: auto; width: 100%; }
  .hero__lead { font-size: 17px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }

  .band .wrap { flex-direction: column; align-items: flex-start; gap: 24px; }
  .stats { width: 100%; justify-content: space-between; gap: 16px; }
  .band__text { max-width: none; width: 100%; }
  .band__text .btn { width: 100%; }

  .section { padding: 28px 0; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 12px; }

  .rows__item { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px 0; }
  .rows__name { grid-column: 2; font-size: 17px; }
  .rows__text { grid-column: 2; font-size: 15px; }

  .page-head { padding: 26px 0 22px; }
  .page-head__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .page-head__side { flex-basis: auto; }
  .page-head p { font-size: 16.5px; }

  .table__head { display: none; }
  .table__row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 18px 0;
    align-items: start;
  }
  .table__row--lead { padding: 18px 12px; }
  .table__row--lead .table__num, .table__row--lead .table__price { padding-left: 0; }
  .table__body-cell, .table__res, .table__price { grid-column: 2; }
  .table__name { font-size: 18px; }
  .table__price { margin-top: 8px; display: flex; align-items: baseline; gap: 12px; }

  .grid3 { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .cell { padding: 22px 20px 26px; }

  .feature { flex-direction: column; }
  .feature__body { padding: 24px 22px; }
  .feature__cta { flex-basis: auto; border-left: 0; border-top: 1px solid #333; padding: 18px 22px; }

  .list__head { display: none; }
  .list__item { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 18px 0; }
  .list__time { display: none; }
  .list__name { font-size: 18px; }

  .news__item { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 18px 0; }
  .news__title { font-size: 19px; }

  .article-head { padding: 22px 0 20px; }
  .article { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 22px 0 32px; }
  .toc {
    position: static;
    border: 1px solid var(--ink);
    border-top: 1px solid var(--ink);
    padding: 16px 18px;
    gap: 10px;
  }
  .toc a { display: none; }
  .toc.is-open a { display: block; }
  .toc__head { display: flex; align-items: center; justify-content: space-between; }
  .toc__toggle {
    display: block;
    width: 44px; height: 32px;
    margin-right: -12px;
    border: 0; background: none;
    font-family: var(--body); font-size: 20px; line-height: 1;
    color: var(--ink); cursor: pointer;
  }
  .prose p { font-size: 17px; line-height: 1.75; }
  .timeline div { grid-template-columns: 130px minmax(0, 1fr); gap: 12px; }

  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 24px 0 32px; }
  .form__pair { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .form { gap: 16px; }
  .field input, .field select { height: 54px; }
  .form__submit .btn { width: 100%; }

  .book { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 26px 0 32px; }
  .cover { max-width: 320px; }
  .book-form { padding: 22px 20px; }
  .book-form__grid { grid-template-columns: minmax(0, 1fr); }

  .error-page { padding: 60px 0 80px; }

  .site-footer .wrap { flex-direction: column; align-items: flex-start; gap: 14px; }
}

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

@media print {
  .site-header, .site-footer, .band, .aside-cta { display: none; }
  body { font-size: 12pt; }
}
