/* Белая страница с графитовым текстом; оранжевый логотипа — акцентом и одной сплошной полосой (тарифы).
   Повторяющийся мотив — диагональ буквы N логотипа: косой срез у плашек и маркеров. */
:root {
  --brand: #ef5a0c;
  --brand-ink: #c44700; /* оранжевый для текста на белом — читаемый контраст */
  --brand-soft: #fff1e8;
  --bg: #ffffff;
  --surface: #faf7f5;
  --line: #ece4de;
  --fg: #1c1815;
  --muted: #6b625c;
  --on-brand: #ffffff;
  --good: #1f8a4c;
  --bad: #c2352b;
  --display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --r: 14px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}
h1,
h2,
h3 {
  font-family: var(--display);
  text-wrap: balance;
  margin: 0;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
[hidden] {
  display: none !important;
}

.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---- Шапка ---- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.brand img {
  height: 32px;
  width: auto;
  border-radius: 6px;
  display: block;
}
.brand span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
}
.nav {
  display: flex;
  gap: 22px;
  font-weight: 600;
  font-size: 15px;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
}
.nav a:hover {
  color: var(--fg);
}
.hdr-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.socials {
  display: flex;
  gap: 6px;
}
.soc {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--fg);
  text-decoration: none;
}
.soc:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.soc svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.btn {
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-brand {
  background: var(--brand);
  color: var(--on-brand);
}
.btn-brand:hover {
  filter: brightness(1.06);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--fg);
  background: var(--bg);
}
.btn-ghost:hover {
  border-color: var(--fg);
}
.btn-sm {
  padding: 8px 14px;
  font-size: 14px;
}
@media (max-width: 960px) {
  .nav,
  .hdr-end .socials {
    display: none;
  }
}
@media (max-width: 760px) {
  .wrap {
    padding-inline: 16px;
  }
  .hdr .wrap {
    height: 60px;
    gap: 12px;
  }
}
@media (max-width: 400px) {
  .hdr-end {
    gap: 8px;
  }
  .hdr .btn-sm {
    padding: 7px 10px;
    font-size: 13px;
  }
}

/* ---- Первый экран ---- */
.hero {
  padding-block: 64px 72px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -8%;
  top: -30%;
  width: 46%;
  height: 160%;
  background: var(--brand-soft);
  transform: skewX(-24deg);
  z-index: 0;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-ink);
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--brand);
  transform: skewX(-30deg);
}
.hero h1 {
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.06;
  font-weight: 800;
  margin-top: 18px;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand);
}
.hero .lead {
  margin-top: 20px;
  font-size: 18px;
  color: var(--muted);
  max-width: 34em;
}
.hero .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero .note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.fact b {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
}
.fact span {
  font-size: 13px;
  color: var(--muted);
}

.app {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 24px 50px -28px rgb(60 30 10 / 0.35);
  overflow: hidden;
  min-width: 0;
}
.app-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
}
.app-top .dots {
  display: flex;
  gap: 5px;
}
.app-top .dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}
.app-top .tabs {
  display: flex;
  gap: 4px;
  margin-left: 8px;
  overflow: hidden;
}
.app-top .tabs span {
  padding: 3px 10px;
  border-radius: 6px;
  color: var(--muted);
  white-space: nowrap;
}
.app-top .tabs .on {
  background: var(--bg);
  color: var(--fg);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--brand);
}
.app-top .sample {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.app-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px 4px;
  font-size: 12px;
}
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  color: var(--muted);
}
.chip b {
  color: var(--fg);
  font-weight: 600;
}
.tbl-scroll {
  overflow-x: auto;
  padding: 4px 6px 10px;
}
.rnp {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.rnp th,
.rnp td {
  padding: 7px 10px;
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.rnp th {
  font-weight: 600;
  color: var(--muted);
  font-size: 12px;
}
.rnp th:first-child,
.rnp td:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  background: var(--bg);
}
.rnp td:first-child {
  font-weight: 600;
}
.rnp .tot,
.rnp td.tot:first-child {
  font-weight: 700;
  background: var(--surface);
}
.rnp .hot {
  color: var(--bad);
  font-weight: 700;
}
.rnp .ok {
  color: var(--good);
  font-weight: 700;
}
.rnp tr.ev td,
.rnp tr.ev td:first-child {
  background: var(--brand-soft);
}
.rnp tr.ev td:first-child {
  color: var(--brand-ink);
}
.spark {
  display: block;
  width: 100%;
  height: 54px;
}
@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .hero::after {
    width: 70%;
    top: auto;
    bottom: -10%;
    height: 55%;
  }
}
@media (max-width: 760px) {
  .hero {
    padding-block: 36px 44px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero .lead {
    font-size: 16px;
  }
  .hero .ctas .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
  .fact b {
    font-size: 17px;
  }
}

/* ---- Секции ---- */
section.blk {
  padding-block: 88px;
}
section.alt {
  background: var(--surface);
}
.sec-head {
  display: grid;
  gap: 14px;
  max-width: 46em;
  margin-bottom: 40px;
}
.sec-head h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.12;
}
.sec-head p {
  color: var(--muted);
  font-size: 17px;
}
@media (max-width: 760px) {
  section.blk {
    padding-block: 56px;
  }
  .sec-head {
    margin-bottom: 28px;
  }
  .sec-head h2 {
    font-size: 24px;
  }
  .sec-head p {
    font-size: 15px;
  }
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
}
.about .txt {
  display: grid;
  gap: 16px;
  font-size: 17px;
}
.about .txt p:first-child {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
}
.pains {
  border-top: 1px solid var(--line);
}
.pain {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.pain .was {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 3px;
}
.pain .was s {
  text-decoration-color: var(--brand);
  text-decoration-thickness: 2px;
}
.pain div b {
  display: block;
  font-weight: 700;
}
.pain div span {
  color: var(--muted);
  font-size: 15px;
}
@media (max-width: 860px) {
  .about {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .about .txt p:first-child {
    font-size: 18px;
  }
  .pain {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.adv {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.adv > div {
  background: var(--bg);
  padding: 28px 26px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.adv b.k {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}
.adv h3 {
  font-family: var(--body);
  font-size: 18px;
  font-weight: 700;
}
.adv p {
  color: var(--muted);
  font-size: 15px;
}
@media (max-width: 900px) {
  .adv {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .adv {
    grid-template-columns: minmax(0, 1fr);
  }
  .adv > div {
    padding: 22px 20px;
  }
}

.sheets {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.groups {
  display: grid;
  gap: 4px;
  position: sticky;
  top: 92px;
}
.groups button {
  font: inherit;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: none;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
}
.groups button small {
  font-family: var(--mono);
  font-size: 12px;
}
.groups button[aria-selected='true'] {
  background: var(--bg);
  border-color: var(--line);
  color: var(--fg);
  box-shadow: inset 3px 0 0 var(--brand);
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.card .top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}
.card h3 {
  font-family: var(--body);
  font-size: 18px;
  font-weight: 700;
}
.mp {
  display: flex;
  gap: 4px;
  flex: none;
}
.mp i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.card p {
  color: var(--muted);
  font-size: 15px;
}
.card ul {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.card li {
  font-size: 12px;
  background: var(--surface);
  padding: 3px 9px;
  border-radius: 6px;
}
@media (max-width: 900px) {
  .sheets {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .groups {
    position: static;
    display: flex;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
  }
  .groups button {
    flex: none;
    padding: 8px 14px;
    border-color: var(--line);
    background: var(--bg);
  }
  .groups button small {
    display: none;
  }
  .groups button[aria-selected='true'] {
    background: var(--fg);
    color: var(--bg);
    box-shadow: none;
  }
}
@media (max-width: 600px) {
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .card {
    padding: 18px;
  }
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.step {
  padding-right: 28px;
  display: grid;
  gap: 10px;
  align-content: start;
  position: relative;
}
.step .n {
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--on-brand);
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
}
.step::after {
  content: '';
  position: absolute;
  left: 58px;
  right: 20px;
  top: 21px;
  border-top: 2px dashed var(--line);
}
.step:last-child::after {
  display: none;
}
.step h3 {
  font-family: var(--body);
  font-size: 19px;
  font-weight: 700;
  margin-top: 6px;
}
.step p {
  color: var(--muted);
  font-size: 15px;
}
@media (max-width: 760px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .step {
    padding: 0;
  }
  .step::after {
    display: none;
  }
}

/* Тарифы — единственная сплошная оранжевая полоса */
.pricing {
  background: var(--brand);
  color: var(--on-brand);
  position: relative;
  overflow: hidden;
}
.pricing::before {
  content: '';
  position: absolute;
  left: -10%;
  top: 0;
  bottom: 0;
  width: 34%;
  background: rgb(255 255 255 / 0.07);
  transform: skewX(-24deg);
}
.pricing .wrap {
  position: relative;
}
.pricing .sec-head p {
  color: rgb(255 255 255 / 0.86);
}
.pricing .eyebrow {
  color: var(--on-brand);
}
.pricing .eyebrow::before {
  background: var(--on-brand);
}
.tariffs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.tariff {
  background: var(--bg);
  color: var(--fg);
  border-radius: var(--r);
  padding: 26px 22px;
  display: grid;
  gap: 18px;
  align-content: start;
  position: relative;
}
.tariff.pick {
  outline: 3px solid var(--fg);
}
.tariff .badge {
  position: absolute;
  top: -12px;
  left: 22px;
  background: var(--fg);
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
}
.tariff h3 {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
}
.tariff h3 b {
  font-family: var(--display);
  color: var(--fg);
  font-size: 22px;
  margin-left: 4px;
}
.price {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price small {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.who {
  font-size: 14px;
  color: var(--muted);
  margin-top: -8px;
}
.lim {
  margin: 0;
}
.lim div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.lim dt {
  color: var(--muted);
}
.lim dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.tariff .btn {
  justify-content: center;
}
.price-foot {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.ind {
  background: rgb(0 0 0 / 0.14);
  border-radius: var(--r);
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.ind h3 {
  font-family: var(--body);
  font-size: 18px;
  font-weight: 700;
}
.ind p {
  color: rgb(255 255 255 / 0.86);
  font-size: 14px;
  max-width: 32em;
}
.ind .btn {
  background: var(--on-brand);
  color: var(--fg);
}
.incl {
  list-style: none;
  margin: 0;
  padding: 22px 24px;
  border-radius: var(--r);
  border: 1px solid rgb(255 255 255 / 0.35);
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.incl li {
  display: flex;
  gap: 10px;
}
.incl li::before {
  content: '';
  flex: none;
  width: 10px;
  height: 2px;
  background: var(--on-brand);
  margin-top: 10px;
  transform: skewX(-30deg);
}
@media (max-width: 1020px) {
  .tariffs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }
  .price-foot {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .tariffs {
    grid-template-columns: minmax(0, 1fr);
  }
  .price {
    font-size: 30px;
  }
}

.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  align-items: start;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-family: var(--display);
  color: var(--brand);
  font-size: 20px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '–';
}
.faq details p {
  color: var(--muted);
  margin-top: 10px;
  font-size: 15px;
}
@media (max-width: 760px) {
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq summary {
    font-size: 16px;
  }
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  border-radius: 20px;
  background: var(--fg);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: '';
  position: absolute;
  right: 18%;
  top: -20%;
  width: 80px;
  height: 140%;
  background: var(--brand);
  transform: skewX(-24deg);
  opacity: 0.9;
}
.cta > * {
  position: relative;
  z-index: 1;
}
.cta h2 {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  max-width: 18em;
}
.cta p {
  opacity: 0.75;
  margin-top: 8px;
}
@media (max-width: 760px) {
  .cta {
    padding: 28px 22px;
  }
  .cta::after {
    right: -6%;
    width: 50px;
  }
  .cta .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* ---- Подвал ---- */
.ftr {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-block: 48px 28px;
  font-size: 14px;
}
.ftr-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.ftr h4 {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.ftr ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.ftr a {
  text-decoration: none;
}
.ftr a:hover {
  color: var(--brand-ink);
}
.ftr .org {
  color: var(--muted);
  display: grid;
  gap: 4px;
  margin-top: 14px;
  font-variant-numeric: tabular-nums;
}
.ftr .socials {
  margin-top: 14px;
}
.ftr-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.ftr-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
@media (max-width: 860px) {
  .ftr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ftr-grid > :first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .ftr-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .card {
    transition:
      border-color 0.15s,
      transform 0.15s;
  }
  .card:hover {
    border-color: var(--brand);
    transform: translateY(-2px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ---- Кнопка «Наверх» ---- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 25;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--fg);
  color: var(--bg);
  box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.45);
  text-decoration: none;
}
.to-top:hover {
  background: var(--brand);
  color: var(--on-brand);
}
.to-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}
@media (max-width: 760px) {
  .to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
}

/* ---- Страницы документов (оферта, политика) ---- */
.doc {
  padding-block: 48px 80px;
}
.doc .wrap {
  max-width: 820px;
}
.doc .back {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.doc .back:hover {
  color: var(--brand-ink);
}
.doc h1 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  margin-top: 18px;
}
.doc .meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
}
.doc .toc {
  margin: 28px 0 8px;
  padding: 18px 22px;
  background: var(--surface);
  border-radius: var(--r);
  columns: 2;
  column-gap: 32px;
  font-size: 14px;
  list-style: none;
}
.doc .toc li {
  break-inside: avoid;
  padding: 3px 0;
}
.doc .toc a {
  text-decoration: none;
  color: var(--fg);
}
.doc .toc a:hover {
  color: var(--brand-ink);
}
.doc h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 40px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.doc p,
.doc li {
  font-size: 16px;
  line-height: 1.65;
}
.doc p {
  margin-top: 12px;
}
.doc ul.list {
  margin: 10px 0 0;
  padding-left: 22px;
}
.doc ul.list li {
  margin-top: 6px;
}
.doc dl.req {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 8px 20px;
  margin: 16px 0 0;
  font-size: 15px;
}
.doc dl.req dt {
  color: var(--muted);
}
.doc dl.req dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 760px) {
  .doc {
    padding-block: 32px 56px;
  }
  .doc .toc {
    columns: 1;
  }
  .doc h2 {
    font-size: 18px;
  }
  .doc p,
  .doc li {
    font-size: 15px;
  }
  .doc dl.req {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .doc dl.req dd {
    margin-bottom: 10px;
  }
}
.ftr-bottom:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.ftr-bottom a[aria-current='page'] {
  color: var(--fg);
  font-weight: 600;
}
