/* Внутренние страницы (вопросы, оферта, конфиденциальность) в оформлении новой главной.
   Токены, шапка, подвал и кнопки — из /v3.css; здесь только типографика документа. */
.doc { padding: calc(72px + clamp(40px, 6vw, 80px)) 0 clamp(56px, 8vw, 104px); }
@media (max-width: 640px) { .doc { padding-top: calc(64px + 36px); } }
.doc-in { max-width: 760px; }
.doc-kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--muted); font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.doc-kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--beam2, var(--sp1)); }
.doc h1 { margin: 0 0 14px; font: 500 clamp(40px, 6vw, 64px)/1.02 var(--serif); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.doc .updated, .doc .lead { color: var(--ink-2); font: 400 16px/1.6 var(--text); margin: 0 0 28px; max-width: 62ch; }
.doc .lead { font-size: 17px; }
.doc h2 { margin: 44px 0 12px; font: 500 clamp(26px, 3.2vw, 32px)/1.15 var(--serif); color: var(--ink); }
.doc h3 { margin: 26px 0 8px; font: 600 16px/1.35 var(--text); color: var(--ink); }
.doc p, .doc li { color: var(--ink-2); font: 400 16px/1.68 var(--text); }
.doc p { margin: 0 0 14px; max-width: 68ch; }
.doc ul, .doc ol { margin: 0 0 16px; padding-left: 1.2em; max-width: 68ch; }
.doc li { margin: 0 0 7px; }
.doc li::marker { color: var(--muted); }
.doc b, .doc strong { color: var(--ink); font-weight: 600; }
.doc a:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 35%, transparent); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.doc a:not(.btn):hover { text-decoration-color: var(--ink); }
.doc .callout { margin: 22px 0 26px; padding: 18px 20px; border: 1px solid var(--line-2); border-left: 2px solid var(--beam2, var(--sp1)); border-radius: 10px; background: var(--surface); }
.doc .callout p:last-child { margin-bottom: 0; }

/* Вопросы — аккордеон */
.doc .faq-item { border-top: 1px solid var(--line); }
.doc .faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.doc .faq-item summary { position: relative; display: block; list-style: none; cursor: pointer; padding: 20px 44px 20px 0; color: var(--ink); font: 500 18px/1.4 var(--text); }
.doc .faq-item summary::-webkit-details-marker { display: none; }
.doc .faq-item summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background: linear-gradient(var(--ink-2), var(--ink-2)) center / 12px 1.4px no-repeat, linear-gradient(var(--ink-2), var(--ink-2)) center / 1.4px 12px no-repeat; transition: transform .25s; }
.doc .faq-item[open] summary::after { transform: rotate(45deg); }
.doc .faq-item summary:hover { color: var(--ink); }
.doc .faq-item summary:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 4px; border-radius: 4px; }
.doc .faq-item > :not(summary) { margin-top: 0; padding-right: 44px; }
.doc .faq-item > :last-child { margin-bottom: 22px; }

.doc-cta { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 640px) {
  .doc .faq-item summary { font-size: 16.5px; padding-right: 36px; }
  .doc .faq-item > :not(summary) { padding-right: 0; }
}
