/* Лендинг сервиса: мягкий светлый стиль талисмана (серый фон, белые карточки, чёрные кнопки). Шрифты свои, без внешних запросов. */
@font-face { font-family: "Nunito"; font-weight: 200 1000; font-display: swap;
  src: url(/fonts/nunito-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Nunito"; font-weight: 200 1000; font-display: swap;
  src: url(/fonts/nunito-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 100 900; font-display: swap;
  src: url(/fonts/onest-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 100 900; font-display: swap;
  src: url(/fonts/onest-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f6f6f6;           /* тот же серый, что фон логотипа */
  --surface: #ffffff;
  --ink: #18181b;
  --muted: #666670;
  --line: #e5e5e8;
  --tint: #efeff1;
  --accent: #18181b;       /* кнопки и знаки: мягкий чёрный */
  --accent-hover: #2d2d33;
  --accent-text: #18181b;
  --accent-ink: #ffffff;
  --shadow: 0 1px 2px rgba(24, 24, 27, .04), 0 14px 34px -16px rgba(24, 24, 27, .16);
  --radius: 24px;
  --display: "Nunito", "Onest", ui-rounded, system-ui, sans-serif;
  --font: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --star: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  color-scheme: light;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 10px; }
.wrap { max-width: 1080px; margin: 0 auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; font-synthesis: none; line-height: 1.18; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.7rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }
.label { display: inline-flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.label::before { content: ""; width: 14px; height: 14px; background: var(--ink); clip-path: var(--star); flex: none; }

/* Шапка */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.45rem; line-height: 1; text-decoration: none; letter-spacing: -0.01em; }
.logo img { width: 40px; height: 40px; flex: none; display: block; }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav a.btn, .nav a.btn:hover { color: var(--accent-ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 650; font-size: 1rem;
  background: var(--accent); color: var(--accent-ink); text-decoration: none; border: 1.5px solid var(--accent);
  box-shadow: 0 10px 22px -12px rgba(24, 24, 27, .55);
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: #b9b9c0; background: var(--surface); }
.btn.small { padding: 9px 18px; font-size: 0.93rem; }

/* Главный экран */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; padding-block: 40px 72px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); margin-top: 20px; max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .note { margin-top: 14px; font-size: 0.9rem; color: var(--muted); }

.hero-art { margin: 0; position: relative; justify-self: center; width: min(100%, 440px); aspect-ratio: 1; display: grid; place-items: center; }
.hero-art img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 1; }

/* Секции */
section { padding-block: 56px; }
.sec-head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 40em; }
.sec-head p { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 24px 24px; display: grid; gap: 10px; align-content: start; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 6px; background: var(--ink); color: #fff; border-radius: 50%; font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.steps p { color: var(--muted); font-size: 0.97rem; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.facts li { align-content: start; padding: 18px 22px; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); display: grid; gap: 2px; }
.facts b { font-weight: 700; }
.facts span { color: var(--muted); font-size: 0.97rem; }

.price-table { overflow-x: auto; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.price-table table { width: 100%; min-width: 600px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 16px 18px; text-align: right; border-top: 1px solid var(--line); white-space: nowrap; }
.price-table thead th { border-top: 0; background: var(--tint); font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.price-table tbody th { text-align: left; font-weight: 700; display: table-cell; }
.price-table tbody th span { display: block; font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.price-table td { font-weight: 650; }
.price-table tbody th { font-family: var(--display); font-size: 1.05rem; font-weight: 700; }
.price-table thead th:first-child { text-align: left; }
.plans-cta { margin-top: 22px; }
.tiny { color: var(--muted); font-size: 0.9rem; margin-top: 18px; }

details { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); padding: 2px 22px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 650; padding-block: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tint); font-family: var(--mono); font-size: 1.1rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); padding-bottom: 18px; max-width: 46em; }

/* Подвал */
footer { border-top: 1px solid var(--line); padding-block: 36px 56px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; color: var(--muted); font-size: 0.93rem; }
footer .legal { display: grid; gap: 6px; align-content: start; }
footer a { color: var(--ink); text-decoration-color: #b9b9c0; text-underline-offset: 3px; }
footer .req { display: grid; gap: 4px; }

/* Юридические страницы */
.doc { max-width: 46em; padding-block: 24px 40px; }
.doc h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 6px; }
.doc .date { color: var(--muted); margin-bottom: 28px; }
.doc h2 { font-size: 1.4rem; margin: 38px 0 10px; }
.doc p, .doc li { color: var(--ink); margin-bottom: 10px; }
.doc ul { padding-left: 1.3em; margin: 0 0 10px; }
.doc .box { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); padding: 16px 22px; margin-block: 18px; color: var(--muted); font-size: 0.95rem; }

@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 16px 40px; }
  .hero-art { order: -1; width: min(70%, 320px); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  footer { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .nav { gap: 0; }
  .nav a:not(.btn) { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color .15s, border-color .15s; }
}
