:root {
  --ink: #142b34;
  --ink-2: #24424b;
  --paper: #f7f4ec;
  --paper-2: #ede9df;
  --white: #fff;
  --mint: #b9d9ca;
  --green: #1d7157;
  --amber: #bf7a21;
  --red: #a9443b;
  --line: rgba(20, 43, 52, .14);
  --muted: #627278;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(18, 42, 49, .14);
  --shell: min(1180px, calc(100vw - 40px));
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 16px; z-index: 200; transform: translateY(-160%); background: #fff; padding: 12px 18px; border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 244, 236, .9); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(20, 43, 52, .08); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 750; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; background: var(--ink); color: var(--paper); font: 19px Georgia, serif; }
.main-nav { display: flex; gap: 24px; margin-left: auto; font-size: 14px; }
.main-nav a { color: var(--ink-2); transition: color .2s; }
.main-nav a:hover { color: var(--green); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px; background: var(--ink); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 52px; padding: 13px 22px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; letter-spacing: -.01em; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20, 43, 52, .18); }
.button:focus-visible, .text-link:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #e7a74e; outline-offset: 3px; }
.button-small { min-height: 44px; padding: 9px 17px; font-size: 14px; }
.button-secondary { background: transparent; color: var(--ink); }
.button-ghost { background: transparent; border-color: rgba(255, 255, 255, .4); }
.button-light { background: var(--paper); color: var(--ink); white-space: nowrap; }
.text-link { display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid currentColor; font-weight: 750; }

h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.07; letter-spacing: -.035em; }
h1 { max-width: 820px; font-size: clamp(48px, 6.4vw, 84px); }
h2 { font-size: clamp(38px, 4.3vw, 62px); }
h3 { font-size: 29px; }
.eyebrow { margin: 0 0 20px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-light { color: #285f50; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(29, 113, 87, .1); }

.hero { position: relative; overflow: hidden; padding: 86px 0 92px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto 50%; height: 720px; background: radial-gradient(circle, rgba(185, 217, 202, .7), transparent 66%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 72px; align-items: center; }
.hero-lead { max-width: 640px; margin: 28px 0 30px; color: var(--ink-2); font-size: 19px; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 0; margin: 32px 0 0; color: var(--muted); font-size: 14px; list-style: none; }
.trust-list li::before { content: "✓"; margin-right: 8px; color: var(--green); font-weight: 800; }
.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.dashboard-card { position: relative; width: min(480px, 90%); padding: 28px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 30px; background: linear-gradient(145deg, #17343d, #10272f); color: #fff; box-shadow: 0 34px 90px rgba(16, 39, 47, .3); transform: rotate(-1.5deg); }
.dash-top { display: flex; justify-content: space-between; align-items: center; color: #d8e8e1; font-size: 13px; }
.live-pill { padding: 4px 9px; border: 1px solid rgba(185, 217, 202, .35); border-radius: 99px; color: var(--mint); }
.dash-balance { display: grid; margin: 34px 0 22px; }
.dash-balance small, .dash-grid small, .goal-row small { color: #aac0c4; }
.dash-balance strong { font-size: 40px; letter-spacing: -.04em; }
.dash-balance span { color: #83d4ad; font-size: 14px; }
.mini-chart { height: 130px; display: flex; align-items: end; gap: 11px; padding-top: 15px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mini-chart i { flex: 1; border-radius: 7px 7px 2px 2px; background: linear-gradient(to top, #407f6d, #b9d9ca); opacity: .92; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.dash-grid > div { display: grid; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); }
.dash-grid b { font-size: 17px; }
.goal-row { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 17px; border-radius: 16px; background: #f6f1e8; color: var(--ink); }
.goal-row > div { display: grid; }
.goal-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #d6e7df; }
.progress { height: 5px; margin-top: 8px; overflow: hidden; border-radius: 5px; background: #d7d6ce; }
.progress i { display: block; height: 100%; background: var(--green); }
.orbit-note { position: absolute; display: grid; padding: 14px 17px; border: 1px solid rgba(20, 43, 52, .1); border-radius: 16px; background: rgba(255, 255, 255, .92); box-shadow: 0 15px 40px rgba(20, 43, 52, .12); backdrop-filter: blur(8px); font-size: 13px; }
.orbit-note span { color: var(--muted); font-size: 11px; }
.note-one { top: 65px; right: -5px; }
.note-two { bottom: 72px; left: -25px; }

.proof-strip { border-block: 1px solid var(--line); background: var(--paper-2); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-grid > div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 28px 34px; border-right: 1px solid var(--line); }
.proof-grid > div:last-child { border: 0; }
.proof-grid b { grid-row: span 2; color: var(--green); font-size: 13px; }
.proof-grid span { font-weight: 800; }
.proof-grid small { color: var(--muted); }

.section { padding-block: 120px; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; margin-bottom: 56px; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { min-height: 360px; padding: 38px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .44); }
.feature-wide { grid-column: span 2; min-height: 300px; }
.feature-index { display: block; margin-bottom: 42px; color: var(--green); font-size: 13px; font-weight: 800; }
.feature p { max-width: 610px; color: var(--muted); }
.feature-dark { background: var(--ink); color: #fff; }
.feature-dark p { color: #c4d3d5; }
.risk-pill { display: inline-flex; margin-top: 25px; padding: 11px 15px; border-radius: 99px; background: rgba(191, 122, 33, .18); color: #f0c27d; font-weight: 700; }
.flow-viz { display: grid; grid-template-columns: auto 1fr auto auto; gap: 16px; align-items: center; margin-top: 36px; padding: 22px; border-radius: 16px; background: var(--paper); }
.flow-viz span { display: grid; color: var(--muted); font-size: 12px; }
.flow-viz b { color: var(--ink); font-size: 18px; }
.flow-viz i { height: 1px; background: var(--line); }
.flow-viz em { padding: 9px 14px; border-radius: 99px; background: #dbece4; color: var(--green); font-style: normal; font-weight: 800; }
.scenario-lines { display: grid; gap: 13px; margin-top: 40px; }
.scenario-lines i { height: 8px; border-radius: 10px; background: linear-gradient(90deg, var(--mint) 72%, transparent 72%); }
.scenario-lines i:nth-child(2) { background: linear-gradient(90deg, #d1bc91 54%, transparent 54%); }
.scenario-lines i:nth-child(3) { background: linear-gradient(90deg, #8ea9af 88%, transparent 88%); }
.privacy-feature { display: grid; grid-template-columns: 1fr auto; align-items: center; background: #e4eee8; }
.privacy-seal { display: grid; place-items: center; width: 180px; height: 180px; border: 1px solid rgba(29, 113, 87, .25); border-radius: 50%; color: var(--green); text-align: center; }
.privacy-seal > span { font-size: 35px; }
.privacy-seal b { font-family: Georgia, serif; }

.process-section { background: var(--ink); color: #fff; }
.process-section .section-heading { align-items: center; }
.process-section .eyebrow { color: var(--mint); }
.process-section .text-link { color: #fff; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 0; border-top: 1px solid rgba(255, 255, 255, .16); list-style: none; }
.steps li { position: relative; padding: 28px 28px 0 0; }
.steps li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.steps li > span { color: var(--mint); font-size: 13px; }
.steps h3 { margin: 34px 0 12px; font-size: 26px; }
.steps p { color: #b8c9cc; }

.result-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.result-copy > p:not(.eyebrow) { margin: 24px 0 32px; color: var(--muted); font-size: 18px; }
.document-stack { position: relative; min-height: 480px; perspective: 800px; }
.doc-card { position: absolute; inset: 20px 55px 20px 80px; padding: 30px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); font-weight: 800; }
.doc-back { transform: rotate(8deg) translate(28px, 12px); background: #dce8e4; color: var(--green); }
.doc-mid { transform: rotate(3deg) translate(8px, 5px); background: #ebe4d7; color: #8a5e21; }
.doc-front { display: flex; flex-direction: column; }
.doc-front span { color: var(--green); font-size: 10px; letter-spacing: .17em; }
.doc-front b { margin: 40px 0 60px; font: 28px/1.18 Georgia, serif; }
.doc-front i { height: 8px; margin: 8px 0; border-radius: 8px; background: #e4e9e6; }
.doc-front i:nth-last-child(2) { width: 78%; }
.doc-front i:last-child { width: 58%; }

.service-cta { padding: 78px 0; background: var(--mint); }
.service-grid { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.service-grid h2 { max-width: 760px; }
.service-grid p:not(.eyebrow) { max-width: 720px; font-size: 18px; }

.site-footer { padding: 70px 0 26px; background: #0d2229; color: #dbe4e3; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 45px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid p { max-width: 360px; color: #9fb1b5; font-size: 14px; }
.footer-grid b { margin-bottom: 8px; color: #fff; }
.footer-grid a, .footer-link { color: #afbec1; font-size: 14px; }
.footer-link { padding: 0; border: 0; background: none; cursor: pointer; }
.brand-footer { color: #fff; }
.brand-footer .brand-mark { background: var(--mint); color: var(--ink); }
.footer-disclosure { margin-top: 38px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-disclosure p { max-width: 1040px; color: #9fb1b5; font-size: 13px; line-height: 1.7; }
.footer-disclosure a { color: #dbe4e3; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); color: #82969a; font-size: 12px; }

.cookie-panel { position: fixed; left: 50%; bottom: 18px; z-index: 100; width: min(920px, calc(100vw - 30px)); display: flex; justify-content: space-between; gap: 30px; padding: 20px 22px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; transform: translateX(-50%); background: #10272f; color: #fff; box-shadow: 0 18px 60px rgba(0, 0, 0, .25); }
.cookie-panel[hidden] { display: none; }
.cookie-panel p { margin: 4px 0; color: #c4d1d3; font-size: 13px; }
.cookie-panel a { font-size: 13px; text-decoration: underline; }
.cookie-copy { max-width: 720px; }
.cookie-inline { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.cookie-decline { min-height: 44px; padding: 0; border: 0; background: none; color: #dbe4e3; font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-decline:hover { color: #fff; }
.cookie-actions { display: flex; align-items: center; gap: 10px; }
.noscript { position: fixed; top: 0; left: 0; right: 0; z-index: 200; margin: 0; padding: 10px; background: #fff3cf; text-align: center; }
.reveal, .feature, .steps li { opacity: 1; transform: none; }
.planner-body:not(.js-ready)::before { content: "Для работы планировщика нужен JavaScript. Включите его или вернитесь на публичные страницы сервиса."; position: fixed; top: 12px; left: 50%; z-index: 300; width: min(720px, calc(100vw - 28px)); padding: 14px 18px; border: 1px solid #c99641; border-radius: 12px; transform: translateX(-50%); background: #fff3cf; color: #5d451f; text-align: center; box-shadow: var(--shadow); }
.planner-body:not(.js-ready) .planner-main { opacity: .35; pointer-events: none; }

@media (max-width: 900px) {
  .main-nav { position: absolute; top: 76px; left: 20px; right: 20px; display: none; flex-direction: column; padding: 20px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .hero { padding-top: 55px; }
  .hero-grid, .section-heading, .result-preview, .service-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-visual { min-height: 480px; }
  .section { padding-block: 84px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 38px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { align-items: start; }
  .service-grid .button { justify-self: start; }
  .document-stack { min-height: 430px; }
}

@media (max-width: 620px) {
  :root { --shell: min(calc(100% - 28px), 1180px); --radius: 18px; }
  .nav-wrap { min-height: 68px; }
  .brand { font-size: 14px; }
  .hero { padding: 42px 0 62px; }
  .hero-grid { gap: 28px; }
  h1 { font-size: clamp(42px, 13vw, 62px); }
  h2 { font-size: 39px; }
  h3 { font-size: 26px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .text-link { align-self: flex-start; }
  .trust-list { display: grid; gap: 8px; }
  .hero-visual { min-height: 420px; }
  .dashboard-card { width: 100%; padding: 20px; }
  .dash-balance strong { font-size: 32px; }
  .note-one { top: 10px; right: -5px; }
  .note-two { left: 5px; bottom: 4px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid > div { padding: 20px 6px; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature-wide { grid-column: auto; min-height: auto; padding: 28px; }
  .flow-viz { grid-template-columns: 1fr auto; }
  .flow-viz i { display: none; }
  .privacy-feature { grid-template-columns: 1fr; }
  .privacy-seal { width: 135px; height: 135px; margin-top: 28px; }
  .steps { grid-template-columns: 1fr; }
  .result-preview { overflow: hidden; }
  .document-stack { min-height: 380px; }
  .doc-card { inset: 20px 20px 20px 38px; }
  .service-cta { padding: 60px 0; }
  .service-grid .button { width: 100%; white-space: normal; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .cookie-panel { flex-direction: column; gap: 12px; padding: 18px; }
  .cookie-actions { display: block; }
  .cookie-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .site-header, .site-footer, .cookie-panel, .button, .text-link, .service-cta { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .hero { padding: 24px 0; }
  .feature { break-inside: avoid; box-shadow: none; }
  .hero-visual { display: none; }
}
