/* =========================================================================
   Лаборатория №40 — section styles
   ========================================================================= */

/* ---------------- NAV ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg-page) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--border); background: color-mix(in srgb, var(--bg-page) 88%, transparent); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.nav-logo { flex: none; display: flex; align-items: center; }
.nav-logo img { height: 42px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a {
  font-size: 0.95rem; color: var(--text-muted);
  transition: color .2s; position: relative; padding: 4px 0;
}
.nav-links a:hover { color: var(--text-heading); }
.nav-cta { flex: none; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------------- HERO ---------------- */
.hero {
  min-height: calc(var(--section-min-h) - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(64px, 8vw, 120px);
  overflow: hidden;
  position: relative;
}
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; pointer-events: none; opacity: 1;
  filter: brightness(1.12);
}
.hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(135% 120% at 50% 35%, transparent 62%, rgba(31,36,48,0.45) 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative; z-index: 2;
}
.hero-copy { max-width: 36rem; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy .lede { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero-micro { color: var(--text-mono); letter-spacing: 0.04em; text-transform: none; font-size: 0.82rem; }

/* hero visual shell */
.hero-visual { position: relative; min-height: 380px; }
.hv { display: none; }
:root[data-hero="layered"]   .hv-layered  { display: block; }
:root[data-hero="realistic"] .hv-real     { display: block; }
:root[data-hero="stylized"]  .hv-styl     { display: block; }

/* shared interview/synth bits */
.seg-tag {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em;
  color: #e6d2cf; background: var(--accent-soft); border: 1px solid rgba(168,65,62,0.35);
  padding: 2px 7px; border-radius: 5px; text-transform: none;
}
.hv-q { color: var(--text-heading); font-weight: 600; font-size: 0.98rem; margin: 12px 0 8px; line-height: 1.4; }
.hv-a { color: var(--text-body); font-size: 0.92rem; line-height: 1.55; }
.hv-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-transform: none; font-size: 0.7rem; }

/* bars (shared synthesis widget) */
.bars { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 9px; }
.bars li { display: grid; grid-template-columns: 1fr 84px auto; align-items: center; gap: 12px; }
.bars--compact li { grid-template-columns: 1fr auto; }
.bar-label { font-size: 0.82rem; color: var(--text-muted); line-height: 1.25; }
.bar-track { position: relative; height: 7px; border-radius: 4px; background: rgba(242,239,232,0.08); overflow: hidden; }
.bars--compact .bar-track { width: 100%; }
.bar-fill {
  position: absolute; inset: 0 auto 0 0; width: 0;
  border-radius: 4px; background: var(--text-mono);
  transition: width 1.1s var(--ease);
}
.bar-fill.is-accent { background: var(--accent); }
[data-bars].filled .bar-fill { width: var(--w); }
:root.no-motion [data-bars] .bar-fill { transition: none; width: var(--w); }
.bar-val { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-heading); }

/* --- variant: LAYERED --- */
.hv-layered { position: relative; padding: 8px 8px 40px; }
.hv-dots {
  position: absolute; right: -6%; top: -10%; width: 220px; aspect-ratio: 1;
  opacity: 0.55; pointer-events: none;
}
.hv-transcript { position: relative; z-index: 2; padding: 20px 22px; max-width: 88%; }
.hv-transcript .hv-signals { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.hv-synth {
  position: relative; z-index: 3; margin-top: -18px; margin-left: auto;
  width: 86%; padding: 18px 20px;
  box-shadow: var(--shadow-pop);
  transform: translateX(6%);
}
.hv-synth-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }

/* --- variant: REALISTIC (window) --- */
.win { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border-strong); background: var(--bg-deep); box-shadow: var(--shadow-pop); }
.win-bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--bg-card-2); border-bottom: 1px solid var(--border); }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(242,239,232,0.18); }
.win-title { text-transform: none; letter-spacing: 0.02em; color: var(--text-muted); font-size: 0.72rem; }
.win-meta { margin-left: auto; text-transform: none; color: var(--text-mono); }
.win-body { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; }
.win-thread { padding: 18px 18px; border-right: 1px solid var(--border); }
.wt-head { display: flex; align-items: center; gap: 8px; text-transform: none; color: var(--text-mono); font-size: 0.66rem; margin-bottom: 7px; }
.win-synth { padding: 18px 18px; display: flex; flex-direction: column; gap: 6px; background: rgba(0,0,0,0.12); }

/* --- variant: STYLIZED --- */
.hv-styl-card { padding: 26px 26px; box-shadow: var(--shadow-pop); }
.hv-styl-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hv-styl-quote { color: var(--text-heading); font-size: 1.22rem; line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; text-wrap: pretty; }
.hv-styl-cite { display: block; margin-top: 12px; text-transform: none; color: var(--text-mono); }
.hv-styl-divider { height: 1px; background: var(--border); margin: 22px 0 16px; }

/* ---------------- HONESTY ---------------- */
.honesty-inner { display: flex; align-items: flex-start; gap: clamp(18px, 3vw, 40px); }
.honesty-tag {
  flex: none; align-self: center; padding: 7px 13px; border: 1px solid var(--border-strong);
  border-radius: 999px; color: var(--text-mono);
}
.honesty-text { font-size: clamp(1.05rem, 1rem + 0.5vw, 1.32rem); line-height: 1.55; color: var(--text-body); max-width: 70ch; text-wrap: pretty; }

/* ---------------- WHAT IS A SYNTH AUDIENCE ---------------- */
.synthex { position: relative; overflow: hidden; }
.synthex-dots {
  position: absolute; inset: -8% -6% auto auto;
  width: min(620px, 56vw); aspect-ratio: 1;
  right: -6%; top: -4%;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  opacity: 0.5;
}
.synthex-inner { position: relative; z-index: 2; max-width: 96ch; }
.synthex-h { margin-bottom: 20px; }
.synthex-lede {
  font-size: clamp(1.08rem, 1rem + 0.55vw, 1.34rem); line-height: 1.6;
  color: var(--text-body); text-wrap: pretty; margin-bottom: 18px;
}
.synthex-lede strong { color: var(--text-heading); }
.synthex-sub { color: var(--text-muted); font-size: 1.02rem; line-height: 1.6; max-width: 87ch; text-wrap: pretty; }

/* ---------------- HOW IT WORKS ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); position: relative; }
.step { position: relative; padding: 28px 26px 30px; overflow: hidden; }
.step-num { display: block; color: var(--accent-hover); font-size: 0.9rem; letter-spacing: 0.1em; margin-bottom: 16px; }
.step h3 { margin-bottom: 10px; }
.step-dots { position: absolute; right: -28px; bottom: -28px; width: 150px; aspect-ratio: 1; opacity: 0.4; pointer-events: none; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------------- REPORT ---------------- */
.report-inner { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.report-copy .eyebrow { margin-bottom: 18px; }
.report-copy h2 { margin-bottom: 16px; }
.report-copy .lede { margin-bottom: 24px; }
.report-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.report-list li { display: grid; gap: 2px; padding-left: 20px; position: relative; }
.report-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.report-list strong { font-size: 0.98rem; }
.report-list span { color: var(--text-muted); font-size: 0.9rem; line-height: 1.45; }

/* report mock */
.report-mock { position: relative; }
.rm { padding: 22px 22px; display: grid; gap: 14px; }
.rm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.rm-head-l { display: grid; gap: 4px; }
.rm-title { color: var(--text-heading); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.rm-block { position: relative; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r); background: rgba(0,0,0,0.10); }
.rm-block-label { display: block; margin-bottom: 9px; color: var(--text-mono); }
/* anatomy callouts */
.rm-block[data-callout]::after {
  content: attr(data-callout);
  position: absolute; top: 12px; right: -9px; transform: translateX(100%);
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.04em;
  color: var(--text-mono); white-space: nowrap;
  padding-left: 14px;
  display: none;
}
.rm-block[data-callout]::before {
  content: ""; position: absolute; top: 16px; right: -9px; width: 9px; height: 1px; background: var(--border-strong); display: none;
}
@media (min-width: 1200px) {
  .rm > .rm-block[data-callout]::after,
  .rm > .rm-block[data-callout]::before { display: block; }
  .rm { margin-right: 92px; }
}
.rm-persona-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pp { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; color: var(--text-body); background: rgba(242,239,232,0.04); border: 1px solid var(--border); padding: 5px 10px; border-radius: 999px; }
.pp-dot { width: 8px; height: 8px; border-radius: 50%; }
.pp-dot.ok { background: var(--ok); } .pp-dot.warn { background: var(--warn); } .pp-dot.err { background: var(--error); }
.rm-quote p { color: var(--text-heading); font-size: 0.98rem; line-height: 1.45; font-style: italic; margin-bottom: 6px; }
.rm-quote .mono { text-transform: none; }
.rm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wtp-scale { display: flex; height: 30px; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); }
.wtp-seg { display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: var(--text-muted); width: var(--w); background: rgba(242,239,232,0.05); }
.wtp-seg.is-accent { background: var(--accent-soft); color: #e6d2cf; border-inline: 1px solid rgba(168,65,62,0.3); }
.rm-mini { display: block; margin-top: 8px; text-transform: none; color: var(--text-mono); font-size: 0.68rem; }
.rm-plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.rm-plan-list li { font-size: 0.84rem; color: var(--text-body); padding-left: 16px; position: relative; }
.rm-plan-list li::before { content: "→"; position: absolute; left: 0; color: var(--accent-hover); }
@media (max-width: 980px) { .report-inner { grid-template-columns: 1fr; } .rm { margin-right: 0; } }

/* ---------------- PRODUCT FAMILY ---------------- */
.family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.prod { position: relative; padding: 28px 26px 30px; display: flex; flex-direction: column; }
.prod-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.prod-verb { font-size: 0.78rem; letter-spacing: 0.16em; color: var(--text-mono); }
.prod-icon { width: 46px; height: 46px; margin-bottom: 18px; }
.prod h3 { margin-bottom: 10px; }
.prod > p { color: var(--text-body); margin-bottom: 18px; }
.prod .muted { color: var(--text-muted); }
.prod-meta { margin: auto 0 0; display: grid; gap: 12px; border-top: 1px solid var(--border); padding-top: 16px; }
.prod-meta div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; }
.prod-meta dt { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mono); padding-top: 2px; }
.prod-meta dd { margin: 0; font-size: 0.86rem; color: var(--text-body); line-height: 1.4; }
.prod--hero { border-color: rgba(168,65,62,0.5); background: linear-gradient(180deg, rgba(168,65,62,0.10), rgba(168,65,62,0.02) 40%, var(--bg-card)); box-shadow: 0 0 0 1px rgba(168,65,62,0.18), var(--shadow-card); }
.prod-flag { position: absolute; top: -10px; left: 26px; background: var(--accent); color: #FBF4EE; font-size: 0.6rem; letter-spacing: 0.1em; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; }
@media (max-width: 920px) { .family-grid { grid-template-columns: 1fr; } }

/* ---------------- FORUM ---------------- */
.forum-inner { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.forum-copy .eyebrow { margin-bottom: 18px; }
.forum-copy h2 { margin-bottom: 16px; }
.forum-copy .lede { margin-bottom: 14px; }
.forum-callouts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.forum-thread { padding: 18px 18px 16px; }
.ft-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.ft-head .mono { text-transform: none; color: var(--text-muted); }
.ft-msgs { display: grid; gap: 13px; }
.msg { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.msg-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-heading); background: var(--bg-card-2); border: 1px solid var(--border-strong); }
.msg[ data-x] {}
.msg-b { background: rgba(242,239,232,0.035); border: 1px solid var(--border); border-radius: 4px 12px 12px 12px; padding: 10px 13px; }
.msg-name { display: flex; align-items: center; gap: 7px; font-size: 0.82rem; font-weight: 600; color: var(--text-heading); margin-bottom: 3px; }
.msg-name i { font-style: normal; font-size: 0.6rem; color: #e6d2cf; background: var(--accent-soft); border: 1px solid rgba(168,65,62,0.3); padding: 1px 5px; border-radius: 4px; }
.msg-b p { font-size: 0.9rem; color: var(--text-body); line-height: 1.45; }
.msg-tag { display: inline-block; margin-top: 7px; text-transform: none; color: var(--accent-hover); font-size: 0.64rem; }
.msg--anchor .msg-b { border-color: rgba(168,65,62,0.4); }
.msg--drift .msg-b { border-color: rgba(168,65,62,0.4); background: var(--accent-soft); }
.ft-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); text-transform: none; color: var(--text-mono); font-size: 0.74rem; line-height: 1.5; }
@media (max-width: 920px) { .forum-inner { grid-template-columns: 1fr; } }

/* ---------------- NOT CHATGPT ---------------- */
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 22px); }
.cmp-col { padding: 26px 26px; border-radius: var(--r-md); border: 1px solid var(--border); }
.cmp-them { background: rgba(242,239,232,0.015); }
.cmp-us { background: var(--bg-card); border-color: rgba(168,65,62,0.35); box-shadow: 0 0 0 1px rgba(168,65,62,0.12); }
.cmp-h { display: block; margin-bottom: 18px; text-transform: none; letter-spacing: 0.02em; font-size: 0.9rem; }
.cmp-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cmp-col li { position: relative; padding-left: 26px; font-size: 0.95rem; line-height: 1.5; }
.cmp-them li { color: var(--text-muted); }
.cmp-them li::before { content: "—"; position: absolute; left: 0; color: var(--text-mono); }
.cmp-us li { color: var(--text-body); }
.cmp-us li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
@media (max-width: 760px) { .cmp { grid-template-columns: 1fr; } }

/* ---------------- ENTERPRISE ---------------- */
.ent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.ent { padding: 28px 26px; background: var(--bg-card); border-color: var(--border-strong); }
.ent h3 { margin-bottom: 12px; }
.ent-cta { margin-top: 32px; }
@media (max-width: 920px) { .ent-grid { grid-template-columns: 1fr; } }

/* ---------------- CALIBRATION ---------------- */
.calib-inner { max-width: 50rem; }
.calib-inner .eyebrow { margin-bottom: 18px; }
.calib-h { margin-bottom: 18px; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); }

/* ---------------- PRICING ---------------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 20px); align-items: stretch; }
.price { padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; }
.price-verb { font-size: 0.74rem; letter-spacing: 0.16em; color: var(--text-mono); margin-bottom: 6px; }
.price h3 { font-size: 1.08rem; margin-bottom: 14px; min-height: 2.4em; }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price-from { text-transform: none; color: var(--text-mono); font-size: 0.8rem; }
.price-num { font-family: var(--font-mono); font-size: 2.2rem; font-weight: 500; color: var(--text-heading); letter-spacing: -0.02em; }
.price-cur { font-size: 1.3rem; color: var(--text-heading); }
.price-req { font-family: var(--font-mono); font-size: 1.4rem; color: var(--text-heading); }
.price .btn { margin-top: auto; align-self: flex-start; }
.price--accent { border-color: rgba(168,65,62,0.5); box-shadow: 0 0 0 1px rgba(168,65,62,0.15), var(--shadow-card); }
.price--ent { background: var(--bg-deep); border-color: var(--border-strong); }
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr 1fr; } .price h3 { min-height: 0; } }
@media (max-width: 560px) { .price-grid { grid-template-columns: 1fr; } }

/* one-place pricing: a single price panel + enterprise, centred */
.price-duo { display: flex; flex-wrap: wrap; gap: clamp(14px, 1.6vw, 20px); justify-content: center; align-items: stretch; }
.price-duo .price { flex: 1 1 300px; max-width: 400px; }
.price-duo .price h3 { min-height: 0; }

/* ---------------- TRUST BAND ---------------- */
.trustband { padding-top: clamp(22px, 3vw, 36px); padding-bottom: clamp(22px, 3vw, 36px); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-deep); }
.trustband-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.trustband-items { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.trustband .prod-sample { white-space: nowrap; margin: 0; }

/* ---------------- SECURITY ---------------- */
.security-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.sec-copy .eyebrow { margin-bottom: 18px; }
.sec-copy h2 { margin-bottom: 20px; }
.sec-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border: 1px solid rgba(111,174,106,0.35); background: rgba(111,174,106,0.08); border-radius: 999px; color: #cfe8cc; text-transform: none; letter-spacing: 0.04em; }
.sec-shield { width: 13px; height: 15px; flex: none; background: var(--ok); -webkit-mask: var(--shield-mask) center/contain no-repeat; mask: var(--shield-mask) center/contain no-repeat; }
.sec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.sec-list li { position: relative; padding-left: 26px; color: var(--text-body); line-height: 1.55; }
.sec-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--ok); }
@media (max-width: 860px) { .security-inner { grid-template-columns: 1fr; } }

/* ---------------- FAQ ---------------- */
.faq-inner { max-width: 820px; }
.faq-list { border-top: 1px solid var(--border); }
.qa { border-bottom: 1px solid var(--border); }
.qa summary {
  list-style: none; cursor: pointer; padding: 22px 4px; display: flex; align-items: center;
  justify-content: space-between; gap: 18px; font-size: 1.08rem; font-weight: 500; color: var(--text-heading);
  transition: color .2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: #fff; }
.qa-mark { position: relative; flex: none; width: 16px; height: 16px; }
.qa-mark::before, .qa-mark::after { content: ""; position: absolute; background: var(--text-muted); border-radius: 2px; transition: transform .25s var(--ease), background .2s; }
.qa-mark::before { top: 7px; left: 0; width: 16px; height: 2px; }
.qa-mark::after { top: 0; left: 7px; width: 2px; height: 16px; }
.qa[open] .qa-mark::after { transform: scaleY(0); }
.qa[open] .qa-mark::before { background: var(--accent-hover); }
.qa-body { overflow: hidden; }
.qa-body p { padding: 0 4px 24px; color: var(--text-muted); max-width: 68ch; line-height: 1.6; }
.qa[open] summary { color: #fff; }

/* ---------------- FINAL CTA ---------------- */
.final { background: var(--bg-section); padding-block: clamp(80px, 10vw, 140px); overflow: hidden; position: relative; }
.final-bg { position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 30%, transparent 75%); }
.final-inner { position: relative; text-align: center; max-width: 40rem; margin-inline: auto; }
.final-inner h2 { margin-bottom: 18px; }
.final-inner .lede { margin: 0 auto 30px; }
.final-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 18px; }
.final-micro { color: var(--text-mono); text-transform: none; letter-spacing: 0.04em; }

/* ---------------- FOOTER ---------------- */
.footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding-top: 64px; padding-bottom: 36px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 72px); padding-bottom: 48px; }
.footer-brand img { margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols > div { display: grid; gap: 12px; align-content: start; }
.footer-h { color: var(--text-mono); margin-bottom: 4px; }
.footer-cols a { color: var(--text-muted); font-size: 0.92rem; transition: color .2s; }
.footer-cols a:hover { color: var(--text-heading); }
.footer-legal { padding-top: 28px; border-top: 1px solid var(--border); color: var(--text-mono); text-transform: none; letter-spacing: 0.02em; font-size: 0.74rem; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------------- MODAL ---------------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: clamp(16px, 4vw, 48px); }
.modal[hidden] { display: none; }
.modal-scrim { position: absolute; inset: 0; background: rgba(10,12,18,0.7); backdrop-filter: blur(4px); animation: fade .3s var(--ease); }
.modal-card { position: relative; width: min(620px, 100%); max-height: 86vh; overflow: auto; padding: 36px clamp(24px, 4vw, 44px); box-shadow: var(--shadow-pop); animation: pop .35s var(--ease); }
.modal-x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-strong); background: transparent; color: var(--text-muted); font-size: 0.9rem; display: grid; place-items: center; transition: color .2s, border-color .2s; }
.modal-x:hover { color: var(--text-heading); border-color: var(--text-muted); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(0.98); } }

/* responsive hero stack */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
  .hero-canvas { opacity: 1; }
}

/* ========================================================================
   Hero scroll cue (animated arrow → #run)
   ===================================================================== */
.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(18px, 3vh, 34px);
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  z-index: 3; text-decoration: none; color: var(--text-mono);
  transition: color .25s var(--ease);
}
.scroll-cue:hover { color: var(--text-heading); }
.scroll-cue-label {
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.scroll-cue-chevrons { display: block; width: 26px; height: 22px; position: relative; }
.scroll-cue-chevrons i {
  position: absolute; left: 50%; width: 15px; height: 15px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: translateX(-50%) rotate(45deg);
  animation: scroll-bob 1.8s var(--ease) infinite;
}
.scroll-cue-chevrons i:nth-child(1) { top: 0;  opacity: 0.95; }
.scroll-cue-chevrons i:nth-child(2) { top: 8px; opacity: 0.45; animation-delay: .18s; }
@keyframes scroll-bob {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(45deg); opacity: .35; }
  50%      { transform: translateX(-50%) translateY(5px) rotate(45deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .scroll-cue-chevrons i { animation: none; } }

/* ========================================================================
   #run — full-screen live-run scenario
   ===================================================================== */
.scnx-section {
  position: relative; overflow: hidden;
  min-height: var(--section-min-h);
  display: flex; align-items: center;
  background: var(--bg-deep);
  padding-top: clamp(40px, 6vh, 80px); padding-bottom: clamp(40px, 6vh, 80px);
}
.scnx-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 30%, transparent 50%, rgba(26,31,42,0.7) 100%),
    linear-gradient(to bottom, rgba(26,31,42,0.4), transparent 18%, transparent 82%, rgba(26,31,42,0.55));
}
.scnx-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(18px, 2.6vh, 30px); width: 100%; text-align: center;
}

/* head + stimulus */
.scnx-head { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.scnx-stim { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.scnx-stim-label {
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mono);
}
.scnx-stim-text {
  margin: 0; max-width: 22ch;
  font-size: clamp(1.4rem, 1rem + 2.4vw, 2.55rem); font-weight: 700;
  line-height: 1.18; letter-spacing: -0.02em; color: var(--text-heading); text-wrap: balance;
}
.scnx-stim-text.typing::after {
  content: "▍"; color: var(--accent); margin-left: 2px; font-weight: 400;
  animation: scn-caret 0.9s steps(1) infinite;
}
@keyframes scn-caret { 50% { opacity: 0; } }

/* stepper rail */
.scnx-rail { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; max-width: 100%; }
.scnx-step {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  border: 0; background: none; cursor: pointer; padding: 6px 11px; border-radius: 999px;
  font-size: 0.68rem; letter-spacing: 0.04em; color: var(--text-mono);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.scnx-step:hover { color: var(--text-body); }
.scnx-step-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border-strong); transition: background .25s, box-shadow .25s; }
.scnx-step.is-done .scnx-step-dot { background: var(--text-mono); }
.scnx-step.is-active { color: var(--text-heading); background: var(--accent-soft); }
.scnx-step.is-active .scnx-step-dot { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }

/* stage — scenes share one grid cell and crossfade */
.scnx-stage {
  position: relative; width: 100%; max-width: 920px;
  display: grid; min-height: clamp(300px, 46vh, 470px);
  align-items: center;
}
.scnx-scene {
  grid-area: 1 / 1; align-self: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.scnx-scene.is-on { opacity: 1; transform: none; pointer-events: auto; }
.scnx-cap { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mono); }

/* — build (audience) — */
.scnx-build { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 54px); align-items: center; width: 100%; }
.scnx-cloud {
  display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; align-content: center;
  max-width: 360px; margin: 0 auto;
}
.scnx-node {
  width: 7px; height: 7px; border-radius: 50%; background: var(--text-mono);
  opacity: 0.1; transform: scale(0.6); transition: opacity .5s var(--ease), transform .5s var(--ease), background .5s;
}
.scnx-node.lit { opacity: 0.9; transform: scale(1); }
.scnx-node.lit:nth-child(7n) { background: var(--accent); }
.scnx-build-side { text-align: left; display: flex; flex-direction: column; gap: 16px; }
.scnx-build-side .scnx-cap { text-align: left; }
.scnx-counters { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.scnx-counters li { display: flex; align-items: baseline; gap: 10px; }
.scnx-num { font-family: var(--font-mono); font-size: 1.7rem; font-weight: 600; color: var(--text-heading); line-height: 1; }
.scnx-num-lbl { font-size: 0.8rem; color: var(--text-mono); }

/* — calibration — */
.scnx-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.scnx-check { display: flex; align-items: center; gap: 12px; color: var(--text-mono); font-size: 0.96rem; transition: color .4s var(--ease); }
.scnx-check.ok { color: var(--text-body); }
.scnx-ck {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--border-strong); position: relative; transition: border-color .4s, background .4s;
}
.scnx-check.ok .scnx-ck { border-color: var(--ok); background: rgba(111,174,106,0.15); }
.scnx-ck::after {
  content: ""; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 10px;
  border-right: 2px solid var(--ok); border-bottom: 2px solid var(--ok);
  transform: rotate(45deg) scale(0); transform-origin: center; transition: transform .35s var(--ease);
}
.scnx-check.ok .scnx-ck::after { transform: rotate(45deg) scale(1); }

/* — reactions — */
.scnx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; }
.scnx-rc {
  text-align: left; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 16px 16px;
  opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.scnx-rc.in { opacity: 1; transform: none; }
.scnx-rc-head { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; font-size: 0.68rem; color: var(--text-mono); margin-bottom: 9px; }
.scnx-quote { margin: 0; font-size: 0.96rem; line-height: 1.5; color: var(--text-body); }

/* — objections — */
.scnx-chips { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; }
.scnx-chip { font-size: 0.92rem; opacity: 0; transform: translateY(8px) scale(0.96); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.scnx-chip.in { opacity: 1; transform: none; }
.scnx-chip b { color: var(--text-heading); margin-left: 3px; }

/* — forum — */
.scnx-thread { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 620px; }
.scnx-msg {
  margin: 0; text-align: left; font-size: 0.98rem; line-height: 1.5; color: var(--text-body);
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px 14px 14px 14px;
  padding: 11px 15px; max-width: 82%; align-self: flex-start;
  opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.scnx-msg.in { opacity: 1; transform: none; }
.scnx-msg .scnx-who { font-weight: 700; color: var(--text-heading); margin-right: 8px; }
.scnx-msg.reply, .scnx-msg.seed { align-self: flex-end; border-radius: 14px 4px 14px 14px; }
.scnx-msg.shift { border-color: rgba(111,174,106,0.45); background: rgba(111,174,106,0.09); }
.scnx-shift-tag { display: inline-block; margin-left: 9px; font-size: 0.66rem; color: var(--ok); letter-spacing: 0.04em; }

/* — verdict — */
.scnx-verdict {
  text-align: left; width: 100%; max-width: 620px; margin: 0 auto;
  background: var(--bg-card); border: 1px solid var(--border-strong);
  border-radius: var(--r-lg); padding: 22px 24px; box-shadow: var(--shadow-pop);
}
.scnx-verdict-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.scnx-verdict-head .mono { font-size: 0.76rem; color: var(--text-mono); }
.scnx-rec  { margin: 14px 0 0; font-size: 0.82rem; line-height: 1.5; color: var(--text-body); text-transform: none; }
.scnx-warn { margin: 7px 0 0; font-size: 0.8rem; line-height: 1.5; color: var(--warn); text-transform: none; }

/* foot */
.scnx-foot { display: flex; align-items: center; gap: 16px; }
.scnx-clock { color: var(--accent); font-size: 0.78rem; font-variant-numeric: tabular-nums; letter-spacing: 0.03em; }
.scnx-replay {
  border: 1px solid var(--border-strong); background: transparent; color: var(--text-muted);
  cursor: pointer; font-size: 0.74rem; padding: 7px 14px; border-radius: 999px; letter-spacing: 0.03em;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.scnx-replay:hover { color: var(--text-heading); border-color: var(--accent); }

/* responsive */
@media (max-width: 820px) {
  .scnx-build { grid-template-columns: 1fr; gap: 22px; }
  .scnx-build-side, .scnx-build-side .scnx-cap { text-align: center; align-items: center; }
  .scnx-counters { align-items: center; }
  .scnx-cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .scnx-stage { min-height: clamp(340px, 56vh, 560px); }
}
@media (prefers-reduced-motion: reduce) {
  .scnx-scene, .scnx-rc, .scnx-msg, .scnx-chip, .scnx-node, .scnx-check, .scnx-ck::after { transition: none; }
  .scnx-stim-text.typing::after { display: none; }
}

/* ========================================================================
   #run — additions: picker, population cloud, CTA, controls, demo note
   ===================================================================== */

/* persistent population cloud (clusters by segment, pulses on reactions) */
.scnx-cloud-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.scnx-cnode {
  position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%;
  background: var(--text-mono); opacity: 0; transform: scale(0.5);
  transition: opacity .6s var(--ease), transform .6s var(--ease), background .4s, box-shadow .4s;
}
.scnx-cnode.hot { background: var(--accent); }
.scnx-cnode.lit { opacity: 0.62; transform: scale(1); }
.scnx-cnode.hot.lit { opacity: 0.88; }
.scnx-cloud-layer.settled .scnx-cnode.lit { opacity: 0.15; }
.scnx-cloud-layer.settled .scnx-cnode.hot.lit { opacity: 0.32; }
.scnx-cloud-layer .scnx-cnode.pulse {
  opacity: 0.95; transform: scale(2); background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

/* scenario picker (tabs) */
.scnx-picker { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.scnx-pick {
  border: 1px solid var(--border-strong); background: transparent; color: var(--text-muted);
  cursor: pointer; padding: 6px 15px; border-radius: 999px; font-size: 0.74rem;
  letter-spacing: 0.03em; transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.scnx-pick:hover { color: var(--text-heading); border-color: var(--accent); }
.scnx-pick[aria-selected="true"] { color: var(--text-heading); background: var(--accent-soft); border-color: var(--accent); }

/* audience counters as a centered stat row (cloud assembles behind) */
.scnx-counters { flex-direction: row; gap: clamp(24px, 5vw, 52px); justify-content: center; }
.scnx-counters li { flex-direction: column; align-items: center; gap: 4px; }
.scnx-num { font-size: clamp(1.5rem, 1rem + 2vw, 2.1rem); }
.scnx-num-lbl { font-size: 0.74rem; }

/* verdict conversion CTA */
.scnx-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.scnx-cta .btn { font-size: 0.92rem; }

/* foot: stack controls / clock / demo note */
.scnx-foot { flex-direction: column; gap: 11px; }
.scnx-controls { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.scnx-ctl {
  border: 1px solid var(--border-strong); background: transparent; color: var(--text-muted);
  cursor: pointer; font-size: 0.72rem; padding: 6px 13px; border-radius: 999px;
  letter-spacing: 0.03em; transition: color .2s var(--ease), border-color .2s var(--ease);
}
.scnx-ctl:hover { color: var(--text-heading); border-color: var(--accent); }
.scnx-demo { font-size: 0.66rem; letter-spacing: 0.05em; color: var(--text-mono); opacity: 0.62; text-transform: none; }

/* mobile */
@media (max-width: 600px) {
  .scnx-num { font-size: 1.5rem; }
  .scnx-counters { gap: 22px; }
  .scnx-cta { width: 100%; }
  .scnx-cta .btn { flex: 1 1 auto; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .scnx-cnode { transition: none; }
}

/* ---- cloud: crowd-interaction links + central dimming (forum step) ---- */
.scnx-links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.scnx-link { stroke: var(--accent); stroke-width: 1.1; opacity: 0; transition: opacity .55s var(--ease); }
.scnx-link.on { opacity: 0.4; }
.scnx-cnode.dim.lit { opacity: 0.32; }
.scnx-cloud-layer.settled .scnx-cnode.dim.lit { opacity: 0.08; }
.scnx-cloud-layer .scnx-cnode.linked {
  opacity: 0.95; transform: scale(1.7); background: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow);
}

/* forum thread: 5 messages fit without scrolling — no fade so the first
   bubble never bleeds into the caption above */
.scnx-thread { max-height: 420px; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .scnx-link { transition: none; } }

/* ---- verdict bars: reaction encoded by colour, length = market share ---- */
.bar-fill.is-pos  { background: var(--ok); }      /* принимают  */
.bar-fill.is-neg  { background: var(--accent); }  /* не принимают (сегмент, который теряем) */
.bar-fill.is-cond { background: var(--warn); }    /* при условии */
.scnx-legend {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  margin-bottom: 14px; font-size: 0.66rem; letter-spacing: 0.02em;
  color: var(--text-mono); text-transform: none;
}
.scnx-legend span { display: inline-flex; align-items: center; }
.scnx-legend .dot { width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.scnx-legend .dot.pos { background: var(--ok); }
.scnx-legend .dot.neg { background: var(--accent); }
.scnx-legend .dot.cond { background: var(--warn); }
.scnx-legend .scnx-legend-note { margin-left: auto; opacity: 0.7; }
@media (max-width: 600px) { .scnx-legend .scnx-legend-note { margin-left: 0; flex-basis: 100%; } }
