@import url('/vendor/nunito/500.css');
@import url('/vendor/nunito/700.css');
@import url('/vendor/nunito/800.css');
@import url('/vendor/nunito/900.css');
@import url('/vendor/kurale/400.css');

/* Фирменные цвета — по мотивам городецкой росписи: киноварь, золото, тёплый крем */
:root {
  --bg: #FBF3E4;
  --bg-deep: #F6E7CC;
  --surface: #FFFDF8;
  --ink: #2B1D14;
  --muted: #7A6656;
  --line: #EADFCB;
  --accent: #D9432F;
  --accent-hover: #C0372A;
  --accent-ink: #FFFFFF;
  --accent-soft: #FCE6DC;
  --gold: #F2A93B;
  --gold-soft: #FDEFD3;
  --green: #3E8E5E;
  --green-soft: #E1F2E6;
  --danger: #B42318;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(75, 45, 20, .06), 0 10px 30px rgba(75, 45, 20, .08);
  --shadow-lift: 0 2px 4px rgba(75, 45, 20, .08), 0 18px 40px rgba(75, 45, 20, .14);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 17px/1.6 'Nunito', system-ui, sans-serif;
}
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; font-weight: 900; }
.display { font-family: 'Nunito', sans-serif; font-weight: 900; letter-spacing: -.015em; }
.fairy { font-family: 'Kurale', Georgia, serif; font-weight: 400; color: var(--accent); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Узорная полоса-разделитель */
.ornament {
  height: 18px; margin: 8px auto; max-width: 280px; opacity: .9;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='18'%3E%3Ccircle cx='20' cy='9' r='5' fill='%23D9432F'/%3E%3Ccircle cx='20' cy='9' r='2' fill='%23F2A93B'/%3E%3Ccircle cx='6' cy='9' r='2.2' fill='%23F2A93B'/%3E%3Ccircle cx='34' cy='9' r='2.2' fill='%23F2A93B'/%3E%3C/svg%3E") center / 40px 18px repeat-x;
}

/* Шапка */
.top { padding: 14px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 46px; display: block; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  background: var(--accent); color: var(--accent-ink);
  font: 800 16px/1 'Nunito', sans-serif; text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 #A92E22;
  transition: transform .08s ease, box-shadow .08s ease, background .15s ease, opacity .15s;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #A92E22; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: 0 3px 0 var(--line); }
.btn.ghost:hover { background: #fff; border-color: #dccfb6; }
.btn.gold { background: var(--gold); color: var(--ink); box-shadow: 0 4px 0 #C98522; }
.btn.big { padding: 18px 32px; font-size: 18px; }
.btn.sm { padding: 10px 16px; font-size: 14px; box-shadow: 0 3px 0 #A92E22; }
.btn.ghost.sm { box-shadow: 0 2px 0 var(--line); }

.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Значки через маску: цвет задаётся фоном */
.ico { display: inline-block; width: 28px; height: 28px; background: var(--accent); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }

/* Лендинг */
.hero { padding: 36px 0 40px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); }
.hero h1 .fairy { display: block; font-size: .82em; margin-top: .08em; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 540px; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.perks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-weight: 700; font-size: 15px; }
.perks span { display: inline-flex; align-items: center; gap: 6px; }
.perks .ico { width: 20px; height: 20px; background: var(--green); }
.hero-art { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: center; width: 100%; }
.hero-art .sun {
  position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #FFE3A8 0%, #FBD27D 55%, #F2A93B 100%);
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .35);
}
.hero-art .sun::after {
  content: ''; position: absolute; inset: -18px; border-radius: 50%;
  border: 3px dashed rgba(217, 67, 47, .35);
}
.hero-art .horse { position: absolute; inset: 10%; width: 80%; animation: bob 3.2s ease-in-out infinite; }
.spark { position: absolute; width: 26px; height: 26px; background: var(--accent); -webkit-mask: url('/vendor/icons/fill/sparkle-fill.svg') center/contain no-repeat; mask: url('/vendor/icons/fill/sparkle-fill.svg') center/contain no-repeat; animation: twinkle 2.4s ease-in-out infinite; }
.spark.s1 { top: 4%; left: 12%; }
.spark.s2 { top: 16%; right: 2%; width: 20px; height: 20px; background: var(--gold); animation-delay: .8s; }
.spark.s3 { bottom: 6%; left: 4%; width: 18px; height: 18px; background: var(--gold); animation-delay: 1.4s; }
/* «Без подписки»: выделение в заголовке и печать у конька */
.hero h1 { position: relative; z-index: 0; }
.hero h1 .noabo { display: inline-block; position: relative; white-space: nowrap; }
.hero h1 .noabo::after {
  content: ''; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em; z-index: -1;
  background: var(--gold); border-radius: 6px; opacity: .7; transform: rotate(-1deg);
}
.seal {
  position: absolute; right: -4%; bottom: -2%; z-index: 3;
  width: 40%; aspect-ratio: 1; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; text-align: center;
  transform: rotate(-12deg);
  box-shadow: 0 0 0 6px var(--surface), 0 0 0 9px var(--accent), var(--shadow-lift);
  font-weight: 900; line-height: 1.05;
}
.seal::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .6); }
.seal .s-top { display: block; font-size: clamp(11px, 1.5vw, 16px); font-weight: 800; opacity: .9; text-transform: uppercase; letter-spacing: .08em; }
.seal .s-main { display: block; font-family: 'Kurale', Georgia, serif; font-weight: 400; font-size: clamp(18px, 2.6vw, 32px); margin: 4px 0; }
.seal .s-sub { display: block; font-size: clamp(10px, 1.3vw, 14px); font-weight: 700; opacity: .9; }
/* Страница «Партнёрам» */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  background: var(--gold-soft); color: #8A5A12; padding: 7px 16px 7px 12px; border-radius: 99px;
  font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .06em;
}
.eyebrow .ico { width: 22px; height: 22px; background: #C98522; }
.hand-bubble {
  position: absolute; right: 0; bottom: 4%; z-index: 3; width: 30%; aspect-ratio: 1; border-radius: 50%;
  background: var(--surface); display: grid; place-items: center; box-shadow: var(--shadow-lift);
}
.hand-bubble .ico { width: 58%; height: 58%; }
.audience.partners-grid { grid-template-columns: repeat(3, 1fr); }
.f-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--accent-soft); margin-bottom: 14px; }
.steps.steps3 { grid-template-columns: repeat(3, 1fr); }
.why .step:nth-child(4) .bubble { background: #EEE5F8; }
.why .step:nth-child(4) .ico { background: #8A5CC7; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(.7); opacity: .6; } 50% { transform: scale(1.1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-art .horse, .spark { animation: none; } }

.section { padding: 48px 0; }
.section-head { text-align: center; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 4px; }
.section-head p { color: var(--muted); margin: 6px 0 0; }

.samples { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.samples .card { aspect-ratio: 4 / 3; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.samples .card:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--shadow-lift); }
.samples img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 24px; position: relative; }
.step .bubble { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--accent-soft); margin-bottom: 14px; }
.step:nth-child(2) .bubble { background: var(--gold-soft); }
.step:nth-child(2) .ico { background: #C98522; }
.step:nth-child(3) .bubble { background: var(--green-soft); }
.step:nth-child(3) .ico { background: var(--green); }
.step .num { position: absolute; top: 18px; right: 22px; font-weight: 900; font-size: 34px; color: var(--line); }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aud { padding: 22px; text-align: center; }
.aud .ico { width: 40px; height: 40px; margin-bottom: 8px; }
.aud:nth-child(2) .ico { background: #C98522; }
.aud:nth-child(3) .ico { background: var(--green); }
.aud:nth-child(4) .ico { background: #8A5CC7; }
.aud h3 { font-size: 18px; margin-bottom: 4px; }
.aud p { margin: 0; color: var(--muted); font-size: 15px; }

.price-box { padding: 36px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; background: linear-gradient(135deg, #FFFDF8 0%, #FDEFD3 100%); }
.price-box .price { font-weight: 900; font-size: 56px; line-height: 1; }
.price-box ul { margin: 14px 0 0; padding: 0; list-style: none; }
.price-box li { padding-left: 30px; position: relative; margin: 8px 0; font-weight: 600; }
.price-box li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; background: var(--green); -webkit-mask: url('/vendor/icons/fill/check-circle-fill.svg') center/contain no-repeat; mask: url('/vendor/icons/fill/check-circle-fill.svg') center/contain no-repeat; }
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { font-weight: 800; cursor: pointer; }
.faq p { margin: 10px 0 0; color: var(--muted); }
.final-cta { text-align: center; padding: 40px 24px; }
.final-cta img { width: 120px; }
.footer { padding: 28px 0 44px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); margin-top: 24px; }
.footer .wrap { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.footer img { height: 32px; opacity: .85; }
.legal-links { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.legal-links a, .requisites-line a { color: var(--muted); }
.legal-links a:hover { color: var(--accent); }
.footer .requisites-line { margin-top: 12px; font-size: 13px; display: block; }
.todo { color: var(--danger); font-weight: 700; }

/* Юридические страницы */
.legal { max-width: 860px; margin: 8px auto 40px; padding: 34px 38px; font-size: 16px; }
.legal h1 { font-size: clamp(26px, 3.4vw, 34px); }
.legal h2 { font-size: 20px; margin: 1.6em 0 .5em; }
.legal ol, .legal ul { padding-left: 1.4em; }
.legal li { margin: .35em 0; }
.legal a { color: var(--accent); }
.tariff-table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15px; }
.tariff-table th, .tariff-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tariff-table .num { white-space: nowrap; text-align: right; }
.check a { color: var(--accent); }
@media (max-width: 640px) {
  .legal { padding: 22px 18px; }
  .tariff-table { font-size: 14px; }
  .tariff-table th, .tariff-table td { padding: 6px 4px; }
}

/* Анкета: конёк задаёт вопросы */
.wizard { max-width: 780px; margin: 8px auto 64px; padding: 30px; }
.progress { height: 10px; background: var(--bg-deep); border-radius: 99px; overflow: hidden; margin-bottom: 24px; }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--gold), var(--accent)); width: 0; transition: width .3s ease; border-radius: 99px; }
.asker { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.asker img { width: 72px; flex: none; margin-top: -6px; }
.speech { position: relative; background: var(--gold-soft); border-radius: 20px; padding: 14px 18px; flex: 1; }
.speech::before { content: ''; position: absolute; left: -9px; top: 22px; border: 10px solid transparent; border-right-color: var(--gold-soft); border-left: 0; }
.q-step { font-size: 13px; font-weight: 800; color: #B0741E; text-transform: uppercase; letter-spacing: .06em; }
.q-title { font-size: clamp(21px, 3vw, 27px); font-weight: 900; line-height: 1.2; margin: 2px 0 4px; }
.q-hint { color: var(--muted); font-size: 15px; }
.input {
  width: 100%; padding: 16px 18px; border: 2px solid var(--line); border-radius: 16px;
  font: 700 18px 'Nunito', sans-serif; background: #fff; color: var(--ink);
}
.input::placeholder { color: #B5A593; font-weight: 600; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 5px var(--gold-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff;
  font: 700 15px 'Nunito', sans-serif; cursor: pointer; color: var(--ink); transition: transform .08s, border-color .15s, background .15s;
}
.chip:hover { border-color: #dccfb6; transform: translateY(-1px); }
.chip.on { border-color: var(--accent); background: var(--accent-soft); color: #9C2A1E; }
.chip:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.option {
  text-align: left; padding: 15px 16px; border-radius: 16px; border: 2px solid var(--line); background: #fff;
  font: 800 16px 'Nunito', sans-serif; cursor: pointer; color: var(--ink); transition: transform .08s, border-color .15s;
}
.option:hover { border-color: #dccfb6; transform: translateY(-1px); }
.option small { display: block; font-weight: 600; color: var(--muted); margin-top: 3px; font-size: 13px; }
.option.on { border-color: var(--accent); background: var(--accent-soft); }
.swatch { display: inline-flex; align-items: center; gap: 8px; }
.swatch i { width: 18px; height: 18px; border-radius: 50%; display: inline-block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.error { color: var(--danger); margin-top: 12px; min-height: 1.4em; font-weight: 700; }
/* Правка не понята — предложенные кнопки */
.suggest { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--gold-soft); }
.suggest .chips { margin-top: 8px; }
/* Анкета: два поля в строку, подзаголовки, образцы шрифтов */
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.q-sub { font-weight: 800; margin: 14px 0 8px; }
.q-sub:first-of-type { margin-top: 4px; }
.font-option { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.font-option img { height: 30px; max-width: 100%; object-fit: contain; object-position: left center; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
/* Анкета: какие картинки мы поняли из идеи клиента */
.motifs { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 15px; min-height: 48px; }
.motifs img { width: 44px; height: 44px; padding: 7px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.motifs .miss { flex-basis: 100%; color: var(--danger); font-weight: 700; }
.motifs .ok { font-weight: 700; color: var(--green); }
.drawing { text-align: center; padding: 20px 0 10px; }
.drawing img { width: 150px; animation: bob 1.2s ease-in-out infinite; }

/* Проект */
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 8px 0 20px; }
.head-row h1 { font-size: clamp(26px, 3.4vw, 36px); margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.variant {
  padding: 0; border: 3px solid transparent; cursor: pointer; overflow: hidden; background: var(--surface);
  border-radius: var(--radius); box-shadow: var(--shadow); transition: border-color .15s, transform .15s, box-shadow .15s;
  display: block; width: 100%; font-family: 'Nunito', sans-serif; color: var(--ink);
}
.variant:hover { border-color: var(--gold); transform: translateY(-3px) rotate(-.4deg); box-shadow: var(--shadow-lift); }
.variant.sel { border-color: var(--accent); }
.variant img { display: block; width: 100%; aspect-ratio: 7 / 5; object-fit: contain; background: #fff; }
.variant .cap { padding: 10px 14px; font-weight: 800; font-size: 14px; text-align: left; display: flex; justify-content: space-between; }
.variant .cap span { color: var(--accent); }

.editor { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; }
.stage { padding: 12px; position: sticky; top: 12px; }
.stage img { width: 100%; display: block; border-radius: 14px; transition: opacity .2s; background: #fff; }
.stage img.loading { opacity: .4; }
.stage .bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 6px 4px; flex-wrap: wrap; }
.panel { padding: 22px; margin-bottom: 16px; }
.panel h3 { font-size: 18px; margin-bottom: 12px; }
.counter { font-weight: 900; color: var(--green); }
.counter.low { color: var(--accent); }
textarea.input { min-height: 92px; resize: vertical; font-size: 16px; font-weight: 600; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.quick .chip { font-size: 14px; padding: 8px 13px; }
.color-row { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-bottom: 10px; }
.dot { width: 32px; height: 32px; border-radius: 50%; border: 3px solid #fff; cursor: pointer; box-shadow: 0 0 0 1px var(--line); transition: transform .1s; }
.dot:hover { transform: scale(1.15); }
.dot:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.history { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.history li { padding: 8px 0; border-top: 1px dashed var(--line); }
.history li:first-child { border-top: 0; }
.history .req { color: var(--muted); font-style: italic; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 16px; max-width: min(560px, calc(100vw - 32px));
  opacity: 0; transition: .25s; pointer-events: none; z-index: 50; font-size: 15px; font-weight: 700;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: var(--danger); }
.pay { padding: 26px; background: linear-gradient(160deg, #FFFDF8 0%, #FDEFD3 100%); }
.pay .price { font-weight: 900; font-size: 40px; line-height: 1.1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 14px 0; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); }
.beta-box { margin-top: 16px; font-size: 14px; }
.beta-box summary { cursor: pointer; color: var(--accent); font-weight: 700; }
.beta-box p { margin: 8px 0; }
.beta-row { display: flex; gap: 8px; }
.beta-row .input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .04em; }
.files { display: grid; gap: 10px; }
.files a { justify-content: space-between; }
.badge { display: inline-block; padding: 5px 12px; border-radius: 99px; background: var(--gold-soft); color: #8A5A12; font-size: 13px; font-weight: 800; }
.badge.ok { background: var(--green-soft); color: #245C3A; }
.hidden, [hidden] { display: none !important; }

/* «Что дальше?» после оплаты */
.next-steps { margin: 48px 0 24px; }
.next-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.next-card {
  padding: 20px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink);
  font-size: 14px; line-height: 1.45; transition: transform .15s, box-shadow .15s;
}
.next-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.next-card strong { font-size: 17px; font-weight: 900; }
.next-card .bubble { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); margin-bottom: 6px; }
.next-card .ico { width: 26px; height: 26px; }
.next-card:nth-child(2) .bubble { background: var(--gold-soft); }
.next-card:nth-child(2) .ico { background: #C98522; }
.next-card:nth-child(3) .bubble { background: var(--green-soft); }
.next-card:nth-child(3) .ico { background: var(--green); }
.next-card:nth-child(4) .bubble { background: #EEE5F8; }
.next-card:nth-child(4) .ico { background: #8A5CC7; }
.next-partner { margin-top: auto; padding-top: 8px; font-weight: 800; color: var(--accent); }
.next-note { text-align: center; margin-top: 16px; }
.next-note a { color: var(--accent); }
@media (max-width: 1000px) { .next-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .next-grid { grid-template-columns: 1fr; gap: 10px; }
  .next-card { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; row-gap: 2px; padding: 14px 16px; }
  .next-card .bubble { grid-row: span 3; margin: 0; }
  .next-partner { padding-top: 2px; }
}

/* Тарифы: выбор при оплате */
.tariffs { display: grid; gap: 10px; margin: 6px 0 4px; }
.tariff {
  text-align: left; width: 100%; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--line);
  background: #fff; cursor: pointer; font-family: 'Nunito', sans-serif; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.tariff:hover { border-color: #dccfb6; }
.tariff.on { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.tariff ul, .upgrade ul, .plan ul { margin: 8px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; }
.tariff li, .upgrade li, .plan li { position: relative; padding-left: 22px; margin: 4px 0; }
.tariff li::before, .upgrade li::before, .plan li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 15px; height: 15px; background: var(--green);
  -webkit-mask: url('/vendor/icons/bold/check-bold.svg') center/contain no-repeat; mask: url('/vendor/icons/bold/check-bold.svg') center/contain no-repeat;
}
.tariff:not(.on) ul { display: none; }
.t-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.t-name { font-weight: 900; font-size: 18px; }
.t-name em { font-style: normal; font-size: 12px; font-weight: 800; background: var(--gold); color: var(--ink); padding: 2px 8px; border-radius: 99px; vertical-align: 3px; margin-left: 4px; }
.t-price { font-weight: 900; font-size: 20px; white-space: nowrap; }
.t-tag { color: var(--muted); font-size: 14px; font-weight: 600; }
.upgrade { background: #fff; border-radius: 16px; padding: 14px 16px; margin-top: 10px; border: 2px solid var(--line); }
.upgrade .btn { margin-top: 10px; }

/* Тарифы на главной */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { padding: 28px; display: flex; flex-direction: column; position: relative; }
.plan.popular { border: 3px solid var(--accent); transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.plan .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-weight: 800; font-size: 13px; padding: 5px 14px; border-radius: 99px; white-space: nowrap; }
.plan h3 { font-size: 24px; margin-bottom: 2px; }
.plan .plan-price { font-weight: 900; font-size: 40px; margin: 10px 0 2px; }
.plan ul { flex: 1; margin-bottom: 20px; font-size: 15px; }
.plan .btn { width: 100%; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan.popular { transform: none; order: -1; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; }
  .hero-art { max-width: 320px; order: -1; }
  .steps, .audience, .samples, .audience.partners-grid { grid-template-columns: 1fr 1fr; }
  .steps.steps3 { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .editor { grid-template-columns: 1fr; }
  .stage { position: static; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps, .audience, .grid, .audience.partners-grid { grid-template-columns: 1fr; }
  .wizard { padding: 22px 16px; margin-top: 0; }
  .asker img { width: 54px; }
  .price-box { grid-template-columns: 1fr; text-align: center; }
  .price-box ul { text-align: left; }
  .nav .btn { flex: 1; }
  .brand img { height: 38px; }
  .seal { width: 46%; right: -6%; }
  .seal .s-main { font-size: 17px; }
  .top .hint { display: none; }
}
