@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/fonts/onest-latin.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-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/fonts/onest-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f4f7f5;
  --ink: #0e1a16;
  --ink-2: #47564f;
  --ink-3: #66756e;
  --line: #e3e9e5;
  --line-2: #cfd8d3;
  --accent: #0a7a55;
  --accent-hover: #08674a;
  --accent-soft: #e6f4ed;
  --accent-ink: #075c41;
  --deep: #0c2a20;
  --wb: #a12bd4;
  --ozon: #005bff;
  --danger: #b42318;
  --danger-soft: #fef3f2;
  --danger-line: #f9d4cf;
  --warn-soft: #fef3e2;
  --ring: 0 0 0 4px rgba(10, 122, 85, 0.18);
  --shadow: 0 1px 2px rgba(14, 26, 22, 0.04), 0 8px 24px -12px rgba(14, 26, 22, 0.12);
  --shadow-lg: 0 2px 6px rgba(14, 26, 22, 0.04), 0 30px 60px -24px rgba(14, 26, 22, 0.24);
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3 5 8.7l4.5-5' fill='none' stroke='%230a7a55' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-check-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3 5 8.7l4.5-5' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-check-mint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3 5 8.7l4.5-5' fill='none' stroke='%236ee7b7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 5.4v3.4' stroke='%23b45309' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='6' cy='3.4' r='.95' fill='%23b45309'/%3E%3C/svg%3E");
  --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%2347564f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-chevron-accent: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23075c41' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.narrow { max-width: 760px; }

/* Шапка и подвал */

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo:hover { color: var(--ink); }
.logo svg { flex: none; width: 28px; height: 28px; }

.top-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.top-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; }
.top-nav a:not(.btn):hover { color: var(--ink); }

.foot {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 14px;
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot-legal { margin-top: 14px; font-size: 13px; }

mark.todo {
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--warn-soft);
  color: #b45309;
}

/* Кнопки и метки */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(14, 26, 22, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: background-color 0.15s, border-color 0.15s, transform 0.05s;
}

.btn:hover { background: var(--accent-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn svg { flex: none; width: 18px; height: 18px; }

.btn-lg { height: 56px; padding: 0 28px; border-radius: 14px; font-size: 17px; }
.btn-sm { height: 38px; padding: 0 14px; border-radius: 10px; font-size: 14px; }

.btn-ghost {
  border-color: var(--line-2);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(14, 26, 22, 0.05);
}

.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); }

.btn-light { background: #fff; color: var(--accent-ink); box-shadow: none; }
.btn-light:hover { background: #e9f6ef; color: var(--accent-ink); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.badge::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--icon-check) center / 12px no-repeat;
}

.dot {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  vertical-align: 1px;
}

.dot-wb { background: var(--wb); }
.dot-oz { background: var(--ozon); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
}

.link-arrow svg { width: 16px; height: 16px; transition: transform 0.15s; }
.link-arrow:hover svg { transform: translateX(2px); }

.hint { color: var(--ink-3); font-size: 13px; line-height: 1.5; }
.fine { color: var(--ink-3); font-size: 13px; line-height: 1.55; }
.muted { color: #b2bdb7; }
.nowrap { white-space: nowrap; }

.ticks {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li { position: relative; padding-left: 32px; line-height: 1.5; }

.ticks li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft) var(--icon-check) center / 12px no-repeat;
}

.card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

/* Главная */

.hero {
  padding: 76px 0 96px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(800px 420px at 88% -8%, rgba(10, 122, 85, 0.12), transparent 70%),
    linear-gradient(180deg, #f5faf7 0%, #ffffff 78%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: center;
}

.hero-grid > :first-child { min-width: 0; }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.032em;
}

.lead {
  max-width: 32em;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 34px;
}

.price-tag { color: var(--ink-2); font-size: 15px; line-height: 1.35; }

.price-tag b {
  display: block;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 14px;
}

.note span { min-width: 0; }

.note::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft) var(--icon-check) center / 11px no-repeat;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  justify-self: end;
  width: 400px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 18px 8px -18px 24px;
  z-index: -1;
  border-radius: 32px;
  background: linear-gradient(160deg, #d7f0e3 0%, #eef7f2 100%);
}

.lk {
  width: 400px;
  margin: 0;
  padding: 6px 10px 12px;
  border: 1px solid #e4e8e6;
  border-radius: 28px;
  background: #f3f5f4;
  box-shadow: var(--shadow-lg);
}

.lk-top {
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  height: 40px;
  color: #1a2744;
}

.lk-top b {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.lk-top svg { width: 20px; height: 20px; }
.lk-top svg:last-child { justify-self: end; color: #8b97a8; }

.lk-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lk-list li {
  position: relative;
  padding: 12px 16px 11px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 32, 28, 0.05);
}

.lk-list li::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 12px;
  width: 7px;
  height: 7px;
  border-top: 1.6px solid #c5ced6;
  border-right: 1.6px solid #c5ced6;
  transform: rotate(45deg);
}

.lk-list b {
  display: block;
  max-width: 310px;
  color: #1a2744;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.lk-meta,
.lk-foot {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}

.lk-meta {
  margin-top: 7px;
  color: #8b95a3;
  font-size: 12.5px;
  line-height: 1.2;
}

.lk-bar {
  position: relative;
  height: 20px;
  margin-top: 8px;
}

.lk-bar i {
  position: absolute;
  top: 7px;
  left: 0;
  right: 11px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b7e7cf 0%, #1aaa68 100%);
}

.lk-bar span {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #12945c var(--icon-check-white) center / 12px no-repeat;
}

.lk-foot {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.2;
}

.lk-foot span:first-child { color: #5e6d78; }
.lk-foot span:last-child { color: #128a4e; font-weight: 600; }

.demo { max-width: 680px; margin: 56px auto 0; }

.demo-kicker {
  margin-bottom: 14px;
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.preview {
  margin: 0;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.preview-head b { font-size: 15px; font-weight: 600; }

.preview-stats,
.preview-files {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.preview-stats { margin-top: 16px; }
.preview-files { margin-top: 10px; }

.stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg-soft);
}

.stat span { color: var(--ink-3); font-size: 12px; line-height: 1.4; }

.stat b {
  margin-top: 2px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.stat-due { background: var(--accent); color: #fff; }
.stat-due span { color: rgba(255, 255, 255, 0.78); }

.file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  line-height: 1.3;
}

.file svg { flex: none; width: 24px; height: 28px; }
.file b { display: block; font-size: 13px; font-weight: 600; }
.file small { color: var(--ink-3); font-size: 12px; }

.section { padding: 88px 0; }

.section-soft {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
}

.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -0.028em; }
.section-head p { margin-top: 12px; color: var(--ink-2); font-size: 17px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.step-n {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 700;
}

.steps h3 { margin-top: 20px; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.steps p { margin-top: 8px; color: var(--ink-2); }

.channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.channel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.channel h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
}

.channel h3 .dot { width: 12px; height: 12px; margin: 0; }

.price-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
  padding: 48px;
  border-radius: 26px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(52, 211, 153, 0.2), transparent 70%),
    var(--deep);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.price-num {
  font-size: clamp(48px, 6vw, 68px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}

.price-sub { margin-top: 14px; color: rgba(255, 255, 255, 0.78); font-size: 17px; }
.price-card .btn { margin-top: 28px; }
.price-card .ticks { gap: 16px; margin: 0; font-size: 17px; }

.price-card .ticks li::before {
  background-color: rgba(255, 255, 255, 0.12);
  background-image: var(--icon-check-mint);
}

.after-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 20px;
  padding: 20px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.after-price p { color: var(--ink-2); }

.disclaimer { max-width: 640px; margin: 32px auto 0; text-align: center; }

/* Внутренние страницы */

.page { padding: 56px 0 96px; }

.page-head { margin-bottom: 28px; }
.page-head h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.028em; }
.page-head p { margin-top: 10px; color: var(--ink-2); font-size: 17px; }

.alert {
  position: relative;
  margin-bottom: 18px;
  padding: 14px 16px 14px 48px;
  border: 1px solid var(--danger-line);
  border-radius: 14px;
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 15px;
}

.alert::before {
  content: "!";
  position: absolute;
  top: 14px;
  left: 16px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

/* Формы */

.form { padding: 4px 32px 32px; }

.form-section {
  display: grid;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.form-section h2 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.form-section h2 + .hint { margin-top: -10px; }

.form-stack { position: relative; display: grid; gap: 16px; }

.grid-2,
.grid-3 { display: grid; gap: 16px; }

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field textarea {
  height: auto;
  min-height: 96px;
  padding: 12px 14px;
  line-height: 1.5;
  resize: vertical;
}

.field select {
  padding-right: 40px;
  background: #fff var(--icon-chevron) right 14px center / 12px no-repeat;
  -webkit-appearance: none;
  appearance: none;
}

.field input::placeholder,
.field textarea::placeholder { color: #9aa8a1; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #b7c3bd; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--ring);
}

.market {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
}

.market-name {
  display: flex;
  align-items: center;
  color: var(--ink);
  font-weight: 600;
}

.market .hint { margin-top: -6px; }

.howto { margin-top: -4px; color: var(--ink-2); font-size: 14px; }

.howto summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-ink);
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.howto summary::-webkit-details-marker { display: none; }

.howto summary::after {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--icon-chevron-accent) center / 12px no-repeat;
  transition: transform 0.15s;
}

.howto[open] summary::after { transform: rotate(180deg); }
.howto summary:hover { color: var(--accent); }
.howto summary:focus-visible { border-radius: 6px; outline: none; box-shadow: var(--ring); }

.howto ol {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.howto li::marker { color: var(--ink-3); }
.howto b { color: var(--ink); font-weight: 600; }
.howto p { margin-top: 10px; color: var(--ink-3); }

.form-foot {
  position: relative;
  display: grid;
  gap: 22px;
  padding-top: 28px;
}

.form-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.form-submit .hint { flex: 1 1 260px; }
.form-submit .hint a { color: var(--accent-ink); }

.toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  cursor: pointer;
  user-select: none;
}

.check::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--line-2);
  border-radius: 6px;
  background: #fff center / 12px no-repeat;
  transition: background-color 0.15s, border-color 0.15s;
}

.toggle:checked + .check::before {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: var(--icon-check-white);
}

.toggle:focus-visible + .check::before { box-shadow: var(--ring); }

.form-stack .invoice { display: none; }
.form-stack .invoice-toggle:checked ~ .invoice { display: grid; }

.check a { color: var(--accent-ink); }
.check a:hover { color: var(--accent); }

.agree { position: relative; display: grid; gap: 6px; }
.agree-error { margin: 0 0 0 30px; color: var(--danger); font-size: 14px; }
.agree.is-bad .check::before { border-color: var(--danger); }

/* Расчёт */

.status {
  max-width: 600px;
  margin: 24px auto 0;
  padding: 44px 36px;
  text-align: center;
}

.status h1 { margin-top: 20px; font-size: 28px; letter-spacing: -0.025em; }
.status p { margin-top: 10px; color: var(--ink-2); }
.status .progress { color: var(--ink); font-size: 17px; font-weight: 500; }
.status .hint { margin-top: 16px; color: var(--ink-3); }
.status .btn { margin-top: 26px; }

.spinner {
  display: inline-block;
  width: 46px;
  height: 46px;
  border: 4px solid var(--accent-soft);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.status-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 24px;
  font-weight: 700;
}

.ok-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
}

.ok-icon svg { width: 22px; height: 22px; }

.result-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.result-head h1 { font-size: clamp(28px, 3.6vw, 38px); letter-spacing: -0.028em; }
.result-head p { margin-top: 4px; color: var(--ink-2); }

.summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 12px;
  padding: 12px;
}

.summary .stat { padding: 18px 20px; }
.summary .stat span { font-size: 13px; }
.summary .stat b { font-size: 32px; }

.summary-action,
.summary-action form {
  display: grid;
  align-content: center;
  gap: 10px;
}

.summary-action { padding: 8px 8px 8px 12px; }
.summary-action .btn { width: 100%; }
.summary-action .hint { text-align: center; }

.table-card { margin-top: 20px; padding: 4px 24px 6px; }
.table-scroll { overflow-x: auto; }

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.table th,
.table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}

.table th:first-child,
.table td:first-child { padding-left: 0; text-align: left; }

.table th:last-child,
.table td:last-child { padding-right: 0; }

.table thead th {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  vertical-align: bottom;
}

.table thead .group {
  border-bottom: 0;
  background: linear-gradient(var(--line-2), var(--line-2)) center bottom / calc(100% - 20px) 1px no-repeat;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.table tfoot td { border-bottom: 0; font-weight: 600; }
.table .strong { font-weight: 600; }

.preview .table th,
.preview .table td { padding: 10px 8px; }

.preview .table th:first-child,
.preview .table td:first-child { padding-left: 0; }

.preview .table th:last-child,
.preview .table td:last-child { padding-right: 0; }

.notes {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 14px;
}

.notes li { position: relative; padding-left: 28px; }

.notes li::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft) var(--icon-check) center / 11px no-repeat;
}

.notes .warn::before { background: var(--warn-soft) var(--icon-info) center / 12px no-repeat; }

.result-fine { margin-top: 24px; }

/* Пакет и данные */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.split-copy h1 { margin-top: 18px; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; }
.split-copy .lead { margin-top: 16px; font-size: 17px; }
.split-copy .ticks { margin-top: 26px; }
.split-copy .hint { margin-top: 28px; font-size: 14px; }

.split-form { padding: 28px 32px 32px; }

.done { padding: 40px 8px; text-align: center; }
.done .ok-icon { margin: 0 auto; }
.done h2 { margin-top: 18px; font-size: 26px; }
.done p { margin-top: 8px; color: var(--ink-2); }

.facts { padding: 4px 32px; }

.fact {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.fact:last-child { border-bottom: 0; }
.fact h2 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.fact p { color: var(--ink-2); }

/* Документы */

.doc { padding: 12px 36px 36px; }
.doc-after { margin-top: 24px; }
.doc h2 { margin: 30px 0 4px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.doc > :first-child { margin-top: 24px; }
.doc p,
.doc li { color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.doc p { margin-top: 10px; }
.doc b { color: var(--ink); font-weight: 600; }

.doc ul {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-left: 22px;
}

.doc li::marker { color: var(--ink-3); }

.req {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 10px 20px;
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.55;
}

.req dt { color: var(--ink-3); }
.req dd { margin: 0; color: var(--ink); }
.req-wide { margin: 18px 0 8px; padding: 18px 20px; border-radius: 14px; background: var(--bg-soft); }
.req-wide dd { color: var(--ink-2); }

/* Статьи */

.reads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.read {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.read:hover { border-color: #b7c9c0; color: inherit; }
.read h2, .read h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.read p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.read-kicker { color: var(--accent-ink); font-size: 13px; font-weight: 600; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--ink-3);
  font-size: 14px;
}

.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs > * + *::before { content: "/"; margin-right: 8px; color: var(--line-2); }

.prose h2 { margin: 40px 0 0; font-size: 26px; letter-spacing: -0.02em; }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.prose p { margin-top: 12px; }
.prose b { color: var(--ink); font-weight: 600; }
.prose code { font-size: 0.92em; }

.prose ul, .prose ol {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 22px;
}

.prose li::marker { color: var(--accent); }

.callout {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--accent-soft);
}

.prose .callout p { margin: 0; color: var(--ink); }

.formula {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--deep);
}

.formula p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.prose .table-card { margin-top: 16px; }
.prose figcaption {
  padding-top: 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--deep);
  color: #fff;
}

.article-cta p { margin-top: 4px; color: rgba(255, 255, 255, 0.76); font-size: 15px; }
.article-cta .btn { flex: none; background: #fff; color: var(--accent-ink); }
.article-cta .btn:hover { background: #e9f6ef; color: var(--accent-ink); }

.related { margin-top: 48px; }
.related h2 { font-size: 24px; letter-spacing: -0.02em; }
.related .reads { margin-top: 16px; }
.article-note { margin-top: 28px; }

.faq { display: grid; }
.faq article {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.faq article:last-child { border-bottom: 1px solid var(--line); }
.faq h3 { font-size: 18px; font-weight: 600; }
.faq p { margin-top: 8px; color: var(--ink-2); }
.faq .link-arrow { display: inline-flex; margin-top: 10px; font-weight: 600; }

@media (max-width: 1100px) {
  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-visual { justify-self: center; }
}

@media (max-width: 960px) {
  .split,
  .price-card { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-action { grid-column: 1 / -1; padding: 8px; }
}

@media (max-width: 720px) {
  .wrap { width: min(1120px, 100% - 32px); }
  .top-nav .btn-sm { padding-inline: 12px; }
  .top-nav a:not(.btn) { display: none; }
  .lead { font-size: 17px; }
  .section { padding: 64px 0; }
  .steps,
  .channels,
  .reads,
  .grid-2,
  .summary { grid-template-columns: minmax(0, 1fr); }
  .article-cta { align-items: flex-start; flex-direction: column; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 > .wide { grid-column: 1 / -1; }
  .hero-grid > * { min-width: 0; }
  .hero-visual,
  .lk { width: 100%; max-width: 400px; min-width: 0; }
  .hero-visual::before { inset: 14px 6px -14px 14px; }
  .lk-list b { max-width: none; padding-right: 16px; }
  .lk-meta,
  .lk-foot { font-size: 12px; }
  .preview { padding: 18px 16px 16px; }
  .preview-files { grid-template-columns: minmax(0, 1fr); }
  .price-card { padding: 32px 24px; }
  .price-card .ticks { font-size: 16px; }
  .after-price { padding: 18px 20px; }
  .page { padding: 36px 0 72px; }
  .form { padding: 0 20px 24px; }
  .split-form { padding: 22px 20px 24px; }
  .table-card { padding: 4px 16px 6px; }
  .facts { padding: 4px 20px; }
  .fact { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .doc { padding: 4px 20px 28px; }
  .req { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .req dd + dt { margin-top: 10px; }
  .req-wide { padding: 16px; }
  .status { padding: 36px 22px; }
}

@media (max-width: 440px) {
  .lk { width: 400px; max-width: none; zoom: 0.8; }
}
