/* sl-content.css v1 — контентные страницы «Особого Запаса» (Этап 9, t371):
   /how-it-works/, /delivery/, /offer/. Палитра — токены сайта
   (--paper/--ink/--acc); мобайл — minmax(0,1fr), перенос длинных слов
   точечно (уроки t369/t370). */

.ctn { padding: 18px 0 46px; }
.ctn__title { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; margin: 0 0 8px; letter-spacing: -.01em; }
.ctn__lead { font-size: 15px; color: #4a4546; line-height: 1.65; margin: 0 0 6px; max-width: 780px; }
.ctn__badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700;
  color: var(--acc, #d52b1e); background: rgba(213, 43, 30, .07); border-radius: 999px;
  padding: 5px 12px; margin: 14px 0 0; }
.ctn__badge i { font-style: normal; font-size: 13px; }

.ctn__h2 { font-size: clamp(19px, 2.6vw, 24px); font-weight: 800; margin: 40px 0 6px; letter-spacing: -.01em; }
.ctn__h2:first-of-type { margin-top: 30px; }
.ctn__sub { font-size: 13.5px; color: #6b6364; line-height: 1.6; margin: 0 0 16px; max-width: 720px; }
.ctn__p { font-size: 14.5px; color: #37302f; line-height: 1.7; margin: 0 0 12px; max-width: 780px; }
.ctn__p b { color: var(--ink, #241f20); }

/* шаги / карточки-схема */
/* t371-фикс: minmax(0,1fr)+auto-fit давал узкие треки на 390px (колонки по
   95px — слова не влезали, hScroll 441>390). Мин-ширина карточки задаёт
   разумное число колонок: 1 на мобиле, 3-5 на десктопе. */
.ctn__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px; margin: 18px 0 8px; }
.ctn__step { background: var(--paper, #fff); border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px; padding: 18px; min-width: 0; position: relative; }
.ctn__step-n { width: 34px; height: 34px; border-radius: 10px; background: var(--acc, #d52b1e);
  color: #fff; font-weight: 800; font-size: 16px; display: flex; align-items: center;
  justify-content: center; margin: 0 0 12px; }
.ctn__step b { display: block; font-size: 15.5px; font-weight: 800; margin: 0 0 6px; line-height: 1.35; }
.ctn__step p { font-size: 13px; color: #4a4546; line-height: 1.6; margin: 0; overflow-wrap: break-word; }
.ctn__step p strong { color: var(--ink, #241f20); }

/* таблицы */
.ctn__table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 14px 0;
  background: var(--paper, #fff); border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08); }
.ctn__table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em;
  color: #6b6364; font-weight: 700; padding: 10px 14px; background: rgba(0, 0, 0, .03);
  border-bottom: 1px solid rgba(0, 0, 0, .08); }
.ctn__table td { padding: 11px 14px; border-bottom: 1px solid rgba(0, 0, 0, .05);
  color: #37302f; line-height: 1.5; vertical-align: top; }
.ctn__table tr:last-child td { border-bottom: 0; }
.ctn__table td b { font-weight: 700; white-space: nowrap; }
.ctn__table .is-total td { background: rgba(213, 43, 30, .04); font-weight: 700; }
.ctn__table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* врезка-пример */
.ctn__callout { background: rgba(0, 0, 0, .03); border-radius: 14px; padding: 16px 18px;
  margin: 16px 0; font-size: 13.5px; color: #4a4546; line-height: 1.65; max-width: 780px; }
.ctn__callout b { color: var(--ink, #241f20); }

/* FAQ */
.ctn__faq { display: grid; gap: 10px; margin: 16px 0; max-width: 780px; }
.ctn__faq details { background: var(--paper, #fff); border: 1px solid rgba(0, 0, 0, .09);
  border-radius: 12px; padding: 0 16px; }
.ctn__faq summary { cursor: pointer; font-size: 14px; font-weight: 700; padding: 13px 0;
  list-style: none; position: relative; padding-right: 26px; }
.ctn__faq summary::-webkit-details-marker { display: none; }
.ctn__faq summary::after { content: "+"; position: absolute; right: 2px; top: 50%;
  transform: translateY(-50%); font-size: 18px; font-weight: 600; color: var(--acc, #d52b1e); }
.ctn__faq details[open] summary::after { content: "–"; }
.ctn__faq details p { font-size: 13.5px; color: #4a4546; line-height: 1.65; margin: 0 0 14px; }
.ctn__faq details p:last-child { margin-bottom: 14px; }

/* CTA */
.ctn__cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  margin: 26px 0 4px; }
.ctn__cta a { display: inline-block; padding: 13px 24px; border-radius: 12px;
  font-weight: 800; font-size: 15px; text-decoration: none; }
.ctn__go { background: var(--acc, #d52b1e); color: #fff; }
.ctn__go:hover { background: #b3261e; }
.ctn__alt { color: #4a4546; border: 1px solid rgba(0, 0, 0, .16); background: var(--paper, #fff); }
.ctn__alt:hover { color: var(--ink, #241f20); border-color: rgba(0, 0, 0, .3); }

/* оферта: нумерованные разделы */
.ctn__doc { font-size: 14px; color: #37302f; line-height: 1.7; max-width: 820px; }
.ctn__doc h3 { font-size: 16px; font-weight: 800; margin: 26px 0 8px; }
.ctn__doc p { margin: 0 0 11px; }
.ctn__doc ol, .ctn__doc ul { margin: 0 0 12px; padding-left: 22px; }
.ctn__doc li { margin: 0 0 7px; }
.ctn__doc .ctn__ph { background: rgba(213, 43, 30, .06); border-radius: 6px; padding: 1px 6px;
  font-weight: 600; color: var(--acc, #d52b1e); white-space: nowrap; }
.ctn__doc-toc { background: rgba(0, 0, 0, .03); border-radius: 14px; padding: 16px 20px;
  margin: 16px 0; font-size: 13.5px; columns: 2; column-gap: 28px; }
.ctn__doc-toc a { display: block; color: #37302f; text-decoration: none; padding: 3px 0; }
.ctn__doc-toc a:hover { color: var(--acc, #d52b1e); }
@media (max-width: 640px) { .ctn__doc-toc { columns: 1; } }

/* список-преимущества с иконками */
.ctn__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px; margin: 16px 0; }
.ctn__fact { display: flex; gap: 12px; align-items: flex-start; background: var(--paper, #fff);
  border: 1px solid rgba(0, 0, 0, .08); border-radius: 12px; padding: 14px; min-width: 0; }
.ctn__fact > div { min-width: 0; }
.ctn__fact i { font-style: normal; font-size: 20px; line-height: 1.2; }
.ctn__fact b { display: block; font-size: 13.5px; margin: 0 0 3px; }
.ctn__fact span { display: block; font-size: 12.5px; color: #6b6364; line-height: 1.55;
  overflow-wrap: break-word; }

@media (max-width: 640px) {
  .ctn { padding: 12px 0 36px; }
  .ctn__steps { grid-template-columns: minmax(0, 1fr); }
  .ctn__facts { grid-template-columns: minmax(0, 1fr); }
  .ctn__cta a { flex: 1 1 auto; text-align: center; }
}
