/* =====================================================================
   QUANTUM AI — Premium AI-powered trading platform
   Design system v4 — "Neural" (electric blue + purple + cyan glow)
   Primary = electric blue → purple · Accent = cyan · Positive = emerald
   NOTE: the --gold-* variable names hold the PRIMARY electric blue and the
   --amber-* variables hold the CYAN accent — legacy names are kept so the
   whole UI stays wired without renaming every class.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* deep cool navy for dark sections */
  --navy-950: #05070f;
  --navy-900: #0a0e1e;
  --navy-800: #10162e;
  --navy-700: #18213f;
  --navy-600: #22305a;

  /* PRIMARY — electric blue → purple (stored under --gold-* for global re-use) */
  --gold-600: #2563eb;
  --gold-500: #3b82f6;
  --gold-400: #60a5fa;
  --gold-300: #93c5fd;
  --gold-100: #dbeafe;
  --gold-grad: linear-gradient(135deg, #3b82f6 0%, #6366f1 45%, #8b5cf6 100%);

  /* ACCENT — cyan neon */
  --amber-700: #0e7490;
  --amber-600: #0891b2;
  --amber-500: #06b6d4;
  --amber-400: #22d3ee;
  --amber-grad: linear-gradient(135deg, #22d3ee 0%, #06b6d4 55%, #0e7490 100%);

  /* Extra AI-trading accents */
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --purple-grad: linear-gradient(135deg, #a855f7 0%, #8b5cf6 55%, #6d28d9 100%);
  --neural-glow: 0 0 24px rgba(59,130,246,.35), 0 0 48px rgba(139,92,246,.22);

  --emerald: #10b981;
  --emerald-600: #059669;
  --red: #ef4444;

  --ink-900: #0b1220;
  --ink-800: #1a2136;
  --ink-600: #434c60;
  --ink-500: #626d84;
  --ink-400: #97a1b6;

  --paper: #ffffff;
  --paper-2: #f4f7fc;
  --paper-3: #eaeff9;
  --line: #e2e7f3;
  --line-2: #eef1f9;

  --shadow-xs: 0 1px 2px rgba(15, 23, 54, 0.06);
  --shadow-sm: 0 4px 14px rgba(15, 23, 54, 0.08);
  --shadow-md: 0 16px 40px rgba(15, 23, 54, 0.11);
  --shadow-lg: 0 30px 80px rgba(15, 23, 54, 0.18);
  --shadow-gold: 0 12px 30px rgba(59, 130, 246, 0.42);
  --shadow-amber: 0 12px 30px rgba(6, 182, 212, 0.42);

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 24px;
  --r-xl: 32px;

  --font-head: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --wrap: 1220px;
  --gutter: clamp(18px, 5vw, 46px);
  --nav-h: 74px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}
body {
  font-family: var(--font-body);
  color: var(--ink-600);
  background: #e9edf7;
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* Ambient accent glow behind the whole site so nothing feels plain-white */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(
      680px 520px at 88% -6%,
      rgba(58, 81, 220, 0.14),
      transparent 60%
    ),
    radial-gradient(
      620px 520px at -8% 12%,
      rgba(217, 169, 65, 0.1),
      transparent 58%
    ),
    radial-gradient(
      720px 620px at 50% 108%,
      rgba(58, 81, 220, 0.1),
      transparent 60%
    );
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
ul {
  list-style: none;
}
input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}
svg {
  display: block;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  color: var(--ink-900);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.4rem, 5vw, 3.85rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 700;
}
h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}
h4 {
  font-size: 1.1rem;
}
p {
  color: var(--ink-500);
}
strong {
  color: var(--ink-800);
}
::selection {
  background: var(--gold-300);
  color: var(--navy-900);
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: clamp(54px, 7vw, 100px) 0;
  position: relative;
}
.section--tight {
  padding: clamp(40px, 5vw, 64px) 0;
}
.section--alt {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  position: relative;
  overflow: hidden;
}
.section--alt::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 81, 220, 0.09), transparent 64%);
  pointer-events: none;
}
.section--alt::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(217, 169, 65, 0.08),
    transparent 64%
  );
  pointer-events: none;
}
.section--alt > .wrap {
  position: relative;
  z-index: 1;
}
/* soft hairline separators for smoother transitions between bands */
.section--alt {
  border-top: 1px solid rgba(58, 81, 220, 0.06);
  border-bottom: 1px solid rgba(58, 81, 220, 0.06);
}
.section--navy {
  background: var(--navy-900);
  color: #c3d0e0;
  position: relative;
  overflow: hidden;
}
.section--navy::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 81, 220, 0.22), transparent 66%);
  filter: blur(30px);
  pointer-events: none;
}
.section--navy::after {
  content: "";
  position: absolute;
  bottom: -25%;
  left: -8%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(217, 169, 65, 0.12),
    transparent 66%
  );
  filter: blur(30px);
  pointer-events: none;
}
.section--navy > .wrap {
  position: relative;
  z-index: 1;
}
.section--navy h2,
.section--navy h3,
.section--navy h4,
.section--navy h5 {
  color: #fff;
}
.section--navy p {
  color: #93a6bd;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 15px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber-grad);
}
.section--navy .eyebrow {
  color: var(--amber-400);
}
.eyebrow.center-e {
  justify-content: center;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(34px, 5vw, 58px);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head p {
  margin-top: 14px;
  font-size: 1.08rem;
}

.grad-text {
  background: var(--amber-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.up-txt {
  color: var(--emerald-600);
}
.down-txt {
  color: var(--red);
}

/* ---------- Buttons ---------- */
.btn {
  --pad: 14px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad);
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.97rem;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s,
    color 0.22s,
    border-color 0.22s;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn--gold {
  background: var(--gold-grad);
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(58, 81, 220, 0.42);
}
.btn--navy {
  background: var(--navy-800);
  color: #fff;
}
.btn--navy:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: #fff;
  color: var(--navy-800);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover {
  border-color: var(--gold-400);
  color: var(--gold-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn--outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.btn--light {
  background: #fff;
  color: var(--navy-800);
}
.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--block {
  width: 100%;
}
.btn--lg {
  padding: 16px 32px;
  font-size: 1.03rem;
  border-radius: 15px;
}
.btn--sm {
  padding: 10px 18px;
  font-size: 0.88rem;
  border-radius: 11px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition:
    background 0.35s,
    box-shadow 0.35s,
    border-color 0.35s;
  border-bottom: 1px solid transparent;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: background;
}
.site-header.transparent {
  background: transparent;
}
/* subtle top scrim so logo/burger always sit on a defined surface over light heroes */
.site-header.transparent:not(.on-dark)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
  z-index: -1;
}
/* Interior pages (dark hero): the body has a light background — extend a dark
   scrim under the transparent header so the light body never peeks through above the hero. */
.site-header.transparent.on-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 30, 0.95) 0%,
    rgba(10, 14, 30, 0.5) 60%,
    rgba(10, 14, 30, 0) 100%
  );
  pointer-events: none;
  z-index: -1;
}
/* Body dark bg on interior pages (added by buildHeader when .page-hero exists) —
   eliminates the light body BG showing above the fixed transparent header. */
body.dark-hero { background-color: #0a1020; }
body.dark-hero::before { display: none; } /* kill the light radial glow from the default body */
.site-header.solid {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 6px 24px rgba(16, 24, 54, 0.09);
  border-bottom-color: rgba(58, 81, 220, 0.1);
}
.site-header.solid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(58, 81, 220, 0.35),
    rgba(217, 169, 65, 0.35),
    transparent
  );
}
.site-header.solid .nav-link {
  color: var(--ink-700, #33415c);
}
.site-header.solid .brand-name {
  color: var(--navy-900);
}
.site-header.solid .brand-tag {
  color: var(--ink-400);
}
.site-header.solid .nav-toggle span {
  background: var(--navy-900);
}
/* Interior pages (dark hero): keep header dark on scroll to match the AI theme */
.site-header.solid.on-dark {
  background: rgba(10, 14, 30, .88);
  border-bottom-color: rgba(59, 130, 246, .28);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}
.site-header.solid.on-dark::after {
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, .55), rgba(139, 92, 246, .55), rgba(34, 211, 238, .55), transparent);
}
.site-header.solid.on-dark .nav-link { color: rgba(255, 255, 255, .9); }
.site-header.solid.on-dark .nav-link:hover { color: #22d3ee; background: rgba(255, 255, 255, .06); }
.site-header.solid.on-dark .nav-link.active { color: #22d3ee; }
.site-header.solid.on-dark .brand-name { color: #fff; }
.site-header.solid.on-dark .brand-tag { color: rgba(255, 255, 255, .55); }
.site-header.solid.on-dark .nav-toggle span { background: #fff; }
.site-header.solid.on-dark .nav-login { color: rgba(255, 255, 255, .9); }
.nav-inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--amber-grad);
  box-shadow: var(--shadow-amber);
}
.brand-mark svg {
  width: 23px;
  height: 23px;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.22rem;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.brand-tag {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-inline {
  display: none;
} /* off-canvas drawer is used on ALL screen sizes */
.nav-link {
  position: relative;
  padding: 9px 13px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 9px;
  transition:
    color 0.2s,
    background 0.2s;
  white-space: nowrap;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-login {
  display: none;
}
.nav-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  position: relative;
  transition: background 0.25s;
}
.nav-toggle:hover {
  background: rgba(128, 128, 128, 0.1);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  margin: 0;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.2s ease;
  transform-origin: center;
}

/* --- Contrast: default = dark text (light homepage hero) --- */
.site-header .nav-link {
  color: var(--ink-800);
}
.site-header .nav-link:hover {
  color: var(--gold-600);
  background: var(--paper-2);
}
.site-header .nav-link.active {
  color: var(--gold-600);
}
.site-header .brand-name {
  color: var(--navy-900);
}
.site-header .brand-tag {
  color: var(--ink-400);
}
.site-header .nav-login {
  color: var(--navy-800);
}
.site-header .nav-login:hover {
  color: var(--gold-600);
}
.site-header .nav-toggle span {
  background: var(--navy-900);
}

/* --- Dark hero (interior pages) + not scrolled = light text --- */
.site-header.transparent.on-dark .nav-link {
  color: rgba(255, 255, 255, 0.9);
}
.site-header.transparent.on-dark .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.site-header.transparent.on-dark .nav-link.active {
  color: var(--gold-300);
}
.site-header.transparent.on-dark .brand-name {
  color: #fff;
}
.site-header.transparent.on-dark .brand-tag {
  color: rgba(255, 255, 255, 0.6);
}
.site-header.transparent.on-dark .nav-login {
  color: rgba(255, 255, 255, 0.92);
}
.site-header.transparent.on-dark .nav-login:hover {
  color: var(--gold-300);
}
.site-header.transparent.on-dark .nav-toggle span {
  background: #fff;
}

/* --- Animated burger → X (gap 5px + line 2px = 7px travel to centre) --- */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
body.nav-lock {
  overflow: hidden;
}

/* Off-canvas drawer is used at every width; the burger keeps its flex layout. */
@media (max-width: 400px) {
  .nav-cta-btn {
    display: none;
  }
}

/* ---------- Off-canvas drawer (fits the viewport, no internal scroll) ---------- */
.drawer-wrap {
  position: fixed;
  inset: 0;
  z-index: 1250;
  pointer-events: none;
}
.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 20, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.drawer {
  position: absolute;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(324px, 86vw);
  background: linear-gradient(
    165deg,
    #0d1730 0%,
    var(--navy-900) 60%,
    #080d1a 100%
  );
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  padding: 20px 22px calc(18px + env(safe-area-inset-bottom));
  transform: translateX(105%);
  transition: transform 0.5s cubic-bezier(0.5, 0, 0.1, 1);
  overflow: hidden;
}
.drawer::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 81, 220, 0.28), transparent 66%);
  filter: blur(20px);
  pointer-events: none;
}
.drawer::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(217, 169, 65, 0.12),
    transparent 66%
  );
  filter: blur(20px);
  pointer-events: none;
}
.drawer-wrap.open {
  pointer-events: auto;
}
.drawer-wrap.open .drawer-overlay {
  opacity: 1;
}
.drawer-wrap.open .drawer {
  transform: none;
}
.drawer > * {
  position: relative;
  z-index: 1;
}
.drawer__head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.drawer__head .brand-mark {
  width: 36px;
  height: 36px;
}
.drawer__close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: grid;
  place-items: center;
  transition: 0.25s;
}
.drawer__close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(90deg);
}
.drawer__close svg {
  width: 17px;
  height: 17px;
}
.drawer__nav {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  /* centre the links when they fit; on short screens fall back to top-aligned +
     scroll so they never overflow onto the logo/header (safe keyword) */
  justify-content: safe center;
  gap: clamp(2px, 1vh, 6px);
  padding: 10px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.drawer__nav::-webkit-scrollbar { width: 0; height: 0; }
.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(9px, 1.3vh, 13px) 14px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 13px;
  transition:
    color 0.2s,
    background 0.2s,
    padding-left 0.25s;
  opacity: 0;
  transform: translateX(20px);
  position: relative;
}
.drawer-wrap.open .drawer__link {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.45s ease,
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    color 0.2s,
    background 0.2s,
    padding-left 0.25s;
  transition-delay: calc(0.14s + var(--i) * 0.055s);
}
.drawer__link svg {
  width: 16px;
  height: 16px;
  color: var(--amber-400);
  opacity: 0;
  transform: translateX(-8px);
  transition: 0.25s;
}
.drawer__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  padding-left: 18px;
}
.drawer__link:hover svg {
  opacity: 1;
  transform: none;
}
.drawer__link.active {
  color: #fff;
  background: linear-gradient(
    90deg,
    rgba(58, 81, 220, 0.28),
    rgba(58, 81, 220, 0.04)
  );
}
.drawer__link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 3px;
  border-radius: 3px;
  background: var(--amber-grad);
}
.drawer__link.active svg {
  opacity: 1;
  transform: none;
}
.drawer__cta {
  flex-shrink: 0;
  display: grid;
  gap: 8px;
  margin: 10px 0;
}
.drawer__cta .btn {
  padding: 12px 20px;
  font-size: 0.93rem;
}
.drawer__foot {
  flex-shrink: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.drawer__contact {
  display: grid;
  gap: 6px;
}
.drawer__contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a6b6cb;
  font-size: 0.84rem;
  transition: color 0.2s;
}
.drawer__contact a:hover {
  color: var(--amber-400);
}
.drawer__contact a svg {
  width: 16px;
  height: 16px;
  color: var(--amber-400);
  flex-shrink: 0;
}
.drawer__soc {
  display: flex;
  gap: 9px;
}
.drawer__soc a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  display: grid;
  place-items: center;
  color: #cdd9e8;
  transition: 0.25s;
}
.drawer__soc a:hover {
  background: var(--gold-grad);
  color: #fff;
  transform: translateY(-2px);
}
.drawer__soc svg {
  width: 16px;
  height: 16px;
}
/* Very short viewports: compress so nothing needs scrolling */
@media (max-height: 680px) {
  .drawer {
    padding-top: 14px;
  }
  .drawer__link {
    font-size: 1rem;
    padding: 8px 14px;
  }
  .drawer__email {
    display: none;
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 54px) 0 70px;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfcff 0%, #ffffff 70%);
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  z-index: 0;
}
.hero__blob.b1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(34, 211, 238, 0.28),
    transparent 68%
  );
  top: -160px;
  right: -120px;
}
.hero__blob.b2 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 66%);
  bottom: -180px;
  left: -140px;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 50px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-600);
  margin-bottom: 24px;
}
.pill-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}
.pill-badge b {
  color: var(--ink-900);
}

.hero h1 em {
  font-style: normal;
  background: var(--amber-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  margin-top: 20px;
  font-size: 1.14rem;
  color: var(--ink-500);
  max-width: 540px;
}
.hero__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.hero__chips {
  margin-top: 34px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.hero__chips .n {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--ink-900);
  line-height: 1;
}
.hero__chips .l {
  font-size: 0.8rem;
  color: var(--ink-400);
  margin-top: 5px;
}
.hero__trust {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--ink-500);
}
.hero__trust .stars {
  color: var(--amber-500);
  letter-spacing: 2px;
}

/* hero right: device + signup */
.hero__stage {
  position: relative;
  z-index: 1;
}
.device {
  position: relative;
  z-index: 1;
  width: 300px;
  margin: 0 auto;
  border-radius: 42px;
  background: linear-gradient(160deg, #10203a, #0a1424);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: deviceFloat 6s ease-in-out infinite;
  will-change: transform;
}
.device::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #0a1424;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}
@keyframes deviceFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-0.6deg);
  }
  50% {
    transform: translateY(-14px) rotate(0.6deg);
  }
}
.dev-glow {
  position: absolute;
  inset: -12% -8% -8% -8%;
  z-index: 0;
  background: radial-gradient(
    circle at 60% 40%,
    rgba(212, 178, 62, 0.35),
    transparent 62%
  );
  filter: blur(40px);
  animation: devGlow 6s ease-in-out infinite;
}
@keyframes devGlow {
  0%,
  100% {
    opacity: 0.5;
    transform: translateY(0);
  }
  50% {
    opacity: 0.85;
    transform: translateY(-10px);
  }
}
.dev-row {
  animation: devRow 0.6s ease both;
}
.dev-list .dev-row:nth-child(1) {
  animation-delay: 0.15s;
}
.dev-list .dev-row:nth-child(2) {
  animation-delay: 0.3s;
}
.dev-list .dev-row:nth-child(3) {
  animation-delay: 0.45s;
}
.dev-list .dev-row:nth-child(4) {
  animation-delay: 0.6s;
}
@keyframes devRow {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Mobile live-market widget (shown when the device is hidden on phones) */
.hero-widget {
  display: none;
  background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 18px;
}
.hero-widget__head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9fb2c8;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.hw-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: hwPulse 1.8s infinite;
}
@keyframes hwPulse {
  50% {
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }
}
.hero-widget__rows {
  display: grid;
  gap: 8px;
}
.hw-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 9px 11px;
}
.hw-ic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.hw-nm {
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
}
.hw-val {
  margin-left: auto;
  color: #cdd9e8;
  font-size: 0.86rem;
  font-weight: 600;
  font-family: var(--font-head);
}
.hw-chg {
  font-size: 0.78rem;
  font-weight: 700;
  min-width: 52px;
  text-align: right;
}
.hw-chg.up {
  color: #35d08a;
}
.hw-chg.down {
  color: #ff6b66;
}
.hero-widget canvas {
  margin-top: 10px;
}
.device__screen {
  border-radius: 32px;
  background: #fff;
  overflow: hidden;
  height: 560px;
  display: flex;
  flex-direction: column;
}
.dev-top {
  background: var(--navy-900);
  color: #fff;
  padding: 30px 18px 16px;
}
.dev-top .lbl {
  font-size: 0.72rem;
  color: #8ea3bc;
}
.dev-top .bal {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.7rem;
  margin-top: 2px;
}
.dev-top .chg {
  font-size: 0.78rem;
  color: #35d08a;
  margin-top: 2px;
}
.dev-chart {
  padding: 8px 10px 4px;
  background: var(--navy-900);
}
.dev-list {
  padding: 12px;
  display: grid;
  gap: 8px;
  overflow: hidden;
}
.dev-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--paper-2);
}
.dev-row .ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
}
.dev-row .nm {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-900);
}
.dev-row .sub {
  font-size: 0.68rem;
  color: var(--ink-400);
}
.dev-row .val {
  margin-left: auto;
  text-align: right;
}
.dev-row .p {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-900);
}
.dev-row .d {
  font-size: 0.68rem;
  font-weight: 600;
}

.signup-card {
  position: absolute;
  z-index: 3;
  right: -20px;
  bottom: -30px;
  width: 300px;
  border-radius: var(--r-lg);
  padding: 26px 22px 22px;
  overflow: hidden;
  border: 1.5px solid transparent;
  background:
    linear-gradient(180deg, #ffffff, #fbfcff) padding-box,
    linear-gradient(
        135deg,
        rgba(240, 207, 130, 0.85),
        rgba(217, 169, 65, 0.45) 55%,
        rgba(240, 207, 130, 0.75)
      )
      border-box;
  box-shadow:
    0 34px 80px rgba(16, 24, 54, 0.26),
    0 4px 14px rgba(16, 24, 54, 0.08),
    0 0 44px rgba(217, 169, 65, 0.16);
}
.signup-card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -35%;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(217, 169, 65, 0.16),
    transparent 66%
  );
  pointer-events: none;
}
.signup-card > * {
  position: relative;
}
.signup-card h3 {
  font-size: 1.2rem;
  position: relative;
}
.signup-card .sub {
  font-size: 0.82rem;
  color: var(--ink-400);
  margin: 4px 0 15px;
  position: relative;
}
.signup-card > * {
  position: relative;
}

/* ---------- Registration form ---------- */
.reg-form {
  display: grid;
  gap: 11px;
}
.reg-form .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
.reg-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink-900);
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    background 0.25s,
    transform 0.2s;
}
.reg-form input::placeholder {
  color: var(--ink-400);
}
.reg-form input:hover {
  border-color: var(--gold-300);
}
.reg-form input:focus {
  outline: none;
  border-color: var(--gold-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(58, 81, 220, 0.16);
  transform: translateY(-1px);
}
.reg-form button[type="submit"] {
  margin-top: 5px;
  position: relative;
  overflow: hidden;
}
.reg-form button[type="submit"]::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.6s ease;
}
.reg-form button[type="submit"]:hover::after {
  left: 130%;
}
.reg-form button[type="submit"]:disabled {
  cursor: not-allowed;
}

/* ---- intl-tel-input — styled to match the Quantum form design ---- */
.reg-form .iti {
  display: block;
  width: 100%;
}
.reg-form .iti > input[type="tel"] {
  width: 100%;
}
.reg-form .iti input:focus {
  transform: none;
} /* keep flag aligned on focus */
.iti__selected-flag {
  border-radius: 12px 0 0 12px;
  padding: 0 10px 0 13px;
  outline: none;
}
.iti--separate-dial-code .iti__selected-flag {
  background-color: rgba(58, 81, 220, 0.06);
}
.iti--separate-dial-code .iti__selected-flag:hover,
.iti--separate-dial-code .iti__selected-flag:focus {
  background-color: rgba(58, 81, 220, 0.11);
}
.iti__selected-dial-code {
  font-weight: 600;
  color: var(--ink-900);
  font-size: 0.92rem;
}
.iti__arrow {
  border-top-color: var(--ink-400);
}
.iti__arrow--up {
  border-bottom-color: var(--ink-400);
}
.iti__country-list {
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow-lg);
  background: #fff;
  padding: 6px;
  margin: 6px 0 0 -1px;
  max-height: min(232px, 42vh);
  min-width: 264px;
  max-width: min(340px, 86vw);
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 50;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-400) transparent;
  -webkit-overflow-scrolling: touch;
}
.iti__country-list::-webkit-scrollbar {
  width: 8px;
}
.iti__country-list::-webkit-scrollbar-track {
  background: transparent;
}
.iti__country-list::-webkit-scrollbar-thumb {
  background: var(--gold-300);
  border-radius: 50px;
  border: 2px solid #fff;
}
.iti__country-list::-webkit-scrollbar-thumb:hover {
  background: var(--gold-500);
}
/* On real phones intl-tel-input appends the dropdown to <body> inside .iti--container.
   Its stock z-index (1060) sits BEHIND our chat (1150) and popup (1200) — the list
   opened invisibly. Lift it above every overlay and style the fullscreen picker. */
.iti--container {
  z-index: 1500;
}
.iti-mobile .iti--container {
  position: fixed;
  top: max(24px, env(safe-area-inset-top));
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 16px;
  right: 16px;
}
.iti-mobile .iti--container::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 20, 0.55);
  z-index: -1;
}
.iti-mobile .iti__country-list {
  width: 100%;
  max-width: none;
  max-height: 100%;
  margin: 0;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(6, 10, 20, 0.5);
}
.iti-mobile .iti__country {
  padding: 13px 14px;
  font-size: 1rem;
}
.iti__country-list--dropup {
  margin: 0 0 6px -1px;
}
.iti__country {
  border-radius: 9px;
  padding: 9px 11px;
  color: var(--ink-900);
  font-size: 0.9rem;
}
.iti__country .iti__country-name {
  color: var(--ink-900);
}
.iti__country .iti__dial-code {
  color: var(--ink-400);
}
.iti__country.iti__highlight {
  background-color: rgba(58, 81, 220, 0.12);
}
.iti__country:hover {
  background-color: rgba(58, 81, 220, 0.08);
}
.iti__divider {
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
  padding-bottom: 6px;
}
.form-fine {
  font-size: 0.72rem;
  color: var(--ink-400);
  text-align: center;
  margin-top: 2px;
  line-height: 1.5;
}
.form-fine a {
  color: var(--gold-600);
  text-decoration: underline;
}
.form-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  flex-wrap: wrap;
}
.form-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--ink-400);
}
.form-badges svg {
  width: 14px;
  height: 14px;
  color: var(--emerald-600);
}
.lead-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--r-lg);
  padding: 32px 30px;
  box-shadow: 0 30px 70px rgba(16, 24, 54, 0.16);
  border: 1px solid var(--line-2);
  overflow: hidden;
}
.lead-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-grad);
}
.lead-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 81, 220, 0.14), transparent 66%);
  pointer-events: none;
}
.lead-card > * {
  position: relative;
}
.lead-card h3 {
  font-size: 1.5rem;
}
.lead-card .sub {
  color: var(--ink-400);index.php
  font-size: 0.92rem;
  margin: 6px 0 18px;
}

/* ---------- Ticker ---------- */
/* Mobile-stable marquee: the movement is driven by JS (scrollLeft + rAF, see index.html).
   A CSS transform animation promotes one giant compositor layer (track width × device
   pixel ratio exceeds mobile GPU texture limits) which real phones drop/re-rasterize —
   the classic freeze/disappear/reappear. Scrolling content is tiled natively instead. */
.ticker {
  background: var(--navy-950);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  contain: content;
}
.ticker__track {
  display: flex;
  gap: 40px;
  padding: 12px 0;
  white-space: nowrap;
  width: max-content;
  /* GPU-composited transform marquee: no per-frame scrollLeft reflow/repaint */
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c9d6e6;
  font-size: 0.86rem;
  font-weight: 500;
  flex-shrink: 0;
}
.ticker__item .sym {
  color: #fff;
  font-weight: 700;
}
.ticker__item .up {
  color: #35d08a;
}
.ticker__item .down {
  color: #ff6b66;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 52px);
}
.trust-strip span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink-400);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Prevent grid/flex children from forcing tracks wider than the viewport
   (a wide child like a table would otherwise overflow the column). */
.split > *,
.grid > *,
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.stats-band > *,
.metric-grid > *,
.steps > *,
.compare > *,
.calc > *,
.footer-grid > * {
  min-width: 0;
}
.chart-card,
.table-wrap,
.metric-grid,
.calc__result,
.calc__controls {
  min-width: 0;
  max-width: 100%;
}
.chart-card canvas,
.calc__result canvas {
  max-width: 100%;
}

/* ---------- Grids & cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #e8edff, #d7e0ff);
  color: var(--gold-600);
}
.tip-num {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  margin-bottom: 16px;
  background: var(--gold-grad);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: var(--shadow-amber);
}
.card__icon svg {
  width: 26px;
  height: 26px;
}
.card h3 {
  margin-bottom: 9px;
  font-size: 1.28rem;
}
.card p {
  font-size: 0.95rem;
}
.card--soft {
  background: var(--paper-2);
  border-color: transparent;
}

.section--navy .card {
  background: var(--navy-800);
  border-color: rgba(255, 255, 255, 0.08);
}
.section--navy .card:hover {
  border-color: rgba(212, 178, 62, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}
.section--navy .card p {
  color: #93a6bd;
}
.section--navy .card__icon {
  background: rgba(212, 178, 62, 0.14);
  color: var(--gold-300);
}

/* ---------- Instrument (market) cards w/ sparkline ---------- */
.inst-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
  text-align: left;
}
.inst-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.inst-card__top {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}
.inst-ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.78rem;
  color: #fff;
  flex-shrink: 0;
}
.inst-card__top .nm {
  font-weight: 700;
  color: var(--ink-900);
  font-family: var(--font-head);
  line-height: 1.1;
}
.inst-card__top .sym {
  font-size: 0.72rem;
  color: var(--ink-400);
}
.inst-spark {
  height: 46px;
  margin: 6px 0 12px;
}
.inst-card__bot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.inst-card__bot .price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink-900);
}
.inst-chg {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 8px;
}
.inst-chg.up {
  color: var(--emerald-600);
  background: rgba(16, 185, 129, 0.1);
}
.inst-chg.down {
  color: var(--red);
  background: rgba(239, 68, 68, 0.1);
}

/* ---------- Stats band ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  text-align: center;
  padding: 14px;
}
.stat .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  color: #fff;
  line-height: 1;
}
.stat .num .suffix {
  color: var(--gold-400);
}
.stat .lbl {
  margin-top: 11px;
  color: #93a6bd;
  font-size: 0.9rem;
}
.stat + .stat {
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}
.stats-band.light .stat .num {
  color: var(--navy-900);
}
.stats-band.light .stat .lbl {
  color: var(--ink-400);
}
.stats-band.light .stat + .stat {
  border-left-color: var(--line);
}

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
.split.rev .split__media {
  order: 2;
}
.split__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split__media img {
  width: 100%;
  aspect-ratio: 4/3.3;
  object-fit: cover;
}
.split__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  right: 20px;
  background: rgba(10, 20, 36, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 16px 18px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 15px;
}
.split__badge .big {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--gold-400);
  line-height: 1;
}
.split__badge small {
  color: #b9c8db;
  font-size: 0.8rem;
}
.check-list {
  margin-top: 24px;
  display: grid;
  gap: 13px;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-600);
}
.check-list .tick {
  flex-shrink: 0;
  width: 23px;
  height: 23px;
  border-radius: 7px;
  background: linear-gradient(135deg, #e8edff, #d7e0ff);
  color: var(--gold-600);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.check-list .tick svg {
  width: 13px;
  height: 13px;
}
.check-list strong {
  color: var(--ink-900);
}
.section--navy .check-list li {
  color: #c3d0e0;
}
.section--navy .check-list strong {
  color: #fff;
}
.section--navy .check-list .tick {
  background: rgba(212, 178, 62, 0.16);
  color: var(--gold-300);
}

/* ---------- Carousel / slider ---------- */
.slider {
  position: relative;
}
.slider__viewport {
  overflow: hidden;
}
.slider__track {
  display: flex;
  align-items: stretch;
  transition: transform 0.5s cubic-bezier(0.22, 0.8, 0.24, 1);
}
.slider__slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 10px;
  display: flex;
}
.slider__slide > * {
  width: 100%;
  height: 100%;
}
.slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.slider__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--navy-800);
  display: grid;
  place-items: center;
  transition: 0.22s;
  box-shadow: var(--shadow-xs);
}
.slider__btn:hover {
  background: var(--gold-grad);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.slider__btn svg {
  width: 20px;
  height: 20px;
}
.slider__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.slider__dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
  transition: 0.25s;
}
.slider__dots button.active {
  width: 26px;
  border-radius: 50px;
  background: var(--gold-grad);
}
.section--navy .slider__btn {
  background: var(--navy-800);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.section--navy .slider__dots button {
  background: rgba(255, 255, 255, 0.2);
}

/* multi-per-view slides sizing handled by JS via flex-basis vars */
.slider[data-per="3"] .slider__slide {
  flex-basis: 33.3333%;
}
.slider[data-per="2"] .slider__slide {
  flex-basis: 50%;
}

/* ---------- Market/asset feature card (in carousel) ---------- */
.market-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  height: 100%;
}
.market-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s;
}
.market-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(6, 13, 26, 0.94) 6%,
    rgba(6, 13, 26, 0.34) 60%,
    rgba(6, 13, 26, 0.12)
  );
}
.market-card:hover img {
  transform: scale(1.07);
}
.market-card__body {
  padding: 24px;
  width: 100%;
}
.market-card__sym {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 7px;
}
.market-card h3 {
  color: #fff;
}
.market-card p {
  color: #c4d2e4;
  font-size: 0.88rem;
  margin-top: 7px;
}
.market-card__meta {
  display: flex;
  gap: 16px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.market-card__meta .k {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #93a6bd;
}
.market-card__meta .v {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}
.market-card__meta .v.up {
  color: #35d08a;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--gold-400), rgba(212, 178, 62, 0.12));
}
.tl-item {
  position: relative;
  padding: 0 0 38px 76px;
}
.tl-item:last-child {
  padding-bottom: 0;
}
.tl-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--gold-grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: var(--shadow-gold);
}
.tl-item h3 {
  margin-bottom: 7px;
}
.tl-item .yr {
  font-size: 0.78rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 700;
}
.section--navy .tl-item .yr {
  color: var(--gold-300);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 24px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.step__n {
  counter-increment: step;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.4rem;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}
.step__n::before {
  content: "0" counter(step);
}
.step h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.step p {
  font-size: 0.92rem;
}

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
table.data {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: #fff;
}
table.data th,
table.data td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line-2);
}
table.data thead th {
  background: var(--navy-800);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
}
table.data tbody tr:last-child td {
  border-bottom: none;
}
table.data tbody tr:hover {
  background: var(--paper-2);
}
table.data td {
  color: var(--ink-600);
  font-size: 0.94rem;
}
table.data td strong {
  color: var(--ink-900);
}
.badge-up {
  color: var(--emerald-600);
  font-weight: 700;
}
.badge-down {
  color: var(--red);
  font-weight: 700;
}
.pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.77rem;
  font-weight: 600;
}
.pill.high {
  background: #e6f7ef;
  color: var(--emerald-600);
}
.pill.mid {
  background: #fdf3df;
  color: #b7851b;
}
.pill.low {
  background: #fdecec;
  color: var(--red);
}

/* ---------- Charts ---------- */
.chart-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  box-shadow: var(--shadow-xs);
}
.chart-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.chart-card__head h3 {
  font-size: 1.15rem;
}
.chart-card__head .val {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink-900);
}
.chart-card__head .chg {
  font-size: 0.84rem;
  font-weight: 700;
}
.chart-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--ink-500);
}
.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.chart-legend i {
  width: 12px;
  height: 12px;
  border-radius: 4px;
}
.chart-tabs {
  display: inline-flex;
  gap: 3px;
  background: var(--paper-2);
  padding: 4px;
  border-radius: 11px;
}
.chart-tabs button {
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-400);
  transition: 0.2s;
}
.chart-tabs button.active {
  background: #fff;
  color: var(--navy-800);
  box-shadow: var(--shadow-xs);
}
canvas {
  display: block;
  width: 100%;
}

.perf-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.perf-grid > * {
  min-width: 0;
}
@media (max-width: 860px) {
  .perf-grid {
    grid-template-columns: 1fr;
  }
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 20px;
}
.metric .k {
  font-size: 0.78rem;
  color: var(--ink-400);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.metric .v {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--ink-900);
  margin: 5px 0 2px;
}
.metric .d {
  font-size: 0.82rem;
  font-weight: 700;
}
.section--navy .metric {
  background: var(--navy-800);
  border-color: rgba(255, 255, 255, 0.08);
}
.section--navy .metric .v {
  color: #fff;
}

/* progress bars */
.prog-row {
  margin-bottom: 16px;
}
.prog-row .top {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 6px;
}
.prog-track {
  height: 8px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.prog-track.on-light {
  background: var(--paper-3);
}
.prog-fill {
  height: 100%;
  background: var(--gold-grad);
  border-radius: 50px;
}

/* ---------- Accordion ---------- */
.accordion {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.acc-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  transition:
    box-shadow 0.3s,
    border-color 0.3s;
}
.acc-item.open {
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 178, 62, 0.5);
}
.acc-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink-900);
}
.acc-q .ic {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  transition: 0.3s;
  color: var(--gold-600);
}
.acc-item.open .acc-q .ic {
  background: var(--gold-grad);
  color: #fff;
  transform: rotate(45deg);
}
.acc-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.acc-a p {
  padding: 0 24px 22px;
  color: var(--ink-500);
  font-size: 0.96rem;
}

/* ---------- Tabs ---------- */
.tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 30px;
}
.tabs__btn {
  padding: 11px 20px;
  border-radius: 50px;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--ink-600);
  font-weight: 600;
  font-size: 0.92rem;
  transition: 0.22s;
}
.tabs__btn:hover {
  border-color: var(--gold-300);
  color: var(--gold-600);
}
.tabs__btn.active {
  background: var(--gold-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.tabs__panel {
  display: none;
  animation: tabIn 0.45s ease;
}
.tabs__panel.active {
  display: block;
}
@keyframes tabIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
.tabs__panel .split {
  align-items: center;
}
.edu-visual {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border-radius: var(--r-lg);
  padding: 32px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.edu-visual::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(217, 169, 65, 0.22),
    transparent 66%
  );
}
.edu-visual .big {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  background: var(--amber-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.edu-visual .cap {
  color: #9fb2c8;
  font-size: 0.9rem;
  margin-top: 6px;
}
.edu-visual .rows {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  position: relative;
}
.edu-visual .rows > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}
.edu-visual .rows > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.edu-visual .rows b {
  color: #fff;
  font-family: var(--font-head);
}

/* ---------- Investment calculator ---------- */
.calc {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-2);
  background: #fff;
}
.calc__controls {
  padding: clamp(26px, 3vw, 40px);
  background: var(--paper-2);
}
.calc__controls h3 {
  margin-bottom: 6px;
}
.calc__controls .hint {
  color: var(--ink-400);
  font-size: 0.88rem;
  margin-bottom: 24px;
}
.calc__field {
  margin-bottom: 22px;
}
.calc__lbl {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--ink-600);
  font-weight: 500;
}
.calc__lbl b {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--gold-600);
}
.calc input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 7px;
  border-radius: 50px;
  background: var(--paper-3);
  outline: none;
  cursor: pointer;
}
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--gold-500);
  box-shadow: var(--shadow-sm);
  cursor: grab;
  transition: transform 0.15s;
}
.calc input[type="range"]::-webkit-slider-thumb:active {
  transform: scale(1.15);
  cursor: grabbing;
}
.calc input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--gold-500);
  box-shadow: var(--shadow-sm);
  cursor: grab;
}
.calc__result {
  padding: clamp(26px, 3vw, 40px);
  background: linear-gradient(165deg, var(--navy-800), var(--navy-900));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.calc__result::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 81, 220, 0.3), transparent 66%);
}
.calc__big {
  position: relative;
}
.calc__big-lbl {
  display: block;
  font-size: 0.84rem;
  color: #9fb2c8;
  margin-bottom: 4px;
}
.calc__big-val {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  line-height: 1;
  background: var(--amber-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.calc__stats {
  position: relative;
  display: flex;
  gap: 26px;
  margin: 20px 0 18px;
  flex-wrap: wrap;
}
.calc__stats > div {
  line-height: 1.3;
}
.calc__stats span {
  display: block;
  font-size: 0.78rem;
  color: #9fb2c8;
}
.calc__stats b {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: #fff;
}
.calc__result canvas {
  position: relative;
  margin-top: 4px;
}

/* Interactive asset explorer + profile allocator (replace the calculator off-home) */
.explorer,
.profiler {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.explorer__tabs,
.profiler__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 12px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line-2);
}
.explorer__tabs button,
.profiler__tabs button {
  flex: 1 1 auto;
  min-width: 84px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-500);
  transition:
    color 0.2s,
    background 0.2s;
}
.explorer__tabs button:hover,
.profiler__tabs button:hover {
  color: var(--navy-800);
  background: rgba(58, 81, 220, 0.06);
}
.explorer__tabs button.active,
.profiler__tabs button.active {
  background: var(--gold-grad);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.explorer__grid,
.profiler__grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 30px;
  padding: clamp(22px, 3vw, 36px);
  align-items: center;
}
.explorer__chart,
.profiler__chart {
  min-width: 0;
  position: relative;
}
.explorer__chart canvas,
.profiler__chart canvas {
  width: 100%;
  max-width: 100%;
}
.explorer__side,
.profiler__side {
  min-width: 0;
}
.explorer__badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: var(--gold-600);
  background: rgba(217, 169, 65, 0.14);
  padding: 4px 11px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.explorer__side h3,
.profiler__side h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.explorer__side > p,
.profiler__side > p {
  color: var(--ink-500);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.explorer__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  margin-bottom: 22px;
}
.explorer__stats > div {
  line-height: 1.3;
}
.explorer__stats span {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}
.explorer__stats b {
  font-family: var(--font-head);
  font-size: 1.14rem;
  color: var(--navy-900);
}
.profiler__legend {
  list-style: none;
  display: grid;
  gap: 11px;
  margin: 0 0 22px;
}
.profiler__legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-600);
}
.profiler__legend li b {
  margin-left: auto;
  font-family: var(--font-head);
  color: var(--navy-900);
}
.profiler__legend .dot {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  flex-shrink: 0;
}
.profiler__meta {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}
.profiler__meta span {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}
.profiler__meta b {
  font-family: var(--font-head);
  font-size: 1.06rem;
  color: var(--navy-900);
}
@media (max-width: 760px) {
  .explorer__grid,
  .profiler__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .explorer__tabs button,
  .profiler__tabs button {
    min-width: 0;
    font-size: 0.82rem;
    padding: 10px 8px;
  }
}
.calc__note {
  position: relative;
  font-size: 0.72rem;
  color: #7d90a8;
  margin-top: 12px;
}

/* ---------- Comparison cards ---------- */
.compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.compare-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.compare-card.feature {
  border: 1.5px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--gold-grad) border-box;
  box-shadow: var(--shadow-md);
  position: relative;
}
.compare-card.feature::before {
  content: "Recomandat";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-grad);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  box-shadow: var(--shadow-gold);
}
.compare-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.compare-card h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.compare-card .tag {
  font-size: 0.84rem;
  color: var(--ink-400);
  margin-bottom: 18px;
}
.compare-card ul {
  display: grid;
  gap: 12px;
}
.compare-card li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-600);
}
.compare-card li svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin-top: 1px;
}
.compare-card li.yes svg {
  color: var(--emerald);
}
.compare-card li.no svg {
  color: var(--red);
}
.compare-card li.mid svg {
  color: var(--amber-500);
}

/* ---------- FAQ category filter ---------- */
.faq-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.faq-filter button {
  padding: 9px 18px;
  border-radius: 50px;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--ink-600);
  font-weight: 600;
  font-size: 0.88rem;
  transition: 0.2s;
}
.faq-filter button:hover {
  border-color: var(--gold-300);
  color: var(--gold-600);
}
.faq-filter button.active {
  background: var(--gold-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-gold);
}

/* ---------- Testimonials ---------- */
.testi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.testi .stars {
  color: var(--amber-500);
  letter-spacing: 2px;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.testi p {
  color: var(--ink-700, #33415c);
  font-size: 1rem;
}
.testi .who {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
  padding-top: 22px;
}
.testi .who img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}
.testi .who .n {
  font-weight: 700;
  color: var(--ink-900);
  font-family: var(--font-head);
}
.testi .who .r {
  font-size: 0.82rem;
  color: var(--ink-400);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: clamp(42px, 6vw, 76px);
  color: #fff;
  isolation: isolate;
}
.cta-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    120deg,
    rgba(6, 13, 26, 0.94),
    rgba(18, 41, 74, 0.8)
  );
}
.cta-band h2 {
  color: #fff;
  max-width: 620px;
}
.cta-band p {
  color: #b9c8db;
  max-width: 560px;
  margin-top: 13px;
  font-size: 1.06rem;
}
.cta-band .hero__actions {
  margin-top: 28px;
}
.cta-gradient {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
}
.cta-gradient::after {
  display: none;
}

/* ---------- Page hero (interior, gradient) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 70px) 0 68px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(150deg, #0a1020 0%, #17264a 55%, #22345c 100%);
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  top: -160px;
  right: -100px;
  z-index: 0;
  background: radial-gradient(circle, rgba(58, 81, 220, 0.42), transparent 64%);
  filter: blur(50px);
  animation: heroOrb 9s ease-in-out infinite;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
  mask-image: linear-gradient(180deg, #000, transparent);
  opacity: 0.6;
}
@keyframes heroOrb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-30px, 26px) scale(1.08);
  }
}
.page-hero__orb2 {
  position: absolute;
  z-index: 0;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  bottom: -140px;
  left: -80px;
  background: radial-gradient(
    circle,
    rgba(217, 169, 65, 0.24),
    transparent 64%
  );
  filter: blur(46px);
  animation: heroOrb 11s ease-in-out infinite reverse;
}
.page-hero .wrap {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  color: #fff;
  max-width: 800px;
}
.page-hero p {
  color: #c4d2e4;
  max-width: 640px;
  margin-top: 15px;
  font-size: 1.1rem;
}
.crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: #8ea3bc;
  margin-bottom: 20px;
}
.crumbs a:hover {
  color: var(--gold-300);
}
.crumbs span {
  color: var(--gold-300);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .page-hero__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
.hero-viz {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  min-width: 0;
}
.hero-viz__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}
.hero-viz__sym {
  display: block;
  font-size: 0.76rem;
  color: #93a6bd;
  margin-bottom: 3px;
}
.hero-viz__price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.55rem;
  color: #fff;
}
.hero-viz__chg {
  font-size: 0.9rem;
  font-weight: 700;
  color: #35d08a;
  background: rgba(16, 185, 129, 0.16);
  padding: 5px 10px;
  border-radius: 9px;
  white-space: nowrap;
}
.hero-viz canvas {
  width: 100%;
}
.hero-viz__legend {
  margin-top: 12px;
  font-size: 0.74rem;
  color: #93a6bd;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.hero-viz__legend .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  margin-left: 10px;
}
.hero-viz__legend .dot:first-child {
  margin-left: 0;
}
.hero-viz__legend .dot.buy {
  background: #35d08a;
}
.hero-viz__legend .dot.sell {
  background: #ff6b66;
}
/* Injected animated hero widgets (per page) */
.hv-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
}
.hv-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #93a6bd;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.hv-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  animation: hvPulse 1.7s ease-in-out infinite;
}
@keyframes hvPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.7);
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
  }
}
.hv-bignum {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.5rem;
  color: #fff;
  margin-top: 10px;
  line-height: 1;
}
.hv-sub {
  font-size: 0.82rem;
  color: #9fb2c9;
  margin-top: 5px;
}
.hv-bars {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 118px;
  margin-top: 18px;
}
.hv-bars span {
  flex: 1;
  min-height: 6px;
  height: var(--h);
  background: var(--amber-grad);
  border-radius: 6px 6px 0 0;
  transform: scaleY(0);
  transform-origin: bottom;
  animation: hvBar 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: var(--d);
}
.hv-bars span:last-child {
  background: var(--gold-grad);
  box-shadow: 0 0 16px rgba(58, 81, 220, 0.5);
}
@keyframes hvBar {
  to {
    transform: scaleY(1);
  }
}
.hv-years {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #7f93ac;
  margin-top: 8px;
}
.hv-market {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 8px;
}
.hv-row {
  display: grid;
  grid-template-columns: 28px 1fr 68px auto auto;
  align-items: center;
  gap: 11px;
  padding: 9px 6px;
  border-radius: 10px;
  transition: background 0.2s;
}
.hv-row:hover {
  background: rgba(255, 255, 255, 0.05);
}
.hv-row .ic {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.68rem;
  color: #0a1020;
}
.hv-row .nm {
  color: #dbe5f1;
  font-size: 0.87rem;
  font-weight: 600;
}
.hv-spark {
  width: 68px;
  height: 28px;
  overflow: visible;
}
.hv-spark polyline {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: ptDraw 1.1s ease forwards;
  animation-delay: var(--d, 0s);
}
.hv-row .px {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: right;
  font-family: var(--font-head);
}
.hv-row .chg {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 7px;
}
.hv-row .chg.up {
  color: #35d08a;
  background: rgba(16, 185, 129, 0.16);
}
.hv-row .chg.down {
  color: #ff8f8b;
  background: rgba(239, 68, 68, 0.16);
}
/* Active & Piețe hero: larger financial dashboard */
.hero-viz--dash {
  padding: 20px 20px 16px;
}
.hv-dash-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}
.hv-dash-sym {
  font-size: 0.78rem;
  font-weight: 700;
  color: #9fb2c9;
  letter-spacing: 0.4px;
}
.hv-dash-price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
  line-height: 1.1;
  margin-top: 2px;
}
.hv-dash-price i {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  font-style: normal;
}
.hv-dash-chg {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.hv-dash-chg .chg {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}
.hv-dash-chg .chg.up {
  color: #35d08a;
  background: rgba(16, 185, 129, 0.18);
}
.hv-chart-wrap {
  margin: 4px -4px 6px;
}
.hv-chart {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.hv-chart__grid {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}
.hv-chart__area {
  opacity: 0;
  animation: ptArea 0.7s ease 0.45s forwards;
}
.hv-chart__line {
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: ptDraw 1.15s cubic-bezier(0.5, 0, 0.15, 1) forwards;
  filter: drop-shadow(0 3px 8px rgba(240, 207, 130, 0.3));
}
.hv-chart__dot {
  opacity: 0;
  animation: ptDot 0.3s ease 1.05s forwards;
}
.hv-chart__pulse {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: hvChartPulse 1.7s ease-out 1.1s infinite;
}
@keyframes hvChartPulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(3.6);
    opacity: 0;
  }
}
.hv-range {
  display: flex;
  gap: 5px;
  margin: 2px 0 12px;
}
.hv-range span {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: #8ea3bc;
  padding: 5px 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
}
.hv-range span.active {
  background: rgba(240, 207, 130, 0.18);
  color: #f4dd9a;
}
.hv-watch {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
/* Legal-page hero widgets (cookie / privacy / terms) */
.hv-legal .hero-viz__head {
  margin-bottom: 14px;
}
.hv-toggles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.hv-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 12px 14px;
  opacity: 0;
  animation: hvStep 0.5s ease forwards;
  animation-delay: var(--d);
}
.hv-toggle b {
  display: block;
  color: #fff;
  font-size: 0.9rem;
}
.hv-toggle small {
  color: #9fb2c9;
  font-size: 0.76rem;
}
.hv-sw {
  width: 42px;
  height: 24px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.16);
  position: relative;
  flex-shrink: 0;
}
.hv-sw i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
}
.hv-sw.on {
  animation: hvSwBg 0.4s ease forwards;
  animation-delay: var(--d);
}
.hv-sw.on i {
  animation: hvSwOn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--d);
}
@keyframes hvSwBg {
  to {
    background: var(--emerald);
  }
}
@keyframes hvSwOn {
  to {
    transform: translateX(18px);
  }
}
.hv-legal-note {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.84rem;
  color: #cdd9ea;
}
.hv-legal-note svg {
  width: 20px;
  height: 20px;
  color: #f4dd9a;
  flex-shrink: 0;
}
.hv-shield {
  display: grid;
  place-items: center;
  padding: 6px 0 20px;
}
.hv-shield svg {
  width: 116px;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 10px 24px rgba(16, 185, 129, 0.24));
}
.hv-shield__body {
  fill: rgba(16, 185, 129, 0.1);
  stroke: #f4dd9a;
  stroke-width: 2.4;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: ptDraw 1s ease 0.1s forwards;
}
.hv-shield__tick {
  fill: none;
  stroke: #35d08a;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: ptDraw 0.5s ease 0.85s forwards;
}
.hv-checks {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
}
.hv-checks li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #dbe5f1;
  font-size: 0.9rem;
  opacity: 0;
  animation: hvStep 0.5s ease forwards;
  animation-delay: var(--d);
}
.hv-checks li svg {
  width: 20px;
  height: 20px;
  color: #35d08a;
  flex-shrink: 0;
}
.hv-doc {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.hv-doc__head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 6px;
}
.hv-doc__logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(240, 207, 130, 0.14);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hv-doc__logo svg {
  width: 24px;
  height: 24px;
}
.hv-docline {
  display: block;
  height: 9px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.15);
  width: 0;
  animation: hvLineGrow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--d);
}
.hv-docline.lg {
  height: 12px;
  background: rgba(240, 207, 130, 0.4);
}
@keyframes hvLineGrow {
  to {
    width: var(--w);
  }
}
.hv-doc__seal {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(217, 169, 65, 0.4);
  opacity: 0;
  transform: scale(0.4) rotate(-25deg);
  animation: hvSeal 0.55s cubic-bezier(0.2, 1.4, 0.5, 1) 1.35s forwards;
}
.hv-doc__seal svg {
  width: 26px;
  height: 26px;
}
@keyframes hvSeal {
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hv-toggle,
  .hv-checks li,
  .hv-shield__body,
  .hv-shield__tick,
  .hv-docline,
  .hv-doc__seal,
  .hv-sw.on,
  .hv-sw.on i {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
    width: var(--w, auto) !important;
  }
  .hv-sw.on {
    background: var(--emerald) !important;
  }
  .hv-sw.on i {
    transform: translateX(18px) !important;
  }
}
.hv-steps {
  position: relative;
  margin-top: 12px;
  padding-left: 8px;
}
.hv-steps .hv-line {
  position: absolute;
  left: 21px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.hv-steps .hv-line i {
  position: absolute;
  inset: 0;
  background: var(--amber-grad);
  transform: scaleY(0);
  transform-origin: top;
  animation: hvLine 2.4s ease forwards 0.3s;
}
@keyframes hvLine {
  to {
    transform: scaleY(1);
  }
}
.hv-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 9px 0;
  position: relative;
  opacity: 0;
  animation: hvStep 0.5s ease forwards;
  animation-delay: var(--d);
}
@keyframes hvStep {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hv-step .n {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.82rem;
  display: grid;
  place-items: center;
  z-index: 1;
  box-shadow: 0 0 0 4px #0c1430;
}
.hv-step b {
  display: block;
  color: #fff;
  font-size: 0.9rem;
}
.hv-step small {
  color: #9fb2c9;
  font-size: 0.78rem;
}
.hv-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.hv-bubble {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.84rem;
  opacity: 0;
  animation: hvStep 0.5s ease forwards;
  animation-delay: var(--d);
}
.hv-bubble.q {
  align-self: flex-end;
  background: var(--navy-700, #24346a);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.hv-bubble.a {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  color: #dbe5f1;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hv-typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 4px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}
.hv-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9fb2c9;
  animation: blink 1.2s infinite;
}
.hv-typing i:nth-child(2) {
  animation-delay: 0.2s;
}
.hv-typing i:nth-child(3) {
  animation-delay: 0.4s;
}
@media (prefers-reduced-motion: reduce) {
  .hv-bars span,
  .hv-step,
  .hv-bubble,
  .hv-steps .hv-line i,
  .hv-spark polyline,
  .hv-chart__line,
  .hv-chart__area,
  .hv-chart__dot,
  .hv-chart__pulse {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}
.page-hero__stats {
  margin-top: 34px;
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.page-hero__stats .n {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.7rem;
  color: #fff;
}
.page-hero__stats .l {
  font-size: 0.8rem;
  color: #8ea3bc;
}

/* ---------- Prose (legal) ---------- */
.legal-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--nav-h) + 18px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: var(--shadow-xs);
}
.legal-toc h4 {
  margin-bottom: 12px;
}
.legal-toc a {
  display: block;
  padding: 7px 0;
  font-size: 0.88rem;
  color: var(--ink-500);
  border-bottom: 1px solid var(--line-2);
}
.legal-toc a:last-child {
  border-bottom: none;
}
.legal-toc a:hover {
  color: var(--gold-600);
}
.prose {
  max-width: 820px;
  min-width: 0;
  overflow-wrap: break-word;
}
.prose h2 {
  margin: 38px 0 13px;
  font-size: 1.5rem;
}
.prose h3 {
  margin: 26px 0 9px;
}
.prose p {
  margin-bottom: 15px;
  color: var(--ink-500);
}
.prose ul {
  margin: 0 0 18px;
  display: grid;
  gap: 9px;
}
.prose ul li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-500);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-grad);
}
.prose .updated {
  display: inline-block;
  padding: 8px 18px;
  background: var(--paper-2);
  border-radius: 50px;
  font-size: 0.84rem;
  color: var(--ink-400);
  margin-bottom: 28px;
}
.prose a {
  color: var(--gold-600);
  text-decoration: underline;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
}
.contact-info {
  display: grid;
  gap: 16px;
}
.contact-tile {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.contact-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.contact-tile .ic {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(135deg, #e8edff, #d7e0ff);
  color: var(--gold-600);
  display: grid;
  place-items: center;
}
.contact-tile .ic svg {
  width: 22px;
  height: 22px;
}
.contact-tile h4 {
  margin-bottom: 3px;
}
.contact-tile p {
  font-size: 0.92rem;
}
.map-embed {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  min-height: 260px;
  background: var(--navy-800);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  display: block;
  filter: grayscale(0.25) contrast(1.05);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #9fb2c8;
}
/* Footer CTA band */
.footer-cta {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
  position: relative;
  overflow: hidden;
}
.footer-cta::after {
  content: "";
  position: absolute;
  top: -60%;
  right: 6%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(217, 169, 65, 0.18),
    transparent 66%
  );
  pointer-events: none;
}
.footer-cta__in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 40px 0;
  flex-wrap: wrap;
}
.footer-cta h3 {
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}
.footer-cta p {
  color: #b9c8db;
  margin-top: 6px;
  font-size: 1rem;
}
.site-footer > .wrap {
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1.1fr;
  gap: 34px;
}
.footer-about p {
  margin: 16px 0;
  font-size: 0.9rem;
  max-width: 340px;
}
.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #cdd9e8;
  font-size: 0.9rem;
  margin-bottom: 16px;
  transition: color 0.2s;
}
.footer-mail:hover {
  color: var(--gold-300);
}
.footer-mail svg {
  width: 17px;
  height: 17px;
  color: var(--gold-300);
}
.footer-col h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 0.98rem;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: #9fb2c8;
  transition:
    color 0.2s,
    padding 0.2s;
}
.footer-col a:hover {
  color: var(--gold-300);
  padding-left: 4px;
}
.socials {
  display: flex;
  gap: 11px;
  margin-top: 4px;
}
.socials a {
  width: 39px;
  height: 39px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: #cdd9e8;
  transition: 0.25s;
}
.socials a:hover {
  background: var(--gold-grad);
  color: #fff;
  transform: translateY(-3px);
}
.socials svg {
  width: 18px;
  height: 18px;
}
.footer-bottom {
  margin-top: 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.footer-bottom__addr {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.footer-bottom__addr svg {
  width: 15px;
  height: 15px;
  color: var(--gold-400);
}
/* ---------- Stories ---------- */
.stories-launcher {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 1096;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(145deg, #dde4ef, #c3cddd);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}
.stories-launcher:hover {
  transform: translateY(-3px) scale(1.05);
}
body.nav-lock .stories-launcher,
body[data-chat-open="1"] .stories-launcher,
body[data-popup-open="1"] .stories-launcher {
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
}
.stories-launcher__in {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(10, 16, 32, 0.05);
}
.stories-launcher__in svg {
  width: 32px;
  height: 32px;
}
.stories-launcher.has-unseen {
  background: conic-gradient(
    from 210deg,
    #f0cf82,
    #d9a941,
    #3a51dc,
    #10b981,
    #f0cf82
  );
  animation: storyGlow 2.6s ease-in-out infinite;
}
.stories-launcher.has-unseen::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(240, 207, 130, 0.55);
  animation: storyRipple 2.1s ease-out infinite;
  pointer-events: none;
}
.stories-launcher.pop .stories-launcher__in {
  animation: storyPop 0.9s ease;
}
.stories-launcher__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 50px;
  background: var(--amber-grad);
  color: #241905;
  font-size: 0.7rem;
  font-weight: 800;
  display: none;
  place-items: center;
  border: 2px solid #fff;
  box-shadow: var(--shadow-xs);
}
@keyframes storyRipple {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.42);
    opacity: 0;
  }
}
@keyframes storyGlow {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(240, 207, 130, 0.45),
      var(--shadow-md);
  }
  50% {
    box-shadow:
      0 0 22px 6px rgba(240, 207, 130, 0.55),
      var(--shadow-md);
  }
}
@keyframes storyPop {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.16);
  }
  60% {
    transform: scale(0.93);
  }
  100% {
    transform: scale(1);
  }
}

.stories-viewer {
  position: fixed;
  inset: 0;
  z-index: 1350;
  background: rgba(6, 10, 20, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}
.stories-viewer.open {
  opacity: 1;
  visibility: visible;
}
.story-stage {
  position: relative;
  width: min(400px, 100%);
  height: min(720px, calc(100dvh - 24px));
  background: #0a1020;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.stories-viewer.open .story-stage {
  transform: none;
}
.story-progress {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 5px;
  z-index: 5;
}
.story-progress span {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}
.story-progress span i {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
  border-radius: 3px;
}
.story-progress span.done i {
  width: 100%;
}
.story-progress span.active i {
  animation: storyFill var(--sdur, 6s) linear forwards;
}
@keyframes storyFill {
  to {
    width: 100%;
  }
}
.story-head {
  position: absolute;
  top: 26px;
  left: 14px;
  right: 14px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.story-head .av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.story-head .av svg {
  width: 24px;
  height: 24px;
}
.story-head .av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-head .nm {
  font-weight: 700;
  font-size: 0.88rem;
}
.story-head .tm {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.7);
}
.story-head .x {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.story-head .x svg {
  width: 18px;
  height: 18px;
}
.story-slide {
  position: absolute;
  inset: 0;
  display: none;
}
.story-slide.on {
  display: block;
  animation: fadeSlide 0.4s ease;
}
@keyframes fadeSlide {
  from {
    opacity: 0;
  }
}
.story-slide__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.78) saturate(1.05);
}
/* Two layers: a flat tint over the whole image + a strong bottom gradient for text legibility. */
.story-slide__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(8, 12, 24, 0.55) 0%,
    rgba(8, 12, 24, 0.28) 26%,
    rgba(8, 12, 24, 0.72) 58%,
    rgba(6, 10, 20, 0.94) 82%,
    rgba(6, 10, 20, 0.99) 100%
  );
}
.story-slide__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 24px 22px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(6, 10, 20, 0.5) 34%,
    rgba(6, 10, 20, 0.85) 100%
  );
}
.story-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #f4dd9a;
  margin-bottom: 9px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
.story-kicker.gold {
  color: #f4dd9a;
}
.story-slide__content h3 {
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.46rem;
  line-height: 1.2;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.story-slide__content p {
  color: #eaf1f8;
  font-size: 0.93rem;
  line-height: 1.58;
  margin-bottom: 4px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.story-data {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.story-data__price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.7rem;
  color: #fff;
}
.story-data__price i {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  font-style: normal;
  margin-left: 2px;
}
.story-chg {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}
.story-chg.up {
  background: rgba(16, 185, 129, 0.22);
  color: #35d08a;
}
.story-chg.down {
  background: rgba(239, 68, 68, 0.2);
  color: #ff8f8b;
}
.story-chartline {
  width: 100%;
  height: 88px;
  margin-bottom: 14px;
  border-radius: 12px;
}
.story-insight {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 8px;
  background: rgba(240, 207, 130, 0.12);
  border: 1px solid rgba(240, 207, 130, 0.28);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #f4e6c4;
}
.story-insight .ic {
  flex-shrink: 0;
}
.story-panel {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.story-quote {
  color: #fff;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 14px;
}
.story-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.story-author .av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.story-author .av svg {
  width: 24px;
  height: 24px;
}
.story-author strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
}
.story-author small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.76rem;
}
.story-reply {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.story-reply span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.story-reply span svg {
  width: 18px;
  height: 18px;
}
.story-reply p {
  font-size: 0.84rem;
  color: #cdd9ea;
  line-height: 1.5;
}
.story-reply strong {
  color: #f0cf82;
}
.story-cta {
  margin-top: 14px;
  align-self: stretch;
  text-align: center;
}
.story-nav {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
}
.story-nav .zone {
  flex: 1;
}
.story-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}
.story-arrow:hover {
  background: rgba(255, 255, 255, 0.26);
}
.story-arrow.prev {
  left: -52px;
}
.story-arrow.next {
  right: -52px;
}
.story-arrow svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 560px) {
  .stories-viewer {
    padding: 0;
  }
  .story-stage {
    width: 100%;
    height: 100dvh;
    border-radius: 0;
  }
  .story-arrow {
    display: none;
  }
  .stories-launcher {
    right: 28px;
    bottom: 94px;
    width: 50px;
    height: 50px;
  }
  .stories-launcher__in svg {
    width: 22px;
    height: 22px;
  }
}

.risk-note {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
}
.risk-note p {
  font-size: 0.76rem;
  color: #6c7f96;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  line-height: 1.6;
}

/* ---------- Modal popup ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(6, 13, 26, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s,
    visibility 0.35s;
  overflow-y: auto;
}
.modal-overlay > .modal {
  margin: auto;
}
.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}
.modal {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #fff;
  border-radius: var(--r-xl);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  box-shadow: var(--shadow-lg);
  transform: translateY(28px) scale(0.97);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.4s;
}
.modal-overlay.show .modal {
  transform: none;
  opacity: 1;
}
.modal__aside {
  position: relative;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--r-xl) 0 0 var(--r-xl);
}
.modal__aside img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.modal__aside::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(6, 13, 26, 0.25) 0%,
    rgba(6, 13, 26, 0.72) 55%,
    rgba(6, 13, 26, 0.96) 100%
  );
}
.modal__aside-in {
  position: relative;
  z-index: 2;
  padding: 34px 32px;
}
.modal__aside .eyebrow {
  color: var(--gold-300);
}
.modal__aside h3 {
  color: #fff;
  font-size: 1.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.modal__aside ul {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.modal__aside li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: #eaf0f7;
  align-items: flex-start;
}
.modal__aside li svg {
  width: 17px;
  height: 17px;
  color: var(--gold-300);
  flex-shrink: 0;
  margin-top: 3px;
}
.modal__body .eyebrow {
  color: var(--gold-600);
}
.modal__body {
  padding: 38px 34px;
  border-radius: 0 var(--r-xl) var(--r-xl) 0;
  background: #fff;
}
.modal__body h3 {
  font-size: 1.45rem;
}
.modal__body .sub {
  color: var(--ink-400);
  font-size: 0.9rem;
  margin: 6px 0 18px;
}
.modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-800);
  display: grid;
  place-items: center;
  transition: 0.25s;
  box-shadow: var(--shadow-xs);
}
.modal__close:hover {
  transform: rotate(90deg);
  background: #fff;
}
.modal__close svg {
  width: 17px;
  height: 17px;
}

/* ---------- Chat widget ---------- */
.chat-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1100;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-gold);
  transition: transform 0.3s;
}
.chat-fab:hover {
  transform: scale(1.07);
}
.chat-fab svg {
  width: 27px;
  height: 27px;
}
.chat-fab .badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}
.chat-fab.hidden {
  transform: scale(0);
  pointer-events: none;
}
.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1150;
  width: 380px;
  max-width: calc(100vw - 28px);
  height: 570px;
  max-height: calc(100vh - 44px);
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateY(22px) scale(0.96);
  opacity: 0;
  visibility: hidden;
  transform-origin: bottom right;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.3s,
    visibility 0.3s;
}
.chat-panel.open {
  transform: none;
  opacity: 1;
  visibility: visible;
}
.chat-head {
  background: var(--navy-900);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-head .av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-grad);
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
  flex-shrink: 0;
}
.chat-head .av svg {
  width: 22px;
  height: 22px;
}
.chat-head .av .on {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--emerald);
  border: 2px solid var(--navy-900);
}
.chat-head .n {
  font-weight: 700;
  font-family: var(--font-head);
}
.chat-head .s {
  font-size: 0.74rem;
  color: #93a6bd;
}
.chat-head .x {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #cdd9e8;
  display: grid;
  place-items: center;
  transition: 0.2s;
}
.chat-head .x:hover {
  background: rgba(255, 255, 255, 0.1);
}
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
  gap: 11px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.chat-body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
/* Registration form panel that replaces the conversation */
.chat-form-panel {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 16px 14px;
  background: var(--paper-2);
  animation: msgIn 0.4s ease;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.chat-form-panel::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.chat-form-head {
  text-align: center;
}
.chat-form-badge {
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-gold);
}
.chat-form-badge svg {
  width: 21px;
  height: 21px;
}
.chat-form-head h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.chat-form-head p {
  font-size: 0.8rem;
  color: var(--ink-500);
  line-height: 1.45;
}
.chat-form-panel .reg-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow-xs);
  gap: 9px;
}
.chat-form-panel .reg-form .row2 {
  gap: 9px;
}
.chat-form-panel .reg-form input {
  padding: 10px 12px;
}
.chat-form-panel .reg-form button[type="submit"] {
  padding: 12px;
}
.chat-form-panel .form-fine {
  font-size: 0.66rem;
  margin-top: 0;
}
.chat-form-panel .iti__country-list {
  max-height: 190px;
}
.chat-msg {
  max-width: 84%;
  padding: 11px 14px;
  border-radius: 15px;
  font-size: 0.89rem;
  line-height: 1.5;
  animation: msgIn 0.35s ease;
}
.chat-msg.bot {
  background: #fff;
  color: var(--ink-700, #33415c);
  border-bottom-left-radius: 5px;
  box-shadow: var(--shadow-xs);
  align-self: flex-start;
}
.chat-msg.user {
  background: var(--navy-800);
  color: #fff;
  border-bottom-right-radius: 5px;
  align-self: flex-end;
}
@keyframes msgIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.chat-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 4px 18px 6px;
}
.chat-opts button {
  padding: 9px 14px;
  border-radius: 50px;
  border: 1.5px solid var(--gold-300);
  background: #fff;
  color: var(--navy-800);
  font-size: 0.83rem;
  font-weight: 600;
  transition: 0.2s;
}
.chat-opts button:hover {
  background: var(--gold-grad);
  border-color: transparent;
  color: #fff;
}
.chat-foot {
  padding: 12px 15px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.chat-foot .reg-form {
  gap: 9px;
}
.chat-foot .reg-form input {
  padding: 10px 12px;
}
.typing {
  display: inline-flex;
  gap: 4px;
  padding: 13px 15px;
  background: #fff;
  border-radius: 15px;
  border-bottom-left-radius: 5px;
  box-shadow: var(--shadow-xs);
  align-self: flex-start;
}
.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-400);
  animation: blink 1.2s infinite;
}
.typing i:nth-child(2) {
  animation-delay: 0.2s;
}
.typing i:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes blink {
  0%,
  60%,
  100% {
    opacity: 0.3;
  }
  30% {
    opacity: 1;
  }
}

/* ---------- Page transition loader — AI neural network ----------
   Visibility is driven by JS (.pt-done / .pt-leaving) so the page is ALWAYS
   revealed even if CSS animations are throttled (e.g. background tab). */
.pt-loader {
  position: fixed; inset: 0; z-index: 4000;
  display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(120% 100% at 50% 40%, #12193a 0%, #0a0e1e 55%, #05070f 100%);
  opacity: 1; visibility: visible;
  transition: opacity .5s cubic-bezier(.4,0,.2,1), visibility .5s;
  touch-action: none; -ms-scroll-chaining: none; overscroll-behavior: contain;
  /* Isolate the loader's animation repaints from the rest of the page and hint the
     fade to the compositor — smoother/lighter on low-end devices, no reflow of content. */
  contain: layout paint style;
  will-change: opacity;
}
/* Lock ALL page scroll & interaction while the loader is visible (class-based, no :has needed) */
html.pt-locked, body.pt-locked { overflow: hidden !important; height: 100%; touch-action: none; }
/* While locked, drop the reserved scrollbar gutter so no empty track strip shows behind the loader */
html.pt-locked { scrollbar-gutter: auto !important; }
.pt-loader::before {
  content:""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(59,130,246,.22), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(139,92,246,.22), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(34,211,238,.14), transparent 45%);
}
.pt-loader.pt-done { opacity: 0; visibility: hidden; pointer-events: none; }
.pt-loader.pt-leaving { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .28s ease; }
.pt-loader.pt-leaving .pt-neural__node, .pt-loader.pt-leaving .pt-neural__flow,
.pt-loader.pt-leaving .pt-neural__brain, .pt-loader.pt-leaving .pt-neural__label,
.pt-loader.pt-leaving .pt-neural__ring, .pt-loader.pt-leaving .pt-neural__aura,
.pt-loader.pt-leaving .pt-neural__phase-txt, .pt-loader.pt-leaving .pt-neural__scan { animation: none; }
.pt-loader.pt-leaving .pt-neural__node, .pt-loader.pt-leaving .pt-neural__flow,
.pt-loader.pt-leaving .pt-neural__brain, .pt-loader.pt-leaving .pt-neural__label,
.pt-loader.pt-leaving .pt-neural__aura, .pt-loader.pt-leaving .pt-neural__ring { opacity: 0; }

.pt-loader__box {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  padding: 24px; animation: ptBox .35s ease both;
}
@keyframes ptBox { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

/* --- Neural network graphic --- */
.pt-neural { width: min(520px, 90vw); height: auto; overflow: visible; }
.pt-neural__grid { stroke: rgba(148, 163, 190, .16); stroke-width: 1; stroke-dasharray: 2 6; animation: ptGridPan 3.4s linear infinite; }
@keyframes ptGridPan { to { stroke-dashoffset: -32; } }

.pt-neural__node { opacity: 0; animation: ptNodeIn .38s cubic-bezier(.2,1.4,.5,1) var(--d, 0s) forwards; transform-box: fill-box; transform-origin: center; }
@keyframes ptNodeIn { 0% { opacity: 0; transform: scale(.4); } 100% { opacity: 1; transform: scale(1); } }
.pt-neural__node text { font-family: 'Sora', sans-serif; }

.pt-neural__flow { fill: none; stroke: url(#ptFlowGrad); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 6 8; opacity: 0;
  animation: ptFlowIn .3s ease var(--d, .2s) forwards, ptFlowMove 1.4s linear var(--d, .2s) infinite; }
@keyframes ptFlowIn { to { opacity: 1; } }
@keyframes ptFlowMove { to { stroke-dashoffset: -28; } }

.pt-neural__brain { opacity: 0; animation: ptBrainIn .5s cubic-bezier(.2,.8,.2,1) .5s forwards; transform-box: fill-box; transform-origin: center; }
@keyframes ptBrainIn { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }
.pt-neural__label { opacity: 0; animation: ptBrainIn .5s ease .68s forwards; font-family: 'Sora', sans-serif; }

.pt-neural__aura { opacity: 0; transform-box: fill-box; transform-origin: center; animation: ptAura 2s ease-out .6s infinite; }
@keyframes ptAura { 0% { opacity: 0; transform: scale(.7); } 40% { opacity: .8; } 100% { opacity: 0; transform: scale(1.3); } }

.pt-neural__ring { opacity: 0; fill: none; stroke-width: 1.6; transform-box: fill-box; transform-origin: center; animation: ptRingPulse 2.4s ease-out .9s infinite; }
.pt-neural__ring.r2 { animation-delay: 1.6s; }
@keyframes ptRingPulse { 0% { opacity: .85; transform: scale(.5); } 100% { opacity: 0; transform: scale(1.55); } }

.pt-neural__scan { fill: none; stroke: rgba(34,211,238,.5); stroke-width: 1; stroke-dasharray: 3 4; opacity: 0; animation: ptScan 1.8s linear .7s infinite; transform-origin: 200px 130px; transform-box: fill-box; }
@keyframes ptScan { 0% { opacity: 0; transform: rotate(0deg); } 20% { opacity: .8; } 100% { opacity: 0; transform: rotate(360deg); } }

/* --- Phase text (rotates through 3 states) --- */
.pt-neural__phase {
  position: relative; width: min(340px, 84vw); height: 22px; overflow: hidden;
  font-family: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Menlo, monospace;
}
.pt-neural__phase-txt {
  position: absolute; inset: 0; text-align: center; font-size: .82rem;
  color: rgba(200, 213, 232, .95); letter-spacing: .4px;
  opacity: 0; transform: translateY(10px); animation: ptPhase 4.5s ease infinite;
}
.pt-neural__phase-txt:nth-child(1) { animation-delay: 0s; }
.pt-neural__phase-txt:nth-child(2) { animation-delay: 1.5s; }
.pt-neural__phase-txt:nth-child(3) { animation-delay: 3s; }
.pt-neural__phase-txt .k { color: #22d3ee; font-weight: 700; margin-right: 8px; }
@keyframes ptPhase {
  0%, 25% { opacity: 0; transform: translateY(10px); }
  30%, 33% { opacity: 1; transform: none; }
  33%, 100% { opacity: 0; transform: translateY(-10px); }
}

/* --- Brand mark --- */
.pt-loader__brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-family: var(--font-head); font-weight: 800;
  font-size: 1.14rem; letter-spacing: .2px;
  opacity: 0; transform: translateY(8px); animation: ptBrand .5s ease forwards;
}
.pt-loader__brand svg { width: 28px; height: 28px; }
.pt-loader__brand b { color: #22d3ee; font-weight: 800; }
@keyframes ptBrand { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .pt-neural__grid, .pt-neural__flow, .pt-neural__brain, .pt-neural__label,
  .pt-neural__aura, .pt-neural__ring, .pt-neural__scan, .pt-neural__phase-txt,
  .pt-loader__box, .pt-loader__brand, .pt-neural__node {
    animation: none;
    opacity: 1;
    transform: none;
    stroke-dashoffset: 0;
  }
}

/* ============================================================
   Subtle AI particles + small AI badge around the phone hero
   ============================================================ */
.ai-particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.ai-p { position: absolute; width: 8px; height: 8px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, #22d3ee 0%, transparent 70%);
  box-shadow: 0 0 12px 2px rgba(34,211,238,.7);
  animation: aiPFloat 6s ease-in-out infinite; }
.ai-p--2 { background: radial-gradient(circle, #8b5cf6 0%, transparent 70%); box-shadow: 0 0 12px 2px rgba(139,92,246,.7); }
.ai-p--3 { background: radial-gradient(circle, #3b82f6 0%, transparent 70%); box-shadow: 0 0 12px 2px rgba(59,130,246,.7); }
.ai-p--4 { background: radial-gradient(circle, #22d3ee 0%, transparent 70%); box-shadow: 0 0 12px 2px rgba(34,211,238,.7); }
.ai-p--5 { background: radial-gradient(circle, #8b5cf6 0%, transparent 70%); box-shadow: 0 0 12px 2px rgba(139,92,246,.7); }
.ai-p--1 { top: 12%; left: 8%; animation-delay: 0s; }
.ai-p--2 { top: 18%; right: 12%; animation-delay: 1s; }
.ai-p--3 { top: 44%; left: 4%; animation-delay: 2s; }
.ai-p--4 { top: 62%; right: 6%; animation-delay: 3s; }
.ai-p--5 { top: 80%; left: 14%; animation-delay: 1.5s; }
.ai-p--6 { top: 30%; right: 24%; animation-delay: 2.5s; width: 6px; height: 6px; }
@keyframes aiPFloat {
  0% { opacity: 0; transform: translate(0, 0) scale(.5); }
  25% { opacity: 1; transform: translate(6px, -10px) scale(1.1); }
  50% { opacity: .7; transform: translate(-4px, -18px) scale(1); }
  75% { opacity: .4; transform: translate(-8px, -28px) scale(.9); }
  100% { opacity: 0; transform: translate(0, -38px) scale(.6); }
}

.ai-badge { position: absolute; top: 4%; right: 4%; z-index: 5; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 50px;
  background: linear-gradient(135deg, rgba(15,20,42,.95) 0%, rgba(20,26,54,.94) 100%);
  border: 1px solid rgba(34,211,238,.4);
  color: #22d3ee; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .6px; text-transform: uppercase;
  box-shadow: 0 8px 22px -8px rgba(34,211,238,.35), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(-6px);
  animation: aiBadgeIn .6s cubic-bezier(.2,.8,.2,1) .6s forwards; }
@keyframes aiBadgeIn { to { opacity: 1; transform: translateY(0); } }
.ai-badge__pulse { width: 8px; height: 8px; border-radius: 50%; background: #22d3ee;
  box-shadow: 0 0 0 0 rgba(34,211,238,.6); animation: aiBadgePulse 1.7s ease-in-out infinite; }
@keyframes aiBadgePulse { 0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34,211,238,.6); } 50% { transform: scale(.7); box-shadow: 0 0 0 6px rgba(34,211,238,0); } }
@media (max-width: 900px) { .ai-particles, .ai-badge { display: none; } }
@media (prefers-reduced-motion: reduce) { .ai-p, .ai-badge, .ai-badge__pulse { animation: none; opacity: 1; transform: none; } }

/* Deprecated hologram/chips (kept but hidden — subtle particles preferred) */
.ai-holo, .ai-chip { display: none !important; }

.ai-holo-legacy { position: absolute; top: 8%; right: -2%; width: 130px; height: 130px; z-index: 4; pointer-events: none;
  opacity: 0; transform: translateY(-14px) scale(.85); animation: holoIn 1s cubic-bezier(.2,.8,.2,1) .5s forwards, holoFloat 5s ease-in-out 1.5s infinite alternate;
  filter: drop-shadow(0 20px 40px rgba(139,92,246,.5)); }
@keyframes holoIn { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes holoFloat { from { transform: translateY(0); } to { transform: translateY(-8px); } }
.ai-holo__core { position: absolute; inset: 24%; display: grid; place-items: center; }
.ai-holo__core svg { width: 100%; height: 100%; overflow: visible; }
.ai-holo__core svg text { animation: holoTxt 2.4s ease-in-out infinite; }
@keyframes holoTxt { 0%,100% { opacity: .7; } 50% { opacity: 1; } }
.ai-holo__ring { position: absolute; inset: 0; border: 1.5px solid; border-radius: 50%; opacity: 0; animation: holoRing 3s ease-out infinite; }
.ai-holo__ring--1 { border-color: #22d3ee; animation-delay: 0s; }
.ai-holo__ring--2 { border-color: #8b5cf6; animation-delay: 1s; }
.ai-holo__ring--3 { border-color: #3b82f6; animation-delay: 2s; }
@keyframes holoRing { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.ai-holo__spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #22d3ee;
  box-shadow: 0 0 10px 2px #22d3ee, 0 0 20px 4px rgba(34,211,238,.4); animation: holoSpark 3.5s ease-in-out infinite; }
.ai-holo__spark--tl { top: 8%; left: 8%; animation-delay: 0s; }
.ai-holo__spark--tr { top: 8%; right: 8%; background: #8b5cf6; box-shadow: 0 0 10px 2px #8b5cf6, 0 0 20px 4px rgba(139,92,246,.4); animation-delay: 1.2s; }
.ai-holo__spark--bl { bottom: 8%; left: 8%; background: #3b82f6; box-shadow: 0 0 10px 2px #3b82f6, 0 0 20px 4px rgba(59,130,246,.4); animation-delay: 2s; }
.ai-holo__spark--br { bottom: 8%; right: 8%; animation-delay: .6s; }
@keyframes holoSpark { 0%,100% { opacity: .4; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.3); } }

/* Floating AI action chips */
.ai-chip { position: absolute; z-index: 5;
  background: linear-gradient(135deg, rgba(15,20,42,.98) 0%, rgba(20,26,54,.96) 100%);
  border: 1px solid rgba(139,92,246,.4);
  border-radius: 14px; padding: 10px 14px; box-shadow: 0 20px 40px -12px rgba(59,130,246,.4), inset 0 1px 0 rgba(255,255,255,.06);
  color: #fff; font-family: var(--font-body); display: flex; align-items: center; gap: 10px; opacity: 0;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: chipIn .7s cubic-bezier(.2,.8,.2,1) forwards, chipFloat 6s ease-in-out infinite alternate; }
@keyframes chipIn { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes chipFloat { from { transform: translateY(0); } to { transform: translateY(-6px); } }
.ai-chip--buy { top: 30%; right: -4%; animation-delay: 1s, 2s; }
.ai-chip--conf { bottom: 22%; left: -6%; animation-delay: 1.3s, 2.5s; padding: 12px 14px; }
.ai-chip--scan { bottom: 4%; right: -2%; animation-delay: 1.6s, 3s; }
.ai-chip__dot { width: 10px; height: 10px; border-radius: 50%; background: #35d08a; box-shadow: 0 0 12px #35d08a; animation: chipPulse 1.5s ease-in-out infinite; flex-shrink: 0; }
@keyframes chipPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .6; transform: scale(.75); } }
.ai-chip__lbl { font-size: .66rem; color: #93a6bd; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; }
.ai-chip__val { font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: #fff; margin-top: 2px; }
.ai-chip__val b { color: #35d08a; }
.ai-chip__mini { min-width: 140px; }
.ai-chip__mini-lbl { font-size: .72rem; color: #93a6bd; margin-top: 6px; }
.ai-chip__mini-lbl b { color: #22d3ee; font-family: var(--font-head); }
.ai-chip__mini-bar { height: 6px; background: rgba(255,255,255,.08); border-radius: 50px; overflow: hidden; position: relative; }
.ai-chip__mini-bar span { position: absolute; inset: 0; width: var(--w, 92%); background: linear-gradient(90deg, #3b82f6, #8b5cf6, #22d3ee); border-radius: 50px; animation: chipBar 2s ease-in-out .8s infinite alternate; }
@keyframes chipBar { from { opacity: .7; } to { opacity: 1; box-shadow: 0 0 12px rgba(34,211,238,.6); } }

@media (max-width: 900px) { .ai-holo, .ai-chip { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .ai-holo, .ai-holo__ring, .ai-holo__spark, .ai-chip, .ai-chip__dot, .ai-chip__mini-bar span { animation: none; opacity: 1; transform: none; }
}

/* ============================================================
   Premium AI-themed registration form (hero + signup card)
   ============================================================ */
.signup-card {
  position: relative;
  background: linear-gradient(160deg, rgba(16,22,46,.98) 0%, rgba(10,14,30,.96) 100%);
  border: 1px solid transparent;
  background-clip: padding-box;
  border-radius: 22px;
  padding: 26px;
  box-shadow:
    0 30px 70px -25px rgba(59,130,246,.4),
    0 0 60px -20px rgba(139,92,246,.35),
    inset 0 1px 0 rgba(255,255,255,.08);
  color: #fff;
}
.signup-card::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #22d3ee 100%);
  border-radius: inherit;
  padding: 1px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.signup-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 40%;
  background: radial-gradient(circle at 50% 0%, rgba(34,211,238,.14), transparent 70%);
  pointer-events: none; border-radius: inherit;
}
.signup-card > * { position: relative; z-index: 1; }
.signup-card h3 { color: #fff; font-size: 1.28rem; font-family: var(--font-head); font-weight: 800; margin-bottom: 4px; letter-spacing: -.01em; }
.signup-card .sub { color: #cdd9ea; font-size: .88rem; margin-bottom: 18px; }
.signup-card .reg-form { display: flex; flex-direction: column; gap: 10px; }
.signup-card .reg-form input[type=text],
.signup-card .reg-form input[type=email],
.signup-card .reg-form input[type=tel] {
  width: 100%; padding: 13px 14px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-size: .95rem; font-family: var(--font-body); transition: border-color .2s, background .2s, box-shadow .2s;
}
.signup-card .reg-form input:focus {
  outline: none; background: rgba(255,255,255,.09);
  border-color: rgba(34,211,238,.6);
  box-shadow: 0 0 0 3px rgba(34,211,238,.15);
}
.signup-card .reg-form input::placeholder { color: rgba(205,217,234,.55); }
.signup-card .reg-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.signup-card .reg-form .iti__selected-flag { background: rgba(255,255,255,.06); border-radius: 12px 0 0 12px; }
.signup-card .reg-form .iti__selected-dial-code { color: #dbe5f1; }
.signup-card .reg-form .iti__arrow { border-top-color: #93a6bd; }
/* Dropdown list stays a clean readable WHITE menu even though the input sits on a dark card */
.signup-card .reg-form .iti__country-list { background: #fff; border-color: var(--line); }
.signup-card .reg-form .iti__country,
.signup-card .reg-form .iti__country .iti__country-name { color: var(--ink-900); }
.signup-card .reg-form .iti__country.iti__highlight,
.signup-card .reg-form .iti__country:hover { background: rgba(59,130,246,.12); color: var(--ink-900); }
.signup-card .reg-form .iti__dial-code { color: var(--ink-500); }
.signup-card .reg-form .iti__divider { border-bottom-color: var(--line); }
.signup-card .reg-form button[type=submit] {
  background: linear-gradient(135deg, #3b82f6 0%, #6d28d9 50%, #06b6d4 100%);
  background-size: 200% 200%;
  color: #fff; padding: 14px 18px; border-radius: 12px; font-weight: 700; font-family: var(--font-head); font-size: 1rem; letter-spacing: .3px;
  box-shadow: 0 10px 24px -8px rgba(59,130,246,.55), 0 0 20px rgba(139,92,246,.28);
  animation: signupGradient 6s ease infinite;
  transition: transform .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.signup-card .reg-form button[type=submit]::after {
  content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  animation: signupShine 3s ease-in-out infinite;
}
@keyframes signupGradient { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes signupShine { 0%,60% { left: -100%; } 80%,100% { left: 100%; } }
.signup-card .reg-form button[type=submit]:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -8px rgba(59,130,246,.7), 0 0 30px rgba(139,92,246,.4); }
.signup-card .form-fine { color: #93a6bd; font-size: .74rem; line-height: 1.55; margin-top: 4px; }
.signup-card .form-fine a { color: #22d3ee; text-decoration: underline; text-decoration-color: rgba(34,211,238,.4); }
.signup-card .form-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.signup-card .form-badges span { display: inline-flex; align-items: center; gap: 6px; color: #93a6bd; font-size: .72rem; }
.signup-card .form-badges svg { width: 14px; height: 14px; color: #22d3ee; }

/* ============================================================
   AI Signal cards — live signal grid on homepage
   ============================================================ */
.ai-signal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ai-signal-card { position: relative; background: linear-gradient(160deg, #14192e 0%, #0a0e1e 100%); border: 1px solid rgba(59,130,246,.22); border-radius: 18px; padding: 22px 22px 20px; overflow: hidden; text-align: left; color: #dbe5f1; transition: transform .3s ease, border-color .3s; }
.ai-signal-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold-grad); opacity: .8; }
.ai-signal-card::after { content: ""; position: absolute; top: -30%; right: -20%; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(59,130,246,.14), transparent 60%); pointer-events: none; }
.ai-signal-card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,.5); }
.ai-signal-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; position: relative; z-index: 1; }
.ai-signal-card__ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: .72rem; color: #fff; flex-shrink: 0; }
.ai-signal-card__inst { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.02rem; line-height: 1.1; }
.ai-signal-card__cat { font-size: .72rem; color: #93a6bd; text-transform: uppercase; letter-spacing: .8px; margin-top: 2px; }
.ai-signal-card__live { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: .68rem; color: #22d3ee; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.ai-signal-card__live i { width: 7px; height: 7px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 0 0 rgba(34,211,238,.5); animation: aiPulseDot 1.7s ease-in-out infinite; }
@keyframes aiPulseDot { 0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34,211,238,.6); } 50% { transform: scale(.75); box-shadow: 0 0 0 6px rgba(34,211,238,0); } }
.ai-signal-card__action { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; font-size: 1.36rem; margin-bottom: 6px; letter-spacing: .3px; position: relative; z-index: 1; }
.ai-signal-card__action.buy { color: #35d08a; }
.ai-signal-card__action.sell { color: #ff6b66; }
.ai-signal-card__action.hold { color: #f0cf82; }
.ai-signal-card__action .arrow { font-size: .9em; opacity: .8; }
.ai-signal-card__price { font-size: .92rem; color: #cdd9ea; margin-bottom: 14px; font-family: var(--font-head); font-weight: 600; position: relative; z-index: 1; }
.ai-signal-card__price small { color: #93a6bd; font-weight: 500; margin-left: 6px; }
.ai-signal-card__conf { position: relative; z-index: 1; margin-bottom: 12px; }
.ai-signal-card__conf-lbl { display: flex; justify-content: space-between; font-size: .72rem; color: #93a6bd; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .6px; }
.ai-signal-card__conf-lbl b { color: #22d3ee; font-family: var(--font-head); font-weight: 800; font-size: .84rem; letter-spacing: 0; text-transform: none; }
.ai-signal-card__conf-bar { height: 6px; background: rgba(255,255,255,.08); border-radius: 50px; overflow: hidden; position: relative; }
.ai-signal-card__conf-fill { position: absolute; inset: 0; width: var(--w, 82%); background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 55%, #22d3ee 100%); border-radius: 50px; animation: aiConfFill 1.4s cubic-bezier(.2,.8,.2,1) forwards; transform-origin: left; }
@keyframes aiConfFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ai-signal-card__why { position: relative; z-index: 1; font-size: .82rem; color: #c8d5e8; line-height: 1.5; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.ai-signal-card__why b { color: #22d3ee; font-weight: 600; }
@media (max-width: 900px) { .ai-signal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ai-signal-grid { grid-template-columns: 1fr; } }

/* ============================================================
   AI Trade Analyzer — educational case-study section
   ============================================================ */
.ai-analyzer { position: relative; background: linear-gradient(160deg, #0a0e1e 0%, #12193a 100%); border-radius: var(--r-xl); padding: clamp(30px, 4vw, 54px); overflow: hidden; color: #dbe5f1; }
.ai-analyzer::before { content: ""; position: absolute; top: -20%; right: -10%; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,.28), transparent 60%); filter: blur(60px); pointer-events: none; }
.ai-analyzer::after { content: ""; position: absolute; bottom: -30%; left: -10%; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(34,211,238,.22), transparent 60%); filter: blur(60px); pointer-events: none; }
.ai-analyzer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
@media (max-width: 900px) { .ai-analyzer__grid { grid-template-columns: 1fr; gap: 32px; } }
.ai-analyzer__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(34,211,238,.12); border: 1px solid rgba(34,211,238,.32); color: #67e8f9; border-radius: 50px; font-size: .74rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.ai-analyzer__eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22d3ee; animation: aiPulseDot 1.7s ease-in-out infinite; }
.ai-analyzer h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.15rem); line-height: 1.2; margin-bottom: 16px; }
.ai-analyzer > .wrap > p, .ai-analyzer__lead { color: #c8d5e8; font-size: 1.02rem; line-height: 1.6; max-width: 640px; margin: 0 auto 30px; text-align: center; }
.ai-analyzer__scenario { color: #cdd9ea; font-size: .96rem; line-height: 1.65; margin-bottom: 22px; }
.ai-analyzer__scenario b { color: #22d3ee; }
.ai-analyzer__insight { background: rgba(255,255,255,.05); border: 1px solid rgba(139,92,246,.28); border-radius: 14px; padding: 18px 20px; margin: 18px 0 22px; display: flex; gap: 12px; align-items: flex-start; }
.ai-analyzer__insight-ic { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: var(--purple-grad); display: grid; place-items: center; color: #fff; font-weight: 800; font-family: var(--font-head); font-size: .78rem; }
.ai-analyzer__insight p { color: #dbe5f1; font-size: .9rem; line-height: 1.55; margin: 0; }
.ai-analyzer__insight b { color: #22d3ee; }
.ai-analyzer__vs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.ai-analyzer__vs-item { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px 16px; }
.ai-analyzer__vs-item.ai { border-color: rgba(53,208,138,.34); background: rgba(53,208,138,.06); }
.ai-analyzer__vs-item.manual { border-color: rgba(255,107,102,.28); background: rgba(255,107,102,.05); }
.ai-analyzer__vs-hdr { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .82rem; margin-bottom: 6px; letter-spacing: .3px; }
.ai-analyzer__vs-item.ai .ai-analyzer__vs-hdr { color: #35d08a; }
.ai-analyzer__vs-item.manual .ai-analyzer__vs-hdr { color: #ff8f8b; }
.ai-analyzer__vs-val { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: #fff; }
.ai-analyzer__vs-sub { font-size: .74rem; color: #93a6bd; margin-top: 3px; }
/* Chart in analyzer */
.ai-analyzer__chart { position: relative; background: rgba(0,0,0,.32); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 22px 22px 20px; }
.ai-analyzer__chart-hdr { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.ai-analyzer__chart-inst { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1rem; line-height: 1.2; }
.ai-analyzer__chart-inst small { display: block; color: #93a6bd; font-weight: 500; font-size: .74rem; margin-top: 2px; }
.ai-analyzer__chart-badge { font-size: .68rem; font-weight: 700; color: #ff8f8b; background: rgba(239,68,68,.14); padding: 4px 10px; border-radius: 50px; text-transform: uppercase; letter-spacing: .6px; white-space: nowrap; flex-shrink: 0; }
.ai-analyzer__svg { display: block; width: 100%; height: auto; overflow: visible; }
.ai-analyzer__svg .grid { stroke: rgba(148,163,190,.14); stroke-width: 1; }
.ai-analyzer__svg .line { fill: none; stroke: url(#aaLineGrad); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: aiLine 1.6s cubic-bezier(.4,0,.2,1) .3s forwards; }
.ai-analyzer__svg .exit-marker { animation: aiExit .35s ease 1.4s forwards; opacity: 0; transform-origin: center; }
.ai-analyzer__svg .exit-marker circle { fill: #22d3ee; }
.ai-analyzer__svg text { font-family: 'Sora', ui-sans-serif, system-ui, sans-serif; paint-order: stroke; stroke: rgba(10,14,30,.85); stroke-width: 3; stroke-linejoin: round; }
@keyframes aiLine { to { stroke-dashoffset: 0; } }
@keyframes aiExit { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.ai-analyzer__chart-legend { display: flex; gap: 16px; margin-top: 14px; font-size: .74rem; color: #93a6bd; flex-wrap: wrap; }
.ai-analyzer__chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.ai-analyzer__chart-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.ai-analyzer__chart-legend .exit { background: #22d3ee; }
.ai-analyzer__chart-legend .drop { background: #ff6b66; }
/* HTML label pins overlaid on the analyzer chart — never overlap surrounding text */
.ai-analyzer__viz { position: relative; }
.ai-analyzer__viz .ai-analyzer__svg { display: block; width: 100%; height: auto; }
.ai-analyzer__viz .exit-dot.exit-dot--ai { transform-origin: center; animation: aiExitDot .3s ease 1.4s both; }
.ai-analyzer__viz .exit-dot.exit-dot--drop { transform-origin: center; animation: aiExitDot .3s ease 1.9s both; }
@keyframes aiExitDot { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
.ai-analyzer__pin { position: absolute; padding: 4px 9px; font-size: .68rem; font-weight: 700; font-family: var(--font-head); border-radius: 50px; letter-spacing: .3px; white-space: nowrap; pointer-events: none; opacity: 0; z-index: 2; }
.ai-analyzer__pin--exit { background: rgba(10,14,30,.94); border: 1px solid rgba(34,211,238,.8); color: #22d3ee; left: calc(155 / 320 * 100%); top: calc(62 / 200 * 100% - 24px); transform: translate(-50%, -8px); box-shadow: 0 8px 22px -8px rgba(34,211,238,.4); animation: aiPinIn .35s ease 1.55s forwards; }
.ai-analyzer__pin--drop { background: rgba(10,14,30,.94); border: 1px solid rgba(255,107,102,.8); color: #ff8f8b; left: calc(275 / 320 * 100%); top: calc(168 / 200 * 100% + 6px); transform: translate(-50%, 4px); box-shadow: 0 8px 22px -8px rgba(255,107,102,.4); animation: aiPinIn .35s ease 2.05s forwards; }
@keyframes aiPinIn { to { opacity: 1; transform: translate(-50%, 0); } }
.ai-analyzer__pin::before { content: ""; position: absolute; left: 50%; width: 1px; height: 12px; background: currentColor; opacity: .5; }
.ai-analyzer__pin--exit::before { bottom: -12px; transform: translateX(-50%); }
.ai-analyzer__pin--drop::before { top: -12px; transform: translateX(-50%); }

/* ---------- Cookie banner (bottom full-width sheet + dim overlay) ---------- */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s,
    visibility 0.4s;
}
.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 20, 0.66);
}
.cookie-modal.show {
  opacity: 1;
  visibility: visible;
}
.cookie-card {
  position: relative;
  z-index: 1;
  width: 100%;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  border-top: 1px solid var(--line-2);
  box-shadow: 0 -20px 60px rgba(6, 10, 20, 0.28);
  padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  transform: translateY(105%);
  transition: transform 0.55s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.cookie-modal.show .cookie-card {
  transform: none;
}
.cookie-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-grad);
}
.cookie-card .ic {
  position: relative;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--amber-grad);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-amber);
}
.cookie-card .ic svg {
  width: 27px;
  height: 27px;
}
.cookie-card__txt {
  flex: 1 1 340px;
  min-width: 0;
}
.cookie-card h4 {
  margin-bottom: 6px;
  font-size: 1.18rem;
}
.cookie-card p {
  font-size: 0.86rem;
  line-height: 1.6;
  margin: 0;
}
.cookie-card__meta {
  margin-top: 8px !important;
  font-size: 0.8rem !important;
  color: var(--ink-400);
}
.cookie-card p a {
  color: var(--gold-600);
  font-weight: 600;
  text-decoration: underline;
}
.cookie-actions {
  position: relative;
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-actions .btn {
  padding: 12px 22px;
  font-size: 0.9rem;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .cookie-card {
    gap: 14px;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-actions .btn {
    flex: 1;
  }
}
.cookie-prefs-link {
  display: inline;
  background: none;
  color: var(--gold-600);
  font-size: inherit;
  font-weight: 600;
  text-decoration: underline;
  padding: 0;
}
.cookie-prefs-link:hover {
  color: var(--gold-500);
}
.pref-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
}
.pref-row:last-of-type {
  border-bottom: none;
}
.pref-row h4 {
  margin-bottom: 3px;
}
.pref-row p {
  font-size: 0.83rem;
}
.switch {
  position: relative;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch .track {
  position: absolute;
  inset: 0;
  background: var(--paper-3);
  border-radius: 50px;
  transition: 0.3s;
  cursor: pointer;
}
.switch .track::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
  box-shadow: var(--shadow-xs);
}
.switch input:checked + .track {
  background: var(--gold-grad);
}
.switch input:checked + .track::before {
  transform: translateX(20px);
}
.switch input:disabled + .track {
  background: var(--emerald);
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---------- Toasts ---------- */
.toast-wrap {
  position: fixed;
  top: 88px;
  right: 18px;
  z-index: 1220;
  display: flex;
  flex-direction: column;
  gap: 11px;
  max-width: 350px;
  transition: opacity 0.3s ease;
}
/* Never show toasts over the side menu, cookie modal or stories */
body.nav-lock .toast-wrap,
body[data-stories-open="1"] .toast-wrap {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.toast {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-400);
  border-radius: 14px;
  padding: 14px 17px;
  box-shadow: var(--shadow-md);
  transform: translateX(130%);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.toast.show {
  transform: none;
}
.toast .ic {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e8edff, #d7e0ff);
  color: var(--gold-600);
}
.toast .ic svg {
  width: 19px;
  height: 19px;
}
.toast.up .ic {
  background: #e6f7ef;
  color: var(--emerald-600);
}
.toast .t {
  font-weight: 700;
  color: var(--ink-900);
  font-size: 0.9rem;
}
.toast .m {
  font-size: 0.83rem;
  color: var(--ink-400);
  margin-top: 2px;
}
.toast .x {
  margin-left: auto;
  color: var(--ink-400);
  font-size: 1.05rem;
  line-height: 1;
}

/* ---------- Reveal & scroll progress ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.d1 {
  transition-delay: 0.09s;
}
.reveal.d2 {
  transition-delay: 0.18s;
}
.reveal.d3 {
  transition-delay: 0.27s;
}
.reveal.d4 {
  transition-delay: 0.36s;
}
.scroll-prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--gold-grad);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  /* Stack the hero and drop the absolute-positioned form so it never overlaps the phone */
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__stage {
    max-width: 460px;
    margin: 0 auto;
    min-height: 0;
  }
  .device,
  .dev-glow {
    display: none;
  }
  .hero-widget {
    display: block;
  }
  .signup-card {
    position: static;
    width: auto;
    margin-top: 0;
    right: auto;
    bottom: auto;
  }
  .hero {
    padding-bottom: 46px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(3) {
    border-left: none;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
  .footer-cta__in {
    justify-content: center;
    text-align: center;
  }
  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .legal-toc {
    position: static;
    min-width: 0;
  }
  .modal {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .modal__aside {
    min-height: 148px;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
  }
  .modal__body {
    border-radius: 0 0 var(--r-xl) var(--r-xl);
  }
  .modal__aside-in {
    padding: 20px 24px;
  }
  .modal__aside ul {
    display: none;
  }
  .modal__aside h3 {
    font-size: 1.2rem;
  }
}
@media (max-width: 760px) {
  /* backdrop-filter on a fixed header causes scroll jank/flicker on mobile — use an opaque bg */
  .site-header.solid {
    background: #ffffff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 4px 18px rgba(16, 24, 54, 0.08);
  }
  .site-header.solid.on-dark {
    background: #0a0e1e;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .4);
  }
  .grid-2,
  .grid-3,
  .split,
  .split.rev .split__media,
  .contact-grid,
  .calc,
  .compare {
    grid-template-columns: 1fr;
  }
  .split.rev .split__media {
    order: 0;
  }
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .slider[data-per="3"] .slider__slide,
  .slider[data-per="2"] .slider__slide {
    flex-basis: 100%;
  }
  .toast-wrap {
    top: calc(var(--nav-h) + 10px);
    bottom: auto;
    right: 10px;
    left: 10px;
    max-width: none;
  }
  .cookie-modal {
    padding: 12px;
  }
  .cookie-card {
    padding: 24px 22px 22px;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px 20px;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
  .reg-form .row2 {
    grid-template-columns: 1fr;
  }
  .signup-card {
    position: static;
    width: auto;
    margin-top: 0;
  }
  .device,
  .dev-glow {
    display: none;
  }
  .hero-widget {
    display: block;
  }
  .hero {
    padding-bottom: 44px;
  }
  .hero__grid {
    gap: 40px;
  }
  .hero__stage {
    min-height: 0;
    max-width: 460px;
  }
}
@media (max-width: 480px) {
  .grid-4,
  .metric-grid,
  .stats-band {
    grid-template-columns: 1fr;
  }
  .stat + .stat {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }
  .hero__chips {
    gap: 22px;
  }
  .chat-panel {
    right: 0;
    bottom: 0;
    height: 100%;
    max-height: 100dvh;
    border-radius: 0;
    width: 100vw;
    max-width: 100vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =====================================================================
   LIGHT HERO CONVERSION (readability pass)
   Interior .page-hero and .section--navy were full navy fills that hurt
   readability and created a dark strip above the header. They are now
   light, high-contrast, card-based surfaces. The hero dashboard widget
   (.hero-viz) stays a self-contained DARK glass card — a light hero with a
   dark analytics mockup reads as premium fintech and keeps its white text.
   ===================================================================== */

/* interior pages: light body, restore the soft radial glow (was killed by dark-hero) */
body.dark-hero { background-color: #eef2fb; }
body.dark-hero::before { display: block; }

/* ---- Page hero → clean near-white with subtle AI accents ---- */
.page-hero {
  color: var(--ink-800);
  background:
    radial-gradient(760px 420px at 88% -12%, rgba(34, 211, 238, 0.10), transparent 58%),
    radial-gradient(680px 480px at 4% 6%, rgba(139, 92, 246, 0.07), transparent 60%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 68%);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16), transparent 64%);
}
.page-hero::after {
  background-image: radial-gradient(rgba(24, 40, 82, 0.05) 1px, transparent 1px);
  opacity: 0.6;
}
.page-hero__orb2 {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 64%);
}
/* Eyebrow/crumbs contrast on light heroes */
.page-hero .eyebrow { color: var(--gold-600); }
.page-hero .crumbs { color: var(--ink-500); }
.page-hero .crumbs a { color: var(--ink-600); }
/* Kill the header top scrim band on light heroes (dark nav text reads fine on light) */
.site-header.transparent:not(.on-dark)::before { display: none; }

/* ---- Interior hero animated viz stage (fills the column, adds AI motion) ---- */
.page-hero__viz {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.page-hero__viz .hero-viz { width: 100%; max-width: 430px; }
.phv-widget { position: relative; z-index: 2; width: 100%; max-width: 430px; }
.phv-widget .hero-viz { max-width: none; }
.phv-neural { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.32; z-index: 0; pointer-events: none; }
.phv-neural__lines line { stroke-dasharray: 4 6; animation: hnDash 16s linear infinite; }
.phv-neural__nodes circle { transform-box: fill-box; transform-origin: center; animation: hnPulse 3.6s ease-in-out infinite; }
.phv-neural__nodes circle:nth-child(2n) { animation-delay: 1.2s; }
.phv-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.phv-p { position: absolute; width: 7px; height: 7px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, #22d3ee, transparent 70%); box-shadow: 0 0 10px 2px rgba(34,211,238,.6);
  animation: phvFloat 7s ease-in-out infinite; }
.phv-p--2 { background: radial-gradient(circle, #8b5cf6, transparent 70%); box-shadow: 0 0 10px 2px rgba(139,92,246,.6); }
.phv-p--3 { background: radial-gradient(circle, #3b82f6, transparent 70%); box-shadow: 0 0 10px 2px rgba(59,130,246,.6); }
.phv-p--1 { top: 14%; left: 10%; animation-delay: 0s; }
.phv-p--2 { top: 24%; right: 8%; animation-delay: 1.4s; }
.phv-p--3 { top: 66%; left: 6%; animation-delay: 2.6s; }
.phv-p--4 { bottom: 12%; right: 12%; animation-delay: 3.4s; }
.phv-p--5 { top: 48%; right: 20%; animation-delay: 1.9s; width: 5px; height: 5px; }
@keyframes phvFloat {
  0% { opacity: 0; transform: translate(0,0) scale(.5); }
  25% { opacity: 1; transform: translate(5px,-12px) scale(1.1); }
  60% { opacity: .6; transform: translate(-6px,-22px) scale(1); }
  100% { opacity: 0; transform: translate(0,-34px) scale(.6); }
}
.phv-chip {
  position: absolute; z-index: 4; display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px; border-radius: 13px;
  background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 18px 40px -16px rgba(16,24,54,.28), inset 0 1px 0 rgba(255,255,255,.8);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; animation: heroPanelIn .7s cubic-bezier(.2,.8,.2,1) forwards, heroPanelFloat 6s ease-in-out infinite alternate;
}
.phv-chip--a { top: 4%; right: -2%; animation-delay: .8s, 1.6s; }
.phv-chip--b { bottom: 6%; left: -3%; animation-delay: 1.1s, 2.1s; }
.phv-chip__k { font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--ink-500); }
.phv-chip__v { font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--ink-900); }
@media (max-width: 900px) {
  .page-hero__viz { min-height: 0; margin-top: 8px; }
  .phv-neural, .phv-particles { display: none; }
  .phv-chip--a { top: -4%; right: 0; }
  .phv-chip--b { bottom: -4%; left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .phv-p, .phv-chip, .phv-neural__lines line, .phv-neural__nodes circle { animation: none; opacity: 1; transform: none; }
}
.page-hero h1 { color: var(--ink-900); }
.page-hero p { color: var(--ink-600); }
.crumbs { color: var(--ink-500); }
.crumbs a { color: var(--ink-600); }
.crumbs a:hover { color: var(--gold-500); }
.crumbs span { color: var(--gold-600); }
.page-hero__stats .n { color: var(--ink-900); }
.page-hero__stats .l { color: var(--ink-500); }

/* ---- Hero dashboard widget stays a dark premium card ---- */
.hero-viz {
  background: linear-gradient(165deg, #101a30 0%, #0b1324 100%);
  border: 1px solid rgba(120, 150, 210, 0.22);
  box-shadow: 0 30px 70px rgba(15, 23, 54, 0.22), var(--neural-glow);
}

/* ---- Navy feature sections → light card sections ---- */
.section--navy {
  background:
    radial-gradient(760px 420px at 88% -10%, rgba(59, 130, 246, 0.08), transparent 60%),
    linear-gradient(180deg, #f3f6fe 0%, #ffffff 100%);
  color: var(--ink-600);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--navy::before {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.10), transparent 66%);
}
.section--navy::after {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08), transparent 66%);
}
.section--navy h2,
.section--navy h3,
.section--navy h4,
.section--navy h5 { color: var(--ink-900); }
.section--navy p { color: var(--ink-600); }
.section--navy .eyebrow { color: var(--gold-600); }
/* Stats band becomes a DARK premium card on the light section (fixes white numbers + adds hierarchy) */
.section--navy .stats-band {
  background: linear-gradient(160deg, #101a30 0%, #0a1224 100%);
  border: 1px solid rgba(120, 150, 210, 0.18);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 42px) clamp(20px, 3vw, 34px);
  box-shadow: 0 34px 80px -34px rgba(15, 23, 54, 0.45), var(--neural-glow);
}
.section--navy .stats-band .stat .num { color: #fff; }
.section--navy .stats-band .stat .num .suffix { color: var(--gold-400); }
.section--navy .stats-band .stat .lbl { color: #93a6bd; }
.section--navy .stats-band .stat + .stat { border-left-color: rgba(255, 255, 255, 0.1); }
.section--navy .card {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.section--navy .card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: var(--shadow-md);
}
.section--navy .card p { color: var(--ink-600); }
.section--navy .card__icon {
  background: rgba(59, 130, 246, 0.12);
  color: var(--gold-600);
}
.section--navy .check-list li { color: var(--ink-600); }
.section--navy .check-list strong { color: var(--ink-900); }
.section--navy .check-list .tick {
  background: rgba(59, 130, 246, 0.12);
  color: var(--gold-600);
}
.section--navy .metric .v { color: var(--ink-900); }
.section--navy .metric .l,
.section--navy .metric { color: var(--ink-500); }
.section--navy .tl-item .yr { color: var(--gold-600); }
.section--navy .slider__btn {
  background: #fff;
  border-color: var(--line);
  color: var(--ink-800);
}
.section--navy .slider__dots button { background: rgba(24, 40, 82, 0.2); }
.section--navy .slider__dots button.active { background: var(--gold-500); }

/* =====================================================================
   HOMEPAGE HERO — rebalanced composition
   Left = conversion column (copy + inline signup card).
   Right = phone showcase surrounded by a neural backdrop + floating AI
   analytics panels, so the phone reads as the centerpiece with no empty
   dead space around it.
   ===================================================================== */
.hero__grid { align-items: stretch; }
.hero__copy { position: relative; z-index: 2; align-self: center; }
.hero__copy h1 { font-size: clamp(2rem, 4vw, 3.05rem); line-height: 1.13; letter-spacing: -0.015em; }
.hero__copy .signup-card {
  margin-top: 26px;
  max-width: 460px;
}
.hero__copy .hero__trust { margin-top: 20px; }

/* stage becomes a full-height column: neural field fills it, phone-scene centered, stats pinned low */
.hero__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 560px;
}
.hero-scene {
  position: relative;
  z-index: 2;
  width: 300px;
  max-width: 100%;
}

/* Neural-network backdrop — fills the whole stage */
.hero-neural {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  pointer-events: none;
}
.hero-neural__lines line { opacity: 0.4; stroke-dasharray: 4 6; animation: hnDash 14s linear infinite; }
.hero-neural__nodes circle { animation: hnPulse 3.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hero-neural__nodes circle:nth-child(2n) { animation-delay: 1.1s; }
.hero-neural__nodes circle:nth-child(3n) { animation-delay: 2s; }
@keyframes hnDash { to { stroke-dashoffset: -100; } }
@keyframes hnPulse { 0%,100% { opacity: 0.5; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1.25); } }

/* Floating AI analytics panels */
.hero-panel {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 44px -16px rgba(16, 24, 54, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  animation: heroPanelIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards,
    heroPanelFloat 6s ease-in-out infinite alternate;
}
.hero-panel--signal { top: 5%; right: -3%; animation-delay: 0.7s, 1.4s; }
.hero-panel--conf { top: 42%; left: -6%; min-width: 168px; flex-direction: column; align-items: stretch; gap: 7px; animation-delay: 1s, 1.9s; }
.hero-panel--scan { bottom: 13%; right: -1%; animation-delay: 1.3s, 2.4s; }
@keyframes heroPanelIn { from { opacity: 0; transform: translateY(16px) scale(0.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes heroPanelFloat { from { transform: translateY(0); } to { transform: translateY(-7px); } }
.hero-panel__lbl { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ink-500); }
.hero-panel__val { font-family: var(--font-head); font-weight: 800; font-size: 0.9rem; color: var(--ink-900); margin-top: 2px; }
.hero-panel__val b { color: var(--emerald-600); }
.hero-panel__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18); animation: hwPulse 1.8s infinite; flex-shrink: 0; }
.hero-panel__bar { height: 6px; border-radius: 50px; background: rgba(24, 40, 82, 0.1); overflow: hidden; position: relative; }
.hero-panel__bar span { position: absolute; inset: 0; width: 0; border-radius: 50px; background: linear-gradient(90deg, #3b82f6, #8b5cf6, #22d3ee); animation: heroBarFill 1.4s cubic-bezier(0.4, 0, 0.2, 1) 1.3s forwards; }
@keyframes heroBarFill { to { width: var(--w, 88%); } }
.hero-panel__meta { font-size: 0.7rem; font-weight: 600; color: var(--ink-500); }
.hero-panel__radar { position: relative; width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; background: radial-gradient(circle, rgba(34, 211, 238, 0.25), transparent 70%); border: 1px solid rgba(34, 211, 238, 0.5); }
.hero-panel__radar::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #22d3ee; opacity: 0; animation: heroRadar 2.2s ease-out infinite; }
@keyframes heroRadar { 0% { transform: scale(0.4); opacity: 0.8; } 100% { transform: scale(1.3); opacity: 0; } }

/* stats strip under the phone */
.hero__stage .hero__chips { position: relative; z-index: 3; justify-content: center; margin-top: 30px; gap: 26px; }

@media (max-width: 900px) {
  .hero-neural, .hero-panel { display: none; }
  .hero__copy .signup-card { max-width: none; }
  .hero__stage .hero__chips { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-panel, .hero-neural__lines line, .hero-neural__nodes circle, .hero-panel__bar span, .hero-panel__radar::before { animation: none; opacity: 1; transform: none; }
  .hero-panel__bar span { width: var(--w, 88%); }
}

/* =====================================================================
   ROUND 4 — premium hero backgrounds, animated aurora, mobile polish
   ===================================================================== */

/* Heroes get a defined premium background so they read as a distinct block
   (no longer blending into the white page) — subtle, not heavy. */
.hero {
  background:
    radial-gradient(1100px 520px at 80% -10%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(900px 600px at 0% 0%, rgba(139, 92, 246, 0.08), transparent 60%),
    linear-gradient(180deg, #eef2fb 0%, #f6f8fe 46%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero {
  background:
    radial-gradient(820px 460px at 90% -12%, rgba(34, 211, 238, 0.12), transparent 58%),
    radial-gradient(700px 520px at 2% 4%, rgba(139, 92, 246, 0.09), transparent 60%),
    linear-gradient(180deg, #eef2fb 0%, #f7f9ff 60%, #ffffff 100%);
}

/* Animated aurora anchored to the bottom of every hero (injected via JS).
   Soft moving colour mist that gives depth; parallaxes slightly on scroll. */
.hero-aurora {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 500px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 55%);
  mask-image: linear-gradient(180deg, transparent, #000 55%);
  will-change: transform;
}
.hero-aurora::before {
  content: "";
  position: absolute;
  inset: -10% -12% -30%;
  background:
    radial-gradient(420px 260px at 20% 90%, rgba(59, 130, 246, 0.22), transparent 62%),
    radial-gradient(460px 280px at 70% 100%, rgba(139, 92, 246, 0.20), transparent 62%),
    radial-gradient(360px 240px at 45% 80%, rgba(34, 211, 238, 0.18), transparent 62%);
  filter: blur(46px);
  opacity: 0.75;
  animation: auroraShift 20s ease-in-out infinite;
}
.hero-aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(24, 40, 82, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000);
  mask-image: linear-gradient(180deg, transparent, #000);
  opacity: 0.5;
}
@keyframes auroraShift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-3%, -4%, 0) scale(1.06); }
}
.hero .wrap, .page-hero .wrap { position: relative; z-index: 1; }
.hero__blob { z-index: 0; }

/* Section rhythm: a touch of tint on alt bands so the page isn't flat white */
.section--alt {
  background:
    radial-gradient(680px 400px at 50% -30%, rgba(59, 130, 246, 0.05), transparent 60%),
    linear-gradient(180deg, #f4f7fe 0%, #fbfcff 100%);
}

/* Remove the blue→purple→cyan gradient border on the signup card on mobile —
   it reads as an out-of-place coloured frame on small screens. */
@media (max-width: 900px) {
  .signup-card::before { display: none; }
  .signup-card { border: 1px solid rgba(120, 150, 210, 0.28); }
  .hero-aurora { height: 320px; }
}

/* Compact the homepage hero on mobile so the headline, CTA and form sit
   within the first screen without excessive scrolling. */
@media (max-width: 760px) {
  .hero { padding: calc(var(--nav-h) + 24px) 0 40px; }
  .hero__copy h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); line-height: 1.15; }
  .hero__lead { font-size: 1rem; margin-top: 14px; }
  .hero__copy .hero__trust { margin-top: 14px; }
  .hero__copy .signup-card { margin-top: 18px; padding: 20px 18px; }
  .hero__grid { gap: 22px; }
  .hero__stage { margin-top: 6px; }
}
@media (max-width: 560px) {
  .hero__copy h1 { font-size: clamp(1.55rem, 8.5vw, 2rem); }
  .hero__chips { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-aurora::before { animation: none; }
}

/* ---------- AI Market Scanner (interactive) ---------- */
.scanner {
  max-width: 860px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(16px, 2.4vw, 26px);
}
.scanner__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.scanner__filters button {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-600);
  cursor: pointer;
  transition: 0.2s;
}
.scanner__filters button:hover { border-color: var(--gold-400); color: var(--ink-900); }
.scanner__filters button.active {
  background: var(--gold-grad);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}
.scanner__grid { display: flex; flex-direction: column; }
.scanner__row {
  display: grid;
  grid-template-columns: 38px minmax(96px, 1.3fr) minmax(120px, 1.6fr) 92px 64px 66px;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line-2);
  animation: scanRowIn 0.5s ease both;
  animation-delay: var(--d);
}
.scanner__row:last-child { border-bottom: none; }
@keyframes scanRowIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.scanner__row--hidden { display: none; }
.scanner__ic {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 0.95rem;
}
.scanner__nm b { display: block; font-family: var(--font-head); font-weight: 700; color: var(--ink-900); font-size: 0.92rem; }
.scanner__nm small { color: var(--ink-400); font-size: 0.76rem; }
.scanner__conf { display: flex; align-items: center; gap: 9px; }
.scanner__conf-bar { flex: 1; height: 7px; border-radius: 50px; background: rgba(24, 40, 82, 0.09); overflow: hidden; }
.scanner__conf-bar span { display: block; height: 100%; width: 0; border-radius: 50px; animation: scanBar 1.1s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes scanBar { to { width: var(--w); } }
.scanner__conf em { font-style: normal; font-weight: 700; font-size: 0.8rem; color: var(--ink-700, #33415c); min-width: 34px; text-align: right; }
.scanner__px { font-family: var(--font-head); font-weight: 700; color: var(--ink-900); font-size: 0.86rem; text-align: right; }
.scanner__chg { font-weight: 700; font-size: 0.82rem; text-align: right; }
.scanner__chg.up { color: var(--emerald-600); }
.scanner__chg.down { color: var(--red); }
.scanner__sig {
  font-family: var(--font-head); font-weight: 800; font-size: 0.72rem;
  text-align: center; padding: 5px 0; border-radius: 8px; letter-spacing: 0.4px;
}
.scanner__sig--buy { background: rgba(16, 185, 129, 0.14); color: var(--emerald-600); }
.scanner__sig--sell { background: rgba(239, 68, 68, 0.14); color: var(--red); }
.scanner__sig--hold { background: rgba(59, 130, 246, 0.14); color: var(--gold-600); }
.scanner__foot {
  margin-top: 16px; display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--ink-500);
}
.scanner__foot b { color: var(--ink-900); }
.scanner__foot-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18); animation: hwPulse 1.8s infinite; }
@media (max-width: 640px) {
  .scanner__row { grid-template-columns: 32px 1fr auto; grid-template-areas: "ic nm sig" "ic conf conf" "ic px chg"; row-gap: 6px; column-gap: 10px; }
  .scanner__ic { grid-area: ic; align-self: start; }
  .scanner__nm { grid-area: nm; }
  .scanner__conf { grid-area: conf; }
  .scanner__px { grid-area: px; text-align: left; }
  .scanner__chg { grid-area: chg; text-align: right; }
  .scanner__sig { grid-area: sig; padding: 5px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .scanner__row { animation: none; }
  .scanner__conf-bar span { animation: none; width: var(--w); }
}

/* =====================================================================
   ROUND 5 — restore homepage hero to the quantum-ro.com reference layout
   (phone-centric stage + signup card floating over the phone, subtle AI).
   These override the round-3/4 divergences (neural field, stretch grid,
   aurora, lavender background) which are no longer used on the homepage.
   ===================================================================== */
.hero {
  background: linear-gradient(180deg, #f2f6fc 0%, #ffffff 74%);
  border-bottom: none;
  padding: calc(var(--nav-h) + 34px) 0 48px;
}
.hero .hero-aurora { display: none; } /* no aurora on homepage — matches reference */
.hero__grid { align-items: center; }
.hero__stage { display: block; position: relative; min-height: 0; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.15rem); line-height: 1.1; }
.hero__lead { margin-top: 16px; }
.hero__actions { margin-top: 24px; }
.hero__chips { margin-top: 26px; }
.hero__trust { margin-top: 20px; }

/* Desktop: signup card floats over the phone's bottom-right (reference position) */
@media (min-width: 1081px) {
  .hero__stage .signup-card {
    position: absolute;
    right: -20px;
    bottom: -30px;
    width: 300px;
    max-width: none;
    margin: 0;
    z-index: 3;
  }
}

/* One subtle floating AI signal chip beside the phone (the AI upgrade) */
.hero-aisig {
  position: absolute;
  top: 9%;
  left: -3%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 38px -14px rgba(16, 24, 54, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  animation: heroAisigIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s forwards,
    heroAisigFloat 6s ease-in-out 1.6s infinite alternate;
}
.hero-aisig__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18); animation: hwPulse 1.8s infinite; flex-shrink: 0; }
.hero-aisig__lbl { display: block; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ink-500); }
.hero-aisig__val { display: block; font-family: var(--font-head); font-weight: 800; font-size: 0.9rem; color: var(--ink-900); margin-top: 1px; }
.hero-aisig__val b { color: var(--emerald-600); }
@keyframes heroAisigIn { from { opacity: 0; transform: translateY(14px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes heroAisigFloat { from { transform: translateY(0); } to { transform: translateY(-6px); } }
@media (max-width: 1080px) { .hero-aisig { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-aisig { animation: none; opacity: 1; transform: none; } }

/* Mobile/tablet: phone is hidden, so drop the decorative market widget too and let
   the registration form sit right under the copy (conversion-focused, no long scroll). */
@media (max-width: 1080px) {
  .hero-widget { display: none !important; }
  .hero__stage { max-width: 420px; }
  .hero__chips { margin-top: 22px; gap: 22px; }
}

/* Interior heroes: fit the first screen — smaller page-title h1, tighter padding */
.page-hero { padding: calc(var(--nav-h) + 34px) 0 44px; }
.page-hero h1 { font-size: clamp(1.85rem, 3.3vw, 2.55rem); line-height: 1.13; max-width: 600px; letter-spacing: -0.015em; }
.page-hero p { font-size: 1.02rem; margin-top: 12px; }
.page-hero__stats { margin-top: 24px; gap: 28px; }
.page-hero__viz { min-height: 300px; }
@media (max-width: 900px) {
  .page-hero { padding: calc(var(--nav-h) + 22px) 0 34px; }
  .page-hero h1 { font-size: clamp(1.7rem, 6.5vw, 2.1rem); }
  .page-hero__viz { margin-top: 6px; }
}

/* Short/landscape screens: reclaim drawer height so nav links get room and never
   crowd the logo. Secondary contact/socials footer is dropped; nav scrolls if needed. */
@media (max-height: 600px) {
  .drawer { padding-top: 14px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .drawer__head { padding-bottom: 10px; }
  .drawer__foot { display: none; }
  .drawer__nav { padding: 6px 0; gap: 3px; }
  .drawer__link { padding: 9px 14px; font-size: 1rem; }
  .drawer__cta { gap: 8px; padding-top: 10px; }
}
