/* Встроенная тема модуля оплаты (v1.8) — для сайтов без своих стилей. Подключается вместо /assets/css/style.css. */
:root {
  --brand: #0e8a6e;
  --brand-700: color-mix(in srgb, var(--brand) 78%, #000);
  --brand-50: color-mix(in srgb, var(--brand) 10%, #fff);
  --bg: #fff; --bg-soft: #f4f7f7;
  --ink: #16282e; --ink-2: #3f545c; --muted: #5f7580;
  --line: #dfe7e9; --line-2: #edf1f2;
  --red: #cf4646; --red-50: #fbecec;
  --amber: #b86e00; --amber-50: #fdf3e1;
  --blue: #2a6fc0; --blue-50: #e8f1fb;
  --violet: #6a4fc0; --violet-50: #f0ecfa;
  --r-sm: 10px; --r-md: 14px; --r-pill: 999px; --radius: 12px;
  --sp-3: .75rem; --sp-4: 1rem; --sp-5: 1.5rem; --sp-6: 2rem;
  --fs-300: .875rem; --fs-400: .95rem; --fs-500: 1rem; --fs-600: 1.15rem; --fs-700: 1.4rem; --fs-800: 1.75rem;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --header-h: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-500)/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.25; font-weight: 700; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
table { border-collapse: collapse; }
code { font-family: var(--font-mono); font-size: .9em; }

.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 1rem; }
.container--narrow { max-width: 720px; }
.section { padding-block: clamp(1.5rem, 4vw, 3rem); }
.section--soft { background: var(--bg-soft); }

.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(1rem, 3vw, 1.75rem); }
.card--flat { background: transparent; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.9rem; padding: .6rem 1.25rem;
  border: 1.5px solid transparent; border-radius: var(--r-sm);
  font-weight: 600; font-size: var(--fs-500); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-700); }
.btn--soft { background: var(--brand-50); color: var(--brand-700); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); }
.btn--sm { min-height: 2.25rem; padding: .3rem .85rem; font-size: var(--fs-400); }
.btn--lg { min-height: 3.5rem; font-size: var(--fs-600); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .6rem; }

.icon { width: 1.25rem; height: 1.25rem; flex: none; }
.icon--sm { width: 1rem; height: 1rem; }

.note { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--r-sm); font-size: var(--fs-400); }
.note--info { background: var(--blue-50); color: #1d4f8a; }
.note--warn { background: var(--amber-50); color: #7a4a00; }

.badge { display: inline-block; padding: .2rem .7rem; border-radius: var(--r-pill); font-size: var(--fs-300); font-weight: 600; background: var(--brand-50); color: var(--brand-700); }
.badge--blue { background: var(--blue-50); color: var(--blue); }

.steps, .steps--rail { display: grid; gap: 1.1rem; counter-reset: step; }
.step { position: relative; padding-left: 2.6rem; counter-increment: step; }
.step::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 1.9rem; height: 1.9rem;
  border-radius: 50%; background: var(--brand-50); color: var(--brand-700); font-weight: 700; font-size: var(--fs-400);
}
.step h3 { font-size: var(--fs-500); margin-bottom: .2rem; }
.step p { color: var(--ink-2); font-size: var(--fs-400); }

.form-note { font-size: var(--fs-300); color: var(--muted); }
.link-inline { color: var(--brand-700); }
.u-center { text-align: center; }
.u-ink2 { color: var(--ink-2); }
.u-muted { color: var(--muted); }
.u-tabular { font-variant-numeric: tabular-nums; }
.u-mt4 { margin-top: var(--sp-4); }
.u-mt5 { margin-top: var(--sp-5); }
.u-mt6 { margin-top: var(--sp-6); }

.site-footer { color: var(--muted); font-size: var(--fs-300); }
.site-footer__bottom { display: grid; gap: .6rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.legal-links a { color: var(--ink-2); }
.requisites { display: grid; gap: .15rem; }

.pay-brand { border-bottom: 1px solid var(--line); background: var(--bg); }
.pay-brand__in { display: flex; align-items: center; gap: .7rem; min-height: 3.5rem; }
.pay-brand__logo { max-height: 2.25rem; width: auto; }

.logo__mark .lm-bg { fill: var(--brand); }
.logo__mark .lm-sh { fill: #fff; }
.logo__mark .lm-ck { fill: var(--brand); }
