@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-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: "Inter";
  src: url("/fonts/inter-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 {
  --ink: #141414;
  --canvas: #ffffff;
  --graphite: #707070;
  --ash: #adadad;
  --fog: #ededed;
  --mist: #f2f2f2;
  --silver: #c2c2c2;
  --ring: rgba(64, 64, 64, 0.16) 0 0 0 1px inset;
  --lift: rgba(0, 0, 0, 0.04) 0 8px 40px 0;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1280px;
  --gutter: 24px;
  --section: 80px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0.013em;
  font-weight: 400;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.011em; }
p { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Навигация */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--fog); }
.nav .wrap { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-weight: 652; font-size: 17px; letter-spacing: -0.01em; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 652; }
.nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 440; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--graphite); }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 9999px;
  font: 600 15px/1 var(--font); letter-spacing: 0.01em; text-decoration: none;
  border: 1px solid var(--ink); cursor: pointer; transition: background .15s, color .15s, box-shadow .15s;
}
.btn-fill { background: var(--ink); color: #fff; }
.btn-fill:hover { box-shadow: var(--ring); background: #2a2a2a; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--mist); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }

/* Первый экран */
.hero { padding: 104px 0 var(--section); text-align: center; }
.hero-icon {
  width: 72px; height: 72px; border-radius: 22px; margin: 0 auto 32px;
  background: var(--ink); color: #fff; display: grid; place-items: center;
}
.hero h1 { font-size: clamp(44px, 7.2vw, 80px); line-height: 1.02; font-weight: 652; letter-spacing: -0.011em; max-width: 980px; margin: 0 auto; }
.hero .lead { margin: 24px auto 0; max-width: 600px; font-size: 20px; line-height: 1.5; font-weight: 440; color: var(--graphite); letter-spacing: 0.014em; }
.hero .cta { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 16px; font-size: 13px; color: var(--ash); }

/* Цифры */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--fog); border-bottom: 1px solid var(--fog); }
.stat { padding: 40px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--fog); }
.stat b { display: block; font-size: clamp(40px, 5vw, 56px); line-height: 1; font-weight: 652; letter-spacing: -0.011em; }
.stat span { display: block; margin-top: 10px; font-size: 16px; font-weight: 440; color: var(--graphite); }

/* Секции */
.section { padding: var(--section) 0 0; }
.section:last-of-type { padding-bottom: var(--section); }
.eyebrow { font-size: 12px; font-weight: 456; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ash); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head h2 { margin-top: 12px; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.12; font-weight: 652; letter-spacing: -0.007em; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--graphite); font-weight: 440; }

/* Фильтры и каталог */
.pills { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.pill {
  height: 34px; padding: 0 14px; border-radius: 9999px; border: 1px solid var(--ink);
  background: transparent; color: var(--ink); font: 440 14px/1 var(--font); cursor: pointer;
}
.pill[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pill:hover:not([aria-pressed="true"]) { background: var(--mist); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.app {
  border: 1px solid var(--fog); border-radius: 16px; padding: 16px;
  display: flex; align-items: center; gap: 12px; min-height: 72px;
}
.app[hidden] { display: none; }
.app-ico {
  flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--mist);
  display: grid; place-items: center; font-weight: 600; font-size: 15px; color: var(--ink);
}
.app-name { font-size: 15px; font-weight: 456; line-height: 1.25; }
.app-cat { font-size: 12px; color: var(--graphite); margin-top: 2px; }
.grid-note { text-align: center; margin-top: 20px; font-size: 14px; color: var(--graphite); }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { border: 1px solid var(--fog); border-radius: 24px; padding: 24px; }
.step::before {
  counter-increment: s; content: counter(s);
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9999px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600;
}
.step h3 { margin-top: 20px; font-size: 20px; line-height: 1.3; font-weight: 600; }
.step p { margin-top: 8px; font-size: 15px; color: var(--graphite); }

/* Безопасность */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: stretch; }
.panel { border: 1px solid var(--fog); border-radius: 24px; padding: 32px; }
.panel h3 { font-size: 24px; line-height: 1.25; font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 16px; }
.checks svg { margin-top: 2px; }
.checks small { display: block; color: var(--graphite); font-size: 14px; margin-top: 2px; }
.shot { border: 1px solid var(--fog); border-radius: 24px; padding: 16px; background: var(--mist); display: flex; flex-direction: column; gap: 12px; }
.shot img { border-radius: 16px; filter: grayscale(1); background: #fff; }
.shot figcaption { font-size: 13px; color: var(--graphite); text-align: center; }

/* Цены */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price { border: 1px solid var(--fog); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; }
.price.main { border-color: var(--ink); }
.badge { align-self: flex-start; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 9999px; letter-spacing: 0.02em; }
.badge.ghost { background: var(--mist); color: var(--ink); }
.price h3 { margin-top: 20px; font-size: 18px; font-weight: 456; color: var(--graphite); }
.price .sum { margin-top: 8px; font-size: 56px; line-height: 1; font-weight: 652; letter-spacing: -0.011em; }
.price .sum small { font-size: 20px; font-weight: 456; letter-spacing: 0; }
.price ul { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; color: var(--graphite); }
.price ul li::before { content: "·"; margin-right: 8px; color: var(--ink); font-weight: 600; }
.price-note { margin-top: 20px; text-align: center; font-size: 14px; color: var(--graphite); }

/* Вопросы */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--fog); }
.faq details { border-bottom: 1px solid var(--fog); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 18px; font-weight: 456;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 24px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--graphite); font-size: 16px; }

/* Финальный блок */
.final { margin-top: var(--section); background: var(--mist); border-radius: 24px; padding: 64px 32px; text-align: center; }
.final h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.1; font-weight: 652; }
.final p { margin: 16px auto 0; max-width: 520px; color: var(--graphite); font-size: 18px; font-weight: 440; }
.final .cta { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Подвал */
.footer { border-top: 1px solid var(--fog); margin-top: var(--section); padding: 40px 0 48px; font-size: 14px; color: var(--graphite); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer h4 { margin: 0 0 12px; font-size: 12px; font-weight: 456; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ash); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: var(--ink); font-weight: 440; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer .legal { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--fog); font-size: 12px; line-height: 1.6; color: var(--ash); }

/* Документы */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 0 0; }
.doc .back { font-size: 14px; color: var(--graphite); text-decoration: none; font-weight: 440; }
.doc .back:hover { color: var(--ink); }
.doc h1 { margin-top: 24px; font-size: clamp(32px, 5vw, 48px); line-height: 1.1; font-weight: 652; }
.doc .meta { margin-top: 12px; color: var(--graphite); font-size: 14px; }
.doc h2 { margin-top: 40px; font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -0.005em; }
.doc p, .doc li { font-size: 16px; line-height: 1.6; color: #2b2b2b; }
.doc p { margin-top: 12px; }
.doc ul, .doc ol { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.doc .box { margin-top: 24px; background: var(--mist); border-radius: 16px; padding: 20px 24px; }
.doc .box p:first-child { margin-top: 0; }
.req { margin-top: 16px; border: 1px solid var(--fog); border-radius: 16px; overflow: hidden; }
.req div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 20px; font-size: 15px; }
.req div + div { border-top: 1px solid var(--fog); }
.req dt { color: var(--graphite); }
.req dd { margin: 0; font-weight: 456; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .prices { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; --section: 64px; }
  .nav-links { display: none; }
  .hero { padding-top: 64px; }
  .hero .lead { font-size: 18px; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--fog); }
  .stat { padding: 28px 16px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .app { padding: 12px; gap: 10px; }
  .app-ico { width: 34px; height: 34px; font-size: 13px; }
  .app-name { font-size: 14px; }
  .steps, .split { grid-template-columns: 1fr; }
  .panel { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .req div { grid-template-columns: 1fr; gap: 2px; }
  .pills { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 20px; padding: 0 var(--gutter); scrollbar-width: none; }
  .pills::-webkit-scrollbar { display: none; }
  .pill { flex: none; }
  .final { padding: 48px 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.mt12 { margin-top: 12px; }
.mt28 { margin-top: 28px; }
.footer-about { margin-top: 12px; max-width: 360px; }
.shot { margin: 0; }
.doc-center { text-align: center; padding-bottom: 40px; }
