/* Сайт ar-vzyskanie.ru. Подключается после brand.css. Только светлая тема. */
:root { color-scheme: light; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--text); font-family: var(--font-sans); font-size: 16px; line-height: 25px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.on-navy :focus-visible { outline-color: #FFFFFF; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--paper); color: var(--primary); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Текстовые стили сайта */
.eyebrow { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.h-display { font-family: var(--font-display); font-weight: 600; font-size: 48px; line-height: 56px; letter-spacing: -0.01em; }
.h-section { font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 42px; max-width: 780px; margin-bottom: 40px; }
.h-card { font-size: 20px; line-height: 26px; font-weight: 600; margin-bottom: 8px; }
.muted { color: var(--text-muted); }
.small { font-size: 13px; line-height: 19px; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.lead { font-size: 18px; line-height: 28px; max-width: 600px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: var(--radius-sm); font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn-paper { background: var(--paper); color: var(--brand-navy); }
.btn-paper:hover { background: var(--primary-soft); color: var(--brand-navy); }
.btn-ghost { min-height: 44px; padding: 9px 16px; border: 1px solid var(--line-strong); color: var(--on-navy); font-weight: 400; font-size: 15px; }
.btn-ghost:hover { color: var(--on-navy); border-color: var(--on-navy-muted); }

/* Шапка и первый экран */
.on-navy { background: var(--brand-navy); color: var(--on-navy); }
.on-navy a { color: var(--on-navy); }
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 20px; padding-bottom: 20px; }
.topbar .logo img { width: 224px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--on-navy-muted); }
.nav a:hover { color: var(--on-navy); }
.nav a.btn-ghost { color: var(--on-navy); }
.hero { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; padding-top: 64px; padding-bottom: 88px; }
.hero-text { flex: 1 1 520px; min-width: 0; }
.hero .eyebrow, .hero .lead, .hero .note { color: var(--on-navy-muted); }
.brass-rule { width: 96px; height: 4px; background: var(--brass); margin: 28px 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 36px; }
.note { margin-top: 20px; font-size: 14px; line-height: 21px; }
.hero-figure { flex: 1 1 400px; min-width: 0; }
.hero-figure figcaption { margin-top: 10px; font-size: 13px; color: var(--on-navy-muted); }
.on-navy a.btn-paper, .on-navy a.btn-paper:hover { color: var(--brand-navy); }
.hero .registry .eyebrow { color: var(--text-muted); }

/* Реестр-пример */
.registry { background: var(--surface-raised); color: var(--text); border-radius: var(--radius-md); overflow: hidden; }
.registry-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.registry-row:last-child { border-bottom: 0; }
.registry-head { align-items: baseline; padding-top: 16px; padding-bottom: 16px; }
.status { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; border-radius: var(--radius-sm); padding: 4px 8px; }
.st-success { background: var(--success-soft); color: var(--success); }
.st-progress { background: var(--primary-soft); color: var(--primary); }
.st-warning { background: var(--warning-soft); color: var(--warning); }
.st-draft { background: var(--surface); color: var(--text-muted); border: 1px solid var(--line); padding: 3px 8px; }
.total { font-family: var(--font-mono); font-size: 22px; line-height: 28px; font-weight: 500; }

/* Разделы */
.section { padding-top: 88px; padding-bottom: 72px; }
.band { background: var(--surface-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; }
.card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px; }
.card .solution { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }

/* Путь дела */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); border-top: 1px solid var(--line); }
.steps li { padding: 24px 20px 24px 0; border-bottom: 1px solid var(--line); }
.steps .num { font-family: var(--font-mono); font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.steps .title { font-weight: 600; margin-bottom: 6px; }
.steps li.final { border-bottom: 3px solid var(--brass); }
.steps li.final .num { color: var(--brass-text); }

/* Тарифы */
.plans { display: flex; flex-direction: column; gap: 24px; }
.plan-main { background: var(--surface-raised); border: 2px solid var(--primary); border-radius: var(--radius-md); padding: 32px; }
.plan-main .eyebrow { color: var(--primary); }
.plan-title { font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 32px; margin-bottom: 12px; }
.table-box { overflow-x: auto; margin-top: 24px; }
.tariffs { width: 100%; border-collapse: collapse; }
.tariffs th + th, .tariffs td { padding-left: 12px; }
.tariffs th, .tariffs td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: right; }
.tariffs thead th { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); padding: 10px 0; border-top: 1px solid var(--line); }
.tariffs th:first-child { text-align: left; font-weight: 400; }
.tariffs thead th:first-child { font-weight: 500; }
.tariffs td { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.tariffs td.price { font-weight: 500; }
.tariffs td.text { font-family: var(--font-sans); }
.plan-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 28px; }
.plan-alt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: center; }
.plan-alt > div { flex: 1 1 380px; min-width: 0; }
.terms { flex: 1 1 300px; min-width: 0; border-top: 1px solid var(--line); }
.terms div { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--line); }
.terms dd { font-family: var(--font-mono); font-weight: 500; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Разбор и форма */
.split { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.split > * { flex: 1 1 420px; min-width: 0; }
.numbered { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.numbered li { display: flex; gap: 16px; }
.numbered .mono { font-size: 14px; color: var(--text-muted); min-width: 24px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; }
.field input, .field select { font: inherit; padding: 11px 12px; min-height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-raised); color: var(--text); width: 100%; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 20px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 19px; color: var(--text-muted); }
.consent input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--primary); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Безопасность и вопросы */
.facts > div { border-top: 1px solid var(--line); padding-top: 20px; }
.facts h3 { font-size: 16px; line-height: 22px; font-weight: 600; margin-bottom: 8px; }
.pilot { margin-top: 40px; padding: 20px 24px; background: var(--primary-soft); border-radius: var(--radius-md); }
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin-top: 12px; color: var(--text-muted); max-width: 70ch; }

/* Подвал */
.footer { padding-top: 48px; padding-bottom: 32px; color: var(--on-navy-muted); font-size: 13px; line-height: 21px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; }
.footer-cols > div { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; }
.footer .logo img { width: 200px; }
.footer a { color: var(--on-navy); }
.footer a.muted-link { color: var(--on-navy-muted); }
.footer-bottom { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--primary-hover); }

/* Текстовые страницы: политика, согласие */
.doc { max-width: 820px; padding-top: 56px; padding-bottom: 88px; }
.doc h1 { font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 42px; margin-bottom: 16px; }
.doc h2 { font-size: 20px; line-height: 26px; font-weight: 600; margin: 36px 0 12px; }
.doc p, .doc li { margin-bottom: 10px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc .meta { color: var(--text-muted); font-size: 14px; margin-bottom: 32px; }

@media (max-width: 640px) {
  .h-display { font-size: 34px; line-height: 42px; }
  .h-section { font-size: 28px; line-height: 36px; margin-bottom: 28px; }
  .section { padding-top: 56px; padding-bottom: 48px; }
  .hero { padding-top: 32px; padding-bottom: 56px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .topbar .logo img { width: 180px; }
  .plan-main, .plan-alt, .form, .card { padding: 20px; }
  .lead { font-size: 17px; line-height: 26px; }
}
