/* Главная — design/Site Home.dc.html. Демо-интерфейсы (.ui-light / .ui-dark) повторяют приложение: свои переменные --u-*
   и box-sizing:content-box, как в макете. Общие модули (тарифы, FAQ, футер) — свои файлы; здесь — только отличия главной. */

@keyframes rw-hblob2 { 0%, 100% { transform: translate(20%, 0) scale(1.1); } 50% { transform: translate(-15%, -25%) scale(.9); } }
@keyframes rw-blob3 { 0%, 100% { transform: translate(0, 20%) scale(.9); } 50% { transform: translate(10%, -10%) scale(1.2); } }
@keyframes rw-caret { 0%, 45% { opacity: 1; } 50%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes rw-pulse { 0% { box-shadow: 0 0 0 0 oklch(0.52 0.21 285 / .45); } 70% { box-shadow: 0 0 0 9px oklch(0.52 0.21 285 / 0); } 100% { box-shadow: 0 0 0 0 oklch(0.52 0.21 285 / 0); } }
@keyframes rw-glow { 0%, 100% { opacity: .5; transform: translate(-50%, -40%) scale(1); } 50% { opacity: .8; transform: translate(-45%, -50%) scale(1.15); } }
@keyframes rw-spin { to { transform: rotate(360deg); } }
@keyframes rw-marq-up { to { transform: translateY(-50%); } }
@keyframes rw-marq-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@keyframes rw-marq-x { to { transform: translateX(-50%); } }

/* ---------- демо-интерфейс: токены приложения ---------- */
.ui-light, .ui-light *, .ui-dark, .ui-dark * { box-sizing: content-box; }
.ui-light { --u-bg: oklch(0.975 0.004 80); --u-side: oklch(0.955 0.005 80); --u-surface: #fff; --u-fg: oklch(0.22 0.012 280); --u-fg2: oklch(0.40 0.012 280);
  --u-muted: oklch(0.55 0.012 280); --u-line: oklch(0.905 0.006 80); --u-line2: oklch(0.86 0.008 80); --u-hover: oklch(0.955 0.006 80); --u-accent: oklch(0.52 0.21 285);
  --u-accent-ink: #fff; --u-accent-soft: oklch(0.94 0.035 285); --u-ok: oklch(0.42 0.13 150); --u-danger: oklch(0.5 0.18 25); --u-warn: oklch(0.5 0.12 70);
  --u-shadow: 0 1px 2px oklch(0 0 0 / .05), 0 8px 24px -12px oklch(0.3 0.03 285 / .18); }
.ui-dark { --u-bg: oklch(0.175 0.008 280); --u-side: oklch(0.15 0.008 280); --u-surface: oklch(0.215 0.009 280); --u-fg: oklch(0.95 0.005 80); --u-fg2: oklch(0.80 0.008 80);
  --u-muted: oklch(0.64 0.01 280); --u-line: oklch(0.285 0.01 280); --u-line2: oklch(0.34 0.012 280); --u-hover: oklch(0.24 0.01 280); --u-accent: oklch(0.74 0.15 285);
  --u-accent-ink: oklch(0.17 0.03 285); --u-accent-soft: oklch(0.29 0.07 285); --u-ok: oklch(0.8 0.14 150); --u-danger: oklch(0.78 0.16 25); --u-warn: oklch(0.82 0.13 70);
  --u-shadow: 0 1px 2px oklch(0 0 0 / .3), 0 12px 32px -12px oklch(0 0 0 / .5); }
.dot { display: inline-block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.caret { display: inline-block; width: 1.5px; height: 15px; margin-left: 1px; background: var(--u-fg, #fff); animation: rw-caret 1.1s steps(1) infinite; }
.chip-ui { display: flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--u-line2, var(--line-2)); border-radius: 999px; font-size: 12px; }
.st-ell { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-pend { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--u-accent); }
.st-kbd { margin-left: auto; font-size: 11.5px; color: var(--u-muted); }
.st-small { font-size: 12px; color: var(--u-muted); }
.st-mt4 { margin-top: 4px; }
.st-nums { display: flex; gap: 22px; font-size: 11px; color: var(--u-muted); }
.st-nums b { display: block; font-size: 20px; font-weight: 500; color: var(--u-fg); }
.st-nums-l { gap: 24px; }

/* ---------- общие для секций главной ---------- */
.sec-blob { position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); overflow: hidden; pointer-events: none; z-index: -1; }
.sec-blob i { position: absolute; max-width: 720px; max-height: 720px; border-radius: 50%; filter: blur(70px); opacity: .85; }
.blob-how { top: -240px; bottom: -240px; }
.blob-how i { left: -12vw; top: 50%; transform: translateY(-50%); width: 38vw; height: 38vw; background: radial-gradient(circle at 50% 50%, oklch(0.90 0.06 285) 0%, oklch(0.90 0.06 285 / 0) 62%); }
.blob-problem i { right: -12vw; top: 10%; width: 40vw; height: 40vw; background: radial-gradient(circle at 50% 50%, oklch(0.92 0.05 340) 0%, oklch(0.92 0.05 200 / 0) 62%); }
.blob-feed i { left: -12vw; top: 0; width: 44vw; height: 44vw; background: radial-gradient(circle at 50% 50%, oklch(0.92 0.05 340) 0%, oklch(0.92 0.05 340 / 0) 62%); }
.blob-history i { left: -12vw; top: -5%; width: 40vw; height: 40vw; background: radial-gradient(circle at 50% 50%, oklch(0.92 0.05 320) 0%, oklch(0.92 0.05 200 / 0) 62%); }
.blob-who i { right: -12vw; top: 0; width: 42vw; height: 42vw; background: radial-gradient(circle at 50% 50%, oklch(0.92 0.05 340) 0%, oklch(0.92 0.05 340 / 0) 62%); }
.blob-sec i { left: -12vw; top: 10%; width: 44vw; height: 44vw; background: radial-gradient(circle at 50% 50%, oklch(0.90 0.06 285) 0%, oklch(0.90 0.06 285 / 0) 62%); }

.sec-intro-l { display: flex; flex-direction: column; gap: 20px; }
.intro-640 { max-width: 640px; } .intro-720 { max-width: 720px; } .intro-760 { max-width: 760px; } .intro-780 { max-width: 780px; } .intro-800 { max-width: 800px; }
.h2-problem { margin: 0; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; }
.h2-feed { margin: 0; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; }
.h2-band { margin: 0; font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -.035em; font-weight: 600; }
.h2-reviews { margin: 0; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; }
.txt-19, .txt-18, .txt-17, .txt-18b { margin: 0; color: var(--ink-3); line-height: 1.55; }
.txt-19 { font-size: 19px; } .txt-18 { font-size: 18px; } .txt-17 { font-size: 17px; } .txt-18b { font-size: 18px; line-height: 1.5; }
.dash-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: oklch(0.35 0.012 280); }
.dash-list li { display: flex; gap: 10px; }
.dash-list li::before { content: "—"; flex: none; color: var(--accent); }
.band-dark { position: relative; overflow: hidden; background: oklch(0.175 0.008 280); color: oklch(0.95 0.005 80); }
.band-dark .eyebrow { color: var(--accent-dark); }
.band-dark .txt-19 { color: oklch(0.72 0.01 280); }
.band-bg { position: absolute; inset: 0; pointer-events: none; }
.band-pad { position: relative; padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 56px; }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.row-head .sec-intro-l { gap: 16px; }
.btn-sm { padding: 11px 18px; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 500; font-size: 14px; white-space: nowrap; color: var(--ink); }
.btn-sm:hover { background: #fff; color: var(--ink); }
.pill { padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 12px; color: var(--ink-3); white-space: nowrap; }

/* ---------- герой ---------- */
.home-hero-wrap { padding-bottom: 120px; }
.home-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.home-hero-bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(to bottom, #fff0, #fff); }
.glyph { position: absolute; left: 0; right: 0; top: 0; height: 100vh; overflow: clip; }
.glyph canvas { display: block; width: 100%; height: 100%; max-height: 100%; }
.glyph::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(to bottom, #fff0, #fff); }
.hb { position: absolute; border-radius: 50%; filter: blur(40px); }
.hb-1 { left: 10%; top: -10%; width: 52vw; height: 52vw; max-width: 820px; max-height: 820px; background: radial-gradient(circle at 40% 40%, oklch(0.86 0.09 285) 0%, oklch(0.86 0.09 285 / 0) 62%); animation: rw-blob1 22s ease-in-out infinite; }
.hb-2 { right: 0; top: 0; width: 44vw; height: 44vw; max-width: 700px; max-height: 700px; background: radial-gradient(circle at 50% 50%, oklch(0.88 0.07 320) 0%, oklch(0.88 0.07 320 / 0) 62%); animation: rw-hblob2 26s ease-in-out infinite; }
.hb-3 { left: 35%; top: 18%; width: 36vw; height: 36vw; max-width: 560px; max-height: 560px; background: radial-gradient(circle at 50% 50%, oklch(0.9 0.07 340) 0%, oklch(0.9 0.07 340 / 0) 62%); animation: rw-blob3 30s ease-in-out infinite; }
.hero-dots { position: absolute; inset: 0; background-image: radial-gradient(oklch(0.22 0.012 280 / .13) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 15%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 15%, #000 20%, transparent 75%); }
.home-hero { padding-top: 72px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.hero-eyebrow { font-size: 14px; font-weight: 500; color: var(--accent); }
.home-h1 { margin: 0; max-width: 14ch; font-size: clamp(44px, 7vw, 88px); line-height: 1; letter-spacing: -.035em; font-weight: 600; }
.home-lead { margin: 0; max-width: 56ch; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; color: var(--ink-3); }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hero-btns .btn-dark { border: 0; padding: 15px 24px; }
.sheen-light { background: linear-gradient(90deg, #fff0, oklch(1 0 0 / .35), #fff0); animation-delay: 1.2s; }
.hero-note { font-size: 13px; color: var(--muted); }

/* живое демо */
.stage { position: relative; width: 100%; height: 640px; margin-top: 40px; display: grid; grid-template-columns: 220px minmax(0, 1fr); overflow: hidden; border-radius: 18px;
  background: var(--u-bg); color: var(--u-fg); text-align: left; font-size: 13px; box-shadow: 0 0 0 1px oklch(0 0 0 / .08), 0 60px 120px -40px oklch(0.3 0.03 285 / .45);
  animation: rw-rise 1.1s var(--ease) .5s both; }
.st-side { min-width: 0; padding: 18px 14px; display: flex; flex-direction: column; gap: 18px; background: var(--u-side); border-right: 1px solid var(--u-line); }
.st-logo { display: flex; align-items: center; gap: 8px; padding: 0 6px; font-weight: 600; }
.st-logo img { width: 22px; height: 22px; border-radius: 6px; }
.st-nav { display: flex; flex-direction: column; gap: 2px; }
.st-nav-i { padding: 7px 10px; border-radius: 8px; color: var(--u-fg2); transition: all .4s; }
.st-nav-i.is-on { background: var(--u-surface); box-shadow: var(--u-shadow); font-weight: 500; color: var(--u-fg); }
.st-nav-tasks { display: flex; justify-content: space-between; align-items: center; }
.st-badge { min-width: 20px; height: 20px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--u-accent); color: var(--u-accent-ink); font-size: 11px; font-weight: 600; }
.st-projects { display: flex; flex-direction: column; gap: 6px; }
.st-ph { display: flex; justify-content: space-between; padding: 0 10px; font-size: 12px; color: var(--u-muted); }
.st-p { display: flex; align-items: center; gap: 8px; padding: 6px 10px; color: var(--u-fg2); }
.st-p .dot { width: 8px; height: 8px; }
.st-p > span:first-of-type { flex: 1; }
.st-pn { color: var(--u-muted); }
.st-quota { display: flex; gap: 3px; padding: 6px 10px 0; }
.st-quota i { flex: 1; height: 4px; border-radius: 2px; background: var(--u-line2); }
.st-quota i.on { background: var(--u-accent); }
.st-quota-t { padding: 0 10px; font-size: 11.5px; color: var(--u-muted); }
.st-quota-t span { color: var(--u-accent); font-weight: 500; }
.st-due { margin-top: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--u-line); border-radius: 12px; background: var(--u-surface); }
.st-due-h { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.st-due-h .st-ell { font-weight: 500; }
.st-due-d { flex: none; white-space: nowrap; color: var(--u-muted); }
.st-prog { height: 5px; overflow: hidden; border-radius: 3px; background: var(--u-line); }
.st-prog span { display: block; width: 0; height: 100%; background: var(--u-accent); transition: width .8s var(--ease), background .5s; }
.st-prog span.is-done { background: var(--u-ok); }
.st-due-t { font-size: 11.5px; color: var(--u-muted); }
.st-main { position: relative; min-width: 0; overflow: hidden; }
.st-view { position: absolute; inset: 0; display: flex; flex-direction: column; transition: opacity .5s; }
.st-view.is-off { opacity: 0; }
.st-tools { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 28px; border-bottom: 1px solid var(--u-line); font-size: 12.5px; color: var(--u-muted); }
.st-tools-l { display: flex; align-items: center; gap: 10px; }
.st-tools-r { display: flex; gap: 10px; }
.st-period { padding: 4px 10px; border: 1px solid var(--u-line); border-radius: 999px; background: var(--u-surface); color: var(--u-fg); }
.st-exp { justify-content: flex-start; gap: 8px; color: var(--u-fg); }
.st-pad { padding-left: 28px; padding-right: 28px; }
.st-top { flex: none; padding-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.st-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.st-title { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.st-sub { margin-top: 6px; color: var(--u-muted); }
.st-composer { padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--u-line); border-radius: 12px; background: var(--u-surface); box-shadow: var(--u-shadow); }
.st-input { min-height: 21px; padding: 4px 0 8px; display: flex; align-items: center; border-bottom: 1px solid var(--u-line2); font-size: 14px; transition: border-color .3s; }
.st-input.is-active { border-color: var(--u-accent); }
.st-ph-text { margin-left: 2px; color: var(--u-muted); }
.st-ph-text[hidden] { display: none; }
.st-chips { display: flex; align-items: center; gap: 8px; }
.st-lock { color: var(--u-muted); }
.st-add { padding: 6px 14px; border-radius: 999px; background: var(--u-accent); color: var(--u-accent-ink); font-weight: 500; transition: transform .15s; }
.st-pdf { padding: 5px 14px; border-radius: 999px; background: var(--u-accent); color: var(--u-accent-ink); font-weight: 500; font-size: 12px; transition: transform .15s; }
.st-mark { margin-left: auto; padding: 4px 12px; border: 1px solid var(--u-line2); border-radius: 999px; font-size: 12px; color: var(--u-ok); transition: transform .15s; }
.st-mark[hidden] { display: none; }
.is-pressed { transform: scale(.9); }
.st-list { min-height: 0; padding-top: 6px; display: flex; flex-direction: column; }
.st-day { padding: 12px 12px 6px; font-weight: 600; font-size: 12.5px; color: var(--u-fg2); }
.st-day span { font-weight: 400; color: var(--u-muted); }
.st-day b { font-weight: inherit; }
.st-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--u-line); }
.st-row.is-fresh { animation: rw-rise .5s var(--ease) both; }
.st-row-main { min-width: 0; }
.st-row-meta { min-width: 0; margin-bottom: 3px; display: flex; gap: 8px; white-space: nowrap; font-size: 12px; color: var(--u-muted); }
.st-proj { display: flex; align-items: center; gap: 5px; }
.st-cat { font-weight: 500; }
.st-author { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.st-row-text { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-done { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--u-ok); animation: rw-rise .4s both; }
.st-banner { flex: none; margin: 16px 28px 0; padding: 10px 14px; display: flex; align-items: center; gap: 8px; border-radius: 10px; background: oklch(0.55 0.15 150 / .14); color: var(--u-ok); font-size: 12.5px; animation: rw-rise .5s both; }
.st-banner[hidden] { display: none; }
.st-banner b { font-weight: 600; }
.st-undo { margin-left: auto; color: var(--u-muted); text-decoration: underline; }
.st-doc { padding-top: 22px; padding-bottom: 22px; display: flex; flex-direction: column; gap: 18px; transition: opacity .5s; }
.st-doc.is-dim { opacity: .55; }
.st-doc-title { margin-top: 4px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.st-rlist { display: flex; flex-direction: column; }
.st-rend { border-top: 1px solid var(--u-line); }
.st-rrow { display: grid; grid-template-columns: 48px 90px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 9px 0; border-top: 1px solid var(--u-line); }
.st-rdate { font-size: 12px; color: var(--u-muted); }
.st-rcat { font-weight: 500; font-size: 12px; }
.st-rtext { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-rok { color: var(--u-ok); animation: rw-rise .4s both; }
.st-toast { position: absolute; right: 20px; bottom: 20px; padding: 10px 14px 10px 10px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--u-line); border-radius: 12px;
  background: var(--u-surface); box-shadow: var(--u-shadow); font-size: 12.5px; animation: rw-rise .45s both; }
.st-toast[hidden] { display: none; }
.st-toast-ico { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: oklch(0.6 0.2 25 / .14); color: var(--u-danger); font-size: 9.5px; font-weight: 700; }
.st-toast-name { display: block; font-weight: 500; }
.st-toast-ok { margin-top: 1px; display: flex; align-items: center; gap: 4px; color: var(--u-ok); }
.st-cursor { position: absolute; left: 52%; top: 42%; z-index: 5; pointer-events: none; filter: drop-shadow(0 2px 4px oklch(0 0 0 / .35));
  transition: left .9s cubic-bezier(.65, 0, .35, 1), top .9s cubic-bezier(.65, 0, .35, 1), transform .15s; }
.st-cursor.is-press { transform: scale(.82); }
.scenes { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; animation: rw-rise 1.1s var(--ease) .65s both; }
.scene { display: flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--muted); transition: all .4s; }
.scene i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: background .4s; }
.scene.is-on { background: var(--ink); color: #fff; }
.scene.is-on i { background: var(--accent-dark); }

/* ---------- три шага ---------- */
.home-how { padding-bottom: 40px; }
.how-title { margin: 0 0 56px; max-width: 20ch; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px 48px; }
.how-steps li { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.how-label { font-size: 13px; font-weight: 600; color: var(--accent); }
.how-t { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.how-steps p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-3); }

/* ---------- проблема ---------- */
.home-problem { padding-top: 100px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 56px; }
.pb-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: stretch; }
.pb-card { padding: 28px; display: flex; flex-direction: column; gap: 20px; border-radius: 16px; }
.pb-crm { border: 1px solid var(--line); background: var(--paper); }
.pb-rw { background: var(--ink); color: #fff; box-shadow: 0 40px 80px -40px oklch(0.3 0.03 285 / .5); }
.pb-head { display: flex; justify-content: space-between; align-items: baseline; }
.pb-label { font-size: 13px; font-weight: 500; color: var(--muted); }
.pb-label-rw { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-dark); }
.pb-label-rw img { width: 18px; height: 18px; border-radius: 5px; }
.pb-time { font-size: 13px; font-weight: 600; }
.pb-time.is-bad { color: oklch(0.5 0.18 25); }
.pb-time.is-good { color: oklch(0.8 0.14 150); }
.pb-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; font-size: 15px; }
.pb-crm .pb-steps { color: oklch(0.35 0.012 280); }
.pb-steps li { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pb-steps li:last-child { border-bottom: 0; }
.pb-rw .pb-steps li { border-bottom-color: oklch(1 0 0 / .1); }
.pb-rw .pb-steps li.is-muted { color: oklch(0.64 0.01 280); }
.pb-n { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; font-size: 12px; color: var(--muted); }
.pb-rw .pb-n { border-color: oklch(1 0 0 / .15); color: inherit; }
.pb-rw .pb-n.is-on { width: 24px; height: 24px; border: 0; background: var(--accent-dark); color: oklch(0.17 0.03 285); font-weight: 600; }
.pb-foot { margin: auto 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.pb-rw .pb-foot { color: oklch(0.78 0.008 80); }
.pb-rw .pb-foot a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pb-composer { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; border: 1px solid oklch(1 0 0 / .1); border-radius: 12px; background: oklch(0.215 0.009 280); font-size: 13px; }
.pb-input { padding: 2px 0 8px; display: flex; align-items: center; border-bottom: 1px solid var(--accent-dark); font-size: 14px; }
.pb-input .caret { height: 14px; background: #fff; }
.pb-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pb-chips .chip-ui { padding: 3px 9px; border-color: oklch(1 0 0 / .15); }
.pb-send { margin-left: auto; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.pb-send .st-kbd { margin-left: 0; color: oklch(0.64 0.01 280); }
.pb-add { padding: 5px 12px; border-radius: 999px; background: var(--accent-dark); color: oklch(0.17 0.03 285); font-weight: 500; font-size: 12px; }
.pb-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.pb-cols > div { display: flex; flex-direction: column; gap: 8px; }
.pb-col-t { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.pb-cols p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-3); }

/* ---------- лента ---------- */
.home-feed { padding-top: 80px; padding-bottom: 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; }
.feed-mock { padding: 24px; display: flex; flex-direction: column; gap: 14px; border-radius: 18px; background: var(--u-bg); color: var(--u-fg); font-size: 13px;
  box-shadow: 0 0 0 1px oklch(0 0 0 / .06), 0 40px 80px -40px oklch(0.3 0.03 285 / .3); }
.feed-mock .st-input { display: block; min-height: 0; }
.feed-mock .caret { height: 14px; vertical-align: -2px; }
.st-chips-wrap { flex-wrap: wrap; }
.fm-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; }
.fm-row.is-hover { border-radius: 10px; background: var(--u-hover); }
.fm-text { font-size: 14px; }
.fm-lock { display: flex; align-items: center; gap: 8px; }
.fm-lock svg { color: var(--u-muted); }
.fm-acts { display: flex; gap: 4px; color: var(--u-muted); }
.fm-acts span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; background: var(--u-surface); }
.fm-acts .is-ok { color: var(--u-ok); }

/* ---------- отчёты (тёмная полоса) ---------- */
.rep-grid { position: absolute; inset: 0; background-image: linear-gradient(oklch(1 0 0 / .04) 1px, transparent 1px), linear-gradient(90deg, oklch(1 0 0 / .04) 1px, transparent 1px); background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%); }
.rep-glow { position: absolute; left: 50%; top: 55%; width: 900px; height: 600px; border-radius: 50%; transform: translate(-50%, -40%); opacity: .5;
  background: radial-gradient(circle, oklch(0.5 0.2 285 / .55) 0%, oklch(0.5 0.2 285 / 0) 65%); filter: blur(60px); animation: rw-glow 14s ease-in-out infinite; }
.rep-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 24px; align-items: start; }
.rep-doc { overflow: hidden; border: 1px solid var(--u-line); border-radius: 16px; background: var(--u-surface); color: var(--u-fg); font-size: 13px; box-shadow: 0 60px 120px -40px oklch(0 0 0 / .6); }
.rep-bar { padding: 12px 18px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--u-line); }
.rep-body { padding: 28px 32px; display: flex; flex-direction: column; gap: 22px; }
.rep-title { margin-top: 4px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.rep-site { margin-top: 4px; font-size: 12.5px; }
.rep-nums { gap: 28px; }
.rep-groups { display: flex; flex-direction: column; gap: 10px; }
.rep-g { font-weight: 600; }
.rep-g span { font-weight: 400; color: var(--u-muted); }
.rep-g2 { margin-top: 8px; }
.rep-r { padding: 8px 0; display: flex; gap: 14px; border-top: 1px solid var(--u-line); }
.rep-r span { min-width: 48px; font-size: 12px; color: var(--u-muted); }
.rep-r-last { border-bottom: 1px solid var(--u-line); }
.rep-side { display: flex; flex-direction: column; gap: 14px; }
.rep-card { padding: 20px; border: 1px solid var(--u-line); border-radius: 14px; color: var(--u-fg); }
.rep-card-t { margin: 0; font-size: 15px; font-weight: 600; }
.rep-card p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--u-muted); }
.rep-ok { padding: 20px; display: flex; gap: 10px; align-items: flex-start; border-radius: 14px; background: oklch(0.55 0.15 150 / .14); color: var(--u-ok); font-size: 14px; line-height: 1.5; }
.rep-ok svg { flex: none; margin-top: 3px; }
.rep-ok b { font-weight: 600; }

/* ---------- задачи, статистика, история, профиль ---------- */
.home-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.duo-top { padding-top: 120px; padding-bottom: 40px; }
.duo-bottom { padding-top: 24px; padding-bottom: 120px; }
.duo-card { padding: 36px; display: flex; flex-direction: column; gap: 24px; border-radius: 18px; background: var(--u-bg); color: var(--u-fg); box-shadow: 0 0 0 1px oklch(0 0 0 / .06); }
.duo-card.duo-dark { box-shadow: none; }
.duo-eyebrow { font-size: 13px; font-weight: 600; color: var(--u-accent); }
.duo-t { margin: 10px 0 0; font-size: 28px; line-height: 1.1; letter-spacing: -.025em; font-weight: 600; }
.duo-card header p { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--u-muted); }
.tk { padding: 6px 0; border: 1px solid var(--u-line); border-radius: 12px; background: var(--u-surface); font-size: 13px; }
.tk-tabs { display: flex; gap: 6px; padding: 8px 14px 10px; border-bottom: 1px solid var(--u-line); font-size: 12px; }
.tk-tabs span { padding: 3px 10px; color: var(--u-muted); }
.tk-tabs span.is-on { border-radius: 999px; background: var(--u-hover); font-weight: 500; color: var(--u-fg); }
.tk-tabs span:nth-child(3) { display: flex; align-items: center; gap: 5px; }
.tk-tabs span.tk-sum { margin-left: auto; padding: 0; }
.tk-urg { width: 7px; height: 7px; border-radius: 50%; background: var(--u-danger); }
.tk-grp { margin: 10px 14px 0; padding-left: 12px; display: flex; flex-direction: column; gap: 8px; border-left: 3px solid var(--c); }
.tk-grp2 { margin: 14px 14px 8px; }
.tk-name { font-weight: 500; font-size: 12px; color: var(--u-fg2); }
.tk-i { display: flex; gap: 10px; align-items: center; }
.tk-i > span:first-of-type { flex: 1; }
.tk-box { width: 14px; height: 14px; border: 1.5px solid var(--u-line2); border-radius: 4px; }
.tk-due { font-size: 11.5px; color: var(--u-muted); }
.tk-due.is-urgent { color: var(--u-danger); }
.sx { padding: 16px; display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--u-line); border-radius: 12px; background: var(--u-surface); font-size: 12px; }
.sx-nums { display: flex; gap: 24px; font-size: 11px; color: var(--u-muted); }
.sx-nums b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: var(--u-fg); }
.sx-bars { height: 80px; display: flex; align-items: flex-end; gap: 3px; }
.sx-bar { flex: 1; border-radius: 3px 3px 1px 1px; background: var(--u-line); transform-origin: bottom; }
.sx-bar.is-on { background: var(--u-accent); }
.sx-bar.is-top { background: var(--u-fg); }
.js .sx-bars [data-reveal] { transform: scaleY(0); }
.js .sx-bars [data-reveal].in { transform: none; }
.sx-axis { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--u-muted); }
.sx-proj { padding-top: 10px; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--u-line); }
.sx-p { display: flex; align-items: center; gap: 8px; }
.sx-pn { width: 90px; }
.sx-track { flex: 1; height: 5px; overflow: hidden; border-radius: 3px; background: var(--u-line); }
.sx-track span { display: block; height: 100%; background: var(--c); }
.sx-n { color: var(--u-muted); }
.hx { display: flex; flex-direction: column; font-size: 12.5px; }
.hx-r { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--u-line); }
.hx-last { border-bottom: 1px solid var(--u-line); }
.hx-time, .hx-who { color: var(--u-muted); }
.hx-b { display: flex; flex-direction: column; gap: 5px; }
.hx-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hx-tag { flex: none; padding: 2px 8px; border-radius: 999px; font-weight: 500; font-size: 11.5px; white-space: nowrap; }
.hx-tag.is-edit { background: var(--u-accent-soft); color: var(--u-accent); }
.hx-tag.is-rep { background: oklch(0.72 0.15 70 / .18); color: var(--u-warn); }
.hx-tag.is-del { background: oklch(0.6 0.2 25 / .13); color: var(--u-danger); }
.hx-text { font-size: 13.5px; }
.hx-old { padding: 1px 7px; border-radius: 6px; background: oklch(0.6 0.2 25 / .14); color: var(--u-danger); text-decoration: line-through; }
.hx-new { padding: 1px 7px; border-radius: 6px; background: oklch(0.55 0.15 150 / .14); color: var(--u-ok); }
.px { padding: 18px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--u-line); border-radius: 12px; background: var(--u-surface); font-size: 12.5px; }
.px-h { font-weight: 600; font-size: 13px; }
.px-h span { font-weight: 400; color: var(--u-muted); }
.px-grid { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px 12px; align-items: center; }
.px-l { color: var(--u-muted); }
.px-v { padding: 7px 10px; display: flex; align-items: center; gap: 6px; border: 1px solid var(--u-line2); border-radius: 8px; background: var(--u-bg); }
.px-v > span { flex: 1; }
.px-v svg { color: var(--u-muted); }
.px-pw { letter-spacing: .2em; }
.px-tags { padding-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; border-top: 1px solid var(--u-line); }
.px-tags span { padding: 3px 9px; border: 1px solid var(--u-line2); border-radius: 999px; font-size: 11.5px; color: var(--u-fg2); }

/* ---------- для кого ---------- */
.home-who { padding-top: 40px; padding-bottom: 60px; display: flex; flex-direction: column; gap: 48px; }
.home-who .sec-intro-l, .home-sec .sec-intro-l { gap: 18px; }
.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.who-card { position: relative; overflow: hidden; padding: 28px; display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: inherit; }
.who-card:hover { color: inherit; }
.who-card > :not(.spot-glow):not(.spot-border) { position: relative; }
.who-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.who-t { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.who-text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.who-list { line-height: 1.45; color: oklch(0.3 0.012 280); }

/* ---------- отзывы: три колонки едут вверх / вниз (петлю собирает home.js) ---------- */
.home-reviews { padding-top: 40px; padding-bottom: 100px; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: center; }
.rv-stats { padding-top: 8px; display: flex; gap: 28px; }
.rv-num { font-size: 30px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.rv-label { margin-top: 6px; font-size: 13px; color: var(--muted); }
.tstack { position: relative; height: 600px; overflow: hidden; perspective: 1000px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 35%, transparent 78%); mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 35%, transparent 78%); }
.tstack-in { position: absolute; left: 50%; top: 50%; display: flex; gap: 16px; transform-style: preserve-3d;
  transform: translate(-50%, -50%) translateX(-30px) translateZ(-140px) rotateX(18deg) rotateY(-12deg) rotateZ(14deg); }
.tcol { display: flex; flex-direction: column; gap: 16px; }
.tstack.is-loop .tcol { animation: rw-marq-up 38s linear infinite; }
.tstack.is-loop .tcol:nth-child(2) { animation: rw-marq-down 44s linear infinite; }
.tstack.is-loop .tcol:nth-child(3) { animation-duration: 50s; }
.tstack:hover .tcol { animation-play-state: paused; }
.tcard { width: 250px; margin: 0; padding: 18px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  box-shadow: 0 1px 2px oklch(0 0 0 / .04), 0 12px 30px -18px oklch(0.3 0.03 285 / .25); }
.tcard figcaption { display: flex; align-items: center; gap: 10px; }
.tc-av { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 12.5px; font-weight: 600; }
.tc-who { min-width: 0; display: flex; flex-direction: column; }
.tc-name, .tc-role { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-name { font-size: 13.5px; font-weight: 600; }
.tc-role { font-size: 12px; color: var(--muted); }
.tcard blockquote { margin: 0; font-size: 14px; line-height: 1.5; color: oklch(0.3 0.012 280); }

/* ---------- почему не CRM (тёмная полоса с «прожектором») ---------- */
.crm-band > .spot-glow { transition: opacity .5s; }
.crm-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.crm-card { position: relative; overflow: hidden; padding: 28px; display: flex; flex-direction: column; gap: 22px; border: 1px solid oklch(0.285 0.01 280); border-radius: 16px; }
.crm-card > :not(.spot-border) { position: relative; }
.crm-label { margin: 0; font-size: 13px; font-weight: 500; color: oklch(0.64 0.01 280); }
.crm-label.is-us { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-dark); }
.crm-label img { width: 18px; height: 18px; border-radius: 5px; }
.crm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.45; }
.crm-list li { display: flex; gap: 12px; }
.crm-list.is-them { color: oklch(0.78 0.008 80); }
.crm-list.is-them li::before { content: "—"; flex: none; color: oklch(0.5 0.01 280); }
.crm-list.is-us svg { flex: none; margin-top: 2px; color: oklch(0.8 0.14 150); }
.crm-ring { position: relative; overflow: hidden; padding: 1px; border-radius: 16px; box-shadow: 0 40px 80px -40px oklch(0 0 0 / .6); }
.crm-ring-spin { position: absolute; left: 50%; top: 50%; width: 180%; aspect-ratio: 1; margin: -90% 0 0 -90%; animation: rw-spin 7s linear infinite;
  background: conic-gradient(from 0deg, oklch(0.74 0.15 285 / 0) 0%, oklch(0.74 0.15 285) 18%, oklch(0.8 0.1 200) 30%, oklch(0.74 0.15 285 / 0) 45%, oklch(0.74 0.15 285 / 0) 55%, oklch(0.74 0.15 285) 70%, oklch(0.74 0.15 285 / 0) 90%); }
.crm-card.is-us { height: 100%; padding: 27px; border: 0; border-radius: 15px; background: oklch(0.215 0.009 280); }
.crm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.crm-stat { position: relative; overflow: hidden; padding: 24px 28px; border: 1px solid oklch(0.285 0.01 280); border-radius: 16px; }
.crm-stat > :not(.spot-border) { position: relative; }
.crm-num { font-size: 40px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.crm-stat-l { margin-top: 8px; font-size: 15px; color: oklch(0.64 0.01 280); }

/* ---------- безопасность ---------- */
.home-sec { padding-top: 110px; padding-bottom: 100px; display: flex; flex-direction: column; gap: 48px; }
.sec-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.sec-card { position: relative; overflow: hidden; padding: 26px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.sec-card > :not(.spot-glow) { position: relative; }
.sec-ico { color: var(--accent); }
.sec-t { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.sec-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.sec-points { list-style: none; margin: 0; padding: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.sec-points li { display: flex; align-items: center; gap: 8px; }
.sec-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

/* ---------- тарифы (карточки — template-parts/plans.php, компактный вид главной) ---------- */
.home-pricing { position: relative; overflow: hidden; }
.pricing-blob { position: absolute; right: -10vw; top: -8%; width: 44vw; height: 44vw; max-width: 720px; max-height: 720px; border-radius: 50%; filter: blur(70px); opacity: .85;
  background: radial-gradient(circle at 50% 50%, oklch(0.90 0.06 285) 0%, oklch(0.90 0.06 285 / 0) 62%); }
.pricing-pad { gap: 40px; }
.home-pricing .plans { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.home-pricing .plan { padding: 24px 26px; gap: 12px; }
.home-pricing .plan-head { align-items: baseline; }
.home-pricing .plan-name { font-size: 17px; }
.home-pricing .plan-badge { padding: 0; border: 0; border-radius: 0; background: none; font-size: 13px; color: var(--muted); }
.home-pricing .plan-dark .plan-badge { background: none; font-weight: 400; color: var(--accent-dark); }
.home-pricing .plan-price { font-size: 36px; }
.home-pricing .plan-summary { color: var(--ink-3); }
.home-pricing .plan-dark .plan-summary { color: oklch(0.85 0.008 80); }
.home-pricing .plan-ring { padding: 0; }
.home-pricing .plan-ring-spin { display: none; }
.home-pricing .plan-dark { padding: 24px 26px; border-radius: 16px; }
.pricing-note { font-size: 14px; color: var(--muted); }
.pricing-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- блог: карусель последних статей ---------- */
.blog-pad { gap: 48px; }
.blog-ctrl { display: flex; align-items: center; gap: 8px; }
.blog-ctrl .btn-sm { margin-left: 8px; }
.blog-arrow { width: 42px; height: 42px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: none; cursor: pointer; color: oklch(0.4 0.012 280); }
.blog-arrow:hover { background: #fff; color: var(--ink); }
.blog-wrap { position: relative; margin: 0 -32px; }
.blog-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 32px; padding: 4px 32px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.blog-track::-webkit-scrollbar { display: none; }
.blog-fade { position: absolute; top: 0; bottom: 0; right: 0; width: 64px; pointer-events: none; background: linear-gradient(to right, oklch(0.975 0.004 80 / 0), oklch(0.975 0.004 80)); }
.hcard { position: relative; overflow: hidden; flex: 0 0 clamp(264px, 30%, 352px); scroll-snap-align: start; padding: 20px; display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s; }
.hcard:hover { border-color: var(--line-2); }
.hcard > :not(.spot-glow) { position: relative; }
/* обложка — rw_cover() (inc/cover.php); как в макете: content-box, отступ вне соотношения сторон */
.hcard .cover { box-sizing: content-box; overflow: hidden; aspect-ratio: 16 / 9; padding: 14px; display: flex; align-items: flex-end; border-radius: 10px;
  background: var(--cover-bg, var(--paper)); color: var(--cover-fg, var(--accent)); }
.hcard .cover.has-img { padding: 0; }
.hcard .cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hcard .cover-mark { font-size: 40px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.hcard .cover-lock { width: 40px; height: 40px; }
.hcard-meta { display: flex; gap: 8px; font-size: 12.5px; color: var(--muted); }
.hcard-cat { font-weight: 500; color: var(--accent); }
.hcard > .hcard-title { position: static; margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hcard-title a, .hcard-title a:hover { color: inherit; }
.hcard-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 16px; }
.hcard-excerpt { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hcard-date { margin-top: auto; font-size: 13px; color: var(--muted); }

/* ---------- FAQ (template-parts/faq.php): сетка и отступы главной ---------- */
.rw-home .faq { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; padding-top: 120px; padding-bottom: 40px; }
.rw-home .faq-list { grid-column: span 2; }
.rw-home .faq-head { position: static; }
.rw-home .faq-text a { text-decoration: none; }
.rw-home .faq-item p { margin-top: 22px; padding: 0 48px 2px 0; max-width: 64ch; }

/* подписка (template-parts/subscribe.php) — размеры карточки главной */

/* ---------- футер главной: липкий, на весь экран, бегущая строка и мини-демо (вставляет home.js) ---------- */
.rw-home .foot { position: sticky; bottom: 0; z-index: 1; min-height: 100vh; }
.rw-home .foot-bg .blob-a { top: 30%; }
.rw-home .foot-bg::after { content: ""; position: absolute; inset: 0; background-size: 72px 72px;
  background-image: linear-gradient(oklch(1 0 0 / .035) 1px, transparent 1px), linear-gradient(90deg, oklch(1 0 0 / .035) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 20%, transparent 80%); mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 20%, transparent 80%); }
.rw-home .foot-cta { flex: 1; justify-content: center; padding: 72px 32px 40px; will-change: transform; }
.rw-home .foot-cta .btn { transition: transform .25s var(--ease), background .2s, color .2s; will-change: transform; }
.foot-marq { position: absolute; left: -10%; right: -10%; top: 9%; overflow: hidden; opacity: .9; transform: rotate(-4deg); }
.foot-marq-in { width: max-content; display: flex; gap: 48px; white-space: nowrap; font-size: 30px; font-weight: 600; letter-spacing: -.02em; color: oklch(1 0 0 / .07); animation: rw-marq-x 38s linear infinite; }
.foot-demo { width: 100%; max-width: 880px; margin-top: 4px; display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: center; text-align: left; font-size: 12.5px; color: var(--u-fg); }
.foot-demo[hidden] { display: none; }
.fd-feed { padding: 16px; display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--u-line); border-radius: 14px; background: var(--u-surface); box-shadow: 0 30px 60px -30px oklch(0 0 0 / .6); }
.fd-head { padding: 0 4px 8px; display: flex; justify-content: space-between; font-size: 12px; color: var(--u-muted); }
.fd-head span:first-child { font-weight: 600; color: var(--u-fg2); }
.fd-row { padding: 7px 4px; display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--u-line); }
.fd-row > span { flex: 1; }
.fd-row .is-muted, .fd-row svg { color: var(--u-muted); }
.fd-row svg, .fd-row .st-pend { flex: none; }
.st-pend.is-pulse { animation: rw-pulse 2.4s ease-out infinite; }
.fd-arrow { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--accent-dark); }
.fd-arrow span { font-size: 11px; font-weight: 600; white-space: nowrap; }
.fd-doc { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px oklch(0 0 0 / .6); }
.fd-small { font-size: 11px; color: var(--muted); }
.fd-title { font-size: 16px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.fd-g { margin-top: 4px; font-weight: 600; font-size: 12px; color: var(--accent); }
.fd-g2 { color: oklch(0.5 0.13 200); }
.fd-r { padding: 6px 0; display: flex; gap: 10px; border-top: 1px solid var(--line); }
.fd-r > span:first-child { min-width: 40px; color: var(--muted); }
.fd-r-last { border-bottom: 1px solid var(--line); }

/* ---------- адаптив ---------- */
@media (max-width: 1059px) { .rw-home .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .rep-layout { grid-template-columns: minmax(0, 1fr); }
  .rw-home .faq { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .rw-home .faq-list { grid-column: auto; }
}
@media (max-width: 820px) {
  .stage { grid-template-columns: minmax(0, 1fr); height: 540px; }
  .st-side, .st-cursor { display: none; }
}
@media (max-width: 720px) {
  .home-hero { padding-top: 40px; }
  .band-pad { padding-top: 72px; padding-bottom: 72px; }
  .duo-card { padding: 24px; }
  .st-pad { padding-left: 16px; padding-right: 16px; }
  .st-tools { padding-left: 16px; padding-right: 16px; flex-wrap: wrap; }
  .st-head, .stage .st-chips { flex-wrap: wrap; }
  .st-rrow { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; }
  .st-rcat { display: none; }
  .tstack { height: 420px; }
  .tcol:nth-child(n+3) { display: none; }
  .blog-wrap { margin: 0 -20px; }
  .blog-track { scroll-padding-inline: 20px; padding-left: 20px; padding-right: 20px; }
  .rw-home .faq { padding-top: 120px; padding-bottom: 40px; }
  .rw-home .foot-cta { padding: 56px 20px 32px; }
}
@media (max-width: 560px) { .stage { height: 500px; } }

/* ---------- уменьшить движение: демо показывает итог (home.js), фон не движется ---------- */
@media (prefers-reduced-motion: reduce) {
  .hb, .rep-glow, .crm-ring-spin, .tstack.is-loop .tcol, .foot-marq-in, .caret, .st-pend.is-pulse { animation: none !important; }
}
