@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f4f6f5;
  --bg-alt: #eaefec;
  --surface: #fbfcfb;
  --text: #121715;
  --muted: #4b5752;
  --line: #d3dbd7;
  --line-strong: #7d8984;
  --accent: #17694f;
  --accent-hover: #115a43;
  --accent-ink: #f7fbf9;
  --accent-soft: #dcebe4;
  --accent-text: #135c45;
  --shadow: 0 1px 2px rgb(18 40 32 / .06), 0 12px 32px -12px rgb(18 40 32 / .14);
  --r-ctl: 10px;
  --r-surf: 18px;
  --wrap: 1200px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1312;
    --bg-alt: #131917;
    --surface: #171e1b;
    --text: #e6ece9;
    --muted: #9eaba5;
    --line: #2a3531;
    --line-strong: #5d6b65;
    --accent: #4cc39a;
    --accent-hover: #6bd2ae;
    --accent-ink: #07130e;
    --accent-soft: #17302a;
    --accent-text: #6fd3b0;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 16px 40px -16px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; scrollbar-color: var(--line-strong) var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: color-mix(in srgb, var(--accent) 18%, transparent);
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 650; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent-soft); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 30; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: var(--r-ctl); }
.skip:focus { left: 16px; }

.ic { width: 1.15em; height: 1.15em; flex: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-ctl);
  font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform 160ms var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--primary .ic { transition: transform .2s var(--ease); }
.btn--primary:hover .ic { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-text); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__in { height: 68px; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.logo b { font-weight: 700; color: var(--accent-text); }
.nav__links { display: flex; gap: 26px; margin-right: auto; }
.nav__links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; align-items: center; gap: 18px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px; }
.nav__phone .ic { color: var(--accent-text); }
.nav__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; color: var(--text); border-radius: var(--r-ctl); cursor: pointer; align-items: center; justify-content: center; }
.nav__burger .ic { width: 22px; height: 22px; }
.nav__burger .i-close, .nav__burger[aria-expanded="true"] .i-open { display: none; }
.nav__burger[aria-expanded="true"] .i-close { display: block; }

.hero { padding: 56px 0 72px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; min-height: calc(100dvh - 68px - 128px); max-height: 760px; }
.hero h1 { font-size: clamp(36px, 4.1vw, 58px); line-height: 1.06; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--accent-text); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .09em; background: currentColor; border-radius: 2px; transform-origin: left; transform: scaleX(var(--line-x, 1)); transition: transform 1s 1s var(--ease); }
.lead { margin-top: 24px; font-size: 19px; color: var(--muted); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.calc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-surf); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 20px; margin: 0; }
.calc__title { font-size: 22px; }
.calc__hint { margin-top: 6px; font-size: 14px; color: var(--muted); }
.seg { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; background: var(--bg-alt); padding: 5px; border-radius: calc(var(--r-ctl) + 4px); }
.seg--4 { grid-template-columns: repeat(4, 1fr); }
.seg legend { float: left; width: 100%; grid-column: 1 / -1; font-size: 13px; font-weight: 600; color: var(--muted); padding: 2px 6px 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border-radius: var(--r-ctl); font-size: 15px; font-weight: 600; color: var(--muted); transition: background-color .2s, color .2s, box-shadow .2s; }
.seg input:checked + span { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 0 0 1px var(--line); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
.seg input:not(:checked):hover + span { color: var(--text); }
.calc__rows { margin: 0; display: grid; gap: 10px; }
.calc__rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.calc__rows dt { color: var(--muted); }
.calc__rows dd { margin: 0; font-weight: 600; }
.calc__rows s { color: var(--muted); font-weight: 400; margin-right: 6px; }
.calc__rows [hidden] { display: none; }
.calc__total { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.calc__label { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.calc__total strong { font-size: 34px; letter-spacing: -0.03em; line-height: 1.1; }
.calc__save { font-size: 14px; font-weight: 600; color: var(--accent-text); background: var(--accent-soft); padding: 6px 10px; border-radius: var(--r-ctl); white-space: nowrap; }
.calc__save:empty { display: none; }

.facts { border-block: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 40px 28px; display: grid; gap: 10px; align-content: start; }
.fact + .fact { border-left: 1px solid var(--line); }
.facts { --fs: clamp(40px, 4.4vw, 60px); }
.fact strong { font-size: var(--fs); letter-spacing: -0.045em; line-height: 1.05; font-weight: 650; white-space: nowrap; }
.fact__u { font-size: .46em; font-weight: 600; letter-spacing: -0.01em; color: var(--accent-text); margin-left: .14em; }
.fact--word strong { font-size: calc(var(--fs) * .56); letter-spacing: -0.025em; min-height: calc(var(--fs) * 1.05); display: flex; align-items: flex-end; white-space: normal; }
.fact > span { color: var(--muted); font-size: 15px; line-height: 1.45; max-width: 24ch; }

.section { padding: 112px 0; }
.section--alt { background: var(--bg-alt); }

:root { --text-0: var(--text); --muted-0: var(--muted); --accent-0: var(--accent); }
.section--dark { --text: #eef5f1; --muted: rgb(238 245 241 / .7); --accent: #6fd3b0; background: #0f3b2c; color: var(--text); }
@media (prefers-color-scheme: dark) { .section--dark { background: #12291f; } }
.section--dark :is(.chip, .diag__out, .form, .contact) { --text: var(--text-0); --muted: var(--muted-0); --accent: var(--accent-0); color: var(--text); }
.section--dark .diag__empty { border-color: var(--line-strong); }
.section--dark .about__text p { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.5; }
.h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.03em; max-width: 20ch; }

.h2::after { content: ""; display: block; width: 56px; height: 3px; margin-top: .45em; border-radius: 2px; background: var(--accent); }
.sub { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 60ch; }

.bento { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-surf); padding: 28px; display: grid; gap: 12px; align-content: start; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.cell:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-2px); }
.cell > .ic { width: 30px; height: 30px; color: var(--accent-text); margin-bottom: 6px; }
.cell h3 { font-size: 20px; }
.cell p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.cell--hero { grid-column: span 2; grid-row: span 2; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); padding: 36px; align-content: end; position: relative; overflow: hidden; }
.cell--hero::before { content: ""; position: absolute; inset: auto -20% -45% 30%; height: 90%; background: radial-gradient(closest-side, rgb(255 255 255 / .16), transparent); pointer-events: none; }
.cell--hero > .ic { color: var(--accent-ink); width: 40px; height: 40px; margin-bottom: auto; }
.cell--hero h3 { font-size: 30px; margin-top: 64px; }
.cell--hero p { color: color-mix(in srgb, var(--accent-ink) 82%, transparent); font-size: 17px; max-width: 44ch; }
.cell--hero:hover { border-color: var(--accent); }
.cell--tint { background: var(--accent-soft); border-color: transparent; }
.cell--tint p { color: color-mix(in srgb, var(--text) 75%, var(--accent-soft)); }
.cell--band { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; gap: 24px; background: transparent; border-style: dashed; }
.cell--band > .ic { margin: 0; }
.cell--band p { margin-top: 6px; max-width: 80ch; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; margin-top: 8px; }
.link .ic { transition: transform .2s var(--ease); }
.link:hover .ic { transform: translateX(4px); }

.tiers { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr 1.18fr; gap: 16px; align-items: stretch; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-surf); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.tier h3 { font-size: 20px; }
.tier__price { display: grid; gap: 4px; }
.tier__price strong { font-size: 40px; letter-spacing: -0.035em; line-height: 1.05; font-weight: 650; }
.tier__price span { color: var(--muted); font-size: 15px; }
.tier__fit { font-size: 15.5px; color: var(--muted); }
.tier .btn { margin-top: auto; }
.tier--best { border: 2px solid var(--accent); box-shadow: var(--shadow); position: relative; }
.tier__badge { position: absolute; top: -13px; left: 30px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.ticks .ic { color: var(--accent-text); margin-top: .22em; }

.fixed { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fix { padding: 32px; border-radius: var(--r-surf); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.fix:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fix > .ic { width: 30px; height: 30px; color: var(--accent-text); }
.fix h3 { font-size: 20px; }
.fix > p { color: var(--muted); font-size: 15.5px; }
.fix__prices { display: flex; flex-wrap: wrap; gap: 8px 40px; margin-top: auto; padding-top: 6px; }
.fix__prices p { display: grid; }
.fix__prices span { font-size: 14px; color: var(--muted); }
.fix__prices strong { font-size: 28px; letter-spacing: -0.03em; line-height: 1.3; }
.fix > .fix__note { font-size: 14.5px; }
.fix > .fix__note--gift { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-text); }
.fix .btn { align-self: flex-start; }

.versus { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-surf); overflow: hidden; background: var(--surface); }
.vs { padding: 40px; display: grid; gap: 18px; align-content: start; }
.vs + .vs { border-left: 1px solid var(--line); }
.vs header { display: flex; align-items: center; gap: 12px; }
.vs header .ic { width: 28px; height: 28px; color: var(--accent-text); }
.vs h3 { font-size: 26px; }
.vs__lead { font-size: 17px; }
.vs__fit { color: var(--muted); font-size: 15px; padding-top: 16px; border-top: 1px dashed var(--line); }
.note { margin-top: 24px; display: flex; gap: 10px; align-items: center; color: var(--muted); }
.note .ic { color: var(--accent-text); }

.lic__title { margin-top: 72px; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.02em; }
.lic { margin-top: 24px; }
.lic__tabs { max-width: 400px; }
.lic:has(input[value="cloud"]:checked) [data-panel="box"],
.lic:has(input[value="box"]:checked) [data-panel="cloud"] { display: none; }
.lic__panel { margin-top: 24px; }
.lic__per { max-width: 300px; margin-bottom: 20px; }

.lic [data-per="year"],
.lic:has(input[value="year"]:checked) [data-per="month"] { display: none; }
.lic:has(input[value="year"]:checked) [data-per="year"] { display: inline; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-surf); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.plan h3 { font-size: 20px; }
.plan__meta { color: var(--muted); font-size: 14.5px; }
.plan__price { display: grid; gap: 2px; }
.plan__price strong { font-size: 30px; letter-spacing: -0.03em; line-height: 1.15; font-weight: 650; }
.plan__price > span { color: var(--muted); font-size: 14px; }
.plan__sub { margin: 0; padding-top: 14px; border-top: 1px dashed var(--line); display: grid; gap: 2px; font-size: 14.5px; }
.plan__sub dt { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 4px; }
.plan__sub dt .ic { color: var(--accent-text); }
.plan__sub dd { margin: 0; color: var(--muted); }
.plan .is-promo { color: var(--accent-text); font-weight: 600; }
.plan > .btn, .plan__size > .btn { margin-top: auto; }
.plan__head { display: grid; gap: 10px; align-content: start; }
.plan__head .field { margin-top: 6px; }
.plan__size { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.plan__size[hidden] { display: none; }
.plan--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 48px; }
.plan--wide .plan__size { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 32px; align-content: start; }
.plan--wide .plan__size[hidden] { display: none; }
.plan--wide .plan__sub { border-top: 0; padding-top: 0; }
.plan--wide .plan__size > .btn { grid-column: 1 / -1; justify-self: start; width: auto; min-width: 200px; }
.plan__cost { display: grid; gap: 10px; align-content: start; }
.lic__note { margin-top: 12px; color: var(--muted); font-size: 14.5px; max-width: 90ch; }
.plans + .lic__note { margin-top: 24px; }
.lic__src { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

.badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 14px; font-weight: 600; }
.badge .ic { width: 20px; height: 20px; }
.footer__partner { margin-top: 12px; display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.footer__partner .ic { color: var(--accent-text); }

.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 19px; left: 20px; right: 20px; height: 2px; background: var(--line); }
.steps li { position: relative; counter-increment: s; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--accent); color: var(--accent-text); font-weight: 700; margin-bottom: 12px; position: relative; }
.steps h3 { font-size: 19px; }
.steps p { color: var(--muted); font-size: 15px; }

.about { display: grid; }
.about__text { max-width: 880px; }
.about__text { display: grid; gap: 20px; }
.about__text p { font-size: 20px; max-width: 62ch; }
.about__text p + p { color: var(--muted); }
.lead-grid__direct { display: grid; gap: 12px; }
.contact { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-surf); text-decoration: none; background: var(--surface); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.contact:hover { border-color: var(--accent); transform: translateY(-2px); }
.contact .ic { width: 26px; height: 26px; color: var(--accent-text); }
.contact span { display: grid; font-size: 16px; min-width: 0; overflow-wrap: anywhere; }
.contact b { font-size: 13px; font-weight: 600; color: var(--muted); }

.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-surf); transition: border-color .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; line-height: 1; color: var(--accent-text); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); max-width: 62ch; }

.lead-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.lead-grid__direct { margin-top: 36px; max-width: 360px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-surf); padding: 32px; display: grid; gap: 18px; box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field input[type="text"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); caret-color: var(--accent);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r-ctl);
  padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field__help { font-size: 13px; color: var(--muted); }
.field__err { font-size: 13px; color: #b42318; font-weight: 500; }
.field__err:empty { display: none; }
@media (prefers-color-scheme: dark) { .field__err { color: #ff8a7a; } }
.field.is-invalid input, .field.is-invalid textarea { border-color: #b42318; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px !important; font-weight: 400 !important; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.check a { color: var(--accent-text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 15px; }
.form__status:empty { display: none; }
.form__status.is-error { color: #b42318; }
@media (prefers-color-scheme: dark) { .form__status.is-error { color: #ff8a7a; } }
.form.is-done { align-content: center; min-height: 420px; text-align: left; }
.form__done h3 { font-size: 26px; }
.form__done p { margin-top: 10px; color: var(--muted); }
.form__done .ic { width: 40px; height: 40px; color: var(--accent-text); margin-bottom: 16px; }

.form__pick { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: var(--r-ctl); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.form__pick[hidden] { display: none; }
.form__pick > .ic { width: 22px; height: 22px; color: var(--accent-text); }
.form__pick p { display: grid; flex: 1; min-width: 0; line-height: 1.35; }
.form__pick span { font-size: 13px; color: var(--muted); }
.form__pick b { font-weight: 600; font-size: 15.5px; overflow-wrap: anywhere; }
.form__pick-x { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: var(--r-ctl); background: transparent; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.form__pick-x:hover { background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--text); }
.form__pick-x .ic { width: 18px; height: 18px; }

.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14px; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: start; }
.footer .logo { color: var(--text); font-size: 17px; }
.footer__legal { margin-top: 10px; }
.footer__contacts { margin-top: 6px; font-style: normal; line-height: 1.6; }
.footer__contacts a { color: inherit; text-decoration: none; }
.footer__contacts a:hover { color: var(--text); }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--text); }
.footer__tm { grid-column: 1 / -1; font-size: 13px; }

.nav__links a { position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after { transform: scaleX(1); }

.to-top {
  position: fixed; z-index: 15;
  right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); color: var(--accent-text);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, bottom .32s var(--ease-out), background-color .2s, color .2s, border-color .2s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.to-top:active { transform: scale(.94); }
.to-top .ic { width: 22px; height: 22px; }
@media (max-width: 640px) { .to-top { width: 44px; height: 44px; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); } }

.hero h1 em .ch { display: inline-block; transition: transform .8s cubic-bezier(.34, 1.45, .64, 1) calc(.35s + var(--k, 0) * 70ms); }
.js .hero h1:not(.is-in) em .ch { transform: translateY(var(--dy, 0)) rotate(var(--r, 0)); }

.seg { position: relative; }
.seg label { z-index: 1; }
.seg__thumb { position: absolute; left: 0; top: 0; width: var(--w, 0); height: var(--h, 0); transform: translate(var(--x, 0), var(--y, 0)); border-radius: var(--r-ctl); background: var(--surface); box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 0 0 1px var(--line); opacity: 0; pointer-events: none; }
.seg.has-thumb .seg__thumb { opacity: 1; }
.seg.is-ready .seg__thumb { transition: transform 260ms var(--ease-out), width 260ms var(--ease-out); }
.seg.has-thumb input:checked + span { background: transparent; box-shadow: none; }

.hours { display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; margin-top: -8px; }
.hours i { height: 6px; border-radius: 2px; background: var(--line); transition: background-color .3s var(--ease-out), transform .3s var(--ease-out); transition-delay: calc(var(--k, 0) * 14ms); }
.hours i.is-on { background: var(--accent); }
.hours.is-off i { background: var(--line); opacity: .55; }

.diag { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: start; }
.diag__pick { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 18px 12px 16px; border-radius: var(--r-ctl); background: var(--surface); border: 1px solid var(--line-strong); font-size: 16px; font-weight: 500; line-height: 1.3; cursor: pointer; transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out), transform 160ms var(--ease-out); }
.chip span .ic { width: 18px; height: 18px; padding: 2px; border-radius: 50%; border: 1.5px solid var(--line-strong); color: transparent; transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out); }
.chip input:hover + span { border-color: var(--accent); }
.chip input:active + span { transform: scale(.97); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.chip input:checked + span .ic { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.diag__out { position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-surf); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.diag__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.diag__head h3 { font-size: 22px; }
.diag__count { min-width: 32px; height: 32px; padding: 0 10px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 15px; }
.diag__count[hidden], .diag__empty[hidden], .diag__list li[hidden], .diag .btn[hidden] { display: none; }
.diag__empty { color: var(--muted); font-size: 15.5px; padding: 18px; border: 1px dashed var(--line-strong); border-radius: var(--r-ctl); }
.diag__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.diag__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
@starting-style { .diag__list li { opacity: 0; transform: translateY(6px); } }
.diag__list .ic { width: 22px; height: 22px; color: var(--accent-text); margin-top: 1px; }

@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size .3s var(--ease-out), content-visibility .3s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

.dock { display: none; }
@media (max-width: 640px) {
  .dock {
    position: fixed; z-index: 16; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
    display: flex; gap: 8px; padding: 8px; border-radius: 16px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
    border: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(calc(100% + 24px)); visibility: hidden;
    transition: transform .32s var(--ease-out), visibility .32s;
  }
  .dock.is-shown { transform: none; visibility: visible; }
  .dock .btn { flex: 1; min-height: 48px; }
  .dock__ic { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r-ctl); border: 1px solid var(--line-strong); color: var(--accent-text); transition: transform 160ms var(--ease-out); }
  .dock__ic:active { transform: scale(.94); }
  .dock__ic .ic { width: 24px; height: 24px; }
  .dock.is-shown ~ .to-top { bottom: calc(max(12px, env(safe-area-inset-bottom)) + 80px); }
  .footer { padding-bottom: 112px; }
}

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero h1 em { --line-x: 0; }
.js .hero h1.is-in em { --line-x: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .hero h1 em { --line-x: 1; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.cases { margin-top: 56px; display: grid; gap: 16px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-surf); padding: 36px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 40px; align-items: start; }
.case__head { display: grid; gap: 10px; align-content: start; }
.case__head > .ic { width: 30px; height: 30px; color: var(--accent-text); margin-bottom: 6px; }
.case__tag { color: var(--accent-text); font-size: 14px; font-weight: 600; }
.case__head h3 { font-size: 24px; letter-spacing: -0.02em; }
.case__body { display: grid; gap: 22px; }
.case__body h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.case__body p { font-size: 15.5px; line-height: 1.55; }
.case__res { background: var(--accent-soft); border-radius: calc(var(--r-surf) - 6px); padding: 18px 20px; }
.case__res h4 { color: var(--accent-text); }

.reviews { margin-top: 56px; columns: 2; column-gap: 16px; }
.reviews:has(> :only-child) { columns: 1; max-width: 760px; }
.review { break-inside: avoid; margin: 0 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-surf); padding: 32px; display: grid; gap: 18px; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.review__tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.review__tags li { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); }
.review figcaption { display: grid; gap: 2px; padding-top: 16px; border-top: 1px solid var(--line); }
.review figcaption b { font-weight: 600; }
.review figcaption span { color: var(--muted); font-size: 14.5px; }

.review-page { max-width: 720px; padding-top: 56px; padding-bottom: 96px; display: grid; gap: 32px; }
.review-page__intro h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; }
.review-page__intro p { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 60ch; }
.review-page .check { margin-top: 4px; }
.review-services { border: 0; margin: 0; padding: 0; min-width: 0; }
.review-services legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 8px; }
.review-services__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.review-services .chip span { min-height: 46px; font-size: 15px; }
.form__done h2 { font-size: 26px; }

.logo, .nav__links a, .nav__phone { white-space: nowrap; }
@media (max-width: 1320px) {
  .nav__phone span { display: none; }
  .nav__links { gap: 20px; }
}
@media (max-width: 1180px) {
  .nav__links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s;
  }
  .nav__links.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__links a { padding: 14px 0; font-size: 17px; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__links a.is-active { color: var(--accent-text); }
  .nav__links a[hidden] { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__in { gap: 16px; justify-content: space-between; }
  .nav__phone span { display: inline; }
}
@media (max-width: 960px) {
  .nav__phone span { display: none; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; max-height: none; gap: 40px; }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr 1fr; }
  .cell--hero { grid-column: 1 / -1; grid-row: auto; }
  .tiers { grid-template-columns: 1fr; max-width: 560px; }
  .fixed { grid-template-columns: 1fr; max-width: 560px; }
  .case { grid-template-columns: 1fr; gap: 24px; }
  .reviews { columns: 1; }
  .versus { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan--wide { grid-template-columns: 1fr; }
  .lic__title { margin-top: 56px; }
  .vs + .vs { border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 20px; bottom: 20px; left: 19px; right: auto; width: 2px; height: auto; }
  .steps li { grid-template-columns: 40px 1fr; column-gap: 18px; padding-bottom: 28px; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .about, .faq, .lead-grid { grid-template-columns: 1fr; gap: 40px; }
  .diag { grid-template-columns: 1fr; gap: 24px; }
  .diag__out { position: static; }
  .section { padding: 80px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav .btn--sm { display: none; }
  .hero { padding: 32px 0 56px; }
  .lead { font-size: 17px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .calc { padding: 20px; }
  .seg span { font-size: 14px; }
  .calc__total strong { font-size: 28px; }
  .facts__grid { grid-template-columns: 1fr; }
  .fact { padding: 22px 0; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; }
  .cell--hero { padding: 28px; }
  .cell--hero h3 { margin-top: 40px; font-size: 26px; }
  .cell--band { grid-template-columns: 1fr; }
  .tier, .fix, .vs, .form, .diag__out, .case, .plan { padding: 24px; }
  .plans, .plan--wide .plan__size { grid-template-columns: 1fr; }
  .plan--wide .plan__size > .btn { width: 100%; }
  .lic__tabs, .lic__per { max-width: none; }
  .case__head h3 { font-size: 21px; }
  .review { padding: 24px; }
  .review-services__list { grid-template-columns: 1fr; }
  .review-page { padding-top: 32px; padding-bottom: 64px; }
  .chip span { font-size: 15px; }
  .fix .btn { align-self: stretch; }
  .section { padding: 64px 0; }
  .footer__grid { grid-template-columns: 1fr; }
}

.doc { max-width: 760px; padding-top: 56px; padding-bottom: 96px; }
.doc h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; }
.doc__date { margin-top: 12px; color: var(--muted); font-size: 15px; }
.doc h2 { font-size: 21px; margin-top: 40px; margin-bottom: 12px; }
.doc p, .doc li { color: var(--text); }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 12px 0; padding-left: 22px; display: grid; gap: 6px; }
.doc a { color: var(--accent-text); }
.doc + .footer .footer__grid { align-items: center; }
.nav__in > .link { margin: 0 0 0 auto; }
