@font-face{font-family:Montserrat;src:url('font-0.woff2') format('woff2');font-weight:400;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Montserrat;src:url('font-1.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Montserrat;src:url('font-2.woff2') format('woff2');font-weight:700;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Montserrat;src:url('font-3.woff2') format('woff2');font-weight:700;font-display:swap}
:root {
  --navy: #121a27;
  --surface: #1e293b;
  --pink: #ff3183;
  --light: #f8fafc;
  --ink: #0f172a;
  --white: #ffffff;
  --muted: #cad5e3;
  --line: #536277;
  --gutter: clamp(20px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { color-scheme: dark; scrollbar-color: var(--line) var(--navy); scroll-behavior: auto; }
body { margin: 0; background: var(--navy); color: var(--white); font: 400 16px/1.6 Montserrat, sans-serif; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; }
::selection { background: var(--pink); color: var(--navy); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.brand { font-size: 15px; font-weight: 700; text-decoration: none; line-height: 1.3; }
.draft { font-size: 14px; color: var(--muted); text-align: right; }
.track { background: var(--navy); }
.track.scrub { height: 240svh; }
.stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
  min-height: 570px;
  height: calc(100svh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.scrub .stage { position: sticky; top: 0; }
.scene { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--surface); }
.scene img, .scene canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.scene canvas { visibility: hidden; }
.scene canvas.ready { visibility: visible; }
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(18,26,39,.77), rgba(18,26,39,.73) 52%, rgba(18,26,39,.22) 78%, rgba(18,26,39,.65));
}
.intro { padding: clamp(28px, 5svh, 60px) max(var(--gutter), calc((100vw - 1200px) / 2)); }
.copy { max-width: 760px; }
h1 { font-size: clamp(30px, 4.2vw, 60px); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; margin: 0 0 18px; }
.lead { max-width: 60ch; margin: 0; font-size: 16px; line-height: 1.55; }
.actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }
.cta { min-height: 48px; max-width: 100%; padding: 12px 18px; border: 0; border-radius: 8px; background: var(--pink); color: var(--navy); font-size: 14px; font-weight: 700; line-height: 1.4; }
.cta:disabled { cursor: not-allowed; }
.actions > a { min-height: 48px; display: flex; align-items: center; font-size: 14px; }
.note { color: var(--muted); font-size: 14px; line-height: 1.5; }
.intro .note { order: 3; flex-basis: 100%; color: var(--white); }
.under-scene { padding: 20px max(var(--gutter), calc((100vw - 1200px) / 2)); }
.hint { margin: 0; font-size: 13px; line-height: 1.5; max-width: 52ch; }
.example { padding: 64px 0; background: var(--light); color: var(--ink); scroll-margin-top: 20px; }
.example a, .example .note { color: var(--ink); }
h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.18; letter-spacing: -.02em; text-wrap: balance; margin: 0 0 22px; }
.example p { max-width: 70ch; }
.request { font-size: 18px; margin: 24px 0 40px; }
.comparison { margin: 0; }
.comparison > div { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; gap: 28px; padding: 22px 0; border-top: 1px solid var(--line); }
dt { font-weight: 700; }
dd { margin: 0; }
dd strong { display: block; margin-bottom: 6px; }
.finish { padding: 56px 0 40px; }
.finish h2 { max-width: 700px; }
.finish .note { flex-basis: 100%; }
footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; }
.skip { position: absolute; left: 20px; top: -100px; z-index: 5; background: var(--pink); color: var(--navy); padding: 12px; }
.skip:focus { top: 10px; }
@media (max-width: 600px) {
  .stage { min-height: 504px; }
  .intro { padding-top: 28px; padding-bottom: 16px; }
  h1 { font-size: clamp(30px, 8.2vw, 40px); margin-bottom: 16px; }
  .lead { line-height: 1.5; }
  .actions { margin-top: 20px; gap: 8px 16px; }
  .intro .note { font-size: 14px; }
  .under-scene { padding-top: 12px; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .comparison > div { grid-template-columns: 1fr 1fr; gap: 12px; }
  dt { grid-column: 1 / -1; }
  dd { font-size: 14px; }
  .request { font-size: 16px; }
  footer .wrap { display: block; }
  footer p { margin: 0 0 8px; }
}
@media (min-width: 900px) {
  .stage::after { background: linear-gradient(90deg, rgba(18,26,39,.91), rgba(18,26,39,.77) 48%, rgba(18,26,39,.16) 85%); }
  .intro { padding-top: clamp(48px, 9svh, 110px); }
  .copy { max-width: 720px; }
  .lead { font-size: 18px; }
}
@media (max-height: 500px) and (min-width: 601px) {
  .stage { min-height: 470px; }
  .intro { padding-top: 24px; }
  h1 { font-size: 32px; max-width: 650px; }
  .lead { max-width: 70ch; }
  .actions { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="force"]) .track.scrub { height: auto; }
  html:not([data-motion="force"]) .scrub .stage { position: relative; }
}

.site-header { position: relative; z-index: 5; background: var(--navy); }
.skip { z-index: 6; }
body { overflow-wrap: anywhere; }
.editorial-grid > *, .terms-layout > *, .finish-layout > *, .bot-action { min-width: 0; max-width: 100%; }
.intro .draft-notice { max-width: 60ch; }
.stage::after { background: linear-gradient(180deg, rgba(18,26,39,.82), rgba(18,26,39,.80) 58%, rgba(18,26,39,.64) 78%, rgba(18,26,39,.82)); }
@media (min-width: 900px) {
  .stage::after { background: linear-gradient(90deg, rgba(18,26,39,.93), rgba(18,26,39,.83) min(800px, 85%), rgba(18,26,39,.25)); }
}
.site-header .top { min-height: 80px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.site-menu { display: flex; gap: 28px; align-items: center; }
.site-menu > a { min-height: 48px; display: flex; align-items: center; font-size: 14px; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; color: var(--white); background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.menu-bars { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 20px; height: 14px; }
.menu-bars span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .menu-bars span { transition: none; } }
.motion-start { margin: 12px 0 0; padding: 8px 14px; font: inherit; font-size: 14px; color: var(--white); background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.motion-start:hover, .motion-start:focus-visible { border-color: var(--pink, #FF3183); }
.bot-action { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.bot-action .note { margin: 0; font-size: 14px; }
.site-menu .bot-action .cta { font-size: 13px; }
.site-menu .bot-action .note { font-size: 12px; }
.stage { height: auto; min-height: calc(100svh - 80px); }
.intro { flex-shrink: 0; }
.draft-notice { max-width: 68ch; font-size: 14px; line-height: 1.5; margin: 20px 0 0; color: var(--white); }
.intro .actions { align-items: flex-start; }
.intro .actions > a { align-self: flex-start; }
.under-scene { flex-shrink: 0; }
.section-heading { max-width: 790px; margin-bottom: 32px; }
.section-heading > p { margin: 0; }
.sample-label { font-size: 14px; line-height: 1.6; margin: 0 0 24px; }
.request { margin: 0 0 40px; padding: 24px 0; border-block: 1px solid var(--line); }
.request p { margin: 0 0 12px; font-size: clamp(18px, 2vw, 24px); }
.request footer { border: 0; padding: 0; color: var(--ink); font-size: 14px; }
.takeaway { margin: 32px 0 0; }
.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.section-copy p { max-width: 60ch; }
.selection-section { padding: 80px 0; background: var(--light); color: var(--ink); }
.text-link { display: inline-flex; min-height: 48px; align-items: center; margin-top: 8px; font-weight: 700; }
.selection-preview { margin: 0; display: grid; grid-template-columns: 1fr 1.15fr; border: 1px solid var(--line); background: var(--white); }
.document-cover { background: var(--navy); color: var(--white); padding: 28px 24px; }
.document-cover img { display: block; margin-bottom: 32px; }
.document-title { font-size: 24px; font-weight: 700; line-height: 1.2; margin: 0 0 20px; }
.document-cover > p:last-child { font-size: 14px; }
.document-page { padding: 28px 24px; }
h3 { font-size: 18px; line-height: 1.4; margin: 0 0 14px; }
.document-page dt { font-size: 14px; }
.document-page dd { font-size: 14px; line-height: 1.6; margin: 6px 0 20px; }
.selection-preview figcaption { grid-column: 1 / -1; padding: 20px 24px; font-size: 14px; line-height: 1.5; border-top: 1px solid var(--line); }
.conversation-section { padding: 80px 0; background: var(--navy); }
.dialogue { max-width: 660px; }
.message { padding: 24px; border-radius: 8px; }
.message p { margin: 0; }
.message .speaker { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.customer { color: var(--ink); background: var(--light); margin-right: 32px; }
.realtor { border: 1px solid var(--line); margin: 20px 0 0 32px; }
.dialogue-note { font-size: 14px; color: var(--muted); margin: 24px 0 0; }
.start-section { padding: 80px 0; background: var(--light); color: var(--ink); }
.start-list { list-style-position: outside; padding-left: 24px; margin-bottom: 0; }
.start-list > li { padding: 24px 0 24px 16px; border-top: 1px solid var(--line); }
.start-list h3 { margin-bottom: 8px; }
.start-list p { margin: 0; max-width: 75ch; }
.terms-section { padding: 64px 0; background: var(--light); color: var(--ink); border-top: 1px solid var(--line); }
.terms-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.terms-layout p { margin: 0 0 16px; max-width: 70ch; }
.terms-main { font-size: 24px; font-weight: 700; line-height: 1.3; }
.finish-layout { display: grid; grid-template-columns: 1fr auto; gap: 48px; }
.finish-layout > div:first-child p { max-width: 60ch; }
.finish .actions { flex-direction: column; }
.site-footer .wrap p { max-width: 70ch; }
.site-footer { font-size: 14px; }
.site-footer > .wrap { display: block; }
.footer-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.footer-heading .text-link { margin: 0; }
.legal-section { margin-top: 32px; padding-top: 40px; border-top: 1px solid var(--line); }
.legal-section h2 { font-size: clamp(24px, 3vw, 36px); }
.legal-intro { margin-bottom: 32px; }
.legal-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.legal-layout > * { min-width: 0; }
.legal-provider dl { margin: 0; }
.legal-provider dl > div { margin-bottom: 24px; }
.legal-provider dt { font-weight: 700; margin-bottom: 6px; }
.legal-provider dd { margin: 0; }
.legal-documents { margin: 0; padding: 0; list-style: none; }
.legal-documents li { padding: 16px 0; border-top: 1px solid var(--line); }
.legal-documents li:first-child { padding-top: 0; border-top: 0; }
.legal-status { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.legal-documents a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 899px) { .legal-layout { grid-template-columns: 1fr; gap: 24px; } }
html.menu-open body::after { content: ''; position: fixed; inset: 80px 0 0; z-index: 4; background: rgba(6, 10, 18, .62); }
html.menu-open .site-menu { z-index: 5; }
section { scroll-margin-top: 20px; }
@media (max-width: 1100px) { .site-menu { gap: 16px; } .site-menu > a { font-size: 13px; } }
@media (max-width: 899px) {
  .site-header .top { flex-wrap: wrap; }
  .site-menu { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 24px; }
  .site-menu > a { font-size: 16px; padding-block: 8px; }
  .site-menu .bot-action { margin-top: 16px; }
  .js .site-menu { position: absolute; top: 100%; left: 0; padding: 16px var(--gutter) 28px; background: var(--navy); border-bottom: 1px solid var(--line); box-shadow: 0 18px 36px rgba(8, 12, 20, .45); }
  .js .site-menu:not([data-open]) { display: none; }
  .editorial-grid { grid-template-columns: 1fr; gap: 32px; }
  .section-copy { max-width: 75ch; }
  .selection-preview { max-width: 660px; }
  .terms-layout, .finish-layout { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .stage { min-height: calc(100svh - 80px); }
  .intro { padding-top: 24px; }
  .draft-notice { font-size: 14px; }
  .selection-section, .conversation-section, .start-section { padding-block: 56px; }
  .section-heading { margin-bottom: 24px; }
  .comparison > div { grid-template-columns: 1fr; gap: 12px; }
  .comparison dt { grid-column: 1; }
  .comparison dd { font-size: 16px; }
  .selection-preview { display: block; }
  .document-cover { padding: 24px; }
  .document-cover img { margin-bottom: 20px; }
  .customer { margin-right: 16px; }
  .realtor { margin-left: 16px; }
  .message { padding: 20px; }
  .terms-section { padding-block: 48px; }
}
/* Резерв высоты и наложение следующего блока включаются только когда анимация действительно
   запущена (.scrub ставит motion.js). Если загрузка motion не удалась, .scrub нет — страница
   остаётся статичной, без лишней высоты и без наложения. */
.scrub { height: 240svh; }
.scrub .stage { position: sticky; top: 0; height: calc(100svh - 80px); min-height: 0; }
.track.scrub + .example { position: relative; z-index: 1; margin-top: -24svh; }
.motion-failed .track,
.track:not(.scrub) { height: auto; }
.motion-failed .stage,
.track:not(.scrub) .stage { position: relative; height: auto; min-height: calc(100svh - 80px); }
.motion-failed .track + .example,
.track:not(.scrub) + .example { margin-top: 0; }
@media (prefers-reduced-motion: reduce) {
  /* Только если пользователь не нажал «Показать анимацию»: при dataset.motion=force
     сцена ведёт себя как обычная и получает свой резерв высоты. */
  html:not([data-motion="force"]) .scrub { height: auto; }
  html:not([data-motion="force"]) .scrub .stage { position: relative; height: auto; min-height: calc(100svh - 80px); }
  html:not([data-motion="force"]) .track.scrub + .example { margin-top: 0; }
}
