/* Палитра оригинального логотипа с dvkgroupp.ru: #B82221 / #444343. */
* { box-sizing: border-box; }
:root {
  --brand: #b82221; --brand-hover: #a01919; --brand-soft: #fff4f3;
  --ink: #333333; --graphite: #444343; --muted: #6b6b6b;
  --paper: #fafafa; --surface: #ffffff; --soft: #f2f2f2; --line: #e1e1e1;
  color-scheme: light;
}
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.5 Arial, Helvetica, sans-serif; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
[hidden] { display: none !important; }
.preview { background: #efefef; color: #656565; text-align: center; font-size: 12px; padding: 7px 12px; letter-spacing: .25px; }
.app-shell { max-width: 1020px; margin: auto; padding: 0 36px 30px; }
.session-gate { margin-bottom: 24px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.session-gate p { margin: 0 0 12px; }
.session-gate a { display: inline-flex; color: var(--brand); font-weight: 700; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 108px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
button.brand { display: inline-flex; flex-shrink: 0; padding: 0; border: 0; background: transparent; line-height: 1; }
.brand-logo { display: block; width: 230px; height: auto; }
.header-caption { font-size: 11px; color: var(--muted); margin-right: auto; }
.call { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--brand); }
.call span { color: var(--graphite); white-space: nowrap; }
.hero-layout { display: grid; grid-template-columns: 1.06fr 1fr; gap: 24px; align-items: stretch; }
.hero { display: flex; flex-direction: column; padding: 38px 34px 32px; border-radius: 22px; background: var(--soft); color: var(--graphite); overflow: hidden; }
.eyebrow { display: block; font-size: 10px; font-weight: 700; letter-spacing: 1.8px; }
.hero .eyebrow { color: var(--muted); }
h1 { margin: 38px 0 24px; font-size: 48px; font-weight: 500; line-height: 1.12; letter-spacing: -1.6px; }
h1 em { font-style: normal; color: var(--brand); }
h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.25; letter-spacing: -.6px; }
.hero-copy { margin: 0; max-width: 350px; color: #555555; font-size: 15px; line-height: 1.65; }
.service-shortcuts { margin-top: 32px; }
.service-shortcuts > span { display: block; margin-bottom: 12px; font-size: 11px; color: var(--muted); }
#quick-services { display: flex; flex-direction: column; gap: 9px; }
.quick-card { display: flex; align-items: center; gap: 12px; padding: 12px 15px; min-height: 49px; border: 1px solid #d7d7d7; border-radius: 10px; background: var(--surface); color: var(--graphite); text-align: left; }
.quick-card:hover { background: var(--brand-soft); border-color: var(--brand); }
.quick-card[aria-pressed=true] { background: var(--brand-soft); border-color: var(--brand); }
.quick-card strong { font-size: 12px; font-weight: 500; }
.service-icon { min-width: 17px; font-size: 19px; color: var(--brand); }
.shortcut-arrow { margin-left: auto; color: var(--brand); }
.hero-bottom { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 38px; font-size: 12px; color: var(--graphite); }
.hero-bottom strong { display: block; margin-top: 5px; max-width: 180px; color: var(--muted); font-size: 11px; font-weight: 400; }
.line-art { position: relative; display: block; width: 62px; height: 62px; flex-shrink: 0; }
.line-art i { position: absolute; inset: 0; border: 1px solid #c4c4c4; border-radius: 8px; }
.line-art i:nth-child(2) { inset: 8px; transform: rotate(-13deg); }
.line-art i:nth-child(3) { inset: 16px; transform: rotate(-26deg); }
.line-art b { position: absolute; inset: 7px 0; color: var(--brand); font-size: 28px; font-weight: 400; text-align: center; }
.lead-card { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.card-kicker { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; color: var(--muted); font-size: 9px; letter-spacing: 1.3px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.lead-card h2 { margin-bottom: 5px; font-size: 27px; letter-spacing: -.8px; }
.muted { color: var(--muted); }
.lead-card > p { margin: 0 0 21px; font-size: 13px; }
.bonus-options { margin: 0 0 22px; padding: 0; border: 0; }
.bonus-options legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.bonus-options[aria-invalid=true] .option { border-color: var(--brand); }
.option { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; margin-bottom: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.option input { appearance: none; flex-shrink: 0; margin: 0; width: 17px; height: 17px; border: 1px solid #bdbdbd; border-radius: 50%; }
.option input:checked { border: 5px solid var(--brand); }
.option strong { display: block; font-size: 13px; font-weight: 600; }
.option small { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
.option-check { margin-left: auto; color: var(--brand); visibility: hidden; }
.option:has(input:checked) .option-check { visibility: visible; }
.fields { display: grid; grid-template-columns: 1fr; gap: 13px; margin-bottom: 17px; }
.fields label { display: block; font-size: 11px; font-weight: 600; }
.fields input { display: block; width: 100%; min-width: 0; margin-top: 5px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--surface); font-size: 16px; }
.fields input::placeholder { color: #858585; font-size: 13px; }
.fields input[aria-invalid=true] { border-color: var(--brand); }
.consent { display: flex; align-items: flex-start; gap: 8px; margin: 1px 0 16px; color: var(--muted); font-size: 10px; line-height: 1.6; cursor: pointer; }
.consent input { flex-shrink: 0; width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--brand); }
.consent label { cursor: pointer; }
.text-link { padding: 0; border: 0; border-bottom: 1px solid #aaaaaa; background: none; color: var(--ink); font: inherit; }
.primary { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; padding: 14px 16px; border: 0; border-radius: 9px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 600; }
.primary:hover { background: var(--brand-hover); }
.primary:disabled { cursor: wait; opacity: .65; }
.primary span { font-size: 20px; font-weight: 400; line-height: 1; }
.form-note { margin: 10px 0 0; color: var(--muted); font-size: 10px; text-align: center; }
.consent-download { margin: 0 0 8px; font-size: 12px; }
.consent-download a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.error { margin: 0 0 12px; font-size: 12px; color: var(--brand); }
.request-context { display: flex; align-items: center; justify-content: space-between; margin: 0 0 16px; padding: 10px 12px; border-radius: 8px; background: var(--soft); font-size: 12px; }
.request-context button { min-width: 32px; min-height: 32px; border: 0; background: none; color: var(--muted); font-size: 22px; }
.footer { display: flex; justify-content: space-between; gap: 24px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.footer a:hover { color: var(--brand); }
dialog { max-width: 520px; width: calc(100% - 32px); max-height: calc(100dvh - 48px); padding: 36px; overflow-y: auto; border: 0; border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: 0 20px 100px #0003; }
dialog::backdrop { background: #33333388; backdrop-filter: blur(3px); }
.close-dialog { position: absolute; right: 12px; top: 10px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--muted); font-size: 27px; }
dialog .eyebrow { margin-bottom: 15px; padding-right: 20px; color: var(--brand); }
dialog h2 { margin: 0 20px 20px 0; font-size: 29px; }
dialog p { color: var(--muted); font-size: 14px; }
#detail-actions { display: grid; gap: 10px; margin-top: 25px; }
#detail-content > a { display: block; margin: 10px 0; }
.legal-dialog { max-width: 680px; }
.legal-dialog .close-dialog { position: sticky; top: -18px; float: right; margin: -18px -12px 0 8px; background: var(--surface); border-radius: 50%; z-index: 1; }
.legal-dialog h2 { font-size: 25px; line-height: 1.22; }
.legal-dialog h3 { font-size: 16px; line-height: 1.4; margin: 24px 0 10px; }
.legal-dialog p, .legal-dialog li { font-size: 14px; line-height: 1.65; color: var(--ink); }
.legal-dialog ul, .legal-document ul { padding-left: 20px; }
.legal-dialog li + li, .legal-document li + li { margin-top: 7px; }
.legal-version { font-size: 12px !important; color: var(--muted) !important; }
.legal-links { display: grid; gap: 12px; margin-top: 24px; font-size: 13px; overflow-wrap: anywhere; }
.legal-links a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.legal-page { padding: 24px; background: var(--soft); }
.legal-page-header { max-width: 800px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.legal-page-header img { display: block; max-width: 100%; height: auto; }
.legal-page-header > a:last-child { font-size: 13px; }
.legal-document { max-width: 800px; margin: auto; padding: clamp(24px, 5vw, 48px); border-radius: 20px; background: var(--surface); }
.legal-document h1 { font-size: clamp(25px, 4vw, 36px); line-height: 1.2; }
.legal-document h2 { margin: 30px 0 12px; font-size: 19px; }
.legal-document p, .legal-document li { font-size: 15px; line-height: 1.7; }
@media print { .legal-page { padding: 0; background: white; } .legal-page-header, .legal-links { display: none; } .legal-document { padding: 0; } }
.secondary { min-height: 46px; padding: 12px 16px; border: 0; border-radius: 9px; background: var(--soft); color: var(--ink); }
.notice { padding: 12px; border-radius: 8px; background: var(--soft); color: #555555 !important; font-size: 12px !important; }
.success-symbol { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 27px; }
dl { margin: 20px 0; padding: 16px; border-radius: 10px; background: var(--soft); font-size: 13px; }
dt { margin-top: 10px; color: var(--muted); font-size: 11px; }
dt:first-child { margin-top: 0; }
dd { margin: 2px 0; overflow-wrap: anywhere; }
@media (max-width: 800px) {
  .app-shell { padding: 0 20px 30px; }
  .header { min-height: 87px; }
  .header-caption { display: none; }
  .brand-logo { width: 220px; }
  .hero-layout { gap: 16px; grid-template-columns: 1fr 1fr; }
  .hero { padding: 27px 24px; }
  .hero h1 { font-size: 37px; }
  .hero-copy { font-size: 14px; }
  .hero-bottom { gap: 12px; }
  .hero-bottom > span:last-child { font-size: 10px; }
  .lead-card { padding: 23px 21px; }
  .lead-card h2 { font-size: 24px; }
}
@media (max-width: 580px) {
  .preview { font-size: 10px; padding: 5px 8px; }
  .app-shell { padding: 0 16px 22px; }
  .header { min-height: 76px; margin-bottom: 17px; gap: 14px; }
  .brand-logo { width: 165px; }
  .call { font-size: 11px; gap: 4px; }
  .hero-layout { display: flex; flex-direction: column; gap: 14px; }
  .hero { padding: 22px; border-radius: 17px; }
  .hero .eyebrow { font-size: 8px; letter-spacing: 1.5px; }
  .hero h1 { margin: 16px 0 12px; font-size: 28px; line-height: 1.13; letter-spacing: -1.1px; }
  .hero h1 br, .hero-copy br { display: none; }
  .hero-copy { font-size: 12px; line-height: 1.55; max-width: 290px; }
  .service-shortcuts { margin-top: 16px; }
  .service-shortcuts > span { font-size: 10px; margin-bottom: 9px; }
  #quick-services { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .quick-card { padding: 10px; min-height: 44px; gap: 6px; border-radius: 7px; }
  .quick-card strong { font-size: 11px; line-height: 1.3; }
  .service-icon { display: none; }
  .shortcut-arrow { font-size: 11px; }
  .hero-bottom { display: none; }
  .lead-card { padding: 22px 20px; border-radius: 17px; }
  .lead-card h2 { font-size: 25px; }
  .card-kicker { font-size: 8px; }
  .bonus-options { margin-bottom: 19px; }
  .option { min-height: 63px; padding: 12px; }
  .consent { font-size: 12px; }
  .footer { flex-wrap: wrap; margin-top: 25px; font-size: 9px; gap: 12px; }
  dialog { padding: 30px 24px; }
  dialog h2 { font-size: 25px; }
}
@media (max-width: 360px) {
  .header { flex-wrap: wrap; justify-content: center; padding: 16px 0 12px; gap: 10px; }
  .brand-logo { width: 190px; }
  .call { font-size: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  button, a { transition: background .15s, border-color .15s; }
  dialog[open] { animation: appear .15s ease-out; }
  @keyframes appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
}
