/* Сайт: лендинг и служебные страницы. Токены, кнопки и тема — в style.css.
   Брейкпоинты: 1100 (планшет альбом), 980 (планшет), 700 (большой телефон), 600 и 420 (телефон). */

:root {
  --header-h: 76px;
  --sec-w: min(1320px, 100% - 80px);
  --hero-bright: #2f8bff47; --hero-deep: #1b3fd03d; --hero-dots: #ffffff1f;
  --card-hot-1: #12204a; --card-hot-2: var(--panel);
  --price-bg: radial-gradient(900px 500px at 85% 0%, #2f5bff2e, transparent 60%), radial-gradient(700px 500px at 0% 100%, #0a8fff1f, transparent 60%), #f3f6ff;
  --price-card: #ffffff; --price-card-2: #f4f7ff; --price-line: #d6def5; --price-muted: #5a6788;
}
:root[data-theme="dark"] {
  --hero-bright: #2f8bff52; --hero-deep: #1b3fd04d; --hero-dots: #ffffff21;
  --price-bg: radial-gradient(900px 500px at 85% 0%, #2f5bff38, transparent 60%), radial-gradient(700px 500px at 0% 100%, #0a8fff24, transparent 60%), linear-gradient(#070b18, #050507);
  --price-card: #111a33; --price-card-2: #16213f; --price-line: #22305a; --price-muted: #93a0c4;
}
:root:not([data-theme="dark"]) { --hero-dots: #0a0b0e24; --card-hot-1: #e3efff; --shine: #1f5fe0; --hero-bright: #2f8bff5c; --hero-deep: #1b3fd03a; }
:root:not([data-theme="dark"]) .hero h1 .accent { --accent-strong: #0a72c8; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --hero-bright: #2f8bff52; --hero-deep: #1b3fd04d; --hero-dots: #ffffff21; --card-hot-1: #12204a;
    --price-bg: radial-gradient(900px 500px at 85% 0%, #2f5bff38, transparent 60%), linear-gradient(#070b18, #050507);
    --price-card: #111a33; --price-card-2: #16213f; --price-line: #22305a; --price-muted: #93a0c4;
  }
}

body.site { font-size: 16px; overflow-x: hidden; }
.site h1, .site h2, .site h3, .site h4 { margin: 0; text-wrap: balance; }
:where(.site) p { margin: 0 0 12px; }
.site :focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.site .btn { min-height: 38px; padding: 0 15px; font-size: 13px; font-weight: 600; }
.site .btn:hover { transform: translateY(-2px); }
.site .btn.lg { min-height: 46px; padding: 0 20px; font-size: 15px; border-radius: 12px; }
.site .btn svg { width: 15px; height: 15px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 60; background: var(--panel); color: var(--ink); padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line); }
.skip:focus { left: 16px; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.hand { font-family: var(--font-hand); color: var(--dim); font-size: 22px; line-height: 1.1; }

/* ================= шапка ================= */
.site-top { position: sticky; top: 0; z-index: 40; height: var(--header-h); padding: 14px 0;
  background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: saturate(150%) blur(16px); -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.site-top.scrolled { border-bottom-color: var(--line); }
.site-top .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 48px; width: var(--sec-w); }
.brand-line { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-line > span { border-left: 1px solid var(--line); color: var(--muted); padding-left: 12px; font-size: 12px; white-space: nowrap; }
.navlinks { display: flex; align-items: center; gap: 22px; padding: 11px 18px; border: 1px solid var(--line); background: var(--nav-bg); border-radius: 16px; font-size: 13px; }
.navlinks a { color: var(--muted); text-decoration: none; transition: color .16s; white-space: nowrap; }
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--ink); }
.top-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.top-actions .login { border-color: var(--line-strong); background: transparent; }
.menu-btn { display: none; width: 38px; height: 38px; padding: 0; border-radius: 11px; background: transparent; }
.menu-btn svg { width: 18px; height: 18px; }
.mobile-nav { display: none; }
@media (max-width: 1100px) { .brand-line > span { display: none; } .navlinks { gap: 16px; } }
@media (max-width: 900px) {
  .site-top .bar { grid-template-columns: 1fr auto; }
  .navlinks { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { position: fixed; inset: var(--header-h) 0 auto 0; z-index: 39; padding: 12px 16px 20px; background: var(--bg);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .mobile-nav.open { display: grid; gap: 2px; }
  .mobile-nav a { padding: 14px 6px; color: var(--ink); text-decoration: none; font-size: 17px; border-bottom: 1px solid var(--line-soft); }
  .mobile-nav .btn { margin-top: 12px; min-height: 46px; font-size: 15px; }
}
@media (max-width: 420px) { .top-actions .login { display: none; } .top-actions { gap: 6px; } .top-actions .btn.primary { padding: 0 12px; } .logo { font-size: 17px; gap: 8px; } }
@media (max-width: 360px) { .top-actions .btn.primary { display: none; } }

/* ================= общие секции ================= */
.sec { position: relative; width: var(--sec-w); margin: 0 auto; padding: clamp(80px, 9vw, 130px) 0; }
.wrap > .sec, .wrap .sec { width: 100%; }
.sec + .sec, .line-top { border-top: 1px solid var(--line); }
.eyebrow { display: block; color: var(--accent); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 500; margin: 0 0 20px; }
.h2 { font-size: clamp(2.1rem, 3.9vw, 3.5rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; }
.h2 .accent { color: var(--accent); }
.lead { max-width: 640px; color: var(--muted); font-size: 17px; line-height: 1.5; margin: 20px 0 0; text-wrap: pretty; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 700px) { :root { --sec-w: calc(100% - 32px); } .lead { font-size: 16px; } }

/* ================= 1. первый экран ================= */
.hero { position: relative; width: 100%; min-height: clamp(640px, calc(100svh - var(--header-h)), 960px); margin: 0 auto;
  display: grid; grid-template-rows: 1fr auto; grid-template-columns: minmax(0, 1fr); overflow: hidden; container-type: inline-size; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 36% at 50% 46%, var(--hero-bright), transparent 72%),
    radial-gradient(62% 58% at 50% 40%, var(--hero-deep), transparent 78%),
    radial-gradient(28% 22% at 18% 22%, #63aa2514, transparent 70%),
    radial-gradient(28% 22% at 84% 76%, #a78bfa14, transparent 70%); animation: heroBreath 10s ease-in-out infinite; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--hero-dots) .8px, transparent .9px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(75% 70% at 50% 45%, #000 30%, transparent 85%); mask-image: radial-gradient(75% 70% at 50% 45%, #000 30%, transparent 85%); }
@keyframes heroBreath { 0%, 100% { opacity: .85; transform: scale(.98); } 50% { opacity: 1; transform: scale(1.03); } }

.hero-stage { position: relative; width: var(--sec-w); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) min(900px, 70%) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr); }
.hero-copy { grid-area: 2 / 2; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 0; }
.hero h1 { font-size: clamp(36px, min(4.2cqw, 6.4svh), 62px); font-weight: 500; letter-spacing: -.035em; line-height: 1.04; }
.hero h1 .accent { background: linear-gradient(100deg, var(--accent-strong) 10%, var(--shine, #8fd0ff) 50%, var(--accent-strong) 90%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 8s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.hero .sub { width: min(600px, 92%); margin: 18px 0 0; color: var(--muted); font-size: clamp(15px, 1.25cqw, 18px); line-height: 1.5; }

.prompt { display: flex; align-items: center; gap: 12px; width: min(680px, 100%); min-height: 58px; margin-top: 28px; padding: 9px 9px 9px 12px;
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: 20px; box-shadow: 0 16px 40px #0a0b0e1a, 0 0 0 0 var(--accent-soft);
  transition: background .18s, border-color .18s, box-shadow .18s; }
:root[data-theme="dark"] .prompt { background: #0f1116; box-shadow: 0 16px 40px #0004; }
.prompt:focus-within { border-color: var(--accent-line); box-shadow: 0 16px 40px #0a0b0e1a, 0 0 0 4px var(--accent-soft); }
:root[data-theme="dark"] .prompt:focus-within { background: #142138; }
.prompt-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--chip); color: var(--muted); transition: background .18s, color .18s; }
.prompt-ico svg { width: 16px; height: 16px; }
.prompt:focus-within .prompt-ico { background: var(--accent-strong); color: #fff; }
.prompt textarea { flex: 1; min-width: 0; min-height: 24px; max-height: 160px; resize: none; border: 0; background: transparent; padding: 8px 0; font-size: 16px; line-height: 1.45; box-shadow: none; overflow: hidden; scrollbar-width: thin; }
.prompt textarea:focus { box-shadow: none; }
@media (min-width: 601px) { .prompt textarea::placeholder { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
.prompt .btn { flex: none; min-height: 42px; border-radius: 12px; padding: 0 18px; font-size: 15px; font-weight: 500; background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.prompt .btn:hover { transform: none; box-shadow: 0 0 22px #0a8fff55; filter: brightness(1.08); }
.ask-meta { display: flex; justify-content: space-between; gap: 12px; width: min(680px, 100%); margin-top: 8px; font-size: 12px; color: var(--dim); min-height: 18px; }
.ask-meta .err { margin: 0; font-size: 12px; min-height: 0; }
.suggest { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: var(--dim); }
.suggest button { min-height: 0; padding: 5px 11px; font-size: 12px; font-weight: 500; border-radius: 999px; color: var(--ink-2);
  background: color-mix(in srgb, var(--ink) 5%, transparent); border-color: var(--line); line-height: 1.2; }
.suggest button:hover { background: color-mix(in srgb, var(--ink) 11%, transparent); }

/* узлы вокруг заголовка */
.hero-nodes { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero-nodes svg.wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-nodes svg.wires path { fill: none; stroke: var(--accent-line); stroke-width: 1.3; stroke-dasharray: 5 6; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -22; } }
.hn { position: absolute; width: clamp(170px, 15.5cqw, 230px); padding: 12px 14px; border-radius: 12px; text-align: left;
  background: var(--node); border: 1px solid var(--line-strong); box-shadow: var(--shadow); color: var(--ink); animation: floatY 7s ease-in-out infinite; }
:root[data-theme="dark"] .hn { background: #15171d; border-color: #343b47; color: #d4d7df; }
.hn small { position: absolute; left: 2px; bottom: calc(100% + 6px); font-size: 11px; color: var(--muted); white-space: nowrap; }
.hn p { margin: 0; font-size: 13px; line-height: 1.4; }
.hn b { font-weight: 600; color: var(--ink); }
.hn::before, .hn::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: #93b7df; border: 1px solid #142238; transform: translate(-50%, -50%); }
.hn::before { left: 0; } .hn::after { left: 100%; }
.hn.art { background: color-mix(in srgb, var(--accent-strong) 14%, var(--panel)); border-color: var(--accent-line); }
:root[data-theme="dark"] .hn.art { background: #142744; border-color: #375888; }
.hn .thumbs { display: flex; gap: 6px; margin-top: 10px; }
.hn .thumbs i { flex: 1; aspect-ratio: .7; border-radius: 7px; background: linear-gradient(160deg, #8fd0ff, #2f5bff 60%, #12204a); }
.hn .thumbs i:nth-child(2) { background: linear-gradient(160deg, #ffd3a6, #f472b6 60%, #4a2633); }
.hn .thumbs i:nth-child(3) { background: linear-gradient(160deg, #c4f5a0, #63aa25 60%, #1b2d0c); }
.hn .bar { height: 5px; border-radius: 3px; background: var(--chip); margin-top: 9px; overflow: hidden; }
.hn .bar i { display: block; height: 100%; width: var(--w, 60%); background: linear-gradient(90deg, var(--accent-strong), #8fd0ff); border-radius: inherit; }
.hn.n1 { left: 3%; top: 9%; animation-delay: -1s; }
.hn.n2 { left: 7%; top: 60%; animation-delay: -3s; }
.hn.n3 { right: 3%; top: 12%; animation-delay: -2s; }
.hn.n4 { right: 6%; top: 58%; animation-delay: -4s; }
.hn.n5 { left: 22%; top: 84%; animation-delay: -5s; }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* полоса площадок */
.platforms { min-width: 0; overflow: hidden; position: relative; z-index: 2; padding: 14px 0 max(16px, env(safe-area-inset-bottom)); text-align: center; }
.platforms p { margin: 0; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.marquee { display: flex; overflow: hidden; height: 64px; margin-top: 8px; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15% 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15% 85%, transparent); }
.marquee > div { flex: none; display: flex; align-items: center; gap: 72px; padding-right: 72px; animation: marquee 40s linear infinite; }
.marquee:hover > div { animation-play-state: paused; }
.marquee span { color: color-mix(in srgb, var(--ink) 55%, transparent); font-size: 22px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; }
.marquee span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-line); }
@keyframes marquee { to { transform: translateX(-100%); } }

@media (max-width: 1100px) {
  .hero { min-height: auto; }
  .hero-stage { grid-template-columns: 0 1fr 0; grid-template-rows: auto auto auto; }
  .hero-nodes { position: relative; grid-area: 3 / 1 / 4 / 4; inset: auto; display: flex; gap: 14px; padding: 40px 0 8px; overflow-x: auto; scrollbar-width: none; pointer-events: auto;
    -webkit-mask-image: none; mask-image: none; }
  .hero-nodes::-webkit-scrollbar { display: none; }
  .hero-nodes svg.wires { display: none; }
  .hn { position: relative; inset: auto !important; flex: none; width: 220px; animation: none; }
  .hero-copy { padding: 56px 0 0; }
}
@media (max-width: 700px) {
  .hero-stage { grid-template-columns: 0 1fr 0; }
  .hero-nodes { padding: 34px 0 8px; }
  .hn { width: 200px; }
  .hero-copy { padding: 40px 0 0; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .marquee span { font-size: 18px; }
  .marquee > div { gap: 44px; padding-right: 44px; }
}
@media (max-width: 600px) {
  .prompt { flex-wrap: wrap; gap: 8px; padding: 8px; border-radius: 16px; }
  .prompt-ico { display: none; }
  .prompt textarea { flex-basis: 100%; padding: 8px; min-height: 64px; }
  .prompt .btn { width: 100%; min-height: 46px; }
  .suggest > span { display: none; }
}
@media (min-width: 701px) and (max-height: 760px) { .suggest { display: none; } .hero h1 { font-size: clamp(32px, 3.6cqw, 46px); } }

/* ================= 2. манифест + живая доска ================= */
.manifest { text-align: center; }
.manifest .statement { max-width: 1120px; margin: 0 auto; font-size: clamp(26px, 2.8vw, 40px); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.statement em { font-style: normal; }
.statement .w { color: color-mix(in srgb, var(--ink) 28%, transparent); transition: color .35s; }
.statement .w.hi { color: var(--ink); }
.statement .w.hi.key { color: var(--accent); }
.board-show { position: relative; margin: 64px auto 0; }
.note-l, .note-r { position: absolute; z-index: 2; display: flex; align-items: flex-start; gap: 6px; pointer-events: none; }
.note-l { left: -2%; top: -46px; transform: rotate(-3deg); }
.note-r { right: -1%; top: -54px; transform: rotate(3deg); flex-direction: row-reverse; text-align: right; }
.note-l svg, .note-r svg { width: 60px; height: 46px; color: var(--dim); flex: none; margin-top: 12px; }
.frame { position: relative; border-radius: 24px; padding: 10px; background: linear-gradient(180deg, var(--line-strong), transparent 70%); }
.frame-in { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 40px 120px -40px var(--glow); }
.frame-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.frame-bar .ttl { margin-left: 10px; color: var(--ink-2); font-weight: 500; }
.frame-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.frame-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 25%, transparent); }
.board-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; text-align: left; }
.board-grid .demo-stage { border: 0; border-radius: 0; border-right: 1px solid var(--line); }
.demo-stage { position: relative; width: 100%; overflow: hidden; background-color: var(--bg); background-image: radial-gradient(var(--dot) 1px, transparent 1.1px); background-size: 18px 18px; }
.demo-board { position: absolute; left: 0; top: 0; width: 770px; height: 380px; transform-origin: 0 0; }
.demo-board svg { position: absolute; left: 0; top: 0; width: 770px; height: 380px; overflow: visible; }
.demo-board path { fill: none; stroke: var(--accent-line); stroke-width: 1.6; }
.demo-board path.on { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 6; animation: flow 1.2s linear infinite; }
.dn { position: absolute; width: 156px; height: 84px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 3px;
  text-align: left; padding: 10px 14px; background: var(--node); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 10px;
  box-shadow: var(--shadow); cursor: pointer; font: inherit; transition: border-color .16s, transform .18s var(--ease-enter); }
:root[data-theme="dark"] .dn { border-color: #343b47; }
.dn::before, .dn::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: #93b7df; border: 1px solid #142238; transform: translate(-50%, -50%); }
.dn::before { left: 0; } .dn::after { left: 100%; }
.dn.input::before { display: none; }
.dn.input { background: var(--input-node); border-color: var(--accent-line); }
.dn:hover { border-color: var(--accent-line); transform: translateY(-2px); background: var(--node); }
.dn.input:hover { background: var(--input-node); }
.dn[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
.dn .t { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.dn .h { font-size: 15px; font-weight: 500; }
.demo-out { padding: 20px 22px; background: var(--raised); }
.demo-out .tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--accent-strong); border-radius: 999px; padding: 4px 8px; margin-bottom: 12px; }
.demo-out h3 { font-size: 17px; font-weight: 500; margin: 0 0 10px; }
.demo-out p { white-space: pre-line; color: var(--ink-2); font-size: 14px; line-height: 1.6; margin: 0; }
.demo-note { font-size: 12px; color: var(--dim); margin: 16px 0 0; text-align: center; }
@media (max-width: 1100px) { .note-l, .note-r { display: none; } }
@media (max-width: 980px) { .board-grid { grid-template-columns: 1fr; } .board-grid .demo-stage { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 640px) {
  .frame { padding: 6px; border-radius: 18px; }
  .demo-stage { height: auto !important; overflow: visible; background-image: none; padding: 14px 14px 26px; }
  .demo-board { position: static; width: 100% !important; height: auto; transform: none !important; display: flex; flex-direction: column; gap: 26px; }
  .demo-board svg { display: none; }
  .dn { position: relative; width: 100%; height: auto; min-height: 60px; left: auto !important; top: auto !important; }
  .dn::before, .dn::after { display: none; }
  .dn:not(:last-child) .h::after { content: "↓"; position: absolute; left: 50%; bottom: -23px; transform: translateX(-50%); color: var(--accent); font-size: 15px; }
}

/* светлая тема: карточки слегка приподняты */
:root:not([data-theme="dark"]) .tile, :root:not([data-theme="dark"]) .agent, :root:not([data-theme="dark"]) .case,
:root:not([data-theme="dark"]) .faq-list details, :root:not([data-theme="dark"]) .plan { box-shadow: 0 1px 2px #0a0b0e08, 0 6px 20px #1b3fd00d; }
:root:not([data-theme="dark"]) .final { box-shadow: 0 30px 80px -40px #2f8bff66; }

/* ================= 3. команда агентов ================= */
.team-intro { max-width: 780px; margin: 0 auto; text-align: center; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px 0 0; }
.chips span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: 13px; color: var(--ink-2);
  background: var(--panel); border: 1px solid var(--line); }
.chips span svg { width: 14px; height: 14px; color: var(--accent); }
.agent-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 56px; }
.agent { display: flex; flex-direction: column; gap: 10px; min-height: 200px; padding: 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line-soft);
  transition: border-color .24s ease-out, background-color .24s ease-out, transform .3s var(--ease-enter); }
.agent-head { display: flex; align-items: center; gap: 10px; min-height: 36px; }
.agent-head h3 { font-size: 18px; font-weight: 500; line-height: 1.2; min-width: 0; }
.agent-ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); transition: background .24s, color .24s; }
.agent-ico svg { width: 18px; height: 18px; }
.agent-num { margin-left: auto; color: var(--dim); font-size: 13px; font-variant-numeric: tabular-nums; }
.agent p { margin: 0 0 10px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.agent small { margin-top: auto; align-self: flex-start; padding: 4px 10px; border-radius: 999px; font-size: 12px; color: var(--accent); background: var(--accent-soft); }
.agent small.in { color: var(--muted); background: var(--chip); }
.agent.hot { background: linear-gradient(var(--card-hot-1), var(--panel)); border-color: color-mix(in srgb, var(--accent-strong) 60%, transparent); }
.agent.hot .agent-ico { background: var(--accent-strong); color: #fff; }
@media (hover: hover) {
  .agent:hover { border-color: color-mix(in srgb, var(--accent-strong) 60%, transparent); transform: translateY(-4px); background: color-mix(in srgb, var(--accent-strong) 7%, var(--panel)); }
  .agent:hover .agent-ico { background: var(--accent-strong); color: #fff; }
}
@media (max-width: 1100px) { .agent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .agent-grid, .case-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-left: -16px; margin-right: -16px; padding: 4px 16px 12px; scroll-padding: 16px; }
  .agent-grid::-webkit-scrollbar, .case-grid::-webkit-scrollbar { display: none; }
  .agent-grid > *, .case-grid > * { flex: 0 0 min(82%, 320px); scroll-snap-align: start; }
  .case-grid > .case:last-child { grid-column: auto; }
  .agent { min-height: 220px; }
  .swipe-hint { display: flex; }
}
.swipe-hint { display: none; align-items: center; gap: 8px; margin-top: 10px; color: var(--dim); font-size: 12px; }
.swipe-hint svg { width: 14px; height: 14px; }

/* ================= 4. что выходит из брифа ================= */
.out-head { max-width: 1020px; }
.collage { position: relative; margin-top: 48px; border-radius: 22px; overflow: hidden; padding: clamp(18px, 3vw, 36px);
  background: radial-gradient(60% 80% at 50% 0%, var(--glow), transparent 70%), var(--raised); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.collage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(var(--dot) .7px, transparent .8px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(transparent, #000 40%, transparent); mask-image: linear-gradient(transparent, #000 40%, transparent); }
.oc { position: relative; padding: 18px 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.oc h4 { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.oc h4 b { color: var(--accent); letter-spacing: normal; font-weight: 600; }
.oc p, .oc li { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.oc ol, .oc ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.oc.script { grid-row: span 2; }
.oc .tl { display: grid; gap: 10px; }
.oc .tl div { display: grid; grid-template-columns: 62px 1fr; gap: 10px; font-size: 14px; line-height: 1.45; }
.oc .tl span { color: var(--accent); font-variant-numeric: tabular-nums; font-size: 13px; }
.oc .pf { display: flex; flex-wrap: wrap; gap: 6px; }
.oc .pf span { padding: 5px 10px; border-radius: 999px; font-size: 12px; background: var(--chip); color: var(--ink-2); }
.oc .best { color: var(--accent); }
.counters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; border-top: 1px solid var(--line); }
.counter { padding: 30px 24px 0; border-left: 1px solid var(--line); }
.counter:first-child { border-left: 0; padding-left: 0; }
.counter b { display: block; font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.counter b small { font-size: .45em; color: var(--accent); letter-spacing: 0; margin-left: 3px; }
.counter > span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.45; max-width: 220px; }
.counters-wrap { margin-top: 36px; }
@media (max-width: 980px) { .collage { grid-template-columns: 1fr 1fr; } .oc.script { grid-row: auto; grid-column: span 2; } }
@media (max-width: 600px) { .collage { grid-template-columns: 1fr; } .oc.script { grid-column: auto; } }
@media (max-width: 860px) {
  .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .counter { padding: 24px 16px; }
  .counter:nth-child(odd) { border-left: 0; padding-left: 0; }
  .counter:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ================= 5. цикл с табами ================= */
.growth { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.growth-copy .lead { margin-bottom: 28px; }
.gtabs { display: grid; gap: 0; margin: 0 0 28px; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.gtab { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 16px; width: 100%; padding: 16px 4px; text-align: left;
  border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); font-weight: 400; position: relative; }
.gtab:hover { background: transparent; border-color: var(--line); }
.gtab b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--chip); color: var(--ink-2); font-size: 12px; font-weight: 500; transition: background .2s, color .2s; }
.gtab span { display: grid; gap: 4px; }
.gtab small { color: var(--accent); letter-spacing: .12em; text-transform: uppercase; font-size: 11px; font-weight: 500; }
.gtab strong { font-size: 17px; font-weight: 500; }
.gtab em { display: none; font-style: normal; color: var(--muted); font-size: 14px; line-height: 1.5; }
.gtab svg { width: 16px; height: 16px; color: var(--dim); transition: transform .25s var(--ease-enter), color .2s; }
.gtab[aria-selected="true"] b { background: var(--accent-strong); color: #fff; }
.gtab[aria-selected="true"] em { display: block; }
.gtab[aria-selected="true"] svg { transform: rotate(90deg); color: var(--accent); }
.gtab::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--accent-strong); }
.gtab[aria-selected="true"]::after { animation: tabProgress var(--tab-ms, 5200ms) linear forwards; }
.growth.paused .gtab::after { animation: none; width: 0; }
@keyframes tabProgress { to { width: 100%; } }

.gvis { position: relative; aspect-ratio: 1.06; width: 100%; max-width: 680px; justify-self: center; container-type: inline-size; }
.gvis::before { content: ""; position: absolute; inset: -6%; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); }
.gring { position: absolute; inset: 15% 18%; border-radius: 50%; border: 1px dashed var(--line-strong); animation: spin 90s linear infinite; }
.gring.two { inset: 26% 29%; border-style: solid; border-color: var(--accent-line); animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.gcore { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-content: center; text-align: center; padding: 8px;
  color: #fff; background: radial-gradient(circle closest-side, #1f4fe6, #0b1024); border: 1px solid #0a8fff59; filter: drop-shadow(0 0 40px #0a8fff73); }
.gcore b { font-size: clamp(14px, 3.2cqw, 20px); font-weight: 500; line-height: 1.15; }
.gcore span { font-size: clamp(10px, 2cqw, 12px); opacity: .8; margin-top: 4px; }
.gcard { position: absolute; width: 41%; padding: 3.2cqw; border-radius: 3cqw; background: color-mix(in srgb, var(--panel) 88%, transparent); border: 1px solid var(--line);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: var(--shadow); transition: opacity .35s, transform .45s var(--ease-enter), border-color .3s;
  opacity: .65; transform: scale(.94); }
.gcard.on { opacity: 1; transform: scale(1.04); border-color: var(--accent-line); z-index: 2; }
.gcard h4 { display: flex; align-items: center; gap: 8px; font-size: clamp(10px, 1.9cqw, 12px); text-transform: uppercase; letter-spacing: .1em; font-weight: 500; margin-bottom: 2.4cqw; color: var(--ink); }
.gcard h4 b { color: var(--accent); letter-spacing: normal; font-weight: 500; }
.gcard .row { display: flex; align-items: center; gap: 2cqw; padding: 1.2cqw 0; font-size: clamp(11px, 2.2cqw, 14px); color: var(--ink-2); flex-wrap: nowrap; }
.gcard .row > span:nth-child(2) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gcard .row i { flex: none; width: 5.4cqw; height: 5.4cqw; border-radius: 1.4cqw; background: linear-gradient(160deg, #8fd0ff, #2f5bff); }
.gcard .row:nth-child(3) i { background: linear-gradient(160deg, #ffd3a6, #f472b6); }
.gcard .row:nth-child(4) i { background: linear-gradient(160deg, #c4f5a0, #63aa25); }
.gcard .row b { color: var(--accent); font-weight: 500; flex: none; }
.gcard p { margin: 0; font-size: clamp(11px, 2.2cqw, 14px); color: var(--muted); line-height: 1.4; }
.gcard .nums { display: flex; gap: 3cqw; margin-top: 1.6cqw; }
.gcard .nums span { font-size: clamp(16px, 3.6cqw, 24px); font-weight: 500; }
.gcard .nums small { display: block; font-size: clamp(9px, 1.7cqw, 11px); color: var(--muted); font-weight: 400; }
.gc1 { left: 29.5%; top: 0; } .gc2 { right: 0; top: 37%; } .gc3 { left: 29.5%; bottom: 0; } .gc4 { left: 0; top: 37%; }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 64px; }
.benefit { display: flex; gap: 14px; padding: 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line-soft); }
.benefit .agent-ico { width: 40px; height: 40px; }
.benefit strong { display: block; font-weight: 500; font-size: 16px; }
.benefit span { color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (max-width: 980px) { .growth { grid-template-columns: 1fr; } .gvis { max-width: 560px; } .benefits { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .gcard { width: 44%; padding: 3.6cqw; } .gc1, .gc3 { left: 28%; } }

/* ================= 6. примеры ================= */
.cases-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 56px; }
.case { position: relative; display: flex; flex-direction: column; min-height: 420px; padding: 24px; border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line-soft); transition: transform .3s var(--ease-enter), border-color .24s; }
.case:hover { transform: translateY(-4px); border-color: var(--accent-line); }
.case .art { position: relative; height: 150px; margin: -24px -24px 22px; overflow: hidden;
  background: radial-gradient(70% 90% at 80% 0%, #2f8bff88, transparent 60%), radial-gradient(60% 80% at 0% 100%, #63aa2555, transparent 60%), #0c0d11; }
.case:nth-child(2) .art { background: radial-gradient(70% 90% at 20% 0%, #f472b688, transparent 60%), radial-gradient(60% 80% at 100% 100%, #a78bfa66, transparent 60%), #0c0d11; }
.case:nth-child(3) .art { background: radial-gradient(70% 90% at 50% 0%, #f59e0b77, transparent 60%), radial-gradient(60% 80% at 100% 100%, #2f8bff55, transparent 60%), #0c0d11; }
.case .art::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#ffffff2e .7px, transparent .8px); background-size: 16px 16px; }
.case .art span { position: absolute; z-index: 1; padding: 6px 10px; font-size: 11px; border-radius: 9px; background: #15171d; border: 1px solid #343b47; color: #d4d7df; }
.case .art span:nth-child(1) { left: 16px; top: 22px; } .case .art span:nth-child(2) { left: 38%; top: 64px; } .case .art span:nth-child(3) { right: 16px; bottom: 18px; background: #142744; border-color: #375888; }
.case .kind { color: var(--muted); font-size: 13px; }
.case h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin: 6px 0 10px; }
.case p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0; }
.case .cnums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.case .cnums b { display: block; font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.case .cnums small { color: var(--muted); font-size: 12px; line-height: 1.3; }
.case .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--accent); font-size: 14px; font-weight: 500; }
.case .go svg { width: 14px; height: 14px; }
@media (max-width: 980px) { .case-grid { grid-template-columns: 1fr 1fr; } .case:last-child { grid-column: span 2; } .cases-top { flex-direction: column; align-items: flex-start; } }
@media (max-width: 640px) { .case-grid { grid-template-columns: 1fr; } .case:last-child { grid-column: auto; } .case { min-height: 0; } }

/* ================= 7. для кого: аккордеон ================= */
.aud-acc { display: flex; gap: 14px; height: 470px; margin-top: 56px; text-align: left; }
.ap { position: relative; flex: 1 1 170px; min-width: 0; border-radius: 26px; overflow: hidden; background: var(--panel); border: 1px solid var(--line-soft);
  transition: flex-basis .45s var(--ease-enter), border-color .2s; cursor: pointer; }
.ap.on { flex-basis: 620px; border-color: transparent; cursor: default; }
.ap-bg { position: absolute; inset: 0; opacity: 0; transition: opacity .45s; background: var(--g); }
.ap-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#ffffff26 .7px, transparent .8px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(#000, transparent 75%); mask-image: linear-gradient(#000, transparent 75%); }
.ap-shade { position: absolute; inset: 0; opacity: 0; transition: opacity .45s; background: linear-gradient(transparent 30%, #050507e6); }
.ap.on .ap-bg, .ap.on .ap-shade { opacity: 1; }
.ap-thumb { position: absolute; left: 20px; right: 20px; top: 20px; height: 150px; border-radius: 16px; background: var(--g); transition: opacity .35s; }
.ap.on .ap-thumb { opacity: 0; }
.ap-btn { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; }
.ap-btn:hover { background: transparent; }
.ap.on .ap-btn { pointer-events: none; }
.ap-idx { position: absolute; z-index: 3; left: 24px; bottom: 24px; color: var(--dim); font-size: 13px; pointer-events: none; }
.ap-label { position: absolute; z-index: 3; left: 24px; top: 200px; bottom: 64px; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 24px; font-weight: 500; line-height: 1; color: var(--ink); pointer-events: none; transition: opacity .25s; }
.ap.on .ap-label { opacity: 0; }
.ap-arrow { position: absolute; z-index: 3; right: 22px; bottom: 22px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); color: var(--ink); pointer-events: none; transition: transform .3s var(--ease-enter), background .2s; }
.ap-arrow svg { width: 15px; height: 15px; }
.ap:hover .ap-arrow { transform: rotate(45deg); background: var(--accent-strong); color: #fff; }
.ap.on .ap-arrow, .ap.on .ap-idx { opacity: 0; }
.ap-text { position: absolute; z-index: 3; left: 32px; right: 32px; bottom: 32px; max-width: 460px; color: #f7f8fb; opacity: 0; transform: translateY(10px); transition: opacity .3s .12s, transform .4s .12s var(--ease-enter); pointer-events: none; }
.ap.on .ap-text { opacity: 1; transform: none; pointer-events: auto; }
.ap-text .ix { color: #8f98aa; font-size: 13px; }
.ap-text h3 { font-size: clamp(26px, 2.4vw, 32px); font-weight: 500; margin: 8px 0 10px; }
.ap-text p { color: #c4c6cd; font-size: 15px; line-height: 1.5; margin: 0; }
.ap-text .do { color: #e7edf6; margin-top: 10px; font-size: 14px; }
.ap-text .do b { color: #8fd0ff; font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags span { color: #d1d3d9; background: #05050770; border: 1px solid #ffffff24; border-radius: 999px; padding: 6px 11px; font-size: 12px; }
.ap-text .btn { margin-top: 16px; background: #f5f6f7; border-color: #f5f6f7; color: #0c0d11; }
.aud-note { display: block; margin-top: 18px; text-align: right; transform: rotate(-2deg); }
@media (max-width: 980px) {
  .aud-acc { flex-direction: column; height: auto; }
  .ap { flex: none; height: 76px; border-radius: 18px; transition: height .45s var(--ease-enter); }
  .ap.on { height: 420px; }
  .ap-thumb { left: auto; right: 72px; top: 16px; width: 44px; height: 44px; border-radius: 12px; }
  .ap-label { writing-mode: horizontal-tb; transform: none; top: 26px; bottom: auto; left: 64px; font-size: 19px; }
  .ap-idx { left: 24px; top: 28px; bottom: auto; }
  .ap-arrow { top: 18px; bottom: auto; }
  .ap-text { left: 24px; right: 24px; bottom: 24px; }
  .aud-note { display: none; }
}

/* ================= 8. тарифы ================= */
.pricing { position: relative; width: 100%; padding: clamp(80px, 9vw, 120px) 0; background: var(--price-bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; container-type: inline-size; }
.pricing .wrap { width: var(--sec-w); }
.p-intro { display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; align-items: end; }
.p-intro .lead { color: var(--price-muted); margin: 0; }
.p-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin: 40px 0 18px; }
.p-tabs { display: inline-flex; gap: 6px; padding: 4px; border-radius: 16px; background: var(--price-card-2); border: 1px solid var(--price-line); }
.p-tabs button { min-width: 220px; padding: 10px 18px; text-align: left; border: 0; border-radius: 12px; background: transparent; color: var(--price-muted); display: block; font-weight: 400; }
.p-tabs button:hover { background: var(--price-card); color: var(--ink); }
.p-tabs button b { display: block; font-size: 15px; font-weight: 600; }
.p-tabs button small { display: block; font-size: 12px; margin-top: 2px; }
.p-tabs button[aria-pressed="true"] { background: var(--accent-strong); color: #fff; }
.billing { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--price-muted); cursor: pointer; border: 0; background: transparent; padding: 0; font-weight: 400; }
.billing:hover { background: transparent; color: var(--ink); }
.switch { position: relative; width: 44px; height: 24px; border-radius: 999px; background: var(--price-card-2); border: 1px solid var(--price-line); transition: background .2s; flex: none; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #0004; transition: transform .25s var(--ease-enter); }
.billing[aria-checked="true"] .switch { background: var(--accent-strong); }
.billing[aria-checked="true"] .switch::after { transform: translateX(20px); }
.billing .save { padding: 2px 8px; border-radius: 999px; font-size: 11px; background: var(--price-card-2); color: var(--ink); border: 1px solid var(--price-line); }
.plan-note { color: var(--price-muted); font-size: 13px; margin: 0 0 22px; min-height: 18px; }
.plans-status { color: var(--muted); font-size: 14px; text-align: center; margin: 40px 0; }
.plans-status:empty { display: none; }
.plan-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 14px; }
.plan-cards.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plan { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 24px; border-radius: 22px; color: var(--ink);
  background: linear-gradient(180deg, var(--price-card), var(--price-card-2)); border: 1px solid var(--price-line); transition: border-color .2s, box-shadow .2s, transform .3s var(--ease-enter);
  animation: reveal .3s var(--ease-enter); }
.plan:hover { border-color: var(--accent-strong); box-shadow: 0 16px 36px #0003; transform: translateY(-3px); }
.plan.hot { background: linear-gradient(var(--accent-strong), color-mix(in srgb, var(--accent-strong) 70%, #000)); border-color: var(--accent-strong); color: #fff; box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--accent-strong) 60%, transparent); }
.plan .badge { position: absolute; top: -12px; right: 20px; padding: 5px 12px; border-radius: 999px; background: #fff; color: color-mix(in srgb, var(--accent-strong) 70%, #000); font-size: 11px; font-weight: 800; letter-spacing: .04em; box-shadow: 0 6px 16px #0003; }
.plan h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.plan .for { color: var(--price-muted); min-height: 40px; margin: 4px 0 0; font-size: 14px; line-height: 1.4; }
.plan .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 10px 0 4px; }
.plan .price strong { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.plan .price strong.deal { font-size: 26px; }
.plan .price span { color: var(--price-muted); font-size: 14px; }
.plan .per-note, .plan .turnkey { color: var(--price-muted); font-size: 12px; line-height: 1.5; min-height: 18px; margin: 0; }
.plan .volume { margin: 12px 0 6px; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--accent-strong) 10%, transparent); border: 1px solid color-mix(in srgb, var(--accent-strong) 25%, transparent); }
.plan .volume b { display: block; font-size: 17px; }
.plan .volume small { display: block; color: var(--price-muted); font-size: 12px; margin-top: 2px; }
.plan .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.plan .meta span { padding: 4px 9px; border-radius: 999px; font-size: 11px; background: var(--price-card-2); border: 1px solid var(--price-line); }
.plan ul { list-style: none; margin: 16px 0 20px; padding: 0; display: grid; gap: 8px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 8px; font-size: 14px; line-height: 1.4; }
.plan li svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--accent-strong); }
.plan .cta { width: 100%; min-height: 44px; border-radius: 14px; font-size: 14px; font-weight: 700; background: var(--price-card-2); border: 1px solid var(--price-line); color: var(--ink); }
.plan .cta:hover { border-color: var(--accent-strong); transform: none; }
.plan.hot :is(.for, .per-note, .turnkey, li, .price span, .volume small) { color: #e3eaff; }
.plan.hot .volume, .plan.hot .meta span { background: #ffffff24; border-color: #ffffff4d; }
.plan.hot li svg { color: #fff; }
.plan.hot .cta { background: #fff; border-color: #fff; color: color-mix(in srgb, var(--accent-strong) 70%, #000); }
.plan-wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.plan-wide[hidden] { display: none; }
.big-title { grid-column: 1 / -1; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--price-muted); margin: 18px 0 0; }
.plan-big { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; align-items: start; padding: 24px; border-radius: 22px;
  background: linear-gradient(135deg, var(--price-card), var(--price-card-2)); border: 1px solid var(--price-line); transition: border-color .2s; }
.plan-big:hover { border-color: var(--accent-strong); }
.plan-big h3 { font-size: 20px; font-weight: 700; }
.plan-big .for { color: var(--price-muted); font-size: 14px; line-height: 1.45; margin: 6px 0 12px; }
.plan-big .meta { display: flex; flex-wrap: wrap; gap: 6px; }
.plan-big .meta span { padding: 4px 9px; border-radius: 999px; font-size: 11px; background: var(--price-card-2); border: 1px solid var(--price-line); }
.plan-big ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plan-big li { display: flex; gap: 8px; font-size: 14px; line-height: 1.4; }
.plan-big li svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--accent-strong); }
.plan-big .cta { grid-column: 1 / -1; min-height: 44px; border-radius: 14px; font-weight: 700; background: var(--price-card-2); border: 1px solid var(--price-line); color: var(--ink); }
.plan-big .cta:hover { border-color: var(--accent-strong); transform: none; }
.cmp-details { margin-top: 26px; border-radius: 18px; background: var(--price-card); border: 1px solid var(--price-line); overflow: hidden; }
.cmp-details > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; font-weight: 500; }
.cmp-details > summary::-webkit-details-marker { display: none; }
.cmp-details > summary::after { content: "+"; font-size: 20px; color: var(--muted); line-height: 1; }
.cmp-details[open] > summary::after { content: "–"; }
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--price-line); }
.cmp { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp th, .cmp td { padding: 14px 18px; border-bottom: 1px solid var(--price-line); text-align: center; }
.cmp th:first-child, .cmp td:first-child { text-align: left; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: none; }
.cmp thead th { font-size: 13px; font-weight: 600; }
.cmp tbody th { font-weight: 400; color: var(--price-muted); }
.foot-note { color: var(--price-muted); text-align: center; font-size: 12px; margin: 26px 0 0; }
@keyframes reveal { from { opacity: 0; transform: translateY(6px); } }
@container (max-width: 950px) {
  .p-intro { grid-template-columns: 1fr; gap: 16px; }
  .plan-cards, .plan-cards.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-tabs { display: flex; width: 100%; } .p-tabs button { flex: 1; min-width: 0; }
}
@container (max-width: 1100px) { .plan-wide { grid-template-columns: 1fr; } }
@container (max-width: 600px) {
  .plan-big { grid-template-columns: 1fr; }
  .plan-cards, .plan-cards.n4 { grid-template-columns: 1fr; }
  .p-tabs button { padding: 10px 12px; } .p-tabs button small { font-size: 11px; }
  .cmp { min-width: 520px; } .cmp th, .cmp td { padding: 12px 10px; }
}

/* ================= 9. вопросы ================= */
.faq-sec { display: grid; grid-template-columns: 380px minmax(0, 780px); gap: clamp(32px, 6vw, 80px); justify-content: space-between; }
.faq-intro h2 { white-space: pre-line; font-size: clamp(2.5rem, 4vw, 3.25rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.04; }
.faq-intro .btn { margin-top: 24px; }
.faq-list { display: grid; gap: 12px; align-content: start; }
.faq-list details { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 18px; transition: border-color .2s, background .2s; }
.faq-list details[open] { border-color: var(--accent-line); background: linear-gradient(color-mix(in srgb, var(--accent-strong) 10%, var(--panel)), var(--panel)); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px 26px; font-size: 18px; font-weight: 500; line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-q { display: flex; align-items: center; gap: 18px; }
.faq-q i { font-style: normal; color: var(--dim); font-size: 14px; font-variant-numeric: tabular-nums; flex: none; }
.faq-list details[open] .faq-q i { color: var(--accent); }
.faq-t { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); color: var(--ink); transition: background .2s, transform .25s var(--ease-enter); }
.faq-t svg { width: 14px; height: 14px; }
.faq-list details[open] .faq-t { background: var(--accent-strong); color: #fff; transform: rotate(45deg); }
.faq-list details[open] summary { padding-bottom: 12px; }
.faq-list details p { color: var(--muted); margin: 0; padding: 0 26px 24px 58px; font-size: 16px; line-height: 1.55; }
@media (max-width: 960px) { .faq-sec { grid-template-columns: 1fr; } .faq-intro h2 { white-space: normal; } }
@media (max-width: 540px) { .faq-list summary { padding: 20px 18px; font-size: 16px; gap: 12px; } .faq-q { gap: 12px; } .faq-list details p { padding: 0 18px 20px; font-size: 15px; } }

/* ================= 10. финальный призыв ================= */
.final { position: relative; overflow: hidden; text-align: center; padding: clamp(64px, 9vw, 110px) 24px; border-radius: 28px; border: 1px solid var(--line); background: var(--panel); isolation: isolate; }
.final::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -70%; width: 130%; aspect-ratio: 2; transform: translateX(-50%); background: radial-gradient(closest-side, #2f8bff66, #1b3fd033 45%, transparent 72%); }
.final::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(var(--dot) .8px, transparent .9px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 100%, #000, transparent); mask-image: radial-gradient(60% 70% at 50% 100%, #000, transparent); }
.final h2 { font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.04; max-width: 900px; margin: 0 auto; }
.final p { color: var(--muted); max-width: 520px; margin: 18px auto 30px; font-size: 17px; }
.final .btn-row { justify-content: center; }

/* ================= подвал ================= */
.site-foot { border-top: 1px solid var(--line); margin-top: clamp(64px, 8vw, 100px); }
.foot-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); column-gap: clamp(40px, 8vw, 120px); row-gap: 40px; padding: 60px 0 40px; }
.foot-brand p { max-width: 300px; color: var(--muted); margin: 14px 0 0; font-size: 14px; line-height: 1.55; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
.foot-cols h3 { color: var(--dim); text-transform: uppercase; letter-spacing: 1.2px; margin: 0 0 4px; font-size: 12px; font-weight: 500; line-height: 16px; }
.foot-cols a { display: block; color: var(--ink-2); margin: 12px 0 0; font-size: 15px; line-height: 20px; text-decoration: none; overflow-wrap: anywhere; }
.foot-cols a:hover, .foot-legal a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot-legal { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 25px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.foot-legal div { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-legal a { color: inherit; text-decoration: none; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-legal { flex-direction: column; align-items: flex-start; } }

/* ================= появление при прокрутке ================= */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease-enter), transform .8s var(--ease-enter); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ================= служебные страницы ================= */
.page-hero { position: relative; padding: clamp(56px, 8vw, 100px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -50%; width: 70%; aspect-ratio: 1.4; background: radial-gradient(closest-side, var(--hero-bright), transparent 70%); }
.page-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(var(--hero-dots) .8px, transparent .9px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(60% 90% at 80% 0%, #000, transparent 70%); mask-image: radial-gradient(60% 90% at 80% 0%, #000, transparent 70%); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; }
.page-hero .lead { font-size: 18px; }
.doc { max-width: 760px; padding: 48px 0 20px; }
.doc > h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.04; margin: 0 0 14px; }
.doc h2 { font-size: 24px; font-weight: 500; margin: 44px 0 12px; letter-spacing: -.02em; }
.doc h3 { font-size: 17px; font-weight: 500; margin: 24px 0 8px; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 14px; }
.doc li { margin-bottom: 6px; }
.doc .meta { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.draft { border-radius: 14px; border: 1px solid color-mix(in srgb, var(--warn) 50%, transparent); background: color-mix(in srgb, var(--warn) 10%, transparent); margin: 0 0 28px; padding: 14px 18px; font-size: 15px; }
.doc .placeholder { background: var(--chip); border-radius: 4px; padding: 0 4px; }
.doc .faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.doc .faq details:first-of-type { border-top: 1px solid var(--line); }
.doc .faq summary { cursor: pointer; font-weight: 500; font-size: 18px; list-style: none; padding-right: 30px; position: relative; }
.doc .faq summary::-webkit-details-marker { display: none; }
.doc .faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); font-size: 16px; line-height: 1; color: var(--ink); }
.doc .faq details[open] summary::after { content: "−"; background: var(--accent-strong); color: #fff; }
.doc .faq details > div, .doc .faq details > p { margin-top: 12px; }
.doc .faq details p, .doc .faq details li { font-size: 15px; color: var(--muted); }
.uc { padding: 36px 0; border-top: 1px solid var(--line); }
.uc:first-of-type { border-top: none; padding-top: 12px; }
.uc h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 32px); font-weight: 500; letter-spacing: -.03em; }
.uc h3 { font-size: 12px; color: var(--accent); font-weight: 500; text-transform: uppercase; letter-spacing: .16em; margin: 22px 0 10px; }
.uc p, .uc li { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.uc ul { padding-left: 20px; margin: 0; }
.chain { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chain li { background: var(--node); border: 1px solid var(--line-strong); border-radius: 10px; padding: 7px 12px; font-size: 13px; color: var(--ink); }
.chain li + li::before { content: "→"; color: var(--accent); margin-right: 8px; }
.use-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.use-nav a { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: 13px; background: var(--panel); }
.use-nav a:hover { border-color: var(--accent-line); color: var(--ink); }

/* шаги и метки внутри текстовых страниц (cases, about) */
.doc ol.how { list-style: none; padding: 0; margin: 20px 0 8px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.doc ol.how li { margin: 0; padding: 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line-soft); }
.doc ol.how .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.doc ol.how li:first-child .n { background: var(--accent-strong); color: #fff; }
.doc ol.how h3 { margin: 0 0 6px; font-size: 17px; }
.doc ol.how p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.doc .chip { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; color: var(--accent); background: var(--accent-soft); margin-bottom: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .statement .w { color: var(--ink); }
}

/* ================= правки главной (план, раздел 1) ================= */
#how, .manifest { scroll-margin-top: calc(var(--header-h) + 16px); }

/* 1.1 первый экран: бейдж беты, кликабельные узлы */
.beta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.beta-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--accent-line); }
.beta-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero-nodes .hn { pointer-events: auto; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.hero-nodes .hn:hover, .hero-nodes .hn:focus-visible { border-color: var(--accent-line); box-shadow: var(--shadow), 0 0 0 3px var(--accent-soft); }
.hero-nodes .hn:focus-visible { outline: none; }

/* 1.2 цифры */
.counters-eyebrow { margin: 0 0 18px; }

/* 1.3 агенты: реплика от первого лица */
.agent q.say { display: block; quotes: none; margin: 0 0 10px; color: var(--muted); font-size: 15px; line-height: 1.45; font-style: italic; }
.agents-more { display: flex; justify-content: center; margin-top: 32px; }

/* 1.4 цикл роста: пауза при наведении и фокусе, на телефоне — список карточек */
.growth.hold .gtab[aria-selected="true"]::after { animation-play-state: paused; }
@media (max-width: 700px) {
  .gvis { aspect-ratio: auto; max-width: none; display: flex; flex-direction: column; gap: 10px; }
  .gvis::before, .gring, .gcore { display: none; }
  .gvis .gcard { position: relative; width: auto; left: auto; right: auto; top: auto; bottom: auto; padding: 16px 18px; border-radius: 16px; transform: none; opacity: .65; }
  .gvis .gcard.on { opacity: 1; border-color: var(--accent-line); }
  .gvis .gcard h4 { font-size: 12px; margin-bottom: 10px; }
  .gvis .gcard p, .gvis .gcard .row { font-size: 14px; }
  .gvis .gcard .row i { width: 22px; height: 22px; border-radius: 6px; }
  .gvis .gcard .nums span { font-size: 22px; }
}

.cmp-note { color: var(--dim); font-size: 12px; margin: 14px 0 0; }

/* 1.6 примеры: строка выхода вместо счётчиков агентов */
.cnums-out { display: block; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.cnums-out span { font-size: 15px; font-weight: 500; color: var(--ink); }


/* 1.9 готовый бриф по отраслям */
.briefs-top { max-width: 760px; margin: 0 auto; text-align: center; }
.briefs-top .lead { margin-left: auto; margin-right: auto; }

/* аккордеон «Для кого»: фото в панелях (фон ap-bg и миниатюра ap-thumb) */
.ap-bg img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.55; }
.ap-thumb img { width:100%; height:100%; object-fit:cover; border-radius:inherit; }
/* пометка «от руки» в шапке с фото: .photo скрывает переполнение, поэтому пометка внутри кадра */
.page-hero.with-img .photo span.hand { top: 16px; left: 16px; right: auto; color: #f7f8fb; text-shadow: 0 1px 8px #000a; }
/* страница примеров: отступ после заголовка метода и центровка заметки рядом с фото */
.sec-head + .steps-num { margin-top: 48px; }
@media (max-width: 760px) { .sec-head + .steps-num { margin-top: 32px; } }
.grid-2 > .note { align-self: center; }
/* карточки примеров на главной: фото вместо градиента */
.case .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case .art::after { background: linear-gradient(transparent 40%, #05050799), radial-gradient(#ffffff2e .7px, transparent .8px); background-size: auto, 16px 16px; }
.case .art span { position: static; }
.case .art .chips-float { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; z-index: 1; }

/* ================= сетка: выравнивание по колонке (проверка 1920–390) ================= */
/* карусель сравнения на телефоне: первая карточка встаёт на линию колонки (16px), а не на край экрана */
.cmp-cards { scroll-padding-inline: 16px; }
/* карточки примеров на телефоне листаются: display:grid из блока .case-grid перебивал flex из мобильного правила */
@media (max-width: 700px) { .case-grid { display: flex; } }
/* пять карточек брифов в 3 или 2 колонки: последняя занимает оставшуюся строку, без пустой ячейки */
@media (min-width: 601px) and (max-width: 1100px) { #briefs .grid-5 > :last-child { grid-column: span 2; } }
