/* =========================================================================
   Лаборатория №40 — Лендинг v5
   Мягкая темная тема. Бордо / петроль акцент.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Backgrounds (layers) */
  --bg-page:        #1F2430;
  --bg-section:     #242A38;
  --bg-card:        #262C3D;
  --bg-hover:       #2B3243;
  --bg-deep:        #1A1F2A;

  /* Text */
  --text-body:      #E8E4DC;
  --text-heading:   #F2EFE8;
  --text-muted:     #A8ADB8;
  --text-mono:      #8E94A2;
  --text-footer:    #6E7383;

  /* Accent — bordo by default; switched via [data-accent="petrol"] */
  --accent:         #A8413E;
  --accent-hover:   #B85249;
  --accent-glow:    rgba(168, 65, 62, 0.25);
  --accent-focus:   rgba(168, 65, 62, 0.15);

  /* Lines & grids */
  --line-faint:     #2F3543;
  --line-strong:    #383F50;
  --bar-neutral:    #657086;
  --grid-illu:      #2A3040;

  /* System */
  --ok:             #6FAE6A;
  --err:            #D4615A;

  /* Form */
  --field-border:   #3F4555;

  /* Radius */
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;

  /* Shadows */
  --shadow-card:    0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-hover:   0 6px 18px rgba(0, 0, 0, 0.25);

  /* Motion */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);

  /* Containers */
  --container: 1280px;
  --gutter-desktop: 32px;
  --gutter-tablet: 24px;
  --gutter-mobile: 16px;

  /* Typography */
  --font-sans: 'Inter', 'Geist', 'IBM Plex Sans', 'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', 'Geist Mono', ui-monospace, monospace;
}

[data-accent="petrol"] {
  --accent:         #3E8A9F;
  --accent-hover:   #4A9BB0;
  --accent-glow:    rgba(62, 138, 159, 0.30);
  --accent-focus:   rgba(62, 138, 159, 0.18);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-md);
  z-index: 1000;
}
.skip-link:focus { left: 8px; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter-desktop);
}
section { position: relative; }

/* Standard vertical rhythm between blocks */
.block { padding: 120px 0; }
.block--tight { padding: 80px 0; }
.block:first-of-type { padding-top: 0; }

/* Divider between sections */
.divider {
  height: 1px;
  background: var(--line-faint);
  margin: 0;
  border: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  color: var(--text-heading);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1.display {
  font-size: clamp(32px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
}
h2.section-title {
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
h3.card-title {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
}
p { margin: 0; }
.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 64ch;
}
.small {
  font-size: 13px;
  color: var(--text-mono);
  line-height: 1.5;
}
.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mono);
  font-weight: 500;
}
.mono--accent { color: var(--accent); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(31, 36, 48, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line-faint);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-heading);
  min-height: 44px;
}
.brand__mark {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--text-body);
}
.brand__name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--text-muted);
}
.nav__links a { transition: color 150ms var(--ease); white-space: nowrap; }
.nav__links a:hover { color: var(--text-body); }
.nav__cta { display: flex; align-items: center; gap: 10px; }

@media (max-width: 1100px) {
  .nav__links { display: none; }
}
@media (max-width: 640px) {
  .nav__cta .btn--ghost { display: none; }
  .brand__name { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-md);
  font-weight: 500;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: background 180ms var(--ease),
              border-color 180ms var(--ease),
              transform 180ms var(--ease),
              box-shadow 180ms var(--ease);
  min-height: 44px;
  padding: 12px 24px;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--primary:active { transform: translateY(1px); }
.btn--secondary {
  background: transparent;
  border-color: var(--text-body);
  color: var(--text-body);
}
.btn--secondary:hover { background: rgba(232, 228, 220, 0.08); }
.btn--lg {
  padding: 16px 32px;
  font-size: 16px;
  min-height: 52px;
}
.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text-body);
  font-size: 14px;
  padding: 10px 18px;
}
.btn--ghost:hover { background: var(--bg-hover); border-color: var(--text-muted); }
.btn--glow.btn--primary {
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn--glow.btn--primary:hover {
  box-shadow: 0 0 36px var(--accent-glow), 0 4px 14px rgba(0,0,0,0.3);
  transform: translateY(-1px);
}

.btn .arrow {
  width: 14px; height: 14px;
  transition: transform 200ms var(--ease);
}
.btn:hover .arrow { transform: translateX(3px); }

/* Text link */
.tlink {
  color: var(--accent);
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}
.tlink::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transition: opacity 150ms var(--ease);
}
.tlink:hover::after { opacity: 1; }

/* ---------- Card pattern ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: background 200ms var(--ease),
              transform 200ms var(--ease),
              border-color 200ms var(--ease),
              box-shadow 200ms var(--ease);
}
.card--hoverable:hover {
  background: var(--bg-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.card--hoverable::before {
  content: '';
  position: absolute;
  left: 0; top: 16px; bottom: 16px;
  width: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 200ms var(--ease);
  border-radius: 2px;
}
.card--hoverable:hover::before { opacity: 1; }

.card__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-mono);
  margin-bottom: 16px;
  display: block;
}
.card__title { margin-bottom: 8px; }
.card__body {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- Block: hero ---------- */
.hero {
  padding: 96px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.hero__intro { max-width: 760px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-focus);
}
.hero__title { margin-bottom: 20px; }
.hero__title .accent { color: var(--accent); }
.hero__sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 64ch;
  margin-bottom: 32px;
}
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.hero__note {
  color: var(--text-mono);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__note::before {
  content: '';
  width: 12px; height: 1px;
  background: var(--text-mono);
  display: inline-block;
}

/* Hero process diagram */
.process-hero {
  margin-top: 56px;
  background: var(--bg-section);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-xl);
  padding: 32px;
  position: relative;
}
.process-hero__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 8px;
}
.process-hero__caption {
  color: var(--text-muted);
  font-size: 13px;
  max-width: 50ch;
}

/* Process diagram visuals */
.process {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  position: relative;
}
.process__stage {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 18px;
  border-radius: var(--r-md);
  position: relative;
  cursor: default;
  transition: background 180ms var(--ease);
}
.process__stage:hover { background: var(--bg-hover); }
.process__stage::after {
  /* connector arrow to next stage */
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--line-strong);
  z-index: 1;
}
.process__stage:last-child::after { display: none; }
.process__stage .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-mono);
}
.process__stage .glyph {
  width: 64px;
  height: 64px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--bg-card);
  position: relative;
  transition: border-color 250ms var(--ease), background 250ms var(--ease);
}
.process__stage .glyph svg {
  width: 42px;
  height: 42px;
}
.process__stage[data-on="1"] .glyph {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 12%, var(--bg-card));
}
.process__stage[data-on="1"] .num {
  color: var(--accent);
}
.process__stage .lbl {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.3;
}
.process__stage .desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Tooltip on process stage */
.process__stage .tip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--bg-deep);
  border: 1px solid var(--line-strong);
  color: var(--text-body);
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 150ms var(--ease), transform 150ms var(--ease);
  z-index: 5;
}
.process__stage:hover .tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 12px; }
  .process__stage::after { display: none; }
  .process__stage { flex-direction: row; align-items: center; gap: 14px; padding: 14px; background: var(--bg-card); }
  .process__stage .glyph { width: 52px; height: 52px; flex-shrink: 0; }
  .process__stage .glyph svg { width: 34px; height: 34px; }
  .process__stage > div:last-child { display: flex; flex-direction: column; gap: 4px; }
  .process__stage .tip { display: none; }
}

/* ---------- Block 2: decisions ticker ---------- */
.ticker {
  padding: 56px 0 56px;
  background: var(--bg-section);
  border-top: 1px solid var(--line-faint);
  border-bottom: 1px solid var(--line-faint);
  overflow: hidden;
}
.ticker__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.ticker__head h2 {
  font-size: 22px;
  color: var(--text-heading);
  font-weight: 500;
}
.ticker__caption {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 60ch;
}
.ticker__strip {
  --gap: 32px;
  display: flex;
  gap: var(--gap);
  width: max-content;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text-body);
  animation: tick 60s linear infinite;
  padding: 14px 0;
}
.ticker__strip:hover { animation-play-state: paused; }
.ticker__viewport {
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__item {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: var(--gap);
}
.ticker__item::after {
  content: '·';
  color: var(--text-mono);
}
@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Block 3: what you get ---------- */
.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.section-head .mono { margin-bottom: 14px; display: inline-block; }
.section-head h2 { margin-bottom: 18px; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

/* Report mock */
.report {
  margin-top: 56px;
  background: var(--bg-section);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-xl);
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 900px) { .report { grid-template-columns: 1fr; } }
.report__head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.report__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-mono);
}
.report__pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 3px 8px;
  border-radius: 4px;
}
.report__panel {
  background: var(--bg-deep);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-md);
  padding: 18px;
}
.report__panel h4 {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mono);
  font-weight: 500;
  margin-bottom: 14px;
}
.report__left,
.report__right {
  min-width: 0;
}
.report__left {
  display: flex;
}
.report__left > .report__panel {
  flex: 1;
}
.report__right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}
.report__right > .report__panel {
  flex: 1;
}

/* Segment bars */
.segbar { display: flex; flex-direction: column; gap: 10px; }
.segbar__row {
  display: grid;
  grid-template-columns: 100px 1fr 36px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.segbar__label { color: var(--text-body); }
.segbar__track {
  height: 8px;
  background: var(--line-faint);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.segbar__fill {
  height: 100%;
  border-radius: 6px;
  background: var(--accent);
  transform-origin: left;
}
.segbar__fill--muted { background: var(--bar-neutral); }
.segbar__fill--ok { background: var(--ok); }
.segbar__val {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mono);
  text-align: right;
}

/* ---------- Block 4: case ---------- */
.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; } }
.case-col {
  background: var(--bg-card);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-lg);
  padding: 28px;
}
.case-col h4 {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mono);
  font-weight: 500;
  margin-bottom: 18px;
}
.case-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.case-col li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-body);
  padding-left: 22px;
  position: relative;
}
.case-col li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 12px; height: 1px;
  background: var(--accent);
}
.case-col--reality li::before { background: var(--text-muted); }
.case-curve {
  background: var(--bg-card);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-lg);
  padding: 28px;
  margin-bottom: 14px;
}
.case-curve__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}
.case-curve h4 {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mono);
  font-weight: 500;
}
.case-curve__legend {
  display: inline-flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-mono);
}
.case-curve__legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.case-curve__legend i {
  width: 12px; height: 2px;
  display: inline-block;
  border-radius: 2px;
}
.case-note {
  color: var(--text-mono);
  font-size: 13px;
  max-width: 80ch;
}

/* ---------- Block 5: reaction tiles ---------- */
.tile {
  background: var(--bg-card);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: background 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 360px;
}
.tile:hover {
  background: var(--bg-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.tile__head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
}
.tile__head .mono { font-size: 11px; }
.tile__title {
  font-size: 22px;
  font-weight: 600;
  min-height: 58px;
  display: flex;
  align-items: flex-start;
}
.tile__illu {
  height: 140px;
  background: var(--bg-deep);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
}
.tile__body {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}
.tile__signals {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-mono);
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line-faint);
}

/* ---------- Block 6: loud / quiet ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line-faint);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-card);
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split__col {
  padding: 36px;
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
.split__col--loud {
  background: linear-gradient(180deg, var(--bg-card), color-mix(in oklab, var(--accent) 6%, var(--bg-card)));
}
.split__col--quiet {
  background: var(--bg-deep);
  border-left: 1px solid var(--line-faint);
}
@media (max-width: 900px) {
  .split__col--quiet { border-left: 0; border-top: 1px solid var(--line-faint); }
}
.split__lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-mono);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.split__col h3 {
  font-size: 28px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.split__col--loud h3 { color: var(--text-heading); }
.split__col--quiet h3 { color: var(--text-muted); }
.split__list { list-style: none; padding: 0; margin: 0 0 24px 0; display: flex; flex-direction: column; gap: 12px; }
.split__list li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-body);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.split__col--quiet .split__list li { color: var(--text-muted); }
.split__list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex-shrink: 0;
}
.split__col--quiet .split__list li::before {
  background: transparent;
  border: 1px solid var(--text-mono);
  width: 6px; height: 6px;
  border-radius: 50%;
}
.split__viz {
  margin-top: auto;
  height: 120px;
  position: relative;
}

/* ---------- Block 7: process + discussion ---------- */
.stages {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 56px;
}
@media (max-width: 1100px) { .stages { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .stages { grid-template-columns: 1fr; } }
.stage {
  background: var(--bg-card);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: background 180ms var(--ease), border-color 180ms var(--ease);
}
.stage:hover { background: var(--bg-hover); border-color: var(--line-strong); }
.stage__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.stage__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-body);
}
.stage__body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Discussion mock */
.discussion {
  background: var(--bg-section);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-xl);
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) { .discussion { grid-template-columns: 1fr; } }
.discussion__intro h3 {
  font-size: 24px;
  margin-bottom: 14px;
  font-weight: 600;
}
.discussion__intro p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 18px;
}
.discussion__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mono);
}
.discussion__meta span::before { content: '— '; }
.thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px;
  background: var(--bg-deep);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-md);
}
.msg {
  background: var(--bg-card);
  border: 1px solid var(--line-faint);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.45;
  position: relative;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 350ms var(--ease), transform 350ms var(--ease);
}
.msg.is-in { opacity: 1; transform: translateY(0); }
.msg__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-mono);
  margin-bottom: 6px;
}
.msg--pivot {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 8%, var(--bg-card));
  box-shadow: 0 0 0 1px var(--accent-focus);
}
.msg--pivot .msg__meta { color: var(--accent); }
.msg--pivot::after {
  content: 'СДВИГАЕТ СОМНЕВАЮЩИХСЯ';
  position: absolute;
  right: 10px; top: -8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  border-radius: 3px;
}

/* ---------- Block 8: calibration ---------- */
.calib {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
@media (max-width: 900px) { .calib { grid-template-columns: 1fr; } }
.calib__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.calib-card {
  background: var(--bg-card);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  transition: background 180ms var(--ease);
}
.calib-card:hover { background: var(--bg-hover); }
.calib-card__head {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.calib-card__title {
  font-size: 15px; font-weight: 600; color: var(--text-heading);
}
.calib-card__year {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-mono); letter-spacing: 0.08em;
}
.calib-card__rows {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 6px 16px;
  font-size: 13px;
}
.calib-card__rows dt {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-mono);
}
.calib-card__rows dd {
  margin: 0; color: var(--text-body); line-height: 1.45;
}
.calib-scatter {
  background: var(--bg-card);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-lg);
  padding: 24px;
  position: relative;
}

/* ---------- Block 9: formats ---------- */
.format {
  background: var(--bg-card);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease);
  position: relative;
}
.format:hover { background: var(--bg-hover); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.format__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-mono);
}
.format__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.3;
}
.format__body {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  flex-grow: 1;
}
.format__meta {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-mono);
  letter-spacing: 0.06em;
  padding-top: 10px;
  border-top: 1px dashed var(--line-faint);
}
.format__cta {
  margin-top: 4px;
}

/* ---------- Block 10: privacy ---------- */
.privacy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .privacy { grid-template-columns: 1fr; gap: 32px; } }
.privacy__body p {
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 64ch;
}
.principles {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 16px;
}
.principles li {
  background: var(--bg-card);
  border: 1px solid var(--line-faint);
  border-left: 2px solid var(--accent);
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.5;
}
.privacy__hr-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-mono);
  font-style: normal;
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
}

/* ---------- Block 11: FAQ ---------- */
.faq {
  max-width: 880px;
  margin: 0 auto;
}
.faq__item {
  border-top: 1px solid var(--line-faint);
}
.faq__item:last-child { border-bottom: 1px solid var(--line-faint); }
.faq__btn {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--text-heading);
  font-size: 18px;
  font-weight: 500;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  gap: 24px;
  line-height: 1.4;
  font-family: inherit;
}
.faq__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.faq__icon {
  width: 20px; height: 20px;
  position: relative;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color 200ms var(--ease), transform 300ms var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}
.faq__icon::before { left: 50%; top: 2px; bottom: 2px; width: 1.5px; transform: translateX(-50%); }
.faq__icon::after { top: 50%; left: 2px; right: 2px; height: 1.5px; transform: translateY(-50%); }
.faq__item[data-open="1"] .faq__icon {
  color: var(--accent);
  transform: rotate(45deg);
}
.faq__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms var(--ease), opacity 300ms var(--ease);
  opacity: 0;
}
.faq__item[data-open="1"] .faq__panel {
  opacity: 1;
}
.faq__panel-inner {
  padding: 0 0 24px 0;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 70ch;
}

/* ---------- Block 12: final CTA ---------- */
.final-cta {
  background: var(--bg-section);
  border-radius: var(--r-xl);
  padding: 64px 48px;
  border: 1px solid var(--line-faint);
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 640px) { .final-cta { padding: 40px 24px; } }
.final-cta h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 18px;
  max-width: 22ch;
  margin-inline: auto;
}
.final-cta p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.55;
  max-width: 56ch;
  margin: 0 auto 32px;
}
.final-cta__cta {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.final-cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* ---------- Block 13: footer ---------- */
.footer {
  border-top: 1px solid var(--line-faint);
  padding: 56px 0 40px;
  background: var(--bg-page);
  color: var(--text-muted);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 24px; } }
.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mono);
  margin: 0 0 14px 0;
  font-weight: 500;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__col a:hover { color: var(--text-body); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .footer__col ul { gap: 0; }
  .footer__col a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
}
.footer__brand p {
  font-size: 13px;
  color: var(--text-mono);
  line-height: 1.55;
  max-width: 36ch;
  margin-top: 12px;
}
.footer__legal {
  border-top: 1px solid var(--line-faint);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-footer);
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 6px 6px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.02);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}
.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-cta__label {
  font-size: 13px;
  color: var(--text-body);
  font-weight: 500;
  min-width: 0;
}
.sticky-cta__btn {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  min-height: 40px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 180ms var(--ease);
}
.sticky-cta__btn:hover { background: var(--accent-hover); }
.sticky-cta__close {
  width: 40px; height: 40px;
  min-width: 40px;
  flex: 0 0 40px;
  border-radius: 999px;
  background: transparent;
  border: 0;
  color: var(--text-mono);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 150ms var(--ease), color 150ms var(--ease);
}
.sticky-cta__close:hover { background: var(--bg-hover); color: var(--text-body); }
@media (max-width: 560px) {
  .sticky-cta { right: 12px; bottom: 12px; left: 12px; justify-content: space-between; }
}

/* ---------- Scroll-in animation utility ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  will-change: opacity, transform;
}
.fade-in.is-in {
  opacity: 1;
  transform: translateY(0);
}
.fade-stagger > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.fade-stagger.is-in > * { opacity: 1; transform: translateY(0); }
.fade-stagger.is-in > *:nth-child(1) { transition-delay: 0ms; }
.fade-stagger.is-in > *:nth-child(2) { transition-delay: 80ms; }
.fade-stagger.is-in > *:nth-child(3) { transition-delay: 160ms; }
.fade-stagger.is-in > *:nth-child(4) { transition-delay: 240ms; }
.fade-stagger.is-in > *:nth-child(5) { transition-delay: 320ms; }
.fade-stagger.is-in > *:nth-child(6) { transition-delay: 400ms; }
.fade-stagger.is-in > *:nth-child(7) { transition-delay: 480ms; }
.fade-stagger.is-in > *:nth-child(8) { transition-delay: 560ms; }

/* ---------- Responsive overrides ---------- */
@media (max-width: 1024px) {
  .container { padding-inline: var(--gutter-tablet); }
  .block { padding: 80px 0; }
}
@media (max-width: 640px) {
  .container { padding-inline: var(--gutter-mobile); }
  .block { padding: 56px 0; }
  .hero { padding: 64px 0 48px; }
  .hero__intro .display { margin-bottom: 10px; }
  .process-hero { padding: 20px; }
  .split__col { padding: 24px; min-height: auto; }
  .report { padding: 18px; }
  .discussion { padding: 20px; }
  .tile { min-height: auto; }
  .tile__title { min-height: auto; }
}
