/* ── Стиль обёртки: как «Палетоместо» — белый фон, Unbounded + Manrope, синий акцент ── */
:root {
  color-scheme: light;
  --bg: #FFFFFF; --surface: #F4F6F9; --surface-2: #EEF1F6; --line: #E2E6ED;
  --text: #0E1726; --muted: #65708A; --accent: #2447F5; --accent-ink: #FFFFFF; --accent-soft: #E9EDFF;
  --light: #FFFFFF; --ink: #0E1726; --ink-2: #65708A;
  --busy: #E5484D; --ok: #12A150; --r: 14px;
  --shadow: 0 1px 2px rgba(14,23,38,.05), 0 8px 24px rgba(14,23,38,.06);
  --f-h: 'Unbounded', 'Manrope', system-ui, sans-serif; --f-b: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; --f-m: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--f-b); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
.wrap { width: min(1240px, 100% - 32px); margin: 0 auto; }
.mono { font-family: var(--f-m); }
.eyebrow { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 8px; }
h1, h2, h3 { font-family: var(--f-h); margin: 0; letter-spacing: -.02em; }
h3 { font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.14; font-weight: 600; text-wrap: balance; }
.sub { color: var(--muted); max-width: 720px; margin: 12px 0 0; }
.light { background: var(--light); color: var(--ink); }
.light .sub { color: var(--ink-2); }
.light .eyebrow { color: var(--accent); }
section { padding: clamp(64px, 9vw, 112px) 0; }
.sec-head { margin-bottom: 36px; }
.sec-head h2 { margin-top: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 15px 24px; font-weight: 600; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { opacity: .92; box-shadow: 0 8px 24px rgba(36,71,245,.22); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.btn-wide { width: 100%; }
.pulse, .dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; box-shadow: 0 0 0 0 rgba(18,161,80,.5); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(18,161,80,0); } 100% { box-shadow: 0 0 0 0 rgba(18,161,80,0); } }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-h); font-weight: 600; font-size: 16px; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; background: var(--accent); display: grid; place-items: center; flex: none; position: relative; }
.brand-mark .pulse { position: absolute; right: -2px; top: -2px; width: 9px; height: 9px; border: 2px solid #fff; }
.brand-for { font-family: var(--f-b); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }

/* hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(44px, 6vw, 72px); }
.hero-in { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: end; }
.hero h1 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.1; font-weight: 600; margin: 18px 0 20px; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 620px; margin: 0 0 32px; }
.hero-proof { border-left: 1px solid var(--line); padding-left: 32px; display: grid; gap: 22px; }
.proof-row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: baseline; color: var(--muted); font-size: 15px; }
.proof-k { color: var(--accent); font-size: 22px; font-weight: 500; }

/* demo */
.demo, .lab, .offer { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.demo-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.as-buyer { color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 10px; }
.as-buyer input { background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 8px 12px; width: 140px; font: inherit; }
.demo-bar-r { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-btn { background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; }
.chip-btn:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.chip-btn[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.stage { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }

.frame { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(14,23,38,.05), 0 16px 48px rgba(14,23,38,.10); }
.frame-bar { height: 38px; background: #F4F6F9; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 7px; padding: 0 14px; color: #5E6672; font: 12px var(--f-m); }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #CBD1DA; flex: none; }
.frame-bar i:nth-child(1) { background: #FF6159; } .frame-bar i:nth-child(2) { background: #FFBD2E; } .frame-bar i:nth-child(3) { background: #28C941; }
.frame-url { margin-left: 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px 12px; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.demo-tag { background: var(--ink); color: #fff; border-radius: 6px; padding: 2px 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }

/* ── Авито (реплика) ── */
.av { font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; color: #000; background: #fff; }
.av-top { display: flex; gap: 18px; font-size: 13px; color: #000; padding: 8px 20px; }
.av-top-r { margin-left: auto; display: flex; gap: 18px; }
.av-head { display: flex; align-items: center; gap: 10px; padding: 6px 20px 14px; }
.av-logo { display: flex; align-items: center; gap: 4px; font-size: 22px; letter-spacing: -.02em; margin-right: 6px; }
.av-cat { width: 40px; height: 40px; border-radius: 10px; border: 0; background: #00AAFF; display: grid; grid-template-columns: 7px 7px; gap: 3px; place-content: center; }
.av-cat span { width: 7px; height: 7px; border-radius: 2px; background: #fff; }
.av-search { flex: 1; display: flex; align-items: center; height: 40px; border: 2px solid #00AAFF; border-radius: 10px; padding: 0 12px; font-size: 15px; color: #8F8F8F; min-width: 0; }
.av-search-in { flex: 1; white-space: nowrap; overflow: hidden; }
.av-loc { color: #000; font-size: 14px; white-space: nowrap; }
.av-find { height: 40px; border: 0; border-radius: 10px; background: #00AAFF; color: #fff; padding: 0 18px; font-size: 15px; }
.av-post { height: 40px; border: 0; border-radius: 10px; background: #DCF1FF; color: #0072C4; padding: 0 14px; font-size: 14px; white-space: nowrap; }
.av-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; border-top: 1px solid #EDEDED; min-height: 640px; }
.av-item { padding: 16px 20px 24px; min-width: 0; }
.av-crumbs { font-size: 13px; color: #757575; }
.av-title { font-family: Arial, sans-serif; font-size: 27px; font-weight: 700; line-height: 1.2; margin: 10px 0 8px; }
.av-actions-row { display: flex; gap: 18px; font-size: 13px; color: #0099F7; margin-bottom: 16px; }
.av-grid { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 22px; }
.av-photo { aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: #F2F2F2; }
.av-photo img { width: 100%; height: 100%; object-fit: cover; }
.av-thumbs { display: flex; gap: 8px; margin-top: 8px; }
.av-thumbs img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: .75; outline: 2px solid transparent; }
.av-thumbs img.on, .av-thumbs img:hover { opacity: 1; outline-color: #00AAFF; }
.av h4 { font-size: 19px; margin: 22px 0 10px; }
.av-params { list-style: none; padding: 0; margin: 0; font-size: 14px; display: grid; gap: 6px; }
.av-params li { display: flex; gap: 8px; }
.av-params span { color: #757575; min-width: 130px; }
.av-params b { font-weight: 400; }
.av-desc { font-size: 14px; line-height: 1.5; margin: 0; }
.av-price { font-size: 28px; font-weight: 700; margin-bottom: 14px; }
.av-btn { width: 100%; border: 0; border-radius: 12px; height: 48px; font-size: 15px; color: #fff; margin-bottom: 8px; font-family: inherit; }
.av-btn-green { background: #02D15C; }
.av-btn-green:hover { background: #00BF52; }
.av-btn-blue { background: #00AAFF; }
.av-btn-blue:hover { background: #009CEB; }
.av-seller { display: flex; gap: 10px; margin-top: 16px; }
.av-ava, .avc-ava { width: 44px; height: 44px; border-radius: 50%; background: #1E3B8C; color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; flex: none; }
.av-seller-n { font-size: 16px; color: #0099F7; font-weight: 700; }
.av-seller-s { font-size: 13px; color: #757575; }
.av-seller-badge { font-size: 13px; margin-top: 4px; }
.av-addr { font-size: 13px; color: #757575; margin-top: 14px; }

.av-chat { border-left: 1px solid #EDEDED; display: flex; flex-direction: column; height: 640px; background: #fff; }
.avc-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #EDEDED; }
.avc-back { font-size: 20px; }
.avc-ava { width: 38px; height: 38px; font-size: 12px; }
.avc-who { flex: 1; min-width: 0; }
.avc-name { font-weight: 700; font-size: 16px; }
.avc-status { font-size: 13px; color: #8F8F8F; }
.avc-status.typing { color: #0099F7; }
.avc-icon { font-size: 20px; color: #000; padding: 0 4px; }
.avc-item { display: flex; gap: 10px; align-items: center; padding: 8px 14px; border-bottom: 1px solid #EDEDED; font-size: 13px; }
.avc-item img { width: 40px; height: 30px; object-fit: cover; border-radius: 6px; }
.avc-item-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 290px; }
.avc-item-p { font-weight: 700; }
.avc-msgs { flex: 1; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; scroll-behavior: smooth; }
.avc-date { align-self: center; color: #8F8F8F; font-size: 13px; margin: 2px 0 8px; }
.avc-empty { color: #8F8F8F; font-size: 13px; text-align: center; padding: 30px 16px; line-height: 1.45; }
.avc-row { display: flex; align-items: flex-end; gap: 8px; animation: msgIn .25s ease-out; }
.avc-row.out { justify-content: flex-end; }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } }
.avc-mini { width: 28px; height: 28px; border-radius: 50%; background: #1E3B8C; color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; flex: none; visibility: hidden; }
.avc-row.last-in .avc-mini { visibility: visible; }
.avc-bub { max-width: 78%; padding: 9px 13px 7px; border-radius: 18px; font-size: 15px; line-height: 1.38; white-space: pre-wrap; word-wrap: break-word; position: relative; }
.avc-row.in .avc-bub { background: #F2F1EE; }
.avc-row.out .avc-bub { background: #E7F3FF; }
.avc-t { font-size: 11px; color: #8F8F8F; margin-left: 8px; float: right; margin-top: 6px; }
.avc-checks { font-size: 11px; color: #43B3E0; align-self: center; margin-right: -2px; }
.avc-sys { align-self: center; font-size: 12px; color: #8F8F8F; background: #F7F7F7; border-radius: 10px; padding: 4px 10px; margin: 6px 0; text-align: center; max-width: 90%; }
.avc-typing { display: flex; gap: 4px; padding: 13px 14px; }
.avc-typing i { width: 7px; height: 7px; border-radius: 50%; background: #B8B8B8; animation: blink 1.2s infinite; }
.avc-typing i:nth-child(2) { animation-delay: .2s; } .avc-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 40% { opacity: .25; } }
.avc-chips { display: flex; gap: 6px; padding: 8px 12px 0; flex-wrap: wrap; }
.avc-chips button { border: 0; background: #F2F1EE; border-radius: 16px; padding: 7px 12px; font: 13px Arial, sans-serif; color: #000; }
.avc-chips button:hover { background: #E6E5E1; }
.avc-input { display: flex; align-items: center; gap: 8px; padding: 10px 12px 12px; }
.avc-clip { font-size: 18px; opacity: .6; }
.avc-input input { flex: 1; border: 0; background: #F2F1EE; border-radius: 20px; padding: 11px 14px; font: 15px Arial, sans-serif; outline: none; min-width: 0; }
.avc-input input:focus { box-shadow: 0 0 0 2px #00AAFF55; }
.avc-send { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #00AAFF; color: #fff; font-size: 16px; flex: none; }
.avc-send:disabled { opacity: .45; }

/* ── Telegram (реплика) ── */
.tg-col { position: sticky; top: 84px; }
.phone { position: relative; height: 640px; border-radius: 38px; background: #0F0F10; padding: 12px; box-shadow: 0 16px 48px rgba(14,23,38,.18), inset 0 0 0 2px #2A2B2E; display: flex; flex-direction: column; overflow: hidden; font-family: -apple-system, 'Segoe UI', Roboto, sans-serif; }
.phone::before { content: ''; position: absolute; inset: 12px; border-radius: 28px; background: #DCE6EF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M10 10h4v4h-4zM40 30h3v3h-3zM25 48h4v4h-4z' fill='%23c5d3df'/%3E%3C/svg%3E"); z-index: 0; }
.phone > * { position: relative; z-index: 1; }
.phone-notch { width: 96px; height: 24px; background: #0F0F10; border-radius: 0 0 14px 14px; margin: -12px auto 0; z-index: 3; }
.tg-head { display: flex; align-items: center; gap: 10px; background: #fff; margin: -10px 0 0; padding: 18px 12px 10px; border-radius: 28px 28px 0 0; color: #000; }
.tg-back { font-size: 26px; color: #2A9EF4; line-height: 1; }
.tg-ava { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #F2A93B, #E26A2C); color: #fff; font-weight: 700; font-size: 12px; display: grid; place-items: center; }
.tg-title { font-weight: 600; font-size: 15px; }
.tg-sub { font-size: 12px; color: #8A8A8F; }
.tg-topics { display: flex; gap: 6px; overflow-x: auto; background: #fff; padding: 4px 10px 10px; border-bottom: 1px solid #E5E5EA; scrollbar-width: none; }
.tg-topics span { flex: none; font-size: 12px; padding: 4px 9px; border-radius: 12px; background: #F0F2F5; color: #333; transition: background .3s; }
.tg-topics span.hit { background: #FFE7BF; }
.tg-feed { flex: 1; overflow-y: auto; padding: 10px 8px 14px; display: flex; flex-direction: column; gap: 8px; scrollbar-width: thin; }
.tg-empty { margin: auto 8px; background: rgba(255,255,255,.7); color: #4A5560; font-size: 13px; padding: 12px; border-radius: 14px; text-align: center; }
.tg-msg { background: #fff; color: #000; border-radius: 14px 14px 14px 4px; padding: 7px 10px 6px; font-size: 13px; line-height: 1.38; max-width: 94%; box-shadow: 0 1px 1px rgba(0,0,0,.08); animation: msgIn .3s ease-out; }
.tg-from { color: #E26A2C; font-weight: 600; font-size: 12px; display: flex; justify-content: space-between; gap: 6px; }
.tg-topic { color: #2A9EF4; font-weight: 500; }
.tg-msg b { display: block; margin: 2px 0; }
.tg-msg .tg-body { white-space: pre-line; color: #222; }
.tg-time { text-align: right; font-size: 11px; color: #A0A0A5; }
.tg-banner { position: absolute; left: 18px; right: 18px; top: 34px; z-index: 5; background: rgba(250,250,252,.96); backdrop-filter: blur(10px); color: #000; border-radius: 16px; padding: 10px 12px; font-size: 13px; box-shadow: 0 10px 30px rgba(0,0,0,.25); transform: translateY(-140%); transition: transform .45s cubic-bezier(.2,.9,.3,1.2); display: grid; gap: 2px; }
.tg-banner.show { transform: translateY(0); }
.tg-banner span { color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* машина времени */
.timebar { margin: 20px 0; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--r); padding: 16px 20px; }
.tb-k { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.tb-clock { font-size: 30px; font-weight: 500; color: var(--accent); line-height: 1.1; }
.timebar-m { color: var(--muted); font-size: 15px; }
.timebar-m.hit { color: var(--text); }

/* ── Битрикс24 (реплика) ── */
.bx-frame { margin-top: 0; }
.bx { position: relative; font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif; color: #333; background: linear-gradient(160deg, #1F6FAE, #46A8D8 55%, #8FD3EC); min-height: 470px; overflow: hidden; }
.bx-top { display: flex; align-items: center; gap: 18px; padding: 10px 18px; color: #fff; }
.bx-logo { font-weight: 700; font-size: 20px; }
.bx-logo span { color: #2FC6F6; background: #fff; border-radius: 6px; padding: 0 4px; margin-left: 2px; }
.bx-search { flex: 1; max-width: 420px; background: rgba(255,255,255,.18); border-radius: 18px; padding: 6px 14px; font-size: 13px; color: rgba(255,255,255,.85); }
.bx-top-r { margin-left: auto; display: flex; gap: 14px; align-items: center; font-size: 13px; }
.bx-time { background: rgba(255,255,255,.18); border-radius: 8px; padding: 2px 8px; }
.bx-main { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; padding: 0 12px 14px; }
.bx-menu { display: flex; flex-direction: column; gap: 2px; color: #fff; font-size: 13px; }
.bx-menu span { padding: 7px 10px; border-radius: 8px; opacity: .85; }
.bx-menu span.on { background: rgba(255,255,255,.22); opacity: 1; font-weight: 600; }
.bx-work { background: #EEF2F4; border-radius: 12px; padding: 14px; min-width: 0; }
.bx-tabs { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; font-size: 14px; }
.bx-tabs b { font-size: 22px; font-weight: 600; color: #333; }
.bx-pipe { color: #2067B0; background: #fff; border-radius: 6px; padding: 4px 10px; font-size: 13px; }
.bx-add { margin-left: auto; background: #BBED21; color: #535C69; font-weight: 700; font-size: 12px; text-transform: uppercase; border-radius: 4px; padding: 8px 16px; }
.bx-kanban { display: grid; grid-template-columns: repeat(5, minmax(170px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.bx-col-h { position: relative; color: #fff; font-size: 13px; font-weight: 600; padding: 7px 10px; border-radius: 4px 0 0 4px; margin-right: 10px; display: flex; justify-content: space-between; }
.bx-col-h::after { content: ''; position: absolute; right: -10px; top: 0; border-left: 10px solid var(--c); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.bx-col-h { background: var(--c); }
.bx-col-sum { font-size: 12px; color: #828B95; padding: 6px 2px; }
.bx-cards { display: flex; flex-direction: column; gap: 8px; min-height: 160px; }
.bx-ghost { border: 1px dashed #C9D0D6; border-radius: 6px; height: 64px; }
.bx-card { background: #fff; border-radius: 6px; padding: 10px 12px; font-size: 13px; box-shadow: 0 1px 2px rgba(0,0,0,.08); border-left: 3px solid var(--c); cursor: pointer; animation: cardIn .5s cubic-bezier(.2,.9,.3,1.2); }
.bx-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.12); }
@keyframes cardIn { from { opacity: 0; transform: translateY(-10px) scale(.96); } }
.bx-card.flash { animation: cardIn .5s cubic-bezier(.2,.9,.3,1.2), flash 1.6s .4s; }
@keyframes flash { 0%,100% { box-shadow: 0 1px 2px rgba(0,0,0,.08); } 30% { box-shadow: 0 0 0 4px rgba(187,237,33,.8); } }
.bx-card-t { color: #2067B0; font-weight: 600; margin-bottom: 4px; }
.bx-card-sum { font-weight: 700; color: #333; margin-bottom: 6px; }
.bx-card-row { color: #535C69; font-size: 12px; display: flex; gap: 6px; }
.bx-card-row span:first-child { color: #A8ADB4; min-width: 62px; }
.bx-badge { display: inline-block; background: #E5F8FD; color: #1B8FB8; border-radius: 4px; font-size: 11px; padding: 1px 6px; margin-top: 6px; font-weight: 600; }
.bx-task { margin-top: 6px; background: #FFF6D6; color: #8A6400; border-radius: 4px; font-size: 11px; padding: 3px 6px; }
.bx-task.late { background: #FFE1DE; color: #B42318; }
.bx-slider { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 92%); background: #EEF2F4; box-shadow: -14px 0 40px rgba(0,0,0,.25); transform: translateX(105%); transition: transform .35s ease; padding: 18px; overflow-y: auto; z-index: 4; }
.bx-slider.open { transform: none; }
.bxs-x { position: absolute; left: -34px; top: 14px; width: 30px; height: 30px; border-radius: 50% 0 0 50%; border: 0; background: #535C69; color: #fff; font-size: 18px; }
.bxs-t { font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.bxs-stage { display: flex; gap: 2px; margin: 10px 0 14px; }
.bxs-stage span { flex: 1; height: 26px; background: #D5DADF; font-size: 10px; color: #fff; display: grid; place-items: center; white-space: nowrap; overflow: hidden; padding: 0 3px; }
.bxs-stage span.on { background: var(--c); }
.bxs-box { background: #fff; border-radius: 8px; padding: 12px 14px; margin-bottom: 10px; font-size: 13px; }
.bxs-box h5 { margin: 0 0 8px; font-size: 13px; color: #828B95; text-transform: uppercase; letter-spacing: .04em; }
.bxs-f { display: grid; grid-template-columns: 110px 1fr; gap: 6px; padding: 4px 0; border-bottom: 1px solid #F0F2F4; }
.bxs-f span { color: #A8ADB4; }
.bxs-log { font-size: 12px; color: #535C69; white-space: pre-line; max-height: 200px; overflow-y: auto; }

/* how */
.flow { display: grid; grid-template-columns: 1fr auto 1.2fr auto 1.4fr; gap: 14px; align-items: center; margin: 8px 0 40px; }
.flow-n { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: grid; gap: 4px; }
.flow-n b { font-family: var(--f-h); font-size: 17px; font-weight: 600; }
.flow-n span { color: var(--ink-2); font-size: 14px; }
.flow-core { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.flow-core span { color: rgba(255,255,255,.8); }
.flow-a { display: flex; flex-direction: column; align-items: center; color: var(--accent); font-size: 11px; white-space: nowrap; }
.flow-a::after { content: '→'; font-size: 24px; line-height: 1; }
.flow-split { display: grid; gap: 10px; }
.nets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.net-hl { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.net { background: #fff; border-radius: var(--r); padding: 18px; border: 1px solid var(--line); }
.net-k { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin-bottom: 8px; font-weight: 700; }
.net p { margin: 0; font-size: 14px; color: var(--ink-2); }

/* lab */
.tabs { display: inline-flex; gap: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-bottom: 24px; }
.tab { border: 0; background: transparent; color: var(--muted); padding: 10px 18px; border-radius: 9px; font-weight: 600; }
.tab.on { background: var(--bg); color: var(--ink); box-shadow: 0 1px 2px rgba(14,23,38,.1); }
.tabpane { display: none; }
.tabpane.on { display: block; animation: msgIn .3s; }
.st-top { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.st-top .sub { margin: 0; }
.st-ask { display: flex; gap: 8px; flex: 1; max-width: 520px; }
.st-ask input { flex: 1; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; color: var(--text); padding: 10px 14px; font: inherit; min-width: 0; }
.st-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.st-filter button { background: transparent; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 6px 13px; font-size: 13px; }
.st-filter button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.st-filter button { background: var(--bg); }
.st-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.st-card { background: var(--bg); box-shadow: var(--shadow); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.st-cat { font: 11px var(--f-m); color: var(--accent); text-transform: uppercase; letter-spacing: .06em; display: flex; justify-content: space-between; }
.st-q { align-self: flex-end; background: #E7F3FF; border: 1px solid #D5E9FB; color: #000; border-radius: 16px; padding: 8px 12px; font: 14px Arial, sans-serif; max-width: 92%; }
.st-a { background: #F2F1EE; color: #000; border-radius: 16px; padding: 9px 12px; font: 14px/1.4 Arial, sans-serif; max-width: 96%; }
.st-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.st-tag { font: 11px var(--f-m); padding: 3px 8px; border-radius: 6px; background: var(--surface-2); color: var(--muted); }
.st-tag.hand { background: #F1ECFF; color: #5B3FD6; }
.st-tag.tel { background: #E7F7EE; color: var(--ok); }
.st-re { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 12px; }
.st-re:hover { color: var(--accent); }
.st-live { margin-bottom: 18px; }
.st-live .st-card { border-color: var(--accent); }

/* админка (демо) */
.adm-frame { margin-top: 18px; }
.adm { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 560px; background: #F7F8FA; color: var(--ink); font-family: var(--f-b); }
.adm-nav { background: #fff; border-right: 1px solid #E6E8EC; padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; }
.adm-logo { font-family: var(--f-h); font-weight: 700; display: flex; align-items: center; gap: 8px; padding: 4px 10px 14px; }
.adm-nav button { text-align: left; border: 0; background: transparent; padding: 9px 12px; border-radius: 8px; color: var(--ink-2); font-size: 14px; }
.adm-nav button.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.adm-body { padding: 22px 26px; min-width: 0; }
.adm-body h3 { font-size: 20px; margin-bottom: 4px; }
.adm-hint { color: #6B7280; font-size: 14px; margin: 0 0 16px; }
.adm-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.adm-card { background: #fff; border: 1px solid #E6E8EC; border-radius: 12px; padding: 12px 14px; font-size: 13px; }
.adm-card b { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 4px; }
.adm-card .ok { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }
.adm-card span { color: #6B7280; }
.adm-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border: 1px solid #E6E8EC; border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; font-size: 14px; }
.adm-row small { display: block; color: #6B7280; }
.sw { position: relative; width: 44px; height: 26px; flex: none; }
.sw input { opacity: 0; width: 0; height: 0; }
.sw span { position: absolute; inset: 0; background: #D1D5DB; border-radius: 13px; transition: .2s; cursor: pointer; }
.sw span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: .2s; }
.sw input:checked + span { background: #22C55E; }
.sw input:checked + span::after { transform: translateX(18px); }
.fld { display: grid; gap: 6px; margin-bottom: 14px; font-size: 14px; }
.fld label { font-weight: 600; }
.fld input, .fld textarea { border: 1px solid #D9DCE2; border-radius: 10px; padding: 10px 12px; font: 14px/1.45 var(--f-b); background: #fff; color: var(--ink); width: 100%; }
.fld textarea { min-height: 120px; resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.adm-steps { margin: 0 0 14px; padding-left: 20px; font-size: 14px; color: var(--ink-2); }
.adm-ex { background: #fff; border: 1px solid #E6E8EC; border-radius: 12px; padding: 12px 14px; font-size: 13px; margin-bottom: 8px; }
.adm-ex b { color: #6B7280; font-weight: 500; }
.fu { background: #fff; border: 1px solid #E6E8EC; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; display: grid; gap: 8px; }
.fu-h { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.fu-h input { width: 80px; border: 1px solid #D9DCE2; border-radius: 8px; padding: 6px 8px; font: inherit; }
.fu-h button { margin-left: auto; border: 0; background: none; color: #B42318; font-size: 13px; }
.fu textarea { border: 1px solid #D9DCE2; border-radius: 10px; padding: 8px 10px; font: 14px/1.45 var(--f-b); min-height: 70px; resize: vertical; }
.adm-save { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.btn-dark { background: var(--accent); color: #fff; }
.btn-dark:hover { opacity: .92; }
.btn-line { background: #fff; border: 1px solid #D9DCE2; color: var(--ink); }
.adm-pre { background: var(--ink); color: #DCE6F2; border-radius: 12px; padding: 16px; font: 12px/1.55 var(--f-m); white-space: pre-wrap; max-height: 460px; overflow: auto; }
.adm-loading { color: #6B7280; }

/* launch */
.keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.key { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.key-n { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; }
.key h3 { font-size: 17px; margin-bottom: 8px; }
.key p { margin: 0; color: var(--ink-2); font-size: 14px; }
.day { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; border-top: 2px solid var(--ink); }
.day-s { padding: 18px 20px 0 0; display: grid; gap: 4px; }
.day-s span { color: var(--accent); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.day-s b { font-family: var(--f-h); font-size: 17px; font-weight: 600; }
.day-s p { margin: 0; color: var(--ink-2); font-size: 14px; }

/* offer */
.offer-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.offer h2 { margin: 12px 0 22px; }
.incl { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.incl li { padding-left: 30px; position: relative; color: var(--text); }
.incl li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.offer-card { background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 20px; padding: 28px; display: grid; gap: 12px; position: sticky; top: 88px; }
.offer-big { font: 600 60px/1 var(--f-h); letter-spacing: -.03em; color: var(--accent); }
.offer-card p { margin: 0 0 8px; color: var(--muted); }
.offer-price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin-bottom: 4px; }
.offer-price span { color: var(--muted); font-size: 14px; }
.offer-price b { font: 600 18px var(--f-h); text-align: right; }
.foot { margin-top: 64px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); padding-top: 20px; }

/* toast / modal */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: 0 16px 50px rgba(0,0,0,.4); z-index: 80; display: flex; gap: 12px; align-items: center; font-size: 14px; transition: transform .4s cubic-bezier(.2,.9,.3,1.2); max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); }
.toast button { border: 0; background: #fff; color: var(--ink); border-radius: 8px; padding: 6px 10px; font-size: 13px; white-space: nowrap; }
.modal { position: fixed; inset: 0; background: rgba(10,16,26,.45); display: grid; place-items: center; z-index: 90; padding: 16px; }
.modal[hidden] { display: none; }
.modal-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 26px; max-width: 360px; text-align: center; position: relative; }
.modal-card p { color: var(--ink-2); font-size: 14px; }
.modal-x { position: absolute; right: 12px; top: 8px; border: 0; background: none; font-size: 26px; color: #888; }
#qr-box { display: grid; place-items: center; margin: 14px 0; }
.qr-url { font-size: 11px; color: #6B7280; word-break: break-all; }

/* адаптив */
@media (max-width: 1100px) {
  .stage { grid-template-columns: 1fr; }
  .tg-col { position: static; }
  .phone { max-width: 380px; margin: 0 auto; height: 560px; }
  .nets { grid-template-columns: repeat(2, 1fr); }
  .keys { grid-template-columns: repeat(2, 1fr); }
  .st-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-in { grid-template-columns: 1fr; gap: 32px; }
  .hero-proof { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .av-top, .av-post, .av-find, .av-actions-row, .av-gallery h4, .av-params, .av-desc, .av-thumbs, .av-crumbs { display: none; }
  .av-head { padding: 10px 12px; }
  .av-body { grid-template-columns: 1fr; min-height: 0; }
  .av-item { padding: 12px; }
  .av-title { font-size: 20px; margin: 0 0 10px; }
  .av-grid { grid-template-columns: 110px 1fr; gap: 12px; align-items: start; }
  .av-photo { border-radius: 10px; }
  .av-price { font-size: 22px; margin-bottom: 8px; }
  .av-btn { height: 40px; font-size: 14px; }
  .av-seller, .av-addr { display: none; }
  .av-chat { border-left: 0; border-top: 1px solid #EDEDED; height: 70vh; min-height: 480px; }
  .timebar { grid-template-columns: 1fr auto; }
  .timebar-m { grid-column: 1 / -1; order: 3; }
  .bx { min-height: 0; }
  .bx-main { grid-template-columns: 1fr; padding: 0 8px 10px; }
  .bx-menu, .bx-search, .bx-user { display: none; }
  .bx-kanban { grid-template-columns: repeat(5, 210px); }
  .flow { grid-template-columns: 1fr; }
  .flow-a::after { content: '↓'; }
  .adm { grid-template-columns: 1fr; }
  .adm-nav { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid #E6E8EC; padding: 8px; }
  .adm-logo { display: none; }
  .adm-nav button { white-space: nowrap; }
  .adm-cards { grid-template-columns: repeat(2, 1fr); }
  .offer-in { grid-template-columns: 1fr; }
  .offer-card { position: static; }
  .day { grid-template-columns: 1fr; border-top: 0; }
  .day-s { border-left: 2px solid var(--ink); padding: 0 0 18px 16px; }
}
@media (max-width: 640px) {
  .nets, .keys, .st-grid { grid-template-columns: 1fr; }
  .nav .btn { display: none; }
  .av-logo b { display: none; }
  .av-search { font-size: 13px; }
  .av-loc { display: none; }
  .frame-url { display: none; }
  .proof-row { grid-template-columns: 80px 1fr; }
  .adm-body { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ── КП: обложка, задача, благодарность ── */
.hero-in { align-items: start; }
.hero-proof { gap: 18px; }
.hero-proof .eyebrow { color: var(--ok); margin-bottom: 4px; }
.lead b { color: var(--text); font-weight: 600; }
.kp-meta { display: grid; gap: 6px; margin: -8px 0 28px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; max-width: 520px; font-size: 14px; }
.kp-meta div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; }
.kp-meta dt { font: 12px var(--f-m); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.kp-meta dd { margin: 0; font-weight: 600; }
.task { border-top: 1px solid var(--line); }
.tasks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tcard { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: var(--bg); transition: border-color .15s, box-shadow .15s; }
.tcard:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow); }
.tcard-k { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 10px; }
.tcard h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.25; }
.tcard p { margin: 0; color: var(--ink-2); font-size: 14px; }

/* буфер сообщений в чате Авито */
.avc-buffer { margin: 6px 12px 0; background: #F2F8FF; border: 1px solid #D5E9FB; border-radius: 12px; padding: 8px 10px 9px; font: 13px Arial, sans-serif; color: #1F3B57; animation: msgIn .25s ease-out; }
.avb-bar { height: 3px; background: #DCEBFA; border-radius: 3px; overflow: hidden; margin-bottom: 7px; }
.avb-bar i { display: block; height: 100%; width: 100%; background: #00AAFF; border-radius: 3px; transition: width .25s linear; }
.avb-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.avb-row b { font-family: var(--f-m); font-weight: 500; }
.avb-row button { border: 0; background: #00AAFF; color: #fff; border-radius: 10px; padding: 5px 10px; font: 12px Arial, sans-serif; white-space: nowrap; }
.avb-row button:hover { background: #009CEB; }

.thanks { margin-top: clamp(48px, 7vw, 88px); }
.thanks-card { background: var(--accent); color: #fff; border-radius: 22px; padding: clamp(28px, 4vw, 48px); display: grid; gap: 16px; }
.thanks-card h2 { color: #fff; }
.thanks-card p { margin: 0; max-width: 760px; color: rgba(255,255,255,.88); font-size: 17px; }
.sign { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.25); }
.sign b { display: block; font-family: var(--f-h); font-weight: 600; font-size: 17px; }
.sign span { color: rgba(255,255,255,.75); font-size: 14px; }
.thanks-card .btn-primary { background: #fff; color: var(--accent); }
.thanks-card .btn-primary:hover { box-shadow: 0 8px 24px rgba(0,0,0,.18); }

@media (max-width: 1100px) { .tasks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .nets { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tasks, .nets { grid-template-columns: 1fr; } .kp-meta div { grid-template-columns: 64px 1fr; } .avb-row { flex-wrap: wrap; } }
.bxs-ai { border: 1px solid #C9D3FF; }
.bxs-note { margin-top: 8px; font-size: 12px; color: #2447F5; }
.st-ai { align-self: flex-end; font-size: 11px; color: var(--accent); margin-top: -4px; }
.adm-num { width: 90px; border: 1px solid #D9DCE2; border-radius: 8px; padding: 7px 9px; font: 14px var(--f-m); margin-left: auto; }
.adm-row .adm-num + * { white-space: nowrap; }
.offer-note { margin: -4px 0 6px !important; font-size: 13px; color: var(--muted); }
