/* ============================================================================
   ANAX Capital — Components
   ============================================================================ */

/* ---------- Risk bar ---------- */
.risk-bar {
  background: var(--ink); color: #fff; font-size: 12px;
  text-align: center; padding: 8px 16px; letter-spacing: 0.02em;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.risk-bar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.risk-bar.hidden { display: none; }
.risk-bar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

/* ============================================================================
   Z-INDEX SCALE (canonical, document layering)
   - hero/content   : 0–10
   - sticky topbar  : 70
   - cookie banner  : 75 (desktop) / 85 (mobile, below app-nav)
   - mobile nav drawer overlay : 78
   - mobile nav drawer panel   : 82
   - topbar (always above content + drawer overlay) : 70 stays
   - app bottom nav : 90
   - scroll progress: 60 (decorative, behind topbar)
   - call FAB       : 88
   - WhatsApp FAB   : 100 (always reachable)
   - ptr indicator  : 110 (top, momentary)
   - modal/dialog   : 200+
   ============================================================================ */

/* ---------- Header (always-sticky, never auto-hides) ---------- */
.topbar {
  position: sticky; top: 0; z-index: 70;
  background: #ffffff; /* opaque fallback when backdrop-filter unsupported */
  border-bottom: 1px solid var(--border-soft);
  transition: background .2s linear, box-shadow .2s linear,
              transform .35s cubic-bezier(0.22, 1, 0.36, 1),
              opacity .25s linear;
  /* GPU hint — DO NOT include transform here.
     `will-change: transform` creates a containing block, which makes child
     position:fixed elements (mobile drawer #primary-nav) position relative
     to topbar instead of viewport — drawer ends up off-screen. */
  will-change: background-color, box-shadow;
  -webkit-backface-visibility: hidden;
}
/* .hidden-top kept as no-op for legacy safety — header always visible per user */
.topbar.hidden-top {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar {
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
  }
}
/* Mobile: lighter blur — saves paint cost, kills flicker on scroll */
@media (max-width: 980px) {
  .topbar {
    backdrop-filter: saturate(160%) blur(10px) !important;
    -webkit-backdrop-filter: saturate(160%) blur(10px) !important;
    background: rgba(255,255,255,0.96) !important;
  }
}
.topbar.shrink .topbar-inner { padding: 10px 0; }
.topbar.scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 6px 24px rgba(0,37,49,0.06);
}
.topbar-inner {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0;
  transition: padding .25s var(--ease);
}
.brand { display: flex; align-items: center; gap: 8px; }
.brand img { height: 42px; width: auto; }
.topbar.shrink .brand img { height: 34px; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; margin-right: auto; }
.nav > li { list-style: none; position: relative; }
.nav > li > a, .nav > li > button {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 12px 14px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14.5px;
  color: var(--ink); background: transparent; border: 0;
}
.nav > li > a:hover, .nav > li > button:hover { background: var(--bg-tint); color: var(--ink); }
.nav > li[aria-current="true"] > a { color: var(--primary); }

/* ---------- Mega menu ---------- */
.mega {
  position: absolute; top: 100%; left: 0;
  /* Clamp to viewport: never wider than viewport minus padding */
  width: min(720px, calc(100vw - 32px));
  max-width: 920px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hi);
  padding: 28px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  z-index: 65;
}
.nav > li:hover > .mega,
.nav > li:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
.mega-col h5 { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 700; }
.mega-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.mega-col a {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--ink); transition: background .15s, color .15s;
}
.mega-col a:hover { background: var(--bg-tint); }
.mega-col a .icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--primary-100); color: var(--primary); flex-shrink: 0;
}
.mega-col a .icon svg { width: 18px; height: 18px; }
.mega-col a .meta { display: flex; flex-direction: column; }
.mega-col a .meta .t { font-weight: 700; font-size: 14px; color: var(--ink); }
.mega-col a .meta .d { font-size: 12.5px; color: var(--muted); }

/* CTA row */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  /* Guaranteed gap between last nav item (Contact) and first CTA (Login).
     Without this, Contact <a> padding overflows into Login. Keeps consistent
     spacing regardless of scroll state (shrink/normal). */
  margin-left: 24px;
  flex-shrink: 0;
}
.burger {
  display: none; background: transparent; border: 1px solid var(--border);
  padding: 9px 11px; border-radius: 10px;
}
.burger svg { width: 22px; height: 22px; color: var(--ink); }

/* ---------- Hero (with corner blue glow shadows) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(72px, 9vw, 120px) 0 clamp(80px, 10vw, 140px);
  background:
    /* corner glows — 4 corners */
    radial-gradient(700px 500px at 0% 0%,    rgba(109,166,242,0.28), transparent 60%),
    radial-gradient(700px 500px at 100% 0%,  rgba(109,166,242,0.22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%,  rgba(94,177,254,0.22), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(31,95,168,0.32), transparent 60%),
    /* soft center wash */
    radial-gradient(900px 600px at 50% 50%, rgba(220,228,243,0.4), transparent 70%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at top left,    rgba(109,166,242,0.18) 0%, transparent 35%),
    radial-gradient(circle at top right,   rgba(94,177,254,0.14) 0%, transparent 35%),
    radial-gradient(circle at bottom left, rgba(94,177,254,0.16) 0%, transparent 35%),
    radial-gradient(circle at bottom right,rgba(109,166,242,0.22) 0%, transparent 35%);
  pointer-events: none;
  z-index: 0;
  animation: hero-corner-pulse 8s ease-in-out infinite alternate;
}
@keyframes hero-corner-pulse {
  from { opacity: 0.85; }
  to   { opacity: 1; }
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(500px 350px at var(--mx, 50%) var(--my, 50%), rgba(109,166,242,0.14), transparent 60%);
  pointer-events: none; transition: background .12s linear;
  z-index: 0;
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
  position: relative; z-index: 1;
}
.hero h1, .hero-h1 {
  font-size: clamp(34px, 5.4vw, 64px);
  letter-spacing: -0.025em;
  margin: 14px 0 14px; line-height: 1.05;
  overflow-wrap: break-word;
}
.hero h1 .sweep {
  background: linear-gradient(90deg, var(--primary) 0%, var(--ink) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub {
  font-size: var(--t-4); color: var(--body); line-height: 1.55; max-width: 56ch;
}
.hero .cta-row { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-art {
  position: relative; display: grid; place-items: center;
}
.hero-art .arrow {
  width: 80%; max-width: 460px;
  filter: drop-shadow(0 30px 50px rgba(109,166,242,0.28));
  will-change: transform;
}
.hero-art .glow {
  position: absolute; inset: 8% 8%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(109,166,242,0.25), transparent 70%);
  filter: blur(40px); z-index: -1;
}

/* Inline hero lead form */
.hero-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 22px;
  max-width: 420px;
  margin-top: 28px;
}
.hero-form h3 { font-size: 18px; margin-bottom: 4px; }
.hero-form p.h { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.hero-form .row { display: grid; gap: 10px; }
.hero-form .row .field input,
.hero-form .row .field select {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; font-size: 14px; color: var(--ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.hero-form .row .field input:focus,
.hero-form .row .field select:focus {
  outline: none; border-color: var(--primary); box-shadow: var(--shadow-glow);
}

/* ---------- Section title ---------- */
.s-title { text-align: center; max-width: 740px; margin: 0 auto clamp(28px, 4vw, 56px); }
.s-title h2 { margin: 10px 0 14px; }
.s-title p { color: var(--muted); font-size: var(--t-4); margin: 0; }

/* ---------- KPI counters ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kpi {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.kpi:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--primary-100); }
.kpi .icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--primary-100); color: var(--primary);
  display: grid; place-items: center; margin-bottom: 14px;
}
.kpi .icon svg { width: 22px; height: 22px; }
.kpi .num {
  font-family: var(--ff); font-weight: 700;
  font-size: clamp(34px, 4vw, 48px);
  color: var(--ink); letter-spacing: -0.02em; line-height: 1;
}
.kpi .lbl { font-size: 13px; color: var(--muted); margin-top: 6px; letter-spacing: 0.02em; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  border-block: 1px solid var(--border);
  padding: 26px 0;
}
.marquee-track {
  display: flex; gap: 80px;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-2); font-weight: 700; font-size: 14px; letter-spacing: 0.01em;
  opacity: 0.78;
}
.marquee-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Card grid ---------- */
.grid { display: grid; gap: 22px; }
.grid.c-2 { grid-template-columns: repeat(2, 1fr); }
.grid.c-3 { grid-template-columns: repeat(3, 1fr); }
.grid.c-4 { grid-template-columns: repeat(4, 1fr); }
.grid.c-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--primary-100);
}
.card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  color: #fff; display: grid; place-items: center; margin-bottom: 18px;
  transition: transform .35s var(--ease-spring);
}
.card:hover .icon { transform: rotate(-6deg) scale(1.08); }
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 14.5px; line-height: 1.6; }
/* Global link arrow rule — prevents giant svg when .link used outside .card */
.link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 14px; color: var(--primary);
  text-decoration: none;
}
.link svg {
  width: 14px !important; height: 14px !important;
  display: inline-block;
  transition: transform .2s var(--ease);
}
.link:hover svg { transform: translateX(4px); }

.card .link {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 700; font-size: 14px;
}
.card .link svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.card:hover .link svg { transform: translateX(4px); }

/* Card on tint surface */
.card.on-tint { background: #fff; }
.card.on-dark { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.10); color: rgba(255,255,255,0.85); }
.card.on-dark h3 { color: #fff; }
.card.on-dark p { color: rgba(255,255,255,0.72); }

/* ---------- 3D tilt cards (markets) ---------- */
.tilt {
  perspective: 1000px;
}
.tilt-inner {
  transition: transform .35s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}

/* ---------- Pricing tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tier {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--primary-100); }
.tier.featured {
  background: linear-gradient(165deg, var(--ink) 0%, #001824 100%);
  color: #fff;
  border-color: var(--ink);
  box-shadow: var(--shadow-hi);
  transform: translateY(-12px);
}
.tier.featured:hover { transform: translateY(-16px); }
.tier .badge {
  position: absolute; top: 18px; right: 22px;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  background: var(--primary); color: #fff; padding: 4px 10px; border-radius: 999px;
}
.tier .label { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.tier.featured .label { color: rgba(255,255,255,0.6); }
.tier h3 { font-size: 26px; margin: 4px 0 14px; letter-spacing: -0.02em; }
.tier.featured h3 { color: #fff; }
.tier .price {
  font-size: 36px; font-weight: 700; line-height: 1;
  margin-bottom: 4px; color: var(--ink);
}
.tier.featured .price { color: #fff; }
.tier .price .from { font-size: 13px; color: var(--muted); margin-right: 4px; font-weight: 400; vertical-align: middle; }
.tier ul {
  list-style: none; padding: 0; margin: 20px 0 24px;
  display: grid; gap: 8px;
}
.tier ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--body); padding: 4px 0;
}
.tier.featured ul li { color: rgba(255,255,255,0.85); }
.tier ul li::before {
  content: ""; flex-shrink: 0;
  width: 16px; height: 16px; margin-top: 3px;
  background: var(--primary); border-radius: 4px;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m5 12 5 5 9-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m5 12 5 5 9-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}

/* ---------- Interactive markets picker ---------- */
.markets-pick {
  display: grid; grid-template-columns: 380px 1fr; gap: 24px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
  box-shadow: var(--shadow-card);
}
.mp-tabs { display: flex; flex-direction: column; gap: 6px; }
.mp-tab {
  display: grid; grid-template-columns: 44px 1fr 18px; gap: 12px; align-items: center;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius);
  padding: 14px 16px; text-align: left; cursor: pointer;
  transition: background .25s, border-color .25s, transform .2s;
}
.mp-tab:hover { background: var(--bg-tint); }
.mp-tab.active {
  background: var(--primary-100); border-color: var(--primary-100);
  transform: translateX(2px);
}
.mp-tab .mp-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  color: #fff; display: grid; place-items: center;
}
.mp-tab .mp-ico svg { width: 22px; height: 22px; }
.mp-tab .mp-meta { display: flex; flex-direction: column; line-height: 1.3; }
.mp-tab .mp-t { font-weight: 700; font-size: 15px; color: var(--ink); }
.mp-tab .mp-d { font-size: 12.5px; color: var(--muted); }
.mp-tab .mp-arrow { color: var(--primary); opacity: 0; transition: opacity .2s, transform .2s; }
.mp-tab .mp-arrow svg { width: 18px; height: 18px; }
.mp-tab.active .mp-arrow { opacity: 1; transform: translateX(2px); }

.mp-stage {
  background: linear-gradient(160deg, var(--bg-tint), #fff);
  border-radius: var(--radius); padding: 26px;
  border: 1px solid var(--border-soft);
  position: relative; overflow: hidden;
  min-height: 360px;
}
.mp-panel {
  opacity: 0; transform: translateY(20px); position: absolute; inset: 26px;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}
.mp-panel.active { opacity: 1; transform: none; position: relative; inset: auto; pointer-events: auto; }
.mp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mp-tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--primary);
  background: var(--primary-100); padding: 4px 10px; border-radius: var(--radius-pill);
}
.mp-spread { font-size: 13px; color: var(--muted); margin-left: auto; }
.mp-spread b { color: var(--ink); }
.mp-panel h3 { font-size: 24px; margin-bottom: 10px; }
.mp-panel p { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; line-height: 1.6; }
.mp-rows { display: grid; gap: 8px; margin-bottom: 20px; }
.mp-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center;
  padding: 10px 14px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px;
}
.mp-row span:first-child { color: var(--ink-2); font-weight: 600; }
.mp-row b { color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.mp-row .up { color: var(--success); font-weight: 700; font-size: 12px; min-width: 56px; text-align: right; }
.mp-row .dn { color: var(--danger); font-weight: 700; font-size: 12px; min-width: 56px; text-align: right; }

@media (max-width: 900px) {
  .markets-pick { grid-template-columns: 1fr; padding: 14px; }
  .mp-stage { padding: initial; min-height: 320px; }
}

/* ---------- 3-tier overrides ---------- */
.tiers.tiers-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .tiers.tiers-3 { grid-template-columns: 1fr; } }

/* ============================================================================
   Scroll-pinned steps cinema (frame-by-frame on scroll)
   ============================================================================ */
.steps-cinema {
  position: relative;
  height: 320vh; /* 4 frames × ~80vh scroll each */
  background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 50%, #fff 100%);
}
.steps-cinema .sc-track {
  position: sticky; top: 0;
  height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.steps-cinema .sc-title { margin-bottom: 32px; }
.sc-stage {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
  align-items: center;
  min-height: 360px;
}
.sc-progress {
  position: relative;
  height: 320px;
  width: 4px;
  background: var(--border);
  border-radius: var(--radius-pill);
  margin: 0 auto;
}
.sc-progress-fill {
  position: absolute; left: 0; right: 0; top: 0;
  height: 0%;
  background: linear-gradient(180deg, var(--primary), var(--primary-500));
  border-radius: var(--radius-pill);
  transition: height .35s var(--ease);
}
.sc-dot {
  position: absolute; left: 50%;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 2px solid var(--border);
  transform: translate(-50%, -50%);
  transition: border-color .3s, background .3s, transform .3s var(--ease-spring), box-shadow .3s;
  z-index: 2;
}
.sc-dot.d0 { top: 0%; }
.sc-dot.d1 { top: 33.33%; }
.sc-dot.d2 { top: 66.66%; }
.sc-dot.d3 { top: 100%; }
.sc-dot.lit {
  background: var(--primary);
  border-color: var(--primary);
  transform: translate(-50%, -50%) scale(1.3);
  box-shadow: 0 0 0 6px rgba(109,166,242,0.18);
}
.sc-frames {
  position: relative;
  min-height: 320px;
}
.sc-frame {
  position: absolute; inset: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 20px 60px rgba(0,37,49,0.06);
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition:
    opacity .6s var(--ease),
    transform .8s var(--ease);
  pointer-events: none;
  display: flex; flex-direction: column; gap: 14px;
  max-width: 720px;
}
.sc-frame.active {
  opacity: 1; transform: none;
  pointer-events: auto;
}
.sc-frame .sc-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary-100), #fff);
  color: var(--primary);
  display: grid; place-items: center;
}
.sc-frame .sc-num {
  font-size: 14px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--primary); text-transform: uppercase;
}
.sc-frame h3 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  margin: 0;
}
.sc-frame p {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--body);
  line-height: 1.6; margin: 0;
  max-width: 56ch;
}
.sc-detail {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px;
}
.sc-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 12.5px; font-weight: 600;
  color: var(--ink);
}
.sc-pill svg { color: var(--success); }
.sc-hint {
  margin-top: 28px;
  font-size: 12.5px; color: var(--muted);
  text-align: center; letter-spacing: 0.04em;
  animation: sc-bounce 2s var(--ease) infinite;
}
@keyframes sc-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* Mobile — scroll-pin kept on mobile (spec in brand-sections.css). Legacy flatten neutralised. */
@media (max-width: 768px) {
  .steps-cinema { /* height + background controlled by brand-sections.css mobile spec */ }
  .steps-cinema .sc-track { /* sticky pin preserved — see brand-sections.css mobile spec */ }
  /* mobile flatten removed — scroll-pinned cinema spec lives in brand-sections.css */
}
@media (prefers-reduced-motion: reduce) {
  .sc-frame { transition: opacity .2s linear; transform: none; }
  .sc-hint { animation: none; }
}

/* ---------- Step path (animated SVG line draw) ---------- */
.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.step-line-wrap {
  position: absolute; top: 56px; left: 0; right: 0;
  width: 100%; height: 8px; z-index: 0;
  pointer-events: none;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative; z-index: 1;
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .8s var(--ease),
    transform .8s var(--ease),
    border-color .35s,
    box-shadow .35s;
}
.step::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(109,166,242,0.06), transparent 55%);
  opacity: 0; transition: opacity .4s var(--ease);
  pointer-events: none;
}
.step::after {
  content: "";
  position: absolute; right: -30px; top: -30px;
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(109,166,242,0.20), transparent 65%);
  opacity: 0; transform: scale(0.5); transition: opacity .5s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}
html.js-anim .steps-anim .step.in-view {
  opacity: 1; transform: none;
}
.steps-anim .step:nth-child(1).in-view { transition-delay: .05s; }
.steps-anim .step:nth-child(2).in-view { transition-delay: .25s; }
.steps-anim .step:nth-child(3).in-view { transition-delay: .45s; }
.steps-anim .step:nth-child(4).in-view { transition-delay: .65s; }
.step:hover {
  transform: translateY(-6px);
  border-color: var(--primary-100);
  box-shadow: 0 24px 50px rgba(109,166,242,0.18);
}
.step:hover::before, .step:hover::after { opacity: 1; transform: scale(1); }
.step .num {
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--primary-100);
  border: 2px solid var(--primary-100);
  display: grid; place-items: center; font-weight: 700; font-size: 18px;
  margin-bottom: 18px;
  position: relative; z-index: 2;
  transition: background .35s var(--ease), color .35s, border-color .35s, transform .35s var(--ease-spring), box-shadow .35s;
}
.step.lit .num,
.step.in-view .num {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 8px rgba(109,166,242,0.16), 0 10px 26px rgba(109,166,242,0.38);
  transform: scale(1.08);
}
.step h4 { margin: 0 0 6px; font-size: 18px; position: relative; z-index: 2; }
.step p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.65; position: relative; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  .step { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 900px) {
  .step-line-wrap { display: none; }
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--bg-deep); color: #fff; padding: 18px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track {
  display: flex; gap: 56px; width: max-content;
  animation: marquee 30s linear infinite;
}
.ticker-item {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
}
.ticker-item .sym { color: rgba(255,255,255,0.7); }
.ticker-item .price { color: #fff; }
.ticker-item .chg.up { color: #5BE1A6; }
.ticker-item .chg.dn { color: #FF8AA3; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; padding: 6px; background: var(--bg-tint); border-radius: var(--radius-pill); width: max-content; margin: 0 auto 32px; }
.tabs button {
  padding: 10px 22px; border-radius: var(--radius-pill); border: 0;
  background: transparent; color: var(--ink); font-weight: 700; font-size: 14px;
  transition: background .2s, color .2s;
}
.tabs button.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-card); }

/* ---------- Tables ---------- */
.table-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
thead { background: var(--ink); color: #fff; }
thead th { padding: 14px 18px; text-align: left; font-weight: 700; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; }
tbody td { padding: 14px 18px; border-top: 1px solid var(--border-soft); color: var(--body); }
tbody tr:hover { background: var(--bg-tint); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field { position: relative; }
.field label {
  display: block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 6px;
}
.field label .req { color: var(--danger); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; font-size: 15px; color: var(--ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: var(--shadow-glow);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field .err { display: none; color: var(--danger); font-size: 12.5px; margin-top: 4px; }
.field.invalid .err { display: block; }

.phone-row { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.pwd-wrap { position: relative; }
.pwd-toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--muted); padding: 6px;
}
.consents { margin: 20px 0 8px; display: grid; gap: 12px; }
.consent {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px;
  align-items: start; font-size: 13.5px; color: var(--body); line-height: 1.5;
}
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); }

.submit-btn {
  width: 100%; margin-top: 18px; padding: 18px 24px;
  border: 0; border-radius: var(--radius-pill);
  background: var(--primary); color: #fff; font-weight: 700; font-size: 16px;
  letter-spacing: 0.02em; cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 12px 24px rgba(31,95,168,0.32);
}
.submit-btn:hover { background: var(--primary-700); transform: translateY(-2px); box-shadow: 0 18px 30px rgba(109,166,242,0.36); }
.submit-btn:disabled { background: var(--muted); cursor: not-allowed; transform: none; box-shadow: none; }
.form-msg { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); display: none; font-size: 14px; }
.form-msg.ok { display: block; background: rgba(26,143,78,0.10); color: var(--success); border: 1px solid rgba(26,143,78,0.30); }
.form-msg.err { display: block; background: rgba(194,53,79,0.08); color: var(--danger); border: 1px solid rgba(194,53,79,0.28); }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  padding: clamp(72px, 8vw, 110px) 0 clamp(40px, 5vw, 64px);
  background:
    radial-gradient(700px 480px at 90% 12%, rgba(109,166,242,0.12), transparent 65%),
    var(--bg-tint);
  position: relative; overflow: hidden;
}
.page-hero h1 { font-size: var(--t-7); margin: 10px 0 12px; }
.page-hero p.lead { max-width: 64ch; }
.breadcrumbs {
  font-size: 12.5px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { opacity: 0.5; }

/* ---------- Final CTA strip ---------- */
.cta-final {
  background:
    radial-gradient(700px 400px at 80% 20%, rgba(109,166,242,0.25), transparent 60%),
    var(--ink);
  color: #fff; padding: clamp(64px, 8vw, 110px) 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-final h2 { color: #fff; font-size: var(--t-7); margin-bottom: 14px; }
.cta-final p { color: rgba(255,255,255,0.78); max-width: 60ch; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--bg-deep); color: rgba(255,255,255,0.72);
  padding: 72px 0 32px; font-size: 14px;
}
.site-footer h5 {
  color: #fff; font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; margin: 0 0 18px; font-weight: 700;
}
.site-footer a { color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 44px; align-items: start; }
.footer-brand img { height: 50px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.65); line-height: 1.6; margin: 0; font-size: 13px; max-width: none; }
.social-row { display: flex; gap: 8px; margin-top: 18px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: grid; place-items: center; color: rgba(255,255,255,0.85);
  transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease);
}
.social-row a:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); }
.social-row svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 22px; margin-top: 22px;
  display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255,255,255,0.55);
}
.disclaimer {
  margin-top: 22px; font-size: 12.5px; color: rgba(255,255,255,0.65);
  line-height: 1.75; max-width: none;
  text-align: justify;
}

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; padding: 22px 8px; background: none; border: 0;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-weight: 700; font-size: 16px; color: var(--ink);
}
.faq-q .chev { transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-q .chev svg { width: 20px; height: 20px; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-item.open .faq-a { max-height: 480px; }
.faq-a-inner {padding: 0 8px 24px;color: #030303;background-color: antiquewhite;border-end-start-radius: 10px !important;font-size: 14.5px;line-height: 1.7;}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; bottom: 20px; right: 20px; left: auto;
  max-width: 360px; margin: 0;
  background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-hi); border-radius: var(--radius);
  padding: 16px 18px;
  /* z-index scale: app-nav=90, cookie banner should sit ABOVE on desktop but UNDER app-nav on mobile */
  z-index: 75;
  transform: translateY(140%); transition: transform .5s var(--ease-spring);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner h4 { margin-bottom: 4px; font-size: 14px; }
.cookie-banner p { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; line-height: 1.5; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions .btn { padding: 8px 14px; font-size: 12.5px; }
@media (max-width: 768px) {
  .cookie-banner {
    left: 12px; right: 12px;
    max-width: none;
    bottom: calc(82px + env(safe-area-inset-bottom));
    padding: 12px 14px;
    z-index: 85; /* below app-nav (90) but above content */
  }
  .cookie-banner h4 { font-size: 13px; }
  .cookie-banner p { font-size: 11.5px; margin-bottom: 8px; }
}

/* ---------- Scroll progress bar (vertical, left edge) ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; bottom: 0; width: 3px;
  background: transparent;
  z-index: 60;
  pointer-events: none;
}
.scroll-progress::before {
  content: "";
  position: absolute; left: 0; top: 0; right: 0;
  height: var(--sp, 0%);
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-500) 100%);
  box-shadow: 0 0 12px rgba(109,166,242,0.45);
  transition: height .08s linear;
  will-change: height;
}

/* ---------- SCA Regulatory badge ---------- */
.sca-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 8px;
  background: rgba(109,166,242,0.08); border: 1px solid var(--primary-100);
  border-radius: var(--radius-pill);
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--primary-700);
  white-space: nowrap;
  vertical-align: middle;
}
.sca-badge.on-dark {
  background: rgba(255,255,255,0.05);
  border-color: rgba(94,177,254,0.35);
  color: #B6DCFE;
}
.sca-badge .sca-seal {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.02em;
  flex-shrink: 0;
  line-height: 1;
  font-family: var(--ff);
  text-align: center;
  padding: 0;
}
.sca-badge.lg {
  padding: 10px 22px 10px 10px; font-size: 17px;
}
.sca-badge.lg .sca-seal { width: 50px; height: 50px; font-size: 17px; }

/* Compliance card */
.compliance-card {
  background: linear-gradient(160deg, var(--primary-100), #fff);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative; overflow: hidden;
}
.compliance-card::before {
  content: ""; position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(109,166,242,0.18), transparent 70%);
  pointer-events: none;
}
.compliance-card h4 { font-size: 16px; margin-bottom: 4px; }
.compliance-card p { font-size: 13px; color: var(--body); margin: 0; }

/* ---------- Live markets strip (post-hero) ---------- */
.live-markets {
  padding: 32px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
  border-block: 1px solid var(--border);
}
.live-markets-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; gap: 12px; flex-wrap: wrap;
}
.live-markets-head .t { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 700; color: var(--ink); }
.live-markets-head .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 0 rgba(26,143,78,0.7);
  animation: pulse 1.6s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(26,143,78,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(26,143,78,0); }
  100% { box-shadow: 0 0 0 0 rgba(26,143,78,0); }
}
.live-markets-head .updated { font-size: 12px; color: var(--muted); }
.live-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.live-tile {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.live-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--primary-100); }
.live-tile .sym { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.live-tile .price { font-size: 18px; font-weight: 700; color: var(--ink); margin: 6px 0 4px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.live-tile .chg { font-size: 12px; font-weight: 700; }
.live-tile .chg.up { color: var(--success); }
.live-tile .chg.dn { color: var(--danger); }
.live-tile .spark2 { width: 100%; height: 28px; margin-top: 8px; }
.live-tile .spark2 path { fill: none; stroke: var(--primary); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1024px) {
  .live-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .live-tiles { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Hero chart sparkline (legacy — hidden) ---------- */
.hero-chart {
  display: none;
}
.hero-chart-disabled {
  position: absolute; bottom: 18%; left: 4%;
  width: 280px; max-width: 30%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-card);
  z-index: 2;
}
.hero-chart .hdr {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; margin-bottom: 8px;
}
.hero-chart .hdr .sym { font-weight: 700; color: var(--ink); }
.hero-chart .hdr .chg { color: var(--success); font-weight: 700; }
.hero-chart .price {
  font-size: 22px; font-weight: 700; color: var(--ink);
  margin-bottom: 6px; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.hero-chart svg { width: 100%; height: 60px; }
.hero-chart .line {
  fill: none; stroke: var(--primary);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1000; stroke-dashoffset: 1000;
  animation: draw 2s var(--ease) forwards;
}
.hero-chart .area { fill: url(#chart-grad); opacity: 0; animation: fade 1s 1.5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 0.4; } }
@media (max-width: 1024px) {
  .hero-chart { display: none; }
}

/* KPI sparkline mini chart */
.kpi .spark {
  width: 100%; height: 28px; margin-top: 8px;
  opacity: 0.55;
}
.kpi .spark path {
  fill: none; stroke: var(--primary); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 500; stroke-dashoffset: 500;
}
.kpi.in .spark path { animation: draw 1.5s 0.4s var(--ease) forwards; }

/* ---------- Animated underline link ---------- */
.u-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--primary); position: relative;
}
.u-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--primary);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .35s var(--ease);
}
.u-link:hover::after { transform: scaleX(1); }

/* ---------- Awards / partners strip (logos placeholder) ---------- */
.logo-strip {
  display: flex; gap: 48px; flex-wrap: wrap;
  align-items: center; justify-content: center;
  padding: 28px 0;
  opacity: 0.65;
}
.logo-strip .logo-tile {
  font-family: var(--ff); font-weight: 700; color: var(--ink-2);
  font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: #fff;
}

/* ---------- Testimonial card ---------- */
.tm {
  position: relative; padding: 32px 28px 24px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.tm:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--primary-100); }
.tm::before {
  content: '\201C'; position: absolute; top: 0; left: 18px;
  font-size: 72px; line-height: 1; color: var(--primary); opacity: 0.18;
  font-family: serif;
}
.tm p { font-size: 16px; color: var(--ink); line-height: 1.6; }
.tm .who { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.tm .who .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px;
}
.tm .who .meta { line-height: 1.2; }
.tm .who .name { font-weight: 700; font-size: 13.5px; color: var(--ink); }
.tm .who .role { font-size: 12px; color: var(--muted); }

/* ---------- Hover ripple ---------- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 0; height: 0; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transform: translate(-50%, -50%); pointer-events: none;
  transition: width .5s var(--ease), height .5s var(--ease);
}
.btn:active::after { width: 240px; height: 240px; transition: 0s; }
.btn-ghost::after, .btn-ghost-on-dark::after { background: rgba(109,166,242,0.18); }

/* ---------- Scroll reveal hooks (JS-opt-in pre-hide) ---------- */
html.js-anim [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
html.js-anim [data-reveal].in { opacity: 1; transform: none; border-radius: 10px !important;}
html.js-anim [data-reveal-delay="1"].in { transition-delay: 0.08s; }
html.js-anim [data-reveal-delay="2"].in { transition-delay: 0.16s; }
html.js-anim [data-reveal-delay="3"].in { transition-delay: 0.24s; }
html.js-anim [data-reveal-delay="4"].in { transition-delay: 0.32s; }
html.js-anim [data-reveal-delay="5"].in { transition-delay: 0.40s; }
html.js-anim [data-reveal-delay="6"].in { transition-delay: 0.48s; }

/* ---------- Live spread row item ---------- */
.spread-row {
  display: grid; grid-template-columns: 1fr 90px 90px 80px; gap: 14px; align-items: center;
  padding: 14px 18px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--border);
  font-size: 14px;
}
.spread-row .name { font-weight: 700; }
.spread-row .bid { color: var(--success); font-variant-numeric: tabular-nums; }
.spread-row .ask { color: var(--danger); font-variant-numeric: tabular-nums; }
.spread-row .spread { color: var(--muted); text-align: right; }

/* ---------- Quote box ---------- */
.quote {
  background: var(--bg-tint);
  border-left: 4px solid var(--primary);
  padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 18px; font-style: italic; color: var(--ink);
  margin: 28px 0;
}
.quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 13px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 16px; border-top: 1px solid var(--border);
    box-shadow: var(--shadow-hi);
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .nav > li > .mega { position: static; min-width: 0; max-width: none; box-shadow: none; border: 0; padding: 8px 0 0; transform: none; visibility: visible; opacity: 1; }
  .mega-grid { grid-template-columns: 1fr; gap: 14px; }
  .burger { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 360px; margin: 0 auto; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .grid.c-4, .grid.c-5 { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .tier.featured { transform: none; }
  .tier.featured:hover { transform: translateY(-6px); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid.c-2, .grid.c-3 { grid-template-columns: 1fr; }
  .tiers, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero h1 { font-size: clamp(36px, 9vw, 56px); }
}

/* ---------- Hero tagline rotator + stage ---------- */
.hero { position: relative; }
.hero-h1 {
  /* Reserve enough vertical space for longest rotating tagline (up to 2-3 lines on mobile) */
  min-height: 2.4em;
  line-height: 1.05;
}
@media (min-width: 981px) {
  .hero-h1 { min-height: 1.2em; }
}
.tag-rotator { position: relative; display: inline-block; width: 100%; }
.tag-rotator .tag-line {
  position: absolute; top: 0; left: 0; right: 0;
  opacity: 0; transform: translateY(28px) scale(0.97);
  background: linear-gradient(95deg, var(--ink) 0%, var(--primary) 50%, var(--gold) 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: blur(8px);
  transition:
    opacity .55s cubic-bezier(0.22, 1, 0.36, 1),
    transform .75s cubic-bezier(0.22, 1, 0.36, 1),
    filter .55s ease,
    background-position 1.4s ease;
  white-space: nowrap; pointer-events: none;
}
.tag-rotator .tag-line.active {
  position: relative;
  opacity: 1;
  transform: none;
  filter: none;
  pointer-events: auto;
  animation: tag-shimmer 3.4s ease-in-out infinite;
}
@keyframes tag-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@media (max-width: 720px) {
  .tag-rotator { display: block; min-height: 1.1em; width: 100%; }
  .tag-rotator .tag-line { white-space: normal; word-break: normal; overflow-wrap: break-word; hyphens: auto; }
  .hero h1, .hero-h1 { font-size: clamp(24px, 7vw, 34px) !important; overflow-wrap: break-word; line-height: 1.1; }
  .hero { overflow-x: clip; overflow-y: visible; padding: 20px 0 32px; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 18px !important; }
  .hero .sub { font-size: 14px; line-height: 1.5; }
  .hero .sca-badge.lg { font-size: 10.5px; padding: 6px 10px; margin-bottom: 14px !important; }
  .hero-verifieds { margin-top: 18px; flex-direction: row; flex-wrap: wrap; gap: 8px; font-size: 11.5px; }
  .hero-stage { aspect-ratio: 1/1; max-width: 240px; margin: 0 auto; }
  .hero-art { max-width: 100%; order: -1; }
  .stage-arrow .arrow { width: 56%; max-width: 180px; }
  .arrow-orbit .orbit-sym { width: 30px; height: 30px; font-size: 13px; }
  .stage-trend svg, .stage-grow svg { max-width: 100%; height: auto; }
  .radar-center { width: 40px; height: 40px; }
  .radar-center svg { width: 24px; height: 24px; }
  .cta-row { gap: 8px; margin-top: 16px; }
}

.hero-verifieds {
  margin-top: 32px;
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.hero-verifieds span { display: inline-flex; align-items: center; gap: 6px; }
.hero-verifieds svg { color: var(--success); }

.hero-stage {
  position: relative;
  width: 100%; aspect-ratio: 1 / 1; max-width: 460px;
  display: grid; place-items: center;
}
.stage-img {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(28px) scale(0.95);
  transition: opacity .65s var(--ease), transform .8s var(--ease);
  display: grid; place-items: center; pointer-events: none;
}
.stage-img.active { opacity: 1; transform: none; pointer-events: auto; }
.hero-stage img.arrow {
  width: 80%; max-width: 380px;
  filter: drop-shadow(0 30px 50px rgba(109,166,242,0.28));
  will-change: transform;
}
.stage-card {
  width: 78%; max-width: 320px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow-hi);
}
.stage-card .sc-hdr { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.stage-card .sc-hdr .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.stage-card .sc-hdr .chg.up { margin-left: auto; color: var(--success); font-weight: 700; }
.stage-card .sc-price { font-size: 36px; font-weight: 700; color: var(--ink); margin: 8px 0 6px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stage-card svg { width: 100%; height: 70px; }
.stage-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px; width: 80%; max-width: 360px;
}
.stage-grid.active { animation: stageFloat 4s var(--ease) infinite alternate; }
@keyframes stageFloat { to { transform: translateY(-6px); } }
.g-cell {
  background: #fff; border: 1px solid var(--border);
  padding: 14px 16px; border-radius: 12px;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-card);
}
.g-cell span { font-size: 11px; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }
.g-cell b { font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.stage-trend {
  width: 80%; max-width: 360px;
}
.stage-trend svg { width: 100%; height: auto; }
.stage-hash {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 700; letter-spacing: -0.02em;
  background: linear-gradient(95deg, var(--primary) 0%, var(--primary-700) 50%, var(--ink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-align: center;
}

/* Candlestick stage (trading-themed) */
.stage-candle {
  width: 88%; max-width: 380px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-hi);
  display: flex; flex-direction: column; gap: 10px;
}
.stage-candle svg { width: 100%; height: auto; max-height: 180px; }
.stage-candle .candles g {
  transform-origin: bottom center;
  animation: candle-rise 1.2s var(--ease) both;
}
.stage-candle .candles g:nth-child(1)  { animation-delay: 0.05s; }
.stage-candle .candles g:nth-child(2)  { animation-delay: 0.12s; }
.stage-candle .candles g:nth-child(3)  { animation-delay: 0.19s; }
.stage-candle .candles g:nth-child(4)  { animation-delay: 0.26s; }
.stage-candle .candles g:nth-child(5)  { animation-delay: 0.33s; }
.stage-candle .candles g:nth-child(6)  { animation-delay: 0.40s; }
.stage-candle .candles g:nth-child(7)  { animation-delay: 0.47s; }
.stage-candle .candles g:nth-child(8)  { animation-delay: 0.54s; }
.stage-candle .candles g:nth-child(9)  { animation-delay: 0.61s; }
.stage-candle .candles g:nth-child(10) { animation-delay: 0.68s; }
.stage-candle .candles g:nth-child(11) { animation-delay: 0.75s; }
@keyframes candle-rise {
  from { opacity: 0; transform: scaleY(0); }
  to   { opacity: 1; transform: scaleY(1); }
}
.stage-candle-foot {
  display: flex; justify-content: space-between;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.stage-candle-foot span:first-child { color: var(--success); }
.stage-candle-foot span:last-child { color: var(--danger); }
@media (prefers-reduced-motion: reduce) {
  .stage-candle .candles g { animation: none; }
}

.hero-progress {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 3;
}
.hero-progress .dot-on {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border);
  transition: background .3s, transform .3s var(--ease-spring);
}
.hero-progress .dot-on.live {
  background: var(--primary);
  transform: scale(1.6);
}

/* ---------- Mega menu — right-align last two ---------- */
.nav > li:nth-last-child(-n+3) > .mega { left: auto; right: 0; }

/* ---------- Tabs (account-type picker on register) ---------- */
.tab-bar {
  display: inline-flex;
  background: var(--bg-tint);
  border-radius: var(--radius-pill);
  padding: 6px;
  gap: 4px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.tab-bar button {
  background: transparent; border: 0;
  padding: 10px 18px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 13px; color: var(--ink-2);
  transition: background .25s, color .25s, box-shadow .25s;
  cursor: pointer;
}
.tab-bar button.active {
  background: #fff; color: var(--primary);
  box-shadow: var(--shadow-card);
}
.tab-bar button:hover:not(.active) { color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: tabIn .35s var(--ease); }
@keyframes tabIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Mobile app polish ---------- */
@media (max-width: 640px) {
  .container { padding-inline: 16px; width: 100%; }
  .hero { padding: 32px 0 56px; }
  .hero-grid { gap: 28px; }
  .hero h1, .hero-h1 { font-size: clamp(36px, 12vw, 56px); }
  .hero-h1 { min-height: auto; }
  .tag-rotator { display: block; min-height: 1.05em; }
  .tag-rotator .tag-line { white-space: normal; position: absolute; }
  .tag-rotator .tag-line.active { position: relative; }
  .hero-stage { max-width: 300px; aspect-ratio: auto; min-height: 240px; margin: 0 auto; }
  .stage-card, .stage-grid, .stage-trend { width: 90%; }
  .stage-grid { grid-template-columns: 1fr 1fr; }
  .cta-row .btn { width: 100%; }
  .btn-lg { padding: 16px 24px; font-size: 15px; }
  .hero-verifieds { gap: 12px; font-size: 12px; }
  .section { padding: 48px 0; }
  .s-title h2 { font-size: clamp(26px, 7vw, 36px); }
  .live-tiles { gap: 8px; }
  .live-tile { padding: 10px; }
  .live-tile .price { font-size: 15px; }
  .tier { padding: 24px 22px; }
  .tier.featured { transform: none; }
  .topbar-inner { padding: 12px 0; gap: 8px; }
  .nav-cta .btn.btn-sm { padding: 8px 14px; font-size: 12.5px; }
  .nav-cta .btn-ghost.btn-sm { display: none; }
  .reg-wrap { padding: 32px 0; }
  .reg-card { padding: 20px 18px; }
  .form-grid { gap: 12px; }
  .field input, .field select { padding: 12px 14px; font-size: 16px; }
  .submit-btn { font-size: 15px; padding: 16px 20px; }
  /* App-feel sticky bottom CTA bar */
  body.has-bottom-bar { padding-bottom: 76px; }
  .bottom-bar-mobile {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--border);
    padding: 12px 16px; z-index: 70;
    box-shadow: 0 -8px 24px rgba(0,37,49,0.08);
    display: flex; gap: 10px;
  }
  .bottom-bar-mobile .btn { flex: 1; padding: 14px 16px; font-size: 14px; }
}
@media (min-width: 641px) { .bottom-bar-mobile { display: none !important; } }

/* ---------- Footer licence line (replaces rotating SCA seal) ---------- */
.licence-line {
  margin-top: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  padding: 10px 14px;
  border: 1px solid rgba(94,177,254,0.30);
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* ---------- Timelapse-style reveals (extends [data-reveal]) ---------- */
html.js-anim [data-reveal-chunk] {
  display: inline-block;
  opacity: 0; transform: translateY(28px) scale(0.96);
  filter: blur(4px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
  will-change: opacity, transform, filter;
}
html.js-anim [data-reveal-chunk].in { opacity: 1; transform: none; filter: none; }
html.js-anim [data-reveal-chunk][data-d="1"] { transition-delay: 0.08s; }
html.js-anim [data-reveal-chunk][data-d="2"] { transition-delay: 0.18s; }
html.js-anim [data-reveal-chunk][data-d="3"] { transition-delay: 0.30s; }
html.js-anim [data-reveal-chunk][data-d="4"] { transition-delay: 0.44s; }

/* Stagger cards on scroll-in */
.stagger-children > [data-reveal] {
  transition-delay: calc(var(--i, 0) * 0.07s);
}

/* ---------- WhatsApp Floating Action Button ---------- */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px;
  z-index: 100;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  box-shadow: 0 10px 26px rgba(37,211,102,0.36), 0 0 0 0 rgba(37,211,102,0.5);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  animation: wa-pulse 2.4s var(--ease) infinite;
}
.wa-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 36px rgba(37,211,102,0.48);
}
.wa-fab:focus-visible { outline: 3px solid #1a8f4e; outline-offset: 3px; }
.wa-fab svg { display: block; }
.wa-fab-label { white-space: nowrap; }
@keyframes wa-pulse {
  0%   { box-shadow: 0 10px 26px rgba(37,211,102,0.36), 0 0 0 0 rgba(37,211,102,0.55); }
  70%  { box-shadow: 0 10px 26px rgba(37,211,102,0.36), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 26px rgba(37,211,102,0.36), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 640px) {
  .wa-fab { right: 14px; bottom: 14px; padding: 10px 14px 10px 12px; font-size: 13px; }
  .wa-fab-label { display: none; }
  .wa-fab { padding: 12px; border-radius: 50%; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab { animation: none; }
}

/* ---------- Hero 3D rotating arrow + orbit ---------- */
.hero-stage { perspective: 1200px; }
.stage-arrow {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.stage-arrow .arrow {
  width: 64%;
  max-width: 320px;
  transform-style: preserve-3d;
  animation: arrow-spin-y 7s linear infinite;
  filter: drop-shadow(0 24px 40px rgba(31,95,168,0.32));
  transform-origin: 50% 50%;
  position: relative;
  z-index: 2;
}
@keyframes arrow-spin-y {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}
.arrow-orbit {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  animation: orbit-spin 18s linear infinite;
  pointer-events: none;
}
.arrow-orbit .orbit-sym {
  position: absolute;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--primary-100);
  box-shadow: 0 6px 18px rgba(109,166,242,0.18);
  display: grid; place-items: center;
  font-weight: 700; font-size: 18px;
  color: var(--primary-700);
  letter-spacing: -0.02em;
  animation: orbit-spin-counter 18s linear infinite;
}
.orbit-sym.sym-fx   { top: 0;   left: 50%; transform: translateX(-50%); }
.orbit-sym.sym-gbp  { top: 14%; right: 0; }
.orbit-sym.sym-usd  { top: 50%; right: 0; transform: translateY(-50%); }
.orbit-sym.sym-jpy  { bottom: 14%; right: 0; }
.orbit-sym.sym-gold {
  bottom: 0; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 8px 22px rgba(179,154,126,0.45);
}
.orbit-sym.sym-oil  { top: 50%; left: 0; transform: translateY(-50%); }
@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes orbit-spin-counter {
  from { transform: rotate(0deg) translate(0,0); }
  to   { transform: rotate(-360deg) translate(0,0); }
}
@media (prefers-reduced-motion: reduce) {
  .stage-arrow .arrow, .arrow-orbit, .arrow-orbit .orbit-sym { animation: none; }
}

/* Stage 1 · growing bars + arrow */
.stage-grow {
  width: 88%; max-width: 360px;
  display: grid; place-items: center;
}
.stage-grow svg { width: 100%; height: auto; }
.stage-img.active .grow-bars rect {
  animation: bar-rise .9s var(--ease) forwards;
}
.stage-img.active .grow-bars rect:nth-child(1) { animation-delay: 0.10s; }
.stage-img.active .grow-bars rect:nth-child(2) { animation-delay: 0.18s; }
.stage-img.active .grow-bars rect:nth-child(3) { animation-delay: 0.26s; }
.stage-img.active .grow-bars rect:nth-child(4) { animation-delay: 0.34s; }
.stage-img.active .grow-bars rect:nth-child(5) { animation-delay: 0.42s; }
.stage-img.active .grow-bars rect:nth-child(6) { animation-delay: 0.50s; }
.stage-img.active .grow-bars rect:nth-child(7) { animation-delay: 0.58s; }
/* Explicit keyframes per bar — attr() animation not supported by browsers */
.grow-bars rect[data-h="20"]  { transform: translateY(140px) scaleY(0); transform-origin: bottom; }
.grow-bars rect[data-h="45"]  { transform: translateY(115px) scaleY(0); transform-origin: bottom; }
.grow-bars rect[data-h="70"]  { transform: translateY(90px)  scaleY(0); transform-origin: bottom; }
.grow-bars rect[data-h="95"]  { transform: translateY(65px)  scaleY(0); transform-origin: bottom; }
.grow-bars rect[data-h="115"] { transform: translateY(45px)  scaleY(0); transform-origin: bottom; }
.grow-bars rect[data-h="135"] { transform: translateY(25px)  scaleY(0); transform-origin: bottom; }
.grow-bars rect[data-h="155"] { transform: translateY(5px)   scaleY(0); transform-origin: bottom; }
.stage-img.active .grow-bars rect[data-h="20"]  { animation: br20  .9s var(--ease) .10s forwards; }
.stage-img.active .grow-bars rect[data-h="45"]  { animation: br45  .9s var(--ease) .18s forwards; }
.stage-img.active .grow-bars rect[data-h="70"]  { animation: br70  .9s var(--ease) .26s forwards; }
.stage-img.active .grow-bars rect[data-h="95"]  { animation: br95  .9s var(--ease) .34s forwards; }
.stage-img.active .grow-bars rect[data-h="115"] { animation: br115 .9s var(--ease) .42s forwards; }
.stage-img.active .grow-bars rect[data-h="135"] { animation: br135 .9s var(--ease) .50s forwards; }
.stage-img.active .grow-bars rect[data-h="155"] { animation: br155 .9s var(--ease) .58s forwards; }
@keyframes br20  { to { transform: translateY(0); height: 20px;  y: 140px; } }
@keyframes br45  { to { transform: translateY(0); height: 45px;  y: 115px; } }
@keyframes br70  { to { transform: translateY(0); height: 70px;  y: 90px;  } }
@keyframes br95  { to { transform: translateY(0); height: 95px;  y: 65px;  } }
@keyframes br115 { to { transform: translateY(0); height: 115px; y: 45px;  } }
@keyframes br135 { to { transform: translateY(0); height: 135px; y: 25px;  } }
@keyframes br155 { to { transform: translateY(0); height: 155px; y: 5px;   } }
.grow-line { stroke-dasharray: 400; stroke-dashoffset: 400; }
.stage-img.active .grow-line { animation: line-draw 1.4s var(--ease) .4s forwards; }
@keyframes line-draw { to { stroke-dashoffset: 0; } }
.grow-arrow { opacity: 0; transform-origin: center; }
.stage-img.active .grow-arrow { animation: arrow-pop 0.5s var(--ease-spring) 1.6s forwards; }
@keyframes arrow-pop { to { opacity: 1; transform: translate(211px, 12px) scale(1.2); } }

/* Stage 2 · radar */
.stage-radar {
  width: 84%; max-width: 360px; aspect-ratio: 1/1;
  display: grid; place-items: center;
}
.radar-disc {
  position: relative; width: 100%; height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109,166,242,0.10), transparent 70%);
  display: grid; place-items: center;
  overflow: hidden;
}
.radar-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 1px solid rgba(31,95,168,0.32);
}
.radar-ring.r1 { width: 30%; height: 30%; }
.radar-ring.r2 { width: 60%; height: 60%; }
.radar-ring.r3 { width: 90%; height: 90%; }
.radar-sweep {
  position: absolute; top: 50%; left: 50%;
  width: 50%; height: 50%;
  background: conic-gradient(from 0deg, rgba(31,95,168,0.34), transparent 25%);
  transform-origin: top left;
  animation: radar-spin 3.5s linear infinite;
  border-radius: 0 100% 0 0;
}
@keyframes radar-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.radar-dot {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(109,166,242,0.18);
  animation: radar-pulse 2.4s var(--ease) infinite;
}
.radar-dot.d1 { top: 22%; left: 30%; animation-delay: 0s; }
.radar-dot.d2 { top: 30%; right: 22%; animation-delay: .6s; }
.radar-dot.d3 { bottom: 25%; left: 25%; animation-delay: 1.2s; }
.radar-dot.d4 { bottom: 18%; right: 28%; animation-delay: 1.8s; }
@keyframes radar-pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}
.radar-center {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--primary-100);
  box-shadow: var(--shadow-card);
  display: grid; place-items: center;
  z-index: 2;
}

/* Trend draw on activate */
.stage-trend { width: 88%; max-width: 380px; display: grid; place-items: center; }
.stage-trend svg { width: 100%; height: auto; }
.trend-line { stroke-dasharray: 400; stroke-dashoffset: 400; }
.stage-img.active .trend-line { animation: line-draw 1.6s var(--ease) .2s forwards; }
.trend-fill { opacity: 0; }
.stage-img.active .trend-fill { animation: trend-in 1s var(--ease) 1.4s forwards; }
@keyframes trend-in { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .radar-sweep, .radar-dot, .stage-arrow .arrow, .arrow-orbit, .arrow-orbit .orbit-sym { animation: none; }
}

/* ---------- Embedded Google Maps wrapper ---------- */
.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  margin-top: 24px;
}
.map-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}
@media (max-width: 640px) { .map-embed { aspect-ratio: 4 / 5; } }

/* ---------- Specs / Margin tables ---------- */
.specs-tools {
  display: flex; gap: 12px; flex-wrap: wrap;
  align-items: center; margin: 20px 0 14px;
}
.specs-tools .specs-search {
  flex: 1 1 240px; min-width: 220px;
  padding: 12px 16px;
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  font: inherit; color: var(--ink);
  background: #fff;
}
.specs-tools .specs-search:focus { outline: 2px solid var(--primary-100); border-color: var(--primary); }
.specs-chip {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: #fff; color: var(--body);
  font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s var(--ease);
}
.specs-chip:hover { border-color: var(--primary-100); color: var(--primary); }
.specs-chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.specs-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table.specs-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px; background: #fff;
}
table.specs-table thead th {
  text-align: left; font-weight: 700; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); padding: 14px 16px;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
}
table.specs-table tbody td {
  padding: 14px 16px; border-bottom: 1px solid var(--border-soft);
  font-variant-numeric: tabular-nums;
}
table.specs-table tbody tr:hover { background: rgba(109,166,242,0.04); }
table.specs-table .sym { font-weight: 700; color: var(--ink); }
table.specs-table .cls {
  display: inline-block; padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--primary-100); color: var(--primary-700);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
}
table.specs-table tr.hidden { display: none; }

/* Dynamic margin tier table */
table.tier-table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border-radius: var(--radius); overflow: hidden; }
table.tier-table th, table.tier-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border-soft); font-variant-numeric: tabular-nums; }
table.tier-table thead th { background: var(--ink); color: #fff; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
table.tier-table tbody tr:hover { background: var(--bg-tint); }
table.tier-table .tier-cell { font-weight: 700; color: var(--primary); }

/* Dynamic margin — dark navy section with multi-symbol × 7-tier grid */
.dm-section {
  background: linear-gradient(180deg, #002531 0%, #001824 100%);
  color: #fff;
  margin: 0;
}
.dm-section .s-title h2 { color: #fff; }
.dm-table-wrap {
  background: transparent; border: 0;
}
table.dm-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  color: #fff;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
}
table.dm-table thead th {
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-weight: 700;
  text-align: left;
  padding: 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  vertical-align: bottom;
}
table.dm-table .tier-head { display: flex; flex-direction: column; gap: 4px; }
table.dm-table .tier-tag { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.55); font-weight: 700; }
table.dm-table .tier-band { font-size: 13.5px; color: #fff; font-weight: 600; }
table.dm-table tbody td {
  padding: 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #fff;
}
table.dm-table tbody tr:nth-child(odd) { background: rgba(255,255,255,0.04); }
table.dm-table tbody tr:hover { background: rgba(94,177,254,0.10); }
table.dm-table tbody td.sym {
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ============================================================================
   Spreads ticker header row (legacy — kept for fallback)
   ============================================================================ */
.spread-row.spread-head {
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}
.spread-row.spread-head span { color: rgba(255,255,255,0.72); }

/* ============================================================================
   Spreads — redesigned animated section
   ============================================================================ */
.spreads-section {
  position: relative; overflow: hidden;
  padding: 96px 0 80px;
  background:
    radial-gradient(800px 500px at 85% 10%, rgba(109,166,242,0.10), transparent 60%),
    radial-gradient(700px 500px at 10% 95%, rgba(220,228,243,0.65), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg-tint) 100%);
  color: var(--ink);
}
.spreads-section .s-title h2 { color: var(--ink); }
.spreads-section .s-title p { color: var(--body); }
.spreads-section .s-title .eyebrow { color: var(--primary); }
.spreads-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.sp-glow {
  position: absolute;
  width: 540px; height: 540px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}
.sp-glow.sp-g1 {
  top: -200px; right: -100px;
  background: radial-gradient(circle, rgba(109,166,242,0.35), transparent 70%);
  animation: sp-drift1 14s ease-in-out infinite alternate;
}
.sp-glow.sp-g2 {
  bottom: -200px; left: -150px;
  background: radial-gradient(circle, rgba(94,177,254,0.30), transparent 70%);
  animation: sp-drift2 18s ease-in-out infinite alternate;
}
@keyframes sp-drift1 {
  from { transform: translate(0, 0); }
  to   { transform: translate(-80px, 100px); }
}
@keyframes sp-drift2 {
  from { transform: translate(0, 0); }
  to   { transform: translate(120px, -80px); }
}
.sp-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(109,166,242,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109,166,242,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
}
.spreads-cards {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 36px;
}
.sp-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: 0 6px 20px rgba(0,37,49,0.04);
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s, background .35s;
  opacity: 0; transform: translateY(24px);
}
[data-reveal].in .sp-card {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .35s, background .35s;
}
[data-reveal].in .sp-card[data-i="0"] { transition-delay: 0s; }
[data-reveal].in .sp-card[data-i="1"] { transition-delay: .08s; }
[data-reveal].in .sp-card[data-i="2"] { transition-delay: .16s; }
[data-reveal].in .sp-card[data-i="3"] { transition-delay: .24s; }
[data-reveal].in .sp-card[data-i="4"] { transition-delay: .32s; }
[data-reveal].in .sp-card[data-i="5"] { transition-delay: .40s; }
.sp-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-100);
  box-shadow: 0 22px 50px rgba(109,166,242,0.18);
}
.sp-card.sp-featured {
  background: linear-gradient(135deg, var(--primary-100), #fff);
  border-color: var(--primary-100);
  box-shadow: 0 14px 40px rgba(109,166,242,0.15);
}
.sp-card header {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
  margin-bottom: 14px;
}
.sp-card header svg { color: var(--primary); }
.sp-tag { color: var(--muted); }
.sp-card h3 {
  font-size: 22px; color: var(--ink); margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.sp-card h3 .sp-sub {
  font-size: 13px; color: var(--muted);
  margin-left: 6px; font-weight: 400; letter-spacing: 0;
}
.sp-pips {
  display: flex; align-items: baseline; gap: 6px;
}
.sp-pips .num {
  font-size: 44px; font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, var(--primary-700) 0%, var(--primary) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sp-pips .unit { font-size: 13px; color: var(--muted); font-weight: 600; }
.sp-meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; letter-spacing: 0.02em; }
.sp-spark {
  width: 100%; height: 30px; margin-top: 14px;
  display: block;
}
.sp-spark path {
  fill: none; stroke: var(--primary); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 200; stroke-dashoffset: 200;
  animation: sp-spark-draw 1.4s var(--ease) .6s forwards;
}
.sp-card.sp-featured .sp-spark path { stroke: var(--success); }
@keyframes sp-spark-draw {
  to { stroke-dashoffset: 0; }
}
.sp-foot {
  margin-top: 24px;
  color: var(--muted) !important;
  font-size: 12.5px; text-align: center;
}
.sp-foot a { color: var(--primary); }
@media (max-width: 900px) {
  .spreads-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .spreads-section { padding: 40px 0 32px; }
  .spreads-section .s-title { margin-bottom: 16px; }
  .spreads-section .s-title h2 { font-size: clamp(22px, 6vw, 28px); }
  .spreads-section .s-title p { font-size: 13px; }
  .spreads-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
  .sp-card { padding: 14px 14px; }
  .sp-card header { margin-bottom: 8px; font-size: 9.5px; }
  .sp-card header svg { width: 16px; height: 16px; }
  .sp-card h3 { font-size: 15px; margin-bottom: 8px; }
  .sp-card h3 .sp-sub { font-size: 11px; }
  .sp-pips .num { font-size: 28px; }
  .sp-pips .unit { font-size: 11px; }
  .sp-meta { font-size: 11px; }
  .sp-spark { margin-top: 8px; height: 22px; }
}
@media (max-width: 480px) {
  .spreads-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sp-pips .num { font-size: 24px; }
  .sp-card { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-glow, .sp-spark path { animation: none; }
  .sp-spark path { stroke-dashoffset: 0; }
}

/* ============================================================================
   Mobile app-style bottom navigation
   ============================================================================ */
.app-nav {
  display: none;
}
body.no-app-nav .app-nav { display: none !important; }
body.no-app-nav.has-app-nav { padding-bottom: 0; }
@media (max-width: 768px) {
  .app-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-top: 1px solid var(--border);
    z-index: 90;
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 30px rgba(0,37,49,0.10);
  }
  .app-nav a {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 6px 4px;
    color: var(--muted); text-decoration: none;
    font-size: 10.5px; font-weight: 600; letter-spacing: 0.01em;
    transition: color .2s var(--ease), transform .2s var(--ease);
  }
  .app-nav a svg { width: 22px; height: 22px; }
  .app-nav a.active, .app-nav a:active { color: var(--primary); transform: translateY(-2px); }
  .app-nav a.active svg { filter: drop-shadow(0 4px 10px rgba(109,166,242,0.40)); }
  body.has-app-nav { padding-bottom: 76px; }
  body.has-app-nav .wa-fab { bottom: calc(82px + env(safe-area-inset-bottom)); }

  /* Topbar polish for mobile — brand + Open + burger visible */
  .topbar-inner { padding: 8px 0; gap: 8px; }
  .brand img { height: 28px; }
  .topbar .nav-cta { gap: 8px; }
  .topbar .nav-cta .btn-sm { padding: 8px 12px; font-size: 12px; }
  .topbar .nav-cta .btn-ghost { display: none; }
  .topbar .nav-cta .btn-primary { display: inline-flex; padding: 9px 14px; font-size: 12.5px; }
  .topbar .burger { padding: 8px; display: inline-grid; place-items: center; background: var(--bg-tint); border-radius: var(--radius-sm); }
  .topbar .burger svg { width: 22px; height: 22px; }

  /* Hero tightening */
  .hero { padding: 60px 0 40px; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 24px; }
  .hero-h1 { font-size: clamp(34px, 9vw, 48px); line-height: 1.05; }
  .hero-art { max-width: 420px; margin: 0 auto; }
  .hero-verifieds { flex-direction: column; gap: 8px; }

  /* Sections tighter padding */
  section.section { padding: 56px 0; }

  /* KPI grid */
  .kpis { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Markets picker stacks */
  .markets-pick { grid-template-columns: 1fr !important; }
  .mp-tabs { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 8px; }
  .mp-tab { flex: 0 0 auto; min-width: 200px; }

  /* Footer 2-col grid */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 24px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .disclaimer { text-align: left; }

  /* Risk bar */
  .risk-bar { font-size: 11px; padding: 8px 12px; flex-wrap: wrap; }
  .risk-bar a { display: inline-block; margin-top: 2px; }

  /* Cards/tables overflow-friendly */
  .specs-table-wrap, .table-wrap { -webkit-overflow-scrolling: touch; }

  /* Tabs in register page */
  .tab-bar { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .app-nav a { transition: none; }
}

/* ============================================================================
   Call FAB (right-edge vertical, like anaxcapital.ae side button)
   ============================================================================ */
.call-fab {
  position: fixed;
  right: 0; top: 50%;
  transform: translateY(-50%);
  z-index: 95;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 12px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius) 0 0 var(--radius);
  box-shadow: -6px 0 24px rgba(31,95,168,0.34);
  font-weight: 700; font-size: 13px; letter-spacing: 0.04em;
  writing-mode: vertical-rl;
  transform-origin: right center;
  transition: padding .25s var(--ease), box-shadow .25s, background .25s;
}
.call-fab svg { width: 18px; height: 18px; writing-mode: horizontal-tb; }
.call-fab .cf-label { writing-mode: vertical-rl; text-orientation: mixed; }
.call-fab:hover {
  background: var(--primary-700);
  padding-right: 16px;
  box-shadow: -10px 0 30px rgba(109,166,242,0.45);
}
.call-fab:focus-visible { outline: 3px solid rgba(255,255,255,0.6); outline-offset: -3px; }
@media (max-width: 768px) {
  /* Keep call FAB as vertical tab on right edge middle on mobile too */
  .call-fab {
    right: 0; top: 50%;
    transform: translateY(-50%);
    padding: 12px 8px;
    writing-mode: vertical-rl;
    font-size: 11px;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  }
  .call-fab svg { width: 16px; height: 16px; }
  /* WhatsApp stays bottom-right corner, away from call tab */
  .wa-fab {
    right: 14px;
    bottom: calc(82px + env(safe-area-inset-bottom));
  }
}
@media (prefers-reduced-motion: reduce) {
  .call-fab { transition: none; }
}

/* ============================================================================
   Accepted payment methods strip (animated)
   ============================================================================ */
.payments-strip {
  padding: 64px 0 72px;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(109,166,242,0.10), transparent 60%),
    radial-gradient(600px 300px at 10% 100%, rgba(220,228,243,0.5), transparent 60%),
    var(--bg);
  position: relative; overflow: hidden;
}
.payments-strip::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(109,166,242,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109,166,242,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.payments-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 32px;
  position: relative; z-index: 1;
}
.payment-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 132px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  padding: 18px 24px;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  opacity: 0; transform: translateY(20px) scale(0.96);
}
[data-reveal].in .payment-card {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .35s, border-color .35s;
}
[data-reveal].in .payment-card[data-i="0"] { transition-delay: 0s; }
[data-reveal].in .payment-card[data-i="1"] { transition-delay: .08s; }
[data-reveal].in .payment-card[data-i="2"] { transition-delay: .16s; }
[data-reveal].in .payment-card[data-i="3"] { transition-delay: .24s; }
.payment-card::after {
  content: ""; position: absolute; top: 0; left: -120%;
  width: 80%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left .9s var(--ease);
}
.payment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(109,166,242,0.18);
  border-color: var(--primary-100);
}
.payment-card:hover::after { left: 130%; }
.payment-card svg { max-height: 44px; width: auto; }
.payment-card .pm-name {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.payment-card .pm-label { font-weight: 700; font-size: 16px; color: var(--ink); }
@media (max-width: 768px) {
  .payments-strip { padding: 28px 0 32px; }
  .payments-strip .s-title { margin-bottom: 14px; }
  .payments-strip .s-title h2 { font-size: clamp(20px, 5.5vw, 26px) !important; }
  .payments-strip .s-title p { font-size: 12.5px; }
  .payments-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
  .payment-card { height: 78px; padding: 10px; gap: 4px; }
  .payment-card svg { max-height: 28px; }
  .payment-card .pm-name { font-size: 10.5px; }
  .payment-card .pm-label { font-size: 13px; }
}

/* ============================================================================
   Platforms showcase — compact, professional, real-looking mockups
   ============================================================================ */
.pf-showcase {
  position: relative; overflow: hidden;
  padding: 80px 0 64px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 50%, var(--bg) 100%);
}
.pf-bg { position: absolute; inset: 0; pointer-events: none; }
.pf-glow {
  position: absolute; top: 25%; left: 50%; transform: translateX(-50%);
  width: 60vw; height: 50vw; max-width: 900px; max-height: 700px;
  background: radial-gradient(ellipse, rgba(109,166,242,0.08), transparent 70%);
  filter: blur(60px);
}
.pf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
  position: relative; z-index: 1;
}
.pf-row:last-child { margin-bottom: 0; }
.pf-row.pf-reverse .pf-text { order: 2; }
.pf-row.pf-reverse .pf-visual { order: 1; }
.pf-text .pf-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.pf-text h3 {
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.15;
}
.pf-text p {
  font-size: 15px; color: var(--body); line-height: 1.6;
  max-width: 46ch; margin: 0;
}
.pf-feat {
  list-style: none; padding: 0;
  margin: 16px 0 18px;
  display: grid; gap: 8px;
}
.pf-feat li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink); font-weight: 500;
}
.pf-feat svg { color: var(--success); flex-shrink: 0; width: 16px; height: 16px; }
.pf-cta {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 4px;
}
.pf-cta .btn { padding: 10px 16px; font-size: 13px; }
.pf-cta .btn svg { width: 14px; height: 14px; }

/* Safety net — any unsized svg inside content text gets a sane default */
.pf-text svg:not([width]) { width: 16px; height: 16px; }
.pf-side svg:not([width]) { max-width: 100%; }

/* Desktop monitor — MT5 trading platform mockup */
.pf-visual { display: flex; align-items: center; justify-content: center; }
.pf-monitor {
  width: 100%; max-width: 460px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 28px 60px rgba(0,37,49,0.14), 0 4px 14px rgba(0,37,49,0.05);
  overflow: hidden;
  position: relative;
  transform: perspective(1400px) rotateY(-5deg) rotateX(1deg);
  transition: transform .6s var(--ease);
  animation: pf-float 6s var(--ease) infinite alternate;
}
.pf-row:hover .pf-monitor { transform: perspective(1400px) rotateY(-2deg) rotateX(0deg) scale(1.02); }
@keyframes pf-float {
  from { transform: perspective(1400px) rotateY(-5deg) rotateX(1deg) translateY(0); }
  to   { transform: perspective(1400px) rotateY(-5deg) rotateX(1deg) translateY(-8px); }
}
.pf-bar {
  display: flex; align-items: center; gap: 12px; padding: 8px 12px;
  background: linear-gradient(180deg, #003B4D, #002531);
  border-bottom: 1px solid #000;
}
.pf-bar-dots { display: flex; gap: 5px; }
.pf-bar-dots span {
  width: 9px; height: 9px; border-radius: 50%;
}
.pf-bar-dots span:nth-child(1) { background: #FF5F57; }
.pf-bar-dots span:nth-child(2) { background: #FFBD2E; }
.pf-bar-dots span:nth-child(3) { background: #27C93F; }
.pf-bar-title {
  font-size: 11px; color: rgba(255,255,255,0.65);
  font-weight: 600; letter-spacing: 0.02em;
}

/* MT5 body grid */
.pf-mt5 {
  display: grid; grid-template-columns: 120px 1fr;
  background: #f8f9fc;
  min-height: 220px;
}
.pf-mt5-side {
  background: #fff;
  border-right: 1px solid var(--border);
  font-size: 10px;
}
.pf-mt5-row {
  display: flex; justify-content: space-between;
  padding: 5px 10px;
  border-bottom: 1px solid var(--border-soft);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink);
}
.pf-mt5-row span { color: var(--muted); }
.pf-mt5-row b { font-weight: 700; }
.pf-mt5-row b.up { color: var(--success); }
.pf-mt5-row b.dn { color: var(--danger); }
.pf-mt5-row.pf-mt5-head {
  background: var(--bg-tint);
  font-size: 9px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.pf-mt5-row.pf-mt5-head span { color: var(--muted); }
.pf-mt5-row.pf-mt5-active {
  background: rgba(109,166,242,0.08);
  border-left: 2px solid var(--primary);
}
.pf-mt5-main {
  position: relative;
  display: flex; flex-direction: column;
}
.pf-mt5-pair {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
  font-size: 10px;
}
.pf-mt5-pair b { font-size: 11px; color: var(--ink); font-weight: 700; }
.pf-mt5-pair > span:nth-child(2) {
  color: var(--muted); margin-right: auto;
  padding: 1px 6px; background: var(--bg-tint); border-radius: 4px;
  font-size: 9px;
}
.pf-mt5-buy, .pf-mt5-sell {
  padding: 3px 8px; border-radius: 4px;
  font-size: 10px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pf-mt5-buy { background: rgba(26,143,78,0.12); color: var(--success); }
.pf-mt5-sell { background: rgba(194,53,79,0.12); color: var(--danger); }
.pf-mt5-chart {
  flex: 1;
  padding: 8px;
  background:
    linear-gradient(180deg, rgba(220,228,243,0.25), transparent 70%),
    #fff;
}
.pf-mt5-chart svg { width: 100%; height: 100%; display: block; }
.pf-mt5-ind {
  display: flex; gap: 4px;
  padding: 6px 12px;
  background: #fff;
  border-top: 1px solid var(--border-soft);
  font-size: 9px; font-weight: 700;
  color: var(--muted); letter-spacing: 0.06em;
}
.pf-mt5-ind .active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
}
.pf-line { stroke-dasharray: 800; stroke-dashoffset: 800; animation: pf-draw 2.4s var(--ease) .4s forwards; }
.pf-fill { opacity: 0; animation: pf-fillin 1s var(--ease) 2.6s forwards; }
@keyframes pf-draw { to { stroke-dashoffset: 0; } }
@keyframes pf-fillin { to { opacity: 1; } }
.pf-candles rect {
  opacity: 0;
  transform-origin: bottom;
  animation: pf-candle .5s var(--ease) forwards;
}
.pf-candles rect:nth-child(1) { animation-delay: 1.8s; }
.pf-candles rect:nth-child(2) { animation-delay: 2.0s; }
.pf-candles rect:nth-child(3) { animation-delay: 2.2s; }
.pf-candles rect:nth-child(4) { animation-delay: 2.4s; }
.pf-candles rect:nth-child(5) { animation-delay: 2.6s; }
@keyframes pf-candle {
  from { opacity: 0; transform: scaleY(0); }
  to   { opacity: 1; transform: scaleY(1); }
}
.pf-stand {
  width: 24%; height: 18px;
  margin: -1px auto 0;
  background: linear-gradient(180deg, #e8eaf0, #d6d9e0);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 10px rgba(0,37,49,0.08);
}

/* Phone mockup */
.pf-phone {
  width: 220px;
  background: linear-gradient(160deg, #001824, #002531);
  border-radius: 32px;
  padding: 12px;
  box-shadow:
    0 32px 60px rgba(0,37,49,0.28),
    inset 0 0 0 2px rgba(255,255,255,0.08);
  position: relative;
  animation: pf-tilt 5s var(--ease) infinite alternate;
}
@keyframes pf-tilt {
  from { transform: rotate(-3deg) translateY(0); }
  to   { transform: rotate(3deg) translateY(-8px); }
}
.pf-notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 14px;
  background: #000;
  border-radius: 0 0 12px 12px;
}
.pf-screen {
  background: linear-gradient(180deg, #f6f7fb, #fff);
  border-radius: 26px;
  padding: 36px 16px 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.pf-app-hdr {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0;
}
.pf-app-logo {
  width: 26px; height: 26px;
  background: var(--primary); color: #fff;
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700;
}
.pf-app-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.pf-app-balance {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  color: #fff;
  border-radius: 14px;
}
.pf-balance-lbl { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.8; }
.pf-balance-num { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pf-balance-num em { font-style: normal; }
.pf-balance-num small { font-size: 14px; opacity: 0.7; }
.pf-balance-chg { font-size: 11px; font-weight: 700; }
.pf-balance-chg.up { color: #5BE1A6; }
.pf-app-list { display: flex; flex-direction: column; gap: 8px; }
.pf-app-row {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 11px;
}
.pf-app-row div b { font-size: 12px; color: var(--ink); display: block; }
.pf-app-row div span { font-size: 10px; color: var(--muted); }
.pf-app-row .up { color: var(--success); font-weight: 700; }
.pf-app-row .dn { color: var(--danger); font-weight: 700; }
.pf-app-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pf-buy, .pf-sell {
  padding: 10px; border: 0; border-radius: 10px;
  font-weight: 700; font-size: 12px; color: #fff;
}
.pf-buy { background: var(--success); }
.pf-sell { background: var(--danger); }

/* Browser window mockup */
.pf-window {
  width: 100%; max-width: 440px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 28px 60px rgba(0,37,49,0.14);
  overflow: hidden;
  transform: perspective(1400px) rotateY(4deg) rotateX(2deg);
  animation: pf-float-right 6s var(--ease) infinite alternate;
}
@keyframes pf-float-right {
  from { transform: perspective(1400px) rotateY(4deg) rotateX(2deg) translateY(0); }
  to   { transform: perspective(1400px) rotateY(4deg) rotateX(2deg) translateY(-10px); }
}
.pf-window-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #f6f7fb, #ecedf2);
  border-bottom: 1px solid var(--border);
}
.pf-dot { width: 10px; height: 10px; border-radius: 50%; }
.pf-dot.dot-r { background: #FF5F57; }
.pf-dot.dot-y { background: #FFBD2E; }
.pf-dot.dot-g { background: #27C93F; }
.pf-url {
  margin-left: 18px;
  font-size: 11px; color: var(--muted);
  background: #fff; padding: 4px 10px; border-radius: 6px;
  flex: 1;
}
.pf-window-body {
  display: grid; grid-template-columns: 130px 1fr;
  min-height: 220px;
}
.pf-side-list {
  background: var(--bg-tint);
  padding: 6px;
  display: flex; flex-direction: column; gap: 2px;
  border-right: 1px solid var(--border);
}
.pf-sl-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 8px; border-radius: 6px;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.pf-sl-item b { font-size: 10.5px; color: var(--ink); font-weight: 700; }
.pf-sl-item span.up { color: var(--success); font-weight: 700; }
.pf-sl-item span.dn { color: var(--danger); font-weight: 700; }
.pf-sl-item.pf-sl-active { background: rgba(109,166,242,0.10); }
.pf-window-chart {
  position: relative;
  background:
    linear-gradient(180deg, rgba(220,228,243,0.20), transparent 60%),
    #fff;
  display: flex; flex-direction: column;
}
.pf-wc-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-soft);
}
.pf-wc-head b { font-size: 11px; color: var(--ink); font-weight: 700; }
.pf-wc-price { font-size: 12px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.pf-wc-price em { font-style: normal; font-size: 10px; margin-left: 4px; }
.pf-wc-price em.up { color: var(--success); }
.pf-window-chart svg { width: 100%; flex: 1; min-height: 130px; }
.pf-wc-bottom {
  display: flex; gap: 4px;
  padding: 6px 12px;
  border-top: 1px solid var(--border-soft);
  font-size: 9px; font-weight: 700; color: var(--muted);
}
.pf-wc-bottom .active { color: var(--primary); border-bottom: 2px solid var(--primary); padding-bottom: 2px; }

@media (max-width: 900px) {
  .pf-showcase { padding: 44px 0 48px; }
  .pf-row {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 40px;
  }
  .pf-row.pf-reverse .pf-text { order: 2; }
  .pf-row.pf-reverse .pf-visual { order: 1; }
  .pf-text h3 { font-size: clamp(20px, 5.5vw, 26px); }
  .pf-text p { font-size: 14px; max-width: none; }
  .pf-feat li { font-size: 13.5px; }
  .pf-monitor { transform: none; animation: none; max-width: 360px; }
  .pf-window { transform: none; animation: none; max-width: 360px; }
  .pf-stand { display: none; }
  .pf-phone { width: 200px; animation: none; transform: none; }
  .pf-bar-title { font-size: 10px; }
  .pf-mt5 { grid-template-columns: 96px 1fr; min-height: 180px; }
  .pf-mt5-row { padding: 4px 8px; font-size: 9px; }
  .pf-window-body { grid-template-columns: 110px 1fr; min-height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-monitor, .pf-phone, .pf-window, .pf-line, .pf-fill, .pf-candles rect { animation: none; transform: none; }
  .pf-line { stroke-dashoffset: 0; }
  .pf-fill { opacity: 1; }
  .pf-candles rect { opacity: 1; transform: none; }
}

/* ============================================================================
   Recognition marquee (replaces awards boxes)
   ============================================================================ */
.recognition {
  padding: 64px 0 56px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
  position: relative; overflow: hidden;
}
.rec-eyebrow {
  font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--primary); font-weight: 700;
  text-align: center; margin: 0 0 32px;
}
.rec-marquee {
  position: relative; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.rec-track {
  display: inline-flex; align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: rec-scroll 42s linear infinite;
  will-change: transform;
}
.rec-marquee:hover .rec-track { animation-play-state: paused; }
.rec-item {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 19px; color: var(--body);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.rec-item strong {
  color: var(--ink); font-weight: 800;
  letter-spacing: -0.01em;
}
.rec-item svg {
  color: var(--primary);
  flex-shrink: 0;
  width: 28px !important; height: 28px !important;
}
.rec-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
  opacity: 0.6; flex-shrink: 0;
}
@keyframes rec-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .recognition { padding: 36px 0 32px; }
  .rec-eyebrow { font-size: 11px; letter-spacing: 0.22em; margin-bottom: 22px; }
  .rec-item { font-size: 15px; gap: 10px; }
  .rec-item strong { font-weight: 700; }
  .rec-item svg { width: 22px !important; height: 22px !important; }
  .rec-track { gap: 24px; animation-duration: 32s; }
}
@media (prefers-reduced-motion: reduce) {
  .rec-track { animation: none; transform: translateX(0); white-space: normal; flex-wrap: wrap; justify-content: center; }
}

/* ============================================================================
   Awards strip (legacy — kept harmless if used elsewhere)
   ============================================================================ */
.awards-strip {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
}
.awards-strip h5 {
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; text-align: center; margin: 0 0 26px;
}
.awards-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  align-items: stretch;
}
.award-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.award-card:hover { transform: translateY(-4px); border-color: var(--primary-100); box-shadow: 0 18px 38px rgba(109,166,242,0.14); }
.award-card .yr { font-size: 11px; color: var(--primary); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }
.award-card .ttl { font-size: 14px; font-weight: 700; color: var(--ink); margin: 6px 0 4px; line-height: 1.3; }
.award-card .src { font-size: 11px; color: var(--muted); }
.award-card svg { width: 30px; height: 30px; color: var(--primary); margin-bottom: 8px; }
@media (max-width: 900px) { .awards-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .awards-row { grid-template-columns: 1fr; } }

/* ============================================================================
   Trading session times indicator
   ============================================================================ */
.sessions-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: 24px;
}
.session-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  position: relative; overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.session-card.open {
  border-color: var(--success);
  box-shadow: 0 0 0 4px rgba(26,143,78,0.08), 0 12px 28px rgba(26,143,78,0.18);
}
.session-card.open::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--success);
}
.session-card .city {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--ink);
}
.session-card .city .led {
  width: 8px; height: 8px; border-radius: 50%; background: var(--border);
}
.session-card.open .city .led {
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(26,143,78,0.6);
  animation: pulse 1.6s var(--ease) infinite;
}
.session-card .when { font-size: 12.5px; color: var(--muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.session-card .countdown { font-size: 12px; color: var(--primary); font-weight: 700; margin-top: 8px; letter-spacing: 0.04em; }
.session-card.open .countdown { color: var(--success); }
@media (max-width: 900px) { .sessions-bar { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================================
   Risk-suitability quiz
   ============================================================================ */
.quiz {
  max-width: 720px; margin: 0 auto;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.quiz-progress {
  height: 4px; background: var(--border-soft);
  border-radius: var(--radius-pill);
  margin-bottom: 22px; overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-500));
  transition: width .4s var(--ease);
}
.quiz-step { display: none; animation: tabIn .35s var(--ease); }
.quiz-step.active { display: block; }
.quiz-q { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 18px; }
.quiz-opts { display: grid; gap: 10px; }
.quiz-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff; cursor: pointer;
  font-size: 14.5px; color: var(--ink);
  text-align: left;
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.quiz-opt:hover { border-color: var(--primary); background: rgba(109,166,242,0.04); }
.quiz-opt.selected { border-color: var(--primary); background: rgba(109,166,242,0.08); font-weight: 700; }
.quiz-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.quiz-result {
  text-align: center; padding: 24px 0;
}
.quiz-result .badge-tier {
  display: inline-block; padding: 8px 20px;
  background: var(--primary); color: #fff;
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 16px;
}
.quiz-result h3 { font-size: 28px; color: var(--ink); margin: 0 0 8px; }
.quiz-result p { color: var(--body); margin: 0 0 22px; }

/* ============================================================================
   IB commission calculator
   ============================================================================ */
.ib-calc {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  max-width: 760px; margin: 32px auto 0;
}
.ib-calc .ib-inputs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.ib-calc label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ib-calc input[type="number"], .ib-calc select {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px; font-variant-numeric: tabular-nums;
  background: var(--bg-tint);
}
.ib-calc input[type="number"]:focus, .ib-calc select:focus {
  outline: 2px solid var(--primary-100); border-color: var(--primary);
}
.ib-calc .ib-result {
  margin-top: 24px; padding: 24px;
  background: linear-gradient(135deg, var(--primary-100), #fff);
  border-radius: var(--radius);
  text-align: center;
}
.ib-calc .ib-result .lbl { font-size: 13px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.ib-calc .ib-result .amt {
  font-size: clamp(32px, 5vw, 48px); font-weight: 700;
  color: var(--primary-700); margin: 8px 0;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.ib-calc .ib-result .note { font-size: 12px; color: var(--muted); }
@media (max-width: 640px) {
  .ib-calc .ib-inputs { grid-template-columns: 1fr; }
}

/* ============================================================================
   TradingView embed wrappers
   ============================================================================ */
.tv-widget-wrap {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-card);
  margin: 24px 0;
  overflow: hidden;
  position: relative;
}
.tv-widget-wrap .tradingview-widget-container {
  width: 100%;
  height: 100%;
  position: relative;
}
.tv-widget-wrap .tradingview-widget-container__widget {
  width: 100% !important;
  height: 100% !important;
}
.tv-widget-wrap iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border: 0;
  max-width: 100%;
}
.tv-calendar { height: min(620px, 75vh); }
.tv-mini { height: min(320px, 40vh); }
@media (max-width: 768px) {
  .tv-calendar { height: min(540px, 70vh); padding: 8px; }
  .tv-mini { height: min(280px, 36vh); padding: 8px; }
}
@media (max-width: 480px) {
  .tv-calendar { height: min(480px, 70vh); }
}

/* ============================================================================
   Academy lesson cards + progress
   ============================================================================ */
.academy-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 900px) { .academy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .academy-grid { grid-template-columns: 1fr; } }
.lesson-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  cursor: pointer;
}
.lesson-card:hover { transform: translateY(-4px); border-color: var(--primary-100); box-shadow: var(--shadow-card); }
.lesson-card .lesson-num {
  display: inline-block; padding: 4px 10px;
  background: var(--primary-100); color: var(--primary-700);
  border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
}
.lesson-card h3 { font-size: 17px; margin: 12px 0 6px; }
.lesson-card p { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 0 0 14px; }
.lesson-card .lesson-meta { display: flex; gap: 12px; font-size: 12px; color: var(--muted); }
.lesson-card.done {
  border-color: var(--success);
  background: linear-gradient(135deg, rgba(26,143,78,0.06), #fff);
}
.lesson-card.done::after {
  content: ""; position: absolute; top: 14px; right: 14px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--success);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m5 12 5 5 9-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 16px; background-position: center; background-repeat: no-repeat;
}
.academy-progress {
  background: var(--bg-tint); border-radius: var(--radius);
  padding: 22px 26px; margin-bottom: 24px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.academy-progress .ap-num { font-size: 32px; font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; }
.academy-progress .ap-bar {
  flex: 1; min-width: 200px; height: 8px;
  background: var(--border); border-radius: var(--radius-pill); overflow: hidden;
}
.academy-progress .ap-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-500));
  transition: width .6s var(--ease);
}

/* ============================================================================
   Pull-to-refresh indicator (mobile)
   ============================================================================ */
.ptr-indicator {
  display: none;
  position: fixed; top: 0; left: 50%;
  transform: translateX(-50%) translateY(-60px);
  width: 44px; height: 44px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 22px rgba(0,37,49,0.12);
  display: grid; place-items: center;
  z-index: 110;
  transition: transform .3s var(--ease);
}
.ptr-indicator.pulling { transform: translateX(-50%) translateY(var(--ptr, 0px)); }
.ptr-indicator.refreshing {
  transform: translateX(-50%) translateY(20px);
}
.ptr-indicator svg {
  width: 22px; height: 22px; color: var(--primary);
  transition: transform .25s var(--ease);
}
.ptr-indicator.refreshing svg { animation: ptr-spin 0.8s linear infinite; }
@keyframes ptr-spin { to { transform: rotate(360deg); } }
@media (max-width: 768px) {
  .ptr-indicator { display: grid; }
}

/* ============================================================================
   Mobile A-Z polish
   ============================================================================ */
@media (max-width: 980px) {
  /* Mobile nav full-screen overlay */
  .topbar .nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(360px, 88vw);
    background: #fff;
    flex-direction: column; align-items: stretch;
    padding: 80px 24px 32px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    box-shadow: -16px 0 40px rgba(0,37,49,0.16);
    overflow-y: auto;
    z-index: 82;
    gap: 4px;
  }
  /* Body locks scroll when nav is open */
  body.menu-open { overflow: hidden; }
  /* Nav close button injected into drawer header */
  .nav-close {
    position: fixed; top: 16px; right: 16px;
    width: 40px; height: 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-tint);
    color: var(--ink);
    display: none;
    place-items: center;
    z-index: 84;
    cursor: pointer;
  }
  .nav-close svg { width: 22px; height: 22px; }
  body.menu-open .nav-close { display: grid; }
  body.menu-open::before {
    content: ""; position: fixed; inset: 0;
    background: rgba(0,37,49,0.50);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 78;
  }
  /* Mega menu submenu chevron rotation on mobile */
  .topbar .nav > li > button[aria-haspopup] svg {
    transition: transform .25s var(--ease);
  }
  .topbar .nav > li.open > button[aria-haspopup] svg {
    transform: rotate(180deg);
  }
  .topbar .nav.open { transform: translateX(0); }
  .topbar .nav li { width: 100%; }
  .topbar .nav > li > a, .topbar .nav > li > button {
    width: 100%; padding: 14px 12px;
    border-radius: var(--radius-sm);
    font-size: 16px; text-align: left;
    border-bottom: 1px solid var(--border-soft);
  }
  .topbar .nav .mega {
    position: static !important;
    box-shadow: none;
    padding: 0 0 12px 16px;
    border-radius: 0;
    width: 100%;
    background: var(--bg-tint);
    margin-top: 4px;
    display: none;
  }
  .topbar .nav .mega-grid { grid-template-columns: 1fr; gap: 16px; padding: 14px; }
  .topbar .nav li.open > .mega { display: block; }
  .topbar .nav-cta { gap: 8px; }
  .topbar .nav-cta .btn-sm:not(.burger) { padding: 8px 12px; font-size: 12px; }
  body.menu-open { overflow: hidden; }
  body.menu-open::before {
    content: ""; position: fixed; inset: 0;
    background: rgba(0,37,49,0.45);
    z-index: 75;
  }
}
@media (max-width: 640px) {
  .hero-verifieds { gap: 10px; font-size: 12px; }
  .cta-row .btn-lg { padding: 14px 18px; font-size: 14px; }
  .s-title h2 { font-size: clamp(26px, 7vw, 34px); }
  .s-title p { font-size: 14px; }
  .container { padding-inline: 16px; }
  .live-tiles { grid-template-columns: repeat(2, 1fr); }
  .grid.c-3, .grid.c-2, .grid.c-4 { grid-template-columns: 1fr !important; }
  .tier { padding: 22px; }
  .tier .price { font-size: 36px; }
  table { font-size: 13px; }
  table thead th, table tbody td { padding: 10px; }
}

/* ============================================================================
   Responsive v2 — comprehensive screen-size polish
   ============================================================================ */

/* Tablets / small laptops */
@media (max-width: 1100px) and (min-width: 769px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; }
  .awards-row { grid-template-columns: repeat(3, 1fr); }
  .sessions-bar { grid-template-columns: repeat(4, 1fr); gap: 10px; }
}

/* iPad & small tablets */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 60ch; }
  .awards-row { grid-template-columns: repeat(3, 1fr); }
  .live-tiles { grid-template-columns: repeat(3, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .sessions-bar { grid-template-columns: repeat(2, 1fr); }
}

/* Phones — broad */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: left; }
  .awards-row { grid-template-columns: repeat(2, 1fr); }
  .award-card { padding: 16px 12px; }
  .award-card .ttl { font-size: 12.5px; }
  .award-card .src { font-size: 10.5px; }
  .live-markets { padding: 24px 0; }
  .live-markets-head { font-size: 11px; }
  .marquee-track { animation-duration: 30s !important; gap: 16px; }
  .marquee-item { font-size: 12px; padding: 6px 12px; }
  .risk-bar { font-size: 11px; padding: 8px 12px; gap: 6px; text-align: center; }
  .risk-bar a { text-decoration: underline; }
  .topbar-inner { gap: 8px; }
  .nav-cta .btn-sm { padding: 7px 10px; font-size: 11px; }
  .nav-cta .btn-sm.btn-ghost { display: none; }
  .topbar { position: sticky; top: 0; z-index: 60; }
  .hero-art .glow { filter: blur(60px); inset: 4% 4%; }
  .cta-final h2 { font-size: clamp(24px, 6vw, 34px); }
  .cta-final p { font-size: 14px; }
  .cta-final .btn-lg { padding: 13px 18px; font-size: 14px; }
  .markets-pick { display: block; }
  .mp-tabs { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 10px; margin-bottom: 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .mp-tabs::-webkit-scrollbar { display: none; }
  .mp-tab { flex: 0 0 auto; min-width: 220px; padding: 14px; }
  .mp-stage { position: relative; }
  .mp-panel h3 { font-size: clamp(20px, 5vw, 26px); }
  .mp-rows .mp-row { font-size: 13px; padding: 8px 10px; }
  .specs-table-wrap, .table-wrap { overflow-x: auto; }
  .specs-table, .table-wrap table { min-width: 600px; }
  .dm-table { min-width: 760px !important; }
  .academy-progress { flex-direction: column; gap: 12px; padding: 18px; }
  .academy-progress .ap-bar { width: 100%; }
  .academy-progress .ap-num { font-size: 24px; }
  .ib-calc { padding: 22px; }
  .ib-calc .ib-result .amt { font-size: 32px; }
  .quiz { padding: 22px; }
  .quiz-q { font-size: 16px; }
  .quiz-actions { flex-direction: row; }
  .compliance-card { padding: 20px; }
  /* Hide call FAB label on tight screens, keep icon only */
  /* Keep call FAB as vertical right-edge tab, not round */
  .call-fab { writing-mode: vertical-rl; padding: 12px 8px; border-radius: var(--radius-sm) 0 0 var(--radius-sm); right: 0; top: 50%; transform: translateY(-50%); font-size: 11px; }
  .call-fab svg { width: 16px; height: 16px; }
}

/* Small phones */
@media (max-width: 480px) {
  .hero { padding: 28px 0 40px; }
  .hero-grid { gap: 20px; }
  .hero h1, .hero-h1 { font-size: clamp(24px, 8vw, 32px) !important; }
  .hero .sub { font-size: 14.5px; }
  .hero-verifieds { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cta-row { flex-direction: column; width: 100%; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .hero-stage { max-width: 280px; }
  .sca-badge.lg { font-size: 11px; padding: 8px 12px; }
  .live-tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .live-tile { padding: 10px; }
  .live-tile .price { font-size: 16px; }
  .awards-row { grid-template-columns: 1fr; }
  .footer-grid h5 { margin-bottom: 10px; }
  .site-footer { padding: 48px 0 24px; font-size: 13px; }
  .disclaimer { font-size: 12.5px; line-height: 1.65; }
  .mp-tab { min-width: 180px; }
  .step { padding: 22px 18px; }
  .ib-calc .ib-result .amt { font-size: 28px; }
  .scroll-progress { width: 2px; }
  .wa-fab .wa-fab-label { display: none; }
  .wa-fab { padding: 12px; border-radius: 50%; gap: 0; }
}

/* Landscape phone — short height */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding: 24px 0; }
  .hero-stage { max-width: 220px; aspect-ratio: 1/1; }
  .app-nav { padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); }
  .app-nav a { padding: 4px 2px; font-size: 9.5px; }
  .app-nav a svg { width: 18px; height: 18px; }
}

/* ============================================================================
   Mobile element-by-element refinements (per-page, per-element)
   ============================================================================ */
@media (max-width: 768px) {
  /* Page hero — every inner page (about, contact, accounts/*, tools/*, etc.) */
  .page-hero { padding: 28px 0 24px; }
  .page-hero h1 { font-size: clamp(28px, 7.5vw, 38px) !important; line-height: 1.1; }
  .page-hero .lead { font-size: 14.5px; line-height: 1.55; max-width: 50ch; }
  .breadcrumbs { font-size: 11.5px; }

  /* Section spacing tighter */
  section.section { padding: 44px 0; }
  section.section-tight { padding: 28px 0; }

  /* s-title block */
  .s-title { margin-bottom: 22px; }
  .s-title .eyebrow { font-size: 10.5px; letter-spacing: 0.20em; }
  .s-title h2 { font-size: clamp(24px, 6.5vw, 32px); line-height: 1.15; }
  .s-title p { font-size: 13.5px; max-width: 46ch; margin-inline: auto; }

  /* Form fields larger taps */
  .field input, .field select, .field textarea,
  .ib-calc input, .ib-calc select {
    font-size: 16px;  /* iOS zoom-prevention */
    padding: 12px 14px;
  }
  .submit-btn { padding: 14px 20px; font-size: 14.5px; }

  /* Buttons consistent on mobile */
  .btn { padding: 12px 16px; font-size: 13.5px; }
  .btn.btn-lg { padding: 14px 20px; font-size: 14.5px; }
  .btn.btn-sm { padding: 9px 14px; font-size: 12px; }
  .btn svg { width: 14px; height: 14px; }

  /* Cards consistent radius/padding */
  .card { padding: 20px; border-radius: var(--radius); }
  .card h3 { font-size: 17px; }
  .card p { font-size: 13.5px; line-height: 1.55; }

  /* FAQ items */
  .faq-q { font-size: 14.5px; padding: 18px 6px; }
  .faq-a-inner { font-size: 13.5px; padding: 0 6px 20px; line-height: 1.65; }

  /* Sessions bar tighter */
  .session-card { padding: 14px 14px; }
  .session-card .city { font-size: 14px; }
  .session-card .when { font-size: 11.5px; }
  .session-card .countdown { font-size: 11px; }

  /* Steps cinema slightly smaller padding */
  .sc-frame .sc-icon { width: 52px; height: 52px; }
  .sc-frame .sc-icon svg { width: 28px; height: 28px; }
  .sc-pill { font-size: 11.5px; padding: 5px 10px; }

  /* Risk bar single line ellipsis safer */
  .risk-bar { gap: 4px; padding: 6px 12px; font-size: 11px; }
  .risk-bar button { font-size: 14px; }

  /* Quiz options bigger tap area */
  .quiz-opt { padding: 14px 16px; min-height: 48px; }
  .quiz-q { font-size: 15.5px; }

  /* Tier cards */
  .tier h3 { font-size: 22px; }
  .tier .price { font-size: 32px; }
  .tier ul { font-size: 13.5px; }
  .tier ul li { padding: 6px 0; }
  .tier .btn { font-size: 13.5px; padding: 12px; }

  /* Footer compact */
  .site-footer { padding: 40px 0 24px; }
  .site-footer h5 { margin-bottom: 12px; font-size: 11px; }
  .site-footer ul { gap: 8px; }
  .site-footer a { font-size: 13px; }

  /* App-nav balanced */
  .app-nav a { font-size: 10px; }
  .app-nav a svg { width: 20px; height: 20px; }

  /* Awards cards mobile */
  .award-card .yr { font-size: 10px; }
  .award-card .ttl { font-size: 13px; }

  /* Payments grid */
  .payment-card { height: 100px; padding: 12px; }
  .payment-card svg { max-height: 34px; }
  .payment-card .pm-name { font-size: 11px; }

  /* Spreads numbers */
  .sp-pips .num { font-size: 38px; }
}

/* Below 380 — ultra narrow */
@media (max-width: 380px) {
  .page-hero h1 { font-size: clamp(22px, 8vw, 30px) !important; }
  .container { padding-inline: 14px; }
  .nav-cta .btn-sm { font-size: 10.5px; padding: 6px 9px; }
  .brand img { height: 26px; }
  .app-nav a { font-size: 9px; }
  .app-nav a svg { width: 18px; height: 18px; }
}

/* ============================================================================
   MOBILE MASTER OVERRIDES — guaranteed app-like layout
   ============================================================================ */
@media (max-width: 768px) {
  /* Topbar always visible: logo + Open Account + burger */
  body { padding-top: 0; }
  .topbar {
    position: sticky; top: 0; z-index: 80;
    background: rgba(255,255,255,0.96) !important;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border-soft);
  }
  .topbar-inner {
    display: grid !important;
    grid-template-columns: auto 1fr auto auto !important;
    align-items: center !important;
    padding: 10px 0 !important;
    gap: 10px !important;
  }
  .topbar .brand {
    grid-column: 1;
    flex-shrink: 0;
  }
  .topbar .brand img {
    height: 30px !important; width: auto;
    display: block;
  }
  .topbar .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-left: 0; margin-right: 0;
  }
  .topbar .nav-cta {
    grid-column: 3 / 5;
    grid-row: 1;
    display: inline-flex !important;
    gap: 8px;
    align-items: center;
  }
  .topbar .nav-cta .btn-ghost { display: none !important; }
  .topbar .nav-cta .btn-primary {
    display: inline-flex !important;
    padding: 8px 14px !important;
    font-size: 12.5px !important;
    height: auto;
  }
  .topbar .burger {
    display: inline-grid !important;
    place-items: center;
    width: 38px; height: 38px;
    background: var(--bg-tint);
    border-radius: 10px;
    border: 1px solid var(--border);
  }
  .topbar .burger svg { width: 20px; height: 20px; color: var(--ink); }

  /* Risk bar tighter */
  .risk-bar {
    padding: 6px 12px !important;
    font-size: 10.5px !important;
    gap: 6px !important;
  }
  .risk-bar > span:nth-child(3) { display: none; }
  .risk-bar > span:nth-child(4) { display: none; }

  /* Hero compact app feel */
  .hero { padding: 18px 0 28px !important; }
  .hero-grid { gap: 16px !important; }
  .hero h1, .hero-h1 {
    font-size: clamp(26px, 7.5vw, 36px) !important;
    line-height: 1.1 !important;
    margin: 10px 0 12px !important;
  }
  .hero .sub {
    font-size: 14px !important;
    line-height: 1.5;
    max-width: none;
  }
  .hero .sca-badge.lg {
    font-size: 10px !important;
    padding: 6px 10px !important;
    margin-bottom: 12px !important;
  }
  .hero-verifieds {
    margin-top: 16px !important;
    gap: 6px !important;
    font-size: 11px !important;
    flex-wrap: wrap;
  }
  .hero-verifieds span { gap: 4px !important; }
  .hero-stage {
    max-width: 240px !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 auto !important;
  }
  .hero-art { order: -1; max-width: 100% !important; }
  .cta-row {
    gap: 8px !important;
    margin-top: 14px !important;
    flex-direction: column;
  }
  .cta-row .btn { width: 100%; justify-content: center; }
  .hero-progress { bottom: 12px; }

  /* Section padding tighten */
  section.section { padding: 36px 0 !important; }
  .live-markets { padding: 20px 0 !important; }
  .recognition { padding: 28px 0 !important; }
  .marquee { padding: 12px 0 !important; }

  /* KPIs */
  .kpis { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .kpi { padding: 16px 12px !important; }
  .kpi .num { font-size: clamp(22px, 6vw, 30px) !important; }
  .kpi .lbl { font-size: 11px !important; }

  /* Live tiles 2-col, smaller */
  .live-tiles { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .live-tile { padding: 10px !important; }
  .live-tile .sym { font-size: 9.5px !important; }
  .live-tile .price { font-size: 15px !important; }

  /* Markets picker stacked */
  .markets-pick { grid-template-columns: 1fr !important; }
  .mp-tabs {
    flex-direction: row !important; flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 8px !important; padding-bottom: 8px !important;
    scrollbar-width: none;
  }
  .mp-tab { min-width: 200px !important; flex: 0 0 auto !important; }
  .mp-panel { padding: 18px !important; }

  /* Tiers stack with full width */
  .tiers, .tiers-3 { grid-template-columns: 1fr !important; gap: 14px !important; }
  .tier { padding: 22px !important; }

  /* Steps cinema shorter */
  .steps-cinema { height: 360vh; }
  .sc-frame { padding: 22px !important; }

  /* Footer two col */
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 22px 16px !important;
  }
  .footer-brand { grid-column: 1 / -1 !important; }
  .site-footer ul { gap: 6px !important; }
  .site-footer a { font-size: 13px !important; }

  /* Call FAB — vertical right tab (never round) */
  .call-fab {
    right: 0 !important; top: 50% !important;
    transform: translateY(-50%) !important;
    bottom: auto !important;
    writing-mode: vertical-rl !important;
    padding: 10px 7px !important;
    border-radius: 10px 0 0 10px !important;
    font-size: 10.5px !important;
    letter-spacing: 0.04em;
    z-index: 88;
  }
  .call-fab svg { width: 14px !important; height: 14px !important; }
  .call-fab .cf-label { display: inline !important; }

  /* WhatsApp FAB — bottom right, above app-nav, round small */
  .wa-fab {
    right: 12px !important;
    bottom: calc(80px + env(safe-area-inset-bottom)) !important;
    padding: 12px !important;
    border-radius: 50% !important;
    gap: 0 !important;
  }
  .wa-fab .wa-fab-label { display: none !important; }
  .wa-fab svg { width: 24px !important; height: 24px !important; }

  /* App-nav at bottom (5 tabs) */
  .app-nav {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)) !important;
  }
  body.has-app-nav { padding-bottom: 70px !important; }

  /* Spreads tightest */
  .spreads-section { padding: 32px 0 28px !important; }
  .spreads-cards { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }

  /* Payments tightest */
  .payments-strip { padding: 26px 0 30px !important; }
  .payments-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .payment-card { height: 72px !important; padding: 8px !important; }

  /* Platforms shrink */
  .pf-showcase { padding: 36px 0 !important; }
  .pf-row { margin-bottom: 32px !important; }
}

/* Smaller phones <420 — adjust topbar order */
@media (max-width: 420px) {
  .topbar .nav-cta .btn-primary { padding: 7px 10px !important; font-size: 11.5px !important; }
  .topbar .burger { width: 34px; height: 34px; }
  .brand img { height: 26px !important; }
  .hero h1, .hero-h1 { font-size: clamp(22px, 7vw, 30px) !important; }
  .hero-stage { max-width: 200px !important; }
  .kpis { grid-template-columns: 1fr 1fr !important; }
  .spreads-cards { grid-template-columns: 1fr 1fr !important; }
}

/* ============================================================================
   MOBILE FRESH BUILD v3 — app-style, final overrides
   ============================================================================ */
@media (max-width: 768px) {

  /* === GLOBAL SVG SAFETY === */
  .container svg:not([width]):not(.spark):not(.spark2):not(.sp-spark) {
    max-width: 250px !important; max-height: 100vh !important;
  }

  /* === TOPBAR (logo left, CTA + burger right, always visible) === */
  header.topbar { padding: 0; }
  .topbar-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    grid-template-columns: none !important;
    padding: 12px 0 !important;
    gap: 10px !important;
  }
  .topbar .brand { flex: 0 0 auto; }
  .topbar .brand img { height: 30px !important; }
  .topbar .nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    grid-column: unset; grid-row: unset;
    width: min(320px, 86vw);
    margin: 0 !important;
  }
  .topbar .nav-cta {
    grid-column: unset; grid-row: unset;
    display: inline-flex !important;
    margin-left: auto;
    gap: 8px;
  }

  /* === SECTION TITLES MOBILE === */
  .s-title { margin-bottom: 20px; max-width: none; padding-inline: 4px; }
  .s-title h2 { font-size: clamp(22px, 6.2vw, 28px) !important; line-height: 1.15 !important; }
  .s-title p { font-size: 13.5px !important; }

  /* === PLATFORMS MOBILE LAYOUT === */
  .pf-showcase { padding: 32px 0 28px !important; }
  .pf-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
    margin-bottom: 36px !important;
  }
  .pf-row.pf-reverse .pf-text { order: 2 !important; }
  .pf-row.pf-reverse .pf-visual { order: 1 !important; }
  .pf-row:not(.pf-reverse) .pf-text { order: 2; }
  .pf-row:not(.pf-reverse) .pf-visual { order: 1; }
  .pf-text { text-align: left; padding: 0; }
  .pf-text .pf-tag { font-size: 10px; letter-spacing: 0.18em; margin-bottom: 8px; }
  .pf-text h3 { font-size: clamp(20px, 5.6vw, 26px); margin-bottom: 10px; }
  .pf-text p { font-size: 14px; max-width: none; }
  .pf-feat { margin: 12px 0 16px; gap: 6px; }
  .pf-feat li { font-size: 13px; }
  .pf-cta .btn { font-size: 12.5px; padding: 9px 14px; }

  .pf-monitor { max-width: 100% !important; width: 100% !important; }
  .pf-bar-title { font-size: 9.5px !important; }
  .pf-mt5 { grid-template-columns: 90px 1fr !important; min-height: 160px !important; }
  .pf-mt5-row { padding: 4px 8px !important; font-size: 9px !important; }
  .pf-mt5-row b { font-size: 9px !important; }
  .pf-mt5-pair { gap: 6px; padding: 6px 8px; font-size: 9px; }
  .pf-mt5-pair b { font-size: 10px; }
  .pf-mt5-buy, .pf-mt5-sell { padding: 2px 5px; font-size: 9px; }
  .pf-mt5-ind { padding: 4px 8px; font-size: 8.5px; gap: 3px; }

  .pf-phone { width: 180px !important; margin: 0 auto; }
  .pf-balance-num { font-size: 18px !important; }
  .pf-app-row { padding: 6px 8px; font-size: 10px; }
  .pf-app-row div b { font-size: 11px; }
  .pf-buy, .pf-sell { font-size: 11px; padding: 8px; }

  .pf-window { max-width: 100% !important; width: 100% !important; }
  .pf-window-body { grid-template-columns: 96px 1fr !important; min-height: 170px !important; }
  .pf-sl-item { padding: 5px 6px; font-size: 9px; }
  .pf-sl-item b { font-size: 9.5px; }
  .pf-wc-head { padding: 6px 10px; }
  .pf-wc-head b { font-size: 10px; }
  .pf-wc-price { font-size: 11px; }
  .pf-wc-bottom { padding: 4px 10px; font-size: 8px; gap: 3px; }

  /* === Sessions clock 2-col mobile === */
  .sessions-bar { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .session-card { padding: 12px 12px !important; }
  .session-card .city { font-size: 13px !important; }
  .session-card .when { font-size: 11px !important; }
  .session-card .countdown { font-size: 10.5px !important; }

  /* === Recognition mobile readable === */
  .recognition { padding: 28px 0 !important; }
  .rec-track { gap: 22px !important; }
  .rec-item { font-size: 14px !important; gap: 8px !important; }

  /* === KPI counters === */
  section.section { padding: 32px 0 !important; }
  .kpis { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .kpi { padding: 16px 12px !important; }
  .kpi .num { font-size: 22px !important; }

  /* === Steps cinema · mobile spec lives in brand-sections.css === */

  /* === Spreads tight === */
  .spreads-section { padding: 28px 0 !important; }
  .spreads-cards { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .sp-card { padding: 12px !important; }
  .sp-card h3 { font-size: 14px !important; }
  .sp-pips .num { font-size: 24px !important; }
  .sp-card header { font-size: 9px; }

  /* === Payments tight === */
  .payments-strip { padding: 24px 0 28px !important; }
  .payments-grid { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .payment-card { height: 70px !important; padding: 8px !important; gap: 4px; }
  .payment-card svg { max-height: 26px !important; }
  .payment-card .pm-name { font-size: 10px !important; }
  .payment-card .pm-label { font-size: 12px !important; }

  /* === FAQ === */
  .faq { padding-inline: 4px; }
  .faq-q { font-size: 14px !important; padding: 14px 6px !important; }
  .faq-q .chev svg { width: 16px; height: 16px; }
  .faq-a-inner { font-size: 13px !important; padding: 0 6px 16px !important; }

  /* === Final CTA === */
  .cta-final { padding: 40px 0; }
  .cta-final h2 { font-size: clamp(22px, 6vw, 30px); }
  .cta-final p { font-size: 13.5px; }
  .cta-final .btn-lg { padding: 12px 18px; font-size: 13.5px; }

  /* === Footer 2-col strict === */
  footer.site-footer { padding: 36px 0 24px; }
  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 22px 14px !important;
    margin-bottom: 24px !important;
  }
  .footer-brand {
    grid-column: 1 / -1 !important;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    margin-bottom: 8px;
  }
  .footer-brand img { height: 36px !important; }
  .footer-brand p { font-size: 12.5px !important; }
  .footer-grid h5 { font-size: 10.5px !important; margin-bottom: 8px !important; }
  .footer-grid ul { gap: 4px !important; }
  .footer-grid a { font-size: 12.5px !important; }
  .licence-line { font-size: 10.5px !important; padding: 8px 12px !important; }
  .disclaimer { font-size: 12.5px !important; line-height: 1.65 !important; text-align: left !important; }
  .footer-bottom { font-size: 10.5px; }

  /* === Tools / Calculator / Tables === */
  .specs-tools { gap: 8px; }
  .specs-search { font-size: 14px; padding: 10px 14px; }
  .specs-chip { font-size: 12px; padding: 6px 12px; }
  table.specs-table { font-size: 11.5px; min-width: 520px; }
  table.specs-table thead th { padding: 8px 6px; font-size: 9.5px; }
  table.specs-table tbody td { padding: 9px 6px; }
  table.dm-table { font-size: 11.5px; min-width: 640px; }
  table.dm-table thead th { padding: 10px 8px; font-size: 9.5px; }
  table.dm-table tbody td { padding: 12px 8px; }
  /* Hint user that tables scroll on mobile */
  .specs-table-wrap, .dm-table-wrap, .table-wrap {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .specs-table-wrap::after, .dm-table-wrap::after, .table-wrap::after {
    content: "← swipe →";
    display: block;
    text-align: center;
    font-size: 10.5px; color: var(--muted);
    letter-spacing: 0.10em;
    padding: 6px 0;
  }

  /* Form panel inline-padding override — fix register/IB form 32px wasted space */
  form[style*="padding:32px"], form[style*="padding: 32px"] {
    padding: 18px !important;
  }
  form .form-grid { gap: 12px !important; }
  .form-grid .field input,
  .form-grid .field select,
  .form-grid .field textarea {
    padding: 12px 14px !important;
    font-size: 16px !important; /* iOS no-zoom */
  }

  /* Hero CTA — keep side-by-side on phone, full width as group */
  .hero .cta-row {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 8px !important;
  }
  .hero .cta-row .btn {
    flex: 1 1 calc(50% - 6px);
    min-width: 140px;
    width: auto !important;
    padding: 12px 14px !important;
    font-size: 13px !important;
  }

  /* === Map embed contact === */
  .map-embed { aspect-ratio: 4 / 5; }

  /* === Tabs / register === */
  .tab-bar { width: 100%; flex-wrap: wrap; }
  .tab-bar button { flex: 1; min-width: 110px; }

  /* === IB calc === */
  .ib-calc { padding: 20px; }
  .ib-calc .ib-inputs { grid-template-columns: 1fr !important; gap: 12px; }
  .ib-calc .ib-result .amt { font-size: 30px; }

  /* === Quiz === */
  .quiz { padding: 22px 16px; }

  /* === Markets pick === */
  .markets-pick { grid-template-columns: 1fr !important; gap: 12px !important; }
  .mp-tabs {
    display: flex !important; overflow-x: auto;
    gap: 8px; padding-bottom: 8px;
    scrollbar-width: none;
  }
  .mp-tabs::-webkit-scrollbar { display: none; }
  .mp-tab { flex: 0 0 auto !important; min-width: 200px; padding: 12px !important; }
  .mp-panel { padding: 18px !important; }
  .mp-panel h3 { font-size: 20px !important; }

  /* === Risk bar mobile === */
  .risk-bar {
    flex-wrap: wrap; justify-content: center;
    gap: 4px !important; padding: 6px 14px !important;
    font-size: 10px !important;
  }
  .risk-bar > span:not(:first-child):not(:nth-child(2)) { display: none; }
  .risk-bar #risk-bar-close { margin-left: 4px !important; }

  /* === Call FAB right-middle, vertical tab === */
  .call-fab {
    position: fixed !important;
    right: 0 !important; top: 50% !important;
    transform: translateY(-50%) !important;
    bottom: auto !important;
    writing-mode: vertical-rl !important;
    padding: 10px 7px !important;
    border-radius: 10px 0 0 10px !important;
    font-size: 10.5px !important;
    z-index: 88;
    background: var(--primary) !important;
    color: #fff !important;
  }
  .call-fab svg { width: 14px !important; height: 14px !important; writing-mode: horizontal-tb; }
  .call-fab .cf-label { display: inline !important; }

  /* === WhatsApp FAB bottom-right round === */
  .wa-fab {
    right: 12px !important;
    bottom: calc(86px + env(safe-area-inset-bottom)) !important;
    padding: 12px !important;
    border-radius: 50% !important;
    gap: 0 !important;
  }
  .wa-fab .wa-fab-label { display: none !important; }
  .wa-fab svg { width: 24px !important; height: 24px !important; }

  /* === App bottom nav === */
  .app-nav {
    grid-template-columns: repeat(5, 1fr) !important;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)) !important;
    background: rgba(255,255,255,0.98) !important;
  }
  .app-nav a { padding: 4px 2px !important; font-size: 10px !important; gap: 2px; }
  .app-nav a svg { width: 20px !important; height: 20px !important; }
  body.has-app-nav { padding-bottom: 72px !important; }
}

/* === Ultra-narrow phones (≤375) === */
@media (max-width: 375px) {
  .topbar .nav-cta .btn-primary { padding: 6px 8px !important; font-size: 11px !important; }
  .topbar .brand img { height: 26px !important; }
  .hero h1, .hero-h1 { font-size: clamp(20px, 6.5vw, 26px) !important; }
  .spreads-cards { grid-template-columns: 1fr 1fr !important; }
  .sp-pips .num { font-size: 20px !important; }
  .pf-phone { width: 160px !important; }
  .sc-frame h3 { font-size: 20px !important; }
  .footer-grid a { font-size: 12px !important; }
}

/* ============================================================================
   A11Y — Global focus-visible + skip link
   ============================================================================ */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}
.btn-primary:focus-visible {
  outline-color: #5EB1FE;
  box-shadow: 0 0 0 4px rgba(94,177,254,0.4);
}
a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}
.app-nav a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -4px;
  border-radius: 6px;
}

/* Skip-to-main link */
.skip-link {
  position: absolute;
  top: -40px; left: 8px;
  background: var(--primary); color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700; font-size: 13px;
  text-decoration: none;
  z-index: 9999;
  transition: top .2s ease;
}
.skip-link:focus {
  top: 8px;
  outline: 3px solid #5EB1FE;
}

/* Touch target enforcement on critical interactive elements */
@media (hover: none) and (pointer: coarse) {
  .btn, button, a.btn, .topbar .nav > li > a {
    min-height: 44px;
  }
  .app-nav a { min-height: 48px; }
  .faq-q { min-height: 48px; }
}

/* Reduced motion catch-all */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================================
   PLATFORMS — interactive tabbed showcase (px- prefix, fresh)
   ============================================================================ */
.px-section {
  position: relative; overflow: hidden;
  padding: 96px 0 80px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 60%, #fff 100%);
}
.px-bg { position: absolute; inset: 0; pointer-events: none; }
.px-orb {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  filter: blur(80px);
}
.px-orb-1 {
  top: -100px; right: -120px;
  background: radial-gradient(circle, rgba(31,95,168,0.32), transparent 70%);
  animation: px-orb-drift1 12s ease-in-out infinite alternate;
}
.px-orb-2 {
  bottom: -150px; left: -100px;
  background: radial-gradient(circle, rgba(94,177,254,0.25), transparent 70%);
  animation: px-orb-drift2 15s ease-in-out infinite alternate;
}
@keyframes px-orb-drift1 {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(-60px, 80px) scale(1.1); }
}
@keyframes px-orb-drift2 {
  from { transform: translate(0,0); }
  to   { transform: translate(80px, -60px); }
}
.px-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(109,166,242,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109,166,242,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* Tabs */
.px-tabs {
  display: flex;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px;
  max-width: 720px;
  margin: 32px auto;
  box-shadow: var(--shadow-card);
  position: relative; z-index: 2;
}
.px-tab {
  flex: 1;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
  color: var(--body);
  font-family: inherit;
  text-align: left;
  transition: background .3s var(--ease), color .3s, transform .25s var(--ease);
}
.px-tab svg { color: var(--muted); transition: color .3s; flex-shrink: 0; }
.px-tab .px-tab-t {
  display: block;
  font-size: 14px; font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.px-tab .px-tab-d {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.2;
}
.px-tab:hover { color: var(--primary); }
.px-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  color: #fff;
  box-shadow: 0 8px 22px rgba(31,95,168,0.34);
}
.px-tab.active svg { color: #fff; }
.px-tab.active .px-tab-t { color: #fff; }
.px-tab.active .px-tab-d { color: rgba(255,255,255,0.78); }

/* Stage holds the device */
.px-stage {
  position: relative;
  display: grid; place-items: center;
  min-height: 460px;
  margin: 24px auto 0;
  max-width: 900px;
  z-index: 1;
}
.px-device-wrap {
  position: relative;
  width: 100%;
  display: grid; place-items: center;
}
.px-device {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.px-device.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
  inset: auto;
}

/* Shared screen frame */
.px-screen {
  width: min(640px, 100%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 32px 70px rgba(0,37,49,0.18), 0 6px 20px rgba(0,37,49,0.06);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-3deg) rotateX(2deg);
  animation: px-float 7s ease-in-out infinite alternate;
}
@keyframes px-float {
  from { transform: perspective(1600px) rotateY(-3deg) rotateX(2deg) translateY(0); }
  to   { transform: perspective(1600px) rotateY(-1deg) rotateX(0deg) translateY(-10px); }
}
.px-screen-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #003B4D, #002531);
  color: rgba(255,255,255,0.7);
  font-size: 11.5px; font-weight: 600;
}
.px-dots { display: flex; gap: 6px; }
.px-dots i {
  width: 9px; height: 9px; border-radius: 50%;
  background: #555;
}
.px-dots i:nth-child(1) { background: #FF5F57; }
.px-dots i:nth-child(2) { background: #FFBD2E; }
.px-dots i:nth-child(3) { background: #27C93F; }
.px-bar-title { flex: 1; }
.px-bar-url { flex: 1; background: rgba(255,255,255,0.08); padding: 4px 10px; border-radius: 6px; font-size: 11px; }
.px-bar-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; color: rgba(255,255,255,0.8);
}
.px-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  animation: px-live-pulse 1.6s ease-in-out infinite;
}
@keyframes px-live-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(26,143,78,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(26,143,78,0); }
}

/* MT5 body */
.px-mt5-body {
  display: grid; grid-template-columns: 150px 1fr;
  min-height: 260px;
  background: #f8f9fc;
}
.px-mt5-side {
  background: #fff;
  border-right: 1px solid var(--border);
  font-size: 11px;
}
.px-mt5-row {
  display: flex; justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-soft);
  font-variant-numeric: tabular-nums;
}
.px-mt5-row span { color: var(--muted); }
.px-mt5-row b { font-weight: 700; }
.px-mt5-row b.up { color: var(--success); }
.px-mt5-row b.dn { color: var(--danger); }
.px-mt5-row.px-mt5-head { background: var(--bg-tint); font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; }
.px-mt5-row.px-mt5-active { background: rgba(109,166,242,0.08); border-left: 2px solid var(--primary); }
.px-mt5-main { display: flex; flex-direction: column; }
.px-mt5-head-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 11px;
}
.px-mt5-head-row > div:first-child b { display: block; font-size: 12px; color: var(--ink); }
.px-mt5-head-row > div:first-child span { font-size: 10px; color: var(--muted); }
.px-mt5-action { display: flex; gap: 6px; }
.px-buy, .px-sell {
  padding: 4px 10px; border-radius: 5px; font-size: 11px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.px-buy { background: rgba(26,143,78,0.12); color: var(--success); }
.px-sell { background: rgba(194,53,79,0.12); color: var(--danger); }
.px-mt5-chart {
  flex: 1;
  padding: 10px;
  background: linear-gradient(180deg, rgba(220,228,243,0.25), transparent 70%), #fff;
}
.px-mt5-chart svg { width: 100%; height: 100%; }
.px-mt5-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: px-draw 2s ease-out forwards;
}
.px-device.active .px-mt5-line { animation: px-draw 2s ease-out forwards; }
@keyframes px-draw { to { stroke-dashoffset: 0; } }
.px-mt5-fill { opacity: 0; animation: px-fade-in 1s ease 1.4s forwards; }
@keyframes px-fade-in { to { opacity: 1; } }
.px-mt5-candles g {
  opacity: 0;
  transform-origin: bottom;
  animation: px-candle-rise 0.4s ease forwards;
}
.px-device.active .px-mt5-candles g:nth-child(1) { animation-delay: 1.7s; }
.px-device.active .px-mt5-candles g:nth-child(2) { animation-delay: 1.85s; }
.px-device.active .px-mt5-candles g:nth-child(3) { animation-delay: 2.0s; }
.px-device.active .px-mt5-candles g:nth-child(4) { animation-delay: 2.15s; }
.px-device.active .px-mt5-candles g:nth-child(5) { animation-delay: 2.3s; }
.px-device.active .px-mt5-candles g:nth-child(6) { animation-delay: 2.45s; }
.px-device.active .px-mt5-candles g:nth-child(7) { animation-delay: 2.6s; }
.px-device.active .px-mt5-candles g:nth-child(8) { animation-delay: 2.75s; }
@keyframes px-candle-rise {
  from { opacity: 0; transform: scaleY(0); }
  to { opacity: 1; transform: scaleY(1); }
}
.px-mt5-tf {
  display: flex; gap: 6px;
  padding: 8px 14px;
  background: #fff;
  border-top: 1px solid var(--border-soft);
  font-size: 10px; font-weight: 700;
  color: var(--muted);
}
.px-mt5-tf .active { color: var(--primary); border-bottom: 2px solid var(--primary); padding-bottom: 2px; }

/* Phone */
.px-phone-frame {
  width: 280px;
  background: linear-gradient(160deg, #001824, #002531);
  border-radius: 38px;
  padding: 14px;
  box-shadow: 0 36px 70px rgba(0,37,49,0.32), inset 0 0 0 2px rgba(255,255,255,0.08);
  position: relative;
  animation: px-phone-tilt 6s ease-in-out infinite alternate;
}
@keyframes px-phone-tilt {
  from { transform: rotate(-3deg) translateY(0); }
  to { transform: rotate(3deg) translateY(-10px); }
}
.px-phone-notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 14px;
  background: #000;
  border-radius: 0 0 12px 12px;
}
.px-phone-screen {
  background: linear-gradient(180deg, #f6f7fb, #fff);
  border-radius: 28px;
  padding: 40px 18px 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.px-app-hdr {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 0;
  font-size: 12px; font-weight: 700; color: var(--ink);
}
.px-app-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.px-app-balance {
  padding: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  color: #fff;
  border-radius: 16px;
  position: relative; overflow: hidden;
}
.px-app-lbl { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.8; }
.px-app-amt {
  display: block; font-size: 24px; font-weight: 700;
  margin: 4px 0;
  font-variant-numeric: tabular-nums;
}
.px-app-amt b { font-size: 28px; }
.px-app-amt i { font-style: normal; font-size: 16px; opacity: 0.75; }
.px-app-chg { font-size: 11.5px; font-weight: 700; color: #5BE1A6; }
.px-app-spark {
  display: block; width: 100%; height: 30px; margin-top: 6px;
}
.px-app-spark path {
  stroke-dasharray: 300; stroke-dashoffset: 300;
  animation: px-draw 1.6s ease 0.5s forwards;
}
.px-app-positions { display: flex; flex-direction: column; gap: 6px; }
.px-app-pos {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.px-app-pos b { display: block; font-size: 12px; color: var(--ink); }
.px-app-pos span { font-size: 10px; color: var(--muted); }
.px-app-pos .up { color: var(--success); font-weight: 700; font-size: 12px; }
.px-app-pos .dn { color: var(--danger); font-weight: 700; font-size: 12px; }
.px-app-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.px-app-buy, .px-app-sell {
  padding: 12px; border: 0; border-radius: 10px;
  font-weight: 700; font-size: 13px; color: #fff;
  cursor: pointer;
}
.px-app-buy { background: var(--success); }
.px-app-sell { background: var(--danger); }

/* Web */
.px-web-body {
  display: grid; grid-template-columns: 140px 1fr;
  min-height: 240px;
  background: #fff;
}
.px-web-side {
  background: var(--bg-tint);
  padding: 8px;
  display: flex; flex-direction: column; gap: 4px;
  border-right: 1px solid var(--border);
}
.px-web-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.px-web-row b { color: var(--ink); font-weight: 700; }
.px-web-row .up { color: var(--success); font-weight: 700; }
.px-web-row .dn { color: var(--danger); font-weight: 700; }
.px-web-row.px-web-active { background: rgba(109,166,242,0.10); }
.px-web-chart {
  position: relative;
  padding: 14px;
  background: linear-gradient(180deg, rgba(220,228,243,0.20), transparent 60%), #fff;
}
.px-web-chart-hdr {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.px-web-chart-hdr b { font-size: 12px; color: var(--ink); }
.px-web-price { font-size: 13px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.px-web-price em { font-style: normal; font-size: 11px; margin-left: 4px; }
.px-web-price em.up { color: var(--success); }
.px-web-chart svg { width: 100%; height: 150px; }

/* Floating data chips */
.px-chip {
  position: absolute;
  padding: 8px 14px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(109,166,242,0.15);
  font-size: 12px; font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  z-index: 2;
  pointer-events: none;
  animation: px-chip-float 6s ease-in-out infinite alternate;
}
.px-chip-1 {
  top: 8%; left: -4%;
  animation-delay: 0s;
}
.px-chip-2 {
  bottom: 20%; right: -2%;
  animation-delay: 2s;
}
.px-chip-3 {
  top: 50%; left: -3%;
  animation-delay: 4s;
}
@keyframes px-chip-float {
  from { transform: translateY(0) rotate(-2deg); }
  to { transform: translateY(-14px) rotate(2deg); }
}

/* Features row */
.px-features {
  margin: 64px auto 0;
  max-width: 880px;
  position: relative;
  z-index: 2;
}
.px-feat-panel {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.px-feat-panel.active {
  display: grid;
  animation: px-feat-in .5s ease forwards;
}
@keyframes px-feat-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.px-feat {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.px-feat:hover {
  border-color: var(--primary-100);
  box-shadow: 0 12px 30px rgba(109,166,242,0.12);
  transform: translateY(-3px);
}
.px-feat-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-100), #fff);
  color: var(--primary);
  display: grid; place-items: center; flex-shrink: 0;
}
.px-feat b { display: block; font-size: 14.5px; color: var(--ink); font-weight: 700; }
.px-feat span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }

.px-cta {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 40px;
  position: relative; z-index: 2;
}

/* Mobile platforms */
@media (max-width: 900px) {
  .px-section { padding: 56px 0 48px; }
  .px-tabs { flex-direction: column; gap: 6px; padding: 6px; max-width: 100%; }
  .px-tab { padding: 10px 14px; }
  .px-tab .px-tab-t { font-size: 13.5px; }
  .px-tab .px-tab-d { font-size: 11px; }
  .px-stage { min-height: 340px; max-width: 100%; }
  .px-screen { width: 100%; max-width: 480px; transform: none; animation: none; }
  .px-mt5-body { grid-template-columns: 110px 1fr; min-height: 220px; }
  .px-mt5-row { padding: 6px 10px; font-size: 10px; }
  .px-mt5-head-row { padding: 8px 10px; }
  .px-mt5-head-row > div:first-child b { font-size: 11px; }
  .px-buy, .px-sell { padding: 3px 6px; font-size: 10px; }
  .px-phone-frame { width: 220px; transform: none; animation: none; }
  .px-app-amt b { font-size: 22px; }
  .px-web-body { grid-template-columns: 110px 1fr; min-height: 200px; }
  .px-web-row { padding: 6px 8px; font-size: 10px; }
  .px-features { margin-top: 40px; }
  .px-feat-panel { grid-template-columns: 1fr; gap: 10px; }
  .px-feat { padding: 14px; }
  .px-chip { font-size: 10.5px; padding: 6px 10px; }
  .px-chip-1 { top: 4%; left: 0; }
  .px-chip-2 { bottom: 8%; right: 0; }
  .px-chip-3 { display: none; }
  .px-cta { margin-top: 28px; }
  .px-cta .btn-lg { padding: 12px 18px; font-size: 13.5px; }
}
@media (max-width: 480px) {
  .px-chip { display: none; }
  .px-stage { min-height: 320px; }
  .px-mt5-side { display: none; }
  .px-mt5-body { grid-template-columns: 1fr; }
  .px-web-side { display: none; }
  .px-web-body { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .px-orb, .px-screen, .px-phone-frame, .px-live-dot,
  .px-mt5-line, .px-mt5-fill, .px-mt5-candles g, .px-app-spark path, .px-chip {
    animation: none !important;
  }
  .px-mt5-line { stroke-dashoffset: 0; }
  .px-mt5-fill { opacity: 1; }
  .px-mt5-candles g { opacity: 1; transform: none; }
  .px-app-spark path { stroke-dashoffset: 0; }
}

/* ============================================================================
   MOBILE FINAL POLISH v4 — final overrides to lock layout
   ============================================================================ */
@media (max-width: 768px) {
  /* Container side padding consistent */
  .container { padding-inline: 16px !important; }

  /* Topbar — proper flex with safe spacing */
  .topbar-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 10px 0 !important;
  }
  .topbar .brand img { height: 28px !important; max-height:fit-content; width: auto; }
  .topbar .nav-cta {
    display: inline-flex !important;
    align-items: center;
    gap: 8px !important;
    margin-left: auto;
  }
  .topbar .nav-cta .btn-ghost,
  .topbar .nav-cta .btn:not(.btn-primary):not(.burger) { display: none !important; }
  .topbar .nav-cta .btn-primary {
    padding: 8px 14px !important;
    font-size: 12.5px !important;
    line-height: 1.2 !important;
    min-height: 36px;
  }
  .topbar .burger {
    width: 38px; height: 38px;
    background: var(--bg-tint);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: inline-grid !important;
    place-items: center;
  }
  .topbar .burger svg { width: 20px; height: 20px; }

  /* Hero — readable + tight */
  .hero { padding: 24px 0 32px !important; }
  .hero-grid { gap: 20px !important; }
  .hero-h1 { min-height: 1.5em !important; }
  .hero h1, .hero-h1 { font-size: clamp(26px, 7vw, 34px) !important; line-height: 1.15 !important; margin: 10px 0 12px !important; }
  .hero .sub { font-size: 14.5px !important; line-height: 1.55 !important; }
  .hero-stage { max-width: 260px !important; margin: 0 auto !important; }
  .hero-art { order: -1; }
  .hero-verifieds { gap: 8px !important; font-size: 11.5px !important; margin-top: 16px !important; }
  .cta-row { gap: 8px !important; }

  /* Sessions clock 2-col mobile */
  .sessions-bar { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .session-card { padding: 12px !important; }

  /* Recognition row bigger but readable */
  .rec-track { gap: 22px !important; }
  .rec-item { font-size: 14px !important; gap: 8px !important; }

  /* KPIs 2-col */
  .kpis { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .kpi { padding: 16px 14px !important; }

  /* Markets-pick horizontal tabs scroll */
  .markets-pick { grid-template-columns: 1fr !important; gap: 14px !important; }
  .mp-tabs { flex-direction: row !important; overflow-x: auto !important; gap: 8px !important; padding-bottom: 6px !important; scrollbar-width: none; }
  .mp-tabs::-webkit-scrollbar { display: none; }
  .mp-tab { flex: 0 0 auto !important; min-width: 200px !important; padding: 12px 14px !important; }
  .mp-panel { padding: 18px !important; }

  /* Platforms (new section) */
  .px-section { padding: 36px 0 32px !important; }
  .px-tabs { margin: 18px auto !important; }
  .px-stage { min-height: 280px !important; margin-top: 16px !important; }

  /* Tier cards 1-col */
  .tiers, .tiers-3 { grid-template-columns: 1fr !important; gap: 14px !important; }
  .tier { padding: 22px !important; }

  /* Payments grid 2-col */
  .payments-strip { padding: 24px 0 28px !important; }
  .payments-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .payment-card { height: 76px !important; padding: 10px !important; gap: 4px; }
  .payment-card svg { max-height: 28px !important; }
  .payment-card .pm-name { font-size: 10.5px !important; }

  /* Spreads cards 2-col */
  .spreads-section { padding: 28px 0 24px !important; }
  .spreads-cards { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .sp-card { padding: 12px !important; }
  .sp-pips .num { font-size: 26px !important; }

  /* Steps cinema · scroll-pin spec in brand-sections.css (mobile flatten removed) */

  /* FAQ */
  .faq-q { font-size: 14.5px !important; padding: 16px 8px !important; min-height: 48px; }
  .faq-a-inner { font-size: 13.5px !important; padding: 0 8px 16px !important; }

  /* Final CTA */
  .cta-final { padding: 36px 0 !important; }
  .cta-final h2 { font-size: clamp(22px, 6vw, 30px) !important; }
  .cta-final p { font-size: 13.5px !important; }

  /* Footer 2-col */
  footer.site-footer { padding: 36px 0 24px !important; }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 22px 14px !important;
  }
  .footer-brand { grid-column: 1 / -1 !important; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.10); }
  .footer-brand img { height: 36px !important; }
  .footer-brand p { font-size: 12.5px !important; }
  .footer-grid h5 { font-size: 10.5px !important; margin-bottom: 8px !important; }
  .footer-grid a { font-size: 12.5px !important; }
  .footer-bottom { font-size: 10.5px !important; }
  .disclaimer { font-size: 12.5px !important; line-height: 1.65 !important; text-align: left !important; }

  /* FAB positioning final */
  .call-fab {
    right: 0 !important; top: 50% !important;
    transform: translateY(-50%) !important;
    bottom: auto !important;
    writing-mode: vertical-rl !important;
    padding: 10px 7px !important;
    border-radius: 10px 0 0 10px !important;
    font-size: 11px !important;
    z-index: 88;
  }
  .call-fab svg { width: 14px !important; height: 14px !important; writing-mode: horizontal-tb; }
  .wa-fab {
    right: 14px !important;
    bottom: calc(86px + env(safe-area-inset-bottom)) !important;
    padding: 12px !important;
    border-radius: 50% !important;
    gap: 0 !important;
  }
  .wa-fab .wa-fab-label { display: none !important; }
  .wa-fab svg { width: 24px !important; height: 24px !important; }

  /* App-nav bottom bar */
  .app-nav {
    grid-template-columns: repeat(5, 1fr) !important;
    padding: 6px 4px calc(8px + env(safe-area-inset-bottom)) !important;
    background: rgba(255,255,255,0.98) !important;
  }
  .app-nav a { padding: 6px 2px !important; font-size: 10px !important; gap: 2px; min-height: 48px; }
  .app-nav a svg { width: 20px !important; height: 20px !important; }
  body.has-app-nav { padding-bottom: 76px !important; }
  body.no-app-nav { padding-bottom: 0 !important; }

  /* Risk bar tight */
  .risk-bar { padding: 6px 14px !important; font-size: 10.5px !important; gap: 4px !important; flex-wrap: wrap; justify-content: center; }

  /* Form fields min-height for touch */
  input, select, textarea { min-height: 44px; }
}

/* Ultra-narrow phones ≤375 */
@media (max-width: 375px) {
  .container { padding-inline: 14px !important; }
  .topbar .brand img { height: 26px !important; }
  .topbar .nav-cta .btn-primary { padding: 7px 11px !important; font-size: 11.5px !important; }
  .hero h1, .hero-h1 { font-size: clamp(22px, 7vw, 28px) !important; }
  .hero-stage { max-width: 220px !important; }
  .spreads-cards { grid-template-columns: 1fr 1fr !important; }
  .sp-pips .num { font-size: 22px !important; }
  .payments-grid { grid-template-columns: 1fr 1fr !important; }
  .payment-card { height: 68px !important; }
  .app-nav a { font-size: 9.5px !important; }
  .app-nav a svg { width: 18px !important; height: 18px !important; }
}

/* ============================================================================
   ★ MOBILE MASTER v5 — FRESH AUTHORITATIVE OVERRIDE (last in cascade) ★
   Source of truth for ≤768px. Earlier rules win unless this overrides.
   ============================================================================ */
@media (max-width: 768px) {

  /* ─── Reset · base ─── */
  html { font-size: 16px; }
  body { -webkit-text-size-adjust: 100%; }
  .container { padding-inline: 16px; max-width: 100%; }

  /* ─── Topbar · always visible · logo + Open btn + burger ─── */
  .topbar {
    position: sticky; top: 0; z-index: 70;
    background: #ffffff;
    border-bottom: 1px solid var(--border-soft);
  }
  .topbar-inner {
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 10px; padding: 10px 0;
  }
  .topbar .brand { flex: 0 0 auto; }
  .topbar .brand img { height: 30px; width: auto; display: block; }
  .topbar .nav-cta {
    display: inline-flex; align-items: center;
    gap: 8px; margin-left: auto;
  }
  .topbar .nav-cta .btn-ghost { display: none; }
  .topbar .nav-cta .btn-primary {
    padding: 8px 14px; font-size: 12.5px;
    line-height: 1.2; min-height: 36px;
  }
  .topbar .burger {
    width: 40px; height: 40px;
    background: var(--bg-tint);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: inline-grid; place-items: center;
  }
  .topbar .burger svg { width: 20px; height: 20px; color: var(--ink); }

  /* ─── Risk bar (top) — minimal ─── */
  .risk-bar {
    padding: 6px 12px; font-size: 10.5px;
    gap: 4px; flex-wrap: wrap; justify-content: center;
  }

  /* ─── Hero — compact app feel ─── */
  .hero { padding: 20px 0 28px; }
  .hero-grid {
    display: grid; grid-template-columns: 1fr; gap: 18px;
  }
  .hero-art { order: -1; max-width: 100%; }
  .hero-stage { max-width: 240px; margin: 0 auto; aspect-ratio: 1/1; }
  .hero .sca-badge.lg {
    font-size: 10.5px; padding: 6px 10px; margin-bottom: 12px;
  }
  .hero h1, .hero-h1 {
    font-size: clamp(26px, 7.5vw, 34px); line-height: 1.15;
    margin: 10px 0 12px;
  }
  .hero-h1 { min-height: 2.2em; }
  .hero .sub {
    font-size: 14.5px; line-height: 1.55; max-width: none;
  }
  .hero .cta-row {
    display: flex; flex-direction: row; gap: 8px;
    margin-top: 14px; flex-wrap: wrap;
  }
  .hero .cta-row .btn {
    flex: 1; min-width: 0; padding: 12px 14px; font-size: 13px;
    justify-content: center;
  }
  .hero-verifieds {
    margin-top: 16px; gap: 8px;
    font-size: 11.5px; flex-wrap: wrap;
  }

  /* Hero stage internal items */
  .stage-arrow .arrow { width: 60%; max-width: 200px; }
  .arrow-orbit .orbit-sym { width: 32px; height: 32px; font-size: 13px; }

  /* ─── Section spacing ─── */
  section.section { padding: 36px 0; }
  section.section-tight { padding: 22px 0; }
  .s-title { margin-bottom: 18px; }
  .s-title h2 { font-size: clamp(22px, 6vw, 28px); line-height: 1.15; }
  .s-title p { font-size: 13.5px; max-width: 46ch; margin-inline: auto; }
  .s-title .eyebrow { font-size: 10.5px; letter-spacing: 0.20em; }

  /* ─── Live markets strip ─── */
  .live-markets { padding: 20px 0; }
  .live-tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .live-tile { padding: 10px; }
  .live-tile .price { font-size: 15px; }

  /* ─── Marquee · regulator ribbon ─── */
  .marquee { padding: 12px 0; }
  .marquee-item { font-size: 12px; padding: 6px 12px; }

  /* ─── Recognition row ─── */
  .recognition { padding: 28px 0 24px; }
  .rec-track { gap: 20px; }
  .rec-item { font-size: 13.5px; gap: 8px; }
  .rec-item svg { width: 20px; height: 20px; }
  .rec-eyebrow { font-size: 10.5px; letter-spacing: 0.22em; margin-bottom: 18px; }

  /* ─── Sessions clock ─── */
  .sessions-bar { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
  .session-card { padding: 12px; }
  .session-card .city { font-size: 13px; }
  .session-card .when { font-size: 11px; }
  .session-card .countdown { font-size: 10.5px; }

  /* ─── KPI counters ─── */
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 16px 12px; }
  .kpi .num { font-size: 22px; }
  .kpi .lbl { font-size: 11px; }
  .kpi .icon { width: 32px; height: 32px; }
  .kpi .icon svg { width: 18px; height: 18px; }

  /* ─── Markets picker ─── */
  .markets-pick { grid-template-columns: 1fr; gap: 14px; }
  .mp-tabs {
    display: flex; flex-direction: row;
    overflow-x: auto; gap: 8px;
    padding-bottom: 8px; scrollbar-width: none;
  }
  .mp-tabs::-webkit-scrollbar { display: none; }
  .mp-tab { flex: 0 0 auto; min-width: 220px; padding: 12px; }
  .mp-panel { padding: 18px; }
  .mp-panel h3 { font-size: 20px; }
  .mp-row { font-size: 13px; padding: 8px 10px; }

  /* ─── Platforms (px-) ─── */
  .px-section { padding: 36px 0 32px; }
  .px-tabs {
    flex-direction: row; flex-wrap: wrap;
    gap: 6px; padding: 6px;
    margin: 18px auto; max-width: 100%;
  }
  .px-tab { flex: 1 1 30%; min-width: 0; padding: 10px 12px; }
  .px-tab .px-tab-t { font-size: 12px; }
  .px-tab .px-tab-d { display: none; }
  .px-tab svg { width: 18px; height: 18px; }
  .px-stage { min-height: 300px; }
  .px-screen { width: 100%; max-width: 100%; transform: none; animation: none; }
  .px-mt5-body { min-height: 220px; }
  .px-mt5-row { padding: 6px 10px; font-size: 10px; }
  .px-mt5-head-row { padding: 8px 10px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .px-buy, .px-sell { padding: 3px 8px; font-size: 10px; }
  .px-phone-frame { width: 300px; transform: none; animation: none; }
  .px-app-amt b { font-size: 22px; }
  .px-web-body { min-height: 200px; }
  .px-web-row { padding: 6px 8px; font-size: 10px; }
  .px-feat-panel { grid-template-columns: 1fr; gap: 10px; }
  .px-feat { padding: 14px; }
  .px-chip { display: none; }
  .px-cta .btn-lg { padding: 12px 18px; font-size: 13.5px; }

  /* ─── Account tier cards ─── */
  .tiers, .tiers-3 { grid-template-columns: 1fr; gap: 14px; }
  .tier { padding: 22px; }
  .tier h3 { font-size: 22px; }
  .tier .price { font-size: 32px; }

  /* ─── Payments strip ─── */
  .payments-strip { padding: 24px 0 28px; }
  .payments-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
  .payment-card { height: 76px; padding: 10px; gap: 4px; }
  .payment-card svg { max-height: 28px; }
  .payment-card .pm-name { font-size: 10.5px; }
  .payment-card .pm-label { font-size: 12.5px; }

  /* ─── Steps cinema · scroll-pin spec in brand-sections.css (mobile flatten removed) ─── */

  /* ─── Spreads cards ─── */
  .spreads-section { padding: 28px 0 24px; }
  .spreads-cards { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
  .sp-card { padding: 12px; }
  .sp-card h3 { font-size: 14px; margin-bottom: 8px; }
  .sp-pips .num { font-size: 26px; }
  .sp-meta { font-size: 11px; }

  /* ─── FAQ ─── */
  .faq-q { font-size: 14.5px; padding: 16px 8px; min-height: 48px; }
  .faq-a-inner { font-size: 13.5px; padding: 0 8px 16px; line-height: 1.65; }

  /* ─── Final CTA ─── */
  .cta-final { padding: 36px 0; }
  .cta-final h2 { font-size: clamp(22px, 6vw, 30px); }
  .cta-final p { font-size: 13.5px; }
  .cta-final .btn-lg { padding: 12px 18px; font-size: 13.5px; }

  /* ─── Footer 2-col ─── */
  footer.site-footer { padding: 36px 0 24px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 16px; margin-bottom: 24px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    margin-bottom: 4px;
  }
  .footer-brand img { height: 36px; }
  .footer-brand p { font-size: 12.5px; max-width: 50ch; }
  .footer-grid h5 { font-size: 10.5px; margin-bottom: 8px; }
  .footer-grid a { font-size: 12.5px; }
  .footer-bottom { font-size: 10.5px; flex-direction: column; gap: 8px; text-align: left; }
  .disclaimer { font-size: 12.5px; line-height: 1.65; text-align: left; }
  .licence-line { font-size: 10.5px; padding: 8px 12px; }

  /* ─── Forms ─── */
  .field input, .field select, .field textarea,
  input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
  input[type="password"], select, textarea {
    font-size: 16px;
    min-height: 44px; padding: 12px 14px;
  }
  .submit-btn { padding: 14px 20px; font-size: 15px; width: 100%; }
  form[style*="padding:32px"], form[style*="padding: 32px"] { padding: 18px; }

  /* ─── Tables ─── */
  .specs-table-wrap, .dm-table-wrap, .table-wrap {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
  }
  table.specs-table { font-size: 11.5px; min-width: 520px; }
  table.specs-table thead th { padding: 8px 6px; font-size: 9.5px; }
  table.specs-table tbody td { padding: 9px 6px; }
  table.dm-table { font-size: 11.5px; min-width: 640px; }
  table.dm-table thead th { padding: 10px 8px; font-size: 9.5px; }
  table.dm-table tbody td { padding: 12px 8px; }

  /* ─── Cards generic ─── */
  .card { padding: 20px; }
  .card h3 { font-size: 17px; }
  .card p { font-size: 13.5px; line-height: 1.55; }
  .grid.c-3, .grid.c-4 { grid-template-columns: 1fr; }
  .grid.c-2 { grid-template-columns: 1fr; }

  /* ─── Floating action buttons ─── */
  .call-fab {
    position: fixed; right: 0; top: 50%;
    transform: translateY(-50%); bottom: auto;
    writing-mode: vertical-rl;
    padding: 10px 7px;
    border-radius: 10px 0 0 10px;
    font-size: 11px; z-index: 88;
    background: var(--primary); color: #fff;
  }
  .call-fab svg { width: 14px; height: 14px; writing-mode: horizontal-tb; }
  .call-fab .cf-label { display: inline; }
  .wa-fab {
    right: 14px;
    bottom: calc(86px + env(safe-area-inset-bottom));
    padding: 12px; border-radius: 50%; gap: 0;
    z-index: 100;
  }
  .wa-fab .wa-fab-label { display: none; }
  .wa-fab svg { width: 24px; height: 24px; }

  /* ─── Mobile bottom app-nav ─── */
  .app-nav {
    display: grid; grid-template-columns: repeat(5, 1fr);
    padding: 6px 4px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.98);
    z-index: 90;
  }
  .app-nav a { padding: 6px 2px; font-size: 10px; gap: 2px; min-height: 48px; }
  .app-nav a svg { width: 20px; height: 20px; }
  body.has-app-nav { padding-bottom: 76px; }
  body.no-app-nav .app-nav { display: none; }
  body.no-app-nav { padding-bottom: 0; }

  /* ─── Cookie banner — below app-nav ─── */
  .cookie-banner {
    left: 12px; right: 12px; max-width: none;
    bottom: calc(86px + env(safe-area-inset-bottom));
    padding: 12px 14px; z-index: 85;
  }

  /* ─── Page-hero (inner pages) ─── */
  .page-hero { padding: 28px 0 22px; }
  .page-hero h1 { font-size: clamp(26px, 7vw, 34px); line-height: 1.15; }
  .page-hero .lead { font-size: 14px; line-height: 1.55; max-width: none; }
  .breadcrumbs { font-size: 11.5px; }
}

@media (max-width: 420px) {
  .topbar .brand img { height: 26px; }
  .topbar .nav-cta .btn-primary { padding: 7px 11px; font-size: 11.5px; }
  .hero h1, .hero-h1 { font-size: clamp(22px, 7vw, 28px); }
  .hero-stage { max-width: 200px; }
  .payments-grid, .spreads-cards { grid-template-columns: 1fr 1fr; }
  .payment-card { height: 68px; padding: 8px; }
  .payment-card svg { max-height: 24px; }
  .px-tab { flex: 1 1 100%; }
  .px-tab .px-tab-t { font-size: 13px; }
  .app-nav a { font-size: 9.5px; }
  .app-nav a svg { width: 18px; height: 18px; }
}

/* ============================================================================
   ★ MENU REBUILD v6 — clean animated drawer (mobile) + mega menu (desktop) ★
   ============================================================================ */

/* Burger button — visible <=980, hidden desktop */
.burger {
  display: none;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  padding: 9px 11px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s, transform .15s var(--ease);
}
.burger:hover { background: rgba(109,166,242,0.08); }
.burger:active { transform: scale(0.95); }
.burger svg { width: 22px; height: 22px; color: var(--ink); display: block; }
@media (max-width: 980px) {
  .burger { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; }
}

/* Desktop mega menu — smooth open with stagger */
@media (min-width: 981px) {
  .nav > li > .mega {
    transform: translateY(12px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity .25s cubic-bezier(0.22, 1, 0.36, 1),
      transform .35s cubic-bezier(0.22, 1, 0.36, 1),
      visibility .25s;
  }
  .nav > li:hover > .mega,
  .nav > li:focus-within > .mega {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  /* Stagger items inside mega menu */
  .mega-col li {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s ease, transform .35s ease;
  }
  .nav > li:hover > .mega .mega-col li,
  .nav > li:focus-within > .mega .mega-col li {
    opacity: 1;
    transform: none;
  }
  .nav > li:hover > .mega .mega-col li:nth-child(1) { transition-delay: .05s; }
  .nav > li:hover > .mega .mega-col li:nth-child(2) { transition-delay: .10s; }
  .nav > li:hover > .mega .mega-col li:nth-child(3) { transition-delay: .15s; }
  .nav > li:hover > .mega .mega-col li:nth-child(4) { transition-delay: .20s; }
  .nav > li:hover > .mega .mega-col li:nth-child(5) { transition-delay: .25s; }
}

/* Mobile drawer — slide-in with backdrop */
@media (max-width: 980px) {
  /* The drawer panel */
  .topbar .nav {
    position: fixed !important;
    top: 0; right: 0; bottom: 0;
    width: min(360px, 86vw);
    background: #fff;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 76px 20px 32px;
    transform: translateX(105%);
    transition: transform .42s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -16px 0 48px rgba(0,37,49,0.18);
    overflow-y: auto;
    z-index: 95;
    gap: 4px;
    margin: 0 !important;
    -webkit-overflow-scrolling: touch;
  }
  .topbar .nav.open { transform: translateX(0); }

  /* Backdrop overlay — fades in */
  body.menu-open::before {
    content: ""; position: fixed; inset: 0;
    background: rgba(0,37,49,0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 90;
    animation: menu-backdrop-in .35s ease forwards;
  }
  @keyframes menu-backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Close X button */
  .nav-close {
    position: fixed; top: 14px; right: 16px;
    width: 44px; height: 44px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-tint);
    color: var(--ink);
    display: none;
    place-items: center;
    z-index: 96;
    cursor: pointer;
    transition: background .2s, transform .15s;
  }
  .nav-close:hover { background: rgba(194,53,79,0.10); }
  .nav-close:active { transform: scale(0.92); }
  body.menu-open .nav-close { display: grid; animation: menu-close-in .25s ease .1s both; }
  @keyframes menu-close-in {
    from { opacity: 0; transform: scale(0.7); }
    to { opacity: 1; transform: scale(1); }
  }

  /* Lock body scroll while menu open */
  body.menu-open { overflow: hidden; }

  /* Nav items — staggered entry when drawer opens */
  .topbar .nav > li {
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity .35s ease, transform .35s ease;
  }
  .topbar .nav.open > li {
    opacity: 1;
    transform: none;
  }
  .topbar .nav.open > li:nth-child(1) { transition-delay: .12s; }
  .topbar .nav.open > li:nth-child(2) { transition-delay: .17s; }
  .topbar .nav.open > li:nth-child(3) { transition-delay: .22s; }
  .topbar .nav.open > li:nth-child(4) { transition-delay: .27s; }
  .topbar .nav.open > li:nth-child(5) { transition-delay: .32s; }
  .topbar .nav.open > li:nth-child(6) { transition-delay: .37s; }
  .topbar .nav.open > li:nth-child(7) { transition-delay: .42s; }
  .topbar .nav.open > li:nth-child(8) { transition-delay: .47s; }
  .topbar .nav.open > li:nth-child(9) { transition-delay: .52s; }

  /* Nav links/buttons mobile */
  .topbar .nav > li > a,
  .topbar .nav > li > button {
    display: flex !important;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--border-soft);
    text-align: left;
    cursor: pointer;
  }
  .topbar .nav > li > button[aria-haspopup] svg {
    transition: transform .3s var(--ease);
    flex-shrink: 0;
  }
  .topbar .nav > li.open > button[aria-haspopup] svg {
    transform: rotate(180deg);
  }

  /* Mobile mega menu — collapse/expand */
  .topbar .nav .mega {
    position: static !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    background: transparent !important;
    border-radius: 10px !important;
    margin: 0 !important;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height .35s ease;
  }
  .topbar .nav > li.open .mega {
    max-height: 800px;
    padding: 8px 0 12px 12px !important
  }
  .topbar .nav .mega-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 4px 0 !important;
  }
  .topbar .nav .mega-col h5 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin: 8px 0 6px;
  }
  .topbar .nav .mega-col li > a {
    border: 0 !important;
    padding: 10px 12px !important;
    font-size: 14.5px;
    background: var(--bg-tint);
    border-radius: 8px;
    margin: 2px 0;
  }

  /* Hide CTA inside drawer to keep clean */
}

@media (prefers-reduced-motion: reduce) {/* drawer-killed: .topbar .nav */

  .topbar .nav > li { transition: none; opacity: 1; transform: none; }
  .nav-close, body.menu-open::before { animation: none; }
}

/* ============================================================================
   ★ GOLD ACCENT v7 — premium accent across site
   ============================================================================ */
/* Featured tier (Pro) uses gold border accent */
.tier.featured {
  border: 2px solid var(--gold) !important;
  position: relative;
}
.tier.featured::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--gold), var(--primary), var(--gold));
  z-index: -1;
  opacity: 0.55;
  filter: blur(8px);
}
.tier.featured .badge {
  background: linear-gradient(135deg, var(--gold), var(--gold-700));
  color: #fff;
  border: 0;
  box-shadow: 0 4px 14px rgba(179,154,126,0.45);
}

/* Elite tier marker — gold accent (3rd tier) */
.tiers-3 .tier:nth-child(3) .price,
.tiers-3 .tier:last-child .price {
  background: linear-gradient(135deg, var(--gold-700), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Awards / Recognition gold icons */
.rec-item svg { color: var(--gold) !important; }
.rec-dot { background: var(--gold) !important; opacity: 0.7; }

/* SCA badge — refined with gold trim */
.sca-badge.lg {
  border: 1px solid var(--gold-100);
  background: linear-gradient(135deg, rgba(179,154,126,0.06), rgba(109,166,242,0.06));
}
.sca-badge.lg .sca-seal {
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  position: relative;
}

/* Primary CTA gold shimmer on hover */
.btn.btn-primary {
  position: relative; overflow: hidden;
}
.btn.btn-primary::after {
  content: "";
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(245,234,212,0.4), transparent);
  transform: skewX(-25deg);
  transition: left .8s ease;
}
.btn.btn-primary:hover::after { left: 130%; }

/* Final CTA section — gold ribbon underline */
.cta-final h2 {
  position: relative;
  display: inline-block;
}
.cta-final h2::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -10px;
  transform: translateX(-50%);
  width: 80px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}

/* Featured "Most popular" pricing tier — gold ring glow */
.tier.featured .label {
  color: var(--gold-700);
  font-weight: 700;
}

/* Section dividers — gold accent line */
.s-title .eyebrow {
  position: relative;
  display: inline-block;
  padding-left: 24px;
}
.s-title .eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 16px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--primary));
  border-radius: 1px;
  transform: translateY(-50%);
}

/* Footer accents — gold for SCA licence chip */
.licence-line {
  border-color: rgba(179,154,126,0.40) !important;
  color: var(--gold-100) !important;
  background: rgba(179,154,126,0.06);
}

/* Active session card — gold border replaces success */
.session-card.open {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(179,154,126,0.10), 0 12px 28px rgba(179,154,126,0.20) !important;
}
.session-card.open::before {
  background: var(--gold) !important;
}
.session-card.open .city .led {
  background: var(--gold) !important;
  box-shadow: 0 0 0 0 rgba(179,154,126,0.6) !important;
}

/* SP-card featured Gold pricing → gold icon */
.sp-card.sp-featured header svg { color: var(--gold) !important; }
.sp-card.sp-featured .sp-spark path { stroke: var(--gold) !important; }
.sp-card.sp-featured {
  background: linear-gradient(135deg, var(--gold-100), #fff) !important;
  border-color: var(--gold) !important;
  box-shadow: 0 14px 40px rgba(179,154,126,0.25) !important;
}
.sp-card.sp-featured .sp-pips .num {
  background: linear-gradient(120deg, var(--gold-700), var(--gold)) !important;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

/* ============================================================================
   SPREADS REDESIGN — desktop terminal aesthetic (matches mobile.css)
   ============================================================================ */
.spreads-section {
  position: relative;
  padding: clamp(80px, 9vw, 120px) 0;
  background:
    radial-gradient(900px 600px at 0% 0%, rgba(109,166,242,0.12), transparent 60%),
    radial-gradient(800px 500px at 100% 100%, rgba(179,154,126,0.06), transparent 65%),
    #002531;
  color: #fff;
  overflow: hidden;
}
.spreads-section .spreads-bg { position: absolute; inset: 0; pointer-events: none; }
.spreads-section .sp-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 80%);
}
.spreads-section .sp-glow {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.40;
}
.spreads-section .sp-g1 { top: -120px; left: -120px; background: var(--primary); animation: sp-glow-drift 18s ease-in-out infinite alternate; }
.spreads-section .sp-g2 { bottom: -140px; right: -120px; background: var(--gold); animation: sp-glow-drift 22s ease-in-out infinite alternate-reverse; }
@keyframes sp-glow-drift {
  from { transform: translate(0,0) scale(1); }
  to { transform: translate(60px, 40px) scale(1.25); }
}
.spreads-section .s-title { position: relative; z-index: 2; margin-bottom: 48px; max-width: 760px; }
.spreads-section .s-title h2 { color: #fff; }
.spreads-section .s-title p { color: rgba(255,255,255,0.62); font-size: var(--t-4); }
.spreads-section .eyebrow {
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 10px;
}
.spreads-section .eyebrow::before {
  content: ""; width: 9px; height: 9px;
  border-radius: 50%; background: #5BE1A6;
  box-shadow: 0 0 0 0 rgba(91,225,166,0.6);
  animation: sp-live-pulse 1.6s ease-in-out infinite;
}
@keyframes sp-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91,225,166,0.6); }
  50% { box-shadow: 0 0 0 10px rgba(91,225,166,0); }
}
.spreads-section .spreads-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative; z-index: 2;
}
@media (max-width: 980px) {
  .spreads-section .spreads-cards { grid-template-columns: repeat(2, 1fr); }
}
.spreads-section .sp-card {
  position: relative;
  padding: 24px 22px 20px !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%),
    rgba(20,20,22,0.55) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #fff !important;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: sp-card-in .6s cubic-bezier(0.22,1,0.36,1) forwards;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  box-shadow: none !important;
}
.spreads-section .sp-card[data-i="0"] { animation-delay: .05s; }
.spreads-section .sp-card[data-i="1"] { animation-delay: .12s; }
.spreads-section .sp-card[data-i="2"] { animation-delay: .19s; }
.spreads-section .sp-card[data-i="3"] { animation-delay: .26s; }
.spreads-section .sp-card[data-i="4"] { animation-delay: .33s; }
.spreads-section .sp-card[data-i="5"] { animation-delay: .40s; }
@keyframes sp-card-in {
  to { opacity: 1; transform: translateY(0); }
}
.spreads-section .sp-card::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.22) 50%, transparent 100%);
  opacity: 0.7;
}
.spreads-section .sp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.20) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,0.30) !important;
}
.spreads-section .sp-card header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px !important;
  gap: 10px;
}
.spreads-section .sp-tag {
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  font-weight: 700;
}
.spreads-section .sp-card header svg {
  width: 22px; height: 22px;
  color: var(--primary-500) !important;
  opacity: 0.85;
}
.spreads-section .sp-card h3 {
  color: #fff !important;
  font-size: 22px !important;
  font-family: 'SF Mono', 'JetBrains Mono', Menlo, monospace;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 16px;
  line-height: 1.1;
}
.spreads-section .sp-card h3 .sp-sub {
  display: block;
  font-family: var(--ff);
  font-size: 12px;
  color: rgba(255,255,255,0.50);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.spreads-section .sp-pips {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 8px;
}
.spreads-section .sp-pips .num {
  font-family: 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
  font-size: 56px !important;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 0 30px rgba(255,255,255,0.18);
}
.spreads-section .sp-pips .unit {
  font-size: 12px;
  color: rgba(255,255,255,0.50);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}
.spreads-section .sp-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.48);
  line-height: 1.45;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.spreads-section .sp-spark {
  width: 100%;
  height: 38px;
  display: block;
}
.spreads-section .sp-spark path {
  fill: none;
  stroke: var(--primary-500);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: sp-spark-draw 2.4s cubic-bezier(0.22,1,0.36,1) forwards;
}
.spreads-section .sp-card[data-i="0"] .sp-spark path { animation-delay: .8s; }
.spreads-section .sp-card[data-i="1"] .sp-spark path { animation-delay: .95s; }
.spreads-section .sp-card[data-i="2"] .sp-spark path { animation-delay: 1.1s; }
.spreads-section .sp-card[data-i="3"] .sp-spark path { animation-delay: 1.25s; }
.spreads-section .sp-card[data-i="4"] .sp-spark path { animation-delay: 1.4s; }
.spreads-section .sp-card[data-i="5"] .sp-spark path { animation-delay: 1.55s; }
@keyframes sp-spark-draw {
  to { stroke-dashoffset: 0; }
}

.spreads-section .sp-card.sp-featured {
  border-color: rgba(179,154,126,0.42) !important;
  background:
    linear-gradient(180deg, rgba(179,154,126,0.10) 0%, rgba(179,154,126,0.02) 100%),
    rgba(20,18,14,0.65) !important;
  box-shadow: 0 0 0 1px rgba(179,154,126,0.18) !important;
}
.spreads-section .sp-card.sp-featured::before {
  background: linear-gradient(90deg, transparent 0%, rgba(179,154,126,0.45) 50%, transparent 100%);
}
.spreads-section .sp-card.sp-featured header svg { color: var(--gold) !important; opacity: 1; }
.spreads-section .sp-card.sp-featured .sp-tag {
  border-color: rgba(179,154,126,0.35);
  color: var(--gold-100);
  background: rgba(179,154,126,0.08);
}
.spreads-section .sp-card.sp-featured .sp-pips .num {
  color: var(--gold) !important;
  background: none !important;
  -webkit-text-fill-color: var(--gold) !important;
  text-shadow: 0 0 30px rgba(179,154,126,0.35);
}
.spreads-section .sp-card.sp-featured .sp-spark path {
  stroke: var(--gold) !important;
}
.spreads-section .sp-card.sp-featured:hover {
  box-shadow: 0 18px 40px rgba(179,154,126,0.20), 0 0 0 1px rgba(179,154,126,0.40) !important;
}

.spreads-section .sp-foot {
  position: relative; z-index: 2;
  color: rgba(255,255,255,0.45);
  margin-top: 32px;
  font-size: 12.5px;
  line-height: 1.6;
  max-width: none;
}
.spreads-section .sp-foot a {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .spreads-section .sp-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .spreads-section .sp-spark path {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }
  .spreads-section .sp-glow,
  .spreads-section .eyebrow::before { animation: none !important; }
}

/* ============================================================================
   3D TRADING SCENE — hero stage 2 + animated CSS halo
   ============================================================================ */
.trading-scene-wrap {
  position: relative;
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
}
.trading-scene-wrap .ts-img {
  width: 92%;
  max-width: 480px;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 28px 50px rgba(109,166,242,0.35)) drop-shadow(0 4px 12px rgba(0,0,0,0.15));
  animation: ts-float 5.5s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes ts-float {
  from { transform: translateY(-6px) rotate(-1deg); }
  to   { transform: translateY(8px) rotate(1.5deg); }
}
.trading-scene-wrap .ts-halo {
  position: absolute;
  inset: 8% 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(31,95,168,0.34) 0%, rgba(109,166,242,0.10) 60%, transparent 80%);
  filter: blur(28px);
  z-index: 1;
  animation: ts-halo-pulse 4.5s ease-in-out infinite alternate;
}
@keyframes ts-halo-pulse {
  from { opacity: 0.55; transform: scale(0.92); }
  to   { opacity: 0.95; transform: scale(1.05); }
}
.trading-scene-wrap .ts-orbit {
  position: absolute;
  border: 1.5px dashed rgba(109,166,242,0.22);
  border-radius: 50%;
  z-index: 1;
}
.trading-scene-wrap .ts-orbit-1 {
  inset: 4%;
  animation: ts-orbit-spin 28s linear infinite;
}
.trading-scene-wrap .ts-orbit-2 {
  inset: -2%;
  border-color: rgba(94,177,254,0.16);
  animation: ts-orbit-spin 42s linear infinite reverse;
}
@keyframes ts-orbit-spin {
  to { transform: rotate(360deg); }
}
.trading-scene-wrap .ts-spark {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 16px var(--primary), 0 0 4px #fff;
  z-index: 3;
  opacity: 0;
}
.trading-scene-wrap .ts-spark-1 {
  top: 18%; left: 12%;
  animation: ts-spark-pop 3.2s ease-in-out infinite;
  animation-delay: 0.4s;
}
.trading-scene-wrap .ts-spark-2 {
  top: 72%; right: 8%;
  background: #5BE1A6;
  box-shadow: 0 0 16px #5BE1A6, 0 0 4px #fff;
  animation: ts-spark-pop 3.2s ease-in-out infinite;
  animation-delay: 1.5s;
}
.trading-scene-wrap .ts-spark-3 {
  bottom: 14%; left: 28%;
  background: var(--gold);
  box-shadow: 0 0 16px var(--gold), 0 0 4px #fff;
  animation: ts-spark-pop 3.2s ease-in-out infinite;
  animation-delay: 2.4s;
}
@keyframes ts-spark-pop {
  0%, 100% { opacity: 0; transform: scale(0.4); }
  40%, 60% { opacity: 1; transform: scale(1.4); }
}
@media (prefers-reduced-motion: reduce) {
  .trading-scene-wrap .ts-img,
  .trading-scene-wrap .ts-halo,
  .trading-scene-wrap .ts-orbit,
  .trading-scene-wrap .ts-spark { animation: none !important; }
  .trading-scene-wrap .ts-img { transform: none !important; }
}

/* ============================================================================
   FOREX HERO — cinematic gold currency exchange + multi-screen perfect
   ============================================================================ */
.forex-hero {
  position: relative;
  padding: clamp(32px, 4vw, 56px) 0 clamp(32px, 4vw, 56px);
  overflow: hidden;
  background:
    radial-gradient(1000px 700px at 0% 0%, rgba(109,166,242,0.16), transparent 60%),
    radial-gradient(900px 600px at 100% 100%, rgba(179,154,126,0.20), transparent 65%),
    radial-gradient(700px 500px at 100% 0%, rgba(179,154,126,0.08), transparent 70%),
    linear-gradient(180deg, #00131A 0%, #00141B 50%, #001824 100%);
  color: #fff;
  isolation: isolate;
}

/* Cinematic light beams streaking across the hero */
.fx-beams {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.fx-beam {
  position: absolute;
  width: 200%; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(179,154,126,0.35) 50%, transparent 100%);
  transform-origin: center;
}
.fx-beam-1 { top: 18%; left: -50%; transform: rotate(-12deg); animation: fx-beam-sweep 7s ease-in-out infinite; }
.fx-beam-2 { top: 56%; left: -50%; transform: rotate(8deg); animation: fx-beam-sweep 9s ease-in-out infinite 2s; background: linear-gradient(90deg, transparent, rgba(31,95,168,0.32), transparent); }
.fx-beam-3 { top: 82%; left: -50%; transform: rotate(-6deg); animation: fx-beam-sweep 11s ease-in-out infinite 4s; background: linear-gradient(90deg, transparent, rgba(179,154,126,0.28), transparent); }
@keyframes fx-beam-sweep {
  0%, 100% { opacity: 0; transform: translateX(-30%) rotate(var(--rot, -12deg)); }
  50% { opacity: 1; transform: translateX(20%) rotate(var(--rot, -12deg)); }
}
.fx-beam-1 { --rot: -12deg; }
.fx-beam-2 { --rot: 8deg; }
.fx-beam-3 { --rot: -6deg; }
.forex-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 75%);
  z-index: 0;
}
.forex-hero .container {
  position: relative; z-index: 3;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.forex-hero .fx-copy { min-width: 0; }

/* Live MARKETS OPEN status pill */
.forex-hero .fx-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  background: rgba(91,225,166,0.10);
  border: 1px solid rgba(91,225,166,0.30);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
}
.forex-hero .fx-status-txt { overflow: hidden; text-overflow: ellipsis; }
.forex-hero .fx-status-detail { display: inline; }
@media (max-width: 720px) {
  .forex-hero .fx-status-detail { display: none; }
  .forex-hero .fx-status-txt::after {
    content: " · LIQUIDITY HIGH";
    color: var(--gold-100);
    font-weight: 700;
    margin-left: 4px;
  }
}
.forex-hero .fx-status b { color: #5BE1A6; font-weight: 800; letter-spacing: 0.10em; font-size: 11.5px; }
.forex-hero .fx-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #5BE1A6;
  box-shadow: 0 0 0 0 rgba(91,225,166,0.6);
  animation: fx-status-pulse 1.6s ease-in-out infinite;
}
@keyframes fx-status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91,225,166,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(91,225,166,0); }
}

/* Currency flag pills */
.forex-hero .fx-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 4px;
}
.forex-hero .fx-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  font-family: 'SF Mono', Menlo, monospace;
  letter-spacing: 0.04em;
  transition: background .2s, border-color .2s, transform .15s;
}
.forex-hero .fx-pill:hover {
  background: rgba(179,154,126,0.10);
  border-color: rgba(179,154,126,0.30);
  transform: translateY(-1px);
}
.forex-hero .fx-pill-more {
  background: linear-gradient(135deg, rgba(179,154,126,0.18), rgba(179,154,126,0.08));
  border-color: rgba(179,154,126,0.40);
  color: var(--gold-100);
}

.forex-hero .fx-risk-note {
  margin: 18px 0 0;
  font-size: 11.5px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  max-width: 52ch;
}
.forex-hero .breadcrumbs { color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.forex-hero .breadcrumbs a { color: rgba(255,255,255,0.55); }
.forex-hero .breadcrumbs a:hover { color: #fff; }
.forex-hero .sca-badge {
  background: rgba(179,154,126,0.10);
  border: 1px solid rgba(179,154,126,0.30);
  color: var(--gold);
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.forex-hero .sca-badge .sca-seal {
  background: var(--gold) !important;
  color: var(--ink) !important;
  padding: 0 !important;
  width: 28px; height: 28px;
  border-radius: 50% !important;
  font-size: 9.5px;
  letter-spacing: 0.02em;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}
.forex-hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
}
.forex-hero h1 .accent {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold) 60%, var(--gold-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.forex-hero .lead {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 20px;
  max-width: 54ch;
}
.forex-hero .stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.forex-hero .stats > div {
  position: relative;
  padding-left: 0;
}
.forex-hero .stat-num {
  display: block;
  font-family: 'SF Mono', 'JetBrains Mono', Menlo, monospace;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(160deg, #fff 0%, #B39A7E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.forex-hero .stat-lbl {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 6px;
}
.forex-hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.forex-hero .btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  color: var(--ink);
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(179,154,126,0.32);
  font-weight: 800;
}
.forex-hero .btn-primary:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-700));
  color: var(--ink);
  transform: translateY(-2px);
}
.forex-hero .btn-ghost-on-dark {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}

/* Gold FX scene — currency cube animation */
.fx-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 540px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}
.fx-scene .fx-img {
  width: 90%;
  max-width: 480px;
  height: auto;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 30px 50px rgba(179,154,126,0.40)) drop-shadow(0 8px 16px rgba(0,0,0,0.30));
  animation: fx-coin-spin 7s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  will-change: transform;
}
@keyframes fx-coin-spin {
  0%, 100% { transform: translateY(-8px) rotate(-3deg); }
  50%      { transform: translateY(10px) rotate(4deg); }
}
.fx-scene .fx-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(179,154,126,0.45) 0%, rgba(179,154,126,0.18) 50%, transparent 75%);
  filter: blur(40px);
  z-index: 1;
  animation: fx-glow-pulse 4s ease-in-out infinite alternate;
}
@keyframes fx-glow-pulse {
  from { opacity: 0.6; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1.08); }
}
.fx-scene .fx-ring {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 1.5px solid rgba(179,154,126,0.22);
  z-index: 2;
  animation: fx-ring-rotate 24s linear infinite;
}
.fx-scene .fx-ring-2 {
  inset: -4%;
  border-style: dashed;
  border-color: rgba(255,255,255,0.10);
  animation: fx-ring-rotate 36s linear infinite reverse;
}
@keyframes fx-ring-rotate {
  to { transform: rotate(360deg); }
}
/* Background grid for fx-scene */
.fx-scene .fx-grid-bg {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background-image:
    linear-gradient(rgba(179,154,126,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(179,154,126,0.10) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  z-index: 1;
}

/* Sparkline overlay at bottom of fx-scene */
.fx-scene .fx-spark-overlay {
  position: absolute;
  bottom: 12%;
  left: 8%;
  right: 8%;
  width: 84%;
  height: 50px;
  z-index: 2;
  pointer-events: none;
}
.fx-scene .fx-spark-line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: fx-spark-draw 3s cubic-bezier(0.22,1,0.36,1) forwards;
  animation-delay: 0.6s;
  filter: drop-shadow(0 0 4px rgba(179,154,126,0.5));
}
@keyframes fx-spark-draw {
  to { stroke-dashoffset: 0; }
}

/* Live FX ticker cards — flex column layout, no grid-area overlap */
.fx-scene .fx-ticker {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 130px;
  font-family: 'SF Mono', 'JetBrains Mono', Menlo, monospace;
  background: rgba(0,37,49,0.82);
  border: 1px solid rgba(179,154,126,0.30);
  padding: 9px 12px;
  border-radius: 10px;
  z-index: 5;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.40), 0 0 0 1px rgba(179,154,126,0.10);
  opacity: 1;
  transform: translateY(0);
  animation: fx-ticker-in .6s cubic-bezier(0.22,1,0.36,1) backwards;
}
@keyframes fx-ticker-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.fx-scene .fx-ticker-1 { animation-delay: .9s; }
.fx-scene .fx-ticker-2 { animation-delay: 1.2s; }
.fx-scene .fx-ticker-3 { animation-delay: 1.5s; }
.fx-scene .fx-pair {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  font-weight: 700;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 4px;
  margin: 0;
  white-space: nowrap;
}
.fx-scene .fx-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  width: 100%;
}
.fx-scene .fx-price {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.fx-scene .fx-change {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.fx-scene .fx-up { color: #5BE1A6; }
.fx-scene .fx-down { color: #FF6B6B; }
/* Tickers positioned inside scene bounds — no clipping */
.fx-scene .fx-ticker-1 { top: 0; right: 0; animation-name: fx-ticker-in, fx-tick-float; animation-duration: .6s, 6s; animation-delay: .9s, .9s; animation-iteration-count: 1, infinite; animation-timing-function: cubic-bezier(0.22,1,0.36,1), ease-in-out; animation-fill-mode: forwards, none; }
.fx-scene .fx-ticker-2 { top: 42%; left: 0; animation-name: fx-ticker-in, fx-tick-float; animation-duration: .6s, 6s; animation-delay: 1.2s, 2.4s; animation-iteration-count: 1, infinite; animation-timing-function: cubic-bezier(0.22,1,0.36,1), ease-in-out; animation-fill-mode: forwards, none; }
.fx-scene .fx-ticker-3 { bottom: 4%; right: 4%; animation-name: fx-ticker-in, fx-tick-float; animation-duration: .6s, 6s; animation-delay: 1.5s, 3.9s; animation-iteration-count: 1, infinite; animation-timing-function: cubic-bezier(0.22,1,0.36,1), ease-in-out; animation-fill-mode: forwards, none; }
@keyframes fx-tick-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Legacy .fx-pulse rule (kept for backward compat if used elsewhere) */
.fx-scene .fx-pulse {
  position: absolute;
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  background: rgba(20,18,14,0.65);
  border: 1px solid rgba(179,154,126,0.32);
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  z-index: 4;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.fx-scene .fx-pulse::before {
  content: "•";
  color: #5BE1A6;
  margin-right: 6px;
  animation: fx-dot 1.4s ease-in-out infinite;
}
@keyframes fx-dot {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.fx-scene .fx-p1 { top: 8%; right: 4%; animation: fx-tag-float 6s ease-in-out infinite; }
.fx-scene .fx-p2 { bottom: 14%; left: 0%; animation: fx-tag-float 6s ease-in-out infinite 1.5s; }
.fx-scene .fx-p3 { top: 46%; right: -2%; animation: fx-tag-float 6s ease-in-out infinite 3s; }
@keyframes fx-tag-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 1024px) {
  .forex-hero .stats { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .forex-hero .stat-num { font-size: 22px; }
}
@media (max-width: 860px) {
  .forex-hero { padding: 56px 0 64px; }
  .forex-hero .container {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  .forex-hero h1 { font-size: clamp(30px, 7vw, 44px) !important; }
  .forex-hero .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .forex-hero .stat-num { font-size: 22px; }
  .fx-scene { max-width: 380px; }
  .fx-scene .fx-ticker {
    padding: 7px 10px;
    border-radius: 8px;
  }
  .fx-scene .fx-price { font-size: 14px; }
  .fx-scene .fx-change { font-size: 10px; }
  .fx-scene .fx-pair { font-size: 9px; }
  .forex-hero .fx-pills { gap: 5px; }
  .forex-hero .fx-pill { padding: 5px 9px; font-size: 11px; }
}
@media (max-width: 480px) {
  .forex-hero { padding: 44px 0 56px; }
  .forex-hero h1 { font-size: 28px !important; line-height: 1.1; }
  .forex-hero .lead { font-size: 14.5px; }
  .forex-hero .fx-status { font-size: 11px; padding: 6px 12px 6px 10px; }
  .forex-hero .fx-status b { font-size: 10.5px; }
  .forex-hero .sca-badge { font-size: 11px; padding: 5px 11px; }
  .forex-hero .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; padding-top: 18px; margin: 18px 0 22px; }
  .forex-hero .stat-num { font-size: 19px; }
  .forex-hero .stat-lbl { font-size: 9.5px; letter-spacing: 0.12em; }
  .forex-hero .cta-row { gap: 8px; }
  .forex-hero .cta-row .btn { width: 100%; }
  .forex-hero .fx-pills .fx-pill { font-size: 10.5px; padding: 4px 8px; }
  .forex-hero .fx-risk-note { font-size: 10.5px; }
  .fx-scene { max-width: 280px; margin-top: 24px; padding: 24px 0; }
  .fx-scene .fx-ticker { padding: 6px 9px; }
  .fx-scene .fx-ticker-1 { right: 0; top: 0; }
  .fx-scene .fx-ticker-2 { left: 0; top: 42%; }
  .fx-scene .fx-ticker-3 { right: 4%; bottom: 6%; }
  .fx-scene .fx-spark-overlay { height: 36px; }
}
@media (max-width: 360px) {
  .forex-hero h1 { font-size: 24px !important; }
  .fx-scene { max-width: 240px; }
  .fx-scene .fx-ticker { padding: 5px 8px; }
  .fx-scene .fx-price { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-scene .fx-img,
  .fx-scene .fx-glow,
  .fx-scene .fx-ring,
  .fx-scene .fx-pulse::before,
  .fx-scene .fx-ticker,
  .fx-scene .fx-spark-line,
  .fx-beam,
  .forex-hero .fx-status-dot { animation: none !important; }
  .fx-scene .fx-img,
  .fx-scene .fx-ticker { transform: none !important; opacity: 1 !important; }
  .fx-scene .fx-spark-line { stroke-dashoffset: 0 !important; }
}

/* ============================================================================
   FOREX "WHY ANAX" — animated reasons section
   ============================================================================ */
.forex-why {
  position: relative;
  padding: clamp(72px, 8vw, 110px) 0;
  background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 100%);
  overflow: hidden;
}
.forex-why-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.forex-why-bg .fwy-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
}
.forex-why-bg .fwy-orb-1 {
  width: 360px; height: 360px;
  top: -80px; left: -100px;
  background: var(--primary);
  animation: fwy-orb-drift 18s ease-in-out infinite alternate;
}
.forex-why-bg .fwy-orb-2 {
  width: 420px; height: 420px;
  bottom: -120px; right: -120px;
  background: var(--gold);
  animation: fwy-orb-drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes fwy-orb-drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(40px, 60px) scale(1.2); }
}
.forex-why-bg .fwy-line {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(109,166,242,0.18) 20%, rgba(179,154,126,0.22) 80%, transparent 100%);
}

.forex-why-head {
  position: relative; z-index: 2;
  max-width: 760px;
  margin: 0 0 56px;
}
.forex-why-head h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 12px 0 14px;
}
.forex-why-head h2 .accent {
  background: linear-gradient(135deg, var(--gold-700) 0%, var(--gold) 60%, var(--gold-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.forex-why-head p {
  font-size: var(--t-4);
  color: var(--body);
  line-height: 1.55;
  max-width: 56ch;
  margin: 0;
}

.fwy-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.fwy-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 22px;
  padding: 36px 28px 32px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,37,49,0.04);
  transition: transform .4s cubic-bezier(0.22,1,0.36,1), border-color .3s, box-shadow .3s;
}
.fwy-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-500) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .6s cubic-bezier(0.22,1,0.36,1);
}
.fwy-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-100);
  box-shadow: 0 28px 60px rgba(109,166,242,0.18), 0 6px 16px rgba(0,37,49,0.06);
}
.fwy-card:hover::before { transform: scaleX(1); }

.fwy-num {
  position: absolute;
  top: 22px; right: 26px;
  font-family: 'SF Mono', 'JetBrains Mono', Menlo, monospace;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--border);
  opacity: 0.8;
  transition: color .3s, -webkit-text-stroke-color .3s, opacity .3s;
}
.fwy-card:hover .fwy-num {
  -webkit-text-stroke-color: var(--primary-500);
  color: rgba(109,166,242,0.04);
  opacity: 1;
}

.fwy-icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 18px;
  background: linear-gradient(160deg, var(--primary-100), rgba(220,233,248,0.4));
  color: var(--primary);
  margin-bottom: 22px;
  transition: transform .35s cubic-bezier(0.34, 1.56, 0.64, 1), background .3s;
  position: relative;
  z-index: 1;
}
.fwy-icon svg { width: 32px; height: 32px; }
.fwy-card:hover .fwy-icon {
  background: linear-gradient(160deg, var(--primary), var(--primary-700));
  color: #fff;
  transform: scale(1.08) rotate(-3deg);
}
.fwy-icon .fwy-ring-a {
  animation: fwy-ring-rotate 20s linear infinite;
  transform-origin: center;
}
.fwy-icon .fwy-orbit-dot {
  animation: fwy-ring-rotate 12s linear infinite reverse;
  transform-origin: center;
}
@keyframes fwy-ring-rotate {
  to { transform: rotate(360deg); }
}

.fwy-card h3 {
  font-size: 22px;
  margin: 0 0 14px;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.fwy-stat {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--border);
}
.fwy-stat-num {
  font-family: 'SF Mono', 'JetBrains Mono', Menlo, monospace;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  background: linear-gradient(160deg, var(--ink) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-flex;
  align-items: baseline;
}
.fwy-stat-unit {
  font-size: 16px;
  font-weight: 600;
  margin-left: 4px;
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
}
.fwy-stat-cap {
  margin-top: 6px;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.fwy-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--body);
  margin: 0 0 18px;
}
.fwy-card p b { color: var(--ink); font-weight: 700; }

.fwy-bar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}
.fwy-bar-fill {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-500));
  width: 0;
  animation: fwy-bar-grow 1.6s cubic-bezier(0.22,1,0.36,1) forwards;
  animation-delay: 0.4s;
  box-shadow: 0 0 12px rgba(31,95,168,0.32);
}
@keyframes fwy-bar-grow {
  to { width: var(--w, 80%); }
}
.fwy-bar-lbl {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.fwy-bar-lbl b { color: var(--ink); font-weight: 800; }

.fwy-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.fwy-chips span {
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(109,166,242,0.08);
  color: var(--primary-700);
  border: 1px solid var(--primary-100);
  letter-spacing: 0.02em;
}
.fwy-chips span:last-child {
  background: linear-gradient(135deg, var(--gold-100), rgba(245,234,212,0.4));
  color: var(--gold-700);
  border-color: rgba(179,154,126,0.30);
}

/* Featured (middle) card — dark luxury accent */
.fwy-card.fwy-featured {
  background: linear-gradient(180deg, #00141B 0%, #00131A 100%);
  border-color: rgba(179,154,126,0.30);
  color: #fff;
  transform: translateY(-12px);
  box-shadow: 0 28px 70px rgba(179,154,126,0.18), 0 0 0 1px rgba(179,154,126,0.20);
}
.fwy-card.fwy-featured::before {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-500) 100%);
  transform: scaleX(1);
}
.fwy-card.fwy-featured:hover {
  transform: translateY(-20px);
  border-color: rgba(179,154,126,0.55);
  box-shadow: 0 36px 90px rgba(179,154,126,0.28), 0 0 0 1px rgba(179,154,126,0.45);
}
.fwy-card.fwy-featured .fwy-num {
  -webkit-text-stroke-color: rgba(179,154,126,0.40);
  color: transparent;
}
.fwy-card.fwy-featured:hover .fwy-num {
  -webkit-text-stroke-color: var(--gold);
  color: rgba(179,154,126,0.08);
}
.fwy-card.fwy-featured .fwy-icon {
  background: linear-gradient(160deg, rgba(179,154,126,0.18), rgba(179,154,126,0.05));
  color: var(--gold);
}
.fwy-card.fwy-featured:hover .fwy-icon {
  background: linear-gradient(160deg, var(--gold), var(--gold-700));
  color: var(--ink);
}
.fwy-card.fwy-featured h3 { color: #fff; }
.fwy-card.fwy-featured .fwy-stat { border-bottom-color: rgba(255,255,255,0.10); }
.fwy-card.fwy-featured .fwy-stat-num {
  background: linear-gradient(160deg, #fff 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.fwy-card.fwy-featured .fwy-stat-unit {
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
}
.fwy-card.fwy-featured .fwy-stat-cap { color: rgba(255,255,255,0.55); }
.fwy-card.fwy-featured p { color: rgba(255,255,255,0.78); }
.fwy-card.fwy-featured p b { color: var(--gold-100); }
.fwy-card.fwy-featured .fwy-chips span {
  background: rgba(179,154,126,0.12);
  color: var(--gold-100);
  border-color: rgba(179,154,126,0.30);
}
.fwy-card.fwy-featured .fwy-chips span:last-child {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.fwy-foot {
  position: relative; z-index: 2;
  margin-top: 40px;
  text-align: center;
}
.fwy-foot-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(109,166,242,0.06);
  border: 1px solid var(--primary-100);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--primary-700);
  font-weight: 600;
}

@media (max-width: 980px) {
  .fwy-grid { grid-template-columns: 1fr; gap: 16px; }
  .fwy-card.fwy-featured { transform: none; }
  .fwy-card.fwy-featured:hover { transform: translateY(-6px); }
}
@media (max-width: 720px) {
  .forex-why { padding: 56px 0; }
  .forex-why-head { margin-bottom: 28px; }
  .forex-why-head h2 { font-size: clamp(26px, 7vw, 36px) !important; }
  .fwy-card { padding: 26px 22px 22px; border-radius: 18px; }
  .fwy-num { font-size: 38px; top: 18px; right: 22px; }
  .fwy-icon { width: 54px; height: 54px; border-radius: 14px; margin-bottom: 16px; }
  .fwy-icon svg { width: 26px; height: 26px; }
  .fwy-card h3 { font-size: 20px; margin-bottom: 12px; }
  .fwy-stat-num { font-size: 32px; }
  .fwy-stat-unit { font-size: 14px; }
  .fwy-card p { font-size: 14px; }
  .fwy-foot-tag { font-size: 12px; padding: 9px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .fwy-orb,
  .fwy-icon .fwy-ring-a,
  .fwy-icon .fwy-orbit-dot,
  .fwy-bar-fill { animation: none !important; }
  .fwy-bar-fill { width: var(--w, 80%) !important; }
}

/* ============================================================================
   MARKET HERO VARIANTS — Indices · Metals · Energies (topic-specific scenes)
   ============================================================================ */

/* Shared SVG sizing for variants */
.market-hero .fx-scene svg.ix-svg,
.market-hero .fx-scene svg.mt-svg,
.market-hero .fx-scene svg.en-svg {
  width: 100%;
  height: auto;
  max-width: 460px;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 24px 40px rgba(31,95,168,0.32));
}

/* INDICES — animated bar chart growing + trend line drawing */
.hero-indices .ix-glow {
  background: radial-gradient(closest-side, rgba(109,166,242,0.40) 0%, rgba(109,166,242,0.15) 60%, transparent 80%);
}
.ix-bars .ix-bar {
  animation: ix-bar-grow 1.8s cubic-bezier(0.22,1,0.36,1) forwards;
}
.ix-bars .ix-bar:nth-child(1) { animation-delay: 0.5s; }
.ix-bars .ix-bar:nth-child(2) { animation-delay: 0.6s; }
.ix-bars .ix-bar:nth-child(3) { animation-delay: 0.7s; }
.ix-bars .ix-bar:nth-child(4) { animation-delay: 0.8s; }
.ix-bars .ix-bar:nth-child(5) { animation-delay: 0.9s; }
.ix-bars .ix-bar:nth-child(6) { animation-delay: 1.0s; }
.ix-bars .ix-bar:nth-child(7) { animation-delay: 1.1s; }
@keyframes ix-bar-grow {
  to { height: attr(data-h px); }
}
/* Fallback: use CSS height direct via custom approach */
.ix-bar[data-h="80"]  { animation-name: ix-grow-80; }
.ix-bar[data-h="130"] { animation-name: ix-grow-130; }
.ix-bar[data-h="100"] { animation-name: ix-grow-100; }
.ix-bar[data-h="180"] { animation-name: ix-grow-180; }
.ix-bar[data-h="155"] { animation-name: ix-grow-155; }
.ix-bar[data-h="220"] { animation-name: ix-grow-220; }
.ix-bar[data-h="240"] { animation-name: ix-grow-240; }
@keyframes ix-grow-80  { to { height: 80px;  y: 200; } }
@keyframes ix-grow-130 { to { height: 130px; y: 150; } }
@keyframes ix-grow-100 { to { height: 100px; y: 180; } }
@keyframes ix-grow-180 { to { height: 180px; y: 100; } }
@keyframes ix-grow-155 { to { height: 155px; y: 125; } }
@keyframes ix-grow-220 { to { height: 220px; y: 60; } }
@keyframes ix-grow-240 { to { height: 240px; y: 40; } }

.ix-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: ix-line-draw 2.4s cubic-bezier(0.22,1,0.36,1) forwards 1.4s;
  filter: drop-shadow(0 0 4px rgba(179,154,126,0.6));
}
@keyframes ix-line-draw {
  to { stroke-dashoffset: 0; }
}
.ix-dot {
  opacity: 0;
  animation: ix-dot-pop 0.4s ease-out forwards 3.4s, ix-dot-pulse 2s ease-in-out infinite 3.8s;
  transform-origin: 284px 50px;
  filter: drop-shadow(0 0 6px rgba(179,154,126,0.8));
}
@keyframes ix-dot-pop {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes ix-dot-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

/* METALS — gold coin floating + bar stack rise + sparkles */
.hero-metals .fx-glow,
.hero-metals .mt-glow {
  background: radial-gradient(closest-side, rgba(179,154,126,0.50) 0%, rgba(179,154,126,0.20) 50%, transparent 75%);
}
.mt-stack rect {
  opacity: 0;
  transform: translateY(60px);
  animation: mt-bar-rise 0.9s cubic-bezier(0.22,1,0.36,1) forwards;
}
.mt-stack rect:nth-child(1) { animation-delay: 0.4s; }
.mt-stack rect:nth-child(2) { animation-delay: 0.6s; }
.mt-stack rect:nth-child(3) { animation-delay: 0.8s; }
@keyframes mt-bar-rise {
  to { opacity: 1; transform: translateY(0); }
}
.mt-coin {
  transform-origin: 160px 120px;
  animation: mt-coin-float 5s ease-in-out infinite alternate;
  filter: drop-shadow(0 12px 24px rgba(179,154,126,0.45));
}
@keyframes mt-coin-float {
  from { transform: translateY(-8px) rotate(-4deg); }
  to   { transform: translateY(8px) rotate(4deg); }
}
.mt-spark circle {
  opacity: 0;
  animation: mt-sparkle 2.4s ease-in-out infinite;
}
.mt-spark-1 circle { animation-delay: 0s; }
.mt-spark-2 circle { animation-delay: 0.8s; }
.mt-spark-3 circle { animation-delay: 1.6s; }
@keyframes mt-sparkle {
  0%, 100% { opacity: 0; transform: scale(0.4); }
  50% { opacity: 1; transform: scale(1.6); }
}

/* ENERGIES — oil barrel + dancing flame + falling drops */
.hero-energies .fx-glow,
.hero-energies .en-glow {
  background: radial-gradient(closest-side, rgba(255,107,107,0.40) 0%, rgba(179,154,126,0.20) 55%, transparent 80%);
}
.en-barrel {
  animation: en-barrel-rock 6s ease-in-out infinite alternate;
  transform-origin: 160px 240px;
  filter: drop-shadow(0 18px 30px rgba(109,166,242,0.25));
}
@keyframes en-barrel-rock {
  from { transform: rotate(-2deg); }
  to   { transform: rotate(2deg); }
}
.en-flame-grp {
  transform-origin: 160px 110px;
  animation: en-flame-dance 1.6s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 20px rgba(255,107,107,0.65));
}
@keyframes en-flame-dance {
  0%   { transform: scaleY(0.9) scaleX(1.05) translateY(0); }
  50%  { transform: scaleY(1.15) scaleX(0.92) translateY(-4px); }
  100% { transform: scaleY(0.95) scaleX(1.08) translateY(0); }
}
.en-drop circle {
  opacity: 0;
  animation: en-drop-fall 2.4s linear infinite;
}
.en-drop-1 circle { animation-delay: 0s; }
.en-drop-2 circle { animation-delay: 0.8s; }
.en-drop-3 circle { animation-delay: 1.6s; }
@keyframes en-drop-fall {
  0%   { opacity: 0; transform: translateY(-20px); }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(40px); }
}

/* Heading accent gradient for indices/energies — keep gold from forex but allow variant */
.hero-indices h1 .accent,
.hero-metals h1 .accent,
.hero-energies h1 .accent {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold) 60%, var(--gold-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Reduce-motion: kill all market hero anims */
@media (prefers-reduced-motion: reduce) {
  .ix-bars .ix-bar,
  .ix-line,
  .ix-dot,
  .mt-stack rect,
  .mt-coin,
  .mt-spark circle,
  .en-barrel,
  .en-flame-grp,
  .en-drop circle { animation: none !important; opacity: 1 !important; transform: none !important; }
  .ix-line { stroke-dashoffset: 0 !important; }
  .ix-bars .ix-bar { height: auto; }
}



