/*
 * АТЛАС ЯЗЫКОВОГО МЫШЛЕНИЯ — «Vision» (2026).
 * Стиль референсов: тёмный операционный дашборд (RonDesignLab) + командный
 * 3D-глобус (Alibaba DataV). Шрифт Geist, тонкие крупные цифры, hairline-панели,
 * сегмент-контролы, статус-плитки, таблицы с дельтами. Данные: globe.gl + ECharts.
 */

@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800&family=Geist+Mono:wght@400;500;600&family=Manrope:wght@500;600;700;800&display=swap");

:root {
  /* поверхности (глубокий, но не «мёртвый» чёрный) */
  --bg: #06080d;
  --bg-2: #090c13;
  --panel: rgba(18, 22, 31, 0.66);
  --panel-solid: #0d1017;
  --tint: rgba(255, 255, 255, 0.024);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.05);

  /* текст */
  --ink: #f1f4fa;
  --ink-2: #aeb8c8;
  --ink-3: #6a7488;

  /* акцент (ДНК РУДН, сдержанно) */
  --acc: #4ea8ff;
  --acc-2: #6ce0ff;
  --green: #3ad07f;
  --amber: #ffbf4d;
  --red: #ff5f6e;

  --shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
  --shadow-sm: 0 14px 34px -20px rgba(0, 0, 0, 0.8);

  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --display: "Manrope", "Geist", system-ui, sans-serif;

  --r: 16px;
  --r-sm: 11px;
  --r-lg: 22px;
  --maxw: 1360px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body.v {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.v.is-locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); font-feature-settings: "tnum" on, "cv01" on; }
.tnum { font-variant-numeric: tabular-nums; }

/* Типографика с характером (пара display + sans) — против «единого шрифта» */
.hero h1,
.head h2,
.cta__box h2,
.scale__box h2,
.pf-title,
.manifesto__q,
.counter b,
.section-huge {
  font-family: var(--display);
  text-wrap: balance;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.hero h1 { letter-spacing: -0.045em; font-weight: 800; }
.head h2, .section-huge { font-weight: 700; }

.ic { width: 20px; height: 20px; display: inline-block; vertical-align: middle; flex: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 30px; }

/* ============================================================
   GLOBE (three.js / globe.gl) — фон за героем и в дашборде
   ============================================================ */
.globe {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 120% at 72% 26%, #0b1626 0%, #06080d 58%, #04050a 100%);
}
.globe canvas { outline: none; display: block; }

/* HTML-подписи точек на глобусе (стиль DataV: чип + выноска) */
.g-label {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.g-label__dot {
  position: absolute;
  left: 0; top: 0;
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 0 4px rgba(78, 168, 255, 0.18), 0 0 14px 2px var(--acc);
}
.g-label__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid currentColor;
  color: var(--acc);
  opacity: 0.6;
  animation: g-ping 2.8s ease-out infinite;
}
@keyframes g-ping {
  0% { transform: scale(1); opacity: 0.55; }
  70% { transform: scale(3.6); opacity: 0; }
  100% { opacity: 0; }
}
.g-label__chip {
  position: absolute;
  left: 12px; top: -12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: rgba(8, 11, 18, 0.72);
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: 8px;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s, transform 0.25s;
}
.g-label__chip b { font-family: var(--mono); font-weight: 600; }
.g-label__chip .v { color: var(--acc-2); }
.g-label.show .g-label__chip,
.g-label:hover .g-label__chip,
.g-label.is-active .g-label__chip { opacity: 1; transform: translateX(0); }
.g-label.is-active .g-label__dot { background: var(--acc-2); box-shadow: 0 0 0 5px rgba(108, 224, 255, 0.2), 0 0 18px 3px var(--acc-2); }

/* вуаль поверх глобуса для читаемости героя */
.veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 8, 13, 0.95) 0%, rgba(6, 8, 13, 0.72) 32%, rgba(6, 8, 13, 0.12) 62%, rgba(6, 8, 13, 0) 100%),
    linear-gradient(0deg, rgba(6, 8, 13, 0.9) 0%, rgba(6, 8, 13, 0) 26%, rgba(6, 8, 13, 0) 72%, rgba(6, 8, 13, 0.5) 100%);
  transition: opacity 0.7s ease;
}
.app.is-map .veil { opacity: 0; }
.app.is-map .globe { z-index: 40; }

/* ============================================================
   BUTTONS / CONTROLS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 11px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s, box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(180deg, #5cb0ff, #3d86ff);
  color: #04121f;
  font-weight: 600;
  box-shadow: 0 12px 30px -12px rgba(78, 168, 255, 0.7);
}
.btn--primary:hover { box-shadow: 0 16px 40px -12px rgba(78, 168, 255, 0.9); transform: translateY(-1px); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.2); }
.btn--sm { padding: 9px 14px; font-size: 13px; }
.btn--lg { padding: 15px 26px; font-size: 15.5px; }

/* сегмент-контрол (как в референсе: 24 Bus / 100 Taxi / ...) */
.seg {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--tint);
}
.seg__b {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  padding: 7px 13px;
  border-radius: 8px;
  border: 0;
  background: none;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}
.seg__b:hover { color: var(--ink-2); }
.seg__b.is-on { color: var(--ink); background: rgba(255, 255, 255, 0.08); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  transition: transform 0.5s ease, opacity 0.4s, background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(6, 8, 13, 0.72); backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.app.is-map .nav { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.nav__in { display: flex; align-items: center; gap: 22px; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 28px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; }
.brand__d { width: 1px; height: 24px; background: var(--line); }
.brand__t b { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
.brand__t span { display: block; font-family: var(--mono); font-size: 10px; color: var(--ink-3); }
.nav__menu { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav__menu a { padding: 8px 13px; border-radius: 9px; font-size: 14px; color: var(--ink-2); transition: 0.2s; }
.nav__menu a:hover { color: var(--ink); background: var(--tint); }
.nav__burger { display: none; margin-left: auto; color: var(--ink); background: var(--tint); border: 1px solid var(--line); border-radius: 10px; padding: 9px; cursor: pointer; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 90px;
  transition: opacity 0.5s ease, transform 0.6s ease;
}
.app.is-map .hero { opacity: 0; transform: translateY(-22px) scale(0.985); pointer-events: none; }
.hero__in { max-width: 620px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: var(--tint);
  padding: 6px 12px;
  border-radius: 100px;
}
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px 1px var(--acc); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
/* бейдж коллаборации в герое — ярче обычного eyebrow */
.eyebrow--collab { border-color: color-mix(in srgb, var(--acc) 42%, transparent); background: color-mix(in srgb, var(--acc) 12%, transparent); color: var(--ink); }
.eyebrow--collab b { font-weight: 700; color: #fff; }
.eyebrow--collab em { font-style: normal; color: var(--acc); font-weight: 700; font-size: 13px; padding: 0 1px; }
.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  font-weight: 800;
  color: transparent;
  background: linear-gradient(120deg, var(--acc) 10%, var(--acc-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero__lead { margin: 24px 0 0; font-size: clamp(16px, 1.5vw, 18.5px); color: var(--ink-2); max-width: 520px; font-weight: 400; }
.hero__cta { margin: 34px 0 0; display: flex; gap: 12px; flex-wrap: wrap; }

/* метрики-плитки (референс-стиль: иконка · крупная цифра · подпись) */
.hero__stats { margin: 46px 0 0; display: flex; gap: 14px; flex-wrap: wrap; }
.stat {
  position: relative;
  min-width: 158px;
  padding: 16px 20px 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.stat::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--acc); }
.stat--accent { background: linear-gradient(160deg, rgba(78,168,255,.16), rgba(78,168,255,.03)); border-color: rgba(78,168,255,.3); }
.stat:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--acc) 45%, transparent); }
.stat__ic { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(78,168,255,.12); border: 1px solid rgba(78,168,255,.24); color: var(--acc-2); margin-bottom: 12px; }
.stat__ic .ic { width: 16px; height: 16px; }
.stat b { display: block; font-family: var(--mono); font-size: 34px; font-weight: 400; letter-spacing: -0.03em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__l { display: block; margin-top: 8px; font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.02em; }

.hero__hint {
  position: absolute;
  bottom: 28px; left: 0; right: 0;
  display: flex; justify-content: center; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--ink-3); text-transform: uppercase;
}
.hero__hint .m { width: 20px; height: 32px; border: 1px solid var(--line); border-radius: 12px; position: relative; }
.hero__hint .m::after { content: ""; position: absolute; top: 6px; left: 50%; width: 3px; height: 6px; margin-left: -1.5px; background: var(--acc); border-radius: 2px; animation: sd 1.8s infinite; }
@keyframes sd { 0%{transform:translateY(0);opacity:1} 70%{transform:translateY(9px);opacity:0} 100%{opacity:0} }

/* HUD-плитки у глобуса (индексы с прогресс-баром, как в референсе) */
.hud { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; z-index: 3; transition: opacity 0.4s; }
.app.is-map .hud { opacity: 0; pointer-events: none; }
.hudcard {
  padding: 16px 18px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  min-width: 244px;
}
.hudcard__top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.hudcard__ic { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; background: linear-gradient(155deg, rgba(78,168,255,.3), rgba(78,168,255,.06)); border: 1px solid rgba(78,168,255,.34); color: #dff0ff; }
.hudcard__ic--teal { background: linear-gradient(155deg, rgba(23,168,154,.32), rgba(23,168,154,.06)); border-color: rgba(23,168,154,.4); color: #cbfff4; }
.hudcard__ic .ic { width: 18px; height: 18px; }
.hudcard__l { font-family: var(--mono); font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-2); }
.hudcard__v { font-family: var(--mono); font-size: 30px; font-weight: 400; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hudcard__v small { font-size: 13px; color: var(--ink-3); margin-left: 2px; }
.hudcard__bar { margin-top: 12px; height: 4px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.hudcard__bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--acc), var(--acc-2)); }
.hudcard__bar--teal i { background: linear-gradient(90deg, #17a89a, #3ad0c8); }

/* ============================================================
   COMMAND DASHBOARD
   ============================================================ */
.cmd {
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: grid;
  grid-template-columns: 340px 1fr 380px;
  grid-template-rows: 58px 1fr auto;
  grid-template-areas: "top top top" "left . right" "left bottom right";
  gap: 14px;
  padding: 14px;
}
.app.is-map .cmd { opacity: 1; }
.app.is-map .cmd > * { pointer-events: auto; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.block { padding: 16px; }
.block__h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.block__h h4 { margin: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }

/* top bar */
.cmd-top { grid-area: top; display: flex; align-items: center; gap: 16px; padding: 0 16px; }
.cmd-top__t { display: flex; align-items: center; gap: 11px; }
.cmd-top__t b { font-size: 14.5px; font-weight: 600; }
.cmd-top__t span { font-family: var(--mono); font-size: 10px; color: var(--ink-3); }
.cmd-top__r { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px 1px var(--green); animation: blink 1.6s infinite; }
.cmd-close { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--ink); background: var(--tint); border: 1px solid var(--line); padding: 8px 13px; border-radius: 10px; cursor: pointer; transition: 0.2s; }
.cmd-close:hover { background: rgba(255,95,110,.12); border-color: rgba(255,95,110,.4); color: #ffd7db; }

/* left column */
.cmd-left { grid-area: left; display: flex; flex-direction: column; gap: 14px; overflow: auto; padding-right: 2px; }
.kpi { display: flex; align-items: flex-end; gap: 10px; }
.kpi b { font-family: var(--mono); font-size: 46px; font-weight: 300; line-height: 0.9; letter-spacing: -0.03em; }
.kpi small { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-bottom: 5px; }
.kpi .delta { font-family: var(--mono); font-size: 12px; color: var(--green); margin-bottom: 6px; }
.chart-sm { width: 100%; height: 54px; }
.chart-md { width: 100%; height: 120px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { padding: 13px; border-radius: 12px; background: var(--tint); border: 1px solid var(--line-2); }
.tile b { font-family: var(--mono); font-size: 26px; font-weight: 300; display: flex; align-items: center; gap: 8px; }
.tile b i { width: 8px; height: 8px; border-radius: 50%; }
.tile span { font-size: 11px; color: var(--ink-3); }

.points { display: flex; flex-direction: column; gap: 7px; }
.pt { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--tint); cursor: pointer; text-align: left; width: 100%; transition: 0.18s; }
.pt:hover { border-color: rgba(78,168,255,.35); background: rgba(78,168,255,.05); }
.pt.is-on { border-color: var(--acc); background: rgba(78,168,255,.09); }
.pt__flag { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 16px; background: rgba(255,255,255,.05); flex: none; }
.pt__m { flex: 1; min-width: 0; }
.pt__m b { display: block; font-size: 13.5px; font-weight: 500; }
.pt__m span { display: block; font-family: var(--mono); font-size: 10px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt__v { text-align: right; flex: none; }
.pt__v b { font-family: var(--mono); font-size: 16px; font-weight: 300; }
.pt__v span { display: block; font-size: 9px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }

/* right column (profile) */
.cmd-right { grid-area: right; overflow: hidden; display: flex; flex-direction: column; }
.cmd-right__s { overflow: auto; height: 100%; }
.pf-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; color: var(--ink-3); gap: 12px; }
.pf-empty .ic { width: 42px; height: 42px; color: var(--acc); opacity: 0.6; }
.pf-hero { position: relative; height: 188px; overflow: hidden; }
.pf-hero img { width: 100%; height: 100%; object-fit: cover; }
.pf-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.pf-more { margin-top: 14px; width: 100%; justify-content: center; }
.pf-hero__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, var(--panel-solid) 5%, rgba(13,16,23,.2) 60%, rgba(13,16,23,.45)); }
.pf-hero__grad { width: 100%; height: 100%; }
.pf-hero__foot { position: absolute; left: 16px; right: 16px; bottom: 12px; }
.pf-tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 9px; border-radius: 100px; background: rgba(8,11,18,.6); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.pf-title { margin: 8px 0 0; font-size: 27px; font-weight: 600; letter-spacing: -0.02em; }
.pf-self { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.pf-body { padding: 16px; }
.pf-summary { font-size: 13.5px; color: var(--ink-2); margin: 0 0 16px; }
.pf-gauges { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.gauge { padding: 6px; border-radius: 12px; background: var(--tint); border: 1px solid var(--line-2); text-align: center; }
.gauge__c { width: 100%; height: 96px; }
.gauge__l { font-size: 10.5px; color: var(--ink-3); margin-top: -6px; padding-bottom: 8px; }
.pf-dl { margin: 0 0 16px; }
.pf-dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.pf-dl dt { color: var(--ink-3); }
.pf-dl dd { margin: 0; text-align: right; color: var(--ink); font-weight: 500; }
.pf-note { display: flex; gap: 10px; padding: 13px; border-radius: 12px; background: rgba(78,168,255,.07); border: 1px solid rgba(78,168,255,.2); font-size: 13px; color: var(--ink-2); margin-bottom: 16px; }
.pf-note .ic { color: var(--acc); flex: none; }

/* bottom strip */
.cmd-bottom { grid-area: bottom; padding: 12px 16px; overflow: hidden; }
.chart-bars { width: 100%; height: 92px; }

/* map controls */
.mapctl-wrap { position: absolute; left: 6px; bottom: 8px; z-index: 2; display: flex; flex-direction: column; gap: 8px; pointer-events: auto; }
.mapctl { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--panel); border: 1px solid var(--line); color: var(--ink); cursor: pointer; backdrop-filter: blur(12px); transition: 0.2s; }
.mapctl:hover { border-color: rgba(78,168,255,.4); color: var(--acc); }

/* ============================================================
   CONTENT
   ============================================================ */
.content { position: relative; z-index: 2; background: var(--bg); border-top: 1px solid var(--line); overflow: hidden; }
.sec { padding: 104px 0; }
.sec--tint { background: linear-gradient(180deg, var(--bg), var(--bg-2)); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }

/* ============================================================
   ЖИВОЙ ФОН · маршруты миграции + световые пятна + тех-сетка
   ============================================================ */
.ambient { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient #migrate { position: absolute; inset: 0; width: 100%; height: 100%; }
/* тонкая техническая сетка на весь контент */
.ambient::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 85%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.32; mix-blend-mode: screen; will-change: transform; }
.blob--a { width: 700px; height: 700px; top: 2%;  left: -200px; background: radial-gradient(circle, #2f6bff, transparent 64%); animation: blobA 34s ease-in-out infinite; }
.blob--b { width: 620px; height: 620px; top: 30%; right: -190px; background: radial-gradient(circle, #14b6a3, transparent 64%); animation: blobB 42s ease-in-out infinite; }
.blob--c { width: 640px; height: 640px; top: 58%; left: 6%;    background: radial-gradient(circle, #8258ff, transparent 64%); animation: blobC 50s ease-in-out infinite; }
.blob--d { width: 540px; height: 540px; top: 84%; right: 2%;   background: radial-gradient(circle, #ffab3d, transparent 64%); opacity: 0.22; animation: blobA 58s ease-in-out infinite reverse; }
@keyframes blobA { 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(140px,80px) scale(1.1); } }
@keyframes blobB { 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(-120px,100px) scale(1.06); } }
@keyframes blobC { 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(100px,-90px) scale(1.12); } }
/* контент — над фоном */
.content > section, .content > .marquee { position: relative; z-index: 1; }
.sec { background: transparent; }

/* ---- резкие переходы между блоками: акцентный градиент + узел ---- */
.sec + .sec, .marquee + .counters, .counters + .sec, .sec + .manifesto, .manifesto + .sec {
  border-top: 1px solid transparent;
}
.sec::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--sa,#4ea8ff) 70%, transparent) 20%, color-mix(in srgb, var(--sa,#4ea8ff) 70%, transparent) 80%, transparent);
  opacity: .55;
}
.sec:last-child::after { display: none; }
/* верхняя кромка секции — диагональный акцентный штрих (угловатость) */
.sec[data-idx]::before {
  content: attr(data-idx);
  position: absolute;
  top: clamp(28px, 5vw, 64px);
  right: clamp(16px, 4vw, 64px);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(120px, 17vw, 260px);
  line-height: .8;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.4px color-mix(in srgb, var(--sa,#4ea8ff) 34%, transparent);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
.sec .container { position: relative; z-index: 1; }
/* акцентная «шапка» блока: полоса-маркер над заголовком */
.head .eb { color: var(--sa, var(--acc)); position: relative; padding-left: 30px; display: inline-block; }
.head .eb::before { content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 2px; transform: translateY(-50%); background: var(--sa, var(--acc)); box-shadow: 0 0 12px color-mix(in srgb, var(--sa,#4ea8ff) 80%, transparent); }
/* каждый блок — со своим оттеночным свечением (журнал цвета вниз по странице) */
.sec:not(.sec--tint) { background: radial-gradient(120% 60% at 82% -6%, color-mix(in srgb, var(--sa,#4ea8ff) 12%, transparent), transparent 60%); }
.sec--tint { background: linear-gradient(180deg, var(--bg), var(--bg-2)) , radial-gradient(120% 70% at 15% 0%, color-mix(in srgb, var(--sa,#4ea8ff) 10%, transparent), transparent 62%); }
.cta { background: radial-gradient(90% 130% at 50% 120%, color-mix(in srgb, var(--sa,#4ea8ff) 20%, transparent), transparent 60%); }

@media (prefers-reduced-motion: reduce) { .blob { animation: none; } }
.head { max-width: 680px; margin-bottom: 44px; }
.head--c { margin-left: auto; margin-right: auto; text-align: center; }
.head .eb { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sa, var(--acc)); }
.head h2 { margin: 14px 0 0; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.03; letter-spacing: -0.025em; font-weight: 600; }
.head p { margin: 16px 0 0; color: var(--ink-2); font-size: 16px; }

/* two-layer */
.how { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.howcard { padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(10px); }
.howcard--core { background: linear-gradient(160deg, rgba(78,168,255,.1), rgba(18,22,31,.5)); border-color: rgba(78,168,255,.22); }
.howcard__b { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--acc); margin-bottom: 14px; }
.howcard h3 { margin: 0 0 10px; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.howcard p { margin: 0 0 16px; color: var(--ink-2); font-size: 14px; }
.howl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.howl li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.howl .ic { width: 18px; height: 18px; color: var(--acc); flex: none; }
.howflow { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink-3); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.howflow svg { width: 90px; color: var(--acc); }

/* peoples */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pcard { position: relative; display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--panel-solid); min-height: 300px; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; --a: var(--acc); }
.pcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--a) 55%, transparent); box-shadow: 0 26px 54px -26px rgba(0,0,0,.9); }
.pcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.96; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.pcard:hover .pcard__img { transform: scale(1.05); }
.pcard__tint { position: absolute; inset: 0; background: radial-gradient(120% 90% at 82% 6%, color-mix(in srgb, var(--a) 34%, transparent), transparent 55%); mix-blend-mode: screen; }
.pcard__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,8,13,.97) 8%, rgba(6,8,13,.45) 52%, rgba(6,8,13,.05) 100%); }
.pcard__top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: flex-end; align-items: center; gap: 8px; z-index: 2; }
.pcard__body { z-index: 2; }
.pcard__st { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 9px; border-radius: 100px; background: rgba(8,11,18,.65); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.pcard__st i { width: 6px; height: 6px; border-radius: 50%; background: var(--a); }
.pcard__map { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(8,11,18,.6); border: 1px solid var(--line); color: var(--ink-2); cursor: pointer; backdrop-filter: blur(6px); opacity: 0; transform: translateY(-4px); transition: .2s; }
.pcard:hover .pcard__map { opacity: 1; transform: translateY(0); }
.pcard__map:hover { color: #fff; border-color: color-mix(in srgb, var(--a) 60%, transparent); background: color-mix(in srgb, var(--a) 22%, rgba(8,11,18,.6)); }
.pcard__cta { margin-top: 11px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.03em; color: var(--a); opacity: .85; }
.pcard__cta .ic { transition: transform .2s; }
.pcard:hover .pcard__cta .ic { transform: translateX(4px); }
.pcard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; }
.pcard__g { font-family: var(--mono); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--a); }
.pcard__n { margin: 6px 0 2px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.pcard__s { font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.pcard__meta { margin-top: 12px; display: flex; gap: 18px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.pcard__meta div b { font-family: var(--mono); font-size: 16px; font-weight: 300; }
.pcard__meta div span { display: block; font-size: 9.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.04em; }

/* layers */
.grid-l { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lcard { padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); display: flex; gap: 14px; align-items: flex-start; transition: 0.2s; }
.lcard:hover { border-color: rgba(78,168,255,.3); }
.lcard__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #05121d; }
.lcard b { font-size: 15px; font-weight: 600; }
.lcard p { margin: 5px 0 0; font-size: 13px; color: var(--ink-2); }

/* services */
.grid-s { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.scard { padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); display: flex; gap: 16px; transition: 0.2s; --a: var(--acc); }
.scard:hover { border-color: color-mix(in srgb, var(--a) 45%, transparent); transform: translateY(-3px); }
.scard--feat { grid-column: span 2; background: linear-gradient(135deg, rgba(78,168,255,.12), rgba(18,22,31,.5)); border-color: rgba(78,168,255,.26); }
.scard__ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.05); color: var(--a); }
.scard__h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.scard__h b { font-size: 17px; font-weight: 600; }
.scard__badge { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 8px; border-radius: 100px; border: 1px solid var(--line); color: var(--ink-2); }
.scard p { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-2); }

/* ---- сервисы: витрина с фото + варьирующиеся форматы карточек ---- */
.svc-wrap { display: grid; gap: 16px; }
.svc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--panel-solid); text-decoration: none; color: inherit; transition: transform .25s, border-color .25s, box-shadow .25s; --a: var(--acc); }
.svc:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--a) 50%, transparent); box-shadow: 0 26px 54px -26px rgba(0,0,0,.9); }
.svc__media { position: relative; height: 170px; overflow: hidden; flex: none; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.svc:hover .svc__media img { transform: scale(1.06); }
.svc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--panel-solid) 4%, rgba(11,14,21,.15) 60%, transparent 100%), radial-gradient(100% 80% at 82% 0, color-mix(in srgb, var(--a) 30%, transparent), transparent 58%); }
.svc__ic { position: absolute; top: 12px; left: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(8,11,18,.62); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.svc__badge { position: absolute; top: 15px; right: 12px; z-index: 2; font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: .05em; padding: 4px 9px; border-radius: 100px; background: rgba(8,11,18,.62); border: 1px solid var(--line); backdrop-filter: blur(6px); color: var(--ink-2); }
.svc__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.svc__kick { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--a); margin-bottom: 8px; }
.svc__h { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.svc__body p { margin: 8px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.svc__cta { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .02em; color: var(--ink-3); }
.svc__cta--on { color: var(--a); }
.svc__cta .ic { transition: transform .2s; }
.svc:hover .svc__cta .ic { transform: translateX(4px); }
/* featured — крупный горизонтальный формат с фото и кнопкой теста */
.svc--feat { flex-direction: row; align-items: stretch; min-height: 300px; background: linear-gradient(135deg, color-mix(in srgb, var(--a) 14%, transparent), rgba(18,22,31,.5)); }
.svc--feat .svc__media { height: auto; width: 44%; }
.svc--feat .svc__media::after { background: linear-gradient(90deg, transparent 42%, var(--panel-solid) 98%), radial-gradient(80% 100% at 0 50%, color-mix(in srgb, var(--a) 26%, transparent), transparent 60%); }
.svc--feat .svc__body { padding: 34px 40px; justify-content: center; }
.svc--feat .svc__h { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; margin-top: 2px; }
.svc--feat .svc__body p { font-size: 14.5px; max-width: 48ch; margin-top: 12px; }
.svc__btn { margin-top: 22px; align-self: flex-start; }
@media (max-width: 860px) {
  .svc-row { grid-template-columns: 1fr; }
  .svc--feat { flex-direction: column; min-height: 0; }
  .svc--feat .svc__media { width: 100%; height: 190px; }
  .svc--feat .svc__body { padding: 24px; }
}

/* scale */
.scale__box { text-align: center; max-width: 760px; margin: 0 auto; }
.wps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 30px 0; }
.wp { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; padding: 9px 15px; border-radius: 100px; border: 1px solid var(--line); background: var(--panel); color: var(--ink-2); cursor: pointer; transition: 0.2s; }
.wp:hover { border-color: var(--acc); color: var(--ink); }
.wp i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px 1px var(--acc); }

/* CTA */
.cta { padding: 0 0 110px; }
.cta__box { position: relative; overflow: hidden; text-align: center; padding: 70px 30px; border-radius: 28px; border: 1px solid rgba(78,168,255,.25); background: radial-gradient(90% 130% at 50% 0%, rgba(78,168,255,.16), transparent 60%), var(--panel-solid); }
.cta__box h2 { font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.025em; margin: 0 0 14px; font-weight: 600; }
.cta__box p { color: var(--ink-2); max-width: 560px; margin: 0 auto 28px; font-size: 16px; }
.cta__a { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* footer */
.footer { position: relative; z-index: 2; background: var(--bg-2); border-top: 1px solid var(--line); padding: 56px 0 30px; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; padding-bottom: 34px; border-bottom: 1px solid var(--line-2); }
.footer__brand b { display: block; margin: 12px 0 8px; font-size: 16px; font-weight: 600; }
.footer__brand p { color: var(--ink-3); font-size: 13.5px; max-width: 360px; margin: 0; }
.footer__col h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.footer__col a { display: block; color: var(--ink-2); font-size: 14px; padding: 5px 0; transition: 0.2s; }
.footer__col a:hover { color: var(--acc); }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); flex-wrap: wrap; }

/* reveal (GSAP управляет, но есть дефолт) */
.reveal { opacity: 0; transform: translateY(24px); }

/* ---- сегмент как отдельные пилюли (референс: 24 Bus / 100 Taxi) ---- */
.seg--pills { border: 0; background: none; padding: 0; gap: 8px; }
.seg--pills .seg__b {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); border-radius: 100px; background: var(--tint);
  padding: 7px 14px; color: var(--ink-2);
}
.seg--pills .seg__b b { font-family: var(--mono); font-weight: 600; color: var(--ink); }
.seg--pills .seg__b:hover { border-color: rgba(255,255,255,.2); }
.seg--pills .seg__b.is-on { border-color: rgba(78,168,255,.5); background: rgba(78,168,255,.1); color: var(--ink); }

.opn { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--tint); cursor: pointer; transition: .2s; }
.opn:hover { border-color: rgba(78,168,255,.4); color: var(--acc); }
.kpi__sub { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); margin: 6px 0 2px; }

/* ---- статус-плитки с иконкой (референс: Online/Offline) ---- */
.tile--stat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 12px; align-items: center; padding: 14px; }
.tile--stat .tile__ic { grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.tile__ic--ok { background: rgba(58,208,127,.14); border: 1px solid rgba(58,208,127,.4); color: var(--green); }
.tile__ic--warn { background: rgba(255,95,110,.14); border: 1px solid rgba(255,95,110,.4); color: var(--red); }
.tile--stat b { grid-column: 2; font-family: var(--mono); font-size: 30px; font-weight: 300; line-height: 1; }
.tile--stat span { grid-column: 2; font-size: 11px; color: var(--ink-3); }

/* ---- карточка активной точки с мини-картой (референс: fleet card) ---- */
.focus__map { position: relative; height: 118px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: #0a0d14; }
.focus__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.focus__pin { position: absolute; width: 26px; height: 26px; transform: translate(-50%,-50%); }
.focus__pin i { position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(78,168,255,.2), 0 0 12px 2px var(--acc); }
.focus__badge { position: absolute; left: 10px; top: 10px; font-family: var(--mono); font-size: 10px; color: var(--ink-2); background: rgba(8,11,18,.65); border: 1px solid var(--line); padding: 3px 8px; border-radius: 7px; backdrop-filter: blur(6px); }
.focus__row { display: flex; align-items: center; gap: 8px; margin-top: 11px; flex-wrap: wrap; }
.focus__row .fst { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); border: 1px solid var(--line-2); background: var(--tint); padding: 4px 9px; border-radius: 100px; }
.focus__row .fst i { width: 6px; height: 6px; border-radius: 50%; }
.focus__scrub { margin-top: 12px; }
.focus__scrub .lbl { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9.5px; color: var(--ink-3); margin-bottom: 5px; }
.focus__track { position: relative; height: 5px; border-radius: 4px; background: rgba(255,255,255,.08); }
.focus__track i { position: absolute; left: 0; top: 0; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--acc), var(--acc-2)); }
.focus__track b { position: absolute; top: 50%; width: 11px; height: 11px; border-radius: 50%; background: #fff; transform: translate(-50%,-50%); box-shadow: 0 0 0 3px rgba(78,168,255,.35); }

/* ---- заголовок над картой (референс: Traffic Management) ---- */
.cmd-map { grid-column: 2; grid-row: 2; position: relative; pointer-events: none; }
.map-ttl { position: absolute; left: 6px; top: 8px; }
.map-ttl h2 { margin: 0; font-size: clamp(26px, 3vw, 42px); font-weight: 300; letter-spacing: -0.02em; color: var(--ink); text-shadow: 0 2px 30px rgba(0,0,0,.6); }
.map-ttl__chips { display: flex; gap: 8px; margin-top: 12px; pointer-events: auto; }
.mapchip { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink); background: var(--panel); border: 1px solid var(--line); padding: 8px 13px; border-radius: 100px; backdrop-filter: blur(12px); cursor: pointer; transition: .2s; }
.mapchip:hover { border-color: rgba(78,168,255,.4); }
.mapchip--soft { color: var(--ink-2); cursor: default; }

/* ---- плавающая стат-карточка на карте (референс: Passenger Load 87%) ---- */
.map-stat { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: none; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 15px; backdrop-filter: blur(16px); box-shadow: var(--shadow); pointer-events: auto; }
.map-stat.show { display: inline-flex; }
.map-stat__ring { width: 52px; height: 52px; flex: none; }
.map-stat__l { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.map-stat__t { font-size: 14.5px; font-weight: 600; margin-top: 2px; }
.map-stat__s { font-family: var(--mono); font-size: 11px; color: var(--ink-2); }

/* ---- таблица смещений (референс: Schedule Offset) ---- */
.cmd-bottom { padding: 14px 16px 12px; }
.otable__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.otable__v { margin-top: 4px; }
.otable__v b { font-family: var(--mono); font-size: 34px; font-weight: 300; letter-spacing: -0.02em; }
.otable__v small { font-size: 11px; color: var(--ink-3); }
.otable__legend { font-size: 10px; color: var(--ink-3); display: inline-flex; align-items: center; }
.otable__legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin: 0 5px 0 10px; }
.otable__legend i.up { background: var(--green); }
.otable__legend i.dn { background: var(--red); }
.otable { display: grid; gap: 2px; overflow-x: auto; }
.orow { display: grid; grid-template-columns: 132px repeat(5, 1fr); gap: 8px; align-items: center; padding: 5px 0; border-top: 1px solid var(--line-2); }
.orow--h { border-top: 0; }
.orow--h span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); text-align: center; }
.orow--h span:first-child { text-align: left; }
.orow__name { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.orow__name i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dchip { display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-family: var(--mono); font-size: 11px; padding: 4px 0; border-radius: 7px; border: 1px solid var(--line-2); }
.dchip--up { color: var(--green); background: rgba(58,208,127,.08); border-color: rgba(58,208,127,.22); }
.dchip--dn { color: var(--red); background: rgba(255,95,110,.08); border-color: rgba(255,95,110,.22); }
.dchip--flat { color: var(--ink-3); }

/* режим статичных скриншотов (?still=1): плоский поток документа */
body.shots .globe { position: absolute; height: 100vh; }
body.shots .veil { display: none; }
body.shots .hero { min-height: auto; padding: 130px 0 70px; }
body.shots .cmd { display: none; }

/* ============================================================
   LANDING · разнообразие блоков и движение (анти-ИИ)
   ============================================================ */

/* --- бегущая строка языков --- */
.marquee { position: relative; z-index: 2; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; gap: 0; width: max-content; will-change: transform; transform: translateX(0); }
.marquee__track.run { animation: marq 64s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; font-family: var(--display); font-size: 26px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink-2); white-space: nowrap; }
.marquee__item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px 1px var(--acc); }
.marquee__item em { font-style: normal; color: var(--ink-3); font-family: var(--mono); font-size: 13px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* --- счётчики (count-up) --- */
.counters { position: relative; z-index: 2; background: var(--bg); }
.counters__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.counter { background: var(--bg); padding: 34px 28px; position: relative; }
.counter::before { content: ""; position: absolute; left: 0; top: 0; width: 34px; height: 2px; background: var(--acc); }
.counter b { display: block; font-size: clamp(40px, 4.4vw, 62px); line-height: 0.95; color: var(--ink); }
.counter b small { font-size: 0.44em; color: var(--acc); font-family: var(--display); margin-left: 2px; }
.counter b .c-num { font-size: inherit; }
.counter > span { display: block; margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.counter i { display: block; margin-top: 4px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); font-style: normal; }

/* --- секция-манифест (editorial pull-quote) --- */
.manifesto { position: relative; z-index: 2; background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line-2); }
.manifesto__in { max-width: 1000px; margin: 0 auto; padding: 120px 30px; }
.manifesto__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc); }
.manifesto__q { margin: 26px 0 0; font-size: clamp(30px, 4.6vw, 62px); line-height: 1.06; color: var(--ink); }
.manifesto__q u { text-decoration: none; color: var(--acc); position: relative; white-space: nowrap; }
.manifesto__q u::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.08em; height: 0.09em; background: var(--acc); opacity: .5; }
.manifesto__by { margin-top: 26px; display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 14px; }
.manifesto__by span { width: 30px; height: 1px; background: var(--line); }

/* --- интерактивная диаграмма ситуаций (scatter) --- */
.plot { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; align-items: stretch; }
.plot__chart { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel-solid); overflow: hidden; min-height: 440px; }
#scatter { width: 100%; height: 440px; }
.plot__axes { position: absolute; inset: 0; pointer-events: none; }
.plot__side { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.plot__side h3 { font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; margin: 0 0 4px; }
.plot__legend { display: flex; flex-direction: column; gap: 9px; margin-top: 6px; }
.plot__legend div { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.plot__legend i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.plot__hint { font-family: var(--mono); font-size: 11px; color: var(--ink-3); border-top: 1px solid var(--line-2); padding-top: 14px; }
.plot__read { padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.plot__read b { font-family: var(--display); font-size: 18px; }
.plot__read p { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); }

/* --- bento: народы --- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 202px; gap: 14px; grid-auto-flow: dense; }
.bento .pcard { min-height: 0; }
.bento .pcard--xl { grid-column: span 2; grid-row: span 2; }
.bento .pcard--w { grid-column: span 2; }
.pcard__spark { margin-top: 12px; height: 26px; display: flex; align-items: flex-end; gap: 3px; opacity: .75; }
.pcard--xl .pcard__spark { height: 44px; }
/* спарклайн только на крупной карточке — на компактных экономим высоту */
.pcard:not(.pcard--xl) .pcard__spark { display: none; }
.pcard__spark span { flex: 1; background: linear-gradient(180deg, var(--a), transparent); border-radius: 2px 2px 0 0; }
.pcard--xl .pcard__n { font-size: 30px; }
.pcard__idx { position: absolute; top: 12px; left: 14px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }

/* --- bento: слои --- */
.lbento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.lbento .lcard { grid-column: span 2; flex-direction: column; }
.lbento .lcard:nth-child(1) { grid-column: span 3; }
.lbento .lcard:nth-child(2) { grid-column: span 3; }
.lcard__ic { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.lcard:hover .lcard__ic { transform: rotate(-6deg) scale(1.06); }

/* --- ползунок «разрыв поколений» --- */
.genr { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.genr__vis { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel-solid); padding: 26px; }
.genr__bars { display: flex; align-items: flex-end; gap: 14px; height: 200px; margin-bottom: 22px; }
.genr__bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; height: 100%; }
.genr__bar .b { width: 100%; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--acc), rgba(78,168,255,.15)); transition: height .5s cubic-bezier(.2,.8,.2,1); }
.genr__bar .l { font-family: var(--mono); font-size: 10px; color: var(--ink-3); text-align: center; }
.genr__bar .v { font-family: var(--mono); font-size: 12px; color: var(--ink); }
.genr__slider { -webkit-appearance: none; appearance: none; width: 100%; height: 5px; border-radius: 4px; background: rgba(255,255,255,.1); outline: none; }
.genr__slider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--acc); cursor: grab; box-shadow: 0 4px 14px -2px rgba(0,0,0,.6); transition: transform .15s; }
.genr__slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.12); }
.genr__slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--acc); cursor: grab; }
.genr__scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); margin-top: 10px; }
.genr__read b { font-family: var(--display); font-size: clamp(46px, 6vw, 78px); line-height: 0.9; letter-spacing: -0.03em; display: block; }
.genr__read b small { font-size: 0.4em; color: var(--acc); }
.genr__read p { color: var(--ink-2); font-size: 15px; max-width: 380px; }
.genr__pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 100px; padding: 6px 12px; margin-top: 8px; }
.genr__pill i { width: 7px; height: 7px; border-radius: 50%; }

/* --- лёгкий hover-tilt для карточек --- */
.tilt { transition: transform .25s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; will-change: transform; }

/* --- ритм секций --- */
.sec { position: relative; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .cmd { grid-template-columns: 300px 1fr 330px; }
  .mapctl-wrap { right: 356px; }
}
@media (max-width: 1024px) {
  .nav__menu { display: none; }
  .nav__burger { display: inline-flex; }
  .hud { display: none; }
  .grid3, .grid-l { grid-template-columns: repeat(2, 1fr); }
  .how { grid-template-columns: 1fr; }
  .plot, .genr { grid-template-columns: 1fr; }
  .counters__grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .bento .pcard--xl, .bento .pcard--w { grid-column: span 2; grid-row: span 1; }
  .lbento { grid-template-columns: 1fr 1fr; }
  .lbento .lcard, .lbento .lcard:nth-child(1), .lbento .lcard:nth-child(2) { grid-column: span 1; }
  .howflow { flex-direction: row; transform: rotate(90deg); }
  .cmd { grid-template-columns: 1fr; grid-template-rows: 58px auto auto auto; grid-template-areas: "top" "left" "right" "bottom"; overflow: auto; }
  .cmd-right { min-height: 360px; }
  .cmd-map { display: none; }
  .mapctl-wrap { display: none; }
  .orow { grid-template-columns: 110px repeat(5, 1fr); }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .hero { padding: 100px 0 80px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hero__stats { gap: 22px; }
  .grid3, .grid-l, .grid-s { grid-template-columns: 1fr; }
  .scard--feat { grid-column: span 1; }
  .counters__grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .bento .pcard--xl, .bento .pcard--w { grid-column: span 1; }
  .lbento { grid-template-columns: 1fr; }
  .genr { gap: 26px; }
  .marquee__item { font-size: 20px; }
  .footer__top { grid-template-columns: 1fr; }
  .cmd { padding: 8px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .g-label__dot::after { animation: none; }
}

/* ============================================================
   СТРАНИЦА НАРОДА (people.html)
   ============================================================ */
.pp { --a: var(--acc); }
.pp-hero { position: relative; min-height: 66vh; display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line); }
.pp-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-hero__scrim { position: absolute; inset: 0; background:
  linear-gradient(0deg, var(--bg) 3%, rgba(6,8,13,.6) 46%, rgba(6,8,13,.2) 100%),
  radial-gradient(110% 80% at 82% -6%, color-mix(in srgb, var(--a) 32%, transparent), transparent 58%); }
.pp-hero__in { position: relative; z-index: 1; width: 100%; padding: 130px 0 48px; }
.pp-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pp-badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line); background: rgba(8,11,18,.5); backdrop-filter: blur(8px); padding: 6px 12px; border-radius: 100px; }
.pp-badge i.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--a); box-shadow: 0 0 10px 1px var(--a); }
.pp-title { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 8vw, 96px); line-height: .9; letter-spacing: -0.04em; margin: 0; }
.pp-self { font-family: var(--mono); font-size: clamp(14px, 1.6vw, 18px); color: var(--a); margin: 14px 0 0; }
.pp-region { color: var(--ink-2); margin: 10px 0 0; font-size: 15px; max-width: 620px; }

.pp-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: -46px auto 0; position: relative; z-index: 3; }
.pp-metric { background: var(--panel-solid); border: 1px solid var(--line); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.pp-metric b { display: block; font-family: var(--mono); font-size: 30px; font-weight: 400; letter-spacing: -0.03em; }
.pp-metric b small { font-size: 14px; color: var(--ink-3); }
.pp-metric span { display: block; font-size: 11.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; margin-top: 6px; }
.pp-metric .bar { margin-top: 12px; height: 4px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.pp-metric .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--a), color-mix(in srgb, var(--a) 30%, #fff)); }

.pp-body { padding: 70px 0 40px; }
.pp-grid { display: grid; grid-template-columns: 1.55fr .95fr; gap: 22px; align-items: start; }
.pp-main > * + * { margin-top: 18px; }
.pp-side { position: sticky; top: 90px; display: grid; gap: 16px; }
.pp-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; backdrop-filter: blur(10px); }
.pp-card h2 { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; margin: 0 0 12px; }
.pp-card h2 .k { font-family: var(--mono); font-size: 11px; color: var(--a); letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 6px; font-weight: 500; }
.pp-card p { color: var(--ink-2); font-size: 15px; line-height: 1.65; margin: 0; }
.pp-callout { border: 1px solid color-mix(in srgb, var(--a) 30%, transparent); background: linear-gradient(150deg, color-mix(in srgb, var(--a) 12%, transparent), rgba(18,22,31,.4)); border-radius: var(--r-lg); padding: 22px 24px; position: relative; }
.pp-callout::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--a); }
.pp-callout .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--a); }
.pp-callout p { margin: 8px 0 0; color: var(--ink); font-size: 15.5px; line-height: 1.6; }

.pp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pp-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.pp-list li .ic { color: var(--a); width: 17px; height: 17px; flex: none; margin-top: 2px; }

.pp-route { display: grid; gap: 0; }
.pp-step { display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.pp-step__rail { display: flex; flex-direction: column; align-items: center; }
.pp-step__dot { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--a); background: var(--bg); margin-top: 3px; }
.pp-step__line { width: 2px; flex: 1; background: linear-gradient(180deg, var(--a), color-mix(in srgb, var(--a) 20%, transparent)); min-height: 26px; }
.pp-step:last-child .pp-step__line { display: none; }
.pp-step__c { padding-bottom: 18px; }
.pp-step__n { font-weight: 600; font-size: 15px; }
.pp-step__n small { font-family: var(--mono); color: var(--a); font-size: 11px; margin-right: 8px; }

.pp-rel { display: grid; gap: 10px; }
.pp-rel__i { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--tint); }
.pp-rel__ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--a) 18%, transparent); border: 1px solid color-mix(in srgb, var(--a) 30%, transparent); color: var(--a); }
.pp-rel__i b { font-size: 14px; display: block; }
.pp-rel__i b small { font-family: var(--mono); font-weight: 400; color: var(--ink-3); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; margin-left: 6px; }
.pp-rel__i p { margin: 3px 0 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }

.pp-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.pp-cta { padding: 54px 0 90px; }
.pp-cta__box { border: 1px solid color-mix(in srgb, var(--a) 26%, transparent); border-radius: var(--r-lg); padding: 44px; text-align: center; background: radial-gradient(90% 140% at 50% 0%, color-mix(in srgb, var(--a) 14%, transparent), transparent 60%); }
.pp-cta__box h2 { font-family: var(--display); font-weight: 800; font-size: clamp(26px,3.4vw,40px); letter-spacing: -0.03em; margin: 0 0 20px; }

.pp-otro { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pp-otro a { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; display: block; }
.pp-otro img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pp-otro a:hover img { transform: scale(1.06); }
.pp-otro span { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; font-weight: 600; font-size: 13px; background: linear-gradient(0deg, rgba(6,8,13,.95), transparent); }

@media (max-width: 900px) {
  .pp-grid { grid-template-columns: 1fr; }
  .pp-side { position: static; }
  .pp-metrics { grid-template-columns: repeat(2, 1fr); }
  .pp-otro { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   ТЕСТ · языковой портрет (test.html)
   ============================================================ */
.tpage { min-height: 100vh; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.tpage__bg { position: fixed; inset: 0; z-index: 0; background:
  radial-gradient(60% 50% at 80% 8%, rgba(78,168,255,.16), transparent 60%),
  radial-gradient(55% 50% at 12% 92%, rgba(58,208,200,.12), transparent 60%); }
.tpage__bg img { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); height: 92%; opacity: .12; filter: saturate(1.1); mask-image: radial-gradient(closest-side, #000 55%, transparent); }
.twrap { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; justify-content: center; padding: 110px 0 60px; }
.tcard { width: min(760px, 92vw); background: color-mix(in srgb, var(--panel-solid) 92%, transparent); border: 1px solid var(--line); border-radius: 24px; padding: 40px; box-shadow: 0 40px 90px -40px rgba(0,0,0,.9); backdrop-filter: blur(14px); }

/* прогресс */
.tprog { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.tprog__bar { flex: 1; height: 5px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.tprog__bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--acc), var(--acc-2)); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.tprog__n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); white-space: nowrap; }

/* интро */
.tintro__eb { margin-bottom: 20px; }
.tintro h1 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5vw, 58px); line-height: .96; letter-spacing: -0.035em; margin: 0 0 16px; }
.tintro h1 em { font-style: normal; color: transparent; background: linear-gradient(120deg, var(--acc), var(--acc-2)); -webkit-background-clip: text; background-clip: text; }
.tintro p { color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 56ch; }
.tintro__meta { display: flex; gap: 22px; margin: 26px 0 30px; flex-wrap: wrap; }
.tintro__meta div b { font-family: var(--mono); font-size: 22px; font-weight: 500; display: block; }
.tintro__meta div span { font-size: 12px; color: var(--ink-3); }

/* вопрос */
.tq__step { font-family: var(--mono); font-size: 12px; color: var(--acc); letter-spacing: .08em; text-transform: uppercase; }
.tq__q { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.02em; margin: 10px 0 24px; line-height: 1.15; }
.topts { display: grid; gap: 12px; }
.topt { display: flex; align-items: center; gap: 14px; text-align: left; padding: 17px 18px; border-radius: 15px; border: 1px solid var(--line); background: var(--tint); color: var(--ink); font-size: 15px; cursor: pointer; transition: .18s; font-family: inherit; }
.topt:hover { border-color: color-mix(in srgb, var(--acc) 55%, transparent); background: color-mix(in srgb, var(--acc) 10%, transparent); transform: translateX(3px); }
.topt__k { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; border: 1px solid var(--line); color: var(--ink-2); transition: .18s; }
.topt:hover .topt__k { background: var(--acc); color: #05121d; border-color: var(--acc); }
.tq__nav { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; }
.tlink { background: none; border: none; color: var(--ink-3); font-family: var(--mono); font-size: 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.tlink:hover { color: var(--ink); }

/* анимация появления шага */
.tfade { animation: tfade .45s cubic-bezier(.2,.8,.2,1); }
@keyframes tfade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* результат */
.tres__eb { margin-bottom: 16px; }
.tres__name { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.5vw, 52px); letter-spacing: -0.035em; margin: 0 0 6px; line-height: 1; }
.tres__name em { font-style: normal; color: transparent; background: linear-gradient(120deg, var(--acc), var(--acc-2)); -webkit-background-clip: text; background-clip: text; }
.tres__sub { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; margin: 12px 0 26px; max-width: 60ch; }
.traits { display: grid; gap: 16px; margin-bottom: 26px; }
.trait__t { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); margin-bottom: 7px; }
.trait__t b { color: var(--ink); font-weight: 600; }
.trait__t span { font-family: var(--mono); color: var(--ink-3); }
.trait__bar { height: 8px; border-radius: 5px; background: rgba(255,255,255,.07); overflow: hidden; position: relative; }
.trait__bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 5px; background: linear-gradient(90deg, var(--acc), var(--acc-2)); transition: width 1s cubic-bezier(.2,.8,.2,1); }
.tres__note { border: 1px solid color-mix(in srgb, var(--acc) 28%, transparent); background: linear-gradient(150deg, color-mix(in srgb, var(--acc) 12%, transparent), rgba(18,22,31,.4)); border-radius: 16px; padding: 20px 22px; position: relative; margin-bottom: 26px; }
.tres__note .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--acc); }
.tres__note p { margin: 8px 0 0; color: var(--ink); font-size: 15px; line-height: 1.6; }
.tres__cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) { .tcard { padding: 26px 20px; } .tres__cta .btn { width: 100%; } }
