/* =========================================
   СФЕРА КОДА — v2 · Operations Center
   Dark tech aesthetic, gradient accents,
   no monospace.
   ========================================= */

:root {
  /* Surface scale (dark by default) */
  --bg:        #07080C;
  --bg-1:      #0B0D14;
  --bg-2:      #11141D;
  --bg-3:      #181C28;
  --line:      rgba(255, 255, 255, 0.07);
  --line-2:    rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.04);

  /* Foreground scale */
  --fg:        #EEF1F8;
  --fg-1:      #C3C9D6;
  --fg-2:      #8B92A4;
  --fg-3:      #5B6376;

  /* Accent — violet→cyan by default */
  --a-1:       #B084FF;
  --a-2:       #38BDF8;
  --grad:      linear-gradient(135deg, var(--a-1) 0%, var(--a-2) 100%);
  --grad-soft: linear-gradient(135deg, rgba(176,132,255,0.16) 0%, rgba(56,189,248,0.16) 100%);
  --grad-text: linear-gradient(135deg, #DCC8FF 0%, #9BDDFF 60%);
  --glow:      0 30px 80px -30px rgba(126, 99, 255, 0.45);

  --ok:        #22D38C;
  --warn:      #F5B83B;
  --danger:    #FF7A7A;

  --radius:    16px;
  --radius-lg: 24px;
  --container: 1280px;
  --gutter:    32px;
}

/* Accent variations (Tweaks) */
:root[data-accent="violet"]  { --a-1: #B084FF; --a-2: #38BDF8; }
:root[data-accent="cyan"]    { --a-1: #5BE3D8; --a-2: #38BDF8; }
:root[data-accent="emerald"] { --a-1: #34D399; --a-2: #5EE6C5; }
:root[data-accent="amber"]   { --a-1: #FFB35E; --a-2: #FF6B5C; }

/* Light theme (alt) */
:root[data-theme="light"] {
  --bg:        #F4F1EB;
  --bg-1:      #EFEBE2;
  --bg-2:      #FBF9F3;
  --bg-3:      #FFFFFF;
  --line:      rgba(11, 13, 20, 0.10);
  --line-2:    rgba(11, 13, 20, 0.16);
  --line-soft: rgba(11, 13, 20, 0.06);
  --fg:        #0B0D14;
  --fg-1:      #2A2D38;
  --fg-2:      #5E6273;
  --fg-3:      #8C8F9E;
}

/* =========================================
   Base
   ========================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  color: var(--fg);
  background: var(--bg);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  /* Subtle ambient gradient on the whole page */
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1100px 700px at 85% -10%, rgba(176, 132, 255, 0.22), transparent 60%),
    radial-gradient(900px 700px at -10% 30%, rgba(56, 189, 248, 0.14), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(176, 132, 255, 0.10), transparent 60%);
}
:root[data-theme="light"] body::before {
  background:
    radial-gradient(900px 600px at 80% -10%, rgba(176, 132, 255, 0.18), transparent 60%),
    radial-gradient(800px 600px at -10% 30%, rgba(56, 189, 248, 0.16), transparent 60%);
}
main, header, footer { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
@media (max-width: 900px) {
  .section { padding: 84px 0; }
  :root { --gutter: 20px; }
}

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line-2), transparent);
}

/* =========================================
   Typography
   ========================================= */
.display {
  font-weight: 600;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.035em;
}
.display-2 {
  font-weight: 600;
  font-size: clamp(36px, 4.8vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.h3 {
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--fg-1);
  letter-spacing: -0.012em;
  max-width: 60ch;
}
.muted { color: var(--fg-2); }
.fg-1  { color: var(--fg-1); }

.gtext {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.gborder {
  position: relative;
}
.gborder::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.55;
}

/* Eyebrow — refined, no caps, no console */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px;
  color: var(--fg-2);
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--grad);
  border-radius: 1px;
}

/* Section head */
.section-head {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  margin-bottom: 72px;
  align-items: end;
}
.section-head .lead { padding-bottom: 6px; }
.section-head--center { grid-template-columns: 1fr; max-width: 920px; text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow { justify-self: center; }
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; }
}

/* =========================================
   Buttons
   ========================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 22px;
  font-size: 15px; font-weight: 500;
  border-radius: 999px;
  letter-spacing: -0.01em;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
  position: relative;
}
.btn--primary {
  background: var(--grad);
  color: #0B0D14;
  box-shadow: 0 8px 30px -10px rgba(176, 132, 255, 0.5), 0 2px 0 rgba(255,255,255,0.1) inset;
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 36px -10px rgba(176, 132, 255, 0.65), 0 2px 0 rgba(255,255,255,0.15) inset; }
.btn--ghost {
  background: rgba(255,255,255,0.04);
  color: var(--fg);
  border: 1px solid var(--line-2);
}
:root[data-theme="light"] .btn--ghost { background: rgba(0,0,0,0.03); }
.btn--ghost:hover { border-color: var(--fg); background: rgba(255,255,255,0.06); }
.btn--small { padding: 11px 16px; font-size: 14px; }
.btn .arr { display: inline-block; transition: transform .2s ease; }
.btn:hover .arr { transform: translate(3px, -3px); }

/* =========================================
   Header
   ========================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .container {
  display: flex; align-items: center; gap: 28px;
  height: 76px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 18px; letter-spacing: -0.02em;
}
.brand-mark {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), inset 0 0 0 1px rgba(255,255,255,0.2),
              0 8px 22px -8px rgba(176, 132, 255, 0.55);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute; inset: 4px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
}

.site-nav { flex: 1; }
.site-nav ul { display: flex; gap: 26px; list-style: none; }
.site-nav a {
  font-size: 14px; color: var(--fg-1); font-weight: 500;
  transition: color .15s ease;
}
.site-nav a:hover { color: var(--fg); }
.header-cta { flex-shrink: 0; }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .site-header .container { height: 64px; }
  .header-cta { margin-left: auto; }
}

/* =========================================
   Hero
   ========================================= */
.hero { padding: 56px 0 96px; position: relative; overflow: hidden; }
@media (max-width: 900px) { .hero { padding: 32px 0 56px; } }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 56px; align-items: center;
}
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; justify-items: center; text-align: center; }
  .hero-grid > div { max-width: 720px; }
  .hero h1 { margin-left: auto; margin-right: auto; }
  .hero .sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
}

.hero h1.display {
  font-size: clamp(38px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero h1 .second { color: var(--fg-2); display: block; }

/* Tagline pill */
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--fg-1);
  font-size: 13px;
  font-weight: 500;
}
.hero-pill .ld {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(34, 211, 140, 0.16);
  animation: pulseGlow 2.2s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 140, 0.5); }
  60%      { box-shadow: 0 0 0 8px rgba(34, 211, 140, 0); }
}

.hero h1 { margin-bottom: 28px; }
.hero .sub { max-width: 520px; margin-bottom: 32px; color: var(--fg-1); font-size: 18px; line-height: 1.5; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

.hero-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
@media (max-width: 600px) { .hero-meta { grid-template-columns: 1fr 1fr; } }
.hero-meta .k { color: var(--fg-2); font-size: 13px; }
.hero-meta .v { font-size: 16px; font-weight: 500; margin-top: 6px; }

/* =========================================
   System Map (hero visual) — SVG constellation
   ========================================= */
.sysmap {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  margin: 0 auto;
}
.sysmap-svg {
  width: 100%; height: 100%;
  overflow: visible;
}
@media (max-width: 1080px) {
  .sysmap { max-width: 420px; }
}
@media (max-width: 560px) {
  .sysmap { max-width: 320px; }
}

/* Ambient rings — very subtle slow rotation */
.sm-rings { animation: smRotate 90s linear infinite; transform-origin: 0 0; }
@keyframes smRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Connection links */
.sm-link {
  stroke: url(#linkAB);
  stroke-opacity: 0.32;
  stroke-linecap: round;
}

/* Pulses travelling along links — use CSS custom property to define endpoint */
.sm-pulse {
  filter: drop-shadow(0 0 6px currentColor);
  animation: smPulse var(--d, 3.4s) linear infinite;
  animation-delay: var(--b, 0s);
  opacity: 0;
  transform: translate(0, 0);
}
@keyframes smPulse {
  0%   { transform: translate(0, 0);                                 opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translate(calc(var(--x) * 1px), calc(var(--y) * 1px)); opacity: 0; }
}

/* Satellite nodes */
.sm-node { cursor: default; }
.sm-node-halo { transform-origin: 0 0; animation: smHalo 4s ease-in-out infinite; }
.sm-nodes > .sm-node:nth-child(2) .sm-node-halo { animation-delay: -0.7s; }
.sm-nodes > .sm-node:nth-child(3) .sm-node-halo { animation-delay: -1.4s; }
.sm-nodes > .sm-node:nth-child(4) .sm-node-halo { animation-delay: -2.1s; }
.sm-nodes > .sm-node:nth-child(5) .sm-node-halo { animation-delay: -2.8s; }
.sm-nodes > .sm-node:nth-child(6) .sm-node-halo { animation-delay: -3.5s; }
.sm-nodes > .sm-node:nth-child(7) .sm-node-halo { animation-delay: -0.4s; }

/* Tooltips on hover — small muted label, no pill */
.sm-tip {
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}
.sm-node:hover .sm-tip,
.sm-node:focus-visible .sm-tip { opacity: 1; }
.sm-tip text {
  fill: var(--fg-2);
  font-family: 'Geist', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  text-anchor: middle;
  dominant-baseline: middle;
  letter-spacing: 0;
}

@keyframes smHalo {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 0.95; }
}

.sm-node-ring {
  fill: var(--bg-1);
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.55));
}

/* Icons inside nodes — clean line style */
.sm-icon-svg {
  stroke: var(--fg);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sm-icon-svg circle { fill: var(--fg); stroke: none; }
.sm-icon-text {
  fill: var(--fg);
  font-size: 13px;
  font-weight: 600;
  font-family: 'Geist', sans-serif;
  text-anchor: middle;
  letter-spacing: -0.02em;
  dominant-baseline: middle;
}

/* Captions under nodes — small, muted, centered */
.sm-caption {
  fill: var(--fg-2);
  font-size: 10.5px;
  font-weight: 500;
  font-family: 'Geist', sans-serif;
  text-anchor: middle;
  letter-spacing: -0.005em;
  opacity: 0.85;
}

/* Core */
.sm-core circle:nth-child(2) { animation: smCoreInner 3.6s ease-in-out infinite; transform-origin: 0 0; transform-box: fill-box; }
@keyframes smCoreInner {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.10); }
}
.sm-core circle:nth-child(3) { animation: smCoreDot 2.4s ease-in-out infinite; transform-origin: 0 0; }
@keyframes smCoreDot {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; }
}
.sm-core-label {
  fill: var(--fg);
  font-size: 12px;
  font-weight: 500;
  font-family: 'Geist', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
  text-anchor: middle;
}

/* On narrow screens, drop captions (keep icons) */
@media (max-width: 560px) {
  .sm-caption { display: none; }
}

/* =========================================
   Logos strip
   ========================================= */
.logos {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  margin-top: 64px;
  font-size: 14px;
  color: var(--fg-2);
}
.logos .label { font-weight: 500; color: var(--fg-2); }
.logos .item { color: var(--fg-1); font-weight: 500; }
.logos .dot { color: var(--fg-3); }

/* =========================================
   Clarifier (что это / что НЕ)
   ========================================= */
.clarifier {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.clar-cell {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line);
  position: relative;
  transition: border-color .2s ease, transform .2s ease;
}
.clar-cell.is-us {
  background:
    linear-gradient(180deg, rgba(176,132,255,0.10) 0%, rgba(56,189,248,0.06) 100%),
    var(--bg-2);
  border-color: transparent;
}
.clar-cell.is-us::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(176,132,255,0.6), rgba(56,189,248,0.3));
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.clar-cell:hover { transform: translateY(-2px); }
.clar-cell .tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--fg-2);
  margin-bottom: 22px;
}
.clar-cell.is-us .tag { color: var(--a-2); }
.clar-cell .tag .ic {
  width: 18px; height: 18px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; line-height: 1; font-weight: 500;
  background: rgba(255,255,255,0.06); color: var(--fg-2);
}
.clar-cell.is-us .tag .ic { background: var(--grad); color: #0B0D14; }
.clar-cell h3 {
  font-size: 24px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2;
  margin-bottom: 14px;
}
.clar-cell p { font-size: 15px; color: var(--fg-2); line-height: 1.55; }
@media (max-width: 900px) { .clarifier { grid-template-columns: 1fr; } }

/* =========================================
   Scope — L1 to L4 stacked
   ========================================= */
.scope-stack { display: grid; gap: 12px; }
.scope-card {
  position: relative;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .2s ease;
}
.scope-card:hover { border-color: var(--line-2); }
.scope-card summary {
  list-style: none;
  display: grid; grid-template-columns: 88px 1fr 1fr 56px;
  gap: 24px;
  padding: 28px 32px;
  cursor: pointer;
  align-items: center;
}
.scope-card summary::-webkit-details-marker { display: none; }
.scope-level {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 32px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 600;
  letter-spacing: 0;
  color: var(--fg);
  position: relative;
}
.scope-card[open] .scope-level {
  background: var(--grad);
  color: #0B0D14;
  border-color: transparent;
}
.scope-title {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500; letter-spacing: -0.02em; line-height: 1.2;
}
.scope-summary { color: var(--fg-2); font-size: 15px; }
.scope-toggle {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: inline-flex; align-items: center; justify-content: center;
  justify-self: end;
  color: var(--fg);
  transition: transform .3s ease, background .15s ease, border-color .15s ease;
}
.scope-card[open] .scope-toggle { transform: rotate(45deg); background: var(--bg-3); }

.scope-body {
  max-height: 0; overflow: hidden;
  transition: max-height .45s cubic-bezier(.2,.7,.2,1);
}
.scope-card[open] .scope-body { max-height: 720px; }
.scope-body-inner {
  padding: 0 32px 36px;
  display: grid; grid-template-columns: 88px 1fr 1fr 56px;
  gap: 24px;
}
.scope-body-inner > .col-detail {
  grid-column: 2;
  color: var(--fg-1);
  font-size: 16px;
  line-height: 1.55;
  max-width: 48ch;
}
.scope-body-inner > .col-list {
  grid-column: 3;
  display: grid;
  gap: 8px;
}
.scope-body-inner .col-list li {
  list-style: none;
  font-size: 15px;
  color: var(--fg-1);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.scope-body-inner .col-list li::before {
  content: "";
  position: absolute; left: 0; top: 10px;
  width: 12px; height: 1px;
  background: var(--grad);
}

@media (max-width: 800px) {
  .scope-card summary {
    grid-template-columns: auto 1fr 36px;
    gap: 14px;
    padding: 20px;
  }
  .scope-summary { display: none; }
  .scope-title {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 19px;
  }
  .scope-toggle { width: 36px; height: 36px; flex-shrink: 0; }
  .scope-body-inner { grid-template-columns: 1fr; padding: 0 20px 24px; }
  .scope-body-inner > .col-detail, .scope-body-inner > .col-list { grid-column: 1; }
}

/* =========================================
   Calculator (v3 — roles, no presets)
   ========================================= */
.calc-shell {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.calc-shell::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(176,132,255,0.35), rgba(56,189,248,0.18) 60%, transparent);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
@media (max-width: 980px) { .calc-shell { grid-template-columns: 1fr; } }

.calc-controls {
  padding: 24px;
  display: grid; gap: 0;
  border-right: 1px solid var(--line);
}
@media (max-width: 980px) { .calc-controls { border-right: none; border-bottom: 1px solid var(--line); padding: 20px; } }

.calc-controls .field-label {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 12px;
}
.calc-controls .field-label .k {
  font-size: 13px; font-weight: 500; color: var(--fg);
}
.calc-controls .field-label .v {
  font-size: 12px; color: var(--fg-2);
}

.roles { display: grid; grid-template-columns: 1fr; gap: 4px; }

.role {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.role:hover { background: rgba(255,255,255,0.04); border-color: var(--line-2); }
.role input { display: none; }
.role .r-head { display: contents; }
.role .r-check {
  width: 20px; height: 20px; border-radius: 6px;
  border: 1px solid var(--line-2);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .15s ease, border-color .15s ease;
}
.role .r-check svg { opacity: 0; transition: opacity .15s ease; }
.role input:checked ~ .r-head .r-check { background: var(--grad); border-color: transparent; }
.role input:checked ~ .r-head .r-check svg { opacity: 1; }
.role .r-name { font-size: 14px; font-weight: 500; line-height: 1.2; }
.role .r-desc { display: none; }
.role .r-cost {
  display: inline-flex; gap: 14px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.role .r-cost > span { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 1px; line-height: 1.1; }
.role .r-cost .lbl { color: var(--fg-3); font-size: 10px; text-transform: lowercase; }
.role .r-cost .val { color: var(--fg-1); font-size: 13px; }
.role input:not(:checked) ~ .r-cost { opacity: 0.4; }

@media (max-width: 480px) {
  .role { grid-template-columns: 20px 1fr; gap: 12px; padding: 12px; }
  .role .r-cost { grid-column: 1 / -1; padding-left: 32px; justify-content: flex-start; margin-top: 2px; }
}

/* Result panel — compact */
.calc-result {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(176,132,255,0.06), transparent 60%),
    var(--bg-1);
  display: flex; flex-direction: column;
  position: relative;
}
@media (max-width: 980px) { .calc-result { padding: 22px 20px; } }
.calc-result .rec {
  font-size: 13px; color: var(--fg-2); margin-bottom: 14px;
}

.result-rows { display: flex; flex-direction: column; gap: 0; }
.result-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.result-row:last-child { border-bottom: none; }
.result-row .r-k { font-size: 13px; color: var(--fg-2); }
.result-row .r-v { font-size: 18px; font-weight: 500; color: var(--fg-1); letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.result-row.hi { padding: 16px 0 6px; }
.result-row.hi .r-k { color: var(--fg); font-weight: 500; font-size: 14px; }
.result-row.hi .r-v {
  font-size: clamp(24px, 2.6vw, 32px); font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  letter-spacing: -0.025em;
}

.calc-result .savings {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.calc-result .savings .lbl { font-size: 12px; color: var(--fg-2); margin-bottom: 4px; }
.calc-result .savings .val {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600; letter-spacing: -0.025em;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.calc-result .savings .val .per-mo { font-size: 0.5em; -webkit-text-fill-color: currentColor; color: var(--fg-2); font-weight: 500; background: none; }
.calc-result .savings .per { font-size: 13px; color: var(--fg-2); margin-top: 2px; }

.calc-result .cta-row { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.calc-note { color: var(--fg-3); font-size: 12.5px; max-width: 70ch; margin-top: 20px; line-height: 1.5; }
.calc-note-link {
  color: var(--a-1);
  font-weight: 500;
  border-bottom: 1px solid rgba(176,132,255,0.35);
  transition: color .15s ease, border-color .15s ease;
}
.calc-note-link:hover { color: var(--a-2); border-bottom-color: rgba(56,189,248,0.55); }

/* =========================================
   VS — Compare with tabs
   ========================================= */
.vs-shell {
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.vs-shell::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(176,132,255,0.30), rgba(56,189,248,0.14) 60%, transparent);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}

.vs-tabs {
  display: flex;
  gap: 4px;
  padding: 14px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.vs-tabs button {
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  color: var(--fg-2);
  background: transparent;
  transition: color .15s ease, background .15s ease;
  cursor: pointer;
}
.vs-tabs button:hover { color: var(--fg); }
.vs-tabs button.active {
  color: var(--fg);
  background: var(--bg-3);
  box-shadow: 0 0 0 1px var(--line-2);
}

.vs-panels { position: relative; }
.vs-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto repeat(5, auto);
  gap: 0;
  animation: vsFade .35s ease;
}
.vs-panel.active { display: grid; }
@keyframes vsFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 800px) {
  .vs-panel.active { grid-template-columns: 1fr; grid-template-rows: none; }
}

.vs-side {
  padding: 36px;
  position: relative;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 6;
  row-gap: 0;
}
@media (max-width: 800px) {
  .vs-side { display: block; }
}
.vs-side:first-child { border-right: 1px solid var(--line); }
@media (max-width: 800px) {
  .vs-side:first-child { border-right: none; border-bottom: 1px solid var(--line); }
}

.vs-us {
  background:
    linear-gradient(135deg, rgba(176,132,255,0.10), rgba(56,189,248,0.04) 60%),
    var(--bg-1);
}

.vs-side-head { margin-bottom: 26px; }
.vs-side-label {
  font-size: 12px; color: var(--fg-2); margin-bottom: 6px;
}
.vs-us .vs-side-label { color: var(--a-1); }
.vs-side-name {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.1;
}

.vs-side ul {
  list-style: none;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 5;
  row-gap: 0;
}
@media (max-width: 800px) {
  .vs-side ul { display: flex; flex-direction: column; }
}
.vs-side li {
  display: grid; grid-template-columns: 24px 1fr;
  gap: 14px;
  padding: 16px 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--fg-1);
  border-top: 1px solid var(--line-soft);
}
.vs-side li:first-child { border-top: none; padding-top: 0; }
.vs-side li:last-child { padding-bottom: 0; }
.vs-side li small {
  display: block;
  font-size: 12px;
  color: var(--fg-3);
  margin-top: 4px;
}
.vs-side li .ic {
  width: 18px; height: 18px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}
.vs-side li.bad .ic  { background: rgba(255, 122, 122, 0.18); color: var(--danger); }
.vs-side li.mid .ic  { background: rgba(245, 184, 59, 0.20); color: var(--warn); }
.vs-side li.good .ic { background: rgba(34, 211, 140, 0.18); color: var(--ok); }
.vs-us li.good .ic   { background: var(--grad); color: #0B0D14; }

/* =========================================
   Onboarding steps
   ========================================= */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.step {
  position: relative;
  padding: 32px 28px 36px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, transform .2s ease;
}
.step:hover { border-color: var(--line-2); transform: translateY(-2px); }
.step .step-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--fg-1);
  margin-bottom: 20px;
}
.step.is-guarantee .step-icon {
  background: var(--grad);
  border-color: transparent;
  color: #0B0D14;
}
.step.is-guarantee .step-icon svg { stroke-width: 2; }
.step .when {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--fg-2); margin-bottom: 14px;
}
.step .step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  font-size: 12px; font-weight: 600;
  color: var(--fg);
}
.step.is-guarantee .step-n { background: var(--grad); color: #0B0D14; }
.step h3 {
  font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2;
  margin-bottom: 12px;
}
.step p { font-size: 14px; line-height: 1.55; color: var(--fg-2); }
.step .step-sub {
  font-size: 15px; line-height: 1.4; color: var(--fg);
  font-weight: 500; letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.step.is-guarantee {
  background:
    linear-gradient(180deg, rgba(176,132,255,0.10), rgba(56,189,248,0.04)),
    var(--bg-2);
  border-color: transparent;
  position: relative;
}
.step.is-guarantee::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(176,132,255,0.55), rgba(56,189,248,0.25));
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .steps { grid-template-columns: 1fr; } }

/* =========================================
   Team
   ========================================= */
.team-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px;
}
@media (max-width: 1000px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  padding: 40px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  gap: 28px;
  position: relative;
  overflow: hidden;
}
.team-card .role { font-size: 13px; color: var(--fg-2); }
.team-card h3 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
.team-card .pos { font-size: 15px; color: var(--fg-2); margin-top: 4px; }
.team-card p { font-size: 15px; color: var(--fg-1); line-height: 1.6; }
.team-card .ceo-init {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center;
  color: #0B0D14; font-weight: 600; font-size: 18px; letter-spacing: -0.01em;
}

.team-stats { display: grid; grid-template-rows: repeat(3, 1fr); gap: 12px; }
.team-stat {
  padding: 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 14px; justify-content: space-between;
}
.team-stat .big {
  font-size: clamp(40px, 4.4vw, 56px);
  font-weight: 600; letter-spacing: -0.04em; line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.team-stat .big-sub { font-size: 14px; color: var(--fg-2); }
.team-stat.cos .row { display: flex; flex-wrap: wrap; gap: 6px; }
.team-stat.cos .chip {
  display: inline-flex; padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.03);
  font-size: 13px; color: var(--fg);
}

/* =========================================
   FAQ
   ========================================= */
.faq { display: grid; gap: 12px; }
.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item:hover { border-color: var(--line-2); }
.faq-item summary {
  list-style: none;
  display: grid; grid-template-columns: 1fr 44px;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .q { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.35; }
.faq-item .toggle {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: inline-flex; align-items: center; justify-content: center;
  justify-self: end;
  font-size: 18px; color: var(--fg-1);
  transition: transform .25s ease, background .15s ease, border-color .15s ease;
}
.faq-item[open] .toggle { transform: rotate(45deg); background: var(--bg-3); }
.faq-item .a {
  padding: 0 28px;
  max-height: 0;
  overflow: hidden;
  color: var(--fg-1);
  font-size: 16px; line-height: 1.6;
  max-width: 80ch;
  transition: max-height .4s cubic-bezier(.2,.7,.2,1), padding-bottom .3s ease;
}
.faq-item[open] .a {
  max-height: 600px;
  padding-bottom: 24px;
}

/* =========================================
   Final CTA — compact
   ========================================= */
.final-block {
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(176,132,255,0.08), rgba(56,189,248,0.03) 60%),
    var(--bg-1);
  border: 1px solid var(--line);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.final-block::before {
  content: "";
  position: absolute; right: -160px; top: -160px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(176, 132, 255, 0.18), transparent 60%);
  pointer-events: none;
}
@media (max-width: 700px) { .final-block { padding: 28px 20px; } }

.final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .final-grid { grid-template-columns: 1fr; gap: 28px; } }

.final-head { margin-bottom: 32px; max-width: 720px; }
.final-head h2 { margin-top: 14px; }
.final-head .lead { margin-top: 12px; max-width: 60ch; }
.final-head .eyebrow { margin-bottom: 12px; }

.final-form { display: grid; gap: 10px; }
.final-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 600px) { .final-form .row { grid-template-columns: 1fr; } }
.final-form input, .final-form select, .final-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  font: inherit; font-size: 14px;
  color: var(--fg);
  outline: none; resize: vertical;
  transition: border-color .15s ease, background .15s ease;
}
:root[data-theme="light"] .final-form input,
:root[data-theme="light"] .final-form select,
:root[data-theme="light"] .final-form textarea { background: rgba(0,0,0,0.03); }
.final-form input::placeholder, .final-form textarea::placeholder { color: var(--fg-3); }
.final-form input:focus, .final-form textarea:focus, .final-form select:focus { border-color: var(--a-1); background: rgba(255,255,255,0.06); }
.final-form button { margin-top: 4px; justify-content: center; padding: 14px; font-size: 15px; }
.final-form .legal { font-size: 11.5px; color: var(--fg-3); line-height: 1.5; margin-top: 4px; }
.final-form .legal a { color: var(--fg-2); text-decoration: underline; text-underline-offset: 3px; }
.final-form button:disabled { opacity: 0.7; cursor: default; }
.final-form .form-status {
  margin-top: 8px; padding: 12px 14px; border-radius: 10px;
  font-size: 13.5px; line-height: 1.5;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.final-form .form-status[data-kind="success"] {
  color: #6BCB77; border-color: rgba(107,203,119,0.35); background: rgba(107,203,119,0.08);
}
.final-form .form-status[data-kind="error"] {
  color: #FF8585; border-color: rgba(255,107,107,0.35); background: rgba(255,107,107,0.08);
}

.final-side {
  display: flex; flex-direction: column; gap: 18px;
}
.final-side h4 { font-size: 15px; font-weight: 500; margin-bottom: 2px; line-height: 1.2; }
.final-side p { font-size: 13px; color: var(--fg-2); line-height: 1.5; }
.final-side .ico {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--grad); color: #0B0D14;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
  flex-shrink: 0;
}
.final-side .item { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.final-side .contacts {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid; gap: 6px;
}
.final-side .contacts .lbl { font-size: 12px; color: var(--fg-2); margin-bottom: 4px; }
.final-side .contacts a { color: var(--fg); font-weight: 500; font-size: 14px; }
.final-side .contacts a:hover { color: var(--a-2); }

/* =========================================
   Footer — minimal
   ========================================= */
.site-footer {
  padding: 56px 0 48px;
  border-top: 1px solid var(--line);
}
.footer-simple {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 15px; line-height: 1.5;
  color: var(--fg-1);
}
.footer-simple .muted { color: var(--fg-3); }
.footer-simple a {
  color: var(--a-1);
  width: max-content;
  transition: color .15s ease;
}
.footer-simple a:hover { color: var(--a-2); }

/* =========================================
   Reveal
   ========================================= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================
   Highlights band (after hero)
   ========================================= */
.highlights {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: 8px;
}
@media (max-width: 900px) { .highlights { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .highlights { grid-template-columns: 1fr; } }
.highlight {
  position: relative;
  padding: 28px 26px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.highlight::before {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, var(--a-1), transparent 65%);
  opacity: 0.15;
  pointer-events: none;
  transition: opacity .3s ease;
}
.highlight:hover { transform: translateY(-3px); border-color: var(--line-2); }
.highlight:hover::before { opacity: 0.30; }
.highlight .big {
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  display: inline-flex; align-items: baseline; gap: 6px;
}
.highlight .big .small { font-size: 0.45em; -webkit-text-fill-color: currentColor; color: var(--fg-2); font-weight: 500; background: none; }
.highlight .label { font-size: 14px; color: var(--fg-1); margin-top: 12px; line-height: 1.4; }
.highlight .sub { font-size: 12px; color: var(--fg-3); margin-top: 4px; }
.highlight .hl-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--a-1);
  margin-bottom: 18px;
}
.highlight:nth-child(2) .hl-icon { color: var(--a-2); }
.highlight:nth-child(3) .hl-icon { color: var(--a-1); }
.highlight:nth-child(4) .hl-icon { color: var(--a-2); }

.scope-title-icon {
  display: inline-block;
  vertical-align: -4px;
  margin-right: 12px;
  color: var(--fg-2);
  transition: color .2s ease;
}
.scope-card[open] .scope-title-icon { color: var(--a-1); }
@media (max-width: 800px) {
  .scope-title-icon { display: none; }
}

/* =========================================
   Marquee logos
   ========================================= */
.marquee {
  position: relative;
  margin-top: 64px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee-label {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  font-size: 13px; color: var(--fg-2);
}
.marquee-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--line-2), transparent);
}
.marquee-viewport {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex; gap: 56px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-viewport:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 19px; font-weight: 500; color: var(--fg-1);
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.marquee-item::after {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--a-2); opacity: 0.55;
  margin-left: 42px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================
   Compact team strip (replaces big CEO card)
   ========================================= */
.team-strip {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.team-strip::before {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(176,132,255,0.16), transparent 60%);
  pointer-events: none;
}
.team-init,
.team-photo {
  width: 56px; height: 56px; border-radius: 50%;
  flex-shrink: 0;
}
.team-photo {
  object-fit: cover;
  display: block;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 8px 22px rgba(0,0,0,0.45);
}
.team-init {
  background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 18px; color: #0B0D14;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  box-shadow: 0 8px 22px -8px rgba(176, 132, 255, 0.55);
}
.team-line { display: flex; flex-direction: column; gap: 6px; }
.team-line .name {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500; letter-spacing: -0.015em;
}
.team-line .name strong { font-weight: 600; }
.team-line .meta { font-size: 14px; color: var(--fg-2); line-height: 1.5; }

.team-stats-inline {
  display: flex; gap: 32px;
  position: relative;
}
.team-stats-inline > div { display: flex; flex-direction: column; gap: 4px; }
.team-stats-inline .v {
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.team-stats-inline .k { font-size: 12px; color: var(--fg-2); }

@media (max-width: 1000px) {
  .team-strip { grid-template-columns: auto 1fr; }
  .team-stats-inline { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--line); width: 100%; justify-content: space-between; gap: 16px; }
}
@media (max-width: 600px) {
  .team-strip { grid-template-columns: 1fr; padding: 24px; }
  .team-init,
  .team-photo { display: none; }
}

/* =========================================
   Magnetic / micro-interactions
   ========================================= */
.btn--primary:active { transform: translateY(0); }
.preset:hover { background: rgba(255,255,255,0.03); }
.clar-cell.is-us {
  animation: glowFade 5s ease-in-out infinite alternate;
}
@keyframes glowFade {
  from { box-shadow: 0 0 0 0 rgba(176, 132, 255, 0); }
  to   { box-shadow: 0 10px 40px -20px rgba(176, 132, 255, 0.5); }
}

/* Animated count-up — applied by JS */
.count-up { display: inline-block; }
