/* MOST landing below-fold — deferred after ATF */
/* Мост Африка ↔ Россия — 2D-силуэты (вектор из карт), дуги и фразы поверх */
.span-section {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 3.25rem 0 2.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 28% 55%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 70%),
    radial-gradient(ellipse 70% 55% at 76% 45%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 70%),
    var(--surface-muted);
}
html.dark .span-section {
  background:
    radial-gradient(ellipse 70% 55% at 28% 55%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%),
    radial-gradient(ellipse 70% 55% at 76% 45%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    #071016;
  border-block: 1px solid var(--border);
}
.span-section .wrap { position: relative; z-index: 2; width: 100%; }
.span-wide { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 0.75rem; }
.span-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1280 / 680;
  margin-top: 0.5rem;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.span-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }

.sil-base { fill: color-mix(in srgb, var(--accent) 20%, var(--surface-muted)); }
html.dark .sil-base { fill: color-mix(in srgb, var(--accent) 22%, #0c1420); }
.sil-glow { fill: var(--accent); opacity: 0.30; filter: url(#spanBlur); }
html.dark .sil-glow { opacity: 0.42; }
.sil-edge {
  fill: none; stroke: color-mix(in srgb, var(--accent) 80%, transparent);
  stroke-width: 1.3; vector-effect: non-scaling-stroke; stroke-linejoin: round;
}
.ctry { stroke: none; }
.ctry-rest { fill: color-mix(in srgb, var(--accent) 32%, var(--surface-muted)); }
.ctry-fr   { fill: color-mix(in srgb, var(--accent) 58%, var(--surface-muted)); }
.ctry-tg   { fill: var(--accent-em); }
html.dark .ctry-rest { fill: color-mix(in srgb, var(--accent) 31%, #0c1420); }
html.dark .ctry-fr   { fill: color-mix(in srgb, var(--accent) 56%, #0c1420); }
html.dark .ctry-tg   { fill: #cfdaff; }
.sil-ru { fill: color-mix(in srgb, var(--accent) 36%, var(--surface-muted)); }
html.dark .sil-ru { fill: color-mix(in srgb, var(--accent) 32%, #0c1420); }

.arc-halo { fill: none; stroke: var(--surface-muted); stroke-linecap: round; opacity: 0.9; }
html.dark .arc-halo { stroke: #071016; opacity: 0.8; }
.arc-line { fill: none; stroke: var(--on); stroke-linecap: round; }
.city { fill: var(--surface); stroke: var(--accent-em); transition: opacity 400ms ease; }
html.dark .city { fill: #0c1420; stroke: #cfdaff; }
.city.is-home { stroke-width: 2.4; }
.city-ring { fill: none; stroke: var(--on); }

.span-overlay { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.span-chip, .span-city {
  position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap;
  will-change: transform, opacity; pointer-events: none;
}
.span-chip {
  padding: 0.4rem 0.65rem;
  font: 600 0.84rem/1.25 var(--font);
  color: var(--on);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--border));
  border-radius: var(--radius);
  box-shadow: 0 8px 22px -10px rgba(5, 20, 20, 0.45);
}
html.dark .span-chip { box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.8); }
.span-city {
  font: 700 0.72rem/1 var(--font); color: var(--on);
  text-shadow: 0 0 3px var(--surface-muted), 0 0 3px var(--surface-muted), 0 0 6px var(--surface-muted);
}
html.dark .span-city { text-shadow: 0 0 3px #071016, 0 0 3px #071016, 0 0 6px #071016; }
@media(max-width: 719.98px) {
  .span-section { padding-top: 2.5rem; }
  .span-wide { padding: 0 0.25rem; }
  .span-stage { aspect-ratio: 700 / 900; }
  .span-chip { font-size: 0.76rem; padding: 0.34rem 0.5rem; }
  .span-city { font-size: 0.66rem; }
}

/* Programme #route — pont suspendu + lanternes + carte 2 col */
#route .route-wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 2.2vw, 1.75rem);
  width: 100%;
  --route-ac: var(--accent);
  --route-line: var(--border);
  --route-card: var(--surface);
  --route-mu: var(--on-muted);
  --route-steel: color-mix(in srgb, var(--accent) 55%, var(--on));
  --route-lamp: #9aa7a2;
  --route-lamp-on: #ffe6a8;
  --route-glow: #f6c96a;
}
#route .section-title { max-width: 48rem; }
#route .section-lead { max-width: 40rem; margin-bottom: 1.35rem; }

.route-desk { display: block; }
.route-mob { display: none; }

.route-bridge {
  position: relative;
  margin: 0.35rem calc(50% - 50vw) 0.5rem;
  width: 100vw;
  max-width: 100vw;
  contain: layout style;
}
/* Trees / dog hops only animate while #route is live */
#route:not(.route-live) .route-tree,
#route:not(.route-live) .rw-dog {
  animation-play-state: paused;
}
.route-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.route-sky {
  fill: color-mix(in srgb, var(--accent) 6%, transparent);
}
.route-water {
  fill: color-mix(in srgb, var(--accent) 10%, var(--surface));
  opacity: 0.55;
}
.route-cable {
  fill: none;
  stroke: var(--route-steel);
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.route-cable-soft {
  fill: none;
  stroke: color-mix(in srgb, var(--route-ac) 35%, var(--route-line));
  stroke-width: 2.4;
  stroke-linecap: round;
  opacity: 0.9;
}
.route-tower-leg {
  stroke: var(--route-steel);
  stroke-width: 10;
  stroke-linecap: round;
}
.route-tower-bar {
  fill: var(--route-steel);
}
.route-pier {
  fill: color-mix(in srgb, var(--route-steel) 55%, var(--route-line));
}
.route-deck-plate {
  fill: color-mix(in srgb, var(--accent) 12%, var(--route-card));
  stroke: var(--route-line);
  stroke-width: 2;
}
.route-deck-rail {
  stroke: var(--route-ac);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0.45;
}
.route-tree {
  transform-origin: 0 0;
  animation: route-tree-sway 5.2s ease-in-out infinite;
  animation-delay: calc(var(--tw, 0) * 0.55s);
}
.route-tree-trunk {
  stroke: color-mix(in srgb, var(--on) 35%, var(--route-line));
  stroke-width: 2.4;
  stroke-linecap: round;
}
.route-tree-canopy {
  fill: color-mix(in srgb, var(--accent) 24%, var(--route-card));
  stroke: color-mix(in srgb, var(--accent) 35%, var(--route-line));
  stroke-width: 1.05;
}
.route-tree-canopy--soft {
  fill: color-mix(in srgb, var(--accent) 16%, var(--route-card));
  stroke: color-mix(in srgb, var(--accent) 22%, var(--route-line));
  opacity: 0.92;
}
html.dark .route-tree-canopy {
  fill: color-mix(in srgb, var(--accent) 30%, #1a2420);
}
html.dark .route-tree-canopy--soft {
  fill: color-mix(in srgb, var(--accent) 22%, #15201c);
}
@keyframes route-tree-sway {
  0%, 100% { transform: rotate(-1.8deg); }
  50% { transform: rotate(2.4deg); }
}
/* Pictogram pedestrians — rAF drift on the deck */
.route-walkers { pointer-events: none; }
.route-walker {
  color: color-mix(in srgb, var(--accent) 55%, var(--on));
  opacity: 0.78;
}
.route-walker--b { color: color-mix(in srgb, var(--accent) 40%, var(--on-muted)); opacity: 0.74; }
.route-walker--c { color: color-mix(in srgb, var(--accent-em) 45%, var(--on)); opacity: 0.76; }
html.dark .route-walker { opacity: 0.86; }
.route-walker .rw-fill { fill: currentColor; }
.route-walker .rw-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rw-dog {
  transform-box: fill-box;
  transform-origin: center bottom;
  transform: translate(3px, 0);
  animation: rw-dog-hop 8.4s cubic-bezier(0.33, 0.1, 0.25, 1) infinite;
}
.route-walker-slot:nth-child(4n) .rw-dog { animation-delay: -2.1s; }
.route-walker-slot:nth-child(4n+1) .rw-dog { animation-delay: -5.4s; }
.route-walker-slot:nth-child(4n+2) .rw-dog { animation-delay: -0.8s; }
.route-walker-slot:nth-child(4n+3) .rw-dog { animation-delay: -6.9s; }
@keyframes rw-dog-hop {
  0%, 68%, 100% { transform: translate(3px, 0); }
  71% { transform: translate(3.2px, -5px); }
  74% { transform: translate(3px, 0); }
  88%, 91% { transform: translate(3px, 0); }
  89.5% { transform: translate(3.1px, -3.2px); }
}
.rw-leash { opacity: 0.8; }
@media(prefers-reduced-motion: reduce) {
  .rw-dog { animation: none !important; }
}
.route-hanger {
  stroke: color-mix(in srgb, var(--accent) 40%, var(--route-line));
  stroke-width: 1.7;
  stroke-linecap: round;
  transition:
    stroke 420ms cubic-bezier(0.22, 1, 0.36, 1),
    stroke-width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.route-hanger.is-on {
  stroke: var(--route-ac);
  stroke-width: 3.6;
}
.route-node-circ {
  fill: var(--route-card);
  stroke: var(--route-line);
  stroke-width: 2;
  transition:
    stroke 360ms cubic-bezier(0.22, 1, 0.36, 1),
    fill 360ms cubic-bezier(0.22, 1, 0.36, 1),
    stroke-width 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.route-node-circ.is-on {
  stroke: var(--route-ac);
  stroke-width: 2.8;
  fill: color-mix(in srgb, var(--accent) 14%, var(--surface));
}
/* soon = quieter solid ring — never dashed */
.route-node-circ.is-soon {
  stroke: color-mix(in srgb, var(--route-line) 72%, transparent);
  opacity: 0.82;
}
.route-node-label-svg {
  fill: var(--route-mu);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  transition: fill 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.route-node-circ.is-on + .route-node-label-svg { fill: var(--accent-em); }
.route-marker-g {
  transition: transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.route-marker-ring {
  fill: none;
  stroke: var(--route-ac);
  stroke-width: 3.5;
  filter: drop-shadow(0 2px 6px color-mix(in srgb, var(--accent) 28%, transparent));
}
.route-marker-tip { fill: var(--route-ac); }

/* Lanterns — off by day, warm glow at night */
.route-lamp-pole {
  stroke: color-mix(in srgb, var(--on) 35%, var(--route-line));
  stroke-width: 2;
  stroke-linecap: round;
  transition: stroke 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.route-lamp-bulb {
  fill: var(--route-lamp);
  transition:
    fill 750ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 750ms cubic-bezier(0.22, 1, 0.36, 1);
}
.route-lamp-glow {
  fill: var(--route-glow);
  opacity: 0;
  transform-origin: center;
  transition:
    opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
html.dark .route-lamp-pole { stroke: color-mix(in srgb, var(--route-lamp-on) 35%, var(--route-line)); }
html.dark .route-lamp-bulb {
  fill: var(--route-lamp-on);
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--route-glow) 80%, transparent));
  transition-delay: calc(var(--i, 0) * 95ms);
}
html.dark .route-lamp-glow {
  opacity: 0.42;
  transition-delay: calc(var(--i, 0) * 95ms);
}
html.dark .route-lantern.is-on .route-lamp-glow { opacity: 0.62; }
html.dark .route-water { opacity: 0.28; }
html.dark .route-sky { fill: color-mix(in srgb, var(--accent) 10%, transparent); }

.route-hits {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.route-hit {
  appearance: none; border: 0; background: transparent;
  pointer-events: auto; cursor: pointer;
  position: absolute;
  /* Align with deck nodes (~y 220 / 300) */
  top: 58%;
  bottom: auto;
  width: 56px; height: 64px;
  margin: 0;
  transform: translate(-50%, -50%);
  border-radius: 999px;
}
.route-hit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.route-node-circ,
.route-node-label-svg {
  cursor: pointer;
  pointer-events: auto;
}

.route-panel {
  margin: 1.15rem 0 0;
  min-height: 9.5rem;
  transition:
    opacity 280ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.route-panel.is-swap {
  opacity: 0;
  transform: translateY(14px);
}
.route-panel-inner {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.route-copy { flex: 1 1 18rem; min-width: 0; }
.route-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-em);
  margin: 0 0 0.35rem;
}
.route-ico {
  width: 2.25rem; height: 2.25rem; border-radius: 0.65rem;
  display: grid; place-items: center; flex-shrink: 0;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--accent-em);
}
.route-ico svg { width: 1.2rem; height: 1.2rem; display: block; }
.route-copy h3 {
  margin: 0.15rem 0 0.45rem;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--on);
}
.route-copy > p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--on-muted);
  max-width: 36rem;
}
.route-phrase {
  flex: 0 1 20rem;
  max-width: 22rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1rem 1.2rem;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--on) 5%, transparent);
}
.route-phrase .ru {
  display: block;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--on);
}
.route-phrase .tr {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--on-muted);
}
.route-soon {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-muted);
  border: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
  background: color-mix(in srgb, var(--on) 4%, transparent);
  padding: 0.15rem 0.45rem;
  border-radius: 0.3rem;
  vertical-align: middle;
}
.route-seo {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Mobile theme rows (no bridge SVG) — number marks the active step, no row pill */
.route-mob-stage {
  position: relative;
  display: block;
}
.route-mob-rows {
  display: grid;
  gap: 0.15rem;
  align-content: start;
  padding: 0.1rem 0;
}
.route-mob-row {
  appearance: none;
  background: transparent;
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.35rem 0.15rem;
  border: 0;
  border-radius: 0;
  text-align: left;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--on);
  cursor: pointer;
  transition: color 200ms var(--ease), transform 180ms var(--ease);
}
.route-mob-row:active { transform: scale(0.995); }
.route-mob-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.86rem; font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--on-muted);
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease),
              color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.route-mob-t { min-width: 0; line-height: 1.25; }
.route-mob-soon {
  font-size: 0.7rem; font-weight: 750; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--on-muted);
}
/* Active = filled number only — no full-row tint / border */
.route-mob-row.is-on { color: var(--on); background: transparent; }
.route-mob-row.is-on .route-mob-n {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.route-mob-row.is-on .route-mob-t { color: var(--accent-em); }
.route-mob-row.is-soon { color: var(--on-muted); }
.route-mob-row.is-soon.is-on .route-mob-t { color: var(--accent-em); }

@media(max-width: 719.98px) {
  .route-desk { display: none; }
  .route-mob { display: block; }

  #route.block {
    padding: 1.1rem 0 1.25rem;
    box-sizing: border-box;
  }
  #route .route-wrap { padding: 0 1.1rem; }
  #route .section-title {
    margin-bottom: 0.35rem;
    font-size: clamp(1.3rem, 5.8vw, 1.65rem);
    line-height: 1.18;
  }
  #route .section-lead {
    margin-bottom: 0.85rem;
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .route-mob-rows { gap: 0.1rem; padding: 0; }
  .route-mob-row {
    min-height: 2.55rem;
    padding: 0.3rem 0.1rem;
    font-size: 0.98rem;
  }
  .route-mob-n {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.8rem;
  }
  .route-mob-soon { font-size: 0.66rem; }
  .route-panel { margin-top: 0.85rem; min-height: 0; }
  .route-panel-inner { gap: 0.75rem; align-items: flex-start; }
  .route-kicker { margin: 0 0 0.2rem; font-size: 0.72rem; }
  .route-ico { width: 1.85rem; height: 1.85rem; }
  .route-ico svg { width: 1rem; height: 1rem; }
  .route-copy h3 { margin: 0.1rem 0 0.3rem; font-size: 1.2rem; }
  .route-copy > p {
    font-size: 0.9rem;
    line-height: 1.45;
  }
  .route-phrase {
    max-width: none;
    flex: 1 1 100%;
    padding: 0.8rem 0.95rem;
    border-radius: 0.75rem;
  }
  .route-phrase .ru { font-size: 1.2rem; }
  .route-phrase .tr { margin-top: 0.25rem; font-size: 0.86rem; }
}
@media(prefers-reduced-motion: reduce) {
  .route-marker-g,
  .route-panel,
  .route-lamp-bulb,
  .route-lamp-glow,
  .route-lamp-pole { transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .route-tree { animation: none !important; }
}

/* Histoire #story — humble roles card */
.story-grid {
  display: grid; gap: 1.25rem;
}
@media(min-width: 760px) {
  .story-grid { grid-template-columns: 1.15fr 0.95fr; align-items: start; }
}
.story-kicker {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 0.35rem;
}
.story-copy .section-title { margin-bottom: 0.45rem; }
.story-copy .section-lead { margin-bottom: 0.85rem; }
.story-copy p { margin: 0 0 0.75rem; color: var(--on-muted); }
.story-copy p:last-child { margin-bottom: 0; }
.story-roles {
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  background: var(--surface);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--on) 6%, transparent);
}
html.dark .story-roles {
  background: color-mix(in srgb, var(--surface-muted) 40%, var(--surface));
}
.story-team {
  display: grid; gap: 0.7rem; padding: 1.05rem 1.1rem;
}
.story-team-row {
  display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.7rem; align-items: center;
}
.story-av {
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.78rem; font-weight: 700;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
}
.story-team-row span { font-size: 0.9rem; color: var(--on); line-height: 1.35; }

/* Как заходишь — бусы на нити */
.beads {
  position: relative;
  padding: 0.75rem 0 0.5rem;
}
.beads::before {
  content: ""; position: absolute; left: 1.2rem; top: 1.35rem; bottom: 2.4rem;
  width: 3px; border-radius: 99px;
  background: linear-gradient(
    180deg,
    var(--accent) 0%,
    color-mix(in srgb, var(--accent) 55%, transparent) 55%,
    color-mix(in srgb, var(--accent) 20%, transparent) 100%
  );
  animation: threadGlow 3.2s ease-in-out infinite alternate;
}
@keyframes threadGlow {
  from { opacity: 0.55; }
  to { opacity: 1; }
}
.bead {
  position: relative;
  display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.9rem;
  padding: 0.45rem 0 1.35rem;
}
.bead:last-child { padding-bottom: 0.2rem; }
.bead-knot {
  position: relative;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center; z-index: 1;
  background: var(--surface); border: 2.5px solid var(--accent);
  color: var(--accent-em); font-weight: 900; font-size: 0.95rem;
  box-shadow:
    0 0 0 6px color-mix(in srgb, var(--accent) 12%, transparent),
    0 6px 16px color-mix(in srgb, var(--on) 8%, transparent);
  /* Compositor-friendly pulse (avoid animating box-shadow — PSI non-composited). */
  animation: knotPulse 2.8s ease-in-out infinite;
}
.bead:nth-child(2) .bead-knot { animation-delay: 0.45s; }
.bead:nth-child(3) .bead-knot { animation-delay: 0.9s; }
@keyframes knotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.92; }
}
.bead-panel {
  border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); padding: 1.05rem 1rem 1rem;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--on) 5%, transparent);
  transition: border-color 200ms var(--ease), transform 220ms var(--ease);
}
.bead:hover .bead-panel {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  transform: translateY(-2px);
}
.bead-panel .chip {
  display: inline-block; margin-bottom: 0.45rem;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em;
  padding: 0.25rem 0.5rem; border-radius: var(--radius-btn);
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--accent-em);
}
.bead-panel strong { display: block; color: var(--on); font-size: 1.05rem; margin-bottom: 0.3rem; }
.bead-panel p { margin: 0; color: var(--on-muted); font-size: 0.9rem; }

/* Почему MOST — full viewport */
.why {
  position: relative; overflow: hidden;
  background: var(--on); color: var(--surface);
  min-height: 100svh; display: flex; align-items: center;
  padding: 4rem 0;
}
html.dark .why { background: #05080f; color: var(--on); border-block: 1px solid var(--border); }
.why .section-title { color: inherit; }
.why .section-lead { color: color-mix(in srgb, var(--surface) 72%, transparent); }
html.dark .why .section-lead { color: var(--on-muted); }
.why-backdrop {
  position: absolute; right: -6%; top: 8%;
  font-size: clamp(7rem, 32vw, 14rem); font-weight: 900; line-height: 0.85;
  color: color-mix(in srgb, var(--accent) 32%, transparent);
  transform: rotate(9deg); pointer-events: none; user-select: none;
}
.why-grid { position: relative; z-index: 1; display: grid; gap: 0.9rem; }
.why-card {
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--surface) 16%, transparent);
  background: color-mix(in srgb, var(--surface) 8%, transparent);
  padding: 1.25rem 1.15rem;
  transform: translateY(10px); opacity: 0.55;
  transition: transform 420ms var(--ease), opacity 420ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}
.why.is-in .why-card { transform: translateY(0); opacity: 1; }
.why.is-in .why-card:nth-child(2) { transition-delay: 90ms; }
.why.is-in .why-card:nth-child(3) { transition-delay: 180ms; }
.why-card.is-hot {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent), 0 16px 36px color-mix(in srgb, var(--accent) 18%, transparent);
}
html.dark .why-card { border-color: var(--border); background: var(--surface); }
.why-card .kicker {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-on-dark, var(--accent)); margin-bottom: 0.4rem;
}
.why-card strong { display: block; font-size: 1.15rem; margin-bottom: 0.35rem; }
.why-card p { margin: 0; font-size: 0.92rem; opacity: 0.88; }
.why-card .samples { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.75rem; }
.why-card .samples i {
  font-style: normal; font-weight: 800; font-size: 0.82rem;
  padding: 0.3rem 0.55rem; border-radius: var(--radius-btn);
  background: color-mix(in srgb, var(--accent) 26%, transparent);
  animation: chipLift 2.8s ease-in-out infinite;
}
.why-card .samples i:nth-child(2) { animation-delay: 0.2s; }
.why-card .samples i:nth-child(3) { animation-delay: 0.4s; }
.why-card .samples i:nth-child(4) { animation-delay: 0.6s; }
@keyframes chipLift {
  0%, 100% { transform: translateY(0); opacity: 0.75; }
  50% { transform: translateY(-4px); opacity: 1; }
}

/* Outcomes instead of "что внутри" with fake open/locked */
.outcomes { display: grid; gap: 0.75rem; }
.out {
  border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); padding: 1.15rem 1.1rem;
}
.out h3 { margin: 0 0 0.35rem; font-size: 1.05rem; color: var(--on); }
.out p { margin: 0; color: var(--on-muted); font-size: 0.92rem; }

/* Contact / register — no dual pricing */
.contact {
  border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); padding: 1.5rem 1.2rem;
}
.contact .price-line {
  display: flex; align-items: baseline; margin: 0 0 1rem;
}
.contact .price-line strong {
  font-size: 1.7rem; font-weight: 900; letter-spacing: -0.03em; color: var(--on);
}
.contact p { margin: 0 0 1rem; color: var(--on-muted); font-size: 0.95rem; }
.contact-links { display: grid; gap: 0.55rem; margin: 1rem 0 0; }
.contact-links a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 2.85rem; padding: 0 0.95rem; border-radius: var(--radius-btn);
  border: 1px solid var(--border); text-decoration: none; font-weight: 700; font-size: 0.92rem;
  background: color-mix(in srgb, var(--surface-muted) 50%, var(--surface));
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}
.contact-links a:hover { border-color: var(--accent); }
.contact-links a em { font-style: normal; color: var(--on-muted); font-weight: 600; font-size: 0.82rem; }

/* Contact chips — equal grid, icon + label only */
.contact-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 1.1rem 0 0;
}
@media (min-width: 640px) {
  .contact-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.contact-chip {
  display: inline-flex; align-items: center; justify-content: flex-start;
  gap: 0.55rem; width: 100%; box-sizing: border-box;
  min-height: 2.9rem; padding: 0.45rem 0.85rem 0.45rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--on); text-decoration: none;
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease),
              color 200ms var(--ease), transform 200ms var(--ease),
              box-shadow 200ms var(--ease);
}
.contact-chip:hover {
  border-color: color-mix(in srgb, var(--chip-brand, var(--accent)) 55%, var(--border));
  background: color-mix(in srgb, var(--chip-brand, var(--accent)) 8%, var(--surface));
  transform: translateY(-1px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--on) 8%, transparent);
}
.contact-chip:active { transform: translateY(0) scale(0.99); }
.contact-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.9rem; height: 1.9rem; flex: 0 0 auto;
  border-radius: 999px;
  background: color-mix(in srgb, var(--chip-brand, var(--accent)) 14%, var(--surface));
  color: var(--chip-brand, var(--accent-em));
}
.contact-ico svg { width: 1.05rem; height: 1.05rem; display: block; }
.contact-txt {
  display: block; min-width: 0; line-height: 1.2;
  font-size: 0.88rem; font-weight: 700;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.contact-chip[data-net="mail"] { --chip-brand: var(--accent); }
.contact-chip[data-net="whatsapp"] { --chip-brand: #25d366; }
.contact-chip[data-net="telegram"] { --chip-brand: #26a5e4; }
.contact-chip[data-net="instagram"] { --chip-brand: #e4405f; }
.contact-chip[data-net="facebook"] { --chip-brand: #0866ff; }
.contact-chip[data-net="vk"] { --chip-brand: #0077ff; }
.contact-official {
  margin: 1.55rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
  font-size: 0.88rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--on);
}

/* FAQ — без рамок и «плюсов в квадратах»: линии-разделители, плавный accordion */
.faq { --faq-ease: cubic-bezier(0.22, 0.8, 0.2, 1); margin-top: 1.25rem; border-top: 1px solid var(--border); }
details.faq-item {
  position: relative; border-bottom: 1px solid var(--border);
  transition: background-color 0.45s var(--faq-ease), opacity 0.6s var(--faq-ease), transform 0.6s var(--faq-ease);
}
details.faq-item::before {
  content: ""; position: absolute; left: 0; top: 0.85rem; bottom: 0.85rem; width: 3px; border-radius: 2px;
  background: var(--accent); transform: scaleY(0); transform-origin: top;
  transition: transform 0.55s var(--faq-ease);
}
details.faq-item.is-open {
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 80%);
}
details.faq-item.is-open::before { transform: scaleY(1); }
details.faq-item summary {
  list-style: none; cursor: pointer; min-height: 3.6rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 0.5rem 1.05rem 1rem;
  font-weight: 650; font-size: clamp(1rem, 3.6vw, 1.12rem); line-height: 1.35; color: var(--on);
  transition: padding-left 0.45s var(--faq-ease);
  -webkit-user-select: none; user-select: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--radius); }
details.faq-item.is-open summary { padding-left: 1.4rem; }
.faq-q { transition: color 0.3s ease, transform 0.35s var(--faq-ease); }
details.faq-item summary:hover .faq-q { color: var(--accent-em); }
.faq-ico {
  position: relative; flex: none; width: 1.05rem; height: 1.05rem; color: var(--on-muted);
  transition: color 0.3s ease, transform 0.55s var(--faq-ease);
}
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
  border-radius: 2px; background: currentColor; transition: transform 0.55s var(--faq-ease);
}
.faq-ico::after { transform: rotate(90deg); }
details.faq-item.is-open .faq-ico { color: var(--accent-em); transform: rotate(180deg); }
details.faq-item.is-open .faq-ico::after { transform: rotate(0deg); }
details.faq-item summary:hover .faq-ico { color: var(--accent-em); }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--faq-ease); }
.faq-body-in { min-height: 0; overflow: hidden; }
.faq-body p {
  margin: 0; padding: 0 2.6rem 1.3rem 1.4rem; max-width: 40rem;
  color: var(--on-muted); font-size: 0.97rem; line-height: 1.6;
  opacity: 0; transform: translateY(-6px);
  transition: opacity 0.35s ease, transform 0.5s var(--faq-ease);
}
.faq-body strong { color: var(--on); }
details.faq-item.is-open .faq-body { grid-template-rows: 1fr; }
details.faq-item.is-open .faq-body p { opacity: 1; transform: none; transition-delay: 0.1s; }
.faq:not(.faq-js) details.faq-item[open] .faq-body { grid-template-rows: 1fr; }
.faq:not(.faq-js) details.faq-item[open] .faq-body p { opacity: 1; transform: none; }
.faq-js details.faq-item { opacity: 0; transform: translateY(14px); }
.faq-js.is-in details.faq-item { opacity: 1; transform: none; transition-delay: 0s, calc(var(--i) * 70ms), calc(var(--i) * 70ms); }
.faq-more { margin: 1.25rem 0 0; color: var(--on-muted); font-size: 0.95rem; }
.faq-more a { color: var(--accent-em); font-weight: 700; text-underline-offset: 3px; }
@media(max-width: 719.98px) {
  details.faq-item summary { padding-right: 0.25rem; }
  .faq-body p { padding-right: 1rem; }
}
@media(prefers-reduced-motion: reduce) {
  .faq *, .faq, details.faq-item, details.faq-item::before { transition: none !important; }
  .faq-js details.faq-item { opacity: 1; transform: none; }
}

/* Final CTA — B · Split ledger (quiet paper card, decision box) */
#cta.block {
  padding: 1.5rem 0 2.25rem;
}
.cta-ledger {
  display: grid;
  gap: 1.75rem;
  padding: 2.35rem 1.65rem;
  border-radius: calc(var(--radius) * 2);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 18px 44px color-mix(in srgb, var(--on) 6%, transparent);
}
.cta-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-em);
}
.cta-ledger h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 5vw, 1.9rem);
  letter-spacing: -0.025em;
  color: var(--on);
  text-align: start;
  max-width: none;
}
.cta-ledger-copy > p {
  margin: 0;
  color: var(--on-muted);
  max-width: 30rem;
  line-height: 1.5;
}
.cta-facts {
  display: grid;
  gap: 0.5rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}
.cta-facts li {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--on-muted);
  line-height: 1.45;
}
.cta-facts li::before {
  content: "";
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  margin-top: 0.15rem;
  background: color-mix(in srgb, var(--accent) 16%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
}
.cta-decide {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1.55rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  background:
    linear-gradient(170deg, color-mix(in srgb, var(--accent) 12%, var(--surface)), var(--surface));
}
.cta-decide strong {
  font-size: 0.95rem;
  color: var(--on);
}
.cta-decide .btn { width: 100%; }
.cta-quiet {
  justify-self: center;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--on-muted);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.cta-quiet:hover { color: var(--accent-em); text-decoration: underline; }
@media(min-width: 720px) {
  #cta.block { padding: 2rem 0 3rem; }
  .cta-ledger {
    grid-template-columns: 1.25fr 0.85fr;
    gap: 3.75rem;
    padding: 3.15rem 2.85rem;
    align-items: center;
  }
}

footer {
  border-top: 1px solid var(--border);
  margin-top: 0;
  padding: 2.25rem 0 1.75rem;
  color: var(--on-muted);
  font-size: 0.88rem;
  background: color-mix(in srgb, var(--surface-muted) 55%, var(--surface));
}
html.dark footer {
  background: color-mix(in srgb, var(--surface-muted) 70%, var(--surface));
}
.footer-inner {
  width: 100%;
  max-width: 72rem; /* 1152 */
  margin: 0 auto;
  padding: 0 clamp(1rem, 2.2vw, 1.75rem);
}
.footer-grid {
  display: grid;
  gap: 1.75rem 2.5rem;
  align-items: start;
  grid-template-columns: 1fr;
}
.footer-brand {
  display: grid;
  gap: 0.65rem;
  align-content: start;
  max-width: 22rem;
}
footer .brand svg { width: 5rem; }
.footer-brand p { margin: 0; line-height: 1.5; max-width: 20rem; }
.footer-col {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}
.footer-col strong {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--on);
  margin-bottom: 0.1rem;
}
.footer-col a {
  color: var(--on-muted); text-decoration: none;
  line-height: 1.35;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--accent-em); }
.footer-legal-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1.25rem;
}
.footer-legal-links a { white-space: normal; }
.footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--on-muted);
  opacity: 0.9;
}
@media(min-width: 760px) {
  .footer-grid {
    grid-template-columns: minmax(12rem, 1.2fr) minmax(8rem, 0.7fr) minmax(14rem, 1fr);
    gap: 2rem 2.5rem;
  }
}
@media(min-width: 720px) {
  .audience { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr 1fr; }
  .outcomes { grid-template-columns: 1fr 1fr; }
}

