*,
*::before,
*::after {
  box-sizing: border-box;
}

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

:root {
  --bg: #081a31;
  --bg-elev-1: #0b2341;
  --bg-elev-2: #0d294b;
  --panel: rgba(11, 28, 52, .64);
  --panel-strong: rgba(14, 35, 62, .84);
  --line: rgba(182, 203, 229, .095);
  --line-2: rgba(214, 227, 245, .18);
  --text: rgba(241, 247, 255, .96);
  --text-2: rgba(181, 197, 220, .84);
  --text-3: rgba(151, 170, 197, .62);
  --primary: #3aa7e2;
  --accent: rgba(58, 167, 226, 1);
  --accent-dim: rgba(58, 167, 226, .12);
  --accent-glow: rgba(58, 167, 226, .26);
  --accent-border: rgba(58, 167, 226, .28);
  --shadow: 0 18px 42px rgba(1, 8, 20, .34);
  --r2-shell: 1460px;
  --r2-page-pad-x: 32px;
  --r2-page-pad-y: 28px;
  --r2-header-size: 48px;
  --r2-card-radius: 28px;
  --r2-blur: 18px;
  --r2-copy-max: 920px;
  --r2-products-max: 560px;
  --r2-card-gap: 18px;
  --r2-card-min-h: 204px;
  --r2-rail-w: 92px;
  --r2-grid-size: 138px;
  --mx-px: 50%;
  --my-px: 50%;
  --mouse-active: 0;
}

html[data-theme="light"] {
  --bg: #eef4fa;
  --bg-elev-1: #f7fbff;
  --bg-elev-2: #dde9f5;
  --panel: rgba(255, 255, 255, .76);
  --panel-strong: rgba(255, 255, 255, .9);
  --line: rgba(37, 64, 94, .08);
  --line-2: rgba(24, 45, 74, .14);
  --text: rgba(7, 24, 48, .96);
  --text-2: rgba(58, 79, 106, .74);
  --text-3: rgba(86, 106, 132, .6);
  --primary: #36a6e8;
  --accent: rgba(2, 132, 199, 1);
  --accent-dim: rgba(2, 132, 199, .08);
  --accent-glow: rgba(2, 132, 199, .18);
  --accent-border: rgba(2, 132, 199, .2);
  --shadow: 0 18px 42px rgba(31, 58, 97, .08);
}

body.r2-body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.r2-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,0) 16%, rgba(255,255,255,0) 100%),
    radial-gradient(1200px 700px at 22% 8%, rgba(58,167,226,.12) 0%, rgba(58,167,226,.03) 38%, rgba(58,167,226,0) 76%),
    radial-gradient(840px 520px at 72% 38%, rgba(22,78,146,.12) 0%, rgba(22,78,146,0) 76%),
    linear-gradient(180deg, var(--bg-elev-2) -18%, var(--bg) 30%, #06162b 100%);
}

html[data-theme="light"] body.r2-body::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 18%, rgba(255,255,255,0) 100%),
    radial-gradient(1100px 640px at 24% 8%, rgba(54,166,232,.12) 0%, rgba(54,166,232,.04) 42%, rgba(54,166,232,0) 78%),
    radial-gradient(760px 460px at 74% 36%, rgba(162,198,230,.18) 0%, rgba(162,198,230,0) 76%),
    linear-gradient(180deg, var(--bg-elev-1) 0%, var(--bg) 44%, #e9f0f7 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.r2-page {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
  overflow-y: visible;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(255,255,255,.018) 0%, rgba(255,255,255,0) 12%, rgba(255,255,255,0) 88%, rgba(255,255,255,.012) 100%);
}

html[data-theme="light"] .r2-page {
  background: linear-gradient(180deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 24%, rgba(255,255,255,0) 100%);
}

.r2-grid-bg,
.r2-grid-hotspot,
.r2-grid-vignette,
.r2-glow,
.r2-cursor-glow,
.r2-right-dim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.r2-grid-bg {
  z-index: 0;
  opacity: 1;
  background-image:
    linear-gradient(to right, rgba(166, 189, 216, .085) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(166, 189, 216, .085) 1px, transparent 1px);
  background-size: var(--r2-grid-size) var(--r2-grid-size);
}

html[data-theme="light"] .r2-grid-bg {
  background-image:
    linear-gradient(to right, rgba(29, 59, 92, .075) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(29, 59, 92, .075) 1px, transparent 1px);
}

.r2-grid-hotspot {
  z-index: 1;
  opacity: calc(.16 + (var(--mouse-active) * .62));
  background-image:
    linear-gradient(to right, rgba(219, 236, 255, .26) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(219, 236, 255, .26) 1px, transparent 1px);
  background-size: var(--r2-grid-size) var(--r2-grid-size);
  mask-image: radial-gradient(circle 240px at var(--mx-px) var(--my-px), rgba(0,0,0,.95) 0%, rgba(0,0,0,.78) 34%, rgba(0,0,0,0) 74%);
  -webkit-mask-image: radial-gradient(circle 240px at var(--mx-px) var(--my-px), rgba(0,0,0,.95) 0%, rgba(0,0,0,.78) 34%, rgba(0,0,0,0) 74%);
  transition: opacity .28s ease;
}

html[data-theme="light"] .r2-grid-hotspot {
  background-image:
    linear-gradient(to right, rgba(63, 120, 177, .18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(63, 120, 177, .18) 1px, transparent 1px);
  opacity: calc(.08 + (var(--mouse-active) * .34));
}

.r2-grid-vignette {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3,10,24,.08) 0%, rgba(3,10,24,0) 22%, rgba(3,10,24,0) 72%, rgba(2,8,20,.18) 100%),
    linear-gradient(90deg, rgba(2,8,20,.18) 0%, rgba(2,8,20,0) 14%, rgba(2,8,20,0) 86%, rgba(2,8,20,.12) 100%);
}

html[data-theme="light"] .r2-grid-vignette {
  background:
    linear-gradient(180deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 18%, rgba(255,255,255,0) 76%, rgba(207,222,237,.18) 100%),
    linear-gradient(90deg, rgba(228,238,248,.18) 0%, rgba(228,238,248,0) 12%, rgba(228,238,248,0) 88%, rgba(228,238,248,.12) 100%);
}

.r2-glow {
  z-index: 0;
  border-radius: 999px;
  filter: blur(34px);
}

.r2-glow--1 {
  inset: auto auto 58% 56%;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(58,167,226,.19) 0%, rgba(58,167,226,.06) 34%, rgba(58,167,226,0) 72%);
}

.r2-glow--2 {
  inset: 68% auto auto 0%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(58,167,226,.12) 0%, rgba(58,167,226,.04) 38%, rgba(58,167,226,0) 76%);
}

html[data-theme="light"] .r2-glow--1 {
  background: radial-gradient(circle, rgba(54,166,232,.12) 0%, rgba(54,166,232,.04) 36%, rgba(54,166,232,0) 74%);
}

html[data-theme="light"] .r2-glow--2 {
  background: radial-gradient(circle, rgba(54,166,232,.09) 0%, rgba(54,166,232,.03) 34%, rgba(54,166,232,0) 76%);
}

.r2-cursor-glow {
  z-index: 2;
  opacity: calc(.18 + (var(--mouse-active) * .92));
  background:
    radial-gradient(circle 260px at var(--mx-px) var(--my-px), rgba(88, 186, 240, .18) 0%, rgba(58,167,226,.10) 28%, rgba(58,167,226,.045) 45%, rgba(58,167,226,0) 74%);
  mix-blend-mode: screen;
  transition: opacity .24s ease;
}

html[data-theme="light"] .r2-cursor-glow {
  background:
    radial-gradient(circle 240px at var(--mx-px) var(--my-px), rgba(36, 108, 168, .10) 0%, rgba(36, 108, 168, .05) 28%, rgba(36, 108, 168, .018) 46%, rgba(36, 108, 168, 0) 74%);
  mix-blend-mode: multiply;
  opacity: calc(.08 + (var(--mouse-active) * .5));
}

.r2-right-dim {
  z-index: 1;
  opacity: 0;
  background:
    linear-gradient(90deg, rgba(4,10,22,0) 0%, rgba(4,10,22,0) 54%, rgba(4,10,22,.10) 74%, rgba(4,10,22,.18) 100%);
  transition: opacity .22s ease;
}

html[data-theme="light"] .r2-right-dim {
  background:
    linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 54%, rgba(227,236,245,.18) 76%, rgba(218,229,240,.28) 100%);
}

.r2-page.is-stack-focused .r2-right-dim {
  opacity: 1;
}

.r2-rail {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 6;
  width: var(--r2-rail-w);
  height: 100vh;
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(16,31,55,.66) 0%, rgba(7,18,34,.48) 100%);
  border-right: 1px solid rgba(186,208,233,.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

html[data-theme="light"] .r2-rail {
  background: linear-gradient(180deg, rgba(255,255,255,.68) 0%, rgba(248,251,255,.52) 100%);
  border-right: 1px solid rgba(15,23,42,.07);
}

.r2-brand-mark,
.r2-theme-toggle,
.r2-shell {
  position: relative;
  z-index: 3;
}

.r2-brand-mark {
  width: var(--r2-header-size);
  height: var(--r2-header-size);
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
  color: var(--text-2);
  background: color-mix(in srgb, var(--panel-strong) 88%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(var(--r2-blur));
  -webkit-backdrop-filter: blur(var(--r2-blur));
}

.r2-theme-toggle {
  width: var(--r2-header-size);
  height: var(--r2-header-size);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel-strong) 88%, transparent);
  color: var(--text-2);
  box-shadow: var(--shadow);
  backdrop-filter: blur(var(--r2-blur));
  -webkit-backdrop-filter: blur(var(--r2-blur));
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    transform .18s ease,
    border-color .18s ease,
    background-color .18s ease,
    color .18s ease,
    box-shadow .18s ease;
}

.r2-theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--line-2);
  color: var(--text);
  box-shadow: 0 22px 40px rgba(1,8,20,.24);
}

.r2-theme-toggle:active {
  transform: translateY(0);
}

.r2-theme-toggle svg {
  width: 18px;
  height: 18px;
}

.icon-moon {
  display: block;
}

.icon-sun {
  display: none;
}

html[data-theme="light"] .icon-moon {
  display: none;
}

html[data-theme="light"] .icon-sun {
  display: block;
}

.r2-shell {
  width: min(var(--r2-shell), calc(100% - (var(--r2-page-pad-x) * 2)));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: 120px 0 80px calc(var(--r2-rail-w) + 18px);
}

.r2-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 60fr) minmax(460px, 40fr);
  gap: 56px;
  align-items: center;
}

.r2-copy {
  min-width: 0;
}

.r2-copy__inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: var(--r2-copy-max);
}

.r2-title {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 56px);
  line-height: .95;
  letter-spacing: -0.055em;
  font-weight: 900;
  color: var(--text);
  max-width: 15ch;
  text-wrap: balance;
}

.r2-title span {
  color: var(--primary);
}

.r2-formula {
  display: grid;
  gap: 4px;
  margin-top: 54px;
  width: fit-content;
}

.r2-formula__line {
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--primary);
}

.r2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.r2-btn {
  min-height: 58px;
  padding: 0 24px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background-color .18s ease,
    color .18s ease,
    filter .18s ease;
}

.r2-btn:hover {
  transform: translateY(-1px);
}

.r2-btn:active {
  transform: translateY(0);
}

.r2-btn--primary {
  background: linear-gradient(180deg, #52b8ef 0%, #38a5e5 100%);
  color: #fff;
  box-shadow:
    0 18px 36px rgba(58,167,226,.24),
    0 0 26px rgba(58,167,226,.12);
}

.r2-btn--primary:hover {
  filter: brightness(.98);
}

.r2-btn--pulse {
  animation: r2Pulse 2.8s ease-in-out infinite;
}

@keyframes r2Pulse {
  0%, 100% {
    box-shadow:
      0 18px 36px rgba(58,167,226,.24),
      0 0 0 rgba(58,167,226,0);
  }
  50% {
    box-shadow:
      0 18px 42px rgba(58,167,226,.30),
      0 0 24px rgba(58,167,226,.14);
  }
}

.r2-meta {
  margin-top: 18px;
  max-width: 700px;
  font-size: 15px;
  line-height: 1.36;
  font-weight: 650;
  color: var(--text-3);
}

.r2-products {
  min-width: 0;
  width: 100%;
  max-width: var(--r2-products-max);
  justify-self: end;
  display: grid;
}

.r2-products__stack {
  display: grid;
  gap: var(--r2-card-gap);
}

.r2-card {
  position: relative;
  min-height: var(--r2-card-min-h);
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 18px;
  padding: 22px 22px 20px;
  border-radius: var(--r2-card-radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.038) 0%, rgba(255,255,255,.012) 100%),
    color-mix(in srgb, var(--panel) 94%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(var(--r2-blur));
  -webkit-backdrop-filter: blur(var(--r2-blur));
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    background-color .18s ease,
    filter .18s ease,
    opacity .18s ease;
}

.r2-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.055) 0%, rgba(255,255,255,0) 42%);
  pointer-events: none;
  opacity: .9;
}

html[data-theme="light"] .r2-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.46) 100%),
    color-mix(in srgb, var(--panel) 98%, transparent);
}

html[data-theme="light"] .r2-card::before {
  background: linear-gradient(180deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,0) 44%);
}

.r2-card__body,
.r2-card__footer,
.r2-card__future-nav,
.r2-card__counter--floating {
  position: relative;
  z-index: 1;
}

.r2-card__body {
  display: grid;
  align-content: start;
  gap: 12px;
}

.r2-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding-top: 4px;
}

.r2-card__title {
  margin: 0;
  font-size: clamp(28px, 2.35vw, 38px);
  line-height: .96;
  letter-spacing: -0.045em;
  font-weight: 900;
  color: var(--text);
}

.r2-card__desc {
  margin: 0;
  font-size: 18px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text);
}

.r2-card__sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.34;
  font-weight: 700;
  color: var(--text-2);
}

.r2-card__action {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.015em;
  color: var(--primary);
}

.r2-card__status {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text-2);
}

.r2-card__counter {
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-3);
}

.r2-card--active {
  cursor: pointer;
}

.r2-card--active:hover {
  transform: translateY(-2px);
}

.r2-card--active:focus-visible {
  outline: none;
  border-color: var(--accent-border);
  box-shadow:
    0 0 0 3px rgba(58,167,226,.14),
    var(--shadow);
}

.r2-card--primary-focus {
  background:
    linear-gradient(180deg, rgba(255,255,255,.055) 0%, rgba(255,255,255,.016) 100%),
    color-mix(in srgb, var(--panel-strong) 90%, rgba(58,167,226,.10));
  border-color: color-mix(in srgb, var(--accent-border) 120%, var(--line));
  box-shadow:
    var(--shadow),
    0 22px 54px rgba(58,167,226,.16),
    0 0 34px rgba(58,167,226,.08);
}

.r2-card--primary-focus:hover {
  border-color: color-mix(in srgb, var(--accent-border) 135%, var(--line-2));
  box-shadow:
    var(--shadow),
    0 24px 58px rgba(58,167,226,.20),
    0 0 40px rgba(58,167,226,.12);
}

.r2-card--secondary {
  background:
    linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.012) 100%),
    color-mix(in srgb, var(--panel) 95%, transparent);
}

.r2-card--secondary:hover {
  border-color: rgba(58,167,226,.18);
  box-shadow:
    var(--shadow),
    0 16px 38px rgba(58,167,226,.10);
}

.r2-card--secondary:hover .r2-card__action {
  filter: brightness(1.03);
}

.r2-card--future {
  cursor: default;
  opacity: .74;
  background:
    linear-gradient(180deg, rgba(255,255,255,.032) 0%, rgba(255,255,255,.008) 100%),
    color-mix(in srgb, var(--panel) 90%, transparent);
}

.r2-card--future .r2-card__title,
.r2-card--future .r2-card__desc,
.r2-card--future .r2-card__sub,
.r2-card--future .r2-card__status,
.r2-card--future .r2-card__counter {
  filter: saturate(.94);
}

.r2-card--future:hover {
  opacity: .82;
  border-color: rgba(255,255,255,.10);
  box-shadow: 0 16px 34px rgba(1,8,20,.22);
}

html[data-theme="light"] .r2-card--future:hover {
  border-color: rgba(43, 86, 129, .12);
  box-shadow: 0 16px 34px rgba(35, 61, 96, .10);
}

.r2-card__future-nav {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.r2-card__nav-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--panel-strong) 92%, transparent);
  color: var(--text-2);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    transform .18s ease,
    border-color .18s ease,
    color .18s ease,
    background-color .18s ease,
    box-shadow .18s ease;
}

.r2-card__nav-btn:hover {
  transform: translateY(-1px);
  border-color: var(--line-2);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(1,8,20,.14);
}

.r2-card__nav-btn:active {
  transform: translateY(0);
}

.r2-card__nav-btn:focus-visible {
  outline: none;
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px rgba(58,167,226,.16);
}

.r2-card__counter--floating {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  text-align: right;
}

.r2-card--future .r2-card__body {
  padding-right: 78px;
}

.r2-card--future .r2-card__footer {
  padding-right: 56px;
}

.r2-page.is-stack-focused .r2-card:not(.is-focused) {
  opacity: .58;
  transform: scale(.992);
}

.r2-page.is-stack-focused .r2-card.r2-card--primary-focus:not(.is-focused) {
  opacity: .76;
}

.r2-page.is-stack-focused .r2-card.is-focused {
  opacity: 1;
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent-border) 135%, var(--line-2));
  box-shadow:
    var(--shadow),
    0 22px 52px rgba(58,167,226,.18),
    0 0 36px rgba(58,167,226,.12);
}

.r2-page.is-stack-focused .r2-card.is-focused .r2-card__action {
  filter: brightness(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .r2-grid-hotspot,
  .r2-cursor-glow,
  .r2-btn,
  .r2-card,
  .r2-theme-toggle,
  .r2-card__nav-btn {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 1220px) {
  :root {
    --r2-rail-w: 74px;
  }

  .r2-shell {
    padding-left: calc(var(--r2-rail-w) + 16px);
  }

  .r2-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    align-items: start;
  }

  .r2-products {
    max-width: 720px;
    width: 100%;
    justify-self: start;
  }

  .r2-title {
    max-width: 15ch;
  }
}

@media (max-width: 760px) {
  :root {
    --r2-page-pad-x: 16px;
    --r2-page-pad-y: 16px;
    --r2-header-size: 42px;
    --r2-card-radius: 22px;
    --r2-card-gap: 12px;
    --r2-card-min-h: 190px;
    --r2-rail-h-mobile: 72px;
    --r2-grid-size: 72px;
  }

  .r2-rail {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: var(--r2-rail-h-mobile);
    padding: 12px 16px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-right: 0;
    border-top: 1px solid rgba(255,255,255,.06);
    background: linear-gradient(180deg, rgba(8,18,34,.80) 0%, rgba(8,18,34,.92) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  html[data-theme="light"] .r2-rail {
    border-top: 1px solid rgba(15,23,42,.08);
    background: linear-gradient(180deg, rgba(255,255,255,.80) 0%, rgba(255,255,255,.94) 100%);
  }

  .r2-shell {
    width: min(var(--r2-shell), calc(100% - (var(--r2-page-pad-x) * 2)));
    padding: 24px 0 calc(var(--r2-rail-h-mobile) + 22px) 0;
    align-items: start;
  }

  .r2-layout {
    gap: 26px;
  }

  .r2-copy__inner {
    max-width: none;
  }

  .r2-title {
    max-width: none;
    font-size: clamp(24px, 7.2vw, 36px);
    line-height: .96;
  }

  .r2-formula {
    margin-top: 30px;
    gap: 2px;
  }

  .r2-formula__line {
    font-size: 17px;
    line-height: 1.16;
  }

  .r2-actions {
    margin-top: 22px;
  }

  .r2-btn {
    width: 100%;
    min-height: 54px;
    border-radius: 16px;
  }

  .r2-meta {
    font-size: 14px;
    line-height: 1.38;
  }

  .r2-products {
    max-width: none;
    width: 100%;
  }

  .r2-card {
    min-height: auto;
    gap: 16px;
    padding: 18px;
  }

  .r2-card__title {
    font-size: 28px;
  }

  .r2-card__desc {
    font-size: 16px;
    line-height: 1.24;
  }

  .r2-card__sub {
    font-size: 14px;
  }

  .r2-card__footer {
    align-items: flex-end;
  }

  .r2-card__future-nav {
    top: 16px;
    right: 16px;
  }

  .r2-card__counter--floating {
    right: 18px;
    bottom: 18px;
  }

  .r2-card--future .r2-card__body {
    padding-right: 64px;
  }

  .r2-card--future .r2-card__footer {
    padding-right: 52px;
  }

  .r2-glow--1 {
    width: 360px;
    height: 360px;
    inset: auto auto 70% 44%;
  }

  .r2-glow--2 {
    width: 240px;
    height: 240px;
    inset: 78% auto auto -6%;
  }

  .r2-grid-hotspot,
  .r2-cursor-glow {
    display: none;
  }
}
/* ===== LIGHT THEME FIX: deeper + visible cursor ===== */

/* 1. Фоновый ambient — убираем голубую дымку → делаем тёмно-синий */
html[data-theme="light"] body.r2-body::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,.52) 0%, rgba(255,255,255,0) 18%, rgba(255,255,255,0) 100%),
    radial-gradient(1100px 640px at 24% 8%, rgba(10,22,40,.10) 0%, rgba(10,22,40,.035) 42%, rgba(10,22,40,0) 78%),
    radial-gradient(760px 460px at 74% 36%, rgba(10,22,40,.08) 0%, rgba(10,22,40,0) 76%),
    linear-gradient(180deg, var(--bg-elev-1) 0%, var(--bg) 44%, #e9f0f7 100%);
}


/* 2. Статические glow → делаем темно-синими */
html[data-theme="light"] .r2-glow--1 {
  background: radial-gradient(
    circle,
    rgba(10,22,40,.14) 0%,
    rgba(10,22,40,.06) 36%,
    rgba(10,22,40,0) 74%
  );
}

html[data-theme="light"] .r2-glow--2 {
  background: radial-gradient(
    circle,
    rgba(10,22,40,.11) 0%,
    rgba(10,22,40,.045) 34%,
    rgba(10,22,40,0) 76%
  );
}


/* 3. ГЛАВНОЕ — курсорный эффект (делаем видимым и темно-синим) */
html[data-theme="light"] .r2-cursor-glow {
  background:
    radial-gradient(
      circle 260px at var(--mx-px) var(--my-px),
      rgba(58,167,226,.24) 0%,
      rgba(58,167,226,.14) 24%,
      rgba(58,167,226,.07) 42%,
      rgba(58,167,226,.025) 58%,
      rgba(58,167,226,0) 76%
    );

  mix-blend-mode: normal;
  opacity: calc(.16 + (var(--mouse-active) * .88));
}
/* ===== GRID DEPTH EFFECT ===== */

/* усиливаем эффект hotspot */
.r2-grid-hotspot {
  opacity: calc(.22 + (var(--mouse-active) * .75));

  background-image:
    linear-gradient(to right, rgba(219, 236, 255, .32) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(219, 236, 255, .32) 1px, transparent 1px);

  /* ключ — маска */
  mask-image:
    radial-gradient(circle 220px at var(--mx-px) var(--my-px),
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,.85) 30%,
      rgba(0,0,0,.35) 55%,
      rgba(0,0,0,0) 75%
    );

  -webkit-mask-image:
    radial-gradient(circle 220px at var(--mx-px) var(--my-px),
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,.85) 30%,
      rgba(0,0,0,.35) 55%,
      rgba(0,0,0,0) 75%
    );
}


/* 💥 добавляем псевдо "выпуклость" */
.r2-grid-hotspot::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle 220px at var(--mx-px) var(--my-px),
      rgba(255,255,255,.22) 0%,
      rgba(255,255,255,.12) 20%,
      rgba(255,255,255,0) 55%
    );

  mix-blend-mode: overlay;
  opacity: calc(.15 + (var(--mouse-active) * .6));
  pointer-events: none;
}


/* 💥 легкая "тень" — создаёт depth */
.r2-grid-hotspot::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle 240px at calc(var(--mx-px) + 8px) calc(var(--my-px) + 8px),
      rgba(0,0,0,.18) 0%,
      rgba(0,0,0,.08) 28%,
      rgba(0,0,0,0) 60%
    );

  mix-blend-mode: multiply;
  opacity: calc(.08 + (var(--mouse-active) * .35));
  pointer-events: none;
}
/* ===== GRID DEPTH FIX FOR LIGHT ===== */

html[data-theme="light"] .r2-grid-hotspot {
  opacity: calc(.18 + (var(--mouse-active) * .65));

  background-image:
    linear-gradient(to right, rgba(37, 99, 235, .28) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37, 99, 235, .28) 1px, transparent 1px);

  mask-image:
    radial-gradient(circle 200px at var(--mx-px) var(--my-px),
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,.85) 30%,
      rgba(0,0,0,.35) 55%,
      rgba(0,0,0,0) 75%
    );

  -webkit-mask-image:
    radial-gradient(circle 200px at var(--mx-px) var(--my-px),
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,.85) 30%,
      rgba(0,0,0,.35) 55%,
      rgba(0,0,0,0) 75%
    );
}


/* свет — не белый, а фирменный голубой */
html[data-theme="light"] .r2-grid-hotspot::after {
  background:
    radial-gradient(
      circle 200px at var(--mx-px) var(--my-px),
      rgba(58,167,226,.22) 0%,
      rgba(58,167,226,.12) 20%,
      rgba(58,167,226,0) 55%
    );

  mix-blend-mode: normal;
  opacity: calc(.18 + (var(--mouse-active) * .7));
}


/* тень — усиливаем */
html[data-theme="light"] .r2-grid-hotspot::before {
  background:
    radial-gradient(
      circle 220px at calc(var(--mx-px) + 6px) calc(var(--my-px) + 6px),
      rgba(10,22,40,.22) 0%,
      rgba(10,22,40,.12) 30%,
      rgba(10,22,40,0) 60%
    );

  mix-blend-mode: multiply;
  opacity: calc(.12 + (var(--mouse-active) * .45));
}
/* ===== HERO REBUILD: single-column SaaS hero ===== */

.r2-layout--hero-only {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
}

.r2-copy--hero {
  max-width: 1040px;
  min-width: 0;
}

.r2-copy__inner--hero {
  max-width: 1080px;
  gap: 0;
}

.r2-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 28px;
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--text-2);
}

.r2-title--hero {
  max-width: 27ch;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: .92;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.r2-subtitle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-top: 42px;
  max-width: 860px;
}

.r2-subtitle__line {
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 650;
  color: var(--text-2);
}

.r2-subtitle__gap {
  width: 100%;
  height: 20px;
  flex: 0 0 20px;
}

.r2-actions--hero {
  margin-top: 40px;
  gap: 14px;
}

.r2-btn--secondary {
  border-color: var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.028) 0%, rgba(255,255,255,.012) 100%),
    color-mix(in srgb, var(--panel) 90%, transparent);
  color: var(--text);
  box-shadow: var(--shadow);
  backdrop-filter: blur(var(--r2-blur));
  -webkit-backdrop-filter: blur(var(--r2-blur));
}

.r2-btn--secondary:hover {
  border-color: var(--line-2);
  box-shadow:
    0 18px 40px rgba(1, 8, 20, .22),
    0 0 22px rgba(58, 167, 226, .10);
}

html[data-theme="light"] .r2-btn--secondary {
  background:
    linear-gradient(180deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.56) 100%),
    color-mix(in srgb, var(--panel) 94%, transparent);
}

.r2-trust {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
}

.r2-trust__lead {
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--text-2);
}

.r2-trust__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}

.r2-trust__item,
.r2-trust__divider {
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.012em;
  font-weight: 650;
  color: var(--text-3);
}

.r2-right-dim {
  opacity: 0 !important;
}

.r2-glow--1 {
  inset: auto auto 54% 58%;
  width: 820px;
  height: 820px;
}

.r2-glow--2 {
  inset: 62% auto auto -4%;
  width: 560px;
  height: 560px;
}

@media (max-width: 1220px) {
  .r2-copy--hero {
    max-width: 920px;
  }

  .r2-copy__inner--hero {
    max-width: 800px;
  }

  .r2-title--hero {
    max-width: 12ch;
    font-size: clamp(38px, 5.8vw, 72px);
  }

  .r2-subtitle {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .r2-copy--hero,
  .r2-copy__inner--hero,
  .r2-subtitle {
    max-width: none;
  }

  .r2-eyebrow {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.2;
  }

  .r2-title--hero {
    max-width: none;
    font-size: clamp(28px, 9vw, 42px);
    line-height: .94;
  }

  .r2-subtitle {
    margin-top: 22px;
  }

  .r2-subtitle__line {
    font-size: 18px;
    line-height: 1.22;
  }

  .r2-subtitle__gap {
    height: 14px;
    flex-basis: 14px;
  }

  .r2-actions--hero {
    flex-direction: column;
    align-items: stretch;
    margin-top: 28px;
  }

  .r2-trust {
    margin-top: 18px;
    gap: 8px;
  }

  .r2-trust__lead,
  .r2-trust__item,
  .r2-trust__divider {
    font-size: 14px;
    line-height: 1.38;
  }

  .r2-glow--1 {
    width: 360px;
    height: 360px;
    inset: auto auto 72% 42%;
  }

  .r2-glow--2 {
    width: 240px;
    height: 240px;
    inset: 82% auto auto -8%;
  }
}
/* ===== SECTION: situations ===== */

.r2-section {
  position: relative;
  z-index: 3;
  padding: 0 0 120px calc(var(--r2-rail-w) + 18px);
}

.r2-section__inner {
  width: min(var(--r2-shell), calc(100% - (var(--r2-page-pad-x) * 2)));
  margin: 0 auto;
}

.r2-section--situations {
  margin-top: -12px;
}

.r2-section__head {
  max-width: 900px;
}

.r2-section__title {
  margin: 0;
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: .95;
  letter-spacing: -0.055em;
  font-weight: 900;
  color: var(--text);
  text-wrap: balance;
}

.r2-situations-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.r2-situation-card {
  position: relative;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 22px 22px 24px;
  border-radius: var(--r2-card-radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.038) 0%, rgba(255,255,255,.012) 100%),
    color-mix(in srgb, var(--panel) 94%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(var(--r2-blur));
  -webkit-backdrop-filter: blur(var(--r2-blur));
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    background-color .18s ease;
}

.r2-situation-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow:
    0 22px 44px rgba(1, 8, 20, .24),
    0 0 24px rgba(58, 167, 226, .08);
}

.r2-situation-card__meta {
  margin-bottom: 22px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .08em;
  font-weight: 800;
  color: var(--primary);
  opacity: .95;
}

.r2-situation-card__title {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(26px, 2vw, 34px);
  line-height: .98;
  letter-spacing: -0.04em;
  font-weight: 900;
  color: var(--text);
}

.r2-situation-card__text {
  margin: auto 0 0;
  max-width: 24ch;
  font-size: 18px;
  line-height: 1.24;
  letter-spacing: -0.02em;
  font-weight: 650;
  color: var(--text-2);
}

.r2-states-intro {
  margin-top: 34px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 750;
  color: var(--text-2);
}

.r2-states-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.r2-state-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 22px 22px 24px;
  border-radius: calc(var(--r2-card-radius) - 4px);
  border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  background:
    linear-gradient(180deg, rgba(255,255,255,.024) 0%, rgba(255,255,255,.008) 100%),
    color-mix(in srgb, var(--panel) 80%, transparent);
  box-shadow: 0 14px 34px rgba(1, 8, 20, .14);
  backdrop-filter: blur(calc(var(--r2-blur) - 4px));
  -webkit-backdrop-filter: blur(calc(var(--r2-blur) - 4px));
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.r2-state-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow:
    0 18px 38px rgba(1, 8, 20, .18),
    0 0 18px rgba(58, 167, 226, .05);
}

.r2-state-card__title {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(24px, 1.7vw, 30px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 850;
  color: var(--text);
}

.r2-state-card__text {
  margin: auto 0 0;
  max-width: 28ch;
  font-size: 17px;
  line-height: 1.28;
  letter-spacing: -0.018em;
  font-weight: 650;
  color: var(--text-2);
}

html[data-theme="light"] .r2-situation-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.56) 100%),
    color-mix(in srgb, var(--panel) 94%, transparent);
}

html[data-theme="light"] .r2-state-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.66) 0%, rgba(255,255,255,.48) 100%),
    color-mix(in srgb, var(--panel) 88%, transparent);
}

@media (max-width: 1220px) {
  .r2-section {
    padding-bottom: 104px;
  }

  .r2-situations-grid {
    grid-template-columns: 1fr;
  }

  .r2-situation-card {
    min-height: 220px;
  }

  .r2-situation-card__title,
  .r2-situation-card__text,
  .r2-state-card__title,
  .r2-state-card__text {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .r2-section {
    padding: 0 0 88px calc(var(--r2-rail-w) + 18px);
  }

  .r2-section__title {
    font-size: clamp(28px, 8vw, 42px);
    line-height: .98;
  }

  .r2-situations-grid {
    margin-top: 28px;
    gap: 14px;
  }

  .r2-states-intro {
    margin-top: 24px;
    font-size: 18px;
  }

  .r2-states-grid {
    margin-top: 14px;
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 760px) {
  .r2-section {
    padding-left: calc(var(--r2-rail-w) + 18px);
  }

  .r2-section__inner {
    width: min(var(--r2-shell), calc(100% - (var(--r2-page-pad-x) * 2)));
  }

  .r2-situation-card,
  .r2-state-card {
    padding: 18px 18px 20px;
  }

  .r2-situation-card__meta {
    margin-bottom: 18px;
  }

  .r2-situation-card__title {
    font-size: 24px;
    line-height: 1;
  }

  .r2-situation-card__text,
  .r2-state-card__text {
    font-size: 16px;
    line-height: 1.3;
  }

  .r2-state-card__title {
    font-size: 22px;
    line-height: 1.04;
  }
}
html,
body {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  position: static !important;
}

body.r2-body {
  height: auto !important;
  min-height: 100vh !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.r2-page {
  min-height: auto !important;
  overflow: visible !important;
}

.r2-shell,
.r2-section,
.r2-section__inner {
  overflow: visible !important;
}
/* ===== situations: lower row tuning ===== */

.r2-states-grid {
  margin-top: 10px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 18px;
}

.r2-state-card {
  min-height: 168px;
  padding: 26px 26px 22px;
  border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background:
    linear-gradient(180deg, rgba(255,255,255,.018) 0%, rgba(255,255,255,.006) 100%),
    color-mix(in srgb, var(--panel) 70%, transparent);
  box-shadow: 0 10px 24px rgba(1, 8, 20, .10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.r2-state-card:hover {
  transform: none;
  border-color: color-mix(in srgb, var(--line-2) 74%, transparent);
  box-shadow: 0 12px 28px rgba(1, 8, 20, .12);
}

.r2-state-card__title {
  max-width: 15ch;
  font-size: clamp(22px, 1.55vw, 28px);
  line-height: 1.04;
  letter-spacing: -0.032em;
}

.r2-state-card__text {
  margin-top: 28px;
  max-width: 26ch;
  font-size: 16px;
  line-height: 1.28;
  color: var(--text-2);
}

html[data-theme="light"] .r2-state-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.56) 0%, rgba(255,255,255,.38) 100%),
    color-mix(in srgb, var(--panel) 82%, transparent);
}

@media (max-width: 860px) {
  .r2-states-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .r2-state-card {
    min-height: 150px;
    padding: 20px 20px 18px;
  }

  .r2-state-card__text {
    margin-top: 20px;
  }
}
.r2-states-grid {
  margin-top: 32px;
}
.r2-state-card {
  background: color-mix(in srgb, var(--panel) 60%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  box-shadow: none;
}
.r2-states-grid {
  grid-template-columns: 1fr 1fr;
}
.r2-section__title {
  margin-bottom: 32px;
}
.r2-situation-card__title {
  margin-bottom: 12px;
}
/* ===== SYSTEM BLOCK: note + grading + outcomes rhythm ===== */

.r2-section--system {
  padding-top: 8px;
  padding-bottom: 132px;
}

.r2-section__head--system {
  max-width: 1040px;
}

.r2-section--system .r2-section__title {
  max-width: 16ch;
}

.r2-system-note {
  margin-top: 16px;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.34;
  letter-spacing: -0.016em;
  font-weight: 650;
  color: var(--text-2);
}

.r2-system-stack {
  margin-top: 30px;
  display: grid;
  gap: 34px;
}

.r2-system-row {
  display: grid;
  gap: 18px;
}

.r2-system-row__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 760px;
}

.r2-system-row__label {
  font-size: 13px;
  line-height: 1;
  letter-spacing: .08em;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
}

.r2-system-row__title {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(30px, 2.3vw, 42px);
  line-height: .96;
  letter-spacing: -0.045em;
  font-weight: 900;
  color: var(--text);
}

.r2-system-row__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: stretch;
}

.r2-system-panel {
  position: relative;
  min-width: 0;
  min-height: 236px;
  padding: 22px 22px 24px;
  border-radius: calc(var(--r2-card-radius) - 2px);
  border: 1px solid var(--line);
}

.r2-system-panel--what {
  background:
    linear-gradient(180deg, rgba(255,255,255,.018) 0%, rgba(255,255,255,.006) 100%),
    color-mix(in srgb, var(--panel) 70%, transparent);
  box-shadow: 0 10px 22px rgba(1, 8, 20, .10);
}

.r2-system-panel--result {
  background:
    linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.012) 100%),
    color-mix(in srgb, var(--panel) 90%, transparent);
  border-color: color-mix(in srgb, var(--line) 92%, rgba(255,255,255,.04));
  box-shadow:
    0 14px 32px rgba(1, 8, 20, .14),
    0 0 22px rgba(58, 167, 226, .04);
}

.r2-system-row--employees .r2-system-panel--what,
.r2-system-row--employees .r2-system-panel--result {
  box-shadow: 0 8px 18px rgba(1, 8, 20, .08);
}

.r2-system-row--employees .r2-system-panel--result {
  background:
    linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.01) 100%),
    color-mix(in srgb, var(--panel) 84%, transparent);
}

.r2-system-row--management .r2-system-panel--result {
  box-shadow:
    0 12px 28px rgba(1, 8, 20, .12),
    0 0 18px rgba(58, 167, 226, .035);
}

.r2-system-row--money .r2-system-panel--result {
  border-color: color-mix(in srgb, var(--accent-border) 120%, var(--line));
  box-shadow:
    0 14px 34px rgba(1, 8, 20, .16),
    0 0 28px rgba(58, 167, 226, .08);
  background:
    linear-gradient(180deg, rgba(58,167,226,.05) 0%, rgba(255,255,255,.014) 100%),
    color-mix(in srgb, var(--panel) 92%, transparent);
}

.r2-system-panel__subtitle {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 800;
  color: var(--text);
}

.r2-system-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.r2-system-list li {
  position: relative;
  padding-left: 18px;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.018em;
  font-weight: 650;
  color: var(--text-2);
}

.r2-system-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 92%, white 8%);
  box-shadow: 0 0 14px rgba(58, 167, 226, .16);
  transform: translateY(-50%);
}

.r2-system-outcomes {
  display: grid;
  gap: 18px;
}

.r2-system-outcome {
  display: grid;
  gap: 7px;
  padding-left: 18px;
  position: relative;
}

.r2-system-outcome::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  color: var(--primary);
  opacity: .95;
}

.r2-system-outcome__title {
  font-size: 21px;
  line-height: 1.04;
  letter-spacing: -0.028em;
  font-weight: 850;
  color: var(--text);
}

.r2-system-outcome__text {
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.34;
  letter-spacing: -0.014em;
  font-weight: 650;
  color: var(--text-2);
}

.r2-system-row--money .r2-system-outcome__title {
  color: var(--primary);
}

html[data-theme="light"] .r2-system-note {
  color: var(--text-2);
}

html[data-theme="light"] .r2-system-panel--what {
  background:
    linear-gradient(180deg, rgba(255,255,255,.52) 0%, rgba(255,255,255,.34) 100%),
    color-mix(in srgb, var(--panel) 78%, transparent);
}

html[data-theme="light"] .r2-system-panel--result {
  background:
    linear-gradient(180deg, rgba(255,255,255,.76) 0%, rgba(255,255,255,.50) 100%),
    color-mix(in srgb, var(--panel) 90%, transparent);
}

html[data-theme="light"] .r2-system-row--employees .r2-system-panel--result {
  background:
    linear-gradient(180deg, rgba(255,255,255,.68) 0%, rgba(255,255,255,.46) 100%),
    color-mix(in srgb, var(--panel) 86%, transparent);
}

html[data-theme="light"] .r2-system-row--money .r2-system-panel--result {
  background:
    linear-gradient(180deg, rgba(54,166,232,.10) 0%, rgba(255,255,255,.54) 100%),
    color-mix(in srgb, var(--panel) 92%, transparent);
}

html[data-theme="light"] .r2-system-row--money .r2-system-outcome__title {
  color: color-mix(in srgb, var(--primary) 90%, #0b2241 10%);
}

@media (max-width: 1220px) {
  .r2-section--system {
    padding-bottom: 116px;
  }

  .r2-system-row__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .r2-system-row__title {
    max-width: none;
  }

  .r2-system-panel {
    min-height: 0;
  }

  .r2-system-outcome__text {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .r2-section--system {
    padding-top: 0;
    padding-bottom: 92px;
  }

  .r2-system-note {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.36;
  }

  .r2-system-stack {
    margin-top: 24px;
    gap: 22px;
  }

  .r2-system-row {
    gap: 14px;
  }

  .r2-system-row__head {
    gap: 8px;
  }

  .r2-system-row__label {
    font-size: 12px;
  }

  .r2-system-row__title {
    font-size: clamp(24px, 7vw, 34px);
    line-height: .98;
  }

  .r2-system-panel {
    padding: 18px 18px 20px;
    border-radius: 22px;
  }

  .r2-system-panel__subtitle {
    margin-bottom: 12px;
    font-size: 15px;
  }

  .r2-system-list {
    gap: 10px;
  }

  .r2-system-list li {
    font-size: 16px;
    line-height: 1.32;
  }

  .r2-system-outcomes {
    gap: 14px;
  }

  .r2-system-outcome__title {
    font-size: 18px;
    line-height: 1.08;
  }

  .r2-system-outcome__text {
    font-size: 14px;
    line-height: 1.34;
  }
}
/* ===== SECTION: reality ===== */

.r2-section--reality {
  padding-top: 4px;
  padding-bottom: 56px;
}

.r2-section__head--reality {
  max-width: 980px;
}

.r2-reality-note {
  margin-top: 16px;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.34;
  letter-spacing: -0.016em;
  font-weight: 650;
  color: var(--text-2);
}

.r2-reality-compare {
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: stretch;
}

.r2-reality-card {
  min-width: 0;
  min-height: 100%;
  padding: 22px 22px 24px;
  border-radius: calc(var(--r2-card-radius) - 2px);
  border: 1px solid var(--line);
}

.r2-reality-card--default {
  background:
    linear-gradient(180deg, rgba(255,255,255,.018) 0%, rgba(255,255,255,.006) 100%),
    color-mix(in srgb, var(--panel) 70%, transparent);
  box-shadow: 0 10px 22px rgba(1, 8, 20, .10);
}

.r2-reality-card--radar {
  background:
    linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.012) 100%),
    color-mix(in srgb, var(--panel) 90%, transparent);
  border-color: color-mix(in srgb, var(--accent-border) 105%, var(--line));
  box-shadow:
    0 14px 32px rgba(1, 8, 20, .14),
    0 0 24px rgba(58, 167, 226, .05);
}

.r2-reality-card__label {
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .08em;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
}

.r2-reality-card__title {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(28px, 2.1vw, 38px);
  line-height: .98;
  letter-spacing: -0.04em;
  font-weight: 900;
  color: var(--text);
}

.r2-reality-card__text {
  margin-top: 16px;
  max-width: 36ch;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.016em;
  font-weight: 650;
  color: var(--text-2);
}

.r2-reality-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.r2-reality-list li {
  position: relative;
  padding-left: 18px;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.018em;
  font-weight: 650;
  color: var(--text);
}

.r2-reality-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  transform: translateY(-50%);
  box-shadow: 0 0 12px rgba(255,255,255,.06);
}

.r2-reality-list--radar li::before {
  background: color-mix(in srgb, var(--primary) 92%, white 8%);
  box-shadow: 0 0 14px rgba(58, 167, 226, .16);
}

.r2-reality-card__result {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  font-size: 18px;
  line-height: 1.24;
  letter-spacing: -0.022em;
  font-weight: 800;
  color: var(--text);
}

.r2-reality-card__result--accent {
  color: var(--primary);
}

/* ===== SECTION: radar product ===== */

.r2-section--radar-product {
  padding-top: 120px; /* подгони под другие секции */
  padding-bottom: 136px;
}

.r2-section__head--radar-product {
  max-width: 980px;
}

.r2-radar-product-note {
  margin-top: 16px;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.34;
  letter-spacing: -0.016em;
  font-weight: 650;
  color: var(--text-2);
}

.r2-radar-product-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.r2-radar-product-card {
  min-width: 0;
  padding: 20px 20px 20px;
  border-radius: calc(var(--r2-card-radius) - 2px);
  border: 1px solid color-mix(in srgb, var(--accent-border) 110%, var(--line));
  background:
    linear-gradient(180deg, rgba(58,167,226,.04) 0%, rgba(255,255,255,.012) 100%),
    color-mix(in srgb, var(--panel) 88%, transparent);
  box-shadow:
    0 12px 28px rgba(1, 8, 20, .12),
    0 0 20px rgba(58, 167, 226, .05);
}

.r2-radar-product-card__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.04;
  letter-spacing: -0.028em;
  font-weight: 850;
  color: var(--text);
}

.r2-radar-product-card__text {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.34;
  letter-spacing: -0.014em;
  font-weight: 650;
  color: var(--text-2);
}

html[data-theme="light"] .r2-reality-note,
html[data-theme="light"] .r2-radar-product-note {
  color: var(--text-2);
}

html[data-theme="light"] .r2-reality-card--default {
  background:
    linear-gradient(180deg, rgba(255,255,255,.54) 0%, rgba(255,255,255,.34) 100%),
    color-mix(in srgb, var(--panel) 76%, transparent);
}

html[data-theme="light"] .r2-reality-card--radar {
  background:
    linear-gradient(180deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.52) 100%),
    color-mix(in srgb, var(--panel) 92%, transparent);
}

html[data-theme="light"] .r2-radar-product-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.54) 100%),
    color-mix(in srgb, var(--panel) 90%, transparent);
}

@media (max-width: 1220px) {
  .r2-section--reality {
    padding-bottom: 42px;
  }

  .r2-section--radar-product {
    padding-bottom: 116px;
  }

  .r2-reality-compare {
    grid-template-columns: 1fr;
  }

  .r2-radar-product-grid {
    grid-template-columns: 1fr;
  }

  .r2-reality-card__title {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .r2-section--reality {
    padding-top: 0;
    padding-bottom: 32px;
  }

  .r2-section--radar-product {
    padding-top: 80;
    padding-bottom: 92px;
  }

  .r2-reality-note,
  .r2-radar-product-note {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.36;
  }

  .r2-reality-compare {
    margin-top: 24px;
    gap: 14px;
  }

  .r2-reality-card {
    padding: 18px 18px 20px;
    border-radius: 22px;
  }

  .r2-reality-card__label {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .r2-reality-card__title {
    font-size: clamp(24px, 7vw, 34px);
    line-height: .98;
  }

  .r2-reality-card__text {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.34;
  }

  .r2-reality-list {
    margin-top: 14px;
    gap: 10px;
  }

  .r2-reality-list li {
    font-size: 16px;
    line-height: 1.32;
  }

  .r2-reality-card__result {
    margin-top: 18px;
    padding-top: 14px;
    font-size: 17px;
  }

  .r2-radar-product-grid {
    margin-top: 22px;
    gap: 12px;
  }

  .r2-radar-product-card {
    padding: 18px 18px 18px;
    border-radius: 22px;
  }

  .r2-radar-product-card__title {
    font-size: 20px;
    line-height: 1.08;
  }

  .r2-radar-product-card__text {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.36;
  }
}
/* =========================================
   CTA BLOCK — FINAL VERSION
========================================= */

.r2-section--cta {
  padding-top: 12px;
  padding-bottom: 140px;
}

.r2-cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;

  border: 1px solid color-mix(in srgb, var(--accent-border) 115%, var(--line));

  background:
    linear-gradient(180deg, rgba(58,167,226,.06) 0%, rgba(255,255,255,.015) 100%),
    color-mix(in srgb, var(--panel) 90%, transparent);

  box-shadow:
    0 20px 48px rgba(1, 8, 20, .18),
    0 0 36px rgba(58, 167, 226, .08);
}

.r2-cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 360px at 82% 22%, rgba(58,167,226,.12) 0%, rgba(58,167,226,0) 70%);
  pointer-events: none;
}

/* ===== CONTENT ===== */

.r2-cta-panel__content {
  position: relative;
  z-index: 1;

  max-width: 760px;
  padding: 36px 42px 38px;
}

/* ===== TITLE ===== */

.r2-cta-panel__title {
  margin: 0;

  max-width: 11.5ch;

  font-size: clamp(32px, 4vw, 52px);
  line-height: .94;
  letter-spacing: -0.055em;
  font-weight: 900;

  color: var(--text);
}

/* ===== LEAD ===== */

.r2-cta-panel__lead {
  margin-top: 36px;

  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;

  color: var(--text);
}

/* ===== LIST ===== */

.r2-cta-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;

  display: grid;
  gap: 14px;

  max-width: 50ch;
}

.r2-cta-list li {
  position: relative;
  padding-left: 20px;

  font-size: 18px;
  line-height: 1.32;
  letter-spacing: -0.02em;
  font-weight: 600;

  color: var(--text);
}

.r2-cta-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;

  width: 8px;
  height: 8px;
  border-radius: 999px;

  background: color-mix(in srgb, var(--primary) 92%, white 8%);
  box-shadow: 0 0 14px rgba(58, 167, 226, .18);

  transform: translateY(-50%);
}

/* ===== BUTTON ===== */

.r2-cta-panel__actions {
  margin-top: 42px;
}

/* ===== NOTE ===== */

.r2-cta-panel__note {
  margin-top: 16px;

  max-width: 32ch;

  font-size: 15px;
  line-height: 1.38;
  letter-spacing: -0.015em;
  font-weight: 700px;

  color: var(--text-2);
}

/* ===== LIGHT THEME ===== */

html[data-theme="light"] .r2-cta-panel {
  background:
    linear-gradient(180deg, rgba(54,166,232,.12) 0%, rgba(255,255,255,.58) 100%),
    color-mix(in srgb, var(--panel) 92%, transparent);
}

html[data-theme="light"] .r2-cta-panel::before {
  background:
    radial-gradient(580px 340px at 82% 20%, rgba(54,166,232,.14) 0%, rgba(54,166,232,0) 70%);
}

/* ===== TABLET ===== */

@media (max-width: 1200px) {
  .r2-cta-panel__content {
    max-width: 720px;
  }

  .r2-cta-panel__title {
    max-width: 13ch;
  }
}

/* ===== MOBILE ===== */

@media (max-width: 860px) {

  .r2-section--cta {
    padding-bottom: 96px;
  }

  .r2-cta-panel {
    border-radius: 24px;
  }

  .r2-cta-panel__content {
    padding: 22px 20px 24px;
    max-width: none;
  }

  .r2-cta-panel__title {
    max-width: none;

    font-size: clamp(28px, 8vw, 40px);
    line-height: .98;
  }

  .r2-cta-panel__lead {
    margin-top: 22px;
    font-size: 17px;
  }

  .r2-cta-list {
    margin-top: 16px;
    gap: 10px;
    max-width: none;
  }

  .r2-cta-list li {
    font-size: 17px;
  }

  .r2-cta-panel__actions {
    margin-top: 26px;
  }

  .r2-cta-panel__actions .r2-btn {
    width: 100%;
  }

  .r2-cta-panel__note {
    margin-top: 14px;
    max-width: none;
    font-size: 14px;
  }
}
/* === PERFORMANCE PATCH (cursor + grid optimization) === */

/* 1. УБИРАЕМ САМЫЙ ТЯЖЕЛЫЙ BLEND */
.r2-cursor-glow {
  mix-blend-mode: normal !important;
  will-change: transform, opacity;
}

/* 2. УПРОЩАЕМ HOTSPOT (убираем лишнюю глубину через псевдоэлементы) */
.r2-grid-hotspot::before,
.r2-grid-hotspot::after {
  display: none !important;
}

/* 3. ОБЛЕГЧАЕМ MASK (делаем меньше радиус → меньше перерисовки) */
.r2-grid-hotspot {
  mask-image: radial-gradient(
    circle 180px at var(--mx-px) var(--my-px),
    rgba(0,0,0,.9) 0%,
    rgba(0,0,0,.6) 40%,
    rgba(0,0,0,0) 70%
  ) !important;

  -webkit-mask-image: radial-gradient(
    circle 180px at var(--mx-px) var(--my-px),
    rgba(0,0,0,.9) 0%,
    rgba(0,0,0,.6) 40%,
    rgba(0,0,0,0) 70%
  ) !important;

  will-change: transform, opacity;
}

/* 4. УПРОЩАЕМ CURSOR GLOW (чуть легче градиент) */
.r2-cursor-glow {
  background:
    radial-gradient(
      circle 220px at var(--mx-px) var(--my-px),
      rgba(88, 186, 240, .16) 0%,
      rgba(58,167,226,.08) 35%,
      rgba(58,167,226,0) 70%
    ) !important;
}

/* 5. ГОВОРИМ БРАУЗЕРУ НЕ ТРОГАТЬ ВСЁ ДЕРЕВО */
.r2-page {
  contain: layout style paint;
}
/* ===== SECTION: FAQ ===== */

.r2-section--faq {
  padding-top: 6px;
  padding-bottom: 58px;
}

.r2-section__head--faq {
  max-width: 980px;
}

.r2-faq {
  margin-top: 28px;
  display: grid;
  gap: 12px;
  max-width: 72%;
}

.r2-faq-item {
  border-radius: calc(var(--r2-card-radius) - 4px);
  border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  background:
    linear-gradient(180deg, rgba(255,255,255,.020) 0%, rgba(255,255,255,.006) 100%),
    color-mix(in srgb, var(--panel) 72%, transparent);
  box-shadow: 0 10px 22px rgba(1, 8, 20, .10);
  overflow: hidden;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background-color .2s ease;
}

.r2-faq-item:hover {
  border-color: color-mix(in srgb, var(--line-2) 88%, transparent);
  box-shadow:
    0 14px 28px rgba(1, 8, 20, .12),
    0 0 18px rgba(58, 167, 226, .04);
}

.r2-faq-item.is-open {
  border-color: color-mix(in srgb, var(--accent-border) 110%, var(--line));
  background:
    linear-gradient(180deg, rgba(58,167,226,.04) 0%, rgba(255,255,255,.010) 100%),
    color-mix(in srgb, var(--panel) 84%, transparent);
  box-shadow:
    0 14px 30px rgba(1, 8, 20, .14),
    0 0 22px rgba(58, 167, 226, .05);
}

.r2-faq-item__trigger {
  width: 100%;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.r2-faq-item__question {
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.08;
  letter-spacing: -0.028em;
  font-weight: 800;
  color: var(--text);
}

.r2-faq-item__icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  position: relative;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--line) 86%, transparent);
  background: rgba(255,255,255,.02);
}

.r2-faq-item__icon::before,
.r2-faq-item__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transform: translate(-50%, -50%);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), opacity .2s ease;
}

.r2-faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.r2-faq-item.is-open .r2-faq-item__icon::after {
  opacity: 0;
}

.r2-faq-item__panel {
  height: 0;
  overflow: hidden;
  padding: 0 22px;
  transition: height .28s cubic-bezier(.22, 1, .36, 1);
  will-change: height;
}

.r2-faq-item__answer {
  max-width: 72ch;
  display: grid;
  gap: 8px;
  padding-top: 2px;
  padding-bottom: 20px;
}

.r2-faq-item__answer p {
  margin: 0;
  font-size: 17px;
  line-height: 1.36;
  letter-spacing: -0.016em;
  font-weight: 650;
  color: var(--text-2);
}

.r2-faq-item__answer p:first-child {
  color: var(--text);
  font-weight: 800;
}

html[data-theme="light"] .r2-faq-item {
  background:
    linear-gradient(180deg, rgba(255,255,255,.68) 0%, rgba(255,255,255,.44) 100%),
    color-mix(in srgb, var(--panel) 84%, transparent);
}

html[data-theme="light"] .r2-faq-item.is-open {
  background:
    linear-gradient(180deg, rgba(54,166,232,.08) 0%, rgba(255,255,255,.54) 100%),
    color-mix(in srgb, var(--panel) 90%, transparent);
}

@media (max-width: 1220px) {
  .r2-faq {
    max-width: 100%;
  }
}

@media (max-width: 860px) {
  .r2-section--faq {
    padding-top: 0;
    padding-bottom: 36px;
  }

  .r2-faq {
    margin-top: 22px;
    gap: 10px;
  }

  .r2-faq-item__trigger {
    padding: 16px 18px;
    gap: 14px;
  }

  .r2-faq-item__question {
    font-size: 18px;
    line-height: 1.12;
  }

  .r2-faq-item__icon {
    width: 20px;
    height: 20px;
  }

  .r2-faq-item__panel {
    height: 0;
    overflow: hidden;
    padding: 0 18px;
  }

  .r2-faq-item__answer {
    gap: 7px;
    padding-bottom: 18px;
  }

  .r2-faq-item__answer p {
    font-size: 15px;
    line-height: 1.38;
  }
}
/* ===== FAQ motion polish patch ===== */

.r2-faq-item {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: border-color, box-shadow, background-color;
}

.r2-faq-item__trigger {
  transition: background-color .2s ease;
}

.r2-faq-item__panel {
  opacity: 0;
  transform: translateY(-2px);
  transition:
    height .28s cubic-bezier(.22, 1, .36, 1),
    opacity .18s ease,
    transform .28s cubic-bezier(.22, 1, .36, 1);
  will-change: height, opacity, transform;
}

.r2-faq-item.is-open .r2-faq-item__panel {
  opacity: 1;
  transform: translateY(0);
}

.r2-faq-item__answer {
  transform: translateZ(0);
}

.r2-faq-item__icon {
  transition:
    border-color .2s ease,
    background-color .2s ease,
    transform .28s cubic-bezier(.22, 1, .36, 1);
}

.r2-faq-item.is-open .r2-faq-item__icon {
  transform: rotate(0.001deg);
}

.r2-faq-item__icon::before,
.r2-faq-item__icon::after {
  transition:
    transform .28s cubic-bezier(.22, 1, .36, 1),
    opacity .18s ease;
}

.r2-faq-item:hover {
  transform: translateY(-1px);
}

.r2-faq-item.is-open:hover {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .r2-faq-item,
  .r2-faq-item__trigger,
  .r2-faq-item__panel,
  .r2-faq-item__icon,
  .r2-faq-item__icon::before,
  .r2-faq-item__icon::after {
    transition: none !important;
  }
}
/* ===== SECTION: transform ===== */

.r2-section--transform {
  padding-top: 6px;
  padding-bottom: 56px;
}

.r2-section__head--transform {
  max-width: 980px;
}

.r2-transform-list {
  margin-top: 28px;
  max-width: 72%;
  display: grid;
  gap: 14px;
}

.r2-transform-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: calc(var(--r2-card-radius) - 4px);
  border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  background:
    linear-gradient(180deg, rgba(255,255,255,.020) 0%, rgba(255,255,255,.006) 100%),
    color-mix(in srgb, var(--panel) 72%, transparent);
  box-shadow: 0 10px 22px rgba(1, 8, 20, .10);
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background-color .2s ease,
    transform .2s ease;
}

.r2-transform-row:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--line-2) 88%, transparent);
  box-shadow:
    0 14px 28px rgba(1, 8, 20, .12),
    0 0 18px rgba(58, 167, 226, .04);
}

.r2-transform-row__left {
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.028em;
  font-weight: 850;
  color: var(--text);
}

.r2-transform-row__right {
  font-size: 16px;
  line-height: 1.34;
  letter-spacing: -0.016em;
  font-weight: 650;
  color: var(--text-2);
}

.r2-transform-row__divider {
  position: relative;
  width: 100%;
  height: 30px;
}

.r2-transform-row__divider::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: color-mix(in srgb, var(--line) 86%, transparent);
  transform: translateX(-50%);
}

.r2-transform-row__divider::after {
  content: "→";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  color: var(--primary);
}

.r2-transform-row--accent {
  border-color: color-mix(in srgb, var(--accent-border) 108%, var(--line));
  background:
    linear-gradient(180deg, rgba(58,167,226,.05) 0%, rgba(255,255,255,.010) 100%),
    color-mix(in srgb, var(--panel) 84%, transparent);
  box-shadow:
    0 14px 30px rgba(1, 8, 20, .14),
    0 0 22px rgba(58, 167, 226, .05);
}

.r2-transform-row--accent .r2-transform-row__left {
  color: var(--primary);
}

html[data-theme="light"] .r2-transform-row {
  background:
    linear-gradient(180deg, rgba(255,255,255,.68) 0%, rgba(255,255,255,.44) 100%),
    color-mix(in srgb, var(--panel) 84%, transparent);
}

html[data-theme="light"] .r2-transform-row--accent {
  background:
    linear-gradient(180deg, rgba(54,166,232,.08) 0%, rgba(255,255,255,.54) 100%),
    color-mix(in srgb, var(--panel) 90%, transparent);
}

@media (max-width: 1220px) {
  .r2-section--transform {
    padding-bottom: 42px;
  }

  .r2-transform-list {
    max-width: 100%;
  }
}

@media (max-width: 860px) {
  .r2-section--transform {
    padding-top: 0;
    padding-bottom: 32px;
  }

  .r2-transform-list {
    margin-top: 22px;
    gap: 10px;
  }

  .r2-transform-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 18px;
  }

  .r2-transform-row__left {
    font-size: 19px;
    line-height: 1.12;
  }

  .r2-transform-row__right {
    font-size: 15px;
    line-height: 1.36;
  }

  .r2-transform-row__divider {
    display: none;
  }
}
/* ===== SECTION: speed compare ===== */

.r2-section--speed {
  padding-top: 6px;
  padding-bottom: 42px;
}

.r2-section__head--speed {
  max-width: 980px;
}

.r2-speed-note {
  margin-top: 16px;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.34;
  letter-spacing: -0.016em;
  font-weight: 650;
  color: var(--text-2);
}

.r2-speed-compare {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: stretch;
}

.r2-speed-card {
  min-width: 0;
  padding: 22px 22px 24px;
  border-radius: calc(var(--r2-card-radius) - 2px);
  border: 1px solid var(--line);
}

.r2-speed-card--default {
  background:
    linear-gradient(180deg, rgba(255,255,255,.018) 0%, rgba(255,255,255,.006) 100%),
    color-mix(in srgb, var(--panel) 70%, transparent);
  box-shadow: 0 10px 22px rgba(1, 8, 20, .10);
}

.r2-speed-card--radar {
  background:
    linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.012) 100%),
    color-mix(in srgb, var(--panel) 90%, transparent);
  border-color: color-mix(in srgb, var(--accent-border) 108%, var(--line));
  box-shadow:
    0 14px 30px rgba(1, 8, 20, .14),
    0 0 22px rgba(58, 167, 226, .05);
}

.r2-speed-card__label {
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .08em;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
}

.r2-speed-points {
  display: grid;
  gap: 16px;
}

.r2-speed-point {
  display: grid;
  gap: 6px;
}

.r2-speed-point__title {
  font-size: 21px;
  line-height: 1.08;
  letter-spacing: -0.026em;
  font-weight: 820;
  color: var(--text);
}

.r2-speed-point__text {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.34;
  letter-spacing: -0.014em;
  font-weight: 650;
  color: var(--text-2);
}

.r2-speed-point__text::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 900;
}

.r2-speed-card--radar .r2-speed-point__title {
  color: var(--text);
}

.r2-speed-closing {
  margin-top: 18px;
  max-width: 720px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.026em;
  font-weight: 850;
  color: var(--text);
}

html[data-theme="light"] .r2-speed-note {
  color: var(--text-2);
}

html[data-theme="light"] .r2-speed-card--default {
  background:
    linear-gradient(180deg, rgba(255,255,255,.66) 0%, rgba(255,255,255,.42) 100%),
    color-mix(in srgb, var(--panel) 84%, transparent);
}

html[data-theme="light"] .r2-speed-card--radar {
  background:
    linear-gradient(180deg, rgba(54,166,232,.08) 0%, rgba(255,255,255,.54) 100%),
    color-mix(in srgb, var(--panel) 90%, transparent);
}

@media (max-width: 1220px) {
  .r2-speed-compare {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .r2-section--speed {
    padding-top: 0;
    padding-bottom: 32px;
  }

  .r2-speed-note {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.36;
  }

  .r2-speed-compare {
    margin-top: 24px;
    gap: 14px;
  }

  .r2-speed-card {
    padding: 18px 18px 20px;
    border-radius: 22px;
  }

  .r2-speed-card__label {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .r2-speed-points {
    gap: 12px;
  }

  .r2-speed-point__title {
    font-size: 18px;
    line-height: 1.12;
  }

  .r2-speed-point__text {
    font-size: 14px;
    line-height: 1.36;
  }

  .r2-speed-closing {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.26;
  }
}
.r2-radar-product-card:first-child {
  transform: scale(1.05);
  border: 1px solid rgba(80,180,255,.35);
  box-shadow: 0 0 40px rgba(80,180,255,.15);
}
.r2-radar-product-card__text::before {
  content: "→";
  color: var(--accent);
  margin-right: 6px;
}
.r2-radar-product-grid {
  gap: 24px; /* если сейчас 16 → увеличь */
}
.r2-radar-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(80,180,255,.25);
}
@media (max-width: 760px) {
  .r2-section {
    padding-left: 0 !important;
  }
}
/* ===== HERO TITLE SIZE TUNE ===== */

.r2-title--hero {
  font-size: clamp(32px, 3.8vw, 56px);
}
/* ===== HERO TITLE RHYTHM ===== */

.r2-title--hero {
  display: flex;
  flex-direction: column;
}

.r2-title--hero .r2-title__line {
  display: block;
}

.r2-title--hero .r2-title__line--lead {
  margin-bottom: 18px;
}
.r2-title.r2-title--hero .r2-title__line {
  color: var(--text) !important;
}

.r2-title.r2-title--hero .r2-title__line--lead {
  color: var(--primary) !important;
}
/* ===== CASES BLOCK ===== */

.r2-section--cases {
  padding-top: 10px;
  padding-bottom: 64px;
}

.r2-section__head--cases {
  max-width: 980px;
}

.r2-cases-note {
  margin-top: 16px;
  max-width: 820px;
  font-size: 18px;
  line-height: 1.34;
  letter-spacing: -0.018em;
  font-weight: 650;
  color: var(--text-2);
}

.r2-cases {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 18px;
  align-items: start;
}

.r2-cases__nav {
  display: grid;
  gap: 12px;
}

.r2-cases__nav-item {
  width: 100%;
  min-height: 112px;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  border-radius: calc(var(--r2-card-radius) - 4px);
  background:
    linear-gradient(180deg, rgba(255,255,255,.022) 0%, rgba(255,255,255,.008) 100%),
    color-mix(in srgb, var(--panel) 78%, transparent);
  box-shadow: 0 12px 28px rgba(1, 8, 20, .12);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    background-color .18s ease;
}

.r2-cases__nav-item:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow:
    0 16px 34px rgba(1, 8, 20, .16),
    0 0 18px rgba(58, 167, 226, .05);
}

.r2-cases__nav-item.is-active {
  border-color: color-mix(in srgb, var(--accent-border) 125%, var(--line));
  background:
    linear-gradient(180deg, rgba(58,167,226,.055) 0%, rgba(255,255,255,.012) 100%),
    color-mix(in srgb, var(--panel) 88%, transparent);
  box-shadow:
    0 18px 36px rgba(1, 8, 20, .18),
    0 0 24px rgba(58, 167, 226, .08);
}

.r2-cases__nav-meta {
  font-size: 12px;
  line-height: 1;
  letter-spacing: .12em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-3);
}

.r2-cases__nav-title {
  font-size: clamp(22px, 1.6vw, 28px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 850;
  color: var(--text);
}

.r2-cases__nav-hook {
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -0.016em;
  font-weight: 700;
  color: var(--primary);
}

.r2-cases__detail {
  min-width: 0;
}

.r2-cases__panel {
  display: none;
  min-height: 560px;
  padding: 26px 26px 24px;
  border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  border-radius: calc(var(--r2-card-radius) - 2px);
  background:
    linear-gradient(180deg, rgba(255,255,255,.028) 0%, rgba(255,255,255,.010) 100%),
    color-mix(in srgb, var(--panel) 84%, transparent);
  box-shadow: 0 16px 38px rgba(1, 8, 20, .16);
  backdrop-filter: blur(calc(var(--r2-blur) - 3px));
  -webkit-backdrop-filter: blur(calc(var(--r2-blur) - 3px));
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity .18s ease,
    transform .28s cubic-bezier(.22, 1, .36, 1),
    border-color .18s ease,
    box-shadow .18s ease;
}

.r2-cases__panel.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.r2-cases__panel-label {
  font-size: 12px;
  line-height: 1;
  letter-spacing: .12em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
}

.r2-cases__panel-title {
  margin: 14px 0 0;
  max-width: 18ch;
  font-size: clamp(30px, 2.5vw, 42px);
  line-height: .96;
  letter-spacing: -0.045em;
  font-weight: 900;
  color: var(--text);
}

.r2-cases__group {
  margin-top: 22px;
}

.r2-cases__group-title {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 850;
  color: var(--text);
}

.r2-cases__group-text {
  max-width: 54ch;
  font-size: 18px;
  line-height: 1.34;
  letter-spacing: -0.018em;
  font-weight: 650;
  color: var(--text-2);
}

.r2-cases__group-text + .r2-cases__group-text {
  margin-top: 12px;
}

.r2-cases__list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.r2-cases__list li {
  position: relative;
  padding-left: 18px;
  max-width: 58ch;
  font-size: 18px;
  line-height: 1.32;
  letter-spacing: -0.018em;
  font-weight: 700;
  color: var(--text);
}

.r2-cases__list li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 88%, white 12%);
  box-shadow: 0 0 10px rgba(58,167,226,.18);
}

.r2-cases__takeaway {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--line-2) 78%, transparent);
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.38;
  letter-spacing: -0.016em;
  font-weight: 650;
  color: var(--text-2);
}

.r2-cases__panel--placeholder .r2-cases__panel-title,
.r2-cases__panel--placeholder .r2-cases__group-title {
  color: var(--text);
}

.r2-cases__panel--placeholder .r2-cases__group-text,
.r2-cases__panel--placeholder .r2-cases__takeaway {
  color: var(--text-3);
}

html[data-theme="light"] .r2-cases__nav-item {
  background:
    linear-gradient(180deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.46) 100%),
    color-mix(in srgb, var(--panel) 90%, transparent);
}

html[data-theme="light"] .r2-cases__nav-item.is-active {
  background:
    linear-gradient(180deg, rgba(54,166,232,.09) 0%, rgba(255,255,255,.58) 100%),
    color-mix(in srgb, var(--panel) 94%, transparent);
}

html[data-theme="light"] .r2-cases__panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.54) 100%),
    color-mix(in srgb, var(--panel) 94%, transparent);
}

@media (max-width: 1220px) {
  .r2-cases {
    grid-template-columns: 1fr;
  }

  .r2-cases__panel {
    min-height: 0;
  }
}

@media (max-width: 860px) {
  .r2-section--cases {
    padding-top: 0;
    padding-bottom: 36px;
  }

  .r2-cases-note {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.36;
  }

  .r2-cases {
    margin-top: 24px;
    gap: 14px;
  }

  .r2-cases__nav {
    gap: 12px;
  }

  .r2-cases__nav-item {
    min-height: 96px;
    padding: 16px 16px 18px;
    gap: 8px;
    border-radius: 22px;
  }

  .r2-cases__nav-title {
    font-size: 20px;
    line-height: 1.04;
  }

  .r2-cases__nav-hook {
    font-size: 14px;
    line-height: 1.32;
  }

  .r2-cases__panel {
    padding: 18px 18px 20px;
    border-radius: 22px;
  }

  .r2-cases__panel-title {
    margin-top: 12px;
    font-size: clamp(24px, 7vw, 34px);
    line-height: .98;
  }

  .r2-cases__group {
    margin-top: 18px;
  }

  .r2-cases__group-title {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .r2-cases__group-text,
  .r2-cases__list li {
    font-size: 15px;
    line-height: 1.36;
  }

  .r2-cases__takeaway {
    margin-top: 18px;
    padding-top: 14px;
    font-size: 14px;
    line-height: 1.38;
  }
}
/* ===== CASES BLOCK TUNE: 5 ITEMS / INDEX LEFT / WIDER DETAIL TITLE ===== */

.r2-cases__nav {
  gap: 10px;
}

.r2-cases__nav-item {
  min-height: 112px;
  padding: 18px 18px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.r2-cases__nav-index {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  border-right: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 850;
  color: color-mix(in srgb, var(--text-3) 88%, transparent);
}

.r2-cases__nav-main {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.r2-cases__nav-title {
  font-size: clamp(21px, 1.45vw, 26px);
  line-height: 1.04;
}

.r2-cases__nav-hook {
  font-size: 14px;
  line-height: 1.28;
}

.r2-cases__nav-item.is-active .r2-cases__nav-index {
  color: color-mix(in srgb, var(--primary) 84%, var(--text));
  border-right-color: color-mix(in srgb, var(--accent-border) 118%, transparent);
}

.r2-cases__panel {
  min-height: 598px;
}

.r2-cases__panel-title {
  max-width: 24ch;
  font-size: clamp(32px, 2.35vw, 42px);
}

.r2-cases__group-text,
.r2-cases__list li {
  max-width: 60ch;
}

@media (max-width: 1220px) {
  .r2-cases__panel {
    min-height: 0;
  }
}

@media (max-width: 860px) {
  .r2-cases__nav-item {
    min-height: 92px;
    padding: 14px 16px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .r2-cases__nav-index {
    font-size: 18px;
  }

  .r2-cases__nav-title {
    font-size: 19px;
  }

  .r2-cases__nav-hook {
    font-size: 13px;
  }

  .r2-cases__panel-title {
    max-width: none;
  }
}
/* ===== FIX: CASES RIGHT PANEL BOTTOM LOCK ===== */

.r2-cases__panel {
  display: flex;
  flex-direction: column;
}

.r2-cases__takeaway {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--line-2) 78%, transparent);
}
/* ===== FIX: cases detail layout ===== */

.r2-cases__detail {
  min-width: 0;
}

.r2-cases__panel {
  display: none;
  flex-direction: column;
}

.r2-cases__panel.is-active {
  display: flex;
  flex-direction: column;
}

.r2-cases__takeaway {
  margin-top: auto;
}
/* ===== BEFORE / AFTER RADAR ===== */

.r2-section--before-after {
  position: relative;
  z-index: 2;
  --ba-device-h: 760px;
  --ba-screen-h: 728px;
}

.r2-section--before-after .r2-section__title {
  max-width: 21ch;
}

.r2-section__head--before-after {
  display: block;
  margin-bottom: 26px;
}

.r2-before-after-note {
  display: none;
}

.r2-before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

.r2-mobile-surface {
  min-width: 0;
  height: 100%;
}

.r2-mobile-surface__frame {
  position: relative;
  max-width: 520px;
  height: 100%;
  margin: 0 auto;
}

.r2-mobile-surface__glow {
  position: absolute;
  inset: 8% 9% auto;
  height: 66%;
  border-radius: 42px;
  background: radial-gradient(circle at 50% 14%, rgba(58,167,226,.14) 0%, rgba(58,167,226,.05) 42%, rgba(58,167,226,0) 74%);
  filter: blur(24px);
  pointer-events: none;
}

.r2-mobile-surface--before .r2-mobile-surface__glow {
  background: radial-gradient(circle at 50% 18%, rgba(231, 106, 106, .15) 0%, rgba(231, 106, 106, .05) 38%, rgba(231, 106, 106, 0) 74%);
}

.r2-mobile-surface__bezel {
  position: relative;
  min-height: var(--ba-device-h);
  height: var(--ba-device-h);
  border-radius: 36px;
  padding: 14px;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055) 0%, rgba(255,255,255,.018) 100%),
    color-mix(in srgb, var(--panel-strong) 84%, transparent);
  border: 1px solid color-mix(in srgb, var(--line-2) 74%, transparent);
  box-shadow:
    0 18px 42px rgba(1, 8, 20, .22),
    inset 0 1px 0 rgba(255,255,255,.045);
  backdrop-filter: blur(calc(var(--r2-blur) + 1px));
  -webkit-backdrop-filter: blur(calc(var(--r2-blur) + 1px));
  opacity: .98;
  transform: translateY(8px);
  transition: transform .7s cubic-bezier(.22, 1, .36, 1), opacity .4s ease;
}

html[data-theme="light"] .r2-mobile-surface__bezel {
  background:
    linear-gradient(180deg, rgba(255,255,255,.84) 0%, rgba(247,250,254,.78) 100%),
    color-mix(in srgb, var(--panel-strong) 90%, transparent);
  border-color: rgba(24,45,74,.08);
  box-shadow:
    0 18px 38px rgba(31, 58, 97, .10),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.r2-mobile-surface.is-visible .r2-mobile-surface__bezel {
  transform: translateY(0);
  opacity: 1;
}

.r2-mobile-surface__status {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.r2-mobile-surface__time {
  font-size: 14px;
  line-height: 1;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--text);
}

.r2-mobile-surface__time--lock {
  font-size: 14px;
}

.r2-mobile-surface__dynamic-island {
  width: 114px;
  height: 30px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(3, 9, 17, .92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

html[data-theme="light"] .r2-mobile-surface__dynamic-island {
  background: rgba(9, 18, 30, .92);
}

.r2-mobile-surface__icons {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 6px;
}

.r2-mobile-surface__icons span {
  display: block;
  width: 16px;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 76%, transparent);
  opacity: .78;
}

.r2-mobile-surface__icons span:nth-child(2) {
  width: 10px;
}

.r2-mobile-surface__icons span:nth-child(3) {
  width: 22px;
}

.r2-mobile-surface__screen {
  position: relative;
  min-height: var(--ba-screen-h);
  height: var(--ba-screen-h);
  border-radius: 26px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(6, 18, 34, .66) 0%, rgba(6, 18, 34, .88) 100%);
  border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
}

html[data-theme="light"] .r2-mobile-surface__screen {
  background:
    linear-gradient(180deg, rgba(244,249,255,.95) 0%, rgba(236,244,251,.98) 100%);
  border-color: rgba(24, 45, 74, .08);
}

.r2-mobile-surface__screen--before {
  background:
    radial-gradient(520px 300px at 50% 0%, rgba(231,106,106,.09) 0%, rgba(231,106,106,0) 70%),
    linear-gradient(180deg, rgba(6,17,33,.92) 0%, rgba(8,20,38,.98) 100%);
}

html[data-theme="light"] .r2-mobile-surface__screen--before {
  background:
    radial-gradient(520px 300px at 50% 0%, rgba(231,106,106,.05) 0%, rgba(231,106,106,0) 70%),
    linear-gradient(180deg, #f7fbff 0%, #edf4fa 100%);
}

.r2-mobile-surface__screen--after {
  background:
    radial-gradient(460px 250px at 50% 0%, rgba(58,167,226,.08) 0%, rgba(58,167,226,0) 72%),
    linear-gradient(180deg, rgba(7,19,36,.94) 0%, rgba(8,20,37,.98) 100%);
}

html[data-theme="light"] .r2-mobile-surface__screen--after {
  background:
    radial-gradient(460px 250px at 50% 0%, rgba(58,167,226,.05) 0%, rgba(58,167,226,0) 72%),
    linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
}

.r2-mobile-surface__caption {
  display: none;
}

.r2-chat-shell {
  position: relative;
  min-height: var(--ba-screen-h);
  height: var(--ba-screen-h);
  padding: 72px 22px 22px;
}

.r2-chat-shell__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.r2-chat-shell__back {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--text-2);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
}

.r2-chat-shell__person {
  min-width: 0;
}

.r2-chat-shell__name {
  font-size: 15px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--text);
}

.r2-chat-shell__meta {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-3);
}

.r2-chaos-stage {
  position: relative;
  min-height: 592px;
  height: 592px;
  padding-top: 6px;
  overflow: visible;
}

.r2-chaos-bubble {
  --chaos-rotate: 0deg;
  --chaos-x: 0px;
  --chaos-y: 0px;
  position: relative;
  width: min(84%, 336px);
  padding: 14px 16px 15px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.06);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.025) 100%),
    rgba(14, 24, 40, .9);
  box-shadow:
    0 16px 34px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.04);
  opacity: 0;
  transform: translate3d(var(--enter-shift, 0px), 26px, 0) scale(.96) rotate(var(--chaos-rotate));
  transition:
    opacity .54s ease,
    transform .7s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--enter-delay, 0ms);
  will-change: transform, opacity;
}

html[data-theme="light"] .r2-chaos-bubble {
  background:
    linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(247,250,254,.9) 100%),
    rgba(255,255,255,.92);
  border-color: rgba(24,45,74,.08);
  box-shadow:
    0 16px 30px rgba(31,58,97,.10),
    inset 0 1px 0 rgba(255,255,255,.92);
}

.r2-chaos-bubble.is-visible {
  opacity: 1;
  transform: translate3d(var(--chaos-x), var(--chaos-y), 0) scale(1) rotate(var(--chaos-rotate));
}

.r2-chaos-bubble--left {
  margin-right: auto;
}

.r2-chaos-bubble--right {
  margin-left: auto;
}

.r2-chaos-bubble--offset-1 {
  --chaos-x: -56px;
  --chaos-y: 8px;
  --chaos-rotate: -6.8deg;
  margin-left: -18px;
}

.r2-chaos-bubble--offset-2 {
  --chaos-x: 58px;
  --chaos-y: -10px;
  --chaos-rotate: 5.8deg;
  margin-top: -12px;
  margin-right: -14px;
}

.r2-chaos-bubble--offset-3 {
  --chaos-x: -34px;
  --chaos-y: 16px;
  --chaos-rotate: -3.9deg;
  margin-top: 18px;
}

.r2-chaos-bubble--offset-4 {
  --chaos-x: 46px;
  --chaos-y: -2px;
  --chaos-rotate: 4.8deg;
  margin-top: -8px;
  z-index: 2;
}

.r2-chaos-bubble--offset-5 {
  --chaos-x: -52px;
  --chaos-y: 14px;
  --chaos-rotate: -5.2deg;
  margin-top: 14px;
  margin-left: -16px;
}

.r2-chaos-bubble--offset-6 {
  --chaos-x: 34px;
  --chaos-y: 0px;
  --chaos-rotate: 3.6deg;
  margin-top: -6px;
  margin-right: -10px;
}

.r2-chaos-bubble--alert {
  border-color: rgba(231,106,106,.2);
  box-shadow:
    0 16px 34px rgba(0,0,0,.26),
    0 0 0 1px rgba(231,106,106,.08),
    inset 0 1px 0 rgba(255,255,255,.05);
}

html[data-theme="light"] .r2-chaos-bubble--alert {
  border-color: rgba(231,106,106,.16);
  box-shadow:
    0 16px 30px rgba(31,58,97,.10),
    0 0 0 1px rgba(231,106,106,.08),
    inset 0 1px 0 rgba(255,255,255,.92);
}

.r2-chaos-bubble--muted {
  opacity: .86;
}

.r2-chaos-bubble:nth-child(1) {
  background:
    linear-gradient(180deg, rgba(255,255,255,.045) 0%, rgba(255,255,255,.02) 100%),
    rgba(19, 30, 48, .92);
}

.r2-chaos-bubble:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.015) 100%),
    rgba(42, 29, 34, .92);
}

.r2-chaos-bubble:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.018) 100%),
    rgba(16, 30, 46, .92);
}

.r2-chaos-bubble:nth-child(4) {
  background:
    linear-gradient(180deg, rgba(255,255,255,.035) 0%, rgba(255,255,255,.015) 100%),
    rgba(31, 28, 45, .92);
}

.r2-chaos-bubble:nth-child(5) {
  background:
    linear-gradient(180deg, rgba(255,255,255,.038) 0%, rgba(255,255,255,.016) 100%),
    rgba(35, 31, 26, .92);
}

.r2-chaos-bubble:nth-child(6) {
  background:
    linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.018) 100%),
    rgba(18, 28, 43, .92);
}

html[data-theme="light"] .r2-chaos-bubble:nth-child(1) {
  background: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(247,250,254,.9) 100%);
}

html[data-theme="light"] .r2-chaos-bubble:nth-child(2) {
  background: linear-gradient(180deg, rgba(255,248,248,.94) 0%, rgba(250,242,242,.9) 100%);
}

html[data-theme="light"] .r2-chaos-bubble:nth-child(3) {
  background: linear-gradient(180deg, rgba(246,250,255,.96) 0%, rgba(240,246,252,.92) 100%);
}

html[data-theme="light"] .r2-chaos-bubble:nth-child(4) {
  background: linear-gradient(180deg, rgba(248,246,255,.95) 0%, rgba(242,240,250,.91) 100%);
}

html[data-theme="light"] .r2-chaos-bubble:nth-child(5) {
  background: linear-gradient(180deg, rgba(255,250,244,.95) 0%, rgba(251,245,238,.92) 100%);
}

html[data-theme="light"] .r2-chaos-bubble:nth-child(6) {
  background: linear-gradient(180deg, rgba(246,249,255,.95) 0%, rgba(240,245,252,.92) 100%);
}

.r2-chaos-bubble__role {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text-2);
}

.r2-chaos-bubble__text {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -.02em;
  font-weight: 650;
  color: var(--text);
}

.r2-lock-shell {
  min-height: var(--ba-screen-h);
  height: var(--ba-screen-h);
  padding: 82px 18px 20px;
}

.r2-lock-shell__day {
  text-align: center;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
  color: color-mix(in srgb, var(--text-3) 90%, transparent);
  opacity: .76;
}

.r2-lock-shell__title {
  margin: 12px auto 18px;
  max-width: 12ch;
  text-align: center;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 850;
  color: color-mix(in srgb, var(--text) 78%, var(--text-2));
}

.r2-notify-stack {
  display: grid;
  gap: 10px;
}

.r2-notify-card {
  padding: 13px 14px 14px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--accent-border) 70%, transparent);
  background:
    linear-gradient(180deg, rgba(255,255,255,.042) 0%, rgba(255,255,255,.018) 100%),
    color-mix(in srgb, var(--panel) 76%, transparent);
  box-shadow:
    0 12px 24px rgba(0,0,0,.14),
    inset 0 1px 0 rgba(255,255,255,.04);
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(.97);
  transition:
    opacity .54s ease,
    transform .7s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--enter-delay, 0ms);
}

html[data-theme="light"] .r2-notify-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(246,250,255,.92) 100%),
    color-mix(in srgb, var(--panel) 88%, transparent);
  box-shadow:
    0 12px 24px rgba(31,58,97,.08),
    inset 0 1px 0 rgba(255,255,255,.94);
}

.r2-notify-card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.r2-notify-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.r2-notify-card__app {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
  color: color-mix(in srgb, var(--primary) 48%, var(--text-2));
  letter-spacing: -.01em;
}

.r2-notify-card__time {
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  color: color-mix(in srgb, var(--text-3) 92%, transparent);
}

.r2-notify-card__text {
  margin-top: 7px;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -.02em;
  font-weight: 680;
  color: color-mix(in srgb, var(--text) 84%, var(--text-2));
}

.r2-chaos-bubble.is-floating {
  animation: r2ChaosFloat 5.8s ease-in-out infinite;
  animation-delay: var(--float-delay, 0ms);
}

@keyframes r2ChaosFloat {
  0%, 100% {
    transform: translate3d(var(--chaos-x), var(--chaos-y), 0) scale(1) rotate(var(--chaos-rotate));
  }
  50% {
    transform: translate3d(calc(var(--chaos-x) + 5px), calc(var(--chaos-y) - 7px), 0) scale(1.005) rotate(calc(var(--chaos-rotate) + .6deg));
  }
}

@media (max-width: 1220px) {
  .r2-section--before-after {
    --ba-device-h: 720px;
    --ba-screen-h: 692px;
  }

  .r2-before-after {
    gap: 26px;
  }

  .r2-chaos-stage {
    min-height: 560px;
    height: 560px;
  }

  .r2-chaos-bubble {
    width: min(86%, 312px);
  }
}

@media (max-width: 980px) {
  .r2-section--before-after .r2-section__title {
    max-width: 18ch;
  }

  .r2-before-after {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .r2-mobile-surface__frame {
    max-width: 560px;
  }
}

@media (max-width: 860px) {
  .r2-section--before-after {
    --ba-device-h: 680px;
    --ba-screen-h: 652px;
  }

  .r2-section__head--before-after {
    margin-bottom: 22px;
  }

  .r2-mobile-surface__frame {
    max-width: 100%;
  }

  .r2-mobile-surface__bezel {
    border-radius: 32px;
    padding: 13px;
  }

  .r2-mobile-surface__screen,
  .r2-chat-shell,
  .r2-lock-shell {
    border-radius: 24px;
  }

  .r2-chat-shell {
    padding: 70px 16px 18px;
  }

  .r2-lock-shell {
    padding: 80px 16px 18px;
  }

  .r2-chaos-stage {
    min-height: 520px;
    height: 520px;
  }

  .r2-chaos-bubble {
    width: min(88%, 296px);
    padding: 13px 14px 14px;
  }

  .r2-chaos-bubble--offset-1,
  .r2-chaos-bubble--offset-5 {
    --chaos-x: -28px;
    margin-left: -8px;
  }

  .r2-chaos-bubble--offset-2,
  .r2-chaos-bubble--offset-6 {
    --chaos-x: 26px;
    margin-right: -6px;
  }

  .r2-chaos-bubble--offset-3 {
    --chaos-x: -18px;
  }

  .r2-chaos-bubble--offset-4 {
    --chaos-x: 20px;
  }
}

@media (max-width: 640px) {
  .r2-section--before-after {
    --ba-device-h: 620px;
    --ba-screen-h: 594px;
  }

  .r2-section--before-after .r2-section__title {
    max-width: 15ch;
  }

  .r2-before-after {
    gap: 24px;
  }

  .r2-mobile-surface__bezel {
    border-radius: 28px;
    padding: 12px;
  }

  .r2-mobile-surface__screen,
  .r2-chat-shell,
  .r2-lock-shell {
    border-radius: 22px;
  }

  .r2-mobile-surface__status {
    top: 14px;
    left: 14px;
    right: 14px;
  }

  .r2-mobile-surface__dynamic-island {
    width: 102px;
    height: 28px;
  }

  .r2-chat-shell__name {
    font-size: 14px;
  }

  .r2-chat-shell__meta {
    font-size: 11px;
  }

  .r2-chaos-stage {
    min-height: 466px;
    height: 466px;
  }

  .r2-chaos-bubble {
    width: min(90%, 282px);
  }

  .r2-chaos-bubble__text,
  .r2-notify-card__text {
    font-size: 14px;
  }

  .r2-lock-shell__title {
    max-width: 12ch;
    font-size: clamp(20px, 6vw, 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .r2-mobile-surface__bezel,
  .r2-chaos-bubble,
  .r2-notify-card,
  .r2-chaos-bubble.is-floating {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
/* ===== BEFORE / AFTER FIX: overflow + sequential pulse ===== */

/* 1) Разрешаем баблам выходить за внутренний экран */
.r2-mobile-surface__screen {
  overflow: visible;
  isolation: isolate;
}

.r2-chat-shell,
.r2-lock-shell {
  position: relative;
  z-index: 1;
  overflow: visible;
}

/* 2) Но не даем хаосу улетать слишком далеко — немного смягчаем оффсеты */
.r2-chaos-bubble--offset-1 {
  --chaos-x: -30px;
  --chaos-y: 8px;
  --chaos-rotate: -6.8deg;
  margin-left: -6px;
}

.r2-chaos-bubble--offset-2 {
  --chaos-x: 30px;
  --chaos-y: -10px;
  --chaos-rotate: 5.8deg;
  margin-top: -12px;
  margin-right: -6px;
}

.r2-chaos-bubble--offset-3 {
  --chaos-x: -18px;
  --chaos-y: 16px;
  --chaos-rotate: -3.9deg;
  margin-top: 18px;
}

.r2-chaos-bubble--offset-4 {
  --chaos-x: 24px;
  --chaos-y: -2px;
  --chaos-rotate: 4.8deg;
  margin-top: -8px;
  z-index: 2;
}

.r2-chaos-bubble--offset-5 {
  --chaos-x: -26px;
  --chaos-y: 14px;
  --chaos-rotate: -5.2deg;
  margin-top: 14px;
  margin-left: -6px;
}

.r2-chaos-bubble--offset-6 {
  --chaos-x: 20px;
  --chaos-y: 0px;
  --chaos-rotate: 3.6deg;
  margin-top: -6px;
  margin-right: -4px;
}

/* На планшете/мобилке еще спокойнее, чтобы текст не уезжал */
@media (max-width: 860px) {
  .r2-chaos-bubble--offset-1,
  .r2-chaos-bubble--offset-5 {
    --chaos-x: -16px;
    margin-left: 0;
  }

  .r2-chaos-bubble--offset-2,
  .r2-chaos-bubble--offset-6 {
    --chaos-x: 16px;
    margin-right: 0;
  }

  .r2-chaos-bubble--offset-3 {
    --chaos-x: -10px;
  }

  .r2-chaos-bubble--offset-4 {
    --chaos-x: 12px;
  }
}

/* 3) Поочередная мягкая пульсация только после старта idle-анимации */
.r2-chaos-bubble.is-floating {
  animation:
    r2ChaosFloat 5.8s ease-in-out infinite,
    r2ChaosPulse 9s ease-in-out infinite;
  animation-delay:
    var(--float-delay, 0ms),
    var(--pulse-delay, 0ms);
}

/* Индивидуальные задержки для "очереди внимания" */
.r2-chaos-bubble:nth-child(1) { --pulse-delay: 0ms; }
.r2-chaos-bubble:nth-child(2) { --pulse-delay: 1300ms; }
.r2-chaos-bubble:nth-child(3) { --pulse-delay: 2600ms; }
.r2-chaos-bubble:nth-child(4) { --pulse-delay: 3900ms; }
.r2-chaos-bubble:nth-child(5) { --pulse-delay: 5200ms; }
.r2-chaos-bubble:nth-child(6) { --pulse-delay: 6500ms; }

@keyframes r2ChaosPulse {
  0%, 84%, 100% {
    border-color: rgba(255,255,255,.06);
    box-shadow:
      0 16px 34px rgba(0,0,0,.24),
      inset 0 1px 0 rgba(255,255,255,.04);
    filter: none;
  }

  89% {
    border-color: rgba(231,106,106,.16);
    box-shadow:
      0 18px 40px rgba(0,0,0,.28),
      0 0 0 1px rgba(231,106,106,.08),
      inset 0 1px 0 rgba(255,255,255,.05);
    filter: saturate(1.04);
  }

  92% {
    border-color: rgba(255,255,255,.08);
    box-shadow:
      0 17px 36px rgba(0,0,0,.26),
      0 0 0 1px rgba(231,106,106,.04),
      inset 0 1px 0 rgba(255,255,255,.045);
    filter: none;
  }
}

/* Светлая тема — чуть мягче */
html[data-theme="light"] .r2-chaos-bubble.is-floating {
  animation:
    r2ChaosFloat 5.8s ease-in-out infinite,
    r2ChaosPulseLight 9s ease-in-out infinite;
  animation-delay:
    var(--float-delay, 0ms),
    var(--pulse-delay, 0ms);
}

@keyframes r2ChaosPulseLight {
  0%, 84%, 100% {
    border-color: rgba(24,45,74,.08);
    box-shadow:
      0 16px 30px rgba(31,58,97,.10),
      inset 0 1px 0 rgba(255,255,255,.92);
    filter: none;
  }

  89% {
    border-color: rgba(231,106,106,.14);
    box-shadow:
      0 18px 34px rgba(31,58,97,.12),
      0 0 0 1px rgba(231,106,106,.06),
      inset 0 1px 0 rgba(255,255,255,.94);
    filter: saturate(1.03);
  }

  92% {
    border-color: rgba(24,45,74,.09);
    box-shadow:
      0 16px 30px rgba(31,58,97,.11),
      0 0 0 1px rgba(231,106,106,.03),
      inset 0 1px 0 rgba(255,255,255,.93);
    filter: none;
  }
}

/* На очень маленьких экранах пульс чуть спокойнее */
@media (max-width: 640px) {
  .r2-chaos-bubble.is-floating {
    animation-duration: 6.2s, 10s;
  }
}
/* ===== BEFORE / AFTER: chaos hierarchy ===== */

/* Критичное сообщение — главное в хаосе */
.r2-chaos-bubble--critical {
  z-index: 4;
  transform-origin: center;
}

.r2-chaos-bubble--critical.is-visible {
  transform:
    translate3d(var(--chaos-x), var(--chaos-y), 0)
    scale(1.07)
    rotate(var(--chaos-rotate));
}

.r2-chaos-bubble--critical {
  border-color: rgba(231, 106, 106, .22);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045) 0%, rgba(255,255,255,.018) 100%),
    rgba(58, 34, 36, .94);
  box-shadow:
    0 22px 46px rgba(0,0,0,.30),
    0 0 0 1px rgba(231,106,106,.08),
    inset 0 1px 0 rgba(255,255,255,.05);
}

.r2-chaos-bubble--critical .r2-chaos-bubble__role {
  color: color-mix(in srgb, #ffb0b0 34%, var(--text-2));
}

.r2-chaos-bubble--critical .r2-chaos-bubble__text {
  font-size: 17px;
  font-weight: 720;
}

/* Средний уровень — важные, но не главный фокус */
.r2-chaos-bubble--mid {
  z-index: 2;
  opacity: .98;
}

.r2-chaos-bubble--mid .r2-chaos-bubble__text {
  font-size: 16px;
  font-weight: 670;
}

/* Фоновые — создают поток */
.r2-chaos-bubble--bg {
  z-index: 1;
  opacity: .76;
  filter: saturate(.92) brightness(.97);
}

.r2-chaos-bubble--bg.is-visible {
  transform:
    translate3d(var(--chaos-x), var(--chaos-y), 0)
    scale(.96)
    rotate(var(--chaos-rotate));
}

.r2-chaos-bubble--bg .r2-chaos-bubble__role {
  color: color-mix(in srgb, var(--text-3) 88%, var(--text-2));
}

.r2-chaos-bubble--bg .r2-chaos-bubble__text {
  font-size: 15px;
  font-weight: 620;
  color: color-mix(in srgb, var(--text) 88%, var(--text-2));
}

/* Светлая тема */
html[data-theme="light"] .r2-chaos-bubble--critical {
  border-color: rgba(231, 106, 106, .18);
  background:
    linear-gradient(180deg, rgba(255,247,247,.96) 0%, rgba(251,241,241,.92) 100%);
  box-shadow:
    0 18px 34px rgba(31,58,97,.12),
    0 0 0 1px rgba(231,106,106,.06),
    inset 0 1px 0 rgba(255,255,255,.94);
}

html[data-theme="light"] .r2-chaos-bubble--mid {
  opacity: .98;
}

html[data-theme="light"] .r2-chaos-bubble--bg {
  opacity: .86;
  filter: saturate(.95) brightness(.99);
}

/* На мобилке разница сохраняется, но мягче */
@media (max-width: 640px) {
  .r2-chaos-bubble--critical.is-visible {
    transform:
      translate3d(var(--chaos-x), var(--chaos-y), 0)
      scale(1.04)
      rotate(var(--chaos-rotate));
  }

  .r2-chaos-bubble--critical .r2-chaos-bubble__text {
    font-size: 15px;
  }

  .r2-chaos-bubble--mid .r2-chaos-bubble__text,
  .r2-chaos-bubble--bg .r2-chaos-bubble__text {
    font-size: 14px;
  }
}
/* ===== WHEN RADAR FITS ===== */

.r2-section--fit {
  position: relative;
  z-index: 2;
}

.r2-section__head--fit {
  display: block;
  margin-bottom: 26px;
}

.r2-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.r2-fit-card {
  position: relative;
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 30px;
  padding: 28px 28px 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.018) 100%),
    color-mix(in srgb, var(--panel-strong) 90%, transparent);
  border: 1px solid color-mix(in srgb, var(--line-2) 82%, transparent);
  box-shadow:
    0 18px 42px rgba(1, 8, 20, .18),
    inset 0 1px 0 rgba(255,255,255,.045);
  backdrop-filter: blur(calc(var(--r2-blur) + 1px));
  -webkit-backdrop-filter: blur(calc(var(--r2-blur) + 1px));
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    background-color .2s ease;
}

.r2-fit-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--line-2) 98%, transparent);
  box-shadow:
    0 22px 46px rgba(1, 8, 20, .22),
    inset 0 1px 0 rgba(255,255,255,.05);
}

html[data-theme="light"] .r2-fit-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(248,251,255,.86) 100%),
    color-mix(in srgb, var(--panel-strong) 92%, transparent);
  border-color: rgba(24, 45, 74, .08);
  box-shadow:
    0 18px 38px rgba(31, 58, 97, .08),
    inset 0 1px 0 rgba(255,255,255,.92);
}

html[data-theme="light"] .r2-fit-card:hover {
  box-shadow:
    0 20px 42px rgba(31, 58, 97, .10),
    inset 0 1px 0 rgba(255,255,255,.94);
}

.r2-fit-card--solo {
  background:
    radial-gradient(420px 180px at 0% 0%, rgba(231,106,106,.06) 0%, rgba(231,106,106,0) 74%),
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.018) 100%),
    color-mix(in srgb, var(--panel-strong) 90%, transparent);
  border-color: color-mix(in srgb, rgba(231,106,106,.18) 70%, var(--line-2));
}

html[data-theme="light"] .r2-fit-card--solo {
  background:
    radial-gradient(420px 180px at 0% 0%, rgba(231,106,106,.05) 0%, rgba(231,106,106,0) 74%),
    linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(248,251,255,.86) 100%);
  border-color: rgba(231,106,106,.12);
}

.r2-fit-card--layer {
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(58,167,226,.06) 0%, rgba(58,167,226,0) 74%),
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.018) 100%),
    color-mix(in srgb, var(--panel-strong) 90%, transparent);
}

html[data-theme="light"] .r2-fit-card--layer {
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(58,167,226,.05) 0%, rgba(58,167,226,0) 74%),
    linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(248,251,255,.86) 100%);
}

.r2-fit-card__body {
  min-width: 0;
}

.r2-fit-card__title {
  margin: 0;
  max-width: 25ch;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 900;
  color: var(--text);
  text-wrap: balance;
}

.r2-fit-card__lead {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--text-2);
}

.r2-fit-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.r2-fit-list__item {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.38;
  font-weight: 650;
  color: color-mix(in srgb, var(--text) 90%, var(--text-2));
}

.r2-fit-list__item::before {
  content: "";
  position: absolute;
  top: .56em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 74%, var(--text-2));
  transform: translateY(-50%);
}

.r2-fit-card--solo .r2-fit-list__item::before {
  background: rgba(231,106,106,.68);
}

html[data-theme="light"] .r2-fit-card--solo .r2-fit-list__item::before {
  background: rgba(231,106,106,.56);
}

.r2-fit-card__accent {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--line-2) 70%, transparent);
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -.015em;
  font-weight: 800;
  color: var(--text);
}

.r2-fit-card--solo .r2-fit-card__accent {
  color: color-mix(in srgb, rgba(255, 194, 194, .86) 42%, var(--text));
}

.r2-fit-card--layer .r2-fit-card__accent {
  color: color-mix(in srgb, var(--primary) 46%, var(--text));
}

html[data-theme="light"] .r2-fit-card__accent {
  border-top-color: rgba(24,45,74,.08);
}

html[data-theme="light"] .r2-fit-card--solo .r2-fit-card__accent {
  color: color-mix(in srgb, rgba(181, 71, 71, .82) 28%, var(--text));
}

html[data-theme="light"] .r2-fit-card--layer .r2-fit-card__accent {
  color: color-mix(in srgb, var(--primary) 44%, var(--text));
}

@media (max-width: 1100px) {
  .r2-fit-grid {
    gap: 18px;
  }

  .r2-fit-card {
    padding: 24px 24px 22px;
    border-radius: 26px;
  }

  .r2-fit-card__title {
    max-width: 17ch;
    font-size: clamp(22px, 2vw, 29px);
  }
}

@media (max-width: 980px) {
  .r2-fit-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .r2-fit-card__title {
    max-width: 25ch;
  }
}

@media (max-width: 640px) {
  .r2-section__head--fit {
    margin-bottom: 20px;
  }

  .r2-fit-card {
    padding: 20px 18px 18px;
    border-radius: 22px;
  }

  .r2-fit-card__title {
    max-width: 15ch;
    font-size: clamp(20px, 7vw, 28px);
  }

  .r2-fit-card__lead,
  .r2-fit-list__item,
  .r2-fit-card__accent {
    font-size: 14px;
    line-height: 1.35;
  }

  .r2-fit-list {
    margin-top: 16px;
    gap: 10px;
  }

  .r2-fit-card__accent {
    margin-top: 18px;
    padding-top: 14px;
  }
}
.r2-fit-card--solo {
  border-color: rgba(231,106,106,.22);
}

.r2-fit-card--solo .r2-fit-card__accent {
  color: rgba(255, 180, 180, .9);
}
.r2-fit-card--solo {
  box-shadow:
    0 18px 42px rgba(1, 8, 20, .18),
    0 0 0 1px rgba(231,106,106,.06),
    inset 0 1px 0 rgba(255,255,255,.045);
}
/* ===== RADAR SPEED / ORDER BLOCK ===== */

.r2-section--speed {
  position: relative;
  z-index: 2;
}

.r2-section__head--speed {
  display: block;
  margin-bottom: 26px;
}

.r2-speed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 22px;
  align-items: stretch;
}

.r2-speed-card {
  position: relative;
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 30px;
  padding: 28px 28px 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.018) 100%),
    color-mix(in srgb, var(--panel-strong) 90%, transparent);
  border: 1px solid color-mix(in srgb, var(--line-2) 82%, transparent);
  box-shadow:
    0 18px 42px rgba(1, 8, 20, .18),
    inset 0 1px 0 rgba(255,255,255,.045);
  backdrop-filter: blur(calc(var(--r2-blur) + 1px));
  -webkit-backdrop-filter: blur(calc(var(--r2-blur) + 1px));
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    background-color .2s ease;
}

.r2-speed-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--line-2) 98%, transparent);
  box-shadow:
    0 22px 46px rgba(1, 8, 20, .22),
    inset 0 1px 0 rgba(255,255,255,.05);
}

html[data-theme="light"] .r2-speed-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(248,251,255,.86) 100%),
    color-mix(in srgb, var(--panel-strong) 92%, transparent);
  border-color: rgba(24, 45, 74, .08);
  box-shadow:
    0 18px 38px rgba(31, 58, 97, .08),
    inset 0 1px 0 rgba(255,255,255,.92);
}

html[data-theme="light"] .r2-speed-card:hover {
  box-shadow:
    0 20px 42px rgba(31, 58, 97, .10),
    inset 0 1px 0 rgba(255,255,255,.94);
}

.r2-speed-card--hire {
  background:
    radial-gradient(360px 170px at 0% 0%, rgba(231,106,106,.06) 0%, rgba(231,106,106,0) 74%),
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.018) 100%),
    color-mix(in srgb, var(--panel-strong) 90%, transparent);
  border-color: color-mix(in srgb, rgba(231,106,106,.16) 70%, var(--line-2));
}

html[data-theme="light"] .r2-speed-card--hire {
  background:
    radial-gradient(360px 170px at 0% 0%, rgba(231,106,106,.05) 0%, rgba(231,106,106,0) 74%),
    linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(248,251,255,.86) 100%);
  border-color: rgba(231,106,106,.12);
}

.r2-speed-card--radar {
  background:
    radial-gradient(460px 190px at 100% 0%, rgba(58,167,226,.08) 0%, rgba(58,167,226,0) 74%),
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.018) 100%),
    color-mix(in srgb, var(--panel-strong) 90%, transparent);
}

html[data-theme="light"] .r2-speed-card--radar {
  background:
    radial-gradient(460px 190px at 100% 0%, rgba(58,167,226,.06) 0%, rgba(58,167,226,0) 74%),
    linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(248,251,255,.86) 100%);
}

.r2-speed-card__body {
  min-width: 0;
}

.r2-speed-card__title {
  margin: 0;
  max-width: none;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 900;
  color: var(--text);
  text-wrap: balance;
}

.r2-speed-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.r2-speed-list__item {
  position: relative;
  padding-left: 16px;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.38;
  font-weight: 650;
  color: color-mix(in srgb, var(--text) 90%, var(--text-2));
}

.r2-speed-card--radar .r2-speed-list__item {
  max-width: 50ch;
}

.r2-speed-list__item::before {
  content: "";
  position: absolute;
  top: .56em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 74%, var(--text-2));
  transform: translateY(-50%);
}

.r2-speed-card--hire .r2-speed-list__item::before {
  background: rgba(231,106,106,.68);
}

html[data-theme="light"] .r2-speed-card--hire .r2-speed-list__item::before {
  background: rgba(231,106,106,.56);
}

.r2-speed-list__item strong {
  font-weight: 900;
  color: var(--text);
}

.r2-speed-card__accent {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--line-2) 70%, transparent);
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -.015em;
  font-weight: 800;
  color: var(--text);
  max-width: 40ch;
}

.r2-speed-card--hire .r2-speed-card__accent {
  color: color-mix(in srgb, rgba(255, 194, 194, .86) 42%, var(--text));
}

.r2-speed-card--radar .r2-speed-card__accent {
  color: color-mix(in srgb, var(--primary) 46%, var(--text));
  max-width: 46ch;
}

html[data-theme="light"] .r2-speed-card__accent {
  border-top-color: rgba(24,45,74,.08);
}

html[data-theme="light"] .r2-speed-card--hire .r2-speed-card__accent {
  color: color-mix(in srgb, rgba(181, 71, 71, .82) 28%, var(--text));
}

html[data-theme="light"] .r2-speed-card--radar .r2-speed-card__accent {
  color: color-mix(in srgb, var(--primary) 44%, var(--text));
}

.r2-speed-note {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--text-3);
}

@media (max-width: 1100px) {
  .r2-speed-grid {
    gap: 18px;
  }

  .r2-speed-card {
    padding: 24px 24px 22px;
    border-radius: 26px;
  }

  .r2-speed-card__title {
    font-size: clamp(22px, 2vw, 29px);
  }

  .r2-speed-list__item {
    max-width: 38ch;
  }

  .r2-speed-card--radar .r2-speed-list__item {
    max-width: 44ch;
  }
}

@media (max-width: 980px) {
  .r2-speed-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .r2-speed-card__title,
  .r2-speed-list__item,
  .r2-speed-card__accent {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .r2-section__head--speed {
    margin-bottom: 20px;
  }

  .r2-speed-card {
    padding: 20px 18px 18px;
    border-radius: 22px;
  }

  .r2-speed-card__title {
    font-size: clamp(20px, 7vw, 28px);
  }

  .r2-speed-list {
    margin-top: 16px;
    gap: 10px;
  }

  .r2-speed-list__item,
  .r2-speed-card__accent {
    font-size: 14px;
    line-height: 1.35;
  }

  .r2-speed-card__accent {
    margin-top: 18px;
    padding-top: 14px;
  }

  .r2-speed-note {
    margin-top: 16px;
    font-size: 13px;
  }
}
.r2-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--text-2);
  max-width: 680px;
}

.r2-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  max-width: 980px;
}

.r2-hero-context {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  max-width: 860px;
}

.r2-hero-context__line {
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1.14;
  letter-spacing: -0.032em;
  font-weight: 650;
  color: var(--text);
}

.r2-hero-dynamic {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 980px;
}

.r2-hero-dynamic__label {
  font-size: clamp(26px, 2.55vw, 40px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 850;
  color: var(--text);
}

.r2-hero-dynamic__viewport {
  position: relative;
  width: 100%;
  max-width: 980px;

  /* фикс под ~3 строки удара */
  min-height: 3.2em;
}

.r2-hero-dynamic__phrase {
  display: inline-block;
  max-width: 18ch;
  font-size: clamp(34px, 4.9vw, 72px);
  line-height: .94;
  letter-spacing: -0.06em;
  font-weight: 900;
  color: var(--primary);
  text-wrap: balance;
  opacity: 0;
  transform: translateY(-22px);
  transition:
    opacity .34s ease,
    transform .42s cubic-bezier(.22, 1, .36, 1);
  will-change: transform, opacity;
}

.r2-hero-dynamic__phrase.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.r2-hero-reason {
  margin-top: 32px; /* было 26px */

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  max-width: 820px;
}

.r2-hero-reason__lead {
  font-size: 17px;
  line-height: 1.28;
  letter-spacing: -0.018em;
  font-weight: 650;
  color: var(--text-3);
}

.r2-hero-reason__text {
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.034em;
  font-weight: 760;
  color: var(--text);
}

.r2-hero-value {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-width: 860px;
}

.r2-hero-value__line {
  font-size: clamp(20px, 1.95vw, 30px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 680;
  color: var(--text-2);
}

.r2-actions--hero {
  margin-top: 34px;
  gap: 14px;
}

.r2-btn--secondary {
  border-color: var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.028) 0%, rgba(255,255,255,.012) 100%),
    color-mix(in srgb, var(--panel) 90%, transparent);
  color: var(--text);
  box-shadow: var(--shadow);
  backdrop-filter: blur(var(--r2-blur));
  -webkit-backdrop-filter: blur(var(--r2-blur));
}

.r2-btn--secondary:hover {
  border-color: var(--line-2);
  box-shadow:
    0 18px 40px rgba(1, 8, 20, .22),
    0 0 22px rgba(58, 167, 226, .10);
}

html[data-theme="light"] .r2-btn--secondary {
  background:
    linear-gradient(180deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.56) 100%),
    color-mix(in srgb, var(--panel) 94%, transparent);
}

.r2-trust--hero {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
}

.r2-trust--hero .r2-trust__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}

.r2-trust--hero .r2-trust__item,
.r2-trust--hero .r2-trust__divider {
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.012em;
  font-weight: 650;
  color: var(--text-3);
}

.r2-right-dim {
  opacity: 0 !important;
}

.r2-glow--1 {
  inset: auto auto 54% 58%;
  width: 820px;
  height: 820px;
}

.r2-glow--2 {
  inset: 62% auto auto -4%;
  width: 560px;
  height: 560px;
}

@media (max-width: 1220px) {
  .r2-copy--hero {
    max-width: 920px;
  }

  .r2-copy__inner--hero {
    max-width: 820px;
  }

  .r2-hero-context {
    max-width: 760px;
  }

  .r2-hero-dynamic__viewport {
    min-height: clamp(88px, 9.4vw, 132px);
  }

  .r2-hero-dynamic__phrase {
    max-width: 17ch;
    font-size: clamp(30px, 5vw, 58px);
  }

  .r2-hero-value,
  .r2-hero-reason {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .r2-copy--hero,
  .r2-copy__inner--hero,
  .r2-hero-copy,
  .r2-hero-context,
  .r2-hero-dynamic,
  .r2-hero-reason,
  .r2-hero-value {
    max-width: none;
  }

  .r2-eyebrow {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.22;
  }

  .r2-hero-context__line {
    font-size: 18px;
    line-height: 1.22;
  }

  .r2-hero-dynamic {
    margin-top: 24px;
    gap: 10px;
  }

  .r2-hero-dynamic__label {
    font-size: 22px;
    line-height: 1.06;
  }

  .r2-hero-dynamic__viewport {
    min-height: 116px;
  }

  .r2-hero-dynamic__phrase {
    max-width: none;
    font-size: clamp(28px, 9vw, 42px);
    line-height: .96;
  }

  .r2-hero-reason {
    margin-top: 18px;
  }

  .r2-hero-reason__lead {
    font-size: 14px;
    line-height: 1.34;
  }

  .r2-hero-reason__text {
    font-size: 18px;
    line-height: 1.2;
  }

  .r2-hero-value {
    margin-top: 18px;
    gap: 6px;
  }

  .r2-hero-value__line {
    font-size: 17px;
    line-height: 1.24;
  }

  .r2-actions--hero {
    flex-direction: column;
    align-items: stretch;
    margin-top: 24px;
  }

  .r2-trust--hero {
    margin-top: 16px;
  }

  .r2-trust--hero .r2-trust__item,
  .r2-trust--hero .r2-trust__divider {
    font-size: 14px;
    line-height: 1.38;
  }

  .r2-glow--1 {
    width: 360px;
    height: 360px;
    inset: auto auto 72% 42%;
  }

  .r2-glow--2 {
    width: 240px;
    height: 240px;
    inset: 82% auto auto -8%;
  }
}
/* FIX: резервируем постоянное место под самый высокий "удар" */
.r2-hero-dynamic {
  padding-bottom: 138px;
}

@media (max-width: 1220px) {
  .r2-hero-dynamic {
    padding-bottom: 132px;
  }
}

@media (max-width: 760px) {
  .r2-hero-dynamic {
    padding-bottom: 92px;
  }
}
.r2-hero-dynamic {
  position: relative;
}