/* Шрифт бренда Unbounded (OFL), лежит у нас: не зависим от Google Fonts */
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/unbounded-cyr.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/unbounded-lat.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: #f7f8f6;
  --bg-soft: #eef4f1;
  --surface: #ffffff;
  --surface-2: #f3f5f4;
  --text: #0f1f1c;
  --text-2: #43524e;
  --muted: #6b7a76;
  --line: #e2e8e5;
  --brand: #0f766e;
  --brand-strong: #0b5c56;
  --brand-soft: #d9f2ee;
  --accent: #f59e0b;
  --accent-soft: #fef3c7;
  --good: #15803d;
  --good-soft: #dcfce7;
  --warn: #b45309;
  --warn-soft: #fef3c7;
  --bad: #b91c1c;
  --shadow: 0 1px 2px rgba(16, 40, 36, .06), 0 8px 24px rgba(16, 40, 36, .07);
  --shadow-lg: 0 2px 4px rgba(16, 40, 36, .06), 0 24px 60px rgba(16, 40, 36, .14);
  --radius: 18px;
  --radius-sm: 12px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1413; --bg-soft: #0f1c1a; --surface: #131f1d; --surface-2: #182725;
    --text: #e7f0ee; --text-2: #b7c6c2; --muted: #8a9c97; --line: #23332f;
    --brand: #2dd4bf; --brand-strong: #5eead4; --brand-soft: #123a35;
    --accent: #fbbf24; --accent-soft: #3a2e10;
    --good: #4ade80; --good-soft: #12301f; --warn: #fbbf24; --warn-soft: #33290f; --bad: #f87171;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 24px 60px rgba(0,0,0,.45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 5.4vw, 58px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.section { padding: 64px 0; }
.section-sm { padding: 36px 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.xs { font-size: 12.5px; }
.center { text-align: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 640px; }
.hidden { display: none !important; }

/* ------------------------------------------------------------ шапка */
.topbar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px;
  color: var(--text); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--brand); }
@media (max-width: 760px) { .nav .nav-link { display: none; } }

/* ------------------------------------------------------------ кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; text-decoration: none; border-radius: 12px; padding: 12px 20px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 35%, transparent); }
.btn-primary:hover { background: var(--brand-strong); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary { color: #04201c; } }
.btn-accent { background: var(--accent); color: #231400; }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 16px 26px; font-size: 17px; border-radius: 14px; }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ------------------------------------------------------------ карточки */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; }
.card-flat { background: var(--surface-2); border-radius: var(--radius-sm); padding: 18px; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .g2, .g4 { grid-template-columns: 1fr; } }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px;
  background: var(--surface-2); color: var(--text-2); font-size: 13.5px; font-weight: 600; border: 1px solid var(--line); }
.chip-good { background: var(--good-soft); color: var(--good); border-color: transparent; }
.chip-warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.chip-brand { background: var(--brand-soft); color: var(--brand); border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ------------------------------------------------------------ герой */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 18%, transparent), transparent);
  pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; position: relative; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }
.hero h1 .hl { color: var(--brand); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--text-2); font-size: 14.5px; }
.trust span { display: inline-flex; gap: 7px; align-items: center; }
.trust svg { color: var(--brand); flex: none; }
.counter { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; color: var(--text-2); margin-bottom: 22px; }
.counter b { color: var(--text); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6);
  animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } html { scroll-behavior: auto; } }

.demo-stack { position: relative; min-height: 430px; }
.demo-card { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg); padding: 20px; }
.demo-card.one { top: 0; left: 0; right: 40px; }
.demo-card.two { bottom: 0; right: 0; left: 70px; }
.demo-label { position: absolute; top: -11px; right: 16px; background: var(--text); color: var(--bg);
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; letter-spacing: .04em; }
@media (max-width: 920px) {
  .demo-stack { min-height: 0; display: grid; gap: 22px; }
  .demo-card { position: relative; inset: auto !important; }
}

/* ------------------------------------------------------------ процент совпадения */
.score { --p: 70; --c: var(--brand); width: 64px; height: 64px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--surface-2) 0);
  display: grid; place-items: center; position: relative; }
.score::before { content: ""; position: absolute; inset: 6px; background: var(--surface); border-radius: 50%; }
.score b { position: relative; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.score small { font-size: 11px; font-weight: 700; }
.score.lg { width: 116px; height: 116px; }
.score.lg::before { inset: 10px; }
.score.lg b { font-size: 32px; }
.score.mid { --c: var(--accent); }
.score.low { --c: #94a3b8; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 15px; color: var(--text-2); }
.check-list .i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.i-good { background: var(--good-soft); color: var(--good); }
.i-warn { background: var(--warn-soft); color: var(--warn); }

/* ------------------------------------------------------------ блоки лендинга */
.pain { padding: 26px; }
.pain .emoji { font-size: 30px; margin-bottom: 10px; }
.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px;
  border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 19px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .step::before { color: #04201c; } }
.band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare > div { padding: 22px; background: var(--surface); }
.compare > div + div { border-left: 1px solid var(--line); background: color-mix(in srgb, var(--brand-soft) 45%, var(--surface)); }
.compare h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.compare p { font-size: 15px; color: var(--text-2); }
@media (max-width: 680px) { .compare { grid-template-columns: 1fr; } .compare > div + div { border-left: 0; border-top: 1px solid var(--line); } }
.honest li { margin-bottom: 10px; }

.price { display: flex; flex-direction: column; gap: 14px; position: relative; }
.price .amount { font-size: 38px; font-weight: 800; letter-spacing: -.03em; }
.price .amount small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price ul { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 15px; flex: 1; }
.price ul li { margin-bottom: 6px; }
.price.featured { border: 2px solid var(--brand); }
.badge { position: absolute; top: -12px; left: 22px; background: var(--accent); color: #231400; font-size: 12px;
  font-weight: 800; padding: 4px 10px; border-radius: 99px; }

details.faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
details.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); }
details.faq[open] summary::after { content: "−"; }
details.faq p { margin: 10px 0 0; color: var(--text-2); }

.final { background: linear-gradient(135deg, #0f766e, #115e59 60%, #134e4a); color: #eafffb; border-radius: 28px; padding: 48px 28px; text-align: center; }
.final h2 { color: #fff; }
.final .btn-primary { background: #fbbf24; color: #231400; box-shadow: none; }

footer.site { padding: 36px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer.site a { color: var(--text-2); }

/* ------------------------------------------------------------ приложение */
.stepper { display: flex; gap: 8px; align-items: center; margin: 26px 0 20px; flex-wrap: wrap; }
.stepper .s { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--muted); }
.stepper .s i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; }
.stepper .s.on { color: var(--text); }
.stepper .s.on i { background: var(--brand); color: #fff; border-color: var(--brand); }
.stepper .sep { width: 24px; height: 1px; background: var(--line); }

label.f { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.hint { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.input, select.input, textarea.input { width: 100%; font: inherit; color: var(--text); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
textarea.input { min-height: 240px; resize: vertical; line-height: 1.5; }
.field { margin-bottom: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 680px) { .row2 { grid-template-columns: 1fr; } }
.tabs { display: inline-flex; background: var(--surface-2); border-radius: 12px; padding: 4px; gap: 4px; margin-bottom: 12px; border: 1px solid var(--line); }
.tabs button { border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 9px; cursor: pointer; color: var(--text-2); }
.tabs button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.drop { border: 2px dashed var(--line); border-radius: 14px; padding: 30px; text-align: center; cursor: pointer; background: var(--surface); }
.drop:hover, .drop.over { border-color: var(--brand); background: var(--brand-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.note { display: flex; gap: 10px; align-items: flex-start; background: var(--brand-soft); color: var(--text); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.note.warn { background: var(--warn-soft); }
.error { color: var(--bad); font-weight: 600; font-size: 14.5px; margin-top: 10px; }
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.sticky { position: sticky; top: 84px; }
@media (max-width: 980px) { .layout-side { grid-template-columns: 1fr; } .sticky { position: static; } }

.loader { text-align: center; padding: 56px 20px; }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--brand-soft); border-top-color: var(--brand);
  animation: spin 1s linear infinite; margin: 0 auto 18px; }
@keyframes spin { to { transform: rotate(360deg); } }
.loader ol { list-style: none; padding: 0; margin: 16px auto 0; max-width: 340px; text-align: left; }
.loader li { color: var(--muted); padding: 5px 0; font-size: 15px; }
.loader li.done { color: var(--good); }
.loader li.done::before { content: "✓ "; }
.loader li.now { color: var(--text); font-weight: 600; }

.vac { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 20px; transition: border-color .15s, box-shadow .15s; }
.vac:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.vac h3 { margin: 0 0 4px; font-size: 18px; }
.vac .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--text-2); font-size: 14.5px; margin-bottom: 12px; }
.vac .meta b { color: var(--text); }
.vac .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.vac .reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
@media (max-width: 680px) { .vac { grid-template-columns: 1fr; } .vac .reasons { grid-template-columns: 1fr; } }
.vac.locked { position: relative; overflow: hidden; }
.vac.locked .blur { filter: blur(6px); user-select: none; pointer-events: none; }
.lock-over { position: absolute; inset: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--surface) 35%, transparent); }
.inn { font-size: 12px; font-weight: 700; color: var(--good); background: var(--good-soft); padding: 2px 8px; border-radius: 99px; }
.list-gap { display: grid; gap: 14px; }
.summary { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }

/* ------------------------------------------------------------ вакансия */
.problem { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.problem:first-child { border-top: 0; }
.problem .n { width: 34px; height: 34px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); display: grid; place-items: center; font-weight: 800; }
.problem h4 { margin: 4px 0 6px; font-size: 16.5px; }
.problem p { margin: 0 0 6px; color: var(--text-2); font-size: 15px; }
.problem .fix { color: var(--brand); font-weight: 600; font-size: 14.5px; }
.problem.locked .body { filter: blur(5px); user-select: none; }
.plans { display: grid; gap: 10px; }
.plan { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 14px; border: 2px solid var(--line);
  border-radius: 14px; cursor: pointer; background: var(--surface); }
.plan:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand-soft) 55%, var(--surface)); }
.plan input { accent-color: var(--brand); width: 18px; height: 18px; }
.plan .t { font-weight: 700; }
.plan .d { font-size: 13.5px; color: var(--muted); }
.plan .p { font-weight: 800; font-size: 18px; white-space: nowrap; }
.preview-blur { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.preview-blur .inner { filter: blur(4px); padding: 18px; user-select: none; font-size: 14px; color: var(--text-2); }
.preview-blur .over { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; background: color-mix(in srgb, var(--surface) 30%, transparent); }
.doc-block { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; background: var(--surface); }
.doc-block .head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.doc-block .head h4 { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.doc-block .body { white-space: pre-wrap; font-size: 15.5px; }
.doc-block ul { margin: 0; padding-left: 20px; }
.doc-block ul li { margin-bottom: 6px; }
.vac-desc h4 { margin: 16px 0 6px; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.vac-desc p { color: var(--text-2); font-size: 15px; white-space: pre-line; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--text); color: var(--bg);
  padding: 10px 18px; border-radius: 12px; font-weight: 600; z-index: 99; box-shadow: var(--shadow-lg); }

@media print {
  .topbar, .no-print, footer.site { display: none !important; }
  body { background: #fff; }
  .card, .doc-block { box-shadow: none; border: 0; padding: 0; }
}

/* ------------------------------------------------------------ тестовая оплата */
.paybox { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin: 18px 0 24px; font-weight: 700; }
.payamount { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
@media (max-width: 520px) {
  .stepper { gap: 6px; margin: 18px 0 14px; flex-wrap: nowrap; }
  .stepper .sep { width: 10px; }
  .stepper .s { font-size: 12.5px; gap: 5px; }
  .stepper .s i { width: 22px; height: 22px; font-size: 12px; }
  .card { padding: 18px; }
}

@media (max-width: 760px) { #prof-teaser { grid-template-columns: 1fr !important; padding: 22px !important; } }

/* Кнопки в меню шапки: правило .nav a не должно перекрашивать их текст */
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
.nav a.btn-ghost:hover { color: var(--brand); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav a.btn-primary { color: #04201c; } }

/* ====================================================================== бренд «Карьерия» */
.brand-name { font-family: "Unbounded", system-ui, sans-serif; font-weight: 700; letter-spacing: -.01em; }
.slogan { display: block; transition: opacity .35s ease, transform .35s ease; }
.slogan-out { opacity: 0; transform: translateY(-6px); }
.slogan-in { animation: sloganIn .45s ease; }
@keyframes sloganIn { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .slogan, .slogan-in { transition: none; animation: none; } }
.logo { font-family: "Unbounded", system-ui, sans-serif; font-weight: 700; letter-spacing: -.01em; }

/* ====================================================================== окно оплаты ЮKassa */
.yk-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 15, 30, .55); display: grid; place-items: center; padding: 16px; }
.yk-card { width: min(520px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; color: #0e1628;
  border-radius: 22px; padding: 18px 18px 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.yk-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.yk-head b { font-size: 18px; }
.yk-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f1f4fa; font-size: 22px; line-height: 1; cursor: pointer; }
.yk-form { min-height: 260px; }
.yk-wait { padding: 60px 10px; text-align: center; color: #5d6a82; }
.yk-note { margin: 10px 2px 0; font-size: 12.5px; color: #5d6a82; }
@media (max-width: 600px) { .yk-modal { padding: 0; place-items: end center; } .yk-card { border-radius: 22px 22px 0 0; max-height: 92dvh; } }

/* ====================================================================== наша форма оплаты */
.co-card { width: min(470px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; color: #0e1628; border-radius: 24px;
  padding: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.co-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.co-head b { display: block; font-size: 18px; }
.co-head span { display: inline-block; margin-top: 2px; font-size: 22px; font-weight: 800; color: #1d4ed8; }
.co-x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f1f4fa; font-size: 22px; line-height: 1; cursor: pointer; color: #3b4760; }
.co-email { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid #e1e6ef;
  background: #f7f8fa; color: #0e1628; outline: none; }
.co-email:focus { border-color: #1d4ed8; background: #fff; box-shadow: 0 0 0 4px rgba(29, 78, 216, .12); }
.co-check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 2px 16px; font-size: 15px; color: #0e1628; cursor: pointer; border-radius: 10px; }
.co-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: #1d4ed8; }
.co-check a { color: #0e1628; text-decoration: underline; }
.co-check.need { outline: 2px solid #ef4444; outline-offset: 4px; }
.co-email.need { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .15); }
.co-m { position: relative; font: inherit; color: #0e1628; text-align: left; cursor: pointer; border: 1.5px solid #e4e8f0; border-radius: 20px;
  padding: 16px; transition: transform .15s, box-shadow .2s, border-color .2s; }
.co-m:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(14, 22, 40, .10); border-color: #c9d2e3; }
.co-m:disabled { cursor: wait; opacity: .6; }
.co-m.busy { opacity: 1; }
.co-m.busy::after { content: ""; position: absolute; right: 16px; top: 16px; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #1d4ed8;
  border-top-color: transparent; animation: coSpin .8s linear infinite; }
@keyframes coSpin { to { transform: rotate(360deg); } }
.co-sbp { width: 100%; display: grid; grid-template-columns: 56px 1fr 16px; gap: 14px; align-items: center;
  background: linear-gradient(120deg, #f3f0ff 0%, #eef6ff 55%, #eefbf4 100%); border-color: #dcd6f7; }
.co-sbp .co-t b { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 17.5px; }
.co-sbp em { font-style: normal; font-size: 12px; font-weight: 800; color: #fff; background: #1e2a4a; padding: 3px 9px; border-radius: 999px; }
.co-sbp small { display: block; color: #5d6a82; font-size: 14px; margin-top: 4px; }
.co-go { font-size: 26px; color: #8a96ac; line-height: 1; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.co-row .co-m { display: grid; align-content: start; gap: 4px; min-height: 146px; }
.co-row .co-m b { font-size: 17px; margin-top: 10px; }
.co-row .co-m small { color: #5d6a82; font-size: 14px; }
.co-card-m { background: linear-gradient(160deg, #fff 55%, #eef3ff 100%); }
.co-sber { background: linear-gradient(160deg, #fff 55%, #ecfaf1 100%); }
.co-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; }
.co-ic svg { width: 24px; height: 24px; }
.co-ic.sbp { width: 56px; height: 56px; background: #fff; box-shadow: 0 4px 14px rgba(91, 87, 162, .18); }
.co-ic.sbp svg { width: 30px; height: 30px; }
.co-ic.co-ic-card { background: #2563eb; padding: 0; }
.co-ic.sber { background: linear-gradient(135deg, #0bb34a, #1bd17d 55%, #43c4e0); }
.co-err { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #fee2e2; color: #991b1b; font-size: 14.5px; font-weight: 600; }
.co-cancel { width: 100%; margin-top: 14px; font: inherit; font-size: 16px; color: #3b4760; background: #fff; border: 1.5px solid #e4e8f0; border-radius: 16px;
  padding: 13px; cursor: pointer; }
.co-cancel:hover { background: #f7f8fa; }
.co-note { margin: 14px 4px 6px; text-align: center; font-size: 13px; color: #5d6a82; }
.co-note b { color: #0e1628; }
.co-brand { text-align: center; font: 700 20px/1 system-ui, sans-serif; color: #0e1628; letter-spacing: -.02em; }
.co-brand span { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 4px; border-radius: 50%; background: #1e2a4a; color: #fff;
  font-size: 13px; vertical-align: 2px; }
@media (max-width: 600px) {
  .co-card { border-radius: 24px 24px 0 0; max-height: 94dvh; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); }
  .co-row .co-m { min-height: 128px; padding: 14px; }
}
.co-ic svg { width: 24px !important; height: 24px !important; display: block; }
.co-ic.sbp svg { width: 32px !important; height: 32px !important; }

/* ====================================================================== логотипы в форме оплаты */
.co-ic.sber { background: #fff; box-shadow: 0 4px 14px rgba(33, 160, 56, .18); }
.co-ic.sber svg { width: 30px !important; height: 30px !important; }
.co-ic.sbp svg { width: 30px !important; height: 34px !important; }
.co-brand { margin-top: 2px; }
.co-brand .co-yk { width: 118px; height: auto; display: inline-block; }
