:root {
  color-scheme: light;
  --bg: #f5f5fa;
  --surface: #ffffff;
  --surface-2: #fafaff;
  --ink: #15173d;
  --ink-2: #33365e;
  --muted: #676a8c;
  --line: #e3e4ef;
  --line-2: #d3d5e6;
  --brand: #232999;
  --brand-700: #1a1f7a;
  --brand-50: #eef0ff;
  --brand-100: #dfe2fb;
  --c1: #232999; --c2: #4b53cc; --c3: #7f86e4; --c4: #b1b6f1; --c5: #d9dbfa;
  --ok: #1d7f56;
  --danger: #b4233c;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(21, 23, 61, .05), 0 8px 24px -12px rgba(21, 23, 61, .12);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font); font-feature-settings: "tnum" 0; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- бренд ---------- */
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; color: var(--brand); text-decoration: none !important; }
.wordmark b { font-weight: 600; font-size: 21px; letter-spacing: .14em; }
.wordmark b sup { font-size: 8px; letter-spacing: 0; vertical-align: top; position: relative; top: 1px; margin-left: 1px; }
.wordmark i { font-style: normal; font-size: 8.5px; letter-spacing: .06em; margin-top: 3px; opacity: .85; }

/* ---------- шапка ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.topbar .sep { width: 1px; height: 26px; background: var(--line-2); }
.topbar .app-name { font-size: 13px; color: var(--muted); line-height: 1.25; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 500; font-size: 14px; }
.nav a:hover { background: var(--brand-50); text-decoration: none; }
.nav a.on { background: var(--brand-50); color: var(--brand); }
.topbar .right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.userchip { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 13px; }

/* ---------- кнопки, поля ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; background: var(--brand); color: #fff; font-weight: 500; font-size: 14px; cursor: pointer; white-space: nowrap; text-decoration: none !important; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--brand-700); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn.quiet { background: transparent; color: var(--ink-2); padding: 0 10px; }
.btn.quiet:hover { background: var(--brand-50); color: var(--brand); }
.btn.danger { background: transparent; color: var(--danger); border-color: transparent; }
.btn.danger:hover { background: #fbeef1; }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn.lg { height: 48px; padding: 0 24px; font-size: 15px; }
.icon { width: 16px; height: 16px; flex: none; }
label.field { display: block; font-size: 13px; color: var(--ink-2); font-weight: 500; }
label.field .input { display: block; margin-top: 6px; }
label.field small { font-weight: 400; color: var(--muted); margin-left: 4px; }
.input, textarea.input, select.input { width: 100%; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
textarea.input { height: auto; min-height: 110px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.form-error { color: var(--danger); font-size: 13px; min-height: 18px; }
.chk { appearance: none; width: 20px; height: 20px; border: 1.5px solid var(--line-2); border-radius: 6px; background: #fff; display: grid; place-items: center; cursor: pointer; flex: none; margin: 0; transition: .15s; }
.chk:checked { background: var(--brand); border-color: var(--brand); }
.chk:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.chk:focus-visible { box-shadow: 0 0 0 3px var(--brand-100); outline: none; }

/* ---------- общие блоки ---------- */
.page { padding: 32px 0 120px; }
.page-head { display: flex; align-items: flex-end; gap: 24px; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; }
.page-head h1 { font-size: 30px; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); font-weight: 600; margin-bottom: 8px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 99px; background: var(--brand-50); color: var(--brand); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.pill.gray { background: #f0f0f6; color: var(--ink-2); }
.pill.new { background: #e7f6ef; color: var(--ok); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.empty { padding: 56px 24px; text-align: center; color: var(--muted); }
.empty h3 { color: var(--ink); margin-bottom: 8px; font-size: 18px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 100; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- вход ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.auth-side { position: relative; overflow: hidden; background: linear-gradient(160deg, #eef0ff 0%, #f7f3ff 55%, #fff 100%); padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-side .ribbon { position: absolute; width: 520px; right: -170px; bottom: -90px; opacity: .8; pointer-events: none; }
.auth-side > * { position: relative; z-index: 1; }
.auth-side > .ribbon { position: absolute; z-index: 0; }
.auth-side h2 { font-size: 34px; max-width: 440px; position: relative; }
.auth-side p { max-width: 400px; color: var(--ink-2); margin-top: 14px; position: relative; }
.auth-side ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; position: relative; max-width: 380px; }
.auth-side li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.auth-side li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-top: 8px; flex: none; }
.auth-main { display: grid; place-items: center; padding: 48px 24px; background: #fff; }
.auth-box { width: 100%; max-width: 400px; }
.auth-box h1 { font-size: 26px; margin-bottom: 6px; }
.auth-box form { display: grid; gap: 14px; margin-top: 28px; }
.tabs { display: inline-flex; background: #f0f0f6; padding: 4px; border-radius: 10px; margin-top: 24px; }
.tabs a { padding: 7px 16px; border-radius: 7px; color: var(--ink-2); font-weight: 500; font-size: 14px; text-decoration: none; }
.tabs a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.code-input { font-size: 26px !important; letter-spacing: .4em; text-align: center; height: 56px !important; font-variant-numeric: tabular-nums; }
.code-links { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- каталог ---------- */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .search { position: relative; flex: 1 1 260px; max-width: 360px; }
.toolbar .search .input { padding-left: 38px; }
.toolbar .search svg { position: absolute; left: 12px; top: 13px; color: var(--muted); }
.toolbar select.input { width: auto; min-width: 200px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.chips button { height: 32px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); background: #fff; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.chips button:hover { border-color: var(--brand); color: var(--brand); }
.chips button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips button span { opacity: .6; margin-left: 4px; }
.plist { overflow: hidden; }
.plist-head, .prow { display: grid; grid-template-columns: 44px 64px minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1.2fr) 120px; align-items: center; gap: 16px; padding: 14px 20px; }
.plist-head { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line); padding-top: 10px; padding-bottom: 10px; }
.prow { border-bottom: 1px solid var(--line); transition: background .12s; cursor: pointer; }
.prow:last-child { border-bottom: 0; }
.prow:hover { background: var(--surface-2); }
.prow.sel { background: #f3f4ff; }
.prow .thumb { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--brand-50); }
.prow .pname { font-weight: 600; font-size: 15.5px; }
.prow .pmeta { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.prow .plead { font-size: 13px; color: var(--ink-2); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kf { display: flex; align-items: baseline; gap: 4px; }
.kf b { font-size: 22px; font-weight: 600; color: var(--brand); letter-spacing: -.02em; }
.kf span { font-size: 12px; color: var(--muted); }
.kf-l { font-size: 12px; color: var(--muted); line-height: 1.3; }
.chbar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: #eef; }
.chbar i { display: block; height: 100%; }
.chbar-legend { display: flex; gap: 10px; font-size: 11.5px; color: var(--muted); margin-top: 6px; flex-wrap: wrap; }
.chbar-legend span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 4px; background: var(--c); }
.selbar { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 40; background: var(--ink); color: #fff; border-radius: 14px; padding: 10px 10px 10px 20px; display: flex; align-items: center; gap: 16px; box-shadow: 0 20px 40px -12px rgba(21, 23, 61, .45); transition: transform .25s; max-width: calc(100% - 32px); }
.selbar:not(.on) { visibility: hidden; }
.selbar.on { transform: translate(-50%, 0); }
.selbar .count { font-size: 14px; white-space: nowrap; }
.selbar .count b { font-size: 16px; }
.selbar .names { font-size: 12.5px; opacity: .7; max-width: 380px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.selbar .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.selbar .btn.light { background: #fff; color: var(--ink); }

/* ---------- модалка ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(21, 23, 61, .42); z-index: 60; display: grid; place-items: center; padding: 16px; animation: fade .15s; }
.modal { width: 100%; max-width: 560px; background: #fff; border-radius: 18px; padding: 28px; box-shadow: 0 30px 60px -20px rgba(21, 23, 61, .4); max-height: calc(100vh - 32px); overflow: auto; }
.modal h2 { font-size: 22px; }
.modal form { display: grid; gap: 14px; margin-top: 20px; }
.modal .actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.mini-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
@keyframes fade { from { opacity: 0; } }

/* ---------- мои предложения ---------- */
.otable { width: 100%; border-collapse: collapse; }
.otable th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 500; padding: 10px 20px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.otable td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.otable tr:last-child td { border-bottom: 0; }
.otable tr.click { cursor: pointer; }
.otable tr.click:hover td { background: var(--surface-2); }
.oclient { font-weight: 600; font-size: 15px; }
.stack { display: flex; }
.stack img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -8px; }
.stack img:first-child { margin-left: 0; }
.views { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.views .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.views.seen .dot { background: var(--ok); }

/* ---------- карточка предложения (менеджер) ---------- */
.odetail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.panel { padding: 24px; }
.panel h3 { font-size: 16px; margin-bottom: 14px; }
.linkbox { display: flex; gap: 8px; }
.linkbox .input { font-size: 13px; color: var(--ink-2); background: var(--surface-2); }
.stat { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.stat:first-of-type { border-top: 0; }
.olist { display: grid; }
.oitem { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.oitem:first-child { border-top: 0; }
.oitem img { width: 48px; height: 48px; border-radius: 9px; object-fit: cover; }
.oitem .ctrl { display: flex; gap: 2px; }
.addlist { margin-top: 12px; border-top: 1px dashed var(--line-2); padding-top: 12px; display: grid; gap: 4px; }
.addlist button { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 8px 10px; border-radius: 8px; border: 0; background: transparent; cursor: pointer; font-size: 14px; }
.addlist button:hover { background: var(--brand-50); color: var(--brand); }

/* ---------- лендинг продукта ---------- */
.ptop { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0 0; flex-wrap: wrap; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding: 28px 0 56px; }
.hero h1 { font-size: 46px; letter-spacing: -.025em; line-height: 1.08; }
.hero .sub { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 14px; font-size: 14px; color: var(--muted); }
.hero .sub b { color: var(--ink-2); font-weight: 500; }
.hero .sub .dot { width: 3px; height: 3px; background: var(--line-2); border-radius: 50%; }
.hero .lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); margin-top: 22px; max-width: 620px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; max-width: 640px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 14px; }
.fact .v { font-size: 30px; font-weight: 600; color: var(--brand); letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.fact .v small { font-size: 14px; font-weight: 500; margin-left: 3px; letter-spacing: 0; }
.fact .l { font-size: 12.5px; color: var(--muted); margin-top: 8px; line-height: 1.35; }
.hero-media { position: relative; }
.hero-media .photo { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: 22px; }
.hero-media .ribbon { position: absolute; width: 62%; left: -22%; bottom: -10%; pointer-events: none; filter: drop-shadow(0 20px 30px rgba(35, 41, 153, .18)); }
.sec { padding: 56px 0; border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; }
.sec-head h2 { font-size: 26px; }
.sec-head .note { color: var(--muted); font-size: 14px; margin-top: 10px; }
.utp { font-size: 21px; line-height: 1.5; color: var(--ink); font-weight: 400; }
.utp-specs { margin-top: 24px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.utp-specs .label { font-size: 13px; color: var(--muted); margin-right: 4px; }
.comp { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.comp-groups { display: grid; gap: 16px; }
.comp-groups.two { grid-template-columns: 1fr 1fr; }
.ctable { padding: 8px 22px 12px; }
.ctable h4 { font-size: 13px; color: var(--brand); padding: 12px 0 4px; font-weight: 600; }
.crow { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.crow:last-child { border-bottom: 0; }
.crow .n { flex: 1; }
.crow .v { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.crow.sub { padding-left: 16px; color: var(--muted); font-size: 13.5px; }
.usage { padding: 24px; display: grid; gap: 18px; background: linear-gradient(170deg, var(--brand-50), #fff 70%); }
.usage .row { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.usage .ic { width: 36px; height: 36px; border-radius: 10px; background: #fff; border: 1px solid var(--brand-100); display: grid; place-items: center; color: var(--brand); }
.usage .k { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.usage .val { font-size: 15px; margin-top: 2px; }
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.benefit { padding: 24px; display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.benefit .no { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--brand-100); color: var(--brand); display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.benefit h3 { font-size: 16.5px; margin-bottom: 6px; }
.benefit p { color: var(--ink-2); font-size: 14.5px; }
.potential { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: center; }
.donut { position: relative; width: 280px; height: 280px; margin: 0 auto; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut .center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.donut .center b { display: block; font-size: 15px; font-weight: 600; max-width: 150px; line-height: 1.3; }
.donut .center span { font-size: 12px; color: var(--muted); }
.donut circle.seg { transition: opacity .15s; cursor: default; }
.plegend { display: grid; gap: 0; }
.pl { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); transition: opacity .15s; }
.pl:first-child { border-top: 0; }
.pl .pct { font-size: 24px; font-weight: 600; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.pl .pct::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.pl h4 { font-size: 15.5px; margin-bottom: 3px; }
.pl p { font-size: 14px; color: var(--ink-2); }
.dim .pl:not(.hl), .dim .seg:not(.hl) { opacity: .3; }
.channels { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; }
.chbig { padding: 24px; }
.chbig .bar { display: flex; height: 44px; border-radius: 10px; overflow: hidden; margin: 14px 0 16px; }
.chbig .bar i { display: flex; align-items: center; padding: 0 12px; color: #fff; font-style: normal; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; }
.chbig .bar i.light { color: var(--ink); }
.chbig .legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.chbig .legend div { font-size: 13px; color: var(--muted); }
.chbig .legend b { display: block; font-size: 15px; color: var(--ink); font-weight: 600; }
.indic { counter-reset: ind; }
.ind { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 6px 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.ind:first-child { border-top: 0; padding-top: 4px; }
.ind .no { font-size: 13px; color: var(--brand); font-weight: 600; font-variant-numeric: tabular-nums; padding-top: 2px; }
.ind h3 { font-size: 16.5px; }
.ind p { color: var(--ink-2); font-size: 14.5px; grid-column: 2; }
.study { padding: 24px; margin-top: 24px; }
.study h4 { font-size: 15px; margin-bottom: 4px; }
.study .rows { display: grid; gap: 18px; margin-top: 18px; }
.study .r { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: center; font-size: 14px; }
.study .bars { display: grid; gap: 6px; }
.study .b { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.study .b i { display: block; height: 14px; border-radius: 4px; flex: none; }
.study .b span { white-space: nowrap; }
.study .delta { font-weight: 600; color: var(--ok); margin-left: 6px; }
.contact-cta { margin: 0 0 32px; padding: 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; background: var(--ink); color: #fff; border: 0; position: relative; overflow: hidden; }
.contact-cta h3 { font-size: 22px; }
.contact-cta p { color: rgba(255, 255, 255, .72); margin-top: 6px; }
.contact-cta .btn { background: #fff; color: var(--ink); }
.contact-cta .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.pnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 48px; }
.pnav a { padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.pnav a:hover { border-color: var(--brand); }
.pnav a.next { text-align: right; }
.pnav small { color: var(--muted); font-size: 12px; }
.pnav b { font-weight: 600; color: var(--ink); }
.disclaimer { font-size: 12px; color: var(--muted); padding: 24px 0 48px; border-top: 1px solid var(--line); }

/* ---------- публичное предложение ---------- */
.pubbar .wrap { gap: 18px; }
.ohero { position: relative; overflow: hidden; background: linear-gradient(160deg, #eef0ff 0%, #f6f2ff 50%, #fff 100%); border-bottom: 1px solid var(--line); }
.ohero .wrap { position: relative; padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.ohero .ribbon { position: absolute; right: -60px; top: -60px; width: 520px; opacity: .9; pointer-events: none; }
.ohero h1 { font-size: 44px; letter-spacing: -.025em; line-height: 1.1; }
.ohero h1 em { font-style: normal; color: var(--brand); }
.ohero .intro { font-size: 18px; color: var(--ink-2); margin-top: 18px; max-width: 600px; }
.ohero .meta { display: flex; gap: 18px; margin-top: 24px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.mcard { position: relative; padding: 22px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); }
.mcard .msg { font-size: 15px; line-height: 1.6; color: var(--ink-2); white-space: pre-line; }
.mcard .who { display: flex; gap: 12px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.mcard .who .avatar { width: 40px; height: 40px; font-size: 14px; }
.mcard .who b { display: block; font-size: 14.5px; }
.mcard .who span { font-size: 12.5px; color: var(--muted); }
.osummary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: -36px 0 40px; position: relative; }
.osummary .s { padding: 18px 20px; }
.osummary .s b { display: block; font-size: 28px; font-weight: 600; color: var(--brand); letter-spacing: -.02em; line-height: 1.1; }
.osummary .s span { font-size: 13px; color: var(--muted); }
.ocards { display: grid; gap: 16px; }
.ocard { display: grid; grid-template-columns: 240px minmax(0, 1fr); overflow: hidden; text-decoration: none !important; color: inherit; transition: border-color .15s, box-shadow .15s; }
.ocard:hover { border-color: var(--brand-100); box-shadow: var(--shadow); }
.ocard img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.ocard .body { padding: 26px 28px; display: grid; gap: 12px; align-content: start; }
.ocard .no { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ocard h2 { font-size: 23px; }
.ocard .lead { color: var(--ink-2); font-size: 15px; }
.ocard .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.ocard .mfacts { display: flex; gap: 28px; flex-wrap: wrap; }
.ocard .more { font-weight: 500; color: var(--brand); white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.ofoot { margin-top: 48px; padding: 32px 0 48px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .sec-head { grid-template-columns: 1fr; gap: 20px; }
  .potential { grid-template-columns: 260px minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 1000px) {
  .plist-head { display: none; }
  .prow { grid-template-columns: 32px 56px minmax(0, 1fr); row-gap: 10px; }
  .prow .thumb { width: 56px; height: 56px; }
  .prow > .c-kf, .prow > .c-ch, .prow > .c-go { grid-column: 3; }
  .prow > .c-go { display: none; }
  .odetail, .comp, .channels, .potential, .ohero .wrap { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; gap: 20px; }
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { max-width: 460px; }
  .osummary { grid-template-columns: 1fr 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar .wrap { gap: 12px; height: 58px; }
  .topbar .sep, .topbar .app-name, .userchip .uname { display: none; }
  .nav { margin-left: 0; }
  .nav a { padding: 8px 8px; font-size: 13px; }
  .hero h1, .ohero h1 { font-size: 32px; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .fact { padding: 12px; }
  .fact .v { font-size: 22px; }
  .benefits, .comp-groups.two, .grid2, .pnav { grid-template-columns: 1fr; }
  .ocard { grid-template-columns: 1fr; }
  .ocard img { min-height: 0; aspect-ratio: 16 / 9; height: auto; }
  .contact-cta { grid-template-columns: 1fr; }
  .chbig .legend { grid-template-columns: 1fr; }
  .study .r { grid-template-columns: 1fr; }
  .selbar .names { display: none; }
  .otable .hide-m { display: none; }
  .otable td, .otable th { padding: 12px; }
  .donut { width: 220px; height: 220px; }
  .page-head h1 { font-size: 24px; }
}

/* ---------- печать ---------- */
@media print {
  .topbar, .selbar, .noprint, .contact-cta .btn, .pnav { display: none !important; }
  body { background: #fff; font-size: 12px; }
  .sec { padding: 24px 0; break-inside: avoid; }
  .hero { padding: 0 0 24px; }
  .hero h1 { font-size: 32px; }
  .card { box-shadow: none; }
  .contact-cta { background: #fff; color: var(--ink); border: 1px solid var(--line); }
  .contact-cta p { color: var(--muted); }
}
