/* =========================================================
   MetaScalp Landing — styles.css
   Atmosphere inspired by everswap.com:
   - moody mountain palette, mist & altitude
   - elegant serif display + clean sans body + mono code
   - scroll-driven reveals, soft glow, glassy surfaces
   ========================================================= */

:root {
  /* Palette — full blue MetaScalp skin (token names retained to minimize churn) */
  --bg-deep:      #060f1f;
  --bg-mid:       #0a1a33;
  --bg-fog:       #112a4f;
  --bg-glass:     rgba(20, 40, 80, 0.55);
  --bg-glass-2:   rgba(30, 55, 100, 0.35);
  --line:         rgba(150, 195, 245, 0.12);
  --line-strong:  rgba(150, 195, 245, 0.22);

  --peak-green:   #3a9ad9; /* token name kept; re-skinned to electric blue */
  --peak-deep:    #1c4f8f;
  --ice:          #9ecdee;

  --text:         #ffffff;
  --text-mute:    rgba(255, 255, 255, 0.78);
  --text-dim:     rgba(255, 255, 255, 0.50);

  --up:           #4ade80;
  --down:         #ff5566;
  --neutral:      #9bb0bc;

  /* Type */
  --f-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-body:    "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-mono:    "JetBrains Mono", "Fira Code", Menlo, monospace;

  /* Geometry */
  --pad-x:     clamp(24px, 5vw, 96px);
  --maxw:      1240px;
  --r-md:      14px;
  --r-lg:      22px;

  /* Motion */
  --ease:      cubic-bezier(.2,.7,.2,1);
}

/* -------- base -------- */
* { box-sizing: border-box; }

html {
  background: var(--bg-deep); /* fallback while atmosphere loads */
}
body {
  margin: 0;
  padding: 0;
  background: transparent;    /* atmosphere & three-canvas show through */
  color: var(--text);
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html { scroll-behavior: smooth; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

img, svg { display: block; max-width: 100%; }

::selection { background: rgba(58, 154, 217, 0.45); color: #fff; }

/* -------- atmospheric background -------- */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;       /* above html bg, below content */
  overflow: hidden;
  pointer-events: none;
}
.atmosphere__sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(58, 154, 217, 0.14), transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(40, 90, 170, 0.16), transparent 70%),
    radial-gradient(ellipse 100% 70% at 80% 75%, rgba(15, 45, 95, 0.35), transparent 75%),
    linear-gradient(180deg, #050b1a 0%, #060f1f 35%, #07142a 70%, #050b1a 100%);
}
.atmosphere__fog {
  position: absolute;
  left: -10%; right: -10%;
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(158, 205, 217, 0.10) 0%, rgba(158, 205, 217, 0) 70%);
  filter: blur(40px);
  animation: drift 38s linear infinite;
}
.atmosphere__fog--1 { top: 22%; }
.atmosphere__fog--2 { top: 62%; animation-duration: 52s; animation-direction: reverse; opacity: 0.7; }
@keyframes drift {
  0%   { transform: translate3d(-8%, 0, 0); }
  50%  { transform: translate3d(8%, -10px, 0); }
  100% { transform: translate3d(-8%, 0, 0); }
}
.atmosphere__peaks {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  height: 60vh;
  min-height: 480px;
}

/* 3D scene canvas — sits above CSS sky, below content */
#three-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;       /* above .atmosphere */
  pointer-events: none;
  display: block;
}

/* Content sits above the 3D scene */
.ticker, .nav, main, .footer, .side-dots {
  position: relative;
  z-index: 5;
}
.ticker { z-index: 60; }
.nav    { z-index: 50; }
.side-dots { z-index: 40; }
.footer { z-index: 5; }

/* =========================================================
   1 · TICKER BAR
   ========================================================= */
.ticker {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: 34px;
  background: rgba(8, 18, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 100%;
  padding-left: 24px;
  white-space: nowrap;
  animation: tickerScroll 60s linear infinite;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.ticker__item { display: inline-flex; align-items: center; gap: 8px; color: var(--text-mute); }
.ticker__sym  { color: var(--text); font-weight: 500; }
.ticker__px   { color: var(--text); }
.ticker__chg  { font-weight: 500; }
.ticker__chg--up   { color: var(--up); }
.ticker__chg--down { color: var(--down); }
.ticker__sep  { color: var(--text-dim); }

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   2 · NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 72px;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(180deg, rgba(8, 18, 26, 0.85) 0%, rgba(8, 18, 26, 0.55) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}
.nav__logo-mark {
  display: inline-block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(58, 154, 217, 0.50));
  transition: filter .25s var(--ease), transform .25s var(--ease);
}
.nav__logo:hover .nav__logo-mark {
  filter: drop-shadow(0 0 16px rgba(78, 177, 240, 0.75));
  transform: scale(1.05);
}
.nav__logo-text { font-style: normal; font-weight: 400; }
.nav__logo-wordmark {
  display: inline-block;
  height: 30px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(58, 154, 217, 0.40));
  transition: filter .25s var(--ease), transform .25s var(--ease);
}
.nav__logo:hover .nav__logo-wordmark {
  filter: drop-shadow(0 0 12px rgba(78, 177, 240, 0.55));
}

.nav__links {
  display: flex;
  gap: 40px;
  align-items: center;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.005em;
  color: #ffffff;
}
.nav__links a { color: #ffffff; }
.nav__links a {
  position: relative;
  transition: color .25s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--peak-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 18px; }

/* Segmented EN / RU language pill — toggle-style */
.nav__lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav__lang-btn {
  position: relative;
  z-index: 2;
  min-width: 38px;
  padding: 5px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  transition: color .25s var(--ease);
  cursor: pointer;
}
.nav__lang-btn:hover { color: rgba(255, 255, 255, 0.85); }
.nav__lang-btn--active {
  color: #ffffff;
  background: linear-gradient(180deg, #4eb1f0 0%, #1c5a9e 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    0 4px 14px -4px rgba(78, 177, 240, 0.65);
}
.nav__lang-sep { display: none; } /* slash removed — pill carries the visual now */

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .3s var(--ease);
}
.btn__icon {
  display: inline-block;
  transition: transform .25s var(--ease);
}
.btn:hover .btn__icon { transform: translate(2px, -2px); }

.btn--primary {
  background: linear-gradient(180deg, #4eb1f0 0%, #1c5a9e 100%);
  color: #f0f7f2;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 10px 30px -10px rgba(58, 154, 217, 0.7),
    0 0 0 1px rgba(58, 154, 217, 0.25);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 14px 36px -10px rgba(58, 154, 217, 0.9),
    0 0 0 1px rgba(58, 154, 217, 0.45);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(155, 198, 220, 0.35);
}

.btn--lg { padding: 16px 28px; font-size: 15px; }
.btn--sm { padding: 8px 14px; font-size: 13px; }

.btn:disabled { opacity: .6; cursor: not-allowed; }

/* =========================================================
   Side-dot navigation
   ========================================================= */
.side-dots {
  position: fixed;
  top: 50%;
  right: 28px;
  z-index: 40;
  transform: translateY(-50%);
}
/* ONE continuous candle: a single wick runs through the whole stack,
   the active section is the body. Hover shows the section label only. */
.side-dots ul {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
/* The single wick line — top-shadow → body region → bottom-shadow */
.side-dots ul::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0,
    rgba(255, 255, 255, 0.32) 6%,
    rgba(255, 255, 255, 0.32) 94%,
    transparent 100%
  );
  transform: translateX(-50%);
  pointer-events: none;
}

/* Each dot is now just a hit area — no individual wick, no resting body. */
.side-dots__dot {
  position: relative;
  display: block;
  width: 18px;
  height: 26px;
  background: none;
}
.side-dots__dot span {
  position: absolute; top: 50%; left: 50%;
  width: 0; height: 0;
  background: transparent;
  border: 0;
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition:
    background .25s var(--ease),
    border-color .25s var(--ease),
    width .25s var(--ease),
    height .25s var(--ease),
    box-shadow .25s var(--ease);
}

/* Section label on hover */
.side-dots__dot::before {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  opacity: 0;
  white-space: nowrap;
  transition: opacity .2s var(--ease);
  pointer-events: none;
}
.side-dots__dot:hover::before { opacity: 1; }
.side-dots__dot:hover span {
  width: 7px; height: 11px;
  background: rgba(143, 214, 255, 0.40);
  border: 1px solid rgba(207, 233, 255, 0.75);
  box-shadow: 0 0 8px rgba(78, 177, 240, 0.45);
}

/* Active section = the candle's body */
.side-dots__dot.is-active {
  filter: drop-shadow(0 0 8px rgba(78, 177, 240, 0.55));
}
.side-dots__dot.is-active span {
  width: 11px; height: 22px;
  background: rgba(143, 214, 255, 0.95);
  border: 1px solid #ffffff;
  box-shadow: 0 0 16px rgba(78, 177, 240, 0.95);
}
.side-dots__dot.is-active::before { opacity: 1; color: var(--text); }

@media (max-width: 920px) { .side-dots { display: none; } }

/* =========================================================
   Sections
   ========================================================= */
main { padding-top: 72px; } /* exact nav height — no gap */

.section {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) var(--pad-x);
}

.section__head {
  text-align: center;
  margin: 0 auto clamp(48px, 6vw, 80px);
  max-width: 760px;
}

/* Display type */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.04;
  color: var(--text);
  margin: 0 0 24px;
  font-size: clamp(48px, 7.5vw, 96px);
}
.display em {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(180deg, #cfe9ff 0%, #4eb1f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.display--lg { font-size: clamp(56px, 8.5vw, 120px); }
.display--md { font-size: clamp(40px, 5.5vw, 72px); }
.display--sm { font-size: clamp(28px, 3.5vw, 44px); }

.eyebrow {
  font-family: var(--f-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-mute);
  margin: 0 0 20px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--peak-green);
  margin: 0 0 18px;
  padding-left: 22px;
  position: relative;
}
.section-label::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 14px; height: 1px;
  background: var(--peak-green);
}
.section-label--sm { font-size: 10px; }

.lead {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--text-mute);
  line-height: 1.7;
  max-width: 540px;
}
.lead--center { margin: 0 auto; text-align: center; }

.caption {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 40px;
}
.caption strong { color: var(--text); font-weight: 500; }

/* Bullet lists */
.bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bullets li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--text-mute);
  line-height: 1.6;
}
.bullets li::before {
  content: "▲";
  position: absolute;
  left: 0; top: 4px;
  font-size: 9px;
  color: var(--peak-green);
}

/* =========================================================
   3 · HERO
   ========================================================= */
.section--hero {
  padding-top: clamp(48px, 6vw, 100px);
  padding-bottom: clamp(80px, 10vw, 140px);
}
.hero {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 80px;
}
.hero__subline {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--text-mute);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero__ctas--center { justify-content: center; }
.hero__scroll {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  display: inline-block;
}
.hero__scroll::after {
  content: "";
  display: block;
  margin: 14px auto 0;
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scrollHint 2.2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { opacity: .4; transform: translateY(0); }
  50%      { opacity: 1; transform: translateY(6px); }
}

/* Terminal mockup */
.terminal {
  margin: 0 auto;
  max-width: 1080px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(20, 40, 55, 0.65), rgba(12, 28, 40, 0.85));
  border: 1px solid var(--line-strong);
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 60px -20px rgba(58, 154, 217, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}
.terminal__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(8, 18, 26, 0.7);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--text-dim);
}
.terminal__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.terminal__dot:nth-of-type(1) { background: #ff5566; }
.terminal__dot:nth-of-type(2) { background: #ffbf40; }
.terminal__dot:nth-of-type(3) { background: #4ade80; }
.terminal__title { margin-left: 12px; flex: 1; }
.terminal__status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--up);
  letter-spacing: 0.08em;
}
.terminal__pulse {
  width: 8px; height: 8px;
  background: var(--up); border-radius: 50%;
  box-shadow: 0 0 8px var(--up);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .55; transform: scale(.85); }
}

.terminal__body {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 1px;
  background: var(--line);
  min-height: 360px;
}
.terminal__col {
  background: rgba(8, 18, 26, 0.6);
  padding: 14px 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--text-mute);
}
.terminal__col-head {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.terminal__rows { display: flex; flex-direction: column; gap: 1px; }
.terminal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 2px 0;
  position: relative;
}
.terminal__row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--w, 0%);
  opacity: 0.18;
  background: var(--clr, var(--up));
  border-radius: 2px;
}
.terminal__row span { position: relative; }
.terminal__row--ask { color: var(--down); }
.terminal__row--bid { color: var(--up); }
.terminal__spread {
  font-family: var(--f-mono);
  font-size: 10px;
  text-align: center;
  color: var(--text-dim);
  padding: 4px 0;
  border-block: 1px dashed var(--line);
  margin: 4px 0;
}

.terminal__footprint {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  align-content: end;
  height: 280px;
}
.fp-bar {
  display: flex; flex-direction: column-reverse;
  gap: 1px;
  font-size: 9px;
  color: var(--text-mute);
}
.fp-cell {
  padding: 2px 4px;
  border-radius: 2px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.terminal__tape {
  display: flex;
  flex-direction: column;
  gap: 1px;
  height: 280px;
  overflow: hidden;
  font-size: 10px;
}
.tape-row {
  display: grid;
  grid-template-columns: 56px 1fr 1fr;
  gap: 8px;
  padding: 2px 4px;
  border-radius: 2px;
}
.tape-row--big   { background: rgba(74, 222, 128, 0.18); color: var(--up); }
.tape-row--big-r { background: rgba(255, 85, 102, 0.18); color: var(--down); }
.tape-row--buy   { color: var(--up); }
.tape-row--sell  { color: var(--down); }

/* =========================================================
   4 · TRUST STRIP
   ========================================================= */
.section--trust {
  padding-top: clamp(40px, 5vw, 80px);
  padding-bottom: clamp(60px, 8vw, 100px);
}
.logo-strip {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-strip__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 48s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.exchange-pill {
  flex: 0 0 auto;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-glass);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mute);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.exchange-pill:hover {
  color: var(--text);
  border-color: rgba(155, 198, 220, 0.35);
  background: rgba(40, 70, 90, 0.5);
}
.exchange-pill--dex {
  color: #8ad1a4;
  border-color: rgba(58, 154, 217, 0.4);
}
.exchange-pill--dex::before {
  content: "DEX · ";
  color: var(--peak-green);
  letter-spacing: 0.15em;
  font-size: 10px;
}

/* =========================================================
   5 · WHY METASCALP (paired blocks)
   ========================================================= */
.why-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding: clamp(60px, 8vw, 110px) 0;
  border-top: 1px solid var(--line);
}
.why-block:first-child { border-top: 0; }
.why-block--reverse .why-block__text { order: 2; }
.why-block--reverse .why-block__demo { order: 1; }

@media (max-width: 880px) {
  .why-block { grid-template-columns: 1fr; }
  .why-block--reverse .why-block__text,
  .why-block--reverse .why-block__demo { order: initial; }
}

/* Stability compare demo */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border-radius: var(--r-lg);
  padding: 22px;
  background: var(--bg-glass);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px -25px rgba(0,0,0,0.7);
}
.compare__pane { padding: 16px; border-radius: var(--r-md); background: rgba(8, 18, 26, 0.6); }
.compare__label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 14px;
}
.compare__pane--bad  .compare__label { color: var(--down); }
.compare__pane--good .compare__label { color: var(--up); }
.compare__bar {
  height: 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  overflow: hidden;
  margin-bottom: 8px;
}
.compare__bar-fill {
  display: block;
  height: 100%;
  width: var(--p);
  background: var(--c);
  border-radius: 6px;
  animation: barPulse 2.4s ease-in-out infinite;
}
.compare__bar--stutter .compare__bar-fill { animation-name: barStutter; animation-duration: 1.2s; }
@keyframes barPulse {
  0%, 100% { transform: scaleX(1); }
  50%      { transform: scaleX(0.96); }
}
@keyframes barStutter {
  0%, 60%, 70%, 100% { transform: scaleX(0.5); }
  65% { transform: scaleX(0.95); }
}
.compare__metric {
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-mute);
}
.compare__pane--bad  .compare__metric { color: var(--down); }
.compare__pane--good .compare__metric { color: var(--up); }

/* Footprint demo */
.footprint-demo {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--bg-glass);
  border: 1px solid var(--line-strong);
  min-height: 320px;
}
.footprint-demo__col {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
  align-content: end;
}
.fpd-cell {
  padding: 4px 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  text-align: right;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
}
.fpd-cell.up   { background: rgba(74, 222, 128, var(--a, 0.2)); color: #c5f1d3; }
.fpd-cell.down { background: rgba(255, 85, 102, var(--a, 0.2)); color: #f9c5cb; }
.footprint-demo__annot {
  position: relative;
  border-left: 1px dashed var(--line);
  padding-left: 18px;
}
.footprint-demo__pin {
  position: absolute;
  left: 18px;
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  padding-left: 14px;
}
.footprint-demo__pin::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--peak-green);
  box-shadow: 0 0 8px rgba(58, 154, 217, 0.7);
  transform: translateY(-50%);
}

/* =========================================================
   6 · SHOWCASE
   ========================================================= */
.showcase-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding: clamp(60px, 8vw, 110px) 0;
  border-top: 1px solid var(--line);
}
.showcase-block:first-of-type { border-top: 0; }
.showcase-block--reverse .showcase-block__text { order: 2; }
.showcase-block--reverse .showcase-block__demo { order: 1; }
@media (max-width: 880px) {
  .showcase-block { grid-template-columns: 1fr; }
  .showcase-block--reverse .showcase-block__text,
  .showcase-block--reverse .showcase-block__demo { order: initial; }
}

.mock {
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(20, 40, 55, 0.65), rgba(12, 28, 40, 0.85));
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 60px -25px rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  font-family: var(--f-mono);
}
.mock__head {
  padding: 12px 16px;
  background: rgba(8, 18, 26, 0.7);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.mock__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}
.mini-ob {
  background: rgba(8, 18, 26, 0.6);
  padding: 12px;
  min-height: 180px;
  font-size: 10px;
  display: flex; flex-direction: column;
}
.mini-ob__title {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 8px;
}
.mini-ob__rows { display: flex; flex-direction: column; gap: 1px; }
.mini-ob__row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; padding: 1px 0;
  position: relative;
}
.mini-ob__row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--w, 0%);
  opacity: 0.16;
  background: var(--clr, var(--up));
}
.mini-ob__row span { position: relative; }
.mini-ob__row--ask { color: var(--down); }
.mini-ob__row--bid { color: var(--up); }

.mock--footprint {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 2px;
  padding: 20px;
  align-content: end;
  min-height: 320px;
}
.mock--tape {
  padding: 16px;
  min-height: 320px;
  display: flex; flex-direction: column; gap: 2px;
  font-size: 11px;
}

.mock--setup {
  padding: 0;
}
.mock-setup-form {
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.mock-setup-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim);
}
.mock-setup-form input {
  background: rgba(8, 18, 26, 0.7);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font: 13px var(--f-mono);
  color: var(--text);
  letter-spacing: 0.04em;
}
.mock-setup-form__row {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin: 4px 0 12px;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.badge--green { color: var(--up); border-color: rgba(74, 222, 128, 0.35); }

/* =========================================================
   7 · SDK
   ========================================================= */
.sdk {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start; /* text, code, and sidebar all anchor to the top */
}
@media (max-width: 880px) { .sdk { grid-template-columns: 1fr; } }
.sdk__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }

.code {
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(20, 40, 55, 0.65), rgba(12, 28, 40, 0.9));
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}
.code__chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: rgba(8, 18, 26, 0.7);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--text-dim);
}
.code__file { margin-left: 12px; color: var(--text-mute); }
.code__body {
  margin: 0;
  padding: 22px 24px;
  font: 13px/1.7 var(--f-mono);
  color: var(--text);
  overflow-x: auto;
}
.code__body code { font-family: inherit; }
.tk-k { color: #f3b97e; }       /* keyword */
.tk-s { color: #8ad0ff; }       /* string  */
.tk-c { color: #5a7480; font-style: normal; } /* comment */
.tk-n { color: #f7c66c; }       /* number  */
.tk-v { color: #9cd6f1; }       /* enum    */

/* =========================================================
   8 · EXCHANGES
   ========================================================= */
.exch-grid { margin-bottom: 48px; }
.exch-grid__title {
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 400;
  font-size: 22px;
  color: var(--text-mute);
  margin: 0 0 22px;
  letter-spacing: 0.02em;
}
.exch-grid__tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.exch-tile {
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--bg-glass);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mute);
  text-align: center;
  letter-spacing: 0.02em;
  transition: transform .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.exch-tile:hover {
  transform: translateY(-2px);
  color: var(--text);
  border-color: rgba(155, 198, 220, 0.35);
  background: rgba(40, 70, 90, 0.5);
}
.exch-tile--dex {
  color: #b6e5c6;
  border-color: rgba(58, 154, 217, 0.3);
  background: linear-gradient(180deg, rgba(58, 154, 217, 0.1), rgba(58, 154, 217, 0.03));
}
.exch-tile--dex:hover {
  border-color: rgba(58, 154, 217, 0.55);
  background: linear-gradient(180deg, rgba(58, 154, 217, 0.18), rgba(58, 154, 217, 0.06));
}

.disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin-top: 36px;
  max-width: 720px;
  margin-inline: auto;
}

/* =========================================================
   9 · ACADEMY
   ========================================================= */
.academy {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 880px) { .academy { grid-template-columns: 1fr; } }

.playlist {
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(20, 40, 55, 0.7), rgba(12, 28, 40, 0.9));
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 60px -25px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}
.playlist__head {
  padding: 16px 22px;
  background: rgba(8, 18, 26, 0.7);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display);
  font-style: normal;
  font-size: 18px;
  color: var(--text);
}
.playlist__list { list-style: none; margin: 0; padding: 6px 0; }
.playlist__item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  padding: 12px 22px;
  font-size: 14px;
  color: var(--text-mute);
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.playlist__item:last-child { border-bottom: 0; }
.playlist__item:hover { background: rgba(255,255,255,0.03); color: var(--text); }
.playlist__num {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}
.playlist__time {
  font-family: var(--f-mono); font-size: 11px; color: var(--text-dim);
}
.playlist__item--done { color: var(--text); }
.playlist__item--done .playlist__num::before {
  content: "✓ "; color: var(--up);
}
.playlist__item--active {
  background: linear-gradient(90deg, rgba(58, 154, 217, 0.18), transparent);
  color: var(--text);
}
.playlist__item--active .playlist__num { color: var(--peak-green); }
.playlist__progress {
  height: 2px;
  background: rgba(255,255,255,0.06);
}
.playlist__progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--peak-green), #8ad0ff);
  box-shadow: 0 0 8px rgba(58, 154, 217, 0.6);
}

/* =========================================================
   10 · FINAL CTA
   ========================================================= */
.section--final {
  text-align: center;
  padding-top: clamp(100px, 14vw, 180px);
  padding-bottom: clamp(80px, 10vw, 140px);
}
.final {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  padding: clamp(48px, 7vw, 96px) clamp(32px, 5vw, 80px);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(20, 45, 90, 0.45) 0%, rgba(10, 26, 51, 0.35) 100%);
  border: 1px solid rgba(78, 177, 240, 0.10);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 30px 60px -30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(78, 177, 240, 0.35), rgba(78, 177, 240, 0) 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.final__links {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-mute);
  margin-top: 30px;
}
.final__links a { transition: color .2s var(--ease); }
.final__links a:hover { color: var(--text); }
.final__platform {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 30px;
}

/* =========================================================
   11 · FAQ
   ========================================================= */
.faq {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font-family: var(--f-display);
  font-style: normal;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--text);
  transition: color .2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--f-body);
  font-style: normal;
  font-size: 22px;
  color: var(--peak-green);
  transition: transform .25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  margin: 0 0 22px;
  color: var(--text-mute);
  line-height: 1.7;
  font-size: 15px;
  max-width: 680px;
}

/* =========================================================
   12 · FOOTER
   ========================================================= */
.footer {
  position: relative;
  margin-top: 80px;
  padding: 80px var(--pad-x) 32px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(8, 16, 22, 0.7));
}
.footer__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
.footer__tagline {
  font-family: var(--f-display);
  font-style: normal;
  color: var(--text-mute);
  margin: 14px 0 22px;
  font-size: 17px;
}
.footer__social { display: flex; gap: 14px; flex-wrap: wrap; }
.footer__social a {
  font-size: 13px;
  color: var(--text-mute);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer__social a:hover { color: var(--text); border-color: var(--line-strong); }

.footer__col h5 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--peak-green);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer__col a {
  display: block;
  font-size: 14px;
  color: var(--text-mute);
  margin-bottom: 10px;
  transition: color .2s var(--ease);
}
.footer__col a:hover { color: var(--text); }

.footer__legal {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 28px;
}
.footer__disclaimer {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.7;
  letter-spacing: 0.02em;
  max-width: 880px;
  margin: 0 0 24px;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-dim);
}
.footer__status {
  display: inline-flex; align-items: center; gap: 8px;
}
.footer__status-dot {
  width: 8px; height: 8px;
  background: var(--up); border-radius: 50%;
  box-shadow: 0 0 8px var(--up);
  animation: pulse 2s ease-in-out infinite;
}
.footer__copy { color: var(--text-dim); }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Small-screen polish
   ========================================================= */
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav { height: 60px; }
  main { padding-top: 60px; }
  .terminal__body { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: flex-start; }
}

/* =========================================================
   DESIGN REFRESH — Apple + JetBrains inspired
   Layered as overrides at the bottom so we don't touch
   the original cascade upstream.
   ========================================================= */

/* ---- More generous Apple-style breathing room between sections ---- */
.section {
  padding-block: clamp(96px, 14vw, 200px);
}

/* ---- Hero: Apple-style large display with tighter tracking ---- */
.section--hero {
  padding-top: clamp(56px, 7vw, 120px);
  padding-bottom: clamp(96px, 12vw, 180px);
}
.display {
  letter-spacing: -0.035em;
  font-weight: 500;
  line-height: 1.02;
}
.display--lg { font-size: clamp(64px, 9.5vw, 144px); }
.section--hero .display {
  font-size: clamp(56px, 8.5vw, 128px);
  font-weight: 600;
}
.hero__subline {
  font-size: clamp(18px, 1.5vw, 22px);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 400;
  line-height: 1.5;
}

/* ---- Section labels: refined, Apple-style chip with dot ---- */
.section-label {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.32em;
  font-weight: 600;
  padding-left: 18px;
  color: #7fc4f5;
}
.section-label::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--peak-green);
  box-shadow: 0 0 10px rgba(78, 177, 240, 0.7);
  top: 50%;
  transform: translateY(-50%);
}

/* ---- Buttons: refined pill with subtle gloss + lift (Apple) ---- */
.btn {
  font-family: var(--f-body);
  font-weight: 500;
  letter-spacing: 0;
  font-size: 14px;
  padding: 13px 22px;
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(180deg, #5eb7f2 0%, #1f63ac 100%);
  color: #ffffff;
  border-color: rgba(255,255,255,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.2),
    0 12px 32px -12px rgba(78, 177, 240, 0.7),
    0 0 0 1px rgba(78, 177, 240, 0.2);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 18px 40px -10px rgba(78, 177, 240, 0.9),
    0 0 0 1px rgba(78, 177, 240, 0.5);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(150, 195, 245, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(150, 195, 245, 0.45);
  transform: translateY(-2px);
}
.btn--lg { padding: 17px 30px; font-size: 15px; }

/* ---- Bullets: cleaner blue dash, no triangle ---- */
.bullets li {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  padding-left: 22px;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 2px;
  background: linear-gradient(90deg, var(--peak-green), transparent);
  border-radius: 2px;
}

/* ---- "Product card" surface (Apple feature cards / JetBrains panels) ---- */
.why-block,
.showcase-block {
  position: relative;
  margin: clamp(40px, 6vw, 80px) auto;
  padding: clamp(36px, 5vw, 72px);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(20, 45, 90, 0.45) 0%, rgba(10, 26, 51, 0.35) 100%);
  border: 1px solid rgba(78, 177, 240, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 30px 60px -30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.why-block::before,
.showcase-block::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(78, 177, 240, 0.35), rgba(78, 177, 240, 0) 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ---- Exchange tiles: Apple "App grid" feel ---- */
.exch-tile {
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(20, 45, 90, 0.4), rgba(10, 26, 51, 0.6));
  border: 1px solid rgba(78, 177, 240, 0.12);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.exch-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(78, 177, 240, 0.4);
  background: linear-gradient(180deg, rgba(30, 75, 140, 0.5), rgba(15, 40, 80, 0.7));
}

/* ---- SDK section: JetBrains plugin page sidebar feel ---- */
.sdk-meta {
  position: static; /* anchored with the text/code, not sticky */
  background: linear-gradient(180deg, rgba(20, 45, 90, 0.55), rgba(10, 26, 51, 0.45));
  border: 1px solid rgba(78, 177, 240, 0.18);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sdk-meta__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(150, 195, 245, 0.08);
}
.sdk-meta__row:last-child { border-bottom: 0; padding-bottom: 0; }
.sdk-meta__label {
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  font-weight: 600;
}
.sdk-meta__value {
  color: var(--text);
  font-family: var(--f-mono);
  font-size: 13px;
}
.sdk-meta__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(78, 177, 240, 0.12);
  border: 1px solid rgba(78, 177, 240, 0.3);
  color: #7fc4f5;
  font-size: 11px;
  font-family: var(--f-mono);
}
.sdk-meta__stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #f7c66c;
  font-size: 13px;
}
.sdk-install {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(5, 12, 26, 0.7);
  border: 1px solid rgba(78, 177, 240, 0.18);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
}
.sdk-install__prompt { color: #4eb1f0; }
.sdk-install__copy {
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(150, 195, 245, 0.25);
  color: var(--text-mute);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.sdk-install__copy:hover { color: var(--text); border-color: rgba(150, 195, 245, 0.5); }
.sdk-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(5, 12, 26, 0.5);
  border: 1px solid rgba(78, 177, 240, 0.15);
  border-radius: 10px;
}
.sdk-tabs__btn {
  flex: 1;
  padding: 7px 10px;
  border-radius: 7px;
  background: transparent;
  border: 0;
  color: var(--text-mute);
  font-family: var(--f-mono);
  font-size: 12px;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.sdk-tabs__btn--active {
  background: rgba(78, 177, 240, 0.15);
  color: #c9e6ff;
}

/* SDK section grid: text + code + sidebar (JetBrains-like 3-column) */
@media (min-width: 1024px) {
  .sdk {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) 280px;
    gap: 48px;
    align-items: start;
  }
}
@media (max-width: 1023px) {
  .sdk-meta { position: static; }
}

/* ---- Nav: subtle blur & bottom hairline (Apple) ---- */
.nav {
  background: rgba(6, 15, 31, 0.72);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(150, 195, 245, 0.08);
}

/* ---- Section dividers (Apple-style soft glow at edges) ---- */
.section + .section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: min(60%, 600px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(78, 177, 240, 0.35), transparent);
  transform: translateX(-50%);
  pointer-events: none;
}


/* =========================================================
   Exchange orbit — 18 CEX outer + 4 DEX inner ring
   ========================================================= */
.exch-orbit {
  position: relative;
  margin: clamp(40px, 6vw, 80px) auto;
  width: min(1280px, 100%);
  aspect-ratio: 1 / 1;
  padding: clamp(40px, 5vw, 80px);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(20, 45, 90, 0.45) 0%, rgba(10, 26, 51, 0.35) 100%);
  border: 1px solid rgba(78, 177, 240, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 30px 60px -30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.exch-orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(78, 177, 240, 0.35), rgba(78, 177, 240, 0) 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.exch-orbit__svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.exch-orbit .exch-node {
  cursor: pointer;
  outline: none;
}
.exch-orbit .exch-node circle {
  transition: all .25s var(--ease);
}
.exch-orbit__legend {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 28px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  z-index: 2;
}
.exch-orbit__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.exch-orbit__legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.exch-orbit__legend-dot--cex {
  background: rgba(78,177,240,0.85);
  box-shadow: 0 0 10px rgba(78,177,240,0.6);
}
.exch-orbit__legend-dot--dex {
  background: rgba(143, 214, 255, 0.95);
  box-shadow: 0 0 10px rgba(143, 214, 255, 0.7);
}
.exch-orbit__tip {
  position: absolute;
  pointer-events: none;
  padding: 6px 10px;
  font-size: 11px;
  font-family: var(--f-mono);
  background: rgba(5, 12, 26, 0.92);
  border: 1px solid rgba(78,177,240,0.4);
  color: #cfe9ff;
  border-radius: 6px;
  transform: translate(-50%, -100%);
  opacity: 0;
  transition: opacity .15s var(--ease);
  z-index: 3;
  white-space: nowrap;
}
.exch-orbit__tip.is-visible { opacity: 1; }


/* =========================================================
   Download for Windows button (JSX-spec)
   #3B82F6 base · #2563EB hover · scale(1.02) on hover
   ========================================================= */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #3B82F6;
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Montserrat', 'Inter', sans-serif;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px -8px rgba(59, 130, 246, 0.55);
}
.btn-download:hover {
  background: #2563EB;
  transform: scale(1.02);
  box-shadow: 0 12px 28px -8px rgba(37, 99, 235, 0.7);
}
.btn-download:active { transform: scale(0.99); }
.btn-download:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}
.btn-download__icon {
  flex-shrink: 0;
  display: block;
}
.btn-download--lg {
  padding: 14px 26px;
  font-size: 15px;
  gap: 10px;
  border-radius: 999px;
}
.btn-download--sm {
  padding: 7px 14px;
  font-size: 13px;
}


/* =========================================================
   Acrylic hex paperweight (hero)
   Frosted-glass hex showing the live readout of the
   scroll-constructed chart.
   ========================================================= */
.acrylic-hex {
  position: absolute;
  top: clamp(120px, 16vh, 200px);
  right: clamp(20px, 5vw, 80px);
  width: clamp(160px, 17vw, 210px);
  aspect-ratio: 1 / 1.1547; /* flat-top hex ratio */
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45));
  animation: hexFloat 8s ease-in-out infinite;
}
@keyframes hexFloat {
  0%, 100% { transform: translateY(0)    rotate(-1deg); }
  50%      { transform: translateY(-6px) rotate( 1deg); }
}
.acrylic-hex__bg {
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background:
    radial-gradient(ellipse 70% 50% at 30% 20%, rgba(143, 214, 255, 0.32), transparent 65%),
    radial-gradient(ellipse 80% 60% at 80% 90%, rgba(28, 95, 175, 0.28), transparent 70%),
    linear-gradient(135deg, rgba(78, 177, 240, 0.12), rgba(15, 35, 75, 0.30));
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.acrylic-hex__outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(143, 214, 255, 0.35));
}
.acrylic-hex__content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 18% 14%;
  gap: 4px;
}
.acrylic-hex__sym {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(207, 233, 255, 0.8);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.acrylic-hex__price {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1;
  text-shadow: 0 0 18px rgba(143, 214, 255, 0.45);
}
.acrylic-hex__delta {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  color: #7fcfff;
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.acrylic-hex__spark-wrap {
  width: 60%;
  height: 14px;
  margin-top: 6px;
  overflow: visible;
}
.acrylic-hex__time {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: rgba(150, 195, 245, 0.55);
  margin-top: 4px;
}

@media (max-width: 880px) {
  .acrylic-hex { top: 100px; right: 16px; width: 130px; }
}


/* =========================================================
   Exchange list — grouped grids with real PNG logos
   (per design v2.0 — replaces the old text-pill marquee)
   ========================================================= */
.exch-list { margin: clamp(28px, 4vw, 56px) auto 0; }
.exch-list__title {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 20px;
  padding-left: 18px;
  position: relative;
}
.exch-list__title::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--peak-green);
  transform: translateY(-50%);
  box-shadow: 0 0 8px rgba(78, 177, 240, 0.5);
}
.exch-list__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.exch-card {
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 14px;
  row-gap: 2px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(20, 45, 90, 0.40), rgba(10, 26, 51, 0.55));
  border: 1px solid rgba(78, 177, 240, 0.12);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.exch-card:hover {
  transform: translateY(-2px);
  border-color: rgba(78, 177, 240, 0.45);
  background: linear-gradient(180deg, rgba(30, 75, 140, 0.5), rgba(15, 40, 80, 0.7));
}
.exch-card img {
  grid-row: 1 / 3;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: cover;
  background: #1B2232;
  flex-shrink: 0;
}
.exch-card span {
  grid-column: 2;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
}
.exch-card em {
  grid-column: 2;
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
.exch-card--dex { border-color: rgba(143, 214, 255, 0.22); }
.exch-card--dex:hover { border-color: rgba(143, 214, 255, 0.55); }
.exch-card--mute { opacity: 0.78; }
.exch-card--mute:hover { opacity: 1; }

/* Hide the old text-only tile blocks if they linger from any cached HTML */
.exch-grid, .exch-grid--dex { display: none; }


/* =========================================================
   Connections panel screenshot (real product UI in showcase 6.4)
   ========================================================= */
.connections-shot {
  margin: 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 45, 90, 0.45), rgba(10, 26, 51, 0.55));
  border: 1px solid rgba(78, 177, 240, 0.18);
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.55),
    0 0 80px -30px rgba(78, 177, 240, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.connections-shot::before {
  /* subtle inner gradient hairline to make the screenshot feel like a window */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(143, 214, 255, 0.10), transparent 30%);
  z-index: 2;
}
.connections-shot img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}
.connections-shot:hover {
  transform: translateY(-3px);
  box-shadow:
    0 36px 70px -20px rgba(0, 0, 0, 0.65),
    0 0 110px -30px rgba(78, 177, 240, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}


/* =========================================================
   Feature video — terminal.mp4 embedded in Showcase blocks
   ========================================================= */
.feature-video-wrap {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 45, 90, 0.45), rgba(10, 26, 51, 0.55));
  border: 1px solid rgba(78, 177, 240, 0.18);
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.55),
    0 0 80px -30px rgba(78, 177, 240, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature-video-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(143, 214, 255, 0.10), transparent 30%);
  z-index: 2;
}
.feature-video-wrap:hover {
  transform: translateY(-3px);
  box-shadow:
    0 36px 70px -20px rgba(0, 0, 0, 0.65),
    0 0 110px -30px rgba(78, 177, 240, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.feature-video {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  background: #050b1a;
}


/* Italic kill switch — Montserrat displays much cleaner upright; we use weight + color contrast for emphasis instead. */
em, i, cite, address, dfn, var { font-style: normal; }

/* =========================================================
   Hero terminal video — replaces the static terminal mockup
   ========================================================= */
.hero-video {
  position: relative;
  margin: clamp(40px, 6vw, 90px) auto 0;
  max-width: 1100px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 45, 90, 0.5), rgba(10, 26, 51, 0.65));
  border: 1px solid rgba(78, 177, 240, 0.22);
  box-shadow:
    0 50px 90px -30px rgba(0, 0, 0, 0.7),
    0 0 120px -30px rgba(78, 177, 240, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.hero-video::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(143, 214, 255, 0.12), transparent 30%);
  z-index: 2;
}
.hero-video__el {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  background: #050b1a;
}
.hero-video:hover {
  transform: translateY(-4px);
  box-shadow:
    0 60px 100px -30px rgba(0, 0, 0, 0.8),
    0 0 150px -30px rgba(78, 177, 240, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}


/* exch-card as <a> — kill default link styling, ensure block-grid behavior */
a.exch-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}


/* SDK copy-button success state */
.sdk-install__copy--ok {
  color: #4ade80 !important;
  border-color: rgba(74, 222, 128, 0.5) !important;
}


/* Eyebrow / kicker labels hidden globally per request */
.section-label { display: none !important; }


/* Hide the per-card product-type subtitle (Spot · Futures · Margin etc.) */
.exch-card em { display: none; }
/* Subtitle hidden — collapse the grid to a single row so the logo
   sits perfectly centered next to the name. */
.exch-card {
  grid-template-columns: 32px 1fr;
  grid-template-rows: 32px;
  align-items: center;
  row-gap: 0;
}
.exch-card img { grid-row: 1; grid-column: 1; }
.exch-card span { grid-row: 1; grid-column: 2; display: flex; align-items: center; }


/* Russia-only social links (Rutube) — visible only when the page is in RU mode */
html[lang="en"] .social-ru-only { display: none; }


/* =========================================================
   Nav dropdown (Academy submenu)
   ========================================================= */
.nav__group {
  position: relative;
  display: inline-flex;
  align-items: center;
  outline: none;
}
.nav__group-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav__group-caret {
  display: inline-block;
  font-size: 11px;
  opacity: 0.7;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav__group:hover .nav__group-caret,
.nav__group:focus-within .nav__group-caret {
  transform: translateY(1px);
  opacity: 1;
}

.nav__submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 240px;
  padding: 8px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(20, 45, 90, 0.85), rgba(10, 26, 51, 0.92));
  border: 1px solid rgba(78, 177, 240, 0.22);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6), 0 0 60px -20px rgba(78, 177, 240, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
  z-index: 60;
}
.nav__group:hover .nav__submenu,
.nav__group:focus-within .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s;
}
/* Bridge — prevents flicker when moving from toggle to submenu */
.nav__submenu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0; right: 0;
  height: 14px;
}

.nav__submenu a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s var(--ease);
}
.nav__submenu a:hover {
  background: rgba(78, 177, 240, 0.14);
}
.nav__submenu-title { font-size: 14px; font-weight: 700; color: #ffffff; }
.nav__submenu-sub   { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.55); font-weight: 500; }

@media (max-width: 880px) {
  .nav__submenu { min-width: 200px; }
}


/* White backdrop for logos that need contrast on the dark UI (transparent
   or near-transparent glyphs). Add new filenames here as needed.
   `object-fit: contain` + padding keeps the full mark visible instead of
   being cropped by `cover`. */
.exch-card img[src$="bybit.svg"],
.exch-card img[src$="mexc.png"],
.exch-card img[src$="gateio.png"],
.exch-card img[src$="moex.png"],
.exch-card img[src$="tbank.png"] {
  background: #ffffff;
  object-fit: contain;
  padding: 4px;
}


/* TV chart / native chart demo GIF (Charts why-block) */
.charts-shot {
  margin: 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 45, 90, 0.45), rgba(10, 26, 51, 0.55));
  border: 1px solid rgba(78, 177, 240, 0.18);
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.55),
    0 0 80px -30px rgba(78, 177, 240, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.charts-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(143, 214, 255, 0.10), transparent 30%);
  z-index: 2;
}
.charts-shot img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  background: #050b1a;
}
.charts-shot:hover {
  transform: translateY(-3px);
  box-shadow:
    0 36px 70px -20px rgba(0, 0, 0, 0.65),
    0 0 110px -30px rgba(78, 177, 240, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}


/* Hero video — language-swappable source.
   The mp4 element plays in EN, the gif renders in RU. */
html[lang="en"] .hero-video--ru { display: none; }
html[lang="ru"] .hero-video--en { display: none; }


/* Single-column why-block — title on top, demo full width (bigger GIF). */
.why-block--solo {
  display: block;
}
.why-block--solo .why-block__text {
  text-align: center;
  margin: 0 auto clamp(28px, 4vw, 56px);
  max-width: 820px;
}
.why-block--solo .why-block__text .lead { margin-left: auto; margin-right: auto; }
.why-block--solo .why-block__demo { width: 100%; }
.why-block--solo .charts-shot {
  max-width: 1100px;
  margin: 0 auto;
}


/* Constrain the .charts-shot when it sits in a normal 2-column why-block
   (only the solo variant lets it span full width). Keeps the cluster image
   from dominating the layout. */
.why-block:not(.why-block--solo) .charts-shot {
  max-width: 460px;
  margin: 0 auto;
}


/* cluster.png cropped to proper aspect — uses the standard .charts-shot frame. */


/* Constellation section uses a wider container than the default --maxw
   so the doubled-up orbit fits without being clipped. */
#constellation { max-width: 1400px; }


/* Subtitle line between heading and body in why-blocks */
.why-block__sub {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(143, 214, 255, 0.85);
  margin: -10px 0 0;
}
.why-block--solo .why-block__sub {
  text-align: center;
  margin: -8px auto 0;
}

