/* docs.ltaxco.ru — бумага, чернила, три темы */
:root {
  --paper: #F6F3EC;
  --paper-2: #FBFAF6;
  --white: #FFFFFF;
  --ink: #0E1B2E;
  --ink-2: #3C4759;
  --muted: #6B7585;
  --line: #DED8CC;
  --red: #B3261E;
  --red-soft: #FCE8E6;
  --amber: #F2A33A;
  --blue: #1F3F7A;
  --green: #1D7A46;
  --dark: #0B1526;
  --dark-2: #111E33;
  --dark-line: #223150;
  --dark-text: #B9C2D0;
  --dark-muted: #8E9AAE;

  --bg: var(--paper);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-muted: var(--muted);
  --surface: var(--white);
  --border: var(--line);
  --accent: var(--red);
  --accent-contrast: #fff;
  --display: "Inter Tight", "Golos Text", system-ui, sans-serif;
  --body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "PT Mono", ui-monospace, Menlo, monospace;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(14, 27, 46, 0.12);
}
.theme-trebovanie {
  --bg: var(--dark);
  --fg: var(--paper);
  --fg-2: var(--dark-text);
  --fg-muted: var(--dark-muted);
  --surface: var(--dark-2);
  --border: var(--dark-line);
  --accent: var(--amber);
  --accent-contrast: var(--dark);
}
.theme-adres {
  --bg: var(--paper-2);
  --display: "Literata", Georgia, serif;
  --accent: var(--red);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--fg); background: var(--bg); line-height: 1.55; font-size: 17px; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 14px; letter-spacing: -0.02em; font-family: var(--display); font-weight: 800; }
h1 { font-size: clamp(34px, 5vw, 64px); }
h2 { font-size: clamp(26px, 3.4vw, 42px); letter-spacing: -0.03em; line-height: 1.02; }
h3 { font-size: 20px; font-weight: 700; margin-top: 22px; letter-spacing: -0.01em; }
p { margin: 0 0 12px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 20px; }
.muted { color: var(--fg-muted); }
.small { font-size: 14px; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.accent { color: var(--accent); }
.lead { font-size: 20px; line-height: 1.5; color: var(--fg-2); max-width: 600px; }
.text-lg { font-size: 19px; color: var(--fg-2); }
.eyebrow { color: var(--accent); margin-bottom: 14px; }
.display { font-size: clamp(38px, 5.6vw, 72px); font-weight: 900; line-height: 0.96; letter-spacing: -0.035em; }
.theme-adres .display { font-weight: 800; line-height: 1; letter-spacing: -0.025em; font-size: clamp(36px, 5vw, 64px); }
.theme-adres .display em { font-style: italic; }

/* header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--border); }
.theme-adres .site-header { border-bottom-color: var(--ink); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 8px; background: var(--fg); color: var(--bg); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.06em; }
.header-mid { display: none; }
@media (min-width: 900px) { .header-mid { display: inline; } }
.pill-link { padding: 10px 16px; border: 1.5px solid var(--fg); border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.pill-link:hover { background: var(--fg); color: var(--bg); text-decoration: none; }
@media (max-width: 520px) { .brand-name { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: transform .05s, background .15s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-accent { background: var(--accent); color: var(--accent-contrast); }
.btn-ink { background: var(--fg); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.theme-paper .btn-ghost, .theme-adres .btn-ghost { border-color: var(--ink); }
.btn-ghost:hover { background: var(--surface); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* hero */
.hero { padding: 48px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero-grid-end { align-items: end; }
.hero-grid-7-5 { grid-template-columns: 7fr 5fr; align-items: start; }
.hero-grid-5-7 { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.hero-index-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid, .hero-grid-7-5, .hero-grid-5-7, .hero-index-grid { grid-template-columns: 1fr; gap: 32px; } }
.hero-copy { display: flex; flex-direction: column; }
.hero-copy .lead { margin: 20px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-grid-end .lead { padding-bottom: 10px; }

.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.section-head-col { max-width: 780px; margin-bottom: 30px; }
.section-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
@media (max-width: 900px) { .section-split { grid-template-columns: 1fr; } }

/* веер бумаг (главная) */
.fan { position: relative; height: 460px; }
@media (max-width: 900px) { .fan { height: 420px; max-width: 420px; margin: 0 auto; width: 100%; } }
.fan-paper { position: absolute; width: 280px; height: 360px; background: #fff; border: 1px solid #D8D2C6; box-shadow: 0 20px 50px rgba(14,27,46,.16); padding: 24px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.fan-1 { left: 4%; top: 60px; transform: rotate(-9deg); }
.fan-2 { left: 28%; top: 20px; transform: rotate(2deg); z-index: 1; }
.fan-3 { left: 52%; top: 90px; transform: rotate(11deg); z-index: 2; }
@media (max-width: 900px) { .fan-1 { left: 0; } .fan-2 { left: 14%; } .fan-3 { left: 28%; } }
.fan-head { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.fan-title { font-weight: 700; font-size: 14px; line-height: 1.3; color: var(--ink); }
.fan-rule { height: 1px; background: #E4DFD5; margin: 4px 0; }
.fan-line { height: 8px; background: #EEEAE1; border-radius: 4px; display: block; }
.w60 { width: 60%; } .w70 { width: 70%; } .w75 { width: 75%; } .w84 { width: 84%; } .w88 { width: 88%; } .w90 { width: 90%; } .w92 { width: 92%; }
.fan-sum { font-family: var(--mono); font-size: 26px; font-weight: 700; color: var(--ink); }
.fan-flag { padding: 6px 8px; background: var(--red-soft); color: var(--red); font-size: 11px; font-weight: 600; line-height: 1.3; }
.fan-stamp { margin-top: auto; align-self: flex-start; padding: 6px 10px; border: 2px solid; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; transform: rotate(-5deg); }
.stamp-amber { color: #D97706; border-color: #D97706; }
.stamp-red { color: var(--red); border-color: var(--red); }
.stamp-blue { color: var(--blue); border-color: var(--blue); }
.stamp { display: inline-block; padding: 8px 12px; border: 3px solid; border-radius: 4px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; transform: rotate(-8deg); }

/* карточки главной */
.index-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .index-grid { grid-template-columns: 1fr; } }
.index-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); min-height: 300px; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.index-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); }
.index-card-tag { color: var(--red); }
.index-card-trebovanie { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.index-card-trebovanie .index-card-tag { color: var(--amber); }
.index-card-adres .index-card-tag { color: var(--blue); }
.index-card-title { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.05; letter-spacing: -0.02em; }
.index-card-text { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.index-card-trebovanie .index-card-text { color: var(--dark-text); }
.index-card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 15px; }
.index-card-big { font-family: var(--mono); font-size: 30px; color: var(--red); }
.mini-days { display: flex; gap: 6px; }
.mini-days i, .mini-days b, .mini-days u { width: 28px; height: 36px; border-radius: 6px; display: grid; place-items: center; font-family: var(--mono); font-style: normal; text-decoration: none; font-weight: 700; }
.mini-days i { background: var(--amber); color: var(--dark); }
.mini-days b { background: #2A3A52; }
.mini-days u { background: #D13B2E; color: #fff; }
.mini-flag { padding: 8px 10px; background: var(--red-soft); color: var(--red); font-size: 12px; border-left: 3px solid var(--red); font-weight: 600; }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } }
.how-step { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--ink); }
.how-step strong { font-size: 20px; }
.how-step span:last-child { color: var(--ink-2); line-height: 1.5; }

/* doc cards (другие документы) */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.doc-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--fg); }
.doc-card:hover { text-decoration: none; box-shadow: var(--shadow); }
.doc-card h3 { margin: 0; font-size: 20px; }
.doc-card-tag { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
.doc-card-deadline { margin: 0; color: var(--fg-2); font-weight: 600; }

/* «Пополам» */
.halver { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); color: var(--ink); }
.halver-label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--muted); }
.halver input[type=range] { width: 100%; accent-color: var(--red); }
.halver-nums { display: flex; flex-direction: column; gap: 6px; }
.halver-old { font-family: var(--mono); font-size: clamp(34px, 4vw, 52px); font-weight: 700; line-height: 1; color: #9AA3B2; }
.halver-old span { position: relative; display: inline-block; }
.halver-old span::after { content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 5px; background: var(--red); transform: rotate(-7deg); }
.halver-mid { color: var(--muted); }
.halver-new { font-family: var(--mono); font-size: clamp(48px, 6vw, 80px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.halver-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.halver-foot > span:first-child { max-width: 320px; line-height: 1.4; }

/* тёмная полоса */
.band { background: var(--ink); color: var(--paper); padding: 64px 0; }
.band h2, .band .band-title { color: var(--paper); }
.band-title { max-width: 860px; margin-bottom: 32px; }
.band-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .band-grid { grid-template-columns: 1fr; } }
.band-copy p { color: var(--dark-text); font-size: 18px; }

/* калькулятор */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc-form h2 { font-size: 26px; margin-bottom: 16px; }
.band .calc-form h2, .theme-trebovanie .calc-form h2 { color: var(--paper); }
.band-grid .calc { grid-template-columns: 1fr; }
.band-grid .calc-form { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 18px; padding: 24px; }
.band-grid .calc-form h2 { font-size: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea { font: inherit; font-weight: 500; font-size: 16px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
.band .field, .strip .field { color: var(--dark-text); }
.band .field input, .band .field select, .strip .field input, .strip .field select { border-color: transparent; }
.calc-note { font-size: 13px; color: var(--dark-muted); margin: 12px 0 0; line-height: 1.5; }
.theme-paper .wrap > .calc .calc-note, .theme-adres .wrap > .calc .calc-note { color: var(--muted); }
.calc-result { background: var(--paper); color: var(--ink); border-radius: 18px; padding: 28px; align-self: start; }
.calc-result[hidden] { display: none; }
.result-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.result-date { font-family: var(--display); font-size: clamp(40px, 5vw, 66px); font-weight: 900; line-height: 1; letter-spacing: -0.04em; margin: 0 0 6px; }
.result-days { font-weight: 700; color: var(--green); font-size: 17px; margin-bottom: 14px; }
.is-soon .result-days { color: #B7791F; }
.is-late .result-days { color: var(--red); }
.result-steps { padding-left: 18px; color: var(--ink-2); font-size: 15px; margin: 0 0 18px; }
.result-steps li { margin-bottom: 6px; }

/* полоса рабочих дней (требование) */
.strip { margin-top: 40px; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 22px; padding: 28px; }
.strip .calc { grid-template-columns: 1fr; gap: 20px; }
.strip .calc-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px 16px; align-items: end; }
.strip .calc-form h2 { grid-column: 1 / -1; font-size: 24px; margin: 0 0 4px; }
.strip .calc-form .field { margin: 0; }
.strip .calc-form .calc-note { grid-column: 1 / -1; }
@media (max-width: 760px) { .strip .calc-form { grid-template-columns: 1fr; } }
.strip .calc-result { background: transparent; color: var(--paper); padding: 0; border-top: 1px solid var(--dark-line); padding-top: 22px; border-radius: 0; }
.strip .result-label { color: var(--amber); }
.strip .result-steps { color: var(--dark-text); }
.strip .result-days { color: var(--amber); }
.strip .is-late .result-days { color: #FF7A6B; }
.strip-note { margin: 16px 0 0; font-size: 14px; color: var(--dark-muted); line-height: 1.5; }
.timeline { display: grid; grid-template-columns: repeat(var(--tl-cols, 8), minmax(0, 1fr)); gap: 8px; margin: 14px 0 18px; }
@media (max-width: 760px) { .timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.tl-cell { border-radius: 10px; min-height: 92px; padding: 10px 8px; display: flex; flex-direction: column; gap: 6px; background: var(--dark-2); border: 1px dashed #2E3F60; color: #55617A; }
.tl-top { font-size: 11px; letter-spacing: 0.06em; }
.tl-main { margin-top: auto; font-family: var(--display); font-weight: 900; font-size: 32px; line-height: 1; }
.tl-off .tl-main, .tl-start .tl-main { font-family: var(--body); font-weight: 500; font-size: 12px; }
.tl-start { background: #1B2A45; border-style: solid; border-color: #1B2A45; color: #8E9AAE; }
.tl-work, .tl-deadline { background: var(--amber); color: var(--dark); border: 0; }
.tl-deadline { outline: 3px solid var(--paper); outline-offset: 2px; }
.tl-after { background: #D13B2E; color: #fff; border: 0; }
.tl-after .tl-main { font-size: 16px; font-family: var(--body); font-weight: 800; }
.calc-result:not(.strip *) .timeline .tl-cell { background: #fff; }

/* versus */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .versus { grid-template-columns: 1fr; } }
.versus-bad, .versus-good { position: relative; border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 14px; min-height: 260px; }
.versus-bad { background: var(--paper); color: var(--ink); }
.versus-good { background: var(--amber); color: var(--dark); }
.versus-tag { font-size: 12px; }
.versus-bad .versus-tag { color: #D13B2E; }
.versus-quote { font-size: 15px; line-height: 1.6; color: var(--ink-2); text-transform: none; letter-spacing: 0; }
.versus-good ol { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.55; display: flex; flex-direction: column; gap: 6px; }
.versus-foot { margin-top: auto; font-size: 14px; line-height: 1.5; }
.versus-bad .versus-foot strong { color: #D13B2E; }
.versus-mark { position: absolute; right: 22px; top: 22px; width: 44px; height: 44px; border-radius: 50%; border: 3px solid currentColor; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 22px; }
.versus-bad .versus-mark { color: #D13B2E; }

/* улики */
.evidence-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .evidence-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .evidence-grid { grid-template-columns: 1fr; } }
.evidence { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; min-height: 220px; }
.evidence strong { font-size: 19px; line-height: 1.2; }
.evidence span:not(.mono) { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.evidence em { margin-top: auto; font-style: normal; font-size: 13px; color: var(--muted); }

/* выписка ЕГРЮЛ */
.egrul { background: #fff; border: 1px solid #D8D2C6; box-shadow: var(--shadow); padding: 28px 30px; display: flex; flex-direction: column; gap: 12px; font-size: 12px; line-height: 1.45; transform: rotate(1.2deg); color: var(--ink); }
@media (max-width: 900px) { .egrul { transform: none; } }
.egrul-head { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; color: var(--muted); }
.egrul-title { font-weight: 700; font-size: 13px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.egrul-rows { display: grid; grid-template-columns: 28px 1fr 1fr; gap: 6px 10px; color: var(--ink-2); }
.egrul-bad { background: var(--red-soft); border-left: 4px solid var(--red); padding: 10px 12px; color: #7A1A14; font-weight: 600; }
.egrul-stamp { align-self: flex-end; margin-top: 4px; font-size: 12px; transform: rotate(-7deg); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }
.stats div { display: flex; flex-direction: column; gap: 4px; }
.stats strong { font-family: var(--display); font-size: 32px; line-height: 1; font-weight: 800; }
.stats span { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* фитиль */
.fuse { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.fuse::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 3px; background: linear-gradient(90deg, var(--amber) 0%, #D13B2E 100%); }
@media (max-width: 900px) { .fuse { grid-template-columns: 1fr; gap: 28px; } .fuse::before { display: none; } }
.fuse-step { display: flex; flex-direction: column; gap: 10px; position: relative; }
.fuse-step strong { font-size: 18px; }
.fuse-step span:not(.mono) { color: var(--dark-text); font-size: 14px; line-height: 1.5; }
.fuse-dot { width: 30px; height: 30px; border-radius: 50%; border: 4px solid var(--ink); display: block; }
.f1 { color: var(--amber); } .f1.fuse-dot { background: var(--amber); }
.f2 { color: #E8782F; } .f2.fuse-dot { background: #E8782F; }
.f3 { color: #D85A2E; } .f3.fuse-dot { background: #D85A2E; }
.f4 { color: #FF7A6B; } .f4.fuse-dot { background: #D13B2E; }
.signs { padding-left: 22px; color: var(--ink-2); font-size: 16px; line-height: 1.55; display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; }
.exits { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .exits { grid-template-columns: 1fr; } }
.exit { border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 12px; min-height: 280px; }
.exit strong { font-family: var(--display); font-size: 26px; line-height: 1.1; font-weight: 800; }
.exit span:not(.mono) { font-size: 15px; line-height: 1.5; }
.exit em { margin-top: auto; font-style: normal; font-size: 13px; }
.exit-a { border: 1.5px solid var(--ink); color: var(--ink); }
.exit-a .mono { color: var(--blue); } .exit-a span:not(.mono) { color: var(--ink-2); } .exit-a em { color: var(--muted); }
.exit-b { background: var(--ink); color: var(--paper); }
.exit-b .mono { color: var(--amber); } .exit-b span:not(.mono) { color: var(--dark-text); } .exit-b em { color: var(--dark-muted); }

/* универсальный лендинг */
.deadline-pill { display: inline-flex; flex-direction: column; gap: 2px; padding: 12px 18px; border-radius: 12px; background: var(--red-soft); border: 1px solid #f3c4cc; margin-top: 22px; align-self: flex-start; }
.deadline-pill-soft { background: #E6F4EA; border-color: #bfe3cb; }
.pill-label { font-size: 11px; color: var(--red); }
.deadline-pill-soft .pill-label { color: var(--green); }
.pill-value { font-weight: 700; font-size: 18px; }
.paper { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 26px 28px 30px; box-shadow: var(--shadow); position: relative; font-size: 15px; color: var(--ink); }
.paper-head { font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.paper-title { font-weight: 700; font-size: 17px; margin-bottom: 14px; line-height: 1.35; }
.paper-list { margin: 0; padding-left: 18px; color: var(--ink-2); }
.paper-list li { margin-bottom: 6px; }

/* mistakes / offer / law / sample / faq / form */
.mistakes { padding-left: 22px; }
.mistakes li { margin-bottom: 12px; color: var(--fg-2); }
.mistakes li::marker { color: var(--accent); font-weight: 700; }
.offer { display: grid; grid-template-columns: 1.1fr 1fr 0.9fr; gap: 28px; border: 1px solid var(--border); border-radius: 24px; padding: 34px; background: var(--surface); }
@media (max-width: 960px) { .offer { grid-template-columns: 1fr; } }
.theme-trebovanie .offer { background: transparent; }
.check-list { list-style: none; padding: 0; margin: 0 0 14px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--accent-contrast); font-weight: 800; display: grid; place-items: center; font-size: 13px; }
.plain-list { padding-left: 18px; margin: 0 0 10px; color: var(--fg-2); }
.plain-list li { margin-bottom: 6px; }
.offer-col h3:first-child { margin-top: 0; }
.offer-price { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; align-self: start; }
.price-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); margin: 0; }
.price-value { font-family: var(--display); font-size: 30px; font-weight: 900; margin: 0; letter-spacing: -0.02em; }
.case { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } }
.case > div { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; }
.case-label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; color: var(--accent); margin-bottom: 6px; }
.law-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.law-table th { text-align: left; white-space: nowrap; padding: 12px 16px 12px 0; vertical-align: top; width: 1%; font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; }
.law-table td { padding: 12px 0; color: var(--fg-2); }
.law-table tr { border-bottom: 1px solid var(--border); }
@media (max-width: 640px) {
  .law-table, .law-table tbody, .law-table tr, .law-table th, .law-table td { display: block; width: auto; white-space: normal; }
  .law-table th { padding: 12px 0 2px; }
  .law-table td { padding: 0 0 12px; }
}
.sample-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.sample { white-space: pre-wrap; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 30px 32px; font-size: 15px; line-height: 1.6; font-family: "Literata", Georgia, serif; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq details { border-bottom: 1px solid var(--border); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; position: relative; padding-right: 30px; font-family: var(--display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 24px; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: var(--fg-2); }
.section-order { background: var(--surface); border-top: 1px solid var(--border); }
.theme-paper .section-order, .theme-adres .section-order { background: #fff; }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .order-grid { grid-template-columns: 1fr; } }
.order-form { background: var(--bg); border: 1px solid var(--border); border-radius: 18px; padding: 28px; }
.theme-trebovanie .order-form { background: var(--paper); color: var(--ink); }
.theme-trebovanie .order-form .field { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--fg-muted); margin-bottom: 16px; }
.theme-trebovanie .consent { color: var(--muted); }
.consent input { margin-top: 4px; }
.form-status { min-height: 22px; margin: 12px 0 0; font-size: 15px; }
.form-status.is-ok { color: var(--green); font-weight: 600; }
.form-status.is-err { color: var(--red); font-weight: 600; }
.preview-bar { background: #FDF3DC; color: #6b4a0e; text-align: center; padding: 8px 16px; font-size: 14px; font-weight: 600; }
.legal { max-width: 820px; }
.legal h2 { font-size: 20px; margin-top: 28px; }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 28px; margin-top: 24px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-title { font-weight: 700; margin-bottom: 6px; }
.footer-note { margin-top: 24px; font-size: 13px; }

/* админка */
.admin h2 { font-size: 22px; margin-top: 36px; }
.admin-nav { display: flex; gap: 16px; flex-wrap: wrap; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 8px 10px 8px 0; border-bottom: 2px solid var(--ink); }
.admin-table td { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table td:nth-child(n+2):not(:last-child) { white-space: nowrap; }
.admin-table-narrow { max-width: 420px; }
