/* index2.css — VectorOS landing «Командный пункт» (/index-2 redesign)
   =====================================================================
   Self-contained page stylesheet: this page loads ONLY colors_and_type.css
   + this file. Chrome blocks (topbar, footer) are ported verbatim from
   landing.css / landing-v2.css so the page stays visually identical to
   sibling pages; section styling is new.

   Art direction: the page is one continuous instrument. A fixed telemetry
   rail tracks the frames (sections); every frame opens with a mono folio
   row; orange #FF4F00 appears only as signal (ticks, anomaly marks, the
   one underlined phrase, the LIVE dot). Motion is linear and plays
   once per entry; the only loops are the LIVE dot pulse and the neutral
   pull-quote sweep. Phone-interior motion mimics Telegram (exempt, like
   the radius exemption).

   JS contracts kept intact (do not rename these classes):
     .pain-grid / .src-grid          → mobile-v2.js (m-rot scroll rows)
     #how .tg-grid .tg-card .tg-msg  → tg-animator.js
     #refs-grid .ref-cell            → refs-animator.js
     .pos-chart .pc-node--us         → inline position script
     #vphone .tgx__* .phone          → phone-demo.js
     .topbar--reveal / --on-light    → inline topbar scripts
   ===================================================================== */

:root {
  --pad-section: clamp(96px, 12vw, 160px);
  --pad-block: 64px;
  --rail-w2: 64px;          /* telemetry rail width (desktop) */
  --ink-line: rgba(10, 11, 13, 0.14);   /* hairline on light ground */
  --ink-line-2: rgba(10, 11, 13, 0.28);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.vos-root { background: var(--bg-1); }

a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }

.shell { max-width: 1440px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 900px) { .shell { padding: 0 20px; } }

/* =========================================================================
   TOPBAR — ported from landing.css / landing-v2.css (identical to siblings)
   ========================================================================= */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--topbar-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  display: flex; align-items: center;
  backdrop-filter: blur(0);
  transition: background var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
.topbar .shell { display: flex; align-items: center; gap: 32px; width: 100%; }
.topbar__brand { display: flex; align-items: center; gap: 10px; }
.topbar__brand img { display: block; height: 22px; width: auto; }
.topbar__nav { display: none; align-items: center; gap: 32px; margin-left: auto; }
.topbar__nav a {
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--fg-3);
  transition: color var(--dur-instant);
}
.topbar__nav a:hover { color: var(--fg-1); }

.topbar--persistent {
  --topbar-h: calc(48px + env(safe-area-inset-top, 0px));
  height: var(--topbar-h);
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(10, 10, 11, 0.62);
  border-bottom-color: var(--line-1);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}
.topbar--persistent .shell { align-items: stretch; }
.topbar--persistent .topbar__brand { align-self: center; }
.topbar--persistent .topbar__nav { display: flex; align-self: center; }
.topbar--persistent .topbar__nav a {
  position: relative;
  height: 48px;
  display: inline-flex;
  align-items: center;
}
.topbar--persistent .topbar__nav-suffix { margin-left: 0.32em; }
.topbar--persistent .topbar__nav a[aria-current="page"] { color: var(--fg-0); }
.topbar--persistent .topbar__nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--accent);
}
body.vos-root .topbar--persistent .topbar__cta {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  height: 48px;
  margin: 0 -48px 0 auto;
  padding: 0 48px;
  border: 0;
  border-left: 1px solid var(--line-1);
  border-radius: 0;
  background: transparent;
  color: var(--fg-0);
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--dur-instant), color var(--dur-instant);
}
body.vos-root .topbar--persistent .topbar__cta:hover {
  background: var(--accent);
  color: var(--bg-0);
  border-color: var(--accent);
}
@media (max-width: 900px) {
  body.vos-root .topbar--persistent .topbar__cta { margin-right: -20px; padding: 0 20px; }
}
@media (max-width: 720px) {
  .topbar--persistent .shell { gap: 8px; padding: 0 16px; }
  .topbar--persistent .topbar__nav { display: flex; gap: 14px; margin: 0 auto; }
  .topbar--persistent .topbar__nav a { height: 48px; font-size: 11px; letter-spacing: 0.06em; }
  .topbar--persistent .topbar__nav-suffix { display: none; }
  body.vos-root .topbar--persistent .topbar__cta {
    min-width: 48px;
    padding: 0 12px;
    margin-right: -16px;
    justify-content: center;
    line-height: 1;
    gap: 0;
  }
  .topbar--persistent .topbar__cta-label { display: none; }
  .topbar--persistent .topbar__cta-arrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0;
  }
}
/* Fix vs landing-v2: at phone widths brand+nav+72px CTA overflowed the
   shell (scrollWidth 441 @ 390px) and pushed the CTA off-viewport. */
@media (max-width: 480px) {
  .topbar--persistent .topbar__nav { gap: 10px; }
  .topbar--persistent .topbar__nav a { font-size: 10px; letter-spacing: 0.03em; }
}
@media (max-width: 380px) {
  .topbar--persistent .shell { padding: 0 12px; }
  body.vos-root .topbar--persistent .topbar__cta { margin-right: -12px; }
  .topbar--persistent .topbar__nav { gap: 8px; }
}

/* reveal-on-scroll variant */
.topbar--reveal {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background var(--dur-med) var(--ease),
              border-color var(--dur-med) var(--ease),
              backdrop-filter var(--dur-med) var(--ease);
}
.topbar--reveal .topbar__nav,
.topbar--reveal .topbar__cta {
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease);
}
.topbar--reveal.is-visible {
  background: rgba(10, 10, 11, 0.62);
  border-bottom-color: var(--line-1);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}
.topbar--reveal.is-visible .topbar__nav,
.topbar--reveal.is-visible .topbar__cta {
  opacity: 1;
  pointer-events: auto;
}

/* on-light (over manifesto) — this group is the effective .topbar
   transition (it supersedes the --reveal list above), so it carries
   backdrop-filter too */
.topbar,
.topbar .topbar__brand img,
.topbar .topbar__nav a,
body.vos-root .topbar .topbar__cta {
  transition:
    background var(--dur-med) var(--ease),
    border-color var(--dur-med) var(--ease),
    color var(--dur-med) var(--ease),
    filter var(--dur-med) var(--ease),
    backdrop-filter var(--dur-med) var(--ease);
}
.topbar--on-light.is-visible {
  background: rgba(242, 242, 240, 0.88);
  border-bottom-color: rgba(10, 11, 13, 0.10);
}
.topbar--on-light .topbar__brand img { filter: invert(1); }
.topbar--on-light .topbar__nav a,
body.vos-root .topbar--on-light .topbar__cta { color: #0A0B0D; }
.topbar--on-light .topbar__nav a[aria-current="page"] { color: #0A0B0D; }
body.vos-root .topbar--on-light .topbar__cta { border-left-color: rgba(10, 11, 13, 0.18); }
body.vos-root .topbar--on-light .topbar__cta:hover {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

/* =========================================================================
   TELEMETRY RAIL — the page-level instrument chrome (desktop only).
   Fixed left column: frame index ticks + scroll readout. aria-hidden.
   ========================================================================= */
.i2-rail {
  position: fixed;
  top: 0; bottom: 0; left: 0;
  width: var(--rail-w2);
  z-index: 40;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: calc(48px + 32px) 0 32px;
  border-right: 1px solid var(--line-1);
  background: linear-gradient(180deg, rgba(10, 11, 13, 0.0), rgba(10, 11, 13, 0.0));
  pointer-events: none;
}
@media (min-width: 1280px) { .i2-rail { display: flex; } }

.i2-rail__top {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--fg-4);
  writing-mode: vertical-rl;
  text-transform: uppercase;
  white-space: nowrap;
}
.i2-rail__index {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.i2-rail__tick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--fg-4);
  transition: color var(--dur-med) var(--ease);
}
.i2-rail__tick::before {
  content: "";
  width: 12px;
  height: 1px;
  background: var(--line-2);
  transition: background var(--dur-med) var(--ease), width var(--dur-med) var(--ease);
}
.i2-rail__tick.is-active { color: var(--fg-2); }
.i2-rail__tick.is-active::before { background: var(--accent); width: 20px; }

.i2-rail__readout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--fg-4);
  font-variant-numeric: tabular-nums;
}
.i2-rail__readout .bar {
  width: 1px;
  height: 56px;
  background: var(--line-1);
  position: relative;
  overflow: hidden;
}
.i2-rail__readout .bar i {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0%;
  background: var(--fg-3);
}

/* (rail content offset lives after the hero shell rules — source order
   matters: the hero's `padding` shorthand must not clobber it) */

/* =========================================================================
   SHARED SECTION VOCABULARY — frames, folios, heads, CTAs
   ========================================================================= */
.i2-section {
  position: relative;
  padding: var(--pad-section) 0;
  border-top: 1px solid var(--line-1);
  background: var(--bg-1);
}
/* the hiw band draws its own bottom border — avoid a 2px two-tone seam */
.i2-hiw + .i2-section { border-top: 0; }

/* Folio row — the frame's instrument header: «КАДР 01 — СТЕК» + index. */
.i2-folio {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.i2-folio::before {
  content: "";
  width: 8px;
  height: 2px;
  background: var(--accent);
  align-self: center;
  flex: 0 0 auto;
}
.i2-folio .t { flex: 0 0 auto; }
.i2-folio .rule {
  flex: 1 1 auto;
  height: 1px;
  align-self: center;
  background: var(--line-1);
}
.i2-folio .ix { flex: 0 0 auto; color: var(--fg-4); }

/* Section head: headline + lede in a 2-col editorial grid. */
.i2-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px 64px;
  align-items: end;
  margin-bottom: var(--pad-block);
}
@media (max-width: 900px) {
  .i2-head { grid-template-columns: 1fr; gap: 20px; }
}
.i2-head h2 {
  font-family: var(--font-sans);
  font-weight: var(--w-light);
  font-size: clamp(32px, 3.9vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--fg-1);
  text-wrap: balance;
}
.i2-head .lede {
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 52ch;
  padding-bottom: 6px;
}
.i2-head .lede strong { color: var(--fg-1); font-weight: 500; }

/* CTA buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 500;
  border: 1px solid var(--fg-1);
  transition: background var(--dur-instant), color var(--dur-instant), border-color var(--dur-instant);
  cursor: pointer; background: transparent; color: var(--fg-1);
}
.cta--primary { background: var(--fg-1); color: var(--bg-1); }
.cta--primary:hover { background: var(--fg-0); border-color: var(--fg-0); }
.cta--ghost { border-color: var(--line-3); color: var(--fg-2); }
.cta--ghost:hover { color: var(--fg-1); border-color: var(--fg-1); }
.cta svg { width: 14px; height: 14px; }

/* Reveal-on-scroll: default state is fully visible (no-JS / reduced-motion
   law). JS adds .i2-anim to <html>, then .is-inview per section. */
.i2-anim .i2-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 480ms var(--ease), transform 480ms var(--ease);
}
.i2-anim .is-inview .i2-reveal,
.i2-anim .i2-reveal.is-inview {
  opacity: 1;
  transform: none;
}
.i2-anim .is-inview .i2-reveal:nth-child(2) { transition-delay: 70ms; }
.i2-anim .is-inview .i2-reveal:nth-child(3) { transition-delay: 140ms; }
.i2-anim .is-inview .i2-reveal:nth-child(4) { transition-delay: 210ms; }

/* =========================================================================
   HERO — live feed station. bg-0, corner ticks, static headline,
   phone mounted right with halo + brackets + LIVE label.
   ========================================================================= */
.i2-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(48px + 48px) 0 72px;
  background: var(--bg-0);
  overflow: hidden;
}
.i2-hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--line-1) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, var(--line-1) 1px, transparent 1px) 0 0 / 64px 100%;
  mask-image: radial-gradient(110% 90% at 60% 10%, #000 25%, transparent 78%);
  opacity: 0.5;
}
/* corner ticks — orange L-marks, the frame is live */
.i2-hero__tick {
  position: absolute;
  width: 14px; height: 14px;
  pointer-events: none;
}
.i2-hero__tick::before,
.i2-hero__tick::after {
  content: "";
  position: absolute;
  background: var(--accent);
}
.i2-hero__tick::before { width: 14px; height: 2px; }
.i2-hero__tick::after { width: 2px; height: 14px; }
.i2-hero__tick--tl { top: calc(48px + 16px); left: 16px; }
.i2-hero__tick--tr { top: calc(48px + 16px); right: 16px; transform: scaleX(-1); }
@media (min-width: 1280px) {
  .i2-hero__tick--tl { left: calc(var(--rail-w2) + 16px); }
}

.i2-hero__shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 900px) { .i2-hero__shell { padding: 0 20px; } }

.i2-hero__text { max-width: 560px; }

@keyframes i2-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.i2-hero__title {
  font-family: var(--font-sans);
  font-weight: var(--w-light);
  font-size: clamp(31px, 3.9vw, 54px);
  line-height: 1.07;
  letter-spacing: -0.015em;
  color: var(--fg-0);
  max-width: 17ch;
  text-wrap: balance;
}
.i2-hero__title em {
  font-style: normal;
  /* the one orange typographic mark on the page — the user's anomaly */
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.i2-hero__lede {
  margin-top: 24px;
  max-width: 44ch;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.55;
  color: var(--fg-2);
}
.i2-hero__lede strong { color: var(--fg-1); font-weight: 500; }

.i2-hero .cta-row { margin-top: 32px; }
.i2-hero__note {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-3);
}

/* phone column */
.i2-hero__demo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.i2-disq {
  margin-top: 16px;
  max-width: 62ch;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.55;
  color: var(--fg-3);
}
.i2-disq strong { color: var(--fg-1); font-weight: 500; }
.i2-price__note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-3);
  margin-top: 10px;
}
.i2-oauth {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-1);
  max-width: 80ch;
  font-size: 12px;
  line-height: 1.55;
  color: var(--fg-4);
}
.i2-oauth p + p { margin-top: 10px; }
.i2-oauth a { color: var(--fg-3); text-decoration: underline; }
/* static halo — the feed is the light source (single, no animation) */
.i2-hero__demo::before {
  content: "";
  position: absolute;
  width: 130%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 79, 0, 0.10), rgba(255, 79, 0, 0.035) 45%, transparent 72%);
  pointer-events: none;
}
/* mount brackets — thin hairline corners framing the feed */
.i2-hero__mount {
  position: absolute;
  inset: -26px;
  pointer-events: none;
}
.i2-hero__mount i {
  position: absolute;
  width: 18px; height: 18px;
  border: 0 solid var(--line-3);
}
.i2-hero__mount i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.i2-hero__mount i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.i2-hero__mount i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.i2-hero__mount i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

.i2-hero__feedtag {
  position: absolute;
  top: -27px;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.i2-hero__feedtag .dot {
  width: 5px; height: 5px;
  background: var(--accent);
  animation: i2-pulse 2.4s linear infinite;
}

.i2-hero__phonewrap {
  position: relative;
  transform: perspective(1800px) rotateY(-14deg) rotateX(5deg);
  transform-origin: center 42%;
  -webkit-mask-image: linear-gradient(to bottom, #000 56%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 56%, transparent 95%);
  opacity: 0.9;
  pointer-events: none;
}
@media (max-width: 900px) {
  .i2-hero__phonewrap { transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); opacity: 0.85; }
}

@media (max-width: 900px) {
  .i2-hero { min-height: 0; padding: calc(48px + 40px) 0 56px; }
  .i2-hero__shell { grid-template-columns: 1fr; gap: 56px; }
  .i2-hero__demo { order: 2; justify-content: center; }
  .i2-hero__demo::before { width: 110%; }
}
@media (max-width: 520px) {
  .i2-hero__demo { justify-content: flex-start; padding-left: 6px; }
}

/* Rail content offset. Lives AFTER the hero shell rules so the hero's
   `padding` shorthand can't clobber the padding-left at 1280-1580px. */
@media (min-width: 1280px) and (max-width: 1580px) {
  .shell, .i2-hero__shell { padding-left: calc(48px + var(--rail-w2)); }
}

/* =========================================================================
   PHONE — ported from index2-hero.css (proportions, chrome, bubbles).
   ========================================================================= */
.phone {
  position: relative;
  width: clamp(268px, 25vw, 312px);
  aspect-ratio: 9 / 19.5;
  background: #05060a;
  border: 1px solid var(--line-2);
  border-radius: 46px;
  padding: 12px;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.6),
    0 40px 80px -28px rgba(0, 0, 0, 0.9),
    inset 0 0 0 2px #000;
}
.phone__island {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 24px;
  background: #000;
  border-radius: 14px;
  z-index: 5;
}
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #0d0f14;
}
.tgx__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 40px 14px 10px;
  background: #15181f;
  border-bottom: 1px solid var(--line-1);
  z-index: 4;
}
.tgx__avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #000;
  border: 1px solid var(--line-2);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
}
.tgx__id { display: flex; flex-direction: column; line-height: 1.2; }
.tgx__name { font-size: 14px; font-weight: 600; color: var(--fg-1); }
.tgx__status { font-size: 11px; color: var(--fg-3); }

.tgx__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
  background:
    radial-gradient(140% 60% at 80% 0%, rgba(255, 79, 0, 0.05), transparent 60%),
    #0d0f14;
}
.tgx__body::-webkit-scrollbar { width: 4px; }
.tgx__body::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }

.tgx__day {
  align-self: center;
  margin: 2px 0 6px;
  padding: 3px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: var(--fg-3);
}
.tgx__msg {
  max-width: 86%;
  padding: 8px 11px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.42;
  color: var(--fg-1);
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
}
.tgx__msg b, .tgx__msg strong { font-weight: 600; color: #fff; }
.tgx__msg .tgx__time {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-3);
  text-align: right;
}
.tgx__msg.in {
  align-self: flex-start;
  background: #1c2029;
  border-bottom-left-radius: 5px;
}
.tgx__msg.out {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 5px;
}
.tgx__msg.out .tgx__time { color: rgba(255, 255, 255, 0.7); }
.tgx__msg.out b, .tgx__msg.out strong { color: #fff; }

.tgx-anim .tgx__msg { display: none; }
.tgx-anim .tgx__msg.show { display: inline-block; animation: tgxPop .34s cubic-bezier(.2,.7,.3,1) both; }
@keyframes tgxPop {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.tgx__typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 4px;
  padding: 11px 13px;
  border-radius: 16px;
  border-bottom-left-radius: 5px;
  background: #1c2029;
}
.tgx__typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--fg-3);
  animation: tgxBlink 1.2s infinite ease-in-out both;
}
.tgx__typing span:nth-child(2) { animation-delay: .15s; }
.tgx__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes tgxBlink {
  0%, 80%, 100% { opacity: .3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
@media (max-width: 900px) {
  .phone { width: clamp(260px, 72vw, 312px); }
}

/* =========================================================================
   HOW IT WORKS — the one tonal band (bg-2 panel). Protocol of entry:
   three numbered compartments joined by a route line.
   ========================================================================= */
.i2-hiw {
  background: var(--bg-2);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  padding: clamp(72px, 9vw, 120px) 0;
}
.i2-hiw .i2-head { margin-bottom: clamp(48px, 6vw, 72px); }

.i2-hiw__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-2);
  background: var(--bg-1);
}
.i2-hiw__cell {
  position: relative;
  padding: 24px 24px 32px;
  border-right: 1px solid var(--line-1);
}
.i2-hiw__cell:last-child { border-right: 0; }
.i2-hiw__cell .step {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--fg-3);
}
.i2-hiw__cell .step .n {
  font-size: 24px;
  font-weight: var(--w-light);
  letter-spacing: 0;
  color: var(--fg-2);
  font-variant-numeric: tabular-nums;
}
.i2-hiw__cell .rule {
  height: 1px;
  background: var(--line-1);
  margin: 18px 0 20px;
  position: relative;
}
/* route arrow on the rule, pointing to the next compartment */
.i2-hiw__cell:not(:last-child) .rule::after {
  content: "";
  position: absolute;
  right: -33px;
  top: -3.5px;
  width: 7px; height: 7px;
  border-top: 1px solid var(--line-3);
  border-right: 1px solid var(--line-3);
  transform: rotate(45deg);
  z-index: 2;
}
.i2-hiw__cell:not(:last-child) .rule::before {
  content: "";
  position: absolute;
  right: -29px;
  top: 0;
  width: 30px;
  height: 1px;
  background: var(--line-2);
}
.i2-hiw__cell h3 {
  font-family: var(--font-sans);
  font-weight: var(--w-medium);
  font-size: 19px;
  letter-spacing: -0.005em;
  color: var(--fg-1);
}
.i2-hiw__cell p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-2);
}
@media (max-width: 860px) {
  .i2-hiw__grid { grid-template-columns: 1fr; }
  .i2-hiw__cell { border-right: 0; border-bottom: 1px solid var(--line-1); }
  .i2-hiw__cell:last-child { border-bottom: 0; }
  .i2-hiw__cell .rule::before, .i2-hiw__cell .rule::after { display: none; }
}

/* =========================================================================
   01 СТЕК — pain grid. 4 compartments: + (sees, fg) / − (misses, signal).
   .pain-grid / .pain-cell names kept for mobile-v2.js.
   ========================================================================= */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-2);
}
.pain-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 28px;
  border-right: 1px solid var(--line-1);
  background: transparent;
  transition: background var(--dur-med) var(--ease);
}
.pain-cell:last-child { border-right: 0; }
.pain-cell:hover { background: var(--bg-2); }
/* active corner tick on hover */
.pain-cell::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 8px; height: 2px;
  background: transparent;
  transition: background var(--dur-instant);
}
.pain-cell:hover::before { background: var(--accent); }

.pain-cell__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  /* reserve two label lines so slogans stay baseline-aligned across the
     row even when a long head wraps at tablet widths */
  min-height: 30px;
}
.pain-cell__head span:last-child { color: var(--fg-4); }
.pain-cell__slogan {
  margin-top: 18px;
  font-family: var(--font-sans);
  font-weight: var(--w-regular);
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--fg-1);
}
.pain-cell__split {
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pain-cell__split .row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 12px 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--fg-2);
  border-top: 1px solid var(--line-1);
}
.pain-cell__split .row strong { color: var(--fg-1); font-weight: 500; }
.pain-cell__split .mark {
  flex: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.pain-cell__split .see .mark { color: var(--fg-1); }
.pain-cell__split .miss .mark { color: var(--accent); }
.pain-cell__split .miss { color: var(--fg-2); }

@media (max-width: 1000px) and (min-width: 701px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-cell { border-bottom: 1px solid var(--line-1); }
  .pain-cell:nth-child(2n) { border-right: 0; }
  .pain-cell:nth-last-child(-n+2) { border-bottom: 0; }
}

/* =========================================================================
   PULL-QUOTE — the void frame: fine graticule, huge type, one slow sweep.
   ========================================================================= */
.i2-pull {
  position: relative;
  background: var(--bg-0);
  border-top: 1px solid var(--line-1);
  padding: clamp(120px, 16vw, 220px) 0;
  overflow: hidden;
}
.i2-pull__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line-1) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-1) 1px, transparent 1px);
  background-size: 8px 8px;
  opacity: 0.85;
  mask-image: radial-gradient(85% 100% at 40% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
/* the sweep — a thin neutral scan line crossing the scope once in a while
   (orange stays reserved for signal marks) */
.i2-pull__sweep {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  left: -2%;
  background: linear-gradient(180deg, transparent, rgba(242, 242, 240, 0.35), transparent);
  animation: i2-sweep 9s linear infinite;
  pointer-events: none;
}
@keyframes i2-sweep {
  0%   { left: -2%; opacity: 0; }
  4%   { opacity: 1; }
  46%  { left: 102%; opacity: 1; }
  50%  { left: 102%; opacity: 0; }
  100% { left: 102%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .i2-pull__sweep { display: none; }
  .i2-hero__feedtag .dot { animation: none; }
  .pc-node--us::before, .pc-node--us::after { transition: none !important; }
  .refs-grid .ref-cell.ref-cell--swap-out,
  .refs-grid .ref-cell.ref-cell--swap-in { transition: none !important; }
}
.i2-pull__text {
  position: relative;
  font-family: var(--font-sans);
  font-weight: var(--w-light);
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--fg-0);
}
.i2-pull__text .lead-in {
  display: block;
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--fg-2);
  margin-bottom: 26px;
}
.i2-pull__text em { font-style: italic; }

/* =========================================================================
   02 ЧТО ПРИХОДИТ — three live transmissions. tg-* names kept for
   tg-animator.js. Cards: bounded frames with mono legends + badges.
   ========================================================================= */
.tg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.tg-card {
  border: 1px solid var(--line-1);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  min-height: 420px;
  /* animator contract: invisible until .is-on */
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.tg-card.is-on { opacity: 1; transform: none; }
.tg-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-1);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.tg-card__head .legend { color: var(--fg-2); }
.tg-card__head > span:last-child {
  padding: 4px 8px;
  border: 1px solid var(--line-2);
  color: var(--fg-2);
  line-height: 1;
}
.tg-card__head > .anomaly {
  border-color: var(--accent);
  color: var(--accent);
}
.tg-thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background:
    radial-gradient(150% 50% at 85% 0%, rgba(255, 79, 0, 0.045), transparent 55%),
    #0d0f14;
}
.tg-msg {
  max-width: 85%;
  align-self: flex-start;
  padding: 10px 13px;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  background: #1c2029;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-1);
  white-space: pre-line;
}
.tg-msg strong { font-weight: 600; color: #fff; }
.tg-msg .readout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin-top: 12px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line-1);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.tg-msg .readout .l { color: var(--fg-3); text-transform: uppercase; }
.tg-msg .readout .v { color: var(--fg-2); text-align: right; font-variant-numeric: tabular-nums; }
.tg-msg .readout .v.accent { color: var(--accent); }

/* per-message reveal — animator contract (.is-on) */
.tg-grid .tg-msg {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.tg-grid .tg-msg.is-on { opacity: 1; transform: none; }

.tg-typing {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 11px 13px;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  background: #1c2029;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.tg-typing.is-on { opacity: 1; transform: none; }
.tg-typing > i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--fg-3);
  animation: tgxBlink 1.2s infinite ease-in-out both;
}
.tg-typing > i:nth-child(2) { animation-delay: .15s; }
.tg-typing > i:nth-child(3) { animation-delay: .3s; }

/* no-JS / reduced-motion / mobile fallback — everything visible */
.tg-grid.tg-static .tg-card,
.tg-grid.tg-static .tg-msg {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .tg-card, .tg-grid .tg-msg, .tg-typing {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 1000px) and (min-width: 701px) {
  .tg-grid { grid-template-columns: 1fr; }
  .tg-card { min-height: 0; }
}
@media (max-width: 700px) {
  .tg-grid { grid-template-columns: 1fr; gap: 16px; }
  .tg-card { min-height: 0; }
}

/* =========================================================================
   03 ИСТОЧНИКИ — 4×2 source matrix. .src-grid/.src-cell kept for
   mobile-v2.js. СКОРО chips carry an orange dot (signal, labelled).
   ========================================================================= */
/* 3-col matrix: rows = [1-3], [4-6], [7 + wide(2)] — closes exactly. */
.src-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-2);
}
.src-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
  transition: background var(--dur-med) var(--ease);
}
.src-cell:hover { background: var(--bg-2); }
.src-cell:nth-child(3n) { border-right: 0; }
.src-cell:nth-last-child(-n+2) { border-bottom: 0; }
.src-cell--wide { grid-column: span 2; border-right: 0; background: var(--bg-2); }

.src-cell__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.src-cell__head span:last-child { color: var(--fg-4); }
.src-cell__head .soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-2);
}
.src-cell__head .soon::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--accent);
}
.src-cell__title {
  margin-top: 16px;
  font-family: var(--font-sans);
  font-weight: var(--w-regular);
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--fg-1);
}
.src-cell__body {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--fg-2);
}
.src-cell__body p + p { margin-top: 8px; }
.src-cell--wide .src-cell__title { max-width: 30ch; }

@media (max-width: 1000px) and (min-width: 701px) {
  .src-grid { grid-template-columns: repeat(2, 1fr); }
  .src-cell { border-right: 1px solid var(--line-1); border-bottom: 1px solid var(--line-1); }
  .src-cell:nth-child(2n) { border-right: 0; }
  .src-cell:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-1); }
  /* rows: [1-2][3-4][5-6][7 + wide spans both? no — wide drops to its own row] */
  .src-cell--wide { grid-column: span 2; border-right: 0; border-bottom: 0; }
  .src-cell:nth-child(7) { border-right: 0; grid-column: span 2; }
}

/* =========================================================================
   04 ПОЗИЦИЯ — scope plot over fine graticule; VectorOS node beacons in.
   .pos-chart/.pc-node names kept for the inline reveal script.
   ========================================================================= */
.pos-chart {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 20px;
  margin: 0;
}
.pos-chart__yaxis {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  border-right: 1px solid var(--line-2);
  padding-right: 16px;
}
.pos-chart__ylabel {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: center;
}
.pos-chart__plot {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-image:
    linear-gradient(to right, var(--line-1) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-1) 1px, transparent 1px);
  background-size: 8px 8px;
}
.pc-node {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line-1);
  margin: 14px;
  padding: 20px 22px;
}
/* per-card axis caption — replaces the hidden axes on small screens */
.pc-node__dim {
  display: none;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-4);
  margin-bottom: 10px;
}
.pc-node--us .pc-node__dim { color: var(--fg-3); }
.pc-node__name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.pc-node p {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--fg-3);
}
.pc-node p strong { color: var(--fg-2); font-weight: 500; }

.pc-node--us {
  background: var(--bg-2);
  border-color: var(--line-3);
}
.pc-node--us .pc-node__name { color: var(--fg-0); }
.pc-node--us p { color: var(--fg-2); }
.pc-node--us p strong { color: var(--fg-1); }
/* beacon — 2px orange top edge + corner label, revealed by the IO script */
.pc-node--us::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 600ms var(--ease);
}
.pc-anim-armed .pc-node--us.is-revealing::before,
.pos-chart:not(.pc-anim-armed) .pc-node--us::before { width: calc(100% + 2px); }
.pc-node--us::after {
  content: "АКТИВЕН";
  position: absolute;
  top: 10px; right: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--accent);
  opacity: 0;
  transition: opacity 400ms var(--ease) 400ms;
}
.pc-anim-armed .pc-node--us.is-revealing::after,
.pos-chart:not(.pc-anim-armed) .pc-node--us::after { opacity: 1; }

.pos-chart__xaxis {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-2);
  margin-top: 0;
  padding-top: 12px;
}
.pos-chart__xlabel {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  text-align: center;
}
@media (max-width: 860px) {
  .pos-chart { grid-template-columns: 1fr; }
  .pos-chart__yaxis, .pos-chart__xaxis { display: none; }
  .pos-chart__plot { grid-template-columns: 1fr; }
  .pc-node { margin: 8px; }
  .pc-node__dim { display: block; }
}

/* =========================================================================
   05 ОСНОВАНИЯ — reference cells (populated by refs-animator.js).
   ========================================================================= */
.refs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line-2);
  grid-auto-rows: minmax(240px, auto);
}
@media (max-width: 1100px) { .refs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .refs-grid { grid-template-columns: 1fr; } }

.ref-cell {
  padding: 24px;
  border-right: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
  display: flex; flex-direction: column; gap: 12px;
  min-height: 200px;
  background: var(--bg-0);
}
.refs-grid .ref-cell:nth-child(4n) { border-right: 0; }
.refs-grid .ref-cell:nth-last-child(-n+4) { border-bottom: 0; }
@media (max-width: 1100px) {
  .refs-grid .ref-cell { border-right: 1px solid var(--line-1); border-bottom: 1px solid var(--line-1); }
  .refs-grid .ref-cell:nth-last-child(-n+4) { border-bottom: 1px solid var(--line-1); }
  .refs-grid .ref-cell:nth-child(2n) { border-right: 0; }
  .refs-grid .ref-cell:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 600px) {
  .refs-grid .ref-cell { border-right: 0; border-bottom: 1px solid var(--line-1); }
  .refs-grid .ref-cell:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-1); }
  .refs-grid .ref-cell:last-child { border-bottom: 0; }
}
.ref-cell__head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--fg-4);
}
.ref-cell__author {
  font-family: var(--font-sans);
  font-weight: 500; font-size: 16px;
  color: var(--fg-1);
  letter-spacing: -0.005em;
}
.ref-cell__concept {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-2);
  line-height: 1.5;
}
.ref-cell__use {
  font-size: 12px;
  color: var(--fg-3);
  line-height: 1.55;
  margin-top: auto;
  border-top: 1px solid var(--line-1);
  padding-top: 12px;
}
/* desktop swap animation hooks (refs-animator) */
.refs-grid .ref-cell.ref-cell--swap-out { opacity: 0; transition: opacity .26s var(--ease); }
.refs-grid .ref-cell.ref-cell--swap-in { opacity: 1; transition: opacity .3s var(--ease); }

/* =========================================================================
   06 ДОСТУП — price readout + 3×2 feature compartments.
   ========================================================================= */
.i2-price {
  border: 1px solid var(--line-2);
}
.i2-price__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line-1);
  background: var(--bg-2);
}
.i2-price__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 14px;
}
.i2-price__eyebrow::before {
  content: "";
  width: 8px; height: 2px;
  background: var(--accent);
}
.i2-price__readout {
  font-family: var(--font-mono);
  font-weight: var(--w-light);
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--fg-0);
  font-variant-numeric: tabular-nums;
}
.i2-price__readout .per {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  margin-left: 8px;
}
.i2-price__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.i2-feature {
  padding: 24px 24px 28px;
  border-right: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
}
.i2-feature:nth-child(3n) { border-right: 0; }
.i2-feature:nth-last-child(-n+3) { border-bottom: 0; }
.i2-feature__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.i2-feature__head .ico { width: 16px; height: 16px; color: var(--fg-3); flex: 0 0 auto; }
.i2-feature__head .num { margin-left: auto; color: var(--fg-4); }
.i2-feature__desc {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--fg-2);
}
@media (max-width: 900px) {
  .i2-price__top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .i2-price__features { grid-template-columns: 1fr; }
  .i2-feature { border-right: 0; }
  .i2-feature:nth-last-child(-n+3) { border-bottom: 1px solid var(--line-1); }
  .i2-feature:last-child { border-bottom: 0; }
}

/* =========================================================================
   MANIFESTO — the one inversion: paper ground, ink type, framed theses.
   .manifesto class kept for the topbar on-light script.
   ========================================================================= */
.manifesto {
  background: #F2F2F0;
  color: #0A0B0D;
  padding: var(--pad-section) 0;
}
.manifesto .i2-folio { color: rgba(10, 11, 13, 0.45); }
.manifesto .i2-folio .rule { background: var(--ink-line); }
.manifesto .i2-folio .ix { color: rgba(10, 11, 13, 0.35); }
.manifesto__title {
  font-family: var(--font-sans);
  font-weight: var(--w-light);
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: #0A0B0D;
}
.manifesto__title-line2 { color: rgba(10, 11, 13, 0.45); }
.manifesto__body { max-width: 880px; margin-top: clamp(36px, 5vw, 56px); }
.manifesto__lede {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: rgba(10, 11, 13, 0.75);
  max-width: 56ch;
}
.manifesto__list {
  margin-top: clamp(36px, 5vw, 56px);
  border: 1px solid var(--ink-line-2);
}
.manifesto__list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 26px 28px;
  border-bottom: 1px solid var(--ink-line);
}
.manifesto__list li:last-child { border-bottom: 0; }
.manifesto__list-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: var(--w-light);
  color: rgba(10, 11, 13, 0.35);
  font-variant-numeric: tabular-nums;
}
.manifesto__list-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(10, 11, 13, 0.7);
}
.manifesto__list-lead {
  display: block;
  font-family: var(--font-sans);
  font-weight: var(--w-medium);
  font-size: 17px;
  color: #0A0B0D;
  margin-bottom: 6px;
}
.manifesto__close {
  margin-top: clamp(32px, 4vw, 44px);
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(10, 11, 13, 0.7);
  max-width: 62ch;
}
.manifesto__cta {
  margin-top: 36px;
  border-color: #0A0B0D;
  background: #0A0B0D;
  color: #F2F2F0;
}
.manifesto__cta:hover { background: #000; border-color: #000; color: #fff; }
@media (max-width: 700px) {
  .manifesto__list li { grid-template-columns: 1fr; gap: 10px; padding: 22px 20px; }
  .manifesto__list-num { font-size: 18px; }
}

/* =========================================================================
   FINAL — return to the void: rising vector, big type, one filled CTA.
   ========================================================================= */
.i2-final {
  position: relative;
  background: var(--bg-0);
  border-top: 1px solid var(--line-1);
  padding: clamp(110px, 15vw, 200px) 0;
  overflow: hidden;
}
.i2-final__vector {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.i2-final__shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
}
@media (max-width: 900px) { .i2-final__shell { grid-template-columns: 1fr; } }
.i2-final h2 {
  font-family: var(--font-sans);
  font-weight: var(--w-light);
  font-size: clamp(36px, 4.8vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--fg-0);
}
.i2-final p {
  margin-top: 22px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 46ch;
}
.i2-final .cta-row { margin-top: 34px; }

/* =========================================================================
   FOOTER — ported from landing.css
   ========================================================================= */
footer {
  padding: 40px 0 calc(56px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line-1);
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--fg-3);
  background: var(--bg-1);
}
footer .shell { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer .links { display: flex; gap: 16px 24px; flex-wrap: wrap; }
footer .links a { white-space: nowrap; }
footer a:hover { color: var(--fg-1); }

/* =========================================================================
   MOBILE — m-rot horizontal scroll rows (.pain-grid/.src-grid via
   mobile-v2.js) + refs deck (refs-animator) + misc. Ported & adapted.
   ========================================================================= */
.m-rot-chrome { display: none; }

@media (max-width: 700px) {
  .m-rot-chrome {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 14px;
  }
  .m-rot-id {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--fg-3);
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: baseline;
  }
  .m-rot-id em { font-style: normal; color: var(--fg-1); }
  .m-rot-id span.sep { color: var(--fg-4); margin: 0 4px; }
  .m-rot-progress {
    flex: 1;
    height: 1px;
    background: var(--line-1);
    position: relative;
    overflow: hidden;
  }
  .m-rot-progress > i {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 0%;
    background: var(--fg-2);
    transition: width 160ms var(--ease);
  }
  .m-rot-target {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    border: 0 !important;
    gap: 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 -20px;
    padding: 0 20px;
  }
  .m-rot-target::-webkit-scrollbar { display: none; }
  .m-rot-target > * {
    flex: 0 0 82%;
    scroll-snap-align: center;
    border: 1px solid var(--line-2) !important;
  }
  .m-rot-target:focus-visible { outline: 1px solid var(--fg-1); outline-offset: 2px; }

  .src-cell { min-height: 200px; }
  .src-cell--wide { grid-column: auto; }

  /* refs deck — recede-to-back card stack (refs-animator mobile mode) */
  .refs-deck {
    position: relative;
    display: block;
    border: 0;
    min-height: 300px;
  }
  .refs-deck:focus-visible { outline: 1px solid var(--fg-1); outline-offset: 4px; }
  .refs-deck .ref-cell {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    min-height: 280px;
    border: 1px solid var(--line-2);
    background: var(--bg-0);
    transition: transform .3s var(--ease), opacity .3s var(--ease);
  }
  .refs-deck .ref-cell[data-depth="0"] { transform: translateY(0)    scale(1);    opacity: 1; z-index: 4; }
  .refs-deck .ref-cell[data-depth="1"] { transform: translateY(10px) scale(.955); opacity: .55; z-index: 3; }
  .refs-deck .ref-cell[data-depth="2"] { transform: translateY(20px) scale(.91);  opacity: .26; z-index: 2; }
  .refs-deck .ref-cell[data-depth="3"] { transform: translateY(28px) scale(.88);  opacity: 0; z-index: 1; }
  .refs-deck__chrome { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .m-rot-progress > i { transition: none !important; }
  .refs-deck .ref-cell { transition: opacity .2s linear; }
  .i2-anim .i2-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
