@font-face {
  font-family: "Source Serif 4";
  src: url("./assets/fonts/SourceSerif4-Variable-cyrillic.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("./assets/fonts/IBMPlexMono-Regular-cyrillic.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --tnsp-stage-w: 1600px;
  --tnsp-stage-h: 900px;
  --tnsp-scale: 1;
  --tnsp-canvas: #f6f3f1;
  --tnsp-surface: #fbf9f7;
  --tnsp-white: #fff;
  --tnsp-ink: #242424;
  --tnsp-muted: #5f5b59;
  --tnsp-line: #cecac8;
  --tnsp-blue: #2b59d1;
  --tnsp-blue-dark: #1f46af;
  --tnsp-mint: #a7fccd;
  --tnsp-gold: #f5d66d;
  --tnsp-coral: #ff9473;
  --tnsp-periwinkle: #cfdaf5;
  --tnsp-serif: "Source Serif 4", Georgia, serif;
  --tnsp-mono: "IBM Plex Mono", ui-monospace, monospace;
  --tnsp-radius: 38px;
  --tnsp-pad-x: 72px;
  --tnsp-pad-y: 62px;
  --tnsp-hairline: 1px;
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: #dedad7;
  color: var(--tnsp-ink);
  font-family: var(--tnsp-serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

button { font: inherit; }

.tnsp-shell {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #dedad7;
}

.tnsp-deck {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--tnsp-stage-w);
  height: var(--tnsp-stage-h);
  transform: scale(var(--tnsp-scale));
  transform-origin: top left;
  background: var(--tnsp-canvas);
}

.tnsp-deck::after {
  content: "";
  position: absolute;
  z-index: 30;
  inset: 0;
  border: 1px solid var(--tnsp-line);
  pointer-events: none;
}

.tnsp-slide {
  position: absolute;
  inset: 0;
  display: none;
  overflow: hidden;
  width: var(--tnsp-stage-w);
  height: var(--tnsp-stage-h);
  padding: var(--tnsp-pad-y) var(--tnsp-pad-x);
  background: var(--tnsp-canvas);
  color: var(--tnsp-ink);
  isolation: isolate;
}

.tnsp-slide.is-active,
.tnsp-deck:not(.is-ready) .tnsp-slide:first-child { display: block; }

.tnsp-slide:not(.tnsp-slide--dark)::before,
.tnsp-field {
  content: "";
  position: absolute;
  z-index: -1;
  top: -230px;
  right: -190px;
  width: 820px;
  height: 640px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 72% 18%, rgba(43,89,209,.16), transparent 44%),
    radial-gradient(circle at 42% 48%, rgba(167,252,205,.14), transparent 52%),
    radial-gradient(circle at 82% 62%, rgba(255,148,115,.10), transparent 55%);
  filter: blur(58px);
  opacity: .82;
  pointer-events: none;
}

.tnsp-slide--mist::before {
  top: -190px;
  right: -120px;
  width: 880px;
  height: 690px;
  background:
    radial-gradient(circle at 72% 18%, rgba(43,89,209,.34), transparent 45%),
    radial-gradient(circle at 48% 46%, rgba(167,252,205,.28), transparent 52%),
    radial-gradient(circle at 82% 62%, rgba(255,148,115,.20), transparent 54%);
  filter: blur(48px);
  opacity: .9;
}

.tnsp-slide--dark {
  background:
    radial-gradient(circle at 92% 4%, rgba(43,89,209,.22), transparent 30%),
    radial-gradient(circle at 72% 92%, rgba(167,252,205,.10), transparent 34%),
    var(--tnsp-ink);
  color: var(--tnsp-white);
}

.tnsp-slide--dark .tnsp-eyebrow,
.tnsp-slide--dark .tnsp-subtitle,
.tnsp-slide--dark .tnsp-slide-footer {
  color: rgba(255,255,255,.68);
}

.tnsp-brand {
  position: absolute;
  z-index: 4;
  top: 48px;
  left: 72px;
  width: 154px;
  height: 46px;
  display: flex;
  align-items: center;
}

.tnsp-brand img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.tnsp-home-link {
  display: flex;
  max-width: 100%;
  max-height: 100%;
  align-items: center;
  color: inherit;
}

.tnsp-home-link:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--tnsp-blue);
  outline-offset: 6px;
}

.tnsp-slide-footer {
  position: absolute;
  z-index: 4;
  right: 72px;
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--tnsp-muted);
  font-family: var(--tnsp-mono);
  font-size: 12px;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.tnsp-slide-footer img {
  display: block;
  width: 102px;
  height: auto;
  max-width: 102px;
  max-height: 26px;
  image-rendering: auto;
}

.tnsp-title-zone { position: relative; z-index: 2; max-width: 1320px; }

.tnsp-slide--balanced.is-active,
.tnsp-deck:not(.is-ready) .tnsp-slide--balanced:first-child {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  padding-bottom: 84px;
}

.tnsp-content-zone {
  position: relative;
  z-index: 2;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tnsp-content-zone > :first-child { margin-top: 0; }

.tnsp-eyebrow,
.tnsp-source,
.tnsp-label {
  font-family: var(--tnsp-mono);
  font-size: 14px;
  line-height: 1.28;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.tnsp-eyebrow { margin: 0 0 20px; color: var(--tnsp-muted); }
.tnsp-title {
  margin: 0;
  max-width: 1240px;
  font-family: var(--tnsp-serif);
  font-size: 72px;
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.028em;
}

.tnsp-title--cover { max-width: 1050px; font-size: 100px; line-height: .94; }
.tnsp-title--wide { max-width: 1460px; }

.tnsp-subtitle,
.tnsp-body {
  color: var(--tnsp-muted);
  font-family: var(--tnsp-serif);
  font-weight: 400;
}

.tnsp-subtitle {
  max-width: 900px;
  margin: 24px 0 0;
  font-size: 30px;
  line-height: 1.22;
}

.tnsp-body {
  max-width: 820px;
  margin: 26px 0 0;
  font-size: 25px;
  line-height: 1.34;
}

.tnsp-source {
  margin-top: 18px;
  color: var(--tnsp-muted);
  font-size: 12px;
  text-transform: none;
}

.tnsp-cover {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 760px;
  max-width: 1120px;
  flex-direction: column;
  justify-content: center;
  padding-top: 42px;
}

.tnsp-action {
  display: inline-flex;
  width: max-content;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--tnsp-blue);
  color: white;
  font-family: var(--tnsp-mono);
  font-size: 13px;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.tnsp-action svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.tnsp-contents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 42px 74px;
  margin-top: 58px;
}

.tnsp-contents-item,
.tnsp-numbered-row {
  display: grid;
  grid-template-columns: 56px minmax(0,1fr);
  gap: 18px;
  align-items: start;
}

.tnsp-num {
  color: var(--tnsp-muted);
  font-family: var(--tnsp-mono);
  font-size: 22px;
  line-height: 1.1;
}

.tnsp-item-title {
  margin: 0;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.04;
}

.tnsp-item-body {
  margin: 10px 0 0;
  color: var(--tnsp-muted);
  font-size: 20px;
  line-height: 1.3;
}

.tnsp-divider {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  color: var(--tnsp-white);
}

.tnsp-divider--level-1 {
  max-width: 1300px;
  min-height: 700px;
  padding: 48px 70px 56px;
}

.tnsp-divider--level-1 .tnsp-title { max-width: 1160px; font-size: 96px; }
.tnsp-divider--level-1 .tnsp-subtitle { max-width: 840px; font-size: 31px; }

.tnsp-divider--level-2 {
  max-width: 980px;
  min-height: 560px;
  margin-left: 190px;
  padding: 70px 0 36px;
}

.tnsp-divider--level-2 .tnsp-title { max-width: 920px; font-size: 70px; line-height: 1.01; }
.tnsp-divider--level-2 .tnsp-subtitle { max-width: 760px; font-size: 26px; }

.tnsp-thesis {
  max-width: 1260px;
  min-height: 570px;
  margin: 86px auto 0;
  padding: 68px 72px;
  border: 1px solid var(--tnsp-line);
  border-radius: var(--tnsp-radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(207,218,245,.30), transparent 36%),
    var(--tnsp-surface);
  display: flex;
  align-items: center;
}

.tnsp-thesis--quiet { margin-top: 86px; max-width: 1260px; }
.tnsp-thesis__title { margin: 0; font-size: 70px; font-weight: 400; line-height: 1.03; letter-spacing: -.025em; }
.tnsp-thesis__body { max-width: 960px; margin: 26px 0 0; color: var(--tnsp-muted); font-size: 26px; line-height: 1.34; }

.tnsp-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 900px;
  margin: calc(var(--tnsp-pad-y) * -1) calc(var(--tnsp-pad-x) * -1);
}

.tnsp-split--5-7 { grid-template-columns: 5fr 7fr; }
.tnsp-split--7-5 { grid-template-columns: 7fr 5fr; }
.tnsp-split__pane { display: flex; flex-direction: column; justify-content: center; padding: 82px 72px; }
.tnsp-split__pane + .tnsp-split__pane { border-left: 1px solid var(--tnsp-line); }

.tnsp-media {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--tnsp-line);
  border-radius: var(--tnsp-radius);
  background: var(--tnsp-surface);
}

.tnsp-split .tnsp-media { border: 0; border-radius: 0; }
.tnsp-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tnsp-media__slot { display: grid; width: 100%; height: 100%; place-items: center; padding: 50px; color: var(--tnsp-muted); font-family: var(--tnsp-mono); text-align: center; }

.tnsp-grid,
.tnsp-columns,
.tnsp-card-grid,
.tnsp-metric-row,
.tnsp-people {
  display: grid;
  gap: 22px;
  align-items: stretch;
  margin-top: 48px;
}

.tnsp-grid--2, .tnsp-columns--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.tnsp-grid--3, .tnsp-columns--3, .tnsp-card-grid--3, .tnsp-people--3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.tnsp-grid--4, .tnsp-columns--4, .tnsp-metric-row--4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.tnsp-columns--5 { grid-template-columns: repeat(5,minmax(0,1fr)); }

.tnsp-column {
  min-height: 250px;
  padding: 32px;
  border: 1px solid var(--tnsp-line);
  border-radius: var(--tnsp-radius);
  background: rgba(251,249,247,.90);
}

.tnsp-column__title { min-height: 64px; margin: 0; font-size: 34px; font-weight: 400; line-height: 1.02; }
.tnsp-column__body { margin: 16px 0 0; color: var(--tnsp-muted); font-size: 20px; line-height: 1.33; }

.tnsp-card,
.tnsp-metric,
.tnsp-factoid,
.tnsp-person,
.tnsp-comparison__side,
.tnsp-quote {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--tnsp-line);
  border-radius: var(--tnsp-radius);
  background: rgba(251,249,247,.92);
}

.tnsp-card { min-height: 260px; padding: 34px; }
.tnsp-card::before, .tnsp-metric::before, .tnsp-factoid::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -120px;
  right: -100px;
  width: 300px;
  height: 260px;
  border-radius: 50%;
  background: var(--card-field, var(--tnsp-periwinkle));
  filter: blur(72px);
  opacity: .5;
}
.tnsp-card > *, .tnsp-metric > *, .tnsp-factoid > * { position: relative; z-index: 1; }
.tnsp-card__title { margin: 22px 0 0; font-size: 34px; font-weight: 400; line-height: 1.04; }
.tnsp-card__body { margin: 16px 0 0; color: var(--tnsp-muted); font-size: 20px; line-height: 1.32; }

.tnsp-icon { display: block; width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tnsp-icon--large { width: 44px; height: 44px; }

.tnsp-numbered-rows { display: grid; gap: 0; }
.tnsp-numbered-row { padding: 24px 0; border-bottom: 1px solid var(--tnsp-line); }
.tnsp-numbered-row:first-child { border-top: 1px solid var(--tnsp-line); }

.tnsp-metric-row { min-height: 100%; align-content: center; align-items: start; }
.tnsp-metric { min-height: 190px; padding: 26px; }
.tnsp-metric__value { margin: 26px 0 0; font-size: 70px; line-height: .9; }
.tnsp-metric__note { margin: 16px 0 0; color: var(--tnsp-muted); font-size: 18px; line-height: 1.3; }

.tnsp-factoid-showcase {
  display: grid;
  grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr);
  gap: 24px;
  width: 100%;
  align-items: stretch;
}

.tnsp-factoid-group {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  min-width: 0;
}

.tnsp-factoid-group__label {
  margin: 0;
  color: var(--tnsp-muted);
  font-family: var(--tnsp-mono);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.tnsp-factoid-grid { display: grid; gap: 12px; align-items: stretch; }
.tnsp-factoid-grid--4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.tnsp-factoid-grid--6 { grid-template-columns: repeat(3,minmax(0,1fr)); }

.tnsp-factoid {
  min-width: 0;
  min-height: 146px;
  padding: 18px 20px;
  border-radius: 24px;
}

.tnsp-factoid__source {
  margin: 0;
  color: var(--tnsp-muted);
  font-family: var(--tnsp-mono);
  font-size: 10px;
  line-height: 1.25;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.tnsp-factoid__value { margin: 14px 0 0; font-size: 52px; line-height: .82; }
.tnsp-factoid__note { margin: 12px 0 0; color: var(--tnsp-muted); font-size: 16px; line-height: 1.2; }
.tnsp-factoid-grid--6 .tnsp-factoid { padding: 17px 18px; }
.tnsp-factoid-grid--6 .tnsp-factoid__value { font-size: 46px; }
.tnsp-factoid-grid--6 .tnsp-factoid__note { font-size: 14px; }

.tnsp-quote {
  min-height: 440px;
  padding: 58px 64px;
  background:
    radial-gradient(circle at 0% 0%, rgba(245,214,109,.22), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(255,148,115,.16), transparent 36%),
    var(--tnsp-surface);
  color: var(--tnsp-ink);
}
.tnsp-quote__mark { color: var(--tnsp-ink); font-size: 86px; line-height: .5; }
.tnsp-quote__body { max-width: 1050px; margin: 62px 0 0; font-size: 54px; line-height: 1.04; }
.tnsp-quote__source { margin-top: 34px; color: var(--tnsp-muted); font-family: var(--tnsp-mono); font-size: 14px; }

.tnsp-quote--dark {
  background:
    radial-gradient(circle at 0 0, rgba(43,89,209,.24), transparent 36%),
    radial-gradient(circle at 100% 100%, rgba(255,148,115,.14), transparent 38%),
    var(--tnsp-ink);
  color: var(--tnsp-white);
}
.tnsp-quote--dark .tnsp-quote__mark { color: var(--tnsp-coral); }
.tnsp-quote--dark .tnsp-quote__source { color: rgba(255,255,255,.62); }

.tnsp-process { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 34px; margin-top: 44px; }
.tnsp-process-step { display: grid; grid-template-columns: 54px 44px minmax(0,1fr); gap: 18px; align-items: start; padding: 24px 0 28px; border-bottom: 1px solid var(--tnsp-line); }
.tnsp-process-step__title { margin: 0; font-size: 27px; font-weight: 400; line-height: 1.05; }
.tnsp-process-step__body { margin: 12px 0 0; color: var(--tnsp-muted); font-size: 18px; line-height: 1.3; }

.tnsp-axis {
  position: relative;
  width: 100%;
  height: 550px;
  margin-top: 42px;
  border: 1px solid var(--tnsp-line);
  border-radius: var(--tnsp-radius);
  background: rgba(251,249,247,.84);
}
.tnsp-axis::before, .tnsp-axis::after { content: ""; position: absolute; background: var(--tnsp-line); }
.tnsp-axis::before { left: 44px; right: 44px; top: 50%; height: 1px; }
.tnsp-axis::after { top: 44px; bottom: 44px; left: 50%; width: 1px; }
.tnsp-axis__label { position: absolute; color: var(--tnsp-muted); font-family: var(--tnsp-mono); font-size: 13px; }
.tnsp-axis__label--top { top: 18px; left: calc(50% + 14px); }
.tnsp-axis__label--bottom { bottom: 18px; left: calc(50% + 14px); }
.tnsp-axis__label--left { top: calc(50% + 12px); left: 18px; }
.tnsp-axis__label--right { top: calc(50% + 12px); right: 18px; }
.tnsp-axis-node { position: absolute; width: 240px; padding: 18px 20px; border: 1px solid var(--tnsp-line); border-radius: 18px; background: white; }
.tnsp-axis-node--focus { border-color: var(--tnsp-ink); background: rgba(207,218,245,.34); }
.tnsp-axis-node h3 { margin: 0; font-size: 23px; font-weight: 400; }
.tnsp-axis-node p { margin: 6px 0 0; color: var(--tnsp-muted); font-size: 15px; line-height: 1.28; }

.tnsp-roadmap { display: grid; gap: 24px; margin-top: 56px; }
.tnsp-roadmap-lane { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 26px; align-items: center; }
.tnsp-roadmap-lane__name { font-family: var(--tnsp-mono); font-size: 14px; text-transform: uppercase; }
.tnsp-roadmap-lane__track { position: relative; height: 60px; border-top: 1px solid var(--tnsp-line); }
.tnsp-roadmap-lane__bar { position: absolute; top: 18px; height: 18px; border-radius: 9px; background: var(--tnsp-ink) !important; opacity: .82; }

.tnsp-journey { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; margin-top: 36px; }
.tnsp-journey-step { min-height: 100px; padding: 16px; border: 1px solid var(--tnsp-line); border-radius: 20px; background: var(--tnsp-surface); }
.tnsp-journey-step.is-focus { border-color: var(--tnsp-ink); background: rgba(207,218,245,.55); }
.tnsp-journey-step__title { margin-top: 12px; font-size: 18px; line-height: 1.1; }

.tnsp-person { min-height: 360px; display: grid; grid-template-rows: 210px auto; }
.tnsp-person__portrait { display: grid; place-items: center; background: linear-gradient(135deg, rgba(207,218,245,.65), rgba(167,252,205,.30)); color: var(--tnsp-ink); font-family: var(--tnsp-mono); font-size: 40px; }
.tnsp-person__body { padding: 26px 28px; }
.tnsp-person__name { margin: 0; font-size: 30px; font-weight: 400; }
.tnsp-person__role { margin: 10px 0 0; color: var(--tnsp-muted); font-family: var(--tnsp-mono); font-size: 13px; line-height: 1.35; text-transform: uppercase; }

.tnsp-comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; margin-top: 48px; }
.tnsp-comparison__side { min-height: 500px; padding: 44px; }
.tnsp-comparison__side--focus {
  background:
    radial-gradient(circle at 0 0, rgba(43,89,209,.30), transparent 46%),
    radial-gradient(circle at 12% 18%, rgba(207,218,245,.68), transparent 55%),
    rgba(251,249,247,.94);
}
.tnsp-comparison__side--caution {
  background:
    radial-gradient(circle at 100% 0, rgba(255,148,115,.36), transparent 46%),
    radial-gradient(circle at 88% 18%, rgba(245,214,109,.32), transparent 55%),
    rgba(251,249,247,.94);
}
.tnsp-comparison__title { margin: 0; font-size: 45px; font-weight: 400; }
.tnsp-comparison__list { display: grid; gap: 18px; margin: 32px 0 0; padding: 0; list-style: none; }
.tnsp-comparison__list li { position: relative; padding-left: 30px; color: var(--tnsp-muted); font-size: 21px; line-height: 1.3; }
.tnsp-comparison__list li::before { content: ""; position: absolute; top: .46em; left: 0; width: 12px; height: 12px; border: 1px solid var(--tnsp-ink); border-radius: 50%; }

.tnsp-table { width: 100%; margin-top: 42px; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--tnsp-line); border-radius: 26px; background: var(--tnsp-surface); }
.tnsp-table th, .tnsp-table td { padding: 19px 24px; border-bottom: 1px solid var(--tnsp-line); text-align: left; vertical-align: top; }
.tnsp-table th { font-family: var(--tnsp-mono); font-size: 13px; font-weight: 400; text-transform: uppercase; }
.tnsp-table td { color: var(--tnsp-muted); font-size: 19px; line-height: 1.27; }
.tnsp-table tr:last-child td { border-bottom: 0; }

.tnsp-controls {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translateX(-50%);
}

.tnsp-control {
  display: inline-flex;
  min-width: 42px;
  height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid rgba(36,36,36,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  color: rgba(36,36,36,.72);
  font-family: var(--tnsp-mono);
  font-size: 11px;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.tnsp-control:hover, .tnsp-control:focus-visible { border-color: var(--tnsp-blue); color: var(--tnsp-blue); outline: none; }
.tnsp-control svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.tnsp-control[disabled] { opacity: .35; cursor: default; }

.tnsp-brand-switch { position: fixed; z-index: 50; top: 14px; right: 14px; display: flex; gap: 5px; }
.tnsp-brand-switch .tnsp-control[aria-pressed="true"] { background: var(--tnsp-ink); color: white; border-color: var(--tnsp-ink); }

@media (max-width: 0px) {
  body { overflow: auto; background: var(--tnsp-canvas); }
  .tnsp-shell { position: static; overflow: visible; background: var(--tnsp-canvas); }
  .tnsp-deck { position: static; width: 100%; height: auto; transform: none !important; }
  .tnsp-deck::after { display: none; }
  .tnsp-slide {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100svh;
    padding: 92px 24px 100px;
    overflow: hidden;
  }
  .tnsp-slide.is-active { display: block; }
  .tnsp-slide--balanced.is-active,
  .tnsp-deck:not(.is-ready) .tnsp-slide--balanced:first-child { display: block; padding-bottom: 100px; }
  .tnsp-content-zone { display: block; }
  .tnsp-brand { top: 24px; left: 24px; width: 112px; height: 34px; }
  .tnsp-slide-footer { right: 24px; bottom: 70px; }
  .tnsp-title { max-width: 100%; font-size: clamp(42px, 11.5vw, 52px); overflow-wrap: break-word; }
  .tnsp-title--cover { font-size: clamp(52px, 14vw, 64px); }
  .tnsp-subtitle { font-size: 24px; }
  .tnsp-body { font-size: 21px; }
  .tnsp-cover { min-height: calc(100svh - 192px); padding-top: 20px; }
  .tnsp-contents, .tnsp-grid, .tnsp-columns, .tnsp-card-grid, .tnsp-metric-row, .tnsp-people, .tnsp-process, .tnsp-comparison { grid-template-columns: 1fr; }
  .tnsp-divider { min-height: calc(100svh - 192px); margin: 0; padding: 44px 12px; }
  .tnsp-divider--level-1 .tnsp-title { font-size: 56px; }
  .tnsp-divider--level-2 { max-width: 100%; min-height: calc(100svh - 192px); margin: 0; padding: 70px 12px; justify-content: flex-end; }
  .tnsp-divider--level-2 .tnsp-title { font-size: 48px; }
  .tnsp-divider--level-2 .tnsp-subtitle { font-size: 22px; }
  .tnsp-thesis, .tnsp-thesis--quiet { min-height: calc(100svh - 230px); margin-top: 18px; padding: 36px 28px; border-radius: 28px; }
  .tnsp-thesis__title { font-size: 47px; }
  .tnsp-thesis__body { font-size: 21px; }
  .tnsp-split, .tnsp-split--5-7, .tnsp-split--7-5 { grid-template-columns: 1fr; min-height: 0; margin: -92px -24px -100px; }
  .tnsp-split__pane { min-height: 50svh; padding: 92px 24px 56px; }
  .tnsp-split__pane + .tnsp-split__pane { border-left: 0; border-top: 1px solid var(--tnsp-line); }
  .tnsp-column { min-height: 0; }
  .tnsp-column__title { min-height: 0; }
  .tnsp-card, .tnsp-metric, .tnsp-factoid, .tnsp-person, .tnsp-comparison__side { min-height: 0; }
  .tnsp-metric-row { min-height: 0; }
  .tnsp-factoid-showcase { grid-template-columns: 1fr; margin-top: 32px; }
  .tnsp-factoid-grid--4, .tnsp-factoid-grid--6 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tnsp-factoid { min-height: 148px; }
  .tnsp-axis { height: 530px; }
  .tnsp-axis-node { width: 160px; padding: 12px; }
  .tnsp-axis-node h3 { font-size: 18px; }
  .tnsp-axis-node p { font-size: 13px; }
  .tnsp-roadmap-lane { grid-template-columns: 90px minmax(0,1fr); gap: 14px; }
  .tnsp-journey { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tnsp-table { display: block; overflow: hidden; border-radius: 18px; }
  .tnsp-table thead { display: none; }
  .tnsp-table tbody { display: grid; }
  .tnsp-table tr { display: grid; padding: 16px 18px; border-bottom: 1px solid var(--tnsp-line); }
  .tnsp-table tr:last-child { border-bottom: 0; }
  .tnsp-table td { display: grid; grid-template-columns: 94px minmax(0,1fr); gap: 12px; padding: 5px 0; border: 0; font-size: 17px; }
  .tnsp-table td::before { font-family: var(--tnsp-mono); font-size: 10px; line-height: 1.4; text-transform: uppercase; color: var(--tnsp-muted); }
  .tnsp-table td:nth-child(1)::before { content: "Element"; }
  .tnsp-table td:nth-child(2)::before { content: "Когда"; }
  .tnsp-table td:nth-child(3)::before { content: "Лимит"; }
  .tnsp-brand-switch { top: 14px; right: 14px; left: auto; bottom: auto; }
  .tnsp-controls { bottom: 14px; }
  .tnsp-control { height: 42px; background: rgba(255,255,255,.94); }
}

@media print {
  @page { size: 16in 9in; margin: 0; }
  html, body { width: auto; height: auto; overflow: visible; background: white; }
  .tnsp-shell, .tnsp-deck { position: static; width: 1600px; height: auto; overflow: visible; transform: none !important; }
  .tnsp-deck::after, .tnsp-controls, .tnsp-brand-switch { display: none !important; }
  .tnsp-slide { position: relative; display: block !important; page-break-after: always; break-after: page; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
