/* Сайт «Под защитой». Визуальный язык — по макету «Landing DESIGN CLAUDE»:
   тёплый светлый фон, графитовый текст, золотой акцент, антиква EB Garamond
   в заголовках и IBM Plex Sans в тексте. Шрифты — со своего сервера. */

@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/static/fonts/eb-garamond-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/static/fonts/eb-garamond-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/static/fonts/eb-garamond-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/static/fonts/eb-garamond-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(/static/fonts/eb-garamond-cyrillic-400-italic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(/static/fonts/eb-garamond-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 300; font-display: swap;
  src: url(/static/fonts/ibm-plex-sans-cyrillic-300-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 300; font-display: swap;
  src: url(/static/fonts/ibm-plex-sans-latin-300-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/static/fonts/ibm-plex-sans-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/static/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/static/fonts/ibm-plex-sans-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/static/fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #f5f5f3;
  --paper-card: #fbfbfa;
  --ink: #1b1c1e;
  --text: #3a3c40;
  --muted: #6b6e73;
  --rule: #d9dad6;
  --gold: #a8834b;
  --gold-soft: #f1ebe1;
  --on-dark: #f5f5f3;
  --on-dark-dim: rgba(245, 245, 243, .78);
  --rule-dark: rgba(245, 245, 243, .2);
  --ok: #4f7a5a;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 300 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.15; color: inherit; }
p { margin: 0 0 1em; }
strong { font-weight: 500; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--on-dark); padding: 8px 12px; z-index: 60; }
.skip:focus { left: 8px; }

/* надпись-метка над заголовком */
.label, .eyebrow {
  margin: 0 0 20px; font: 500 12px/1.4 var(--sans); letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold);
}

.display { font-size: clamp(42px, 6vw, 84px); line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
.title { font-size: clamp(32px, 4vw, 54px); line-height: 1.06; text-wrap: balance; }

/* --- шапка --- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 245, 243, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.topbar-inner { min-height: 84px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--ink); }
.brand:hover { color: var(--ink); }
/* Эмблема с Tilda (логотип заказчика, решение от 23.10.2026); фон у файла прозрачный. */
.brand-mark { width: auto; height: 40px; }
.nav { margin: 0 auto; display: flex; gap: 32px; font: 400 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.nav a { padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--gold); }
.topbar-actions { display: flex; gap: 10px; flex-shrink: 0; }
.nav-quiet { margin-left: auto; font: 400 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }

/* --- кнопки: прямоугольные, заглавными --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 50px; padding: 14px 28px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--on-dark); cursor: pointer;
  font: 500 13px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s, transform .12s var(--ease);
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--on-dark); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 10px 20px; font-size: 12px; }
.btn-lg { min-height: 56px; padding: 17px 32px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-outline, .btn-ghost { background: transparent; color: var(--ink); }
.btn-outline:hover, .btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.btn-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold); color: var(--on-dark); }
.btn-gold-solid { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold-solid:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.link-btn { background: none; border: 0; padding: 8px 0; color: var(--ink); cursor: pointer; font: 400 13px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.link-btn:hover { color: var(--gold); }
.link-btn.danger { color: #8a4b2a; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 14px; }

/* --- первый экран --- */
.hero { padding-top: clamp(64px, 9vw, 128px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: start; }
/* Метка слева и курсивная фраза справа — на одной линии по верху. */
.hero-side { max-width: 54ch; padding-top: 2px; }
.hero-side .hero-note { margin-top: -0.35em; }
.hero-note { margin: 0 0 18px; font: italic 400 clamp(22px, 2vw, 26px)/1.3 var(--serif); color: var(--gold); }
.hero-body { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: var(--text); margin-bottom: 28px; }
.hero-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding: 18px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.hero-price s, .offer-price s { font-family: var(--serif); font-size: 22px; color: var(--muted); text-decoration-thickness: 1px; }
.hero-price strong { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; color: var(--ink); }
.hero-price span { flex-basis: 100%; font-size: 14px; color: var(--muted); }
.caption { font-size: 13px; color: var(--muted); margin: 0; max-width: 50ch; }

/* --- цифры и тезис --- */
.facts { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(64px, 8vw, 120px); border-top: 1px solid var(--rule); max-width: none; }
.facts-grid, .facts .statement { max-width: calc(1280px - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px; }
.fact { border-top: 1px solid var(--ink); padding-top: 24px; }
.fact-value { display: block; font: 400 clamp(42px, 4.4vw, 64px)/1 var(--serif); color: var(--ink); }
.fact-title { display: block; margin-top: 14px; font-size: 16px; font-weight: 400; color: var(--ink); max-width: 30ch; }
.fact-text { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); max-width: 34ch; }
/* Первый показатель — главный акцент: «0 ₽» крупнее и золотом. */
.fact-accent { border-top-color: var(--gold); border-top-width: 2px; }
/* Словесный показатель («Индивидуальный состав») — мельче цифр, чтобы не ломать строку. */
.fact-value.fact-word { font-size: clamp(30px, 2.8vw, 40px); line-height: 1.1; padding-top: .35em; }
.fact-accent .fact-value { color: var(--gold); font-size: clamp(56px, 6vw, 88px); }
.statement { margin-top: clamp(64px, 8vw, 116px) !important; max-width: 26ch !important; text-align: center; font: 400 clamp(26px, 3vw, 42px)/1.25 var(--serif); color: var(--ink); text-wrap: balance; }

/* --- секции --- */
.section { padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(72px, 9vw, 128px); }
.section-rule { border-top: 1px solid var(--rule); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .title { margin-bottom: 20px; }
.section-intro { font-size: 17px; color: var(--text); max-width: 60ch; margin: 20px 0 0; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }

/* сетка состава пакета */
/* Пять плиток: в ряд на широком экране, 3 + 2 на планшете, по одной на телефоне. */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
@media (max-width: 1180px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }
.tile { padding: 36px 26px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); transition: background .3s; }
.tile:hover { background: var(--paper-card); }
.tile-num { display: block; margin-bottom: 36px; font: 400 15px/1 var(--serif); letter-spacing: .1em; color: var(--gold); }
.tile h3 { font-size: 24px; line-height: 1.15; margin-bottom: 14px; }
.tile p { font-size: 15px; color: var(--text); margin: 0; }
.note { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px 64px; padding: 40px 0 0; border-top: 1px solid var(--ink); }
.note h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; max-width: 16ch; }
.note p { color: var(--text); font-size: 16px; }
.note .note-accent { color: var(--ink); font: italic 400 22px/1.35 var(--serif); margin: 0; }

/* тёмный блок «как работает» */
.dark { background: var(--ink); color: var(--on-dark); }
.dark a:hover { color: inherit; }
.dark-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: clamp(48px, 6vw, 80px); }
.dark-head .title { max-width: 16ch; }
.dark-head .label { margin: 0; }
.dark-sub { margin: 18px 0 0; color: var(--on-dark-dim); font-size: 17px; max-width: 46ch; }
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 40px 32px; }
.stage { border-top: 1px solid var(--rule-dark); padding-top: 28px; }
.roman { display: block; margin-bottom: 24px; font: 400 56px/1 var(--serif); color: var(--gold); }
.stage h3 { font-size: 27px; line-height: 1.12; margin-bottom: 14px; }
.stage p { font-size: 15px; color: var(--on-dark-dim); margin: 0; }
.dark-cta { margin-top: clamp(48px, 6vw, 72px); }

/* текстовый блок */
.prose p { font-size: 17px; color: var(--text); }
.quote { margin-top: 32px !important; padding-top: 28px; border-top: 1px solid var(--ink); font: italic 400 clamp(22px, 2vw, 28px)/1.35 var(--serif) !important; color: var(--ink) !important; }

/* карточка стоимости — тёмная, как «Оптимальный» в макете */
.offer { background: var(--ink); color: var(--on-dark); padding: clamp(32px, 4vw, 48px) clamp(28px, 3.5vw, 44px); }
.offer .label { margin-bottom: 10px; }
.offer-body { color: var(--on-dark-dim); font-size: 15px; margin-bottom: 28px; }
.offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--rule-dark); }
.offer-price s { color: rgba(245, 245, 243, .5); }
.offer-price strong { font: 400 clamp(48px, 5vw, 60px)/1 var(--serif); }
.squares { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 12px; font-size: 15px; color: rgba(245, 245, 243, .88); }
.squares li { display: flex; gap: 14px; }
.squares li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; background: var(--gold); }
.offer-alt { display: block; margin-top: 18px; text-align: center; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-dim); }
.offer-alt:hover { color: var(--gold); }

/* вопросы */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px 64px; }
.faq-grid .title { max-width: 12ch; }
.faq { grid-column: span 2; min-width: 0; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; list-style: none; font: 400 clamp(20px, 1.8vw, 26px)/1.25 var(--serif); transition: color .2s; }
.faq summary:hover { color: var(--gold); }
.faq summary::-webkit-details-marker { display: none; }
.plus { flex: none; position: relative; width: 14px; height: 14px; color: var(--gold); transition: transform .25s var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; }
.plus::before { left: 0; top: 6px; width: 14px; height: 1.5px; }
.plus::after { left: 6px; top: 0; width: 1.5px; height: 14px; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p + p { margin-top: -14px; }
.faq details p { padding: 0 48px 30px 0; margin: 0; font-size: 15.5px; color: var(--text); max-width: 68ch; }

/* --- подвал --- */
.footer { background: var(--ink); color: var(--on-dark); padding: clamp(56px, 7vw, 96px) 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 48px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: rgba(245, 245, 243, .85); }
.footer .dim { color: rgba(245, 245, 243, .55); font-size: 14px; }
.footer a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(245, 245, 243, .15); font-size: 13px; color: rgba(245, 245, 243, .55); }
.footer-bottom p { margin: 0; }

/* --- анкета --- */
.interview { padding: clamp(40px, 6vw, 88px) 0 clamp(64px, 8vw, 112px); min-height: 60vh; }
.interview-wrap { max-width: 760px; }
.panel { background: var(--paper-card); border: 1px solid var(--rule); padding: clamp(28px, 4vw, 56px); }
.panel h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.08; margin-bottom: 20px; text-wrap: balance; }
.panel > p:not(.eyebrow) { color: var(--text); }
.question { display: block; padding: 0; margin: 0 0 10px; font: 400 clamp(26px, 3vw, 36px)/1.2 var(--serif); color: var(--ink); white-space: pre-line; text-wrap: pretty; }
.hint { color: var(--muted); font-size: 15px; margin: 0; }
.step-note { color: var(--text); font-size: 16px; line-height: 1.5; margin: 0 0 12px; padding: 12px 14px; background: var(--gold-soft); border-left: 3px solid var(--gold); white-space: pre-line; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

.choices { display: grid; margin-top: 32px; border-top: 1px solid var(--rule); }
.choice, .option {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 64px; padding: 18px 4px;
  background: transparent; border: 0; border-bottom: 1px solid var(--rule);
  color: var(--ink); font: 400 17px/1.4 var(--sans); text-align: left; cursor: pointer;
  transition: color .2s, padding .25s var(--ease), background .2s;
}
.choice::after { content: ""; margin-left: auto; flex: none; width: 9px; height: 9px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); color: var(--gold); opacity: .55; transition: opacity .2s, transform .25s var(--ease); }
.choice:hover, .option:hover { color: var(--gold); padding-left: 12px; }
.choice:hover::after { opacity: 1; transform: translateX(4px) rotate(45deg); }
.choices-pair { grid-template-columns: 1fr 1fr; gap: 12px; border-top: 0; }
.choices-pair .choice { justify-content: center; border: 1px solid var(--ink); padding: 16px 20px; font: 500 13px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.choices-pair .choice:hover { background: var(--ink); color: var(--on-dark); padding-left: 20px; }
.choices-pair .choice::after { display: none; }

.options { display: grid; margin-top: 28px; border-top: 1px solid var(--rule); }
.option input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1px solid var(--ink); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s; }
.option input::after { content: ""; width: 5px; height: 10px; border: solid var(--on-dark); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) scale(0); margin-top: -2px; transition: transform .15s var(--ease); }
.option input:checked { background: var(--gold); border-color: var(--gold); }
.option input:checked::after { transform: rotate(45deg) scale(1); }
.option:has(input:checked) { color: var(--ink); background: var(--gold-soft); padding-left: 12px; }

input[type=text], input[type=tel], input[type=email], textarea {
  width: 100%; margin-top: 28px; padding: 14px 0; background: transparent; color: var(--ink);
  border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  font: 300 clamp(20px, 2vw, 24px)/1.4 var(--sans); transition: border-color .2s;
}
input::placeholder, textarea::placeholder { color: #a3a5a8; }
input:focus, textarea:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 0 var(--gold); }
textarea { resize: vertical; min-height: 120px; border: 1px solid var(--rule); padding: 14px 16px; font-size: 18px; }
textarea:focus { border-color: var(--gold); box-shadow: none; }
.step-actions { display: flex; justify-content: flex-end; margin-top: 32px; }
.back-form { margin-top: 20px; }

.notice { border-left: 2px solid var(--gold); background: var(--gold-soft); color: var(--ink); padding: 16px 20px; margin-bottom: 20px; font-size: 15px; animation: enter .35s var(--ease) both; }
.notice p { margin: 0; }
.notice p + p { margin-top: 8px; }

.doc-box { max-height: 300px; overflow: auto; background: var(--paper); border: 1px solid var(--rule); padding: 20px 24px; margin: 24px 0 16px; font-size: 14px; color: var(--text); }
.doc-box p { white-space: pre-line; }
.doc-box p:last-child { margin: 0; }
.doc-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.doc-links a { border-bottom: 1px solid var(--rule); }
.doc-links a:hover { border-bottom-color: var(--gold); }
.row-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.alt-channel { margin: 28px 0 0; font-size: 14px; color: var(--muted); }
.alt-channel a { color: var(--gold); border-bottom: 1px solid currentColor; }

.resume { margin-top: 16px; border: 1px solid var(--rule); padding: 0 24px; font-size: 15px; }
.resume summary { cursor: pointer; padding: 16px 0; font: 400 13px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.resume summary:hover { color: var(--gold); }
.resume[open] { padding-bottom: 18px; }
.copy-row { display: flex; gap: 12px; align-items: center; }
.copy-row input { margin: 0; font-size: 14px; padding: 10px 0; color: var(--muted); }

/* отчёт */
.tag { display: inline-block; padding: 5px 12px; border: 1px solid var(--gold); color: var(--gold); font: 500 11px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.tag-ok { border-color: var(--ok); color: var(--ok); }
.report > .tag { margin-bottom: 24px; }
.report .company { font: italic 400 22px/1.3 var(--serif); color: var(--gold); margin-bottom: 32px; }
.confirmations { list-style: none; padding: 0; margin: 0 0 48px; border-top: 1px solid var(--ink); }
.confirmations li { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.confirmations li::before { content: ""; grid-row: span 2; width: 18px; height: 10px; margin-top: 5px; border: solid var(--gold); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.confirmations strong { font: 400 20px/1.3 var(--serif); color: var(--ink); }
.confirmations span { color: var(--text); font-size: 15px; }
.report h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 20px; }
.report-sections { display: grid; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.rsection { padding: 24px 26px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper); }
.rsection-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rsection-head h3 { font-size: 22px; line-height: 1.2; }
.rsection p { color: var(--text); font-size: 15px; margin: 10px 0 0; }
.lock { margin-left: auto; width: 18px; height: 18px; color: var(--gold); }
.skeleton { display: grid; gap: 9px; margin-top: 16px; }
.skeleton i { display: block; height: 8px; background: linear-gradient(90deg, #e6e6e2 0, #dcdcd7 40%, #e6e6e2 80%); background-size: 200% 100%; animation: shimmer 2.6s linear infinite; }
.skeleton i:nth-child(1) { width: 92%; }
.skeleton i:nth-child(2) { width: 74%; }
.skeleton i:nth-child(3) { width: 56%; }
.cta-card { margin: 40px 0 24px; padding: clamp(28px, 4vw, 44px); background: var(--ink); color: var(--on-dark-dim); }
.cta-card h2 { color: var(--on-dark); font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.cta-card form { margin-top: 28px; }
.cta-card .btn { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.cta-card .btn:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.cta-card .muted { color: rgba(245, 245, 243, .55); margin: 16px 0 0; }
.link { font: 400 13px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid var(--rule); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.message-title { font-size: clamp(36px, 5vw, 60px); margin: 24px 0 20px; }
form.sending button { pointer-events: none; opacity: .6; }

/* --- анимации --- */
@keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.enter { animation: enter .5s var(--ease) both; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* --- планшет и телефон --- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .topbar-actions { margin-left: auto; }
}
@media (max-width: 720px) {
  .topbar-inner { min-height: 68px; gap: 16px; }
  .brand { font-size: 22px; }
  .hide-sm { display: none; }
  .faq { grid-column: auto; }
  .actions .btn, .row-actions .btn, .step-actions .btn { width: 100%; }
  .choices-pair { grid-template-columns: 1fr; }
  .copy-row { flex-direction: column; align-items: stretch; }
  .tile { padding: 32px 24px; }
  .faq details p { padding-right: 0; }
}

/* --- переход на телефон по QR --- */
.handoff { margin-top: 16px; border: 1px solid var(--rule); background: var(--paper-card); padding: 0 24px; }
.handoff summary { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 18px 0; list-style: none; font: 500 13px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.handoff summary::-webkit-details-marker { display: none; }
.handoff summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); transition: transform .25s var(--ease); }
.handoff[open] summary::after { transform: rotate(-135deg); }
.handoff summary:hover { color: var(--gold); }
.handoff-icon { width: 22px; height: 22px; color: var(--gold); }
.handoff-body { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; padding: 4px 0 24px; animation: enter .4s var(--ease) both; }
.handoff-qr { width: 220px; height: 220px; border: 1px solid var(--rule); background: var(--paper-card); }
.handoff-body p { font-size: 15px; color: var(--text); }
@media (max-width: 720px) {
  /* С телефона на телефон QR не нужен — остаётся ссылка для продолжения. */
  .handoff { display: none; }
}

/* --- страницы документов --- */
.legal { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(72px, 9vw, 128px); }
.legal-head { max-width: 860px; margin-bottom: clamp(40px, 5vw, 64px); padding-bottom: 32px; border-bottom: 1px solid var(--ink); }
.legal-head .display { font-size: clamp(36px, 5vw, 64px); margin-bottom: 24px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; font-size: 14px; color: var(--muted); }
.legal-meta a { color: var(--gold); border-bottom: 1px solid currentColor; }
.doc { max-width: 72ch; font-size: 16.5px; line-height: 1.7; color: var(--text); }
.doc p { white-space: pre-line; margin: 0 0 1.1em; }
.doc .doc-title { font: 500 12px/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.doc h2 { font-size: clamp(24px, 2.4vw, 30px); color: var(--ink); margin: 2.2em 0 .7em; padding-top: 1.2em; border-top: 1px solid var(--rule); }
.doc .doc-item { position: relative; padding-left: 22px; }
.doc .doc-item::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; background: var(--gold); }
.doc b { font-weight: 500; color: var(--ink); }

/* --- предварительный результат (собственник, 23.10.2026) --- */
.prelim { margin: 8px 0 44px; border-top: 1px solid var(--ink); padding-top: 26px; }
.prelim .label { margin: 26px 0 12px; }
.prelim .label:first-child { margin-top: 0; }
.prelim-stat { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: start; padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.prelim-num { font: 400 clamp(52px, 6vw, 72px)/0.95 var(--serif); color: var(--gold); min-width: 1.1em; }
.prelim-stat strong { display: block; font: 400 22px/1.3 var(--serif); color: var(--ink); margin-top: 6px; }
.prelim-stat p { margin: 8px 0 0; font-size: 15px; color: var(--text); }
.prelim-blocks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: 15px; color: var(--text); }
.prelim-blocks li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px dashed var(--rule); }
.prelim-blocks b { font-weight: 500; color: var(--ink); }
.prelim-insights { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-bottom: 1px solid var(--rule); }
.prelim-insights li { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; padding: 14px 0; }
.prelim-insights li + li { border-top: 1px solid var(--rule); }
.prelim-insights li::before { content: ""; grid-row: span 2; width: 16px; height: 9px; margin-top: 7px; border: solid var(--gold); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.prelim-insights strong { font: 400 19px/1.35 var(--serif); color: var(--ink); }
.prelim-insights span { font-size: 15px; color: var(--text); }
@media (max-width: 720px) {
  .prelim-stat { grid-template-columns: 1fr; }
}
