/* =====================================================================
   LUNCHMARKUS — "Midnight Cobalt" design system
   Black · Blue · White
   Display: Bricolage Grotesque · Accent: Instrument Serif (italic)
   Body: Geist · Numbers & labels: Geist Mono
   ===================================================================== */

/* ============ FONTS ============ */
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage/bricolage-grotesque-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage/bricolage-grotesque-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage/bricolage-grotesque-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage/bricolage-grotesque-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage/bricolage-grotesque-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif/instrument-serif-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif/instrument-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono/geist-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono/geist-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono/geist-mono-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* ============ DESIGN TOKENS ============ */
:root {
  /* Blacks — tinted toward blue so they feel deep, not flat */
  --bg: #03050B;
  --bg-alt: #060A15;
  --surface: #0A101F;
  --surface-2: #0E1628;
  --surface-3: #131D34;
  --border: rgba(140, 165, 255, 0.10);
  --border-strong: rgba(140, 165, 255, 0.22);

  /* Whites */
  --text: #F2F5FF;
  --text-soft: #C9D2EA;
  --muted: #8591B0;

  /* Blues */
  --primary: #3B6BFF;          /* electric cobalt */
  --primary-deep: #1A3FD9;     /* royal */
  --primary-bright: #7A9BFF;   /* periwinkle */
  --primary-ice: #CFDBFF;      /* ice */
  --navy: #0B1A4A;
  --on-primary: #FFFFFF;
  --primary-soft: rgba(59, 107, 255, 0.12);
  --glow: rgba(59, 107, 255, 0.35);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 60px -30px rgba(0, 0, 0, 0.9);

  --font-display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-body: "Geist", system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --preloader-stagger: 70ms;
  --preloader-drop: 700ms;
  --preloader-hold: 300ms;
  --preloader-exit: 700ms;
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
}
/* Fine grain texture over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, footer { position: relative; z-index: 1; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--text);
}
h3 { letter-spacing: -0.02em; line-height: 1.2; }
p { color: var(--text-soft); }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid var(--primary-bright); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 28px; }
.container--narrow { max-width: 800px; }
[id] { scroll-margin-top: 100px; }

/* Italic serif accent used inside display headings */
h1 em, h2 em, h3 em, .grad {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--primary-bright);
  background: linear-gradient(100deg, var(--primary-ice) 0%, var(--primary-bright) 45%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 0.06em;
}

/* Fixed ambient background: grid + two slow-drifting blue orbs */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.page-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(140, 165, 255, 0.05) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(90deg, rgba(140, 165, 255, 0.05) 1px, transparent 1px) 0 0 / 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 15%, transparent 75%);
}
.page-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: orb-drift 22s ease-in-out infinite alternate;
}
.page-bg__orb--a { width: 620px; height: 620px; top: -260px; right: -120px; background: radial-gradient(circle, rgba(59, 107, 255, 0.55), transparent 65%); }
.page-bg__orb--b { width: 520px; height: 520px; top: 120px; left: -260px; background: radial-gradient(circle, rgba(26, 63, 217, 0.4), transparent 65%); animation-delay: -8s; }
@keyframes orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-60px, 60px, 0) scale(1.12); }
}

/* Spotlight cards: radial glow that follows the cursor (set by JS) */
[data-spotlight] { position: relative; isolation: isolate; }
[data-spotlight]::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(59, 107, 255, 0.16), transparent 45%);
  pointer-events: none;
}
[data-spotlight]:hover::before { opacity: 1; }

/* ============ TYPE HELPERS ============ */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-bright);
  margin-bottom: 20px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.kicker--center { display: flex; justify-content: center; }
.kicker--light { color: var(--primary-ice); }

.section { position: relative; padding-block: clamp(84px, 11vw, 140px); }
.section--alt {
  background: linear-gradient(180deg, transparent, rgba(59, 107, 255, 0.04) 30%, rgba(59, 107, 255, 0.04) 70%, transparent);
  border-block: 1px solid var(--border);
}
.section-head { max-width: 640px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head--center { max-width: 860px; margin-inline: auto; text-align: center; }
/* Headings that sit in a two-column layout get a slightly smaller scale */
.exec__intro .section__title,
.settlements-section__head .section__title,
.csupport__copy .section__title,
.faq-section .section__title { font-size: clamp(2.2rem, 4.2vw, 3.7rem); }
.section-head--center .kicker { justify-content: center; }
.section__title {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  text-align: inherit;
}
.section > .container > .section__title { text-align: center; margin-bottom: 56px; }
.section__lead {
  margin-top: 22px;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  color: var(--muted);
  max-width: 54ch;
}
.section-head--center .section__lead { margin-inline: auto; }
.section__lead a { color: var(--primary-bright); border-bottom: 1px solid currentColor; }

/* ============ BUTTONS ============ */
.btn {
  --btn-pad-y: 14px;
  --btn-pad-x: 24px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.3s, border-color 0.3s, color 0.3s;
}
.btn svg { transition: transform 0.35s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn--sm { --btn-pad-y: 11px; --btn-pad-x: 18px; font-size: 0.875rem; }
.btn--lg { --btn-pad-y: 18px; --btn-pad-x: 30px; font-size: 1rem; }

.btn--primary {
  background: linear-gradient(180deg, #5280FF 0%, var(--primary) 55%, var(--primary-deep) 100%);
  color: var(--on-primary);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 10px 30px -10px rgba(59, 107, 255, 0.8);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease-out);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 18px 40px -12px rgba(59, 107, 255, 0.95); }
.btn--primary:hover::after { transform: translateX(120%); }

.btn--ghost {
  background: rgba(140, 165, 255, 0.05);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--primary-bright); background: rgba(59, 107, 255, 0.1); transform: translateY(-2px); }

.btn--light { background: #fff; color: #050814; box-shadow: 0 14px 40px -14px rgba(255, 255, 255, 0.5); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 20px 50px -14px rgba(255, 255, 255, 0.6); }
.btn--ghost-light { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }

/* ============ PRELOADER ============ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 60%, #0A1640 0%, var(--bg) 60%);
}
.preloader.is-pixels {
  background: transparent;
  pointer-events: none;
}
.preloader.is-pixels .preloader__inner { opacity: 0; transition: opacity 0.25s ease; }
.preloader.is-skipped { display: none; }
.preloader__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 22px; }
.preloader__pixels {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  grid-template-rows: repeat(12, 1fr);
  pointer-events: none;
}
.preloader__pixel {
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: scale(1.06);
}
.preloader__pixel::before {
  content: "";
  position: absolute;
  width: calc(2000% + 2px);
  height: calc(1200% + 2px);
  left: calc(var(--x) * -100% - 1px);
  top: calc(var(--y) * -100% - 1px);
  background: radial-gradient(ellipse at 50% 60%, #0A1640 0%, var(--bg) 60%);
}
.preloader.is-pixels .preloader__pixel {
  animation: preloader-pixel 0.7s ease-in forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes preloader-pixel { to { opacity: 0; transform: scale(0); } }
.preloader__word { display: flex; overflow: hidden; padding: 0.08em 0.12em; }
.preloader__letter {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 9vw, 6.5rem);
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
  transform: translateY(110%);
  opacity: 0;
}
.preloader.is-playing .preloader__letter {
  animation: preloader-rise var(--preloader-drop) var(--ease-out) both;
  animation-delay: calc(var(--i) * var(--preloader-stagger));
}
.preloader__letter--accent { color: var(--primary-bright); }
.preloader__bar { width: 180px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.preloader__bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-ice));
  transform: scaleX(0);
  transform-origin: left;
}
.preloader.is-playing .preloader__bar span { animation: preloader-bar 1.6s var(--ease-out) both; }
@keyframes preloader-rise { to { transform: translateY(0); opacity: 1; } }
@keyframes preloader-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .preloader__letter { transform: none; opacity: 0; }
  .preloader.is-playing .preloader__letter { animation: preloader-fade 200ms ease both; animation-delay: calc(var(--i) * 20ms); }
  .preloader.is-pixels .preloader__pixel { animation: none; opacity: 0; }
  .preloader { transition: opacity var(--preloader-exit) ease, visibility 0s linear var(--preloader-exit); }
  .preloader.is-done { opacity: 0; }
}
@keyframes preloader-fade { from { opacity: 0; } to { opacity: 1; transform: none; } }

/* ============ NAVIGATION (floating glass pill) ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 20px 0;
  transition: padding 0.4s var(--ease-out);
}
.nav__shell {
  max-width: 1240px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
  padding: 0 10px 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color 0.4s, border-color 0.4s, box-shadow 0.4s, height 0.4s var(--ease-out), max-width 0.5s var(--ease-out);
}
.nav.is-scrolled { padding-top: 10px; }
.nav.is-scrolled .nav__shell {
  height: 58px;
  max-width: 1080px;
  background: rgba(6, 10, 21, 0.72);
  border-color: var(--border-strong);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.nav__brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__logo { width: 30px; height: 30px; filter: drop-shadow(0 6px 14px rgba(59, 107, 255, 0.5)); }
.nav__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.04em;
  color: var(--text);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}
.nav__links a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s, background-color 0.25s;
}
.nav__links a:hover { color: var(--text); background: rgba(140, 165, 255, 0.08); }
.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav__links + .nav__actions { margin-left: 0; }
.nav__login {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.25s;
}
.nav__login:hover { color: var(--text); }

.theme-switch {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, transform 0.4s var(--ease-out);
}
.theme-switch:hover { color: var(--text); border-color: var(--border-strong); transform: rotate(20deg); }
.theme-switch__moon { display: none; }
html[data-theme="light"] .theme-switch__sun { display: none; }
html[data-theme="light"] .theme-switch__moon { display: block; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(140, 165, 255, 0.06);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav__toggle-bar { width: 18px; height: 1.5px; border-radius: 2px; background: var(--text); transition: transform 0.35s var(--ease-out); }
.nav__toggle.is-active .nav__toggle-bar:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle.is-active .nav__toggle-bar:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav {
    padding: 0;
    background: rgba(6, 10, 21, 0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
  }
  .nav.is-scrolled { padding-top: 0; }
  .nav__shell,
  .nav.is-scrolled .nav__shell {
    height: 60px;
    max-width: none;
    padding: 0 14px 0 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .nav__links, .nav__login { display: none; }
  .nav__actions .theme-switch { display: none; }
  .nav__toggle { display: inline-flex; border-radius: 12px; }
  .nav__cta {
    --btn-pad-y: 9px;
    --btn-pad-x: 14px;
    font-size: 0.82rem;
  }
  .nav__cta svg { display: none; }
  .nav__word { font-size: 1.05rem; }
}
html[data-theme="light"] .nav {
  background: transparent;
}
@media (max-width: 1020px) {
  html[data-theme="light"] .nav { background: rgba(255, 255, 255, 0.94); }
}

/* ============ MOBILE SIDEBAR DRAWER ============ */
.sidebar { position: fixed; inset: 0; z-index: 200; pointer-events: none; visibility: hidden; transition: visibility 0s 0.45s; }
.sidebar.is-open { pointer-events: auto; visibility: visible; transition: visibility 0s; }
.sidebar__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 10, 0.55);
  opacity: 0;
  transition: opacity 0.35s;
}
.sidebar.is-open .sidebar__backdrop { opacity: 1; }
.sidebar__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 100%);
  display: flex;
  flex-direction: column;
  padding: 16px 16px 20px;
  background: var(--bg);
  border-left: 1px solid var(--border);
  box-shadow: -24px 0 60px -30px rgba(0, 0, 0, 0.7);
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-out);
  overflow-y: auto;
}
.sidebar.is-open .sidebar__panel { transform: none; }
.sidebar__header {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  margin-bottom: 8px;
}
.sidebar__header .nav__brand { margin-right: auto; }
.sidebar__close {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.sidebar__nav { display: flex; flex-direction: column; gap: 12px; padding: 4px 0 12px; }
.sidebar__label {
  margin: 0 12px 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.sidebar__link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.sidebar__link:hover,
.sidebar__link:focus-visible { background: rgba(59, 107, 255, 0.1); color: var(--text); }
.sidebar__footer {
  margin-top: auto;
  display: grid;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.sidebar__theme {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 4px 0 12px;
  font-size: 0.95rem;
  font-weight: 600;
}
.sidebar__theme span { color: var(--text-soft); }
.sidebar__cta { width: 100%; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 88px);
  overflow: hidden;
  isolation: isolate;
}
.hero__beam {
  position: absolute;
  left: 50%;
  top: -140px;
  width: 1100px;
  height: 700px;
  transform: translateX(-30%);
  background: conic-gradient(from 200deg at 50% 0%, transparent 0deg, rgba(59, 107, 255, 0.22) 40deg, transparent 80deg);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 40px;
}
.hero__chart {
  position: absolute;
  z-index: 0;
  left: -8%;
  bottom: -18%;
  width: min(58%, 680px);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 72% 78% at 42% 62%, #000 18%, transparent 72%);
  mask-image: radial-gradient(ellipse 72% 78% at 42% 62%, #000 18%, transparent 72%);
  animation: hero-chart-float 9s ease-in-out infinite;
}
.hero__chart img {
  width: 100%;
  height: auto;
  display: block;
  transform-origin: 50% 78%;
  animation: hero-chart-rise 9s ease-in-out infinite;
}
.hero__chart::after {
  content: "";
  position: absolute;
  inset: -10% -20%;
  background: linear-gradient(105deg, transparent 36%, rgba(190, 220, 255, 0.42) 50%, transparent 64%);
  mix-blend-mode: screen;
  animation: hero-chart-sheen 7.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hero-chart-float {
  0%, 100% { transform: translate3d(0, 12px, 0); }
  50% { transform: translate3d(10px, -22px, 0); }
}
@keyframes hero-chart-rise {
  0%, 100% { transform: scale(1); filter: brightness(0.9); }
  50% { transform: scale(1.045); filter: brightness(1.18); }
}
@keyframes hero-chart-sheen {
  0%, 18% { transform: translateX(-42%); opacity: 0; }
  42% { opacity: 1; }
  68%, 100% { transform: translateX(46%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__chart,
  .hero__chart img,
  .hero__chart::after { animation: none; }
}
.hero__copy { position: relative; z-index: 2; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  margin-bottom: 30px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(10, 16, 31, 0.7);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  color: var(--text-soft);
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}
.hero__badge:hover { border-color: var(--primary-bright); transform: translateY(-2px); }
.hero__badge-live { width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: var(--primary-bright); box-shadow: 0 0 0 4px rgba(122, 155, 255, 0.2); animation: live-pulse 2s ease-in-out infinite; }
.hero__badge-pill {
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(122, 155, 255, 0.55); }
  50% { box-shadow: 0 0 0 7px rgba(122, 155, 255, 0); }
}
.hero__title {
  font-size: clamp(2.7rem, 5.6vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.hero__line { display: block; white-space: nowrap; }
.hero__title em { font-size: 1.08em; letter-spacing: -0.02em; }
.hero__lead {
  margin-top: 28px;
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.55;
  color: var(--muted);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; list-style: none; }
.hero__ticks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-soft);
}
.hero__ticks li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%237A9BFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  border: 1px solid rgba(122, 155, 255, 0.35);
}

.hero__right { position: relative; display: flex; justify-content: center; min-width: 0; }
.hero__globe-shell { position: relative; width: 100%; max-width: 560px; }

/* ============ HERO 3D GLOBE ============ */
.hero-globe {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  user-select: none;
}
.hero-globe__atmosphere {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(59, 107, 255, 0.14) 0%, rgba(6, 10, 21, 0.75) 58%, rgba(3, 5, 11, 0.95) 76%, transparent 100%);
  border: 1px solid rgba(122, 155, 255, 0.2);
  box-shadow: 0 0 120px -20px rgba(59, 107, 255, 0.55), inset 0 0 60px rgba(59, 107, 255, 0.12);
  pointer-events: none;
  z-index: 1;
}
.hero-globe__orbit-glow {
  position: absolute;
  inset: -4%;
  border-radius: 50%;
  border: 1px dashed rgba(122, 155, 255, 0.16);
  animation: spin-slow 60s linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.hero-globe__canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; z-index: 2; cursor: grab; touch-action: pan-y; }
.hero-globe__canvas:active { cursor: grabbing; }
.hero-globe__badges { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.globe-badge {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 9px;
  background: rgba(6, 10, 21, 0.9);
  border: 1px solid rgba(122, 155, 255, 0.28);
  border-radius: 999px;
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  will-change: transform, opacity;
}
.globe-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary-bright); box-shadow: 0 0 8px 1px var(--primary-bright); }
.globe-badge__flag { font-size: 0.95rem; line-height: 1; }
.globe-badge__country { font-size: 0.78rem; font-weight: 600; color: #E6ECFF; }
.globe-badge__amount { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; color: var(--primary-bright); }

/* Floating glass chips around the globe */
.hero-float {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(10, 16, 31, 0.78);
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: float-y 7s ease-in-out infinite;
}
.hero-float--copy { left: -4%; bottom: 14%; }
.hero-float--size { right: -2%; top: 10%; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 170px; animation-delay: -3.5s; }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-float__avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-bright), var(--primary-deep));
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
}
.hero-float__body { display: grid; gap: 2px; }
.hero-float__label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.hero-float__value { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.hero-float__delta {
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(59, 107, 255, 0.16);
  color: var(--primary-bright);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
}
.hero-float__meter { width: 100%; height: 6px; border-radius: 6px; background: rgba(140, 165, 255, 0.12); overflow: hidden; }
.hero-float__meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary-deep), var(--primary-bright)); }

/* ============ STATS ============ */
.hero-stats, .stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(14, 22, 40, 0.65), rgba(6, 10, 21, 0.65));
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.hero-stats { margin-top: clamp(48px, 6vw, 80px); }
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 28px 26px;
  position: relative;
}
.stat + .stat { border-left: 1px solid var(--border); }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat:first-child .stat__num { color: var(--primary-bright); }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__chart {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(100%, 420px);
    margin: 12px auto 0;
    order: 2;
    -webkit-mask-image: linear-gradient(#000 62%, transparent);
    mask-image: linear-gradient(#000 62%, transparent);
  }
  .hero__copy { text-align: center; order: 1; }
  .hero__right { order: 3; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__ticks { justify-content: center; }
  .hero__globe-shell { max-width: 480px; }
}
@media (max-width: 720px) {
  .hero-stats, .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .stat { padding: 22px 20px; }
}
@media (max-width: 560px) {
  .hero__badge-label { display: none; }
  .hero__badge { padding-right: 6px; }
  .hero-float { padding: 9px 11px; border-radius: 14px; }
  .hero-float--copy { left: 0; bottom: 6%; }
  .hero-float--size { right: 0; top: 4%; min-width: 140px; }
  .hero-float__avatar { width: 30px; height: 30px; border-radius: 9px; }
  .hero-float__value { font-size: 0.78rem; }
}

/* ============ MARQUEES: TICKER + BROKERS ============ */
.marquees { position: relative; border-block: 1px solid var(--border); background: rgba(6, 10, 21, 0.6); }
.ticker {
  padding: 14px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track { display: flex; gap: 44px; width: max-content; animation: marquee 48s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.ticker__item { display: inline-flex; align-items: center; gap: 10px; font-size: 0.86rem; white-space: nowrap; color: var(--muted); }
.ticker__sym {
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
}
.ticker__amt { font-family: var(--font-mono); font-weight: 600; color: var(--primary-bright); }

.brokers { padding: 26px 0 30px; }
.brokers__title {
  text-align: center;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.brokers__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.brokers__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.brokers__viewport:hover .brokers__track { animation-play-state: paused; }
.brokers__set { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.brokers__logo img {
  height: 40px;
  width: auto;
  /* Logos ship on opaque black plates; "screen" drops the plate, brightness lifts dark wordmarks */
  filter: grayscale(1) brightness(3.2) contrast(1.15);
  opacity: 0.6;
  mix-blend-mode: screen;
  transition: opacity 0.3s, filter 0.3s;
}
.brokers__logo:hover img { opacity: 1; filter: none; mix-blend-mode: normal; }

/* ============ FEATURES (BENTO) ============ */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(240px, auto);
  gap: 18px;
}
.bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.5s var(--ease-out);
}
.bento__card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.bento__card--hero { grid-column: span 2; grid-row: span 2; background: radial-gradient(120% 80% at 0% 0%, rgba(59, 107, 255, 0.22), transparent 55%), linear-gradient(180deg, var(--surface-2), var(--surface)); }
.bento__card--wide { grid-column: span 3; }
.bento__card--tall {
  grid-column: 3;
  grid-row: span 2;
  min-height: 420px;
  padding: 0 0 26px;
}
.bento__media {
  height: 46%;
  min-height: 190px;
  overflow: hidden;
}
.bento__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 28%;
  transition: transform 0.7s var(--ease-out);
}
.bento__card--tall:hover .bento__media img { transform: scale(1.06); }
.bento__card--tall .bento__index { margin-bottom: 12px; padding: 22px 26px 0; }
.bento__card--tall h3,
.bento__card--tall p { padding-inline: 26px; }
.bento__card--tall .bento__avatars { margin-top: auto; padding: 22px 26px 0; }
.bento__card--side { isolation: isolate; }
.bento__side {
  position: absolute;
  inset: 0 0 0 auto;
  width: 52%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 36%;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
}
.bento__card--side .bento__split { position: relative; z-index: 1; }
.bento__card--side .bento__rules li { background: rgba(7, 11, 23, 0.86); color: #C9D2EA; }
.bento__card--side .bento__rules strong { color: #fff; }
.bento__index { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; color: var(--primary-bright); margin-bottom: auto; padding-bottom: 28px; }
.bento__card h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin-bottom: 10px; }
.bento__card--hero h3 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); letter-spacing: -0.04em; }
.bento__card p { color: var(--muted); max-width: 44ch; font-size: 0.98rem; }
.bento__chart { position: relative; margin-top: 34px; padding: 18px 18px 14px; border-radius: var(--radius); border: 1px solid var(--border); background: rgba(3, 5, 11, 0.5); }
.bento__chart svg { width: 100%; height: 160px; }
.bento__legend { display: flex; gap: 18px; margin-top: 10px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); }
.bento__legend span { display: inline-flex; align-items: center; gap: 7px; }
.bento__legend i { width: 14px; height: 2px; border-radius: 2px; display: inline-block; }
.bento__legend i.is-lead { background: var(--primary-bright); }
.bento__legend i.is-you { background: repeating-linear-gradient(90deg, var(--text-soft) 0 3px, transparent 3px 6px); }
.bento__order {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(3, 5, 11, 0.55);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}
.bento__order-sym { font-weight: 600; color: var(--text); }
.bento__order-side { padding: 3px 8px; border-radius: 6px; background: var(--primary); color: #fff; justify-self: start; font-size: 0.72rem; }
.bento__order-price { color: var(--primary-bright); }
.bento__avatars { display: flex; margin-top: 22px; }
.bento__avatars span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: -10px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  background: linear-gradient(135deg, var(--surface-3), var(--navy));
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary-ice);
}
.bento__avatars span:first-child { margin-left: 0; }
.bento__avatars span:nth-child(2) { background: linear-gradient(135deg, var(--primary-bright), var(--primary-deep)); color: #fff; }
.bento__avatars .is-more { width: auto; padding: 0 12px; border-radius: 999px; font-family: var(--font-mono); font-size: 0.75rem; background: var(--primary); color: #fff; }
.bento__split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: end; }
.bento__split .bento__index { margin-bottom: 12px; padding-bottom: 0; }
.bento__rules { list-style: none; display: grid; gap: 10px; }
.bento__rules li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(3, 5, 11, 0.5);
  font-size: 0.9rem;
  color: var(--muted);
}
.bento__rules strong { font-family: var(--font-mono); font-weight: 600; color: var(--text); }
.bento__rules strong.is-on { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-bright); }
.bento__rules strong.is-on::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__card--hero, .bento__card--wide, .bento__card--tall { grid-column: span 2; grid-row: auto; }
  .bento__card--tall { min-height: 360px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento__card--hero, .bento__card--wide, .bento__card--tall { grid-column: auto; }
  .bento__split { grid-template-columns: 1fr; }
  .bento__card { padding: 24px; }
  .bento__card--tall { min-height: 0; padding: 0 0 22px; }
  .bento__media { height: 200px; }
  .bento__card--side { padding: 0 0 24px; }
  .bento__side {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    max-width: none;
    height: 188px;
    margin: 0 0 20px;
    object-position: 46% 42%;
    -webkit-mask-image: linear-gradient(#000 68%, transparent);
    mask-image: linear-gradient(#000 68%, transparent);
  }
  .bento__card--side .bento__split { padding-inline: 24px; }
  .bento__card--side .bento__rules li {
    background: rgba(3, 5, 11, 0.5);
    color: var(--muted);
  }
  .bento__card--side .bento__rules strong { color: var(--text); }
  .bento__card--side .bento__rules strong.is-on { color: var(--primary-bright); }
}

/* ============ HOW IT WORKS (PATH) ============ */
.hiw .container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 28px;
}
.hiw__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}
.hiw-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(80% 48% at 50% 0%, var(--hiw-wash, rgba(59, 107, 255, 0.22)), transparent 72%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.hiw-card:nth-child(2) { --hiw-wash: rgba(52, 199, 142, 0.16); }
.hiw-card:nth-child(3) { --hiw-wash: rgba(255, 159, 67, 0.16); }
.hiw-card__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px 26px 0;
  text-align: center;
}
.hiw-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: var(--primary-soft);
  border: 1px solid rgba(122, 155, 255, 0.28);
  color: var(--primary-bright);
}
.hiw-card__icon svg,
.hiw-card__icon .animated-icon { width: 26px; height: 26px; }
.hiw-card__icon .animated-icon svg { filter: brightness(0) invert(1); }
.hiw-card__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.hiw-card h3 { font-size: 1.45rem; letter-spacing: -0.03em; }
.hiw-card p { max-width: 34ch; color: #fff; font-size: 0.94rem; }
.hiw-card p a { color: var(--primary-bright); border-bottom: 1px solid currentColor; }
.hiw-card__art {
  width: 100%;
  height: 230px;
  margin-top: auto;
  object-fit: contain;
  object-position: center bottom;
  padding: 12px 12px 0;
}
.hiw-card__arrow {
  display: none;
}
.hiw__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
@media (min-width: 980px) {
  .hiw-card__arrow {
    position: absolute;
    z-index: 2;
    top: 38%;
    right: -46px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: var(--bg);
    color: var(--muted);
  }
  .hiw-card__arrow svg { width: 18px; height: 18px; }
}
@media (max-width: 979px) {
  .hiw__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .hiw-card { flex-direction: row; align-items: stretch; }
  .hiw-card__copy { align-items: flex-start; text-align: left; padding: 20px 8px 20px 20px; flex: 1; }
  .hiw-card__art { width: 42%; height: auto; min-height: 150px; align-self: end; padding: 12px 0 0; }
}

/* ============ HOW IT WORKS (TIMELINE) ============ */
.how { position: relative; }
.how__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.how__intro .section-head { margin-bottom: 0; }
.how__shot {
  margin: 0;
  height: clamp(240px, 28vw, 360px);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
}
.how__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% 40%;
  transition: transform 0.7s var(--ease-out);
}
.how__shot:hover img { transform: scale(1.04); }
@media (max-width: 800px) {
  .how__intro { grid-template-columns: 1fr; }
  .how__shot { height: 220px; }
}
.how__steps {
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.how__steps::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 118px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary) 20%, var(--primary-bright) 50%, var(--primary) 80%, transparent);
  opacity: 0.6;
}
.how-step {
  position: relative;
  padding: 28px 28px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(14, 22, 40, 0.85), rgba(6, 10, 21, 0.85));
  backdrop-filter: blur(8px);
  transition: border-color 0.4s, transform 0.5s var(--ease-out);
}
.how-step:hover { border-color: var(--border-strong); transform: translateY(-6px); }
.how-step__media {
  display: grid;
  place-items: center;
  height: 180px;
  margin: -8px -8px 24px;
  border-radius: 18px;
  /* Ice-white plate: the product renders ship on white, so multiply blends them in cleanly */
  background:
    radial-gradient(circle at 50% 120%, rgba(59, 107, 255, 0.55), transparent 60%),
    linear-gradient(180deg, #F4F7FF 0%, #DCE5FF 100%);
  border: 1px solid rgba(160, 185, 255, 0.35);
  overflow: hidden;
}
.how-step__media img {
  width: 150px;
  height: auto;
  mix-blend-mode: multiply;
  filter: saturate(0) contrast(1.05);
  transition: transform 0.6s var(--ease-out);
}
.how-step:hover .how-step__media img { transform: scale(1.08) rotate(-3deg); }
.how-step__num {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(122, 155, 255, 0.5);
}
.how-step__eyebrow { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary-bright); margin-bottom: 10px; }
.how-step h3 { font-size: 1.55rem; margin-bottom: 10px; }
.how-step p { color: var(--muted); font-size: 0.96rem; }
.how__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 48px; }
@media (max-width: 900px) {
  .how__steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .how__steps::before { display: none; }
}

/* ============ THE CLIMB ============ */
.rise .container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 28px;
}
.rise__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(32px, 4vw, 56px) clamp(28px, 4vw, 56px) clamp(16px, 2vw, 32px) clamp(28px, 4vw, 64px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(140, 165, 255, 0.16);
  background:
    radial-gradient(70% 80% at 82% 78%, rgba(59, 107, 255, 0.28), transparent 62%),
    radial-gradient(40% 50% at 70% 40%, rgba(10, 22, 64, 0.8), transparent 70%),
    #05070e;
  overflow: hidden;
}
.rise__copy .section__title {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  color: #f2f5ff;
}
.rise__copy .section__lead { color: #9aa6c3; max-width: 42ch; }
.rise__steps {
  list-style: none;
  display: grid;
  gap: 18px;
  margin-top: 36px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.rise__step {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}
.rise__bar {
  width: 10px;
  height: calc(18px + var(--n) * 18px);
  border-radius: 4px;
  background: linear-gradient(180deg, #d7e4ff 0%, #3b6bff 55%, rgba(11, 26, 74, 0.2) 100%);
  box-shadow: 0 0 18px rgba(90, 150, 255, 0.45);
}
.rise__num {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--primary-bright);
}
.rise__step h3 { font-size: 1.15rem; color: #f2f5ff; margin-bottom: 4px; }
.rise__step p { color: #8591b0; font-size: 0.94rem; max-width: 46ch; }
.rise__figure {
  margin: 0;
  align-self: center;
}
.rise__figure img {
  width: 100%;
  height: auto;
  max-height: 560px;
  margin-inline: auto;
  object-fit: contain;
  object-position: center bottom;
  animation: rise-float 7s ease-in-out infinite;
  filter: drop-shadow(0 30px 40px rgba(20, 60, 160, 0.35));
}
@keyframes rise-float {
  0%, 100% { transform: translateY(8px); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .rise__figure img { animation: none; }
}
@media (max-width: 980px) {
  .rise__panel {
    grid-template-columns: 1fr;
    padding: 28px 22px 8px;
  }
  .rise__figure { order: -1; }
  .rise__figure img { max-height: 320px; object-fit: contain; object-position: center bottom; }
  .rise__steps { margin-top: 28px; }
}

/* ============ PLATFORMS ============ */
.exec__layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.exec__features { display: grid; gap: 4px; margin-top: 40px; }
.exec-feature {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.exec-feature:last-child { border-bottom: 1px solid var(--border); }
.exec-feature__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--primary-soft);
  border: 1px solid rgba(122, 155, 255, 0.25);
  color: var(--primary-bright);
}
.exec-feature__icon .animated-icon { width: 26px; height: 26px; }
.exec-feature__icon .animated-icon svg { filter: brightness(0) invert(1); }
.exec-feature h3 { font-size: 1.15rem; margin-bottom: 4px; }
.exec-feature p { color: var(--muted); font-size: 0.94rem; }

.exec-panel {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(59, 107, 255, 0.28), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--bg-alt));
  box-shadow: 0 40px 90px -40px rgba(59, 107, 255, 0.55), var(--shadow-card);
  overflow: hidden;
}
.exec-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.exec-panel__dots { display: flex; gap: 6px; }
.exec-panel__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(140, 165, 255, 0.25); }
.exec-panel__dots i:first-child { background: var(--primary); }
.exec-panel__tag { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.exec-panel h3 { font-size: 1.8rem; letter-spacing: -0.035em; margin-bottom: 8px; }
.exec-panel > p { color: var(--muted); margin-bottom: 24px; }
.exec-platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.exec-platform {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(3, 5, 11, 0.45);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s, transform 0.4s var(--ease-out);
}
.exec-platform:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.exec-platform.is-active { border-color: var(--primary); background: rgba(59, 107, 255, 0.14); box-shadow: 0 0 0 4px rgba(59, 107, 255, 0.12); }
.exec-platform__logo {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--surface-3);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary-ice);
}
.exec-platform.is-active .exec-platform__logo { background: var(--primary); color: #fff; }
.exec-platform__name { flex: 1; font-size: 0.9rem; font-weight: 600; }
.exec-platform__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(140, 165, 255, 0.25); }
.exec-platform.is-active .exec-platform__dot { background: var(--primary-bright); box-shadow: 0 0 10px var(--primary-bright); }
.exec-panel__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}
.exec-panel__foot strong { color: var(--primary-bright); font-size: 1rem; }
@media (max-width: 900px) {
  .exec__layout { grid-template-columns: 1fr; }
}

.exec__aside { display: grid; align-content: center; }
.exec__shot {
  position: relative;
  z-index: 0;
  height: 230px;
  margin: 0 18px -56px;
  border-radius: 28px 28px 18px 18px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-bottom: 0;
}
.exec__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% 28%;
  transition: transform 0.7s var(--ease-out);
}
.exec__aside:hover .exec__shot img { transform: scale(1.05); }
.exec__shot figcaption {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(3, 5, 11, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.exec__aside .exec-panel { position: relative; z-index: 1; }
@media (max-width: 480px) { .exec-platforms { grid-template-columns: 1fr; } .exec-panel { padding: 20px; } }

/* ============ LIVE COPIES ============ */
.settlements-section { position: relative; }
.settlements-section__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.settlements-section__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 36px; max-width: 420px; }
.settlements-section__facts div { padding: 18px; border-radius: var(--radius); border: 1px solid var(--border); background: rgba(10, 16, 31, 0.6); }
.settlements-section__facts dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.settlements-section__facts dd { margin-top: 6px; font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; letter-spacing: -0.04em; color: var(--text); }
.settlements-section__shot {
  margin: 28px 0 0;
  height: 196px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
}
.settlements-section__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 38%;
  transition: transform 0.7s var(--ease-out);
}
.settlements-section__shot:hover img { transform: scale(1.05); }

.settlements-card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(59, 107, 255, 0.25), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--bg-alt));
  box-shadow: 0 50px 100px -40px rgba(59, 107, 255, 0.45), var(--shadow-card);
}
.settlements-card__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.settlements-card__live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-bright);
}
.settlements-card__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary-bright); animation: live-pulse 2s ease-in-out infinite; }
.settlements-card__amount { margin-top: 6px; font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--text); }
.settlements-card__category { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-align: right; }
.settlements-card__ruler {
  height: 16px;
  margin: 20px 0 6px;
  background: repeating-linear-gradient(90deg, rgba(140, 165, 255, 0.35) 0 1px, transparent 1px 10px);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent);
  mask-image: linear-gradient(180deg, #000 30%, transparent);
}
.settlements-card__viewport {
  height: 360px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000 85%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 10%, #000 85%, transparent);
}
.settlements-card__track { animation: feed-up 32s linear infinite; }
.settlements-card__viewport:hover .settlements-card__track,
.settlements-card__viewport.is-paused .settlements-card__track { animation-play-state: paused; }
@keyframes feed-up { to { transform: translateY(-50%); } }
.settlement-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 6px;
  border-bottom: 1px solid var(--border);
}
.settlement-item__trader { display: flex; align-items: center; gap: 14px; min-width: 0; }
.settlement-item__flag-box {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface-3);
  border: 1px solid var(--border);
}
.settlement-item__flag-box svg { width: 22px; height: 16px; border-radius: 3px; }
.settlement-item__info { min-width: 0; }
.settlement-item__name { font-weight: 600; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.settlement-item__country { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.settlement-item__values { text-align: right; }
.settlement-item__amount { font-family: var(--font-mono); font-weight: 600; color: var(--primary-bright); }
.settlement-item__time { font-size: 0.75rem; color: var(--muted); }
.settlements-card__footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; font-size: 0.82rem; color: var(--muted); }
.settlements-card__link { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary-bright); white-space: nowrap; }
.settlements-card__link:hover { color: var(--text); }
@media (max-width: 900px) { .settlements-section__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .settlements-card { padding: 20px; } .settlements-card__category { display: none; } }

/* ============ TESTIMONIALS ============ */
.testimonials__viewport {
  overflow: hidden;
  padding-block: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.testimonials__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.testimonials__viewport:hover .testimonials__track { animation-play-state: paused; }
.testimonials__set { display: flex; gap: 18px; padding-right: 18px; }
.t-card {
  position: relative;
  width: 340px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}
.t-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.t-card__head { display: flex; align-items: center; gap: 12px; }
.t-card__avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-bright), var(--primary-deep));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}
.testimonials__set .t-card:nth-child(3n + 2) .t-card__avatar { background: linear-gradient(135deg, var(--primary-ice), var(--primary)); color: #0B1A4A; }
.testimonials__set .t-card:nth-child(3n) .t-card__avatar { background: linear-gradient(135deg, #9BB4FF, var(--primary-deep)); color: #fff; }
.t-card__who { min-width: 0; flex: 1; }
.t-card__name { font-size: 1.1rem; }
.t-card__country { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--muted); }
.t-card__flag svg { width: 16px; height: 12px; border-radius: 2px; }
.t-card__badge { padding: 4px 9px; border-radius: 999px; border: 1px solid var(--border-strong); font-family: var(--font-mono); font-size: 0.66rem; color: var(--muted); white-space: nowrap; }
.t-card__quote { font-family: var(--font-serif); font-style: italic; font-size: 1.4rem; line-height: 1.3; color: var(--text); flex: 1; }
.t-card__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.t-card__label { display: block; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.t-card__value { display: block; margin-top: 2px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.t-card__stats div:first-child .t-card__value { color: var(--primary-bright); }
@media (max-width: 480px) { .t-card { width: 290px; } }

/* ============ LEAD TRADERS (always-dark cobalt band) ============ */
.creators {
  position: relative;
  padding-block: clamp(96px, 12vw, 150px);
  overflow: hidden;
  isolation: isolate;
  background: #040A24;
  color: #fff;
}
.creators__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.35; mix-blend-mode: luminosity; }
.creators__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(59, 107, 255, 0.55), transparent 70%),
    linear-gradient(180deg, rgba(4, 10, 36, 0.4), #040A24 92%);
}
.creators .section__title { color: #fff; }
.creators .section__lead { color: rgba(220, 228, 255, 0.72); }
.creators h2 em { background: linear-gradient(100deg, #fff, var(--primary-ice) 50%, var(--primary-bright)); -webkit-background-clip: text; background-clip: text; }
.creators__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-radius: var(--radius-lg); overflow: hidden; background: rgba(160, 185, 255, 0.16); border: 1px solid rgba(160, 185, 255, 0.16); }
.creators__card { padding: 32px 30px; background: rgba(5, 12, 40, 0.82); backdrop-filter: blur(10px); transition: background-color 0.3s; }
.creators__card:hover { background: rgba(14, 28, 80, 0.85); }
.creators__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(122, 155, 255, 0.3), rgba(59, 107, 255, 0.1));
  border: 1px solid rgba(160, 185, 255, 0.3);
  color: #fff;
}
.creators__card h3 { color: #fff; font-size: 1.25rem; margin-bottom: 8px; }
.creators__card p { color: rgba(220, 228, 255, 0.68); font-size: 0.94rem; }
.creators__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 48px; }
@media (max-width: 900px) { .creators__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .creators__grid { grid-template-columns: 1fr; } .creators__card { padding: 26px 22px; } }

/* ============ CUSTOMER SUPPORT ============ */
.csupport__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.csupport__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.csupport__contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.csupport__contacts span { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.csupport__contacts a { font-weight: 600; word-break: break-word; transition: color 0.25s; }
.csupport__contacts a:hover { color: var(--primary-bright); }
.csupport__card {
  padding: 14px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, var(--surface-2), var(--bg-alt));
  box-shadow: 0 50px 100px -50px rgba(59, 107, 255, 0.5);
  overflow: hidden;
}
.csupport__photo { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; }
.csupport__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  transition: transform 0.8s var(--ease-out);
}
.csupport__card:hover .csupport__photo img { transform: scale(1.05); }
.csupport__photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(3, 5, 11, 0.45));
  pointer-events: none;
}
.csupport__mark {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--primary-soft);
  border: 1px solid rgba(122, 155, 255, 0.28);
}
.csupport__mark svg { filter: brightness(0) invert(1); }
html[data-theme="light"] .csupport__mark svg { filter: none; }
.csupport__live {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(3, 5, 11, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
}
.csupport__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary-bright); animation: live-pulse 2s ease-in-out infinite; }
.csupport__langs { display: grid; gap: 10px; padding: 18px 0 8px; }
.csupport__lang-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.csupport__lang-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.csupport__lang-row.is-reverse .csupport__lang-track { animation-direction: reverse; }
.csupport__lang-set { display: flex; gap: 8px; padding-right: 8px; }
.csupport__chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border); background: rgba(3, 5, 11, 0.5); font-size: 0.82rem; white-space: nowrap; color: var(--text-soft); }
.csupport__flag svg { width: 18px; height: 13px; border-radius: 2px; }
.csupport__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); margin: 8px -14px -14px; }
.csupport__stats div { padding: 18px 20px; }
.csupport__stats div + div { border-left: 1px solid var(--border); }
.csupport__stats strong { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
.csupport__stats span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .csupport__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .csupport__contacts { grid-template-columns: 1fr; } .csupport__stats div { padding: 14px 12px; } .csupport__stats strong { font-size: 1.4rem; } }

/* ============ STORY TIMELINE ============ */
.history .container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 28px;
}
.history__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}
.history__stage { position: relative; min-width: 0; }
.history__frame {
  position: sticky;
  top: 128px;
  width: min(100%, 520px);
}
.history__caption {
  display: flex;
  align-items: flex-end;
  height: 4.6rem;
  margin-bottom: 16px;
  max-width: 16em;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--text);
}
.history__stack {
  position: relative;
  height: 335px;
}
.history__shot {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.45), 0 24px 50px -28px rgba(0, 0, 0, 0.85);
  opacity: 0;
  z-index: 0;
  transition: opacity 0.45s var(--ease-out);
}
.history__shot.is-active { opacity: 1; z-index: 1; }
.history__shot img,
.history__entry-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.history__entries { position: relative; min-width: 0; padding-top: calc(4.6rem + 16px); }
.history__rail {
  position: absolute;
  left: 168px;
  top: 10px;
  bottom: 0;
  width: 4px;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--text) 24%, transparent) 1.5px, transparent 1.8px);
  background-size: 4px 10px;
  background-repeat: repeat-y;
  pointer-events: none;
}
.history__rail::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--history-fill, 0px);
  background-image: radial-gradient(circle, var(--text) 1.5px, transparent 1.8px);
  background-size: 4px 10px;
  background-repeat: repeat-y;
}
.history__entry {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 48px;
  min-height: 62vh;
  padding-bottom: 28px;
}
.history__year {
  font-size: 1.125rem;
  font-weight: 600;
  text-align: right;
  color: var(--text);
  padding-top: 4px;
}
.history__body h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 600;
}
.history__content {
  margin-top: 10px;
  max-width: 48ch;
  color: var(--muted);
  font-size: 1rem;
  transition: opacity 0.4s var(--ease-out);
}
.history__entry-photo { display: none; }
.history__entry:not(.is-active) .history__content { opacity: 0; }
.history__runway { height: 25vh; }
@media (max-width: 1023px) {
  .history__layout { display: block; }
  .history__stage {
    position: sticky;
    top: 0;
    z-index: 5;
    margin-bottom: 8px;
    padding-top: 82px;
    padding-bottom: 46px;
    background: var(--bg);
  }
  .history__entries { z-index: 1; }
  .history__frame {
    position: relative;
    top: auto;
    width: 100%;
  }
  .history__caption {
    height: auto;
    min-height: 0;
    margin-bottom: 12px;
    max-width: none;
    font-size: 1.45rem;
  }
  .history__stack { height: 200px; }
  .history__entries { padding-top: 4px; }
  .history__rail { display: none; }
  .history__entry {
    display: block;
    min-height: 72vh;
    padding-bottom: 8px;
  }
  .history__year { text-align: left; margin-bottom: 6px; }
  .history__runway { height: 42vh; }
}
[data-theme="light"] .history__shot {
  border-color: var(--border-strong);
  box-shadow: 0 12px 32px -18px rgba(11, 26, 74, 0.35);
}

/* ============ REFERRALS ============ */
.refer .container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 28px;
}
.refer__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.refer__grid .section-head { margin-bottom: 0; max-width: none; }
.refer__points {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.refer__points li {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(10, 16, 31, 0.45);
}
.refer__points strong { font-size: 0.95rem; }
.refer__points span { color: var(--muted); font-size: 0.92rem; }
.refer__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.gsa-map {
  padding: 22px 16px 16px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(90% 50% at 50% 0%, rgba(59, 107, 255, 0.16), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--bg-alt));
  box-shadow: var(--shadow-card);
}
.gsa-main {
  width: min(100%, 250px);
  margin-inline: auto;
  padding: 16px 18px 14px;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background: radial-gradient(120% 90% at 50% 0%, rgba(59, 107, 255, 0.28), transparent 62%), var(--surface);
  text-align: center;
  box-shadow: 0 16px 40px -24px rgba(59, 107, 255, 0.8);
}
.gsa-main small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.gsa-main strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}
.gsa-earn {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--primary-bright);
}
.gsa-earn span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.gsa-wires {
  display: block;
  width: min(100%, 340px);
  height: 78px;
  margin: 2px auto 0;
}
.gsa-wires path {
  fill: none;
  stroke: color-mix(in srgb, var(--primary-bright) 38%, transparent);
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}
.gsa-wires path.flow {
  stroke: var(--primary-bright);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 7 16;
  animation: gsa-flow 2.6s linear infinite;
}
@keyframes gsa-flow { to { stroke-dashoffset: -46; } }
.gsa-subs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.gsa-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 12px 8px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  text-align: center;
}
.gsa-up {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--primary-bright);
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--primary-soft);
  white-space: nowrap;
}
.gsa-av {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, var(--surface-3), var(--navy));
  color: var(--primary-ice);
}
.gsa-av svg,
.gsa-av .animated-icon { width: 22px; height: 22px; }
.gsa-av svg { fill: none; stroke: currentColor; stroke-width: 1.6; }
.gsa-av .animated-icon svg { filter: brightness(0) invert(1); }
.gsa-sub b { font-size: 0.8rem; font-weight: 600; letter-spacing: -0.02em; }
.gsa-keep { font-size: 0.72rem; line-height: 1.35; color: var(--muted); }
.gsa-keep strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
}
.gsa-note {
  margin-top: 14px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted);
}
@media (max-width: 900px) {
  .refer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .gsa-subs { gap: 6px; }
  .gsa-sub { padding: 10px 4px 12px; }
  .gsa-sub b { font-size: 0.7rem; }
  .gsa-up { font-size: 0.58rem; padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .gsa-wires path.flow { animation: none; }
}
[data-theme="light"] .refer__points li { background: rgba(255, 255, 255, 0.72); }

/* ============ FAQ ============ */
.faq-section__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.faq-section__grid .section-head { position: sticky; top: 120px; margin-bottom: 0; }
.faq-section__portrait {
  width: min(100%, 210px);
  height: 268px;
  margin-bottom: 26px;
  border-radius: 120px 120px 22px 22px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
}
.faq-section__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% 18%;
}
.faq { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; width: 100%; }
.faq__item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(10, 16, 31, 0.65);
  transition: border-color 0.3s, background-color 0.3s;
}
.faq__item[open] { border-color: var(--border-strong); background: linear-gradient(180deg, rgba(59, 107, 255, 0.1), rgba(10, 16, 31, 0.65)); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' stroke='%237A9BFF' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.4s var(--ease-out), background-color 0.3s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background-color: var(--primary-soft); }
.faq__item p { padding: 0 22px 22px; color: var(--muted); max-width: 64ch; }
@media (max-width: 900px) {
  .faq-section__grid { grid-template-columns: 1fr; }
  .faq-section__grid .section-head { position: static; }
  .faq-section__portrait { width: min(100%, 220px); margin-bottom: 22px; }
}

/* ============ FINAL CTA ============ */
.cta { padding-block: clamp(40px, 6vw, 80px) clamp(90px, 10vw, 130px); text-align: center; }
.cta__panel,
.cta > .container:not(:has(.cta__panel)) {
  position: relative;
  padding: clamp(60px, 9vw, 110px) clamp(24px, 5vw, 60px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(70% 90% at 50% 120%, rgba(122, 155, 255, 0.6), transparent 60%),
    linear-gradient(160deg, #1A3FD9 0%, #0B1A4A 55%, #050A1E 100%);
  border: 1px solid rgba(160, 185, 255, 0.3);
  box-shadow: 0 60px 120px -50px rgba(59, 107, 255, 0.7);
}
.cta > .container:not(:has(.cta__panel)) { max-width: 1184px; }
.cta__panel { text-align: left; padding-right: clamp(24px, 44%, 520px); }
.cta__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  z-index: 0;
  pointer-events: none;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 6% 100%);
}
.cta__panel > :not(.cta__photo):not(.cta__glow) { position: relative; z-index: 1; }
.cta__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 100%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 100%, #000 10%, transparent 70%);
}
.cta__glow { position: absolute; left: 50%; top: -40%; width: 70%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 60%); z-index: -1; }
.cta .kicker { justify-content: flex-start; color: var(--primary-ice); }
.cta h2 { font-size: clamp(2.5rem, 6vw, 5rem); color: #fff; }
.cta h2 em { background: linear-gradient(100deg, #fff, var(--primary-ice)); -webkit-background-clip: text; background-clip: text; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; margin-top: 40px; }
@media (max-width: 800px) {
  .cta__panel { text-align: center; padding-right: clamp(24px, 5vw, 60px); padding-top: 200px; }
  .cta__photo {
    top: 0;
    right: 0;
    left: 0;
    bottom: auto;
    width: 100%;
    height: 190px;
    clip-path: none;
    -webkit-mask-image: linear-gradient(#000 55%, transparent);
    mask-image: linear-gradient(#000 55%, transparent);
  }
  .cta .kicker,
  .cta__actions { justify-content: center; }
}
.cta > .container > .btn { margin-top: 36px; }
.cta > .container > .btn--primary { background: #fff; color: #050814; box-shadow: 0 14px 40px -14px rgba(255, 255, 255, 0.5); }
.cta__note { margin-top: 24px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; color: rgba(220, 228, 255, 0.7); }
.cta__note a { color: #fff; border-bottom: 1px solid currentColor; }

/* ============ FOOTER ============ */
.footer { padding-top: 80px; border-top: 1px solid var(--border); background: linear-gradient(180deg, var(--bg-alt), var(--bg)); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; padding-bottom: 48px; }
.footer__note { margin-top: 18px; max-width: 34ch; font-size: 0.92rem; color: var(--muted); }
.footer__contact { display: grid; gap: 6px; margin-top: 20px; font-size: 0.92rem; }
.footer__contact a { color: var(--text-soft); transition: color 0.25s; }
.footer__contact a:hover { color: var(--primary-bright); }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__col p { margin-bottom: 6px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary-bright); }
.footer__col a { font-size: 0.92rem; color: var(--muted); transition: color 0.25s, transform 0.3s var(--ease-out); }
.footer__col a:hover { color: var(--text); transform: translateX(3px); }
.footer__fine { padding: 24px 0; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--muted); }
.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 19.5vw, 19rem);
  letter-spacing: -0.07em;
  line-height: 0.76;
  text-align: center;
  white-space: nowrap;
  margin-bottom: -0.06em;
  background: linear-gradient(180deg, rgba(122, 155, 255, 0.32), rgba(59, 107, 255, 0.02) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
  pointer-events: none;
}
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } }

/* ============ ABOUT ============ */
.about-hero { padding-bottom: clamp(28px, 4vw, 48px); }
.about-hero__stage {
  position: relative;
  margin: 48px auto 0;
  height: clamp(240px, 42vw, 460px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
}
.about-hero__stage > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.about-hero__chart {
  position: absolute;
  right: -6%;
  bottom: -28%;
  width: min(46%, 420px);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 20%, transparent 72%);
  animation: hero-chart-float 9s ease-in-out infinite;
}
.about-hero__stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  background: linear-gradient(transparent, rgba(3, 5, 11, 0.45));
  pointer-events: none;
}
.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.about-split .section__title { margin-bottom: 18px; }
.about-split .prose { max-width: none; }
.about-split__photo {
  position: relative;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  min-height: 460px;
}
.about-split__photo img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: 50% 30%;
}
.about-split__photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(6, 10, 21, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.82rem;
  backdrop-filter: blur(10px);
}
.about-mission {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  min-height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface);
}
.about-mission__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 56px);
}
.about-mission__copy .section__title { margin-bottom: 16px; }
.about-mission__copy p:last-child { max-width: 42ch; color: var(--muted); font-size: 1.05rem; }
.about-mission__photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: 50% 30%;
}
.section > .container > .section__title:has(+ .about-band) { margin-bottom: 22px; }
.about-band {
  margin: 0 0 22px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  height: clamp(180px, 28vw, 320px);
}
.about-band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.about-people__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.about-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-card);
}
.about-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: 50% 40%;
}
.about-card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(220px, 0.7fr) 1.3fr; }
.about-card--wide img { height: 100%; min-height: 260px; object-position: 50% 30%; }
.about-card > div { padding: 26px 28px 30px; }
.about-card h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin: 8px 0 10px; }
.about-card p:last-child { color: var(--muted); max-width: 62ch; }
@media (max-width: 900px) {
  .about-split,
  .about-mission,
  .about-card--wide { grid-template-columns: 1fr; }
  .about-split__photo,
  .about-split__photo img { min-height: 280px; }
  .about-people__grid { grid-template-columns: 1fr; }
  .about-hero__chart { width: min(52%, 220px); right: -2%; bottom: -10%; }
}
@media (prefers-reduced-motion: reduce) {
  .about-hero__chart { animation: none; }
}

/* ============ SUBPAGE HERO ============ */
.page-hero { position: relative; padding: clamp(70px, 10vw, 130px) 0 clamp(40px, 6vw, 70px); text-align: center; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -30%;
  width: 900px;
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(59, 107, 255, 0.28), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.98; }
.page-hero__desc { margin: 24px auto 0; max-width: 60ch; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--muted); text-align: center; }
.page-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.section .page-hero__desc { margin-bottom: 48px; }

/* ============ CARDS & STEPS (subpages) ============ */
.cards { display: grid; gap: 18px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .step {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-card);
  transition: border-color 0.4s, transform 0.5s var(--ease-out);
}
.card:hover, .step:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.card > svg,
.card > .animated-icon { color: var(--primary-bright); margin-bottom: 20px; padding: 10px; width: 48px; height: 48px; border-radius: 14px; background: var(--primary-soft); border: 1px solid rgba(122, 155, 255, 0.25); }
.animated-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; line-height: 0; }
.animated-icon svg { display: block; width: 100% !important; height: 100% !important; }
.card > .animated-icon svg,
.exec-feature__icon .animated-icon svg { filter: brightness(0) invert(1); }
html[data-theme="light"] .card > .animated-icon svg,
html[data-theme="light"] .exec-feature__icon .animated-icon svg { filter: none; }
.card h3, .step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p, .step p { color: var(--muted); font-size: 0.96rem; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step__num {
  display: block;
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--primary-bright);
}
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .steps, .steps--3, .cards--2, .cards--3 { grid-template-columns: 1fr; } }

/* ============ DOC LAYOUT (Guides & Legal) ============ */
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.doc__nav {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(10, 16, 31, 0.7);
}
.doc__nav p { margin-bottom: 10px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary-bright); }
.doc__nav a { padding: 7px 10px; border-radius: 8px; font-size: 0.9rem; color: var(--muted); border-left: 2px solid transparent; transition: color 0.25s, background-color 0.25s, border-color 0.25s; }
.doc__nav a:hover { color: var(--text); background: rgba(140, 165, 255, 0.06); }
.doc__nav a.is-active { color: var(--text); background: var(--primary-soft); border-left-color: var(--primary); }
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; gap: 28px; } .doc__nav { position: static; } }

/* ============ PROSE ============ */
.prose { max-width: 74ch; color: var(--text-soft); }
.prose--center { margin-inline: auto; text-align: center; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 56px 0 16px; padding-top: 8px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin: 32px 0 10px; }
.prose h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin: 24px 0 8px; color: var(--primary-ice); }
.prose p, .prose li { color: var(--text-soft); font-size: 1rem; line-height: 1.75; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { margin: 14px 0 14px 1.3em; display: grid; gap: 8px; }
.prose li::marker { color: var(--primary-bright); }
.prose a { color: var(--primary-bright); border-bottom: 1px solid rgba(122, 155, 255, 0.4); transition: border-color 0.25s; }
.prose a:hover { border-color: var(--primary-bright); }
.prose strong { color: var(--text); }

/* ============ FORMS ============ */
.form { display: grid; gap: 18px; max-width: 640px; margin: 0 auto; padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--border-strong); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 0.85rem; font-weight: 500; color: var(--text-soft); }
.form input, .form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(3, 5, 11, 0.6);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: var(--muted); opacity: 0.7; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(59, 107, 255, 0.18); }
.form__btn { justify-self: start; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } .form { padding: 22px; } }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ============ LIGHT MODE — "Ice" (white · black · cobalt) ============ */
html[data-theme="light"] {
  --bg: #F6F8FF;
  --bg-alt: #EEF2FD;
  --surface: #FFFFFF;
  --surface-2: #FFFFFF;
  --surface-3: #E8EEFF;
  --border: rgba(10, 20, 60, 0.09);
  --border-strong: rgba(10, 20, 60, 0.16);
  --text: #070B1A;
  --text-soft: #2A3352;
  --muted: #5B6585;
  --primary: #2F5BFF;
  --primary-deep: #1A3FD9;
  --primary-bright: #2F5BFF;
  --primary-soft: rgba(47, 91, 255, 0.08);
  --shadow-card: 0 1px 2px rgba(10, 20, 60, 0.04), 0 24px 50px -30px rgba(10, 20, 60, 0.25);
  color-scheme: light;
}
html[data-theme="light"] body::after { opacity: 0.02; }
html[data-theme="light"] .page-bg::before {
  background:
    linear-gradient(rgba(10, 20, 60, 0.05) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(90deg, rgba(10, 20, 60, 0.05) 1px, transparent 1px) 0 0 / 80px 80px;
}
html[data-theme="light"] .page-bg__orb { opacity: 0.35; }
html[data-theme="light"] h1 em,
html[data-theme="light"] h2 em,
html[data-theme="light"] h3 em,
html[data-theme="light"] .grad {
  background: linear-gradient(100deg, #5C80FF 0%, var(--primary) 50%, var(--primary-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
html[data-theme="light"] .nav.is-scrolled .nav__shell { background: rgba(255, 255, 255, 0.78); box-shadow: 0 20px 50px -24px rgba(10, 20, 60, 0.3); }
html[data-theme="light"] .btn--ghost { background: rgba(255, 255, 255, 0.7); }
html[data-theme="light"] .hero__badge,
html[data-theme="light"] .hero-float,
html[data-theme="light"] .faq__item,
html[data-theme="light"] .doc__nav,
html[data-theme="light"] .settlements-section__facts div { background: rgba(255, 255, 255, 0.85); }
html[data-theme="light"] .hero-float { box-shadow: 0 24px 50px -24px rgba(10, 20, 60, 0.35); }
html[data-theme="light"] .hero-stats,
html[data-theme="light"] .stats__grid,
html[data-theme="light"] .how-step { background: rgba(255, 255, 255, 0.85); }
html[data-theme="light"] .hero-globe__atmosphere {
  background: radial-gradient(circle at 50% 45%, rgba(47, 91, 255, 0.25) 0%, #0A1230 55%, #050A1E 76%, transparent 100%);
}
html[data-theme="light"] .marquees { background: rgba(255, 255, 255, 0.6); }
html[data-theme="light"] .brokers__logo img { filter: grayscale(1) brightness(0.25); mix-blend-mode: multiply; opacity: 0.55; }
html[data-theme="light"] .bento__card--hero { background: radial-gradient(120% 80% at 0% 0%, rgba(47, 91, 255, 0.12), transparent 55%), #fff; }
html[data-theme="light"] .bento__chart,
html[data-theme="light"] .bento__order,
html[data-theme="light"] .bento__rules li,
html[data-theme="light"] .exec-platform { background: var(--bg); }
html[data-theme="light"] .bento__avatars span { border-color: #fff; }
html[data-theme="light"] .how-step__num { -webkit-text-stroke-color: rgba(47, 91, 255, 0.45); }
html[data-theme="light"] .exec-panel,
html[data-theme="light"] .settlements-card,
html[data-theme="light"] .csupport__card { background: radial-gradient(90% 60% at 100% 0%, rgba(47, 91, 255, 0.12), transparent 60%), #fff; box-shadow: 0 40px 90px -50px rgba(47, 91, 255, 0.5), var(--shadow-card); }
html[data-theme="light"] .settlements-card__ruler { background: repeating-linear-gradient(90deg, rgba(10, 20, 60, 0.25) 0 1px, transparent 1px 10px); }
html[data-theme="light"] .t-card { background: #fff; }
html[data-theme="light"] .prose h4 { color: var(--primary-deep); }
html[data-theme="light"] .csupport__chip { background: var(--bg); }
html[data-theme="light"] .form input,
html[data-theme="light"] .form textarea { background: var(--bg); }
html[data-theme="light"] .footer { background: linear-gradient(180deg, var(--bg-alt), #E4EAFD); }
html[data-theme="light"] .footer__wordmark { background: linear-gradient(180deg, rgba(47, 91, 255, 0.28), rgba(47, 91, 255, 0.02) 85%); -webkit-background-clip: text; background-clip: text; }
html[data-theme="light"] .sidebar__panel { background: radial-gradient(120% 60% at 100% 0%, rgba(47, 91, 255, 0.14), transparent 60%), #fff; }
html[data-theme="light"] .sidebar__backdrop { background: rgba(10, 20, 60, 0.3); }
html[data-theme="light"] .preloader,
html[data-theme="light"] .preloader__pixel::before { background: radial-gradient(ellipse at 50% 60%, #DCE5FF 0%, var(--bg) 60%); }
html[data-theme="light"] .preloader.is-pixels { background: transparent; }
html[data-theme="light"] .preloader__letter { color: var(--text); }
html[data-theme="light"] .preloader__letter--accent { color: var(--primary); }
html[data-theme="light"] .preloader__bar { background: rgba(10, 20, 60, 0.1); }
/* The lead-traders band and CTA panel intentionally stay dark cobalt in light mode for contrast. */
