/* ============================================================================
   ANAX Capital — Section Variants (Brand Kit v3)
   Variety surfaces beyond white + blue. Apply to <section> or wrapper.
   Each variant: surface + ink + eyebrow + heading + border + link recolour.
   ============================================================================ */

/* ============================================================================
   DESKTOP/LAPTOP TOPBAR · TIGHT FULL-WIDTH layout (v7)
   Logo sits near the viewport's LEFT edge with minimal padding (~12-18px).
   Container max-width killed. CTA cluster glues to right edge.
   ============================================================================ */
@media (min-width: 1101px) {
  /* Topbar bar itself edge-to-edge */
  html body header.topbar {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* Inner container — no max-width, minimal side padding */
  html body header.topbar > .container,
  html body header.topbar .container,
  html body header.topbar .topbar-inner,
  html body header.topbar .container.topbar-inner {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: clamp(12px, 1.2vw, 22px) !important;
    padding-right: clamp(12px, 1.2vw, 22px) !important;
    box-sizing: border-box !important;
  }
  html body header.topbar .topbar-inner {
    gap: 0 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important;
  }
  html body header.topbar .brand {
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  /* Nav CENTERED between logo and CTA — auto margins on both sides */
  html body header.topbar .nav {
    flex: 0 0 auto !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    gap: 2px !important;
    min-width: 0 !important;
  }
  /* CTA cluster — natural position on right (nav's auto-margins push it) */
  html body header.topbar .nav-cta {
    flex: 0 0 auto !important;
    margin-left: 0 !important;
    gap: 10px !important;
  }
}

/* Big monitors (≥1700px) — slightly more breathing room on edges */
@media (min-width: 1700px) {
  html body header.topbar > .container,
  html body header.topbar .container,
  html body header.topbar .topbar-inner {
    padding-left: clamp(20px, 1.6vw, 36px) !important;
    padding-right: clamp(20px, 1.6vw, 36px) !important;
  }
  html body header.topbar .nav { margin: 0 auto !important; }
  html body header.topbar .nav > li > a,
  html body header.topbar .nav > li > button {
    padding: 9px 12px !important;
    font-size: 14px !important;
  }
}

/* Mid laptops (13"-15") — perfect for the 1366-1500 logical range */
@media (min-width: 1101px) and (max-width: 1500px) {
  html body header.topbar .nav { margin: 0 auto !important; }
  html body header.topbar .nav > li > a,
  html body header.topbar .nav > li > button {
    padding: 8px 9px !important;
    font-size: 13px !important;
  }
  html body header.topbar .nav-cta { gap: 8px !important; }
}

/* Tight 13" / 1280–1366 laptops */
@media (min-width: 1101px) and (max-width: 1366px) {
  html body header.topbar .nav { margin: 0 auto !important; }
  html body header.topbar .nav > li > a,
  html body header.topbar .nav > li > button {
    padding: 7px 7px !important;
    font-size: 12.5px !important;
  }
  html body header.topbar .nav-cta .btn {
    padding: 8px 14px !important;
    font-size: 13px !important;
  }
}

/* ============================================================================
   MOBILE TOPBAR · fully opaque (NO content bleed-through behind translucent
   topbar). Kills the gold-page overlap where the H1 was visible through the
   topbar's backdrop-filter blur on mobile.
   ============================================================================ */
@media (max-width: 980px) {
  html body header.topbar {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 4px 14px rgba(0, 37, 49, 0.06);
  }
  html body header.topbar.scrolled {
    background: #ffffff !important;
    box-shadow: 0 6px 18px rgba(0, 37, 49, 0.08);
  }
}

/* ============================================================================
   ALL-INSTRUMENTS PAGE · table horizontal scroll + tabs horizontal scroll
   ============================================================================ */
@media (max-width: 860px) {
  section:has(> .container > #all-list),
  section:has(> .container > .table-wrap) {
    overflow: visible !important;
  }
  .container .tabs {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 18px 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    padding: 6px !important;
    background: var(--bg-tint) !important;
    border-radius: 999px !important;
    scrollbar-width: none !important;
  }
  .container .tabs::-webkit-scrollbar { display: none !important; }
  .container .tabs button {
    flex: 0 0 auto !important;
    scroll-snap-align: start !important;
    white-space: nowrap !important;
    padding: 9px 14px !important;
    font-size: 13.5px !important;
  }
  #all-list.table-wrap,
  .table-wrap {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 12px !important;
    background: #fff !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  #all-list.table-wrap table,
  .table-wrap > table {
    min-width: 620px !important;
    width: max-content !important;
  }
  #all-list.table-wrap {
    background-image: linear-gradient(to right, rgba(0,0,0,0) 90%, rgba(0,37,49,0.06) 100%);
  }
}

/* ============================================================================
   MARKETS (indices, metals etc) · ticker cards stack + animation full visibility
   ============================================================================ */
@media (max-width: 860px) {
  .forex-hero { overflow: hidden !important; }
  .forex-hero .container { overflow: visible !important; }
  .forex-hero .fx-scene {
    margin-top: 24px !important;
    overflow: visible !important;
  }
  .fx-scene.fx-scene-v2 { gap: 18px !important; }
  .fx-scene.fx-scene-v2 .en-svg-v2,
  .fx-scene.fx-scene-v2 > svg {
    width: 100% !important;
    max-width: 380px !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    margin: 0 auto !important;
    display: block !important;
  }
  .fx-scene:not(.fx-scene-v2) {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    overflow: visible !important;
    padding: 0 4px !important;
    min-height: 380px !important;
  }
  .fx-scene:not(.fx-scene-v2) svg {
    position: relative !important;
    width: 100% !important;
    max-width: 360px !important;
    min-width: 280px !important;
    height: auto !important;
    margin: 0 auto !important;
    aspect-ratio: 1 / 1;
    overflow: visible !important;
  }
  .fx-scene:not(.fx-scene-v2) .fx-glow,
  .fx-scene:not(.fx-scene-v2) .fx-ring,
  .fx-scene:not(.fx-scene-v2) .fx-ring-2 {
    pointer-events: none !important;
    z-index: 0 !important;
  }
  .fx-scene:not(.fx-scene-v2) .fx-ticker {
    position: relative !important;
    top: auto !important; right: auto !important;
    bottom: auto !important; left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    background: rgba(255,255,255,0.96) !important;
    border: 1px solid rgba(31,95,168,0.16) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(0,37,49,0.06) !important;
    box-sizing: border-box !important;
  }
  .fx-scene:not(.fx-scene-v2) .fx-ticker .fx-pair {
    color: #002531 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    flex-shrink: 0;
  }
  .fx-scene:not(.fx-scene-v2) .fx-ticker .fx-price-row {
    display: inline-flex !important;
    gap: 10px !important;
    align-items: center !important;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .fx-scene:not(.fx-scene-v2) .fx-ticker .fx-price {
    color: #002531 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
  }
  .fx-scene:not(.fx-scene-v2) .fx-ticker .fx-up { color: #1F8A4C !important; font-size: 12px !important; }
  .fx-scene:not(.fx-scene-v2) .fx-ticker .fx-down { color: #C0392B !important; font-size: 12px !important; }
}

/* ============================================================================
   PLATFORMS · phone mockup max-width on mobile (prevents overflow)
   ============================================================================ */
@media (max-width: 768px) {
  .px-hero img, .px-hero .px-phone, .px-phone, .px-mockup,
  [class*="phone-mockup"], [class*="device-mockup"] {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
}

/* ============================================================================
   GLOBAL MOBILE · hero overflow guard (NEVER crop the animation — only
   prevent absolutely-positioned decoration from escaping the section).
   Animations shrink proportionally; nothing gets cut off.
   ============================================================================ */
@media (max-width: 980px) {
  /* Hero shells contain decoration; content (children in normal flow) renders
     in full. No max-height clamps anywhere. */
  .hero, .mhero, .forex-hero, .gc-hero, .about-hero,
  .px-hero, .ac-hero {
    position: relative !important;
    overflow: hidden !important;   /* clips bg orbs/beams only */
    isolation: isolate !important;
  }

  /* Animation/art CONTAINERS — width-only constraint. Height grows
     naturally with the SVG so the globe is never cropped.
     NOTE: `.gc-bars-stack` and `.gc-hero-stage` are EXCLUDED here because
     their children (gold bars) are absolutely positioned and need an
     explicit container height — handled in the @media (max-width:640px)
     block below with `height: 340px`. */
  .fx-scene, .fx-scene-v2,
  .mh-art,
  .hero-art,
  .hero-form,
  .about-hero-art {
    position: relative !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;  /* let SVG breathe — no crop */
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  /* Scene/art SVGs and images ONLY — full responsive scaling, aspect-ratio
     preserved, NO crop. Excludes inline icons (i-tag, i-check, i-arrow-right,
     etc.) which have explicit width/height attributes and must keep them. */
  .fx-scene > svg,
  .fx-scene > .fx-globe,
  .fx-globe,
  .mh-art > svg,
  .gc-hero-stage > svg,
  .hero-stage > svg,
  .hero-art > svg.scene-svg,
  .hero-art > img,
  .gc-bars-stack > img,
  .gc-hero-stage > img,
  .mh-art > img,
  .fx-scene > img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    display: block;
    overflow: visible !important;
  }
  /* Inline icons inside hero copy keep their declared width/height */
  .hero svg[width], .mhero svg[width], .forex-hero svg[width],
  .gc-hero svg[width], .about-hero svg[width],
  .px-hero svg[width], .ac-hero svg[width] {
    width: auto !important;
    height: auto !important;
    max-width: none !important;
  }

  /* The forex globe specifically — square, never cropped */
  .fx-globe {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 1 / 1;
    overflow: visible !important;
  }
}

/* Phones — keep the globe a sensible size but ALWAYS proportional */
@media (max-width: 640px) {
  .fx-scene, .fx-scene-v2 {
    max-width: 100% !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  .fx-globe {
    max-width: min(100%, 360px) !important;
    width: min(100%, 360px) !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
  }
  /* Gold bars stack — ABSOLUTE children need an EXPLICIT height container
     (else they escape upward into trust items). Container is the SAME size
     as desktop (420px tall) so bars + their rotation animation + drop-shadow
     render fully without cropping. overflow:visible lets the animation
     breathe; bars stay anchored within the stage box (no upward bleed). */
  .gc-hero-stage {
    position: relative !important;
    height: 420px !important;
    min-height: 420px !important;
    overflow: visible !important;
    isolation: isolate !important;
    margin-top: 16px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .gc-bars-stack {
    position: relative !important;
    max-width: min(100%, 420px) !important;
    width: 100% !important;
    height: 420px !important;
    min-height: 420px !important;
    margin: 0 auto !important;
    overflow: visible !important;
  }
  .mh-art {
    height: auto !important;
    max-height: none !important;
    min-height: 220px;
    overflow: visible !important;
  }

  /* Live price ticker stacks (Forex + Energies) — proper internal sizing so
     the right-side values column (price + change %) never gets clipped. */
  .fx-scene .fx-ticker-stack,
  .fx-scene .en-ticker-stack,
  .fx-ticker-stack,
  .en-ticker-stack {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 4px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
  .fx-tick-card,
  .en-tick-card,
  .fx-scene .fx-tick-card,
  .fx-scene .en-tick-card {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    padding: 10px 12px !important;
    gap: 10px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  /* Middle column body — allow shrink */
  .fx-tick-body, .en-tick-body { min-width: 0 !important; }
  /* Right column values — keep on one line, never wrap or clip */
  .fx-tick-vals, .en-tick-vals {
    flex-shrink: 0 !important;
    min-width: 0 !important;
    white-space: nowrap !important;
  }
  .fx-tick-price, .en-tick-price {
    font-size: 14px !important;
    white-space: nowrap !important;
  }
  .fx-tick-chg, .en-tick-chg {
    font-size: 11px !important;
    white-space: nowrap !important;
  }
  /* Ellipsis on long meta text so middle column shrinks cleanly */
  .fx-tick-pair, .en-tick-pair { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fx-tick-meta, .en-tick-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* Very small phones — globe a bit smaller, still complete */
@media (max-width: 380px) {
  .fx-globe {
    max-width: min(100%, 300px) !important;
    width: min(100%, 300px) !important;
  }
  .gc-bars-stack { max-width: min(100%, 300px) !important; }
}

/* ============================================================================
   GLOBAL · Hide top risk-warning bar (Anax preference — hidden site-wide)
   Removes the "CFDs are leveraged products..." strip that sat above the topbar.
   Loaded early so any later .risk-bar rules can't override.
   ============================================================================ */
.risk-bar,
#risk-bar,
div.risk-bar,
[role="region"][aria-label="Risk warning"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

/* ---------- 1 · LIGHT (Structural White, default — explicit for clarity) ---------- */
.section-light {
  background: #FFFFFF;
  color: var(--body);
}

/* ---------- 2 · TINT (Hero Light tail) ---------- */
.section-tint {
  background: #F5F9FE;
  color: var(--body);
}

/* ---------- 3 · AERIAL (light cool surface — premium soft cool) ---------- */
.section-aerial {
  background:
    radial-gradient(1100px 700px at 0% 0%, rgba(182,220,254,0.40), transparent 70%),
    radial-gradient(900px 600px at 100% 100%, rgba(109,166,242,0.10), transparent 70%),
    linear-gradient(180deg, #F8FBFE 0%, #F0F6FD 50%, #F8FBFE 100%);
  color: #0E2A47;
}
.section-aerial .eyebrow { color: #1F5FA8; }
.section-aerial h1, .section-aerial h2,
.section-aerial h3, .section-aerial h4 { color: #002531; }
.section-aerial a { color: #143F73; }

/* ---------- 4 · SAND (warm premium surface — soft golden) ---------- */
.section-sand {
  background:
    radial-gradient(1100px 700px at 100% 0%, rgba(196,155,87,0.16), transparent 70%),
    radial-gradient(900px 600px at 0% 100%, rgba(179,154,126,0.10), transparent 70%),
    linear-gradient(180deg, #FFF9EE 0%, #FBF3E5 50%, #FFF9EE 100%);
  color: #2D1A0C;
}
.section-sand .eyebrow { color: #7F614B; }
.section-sand h1, .section-sand h2,
.section-sand h3, .section-sand h4 { color: #2D1A0C; }
.section-sand .muted { color: #6B5444; }
.section-sand a { color: #7F614B; }

/* ---------- 5 · SAND-DEEP (premium gradient band) ---------- */
.section-sand-deep {
  background: linear-gradient(155deg, #7F614B 0%, #B39A7E 55%, #FAF0E6 100%);
  color: #FFFFFF;
}
.section-sand-deep .eyebrow,
.section-sand-deep h1, .section-sand-deep h2,
.section-sand-deep h3, .section-sand-deep h4 { color: #FFFFFF; }
.section-sand-deep .muted { color: rgba(255,255,255,0.82); }
.section-sand-deep a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 6 · DEEP (Ground Vector foundation — cinematic dark) ---------- */
.section-deep {
  background:
    radial-gradient(1200px 800px at 0% 0%, rgba(109,166,242,0.14), transparent 70%),
    radial-gradient(900px 600px at 100% 100%, rgba(179,154,126,0.08), transparent 70%),
    linear-gradient(180deg, #002F40 0%, #002531 40%, #001A22 100%);
  color: rgba(255,255,255,0.88);
}
.section-deep .eyebrow { color: #6DA6F2; }
.section-deep h1, .section-deep h2,
.section-deep h3, .section-deep h4 { color: #FFFFFF; }
.section-deep .muted { color: rgba(255,255,255,0.62); }
.section-deep a { color: #B6DCFE; }
.section-deep a:hover { color: #FFFFFF; }
.section-deep .btn-ghost { color: #FFFFFF; border-color: rgba(255,255,255,0.45); }
.section-deep .btn-ghost:hover { background: #FFFFFF; color: #002531; border-color: #FFFFFF; }

/* ---------- 7 · HERO GRADIENT (cinematic CTA) ---------- */
/* Gradient darkened to preserve white-text contrast top-to-bottom.
   First stop deepened from #6DA6F2 → #2974DD so white text passes 5:1 AA
   even at the lightest part of the band. */
.section-hero-grad {
  background:
    radial-gradient(900px 600px at 0% 0%, rgba(109,166,242,0.22), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(179,154,126,0.10), transparent 60%),
    linear-gradient(180deg, #2974DD 0%, #1F5FA8 50%, #002531 100%);
  color: #FFFFFF;
}
.section-hero-grad .eyebrow,
.section-hero-grad h1, .section-hero-grad h2,
.section-hero-grad h3, .section-hero-grad h4 { color: #FFFFFF; }
.section-hero-grad p { color: rgba(255,255,255,0.94); }
.section-hero-grad .muted { color: rgba(255,255,255,0.92); }
.section-hero-grad .btn-primary {
  background: #FFFFFF; color: #002531; border-color: #FFFFFF;
  box-shadow: 0 12px 36px rgba(0,0,0,0.25);
}
.section-hero-grad .btn-primary:hover { background: #FAF0E6; color: #002531; border-color: #FAF0E6; }
.section-hero-grad .btn-ghost,
.section-hero-grad .btn-ghost-on-dark {
  color: #FFFFFF; border-color: rgba(255,255,255,0.6);
}
.section-hero-grad .btn-ghost:hover,
.section-hero-grad .btn-ghost-on-dark:hover { background: #FFFFFF; color: #002531; border-color: #FFFFFF; }

/* ---------- 8 · COOL-WARM (final cinematic gradient) ---------- */
.section-cool-warm {
  background: linear-gradient(180deg, #002531 0%, #1A3A47 55%, #B39A7E 100%);
  color: #FFFFFF;
}
.section-cool-warm .eyebrow,
.section-cool-warm h1, .section-cool-warm h2,
.section-cool-warm h3, .section-cool-warm h4 { color: #FFFFFF; }
.section-cool-warm .muted { color: rgba(255,255,255,0.85); }

/* ============================================================================
   Per-section LOGO contrast helper
   Add data-logo-surface to any <img> tag for automatic source swap via CSS
   (uses content swap so DOM stays clean).
   ============================================================================ */
.brand-logo[data-surface="light"]      { content: url("../logo/brand/wm-terminal-black.png"); }
.brand-logo[data-surface="aerial"]     { content: url("../logo/brand/wm-ground-vector.png"); }
.brand-logo[data-surface="sand"]       { content: url("../logo/brand/wm-terminal-black.png"); }
.brand-logo[data-surface="sand-deep"]  { content: url("../logo/brand/wm-structural-white.png"); }
.brand-logo[data-surface="deep"]       { content: url("../logo/brand/wm-structural-white.png"); }
.brand-logo[data-surface="hero-grad"]  { content: url("../logo/brand/wm-3d-bold.png"); }

/* ============================================================================
   Card / inner-element overrides inside variant surfaces — ensure components
   stay legible on coloured backgrounds without breaking shape/animation.
   ============================================================================ */

/* Cards inside Aerial */
.section-aerial .card,
.section-aerial .acc-card,
.section-aerial .pl-card,
.section-aerial .mkt-card,
.section-aerial .faq-item {
  background: #FFFFFF;
  border: 1px solid rgba(0,37,49,0.08);
  box-shadow: 0 8px 24px rgba(0,37,49,0.06);
}

/* Cards inside Sand */
.section-sand .card,
.section-sand .acc-card,
.section-sand .pl-card,
.section-sand .mkt-card,
.section-sand .faq-item {
  background: #FFFBF5;
  border: 1px solid rgba(127,97,75,0.14);
  box-shadow: 0 8px 24px rgba(127,97,75,0.10);
}
.section-sand .faq-q { color: #2D1A0C; }
.section-sand .faq-a-inner { color: #4A3829; }

/* Cards inside Deep */
.section-deep .card,
.section-deep .acc-card,
.section-deep .pl-card,
.section-deep .mkt-card,
.section-deep .faq-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.86);
}

/* CTA-final badge tinting inside hero-grad surface */
.section-hero-grad .sca-badge {
  background: rgba(255,255,255,0.16) !important;
  border-color: rgba(255,255,255,0.45) !important;
  color: #FFFFFF !important;
}
.section-hero-grad .sca-seal {
  background: #FFFFFF; color: #002531;
}

/* Recognition row inside aerial */
.section-aerial .rec-eyebrow,
.section-aerial .rec-item strong { color: #002531; }
.section-aerial .rec-item { color: #143F73; }
.section-aerial .rec-dot { background: #1F5FA8; }

/* Reveal helpers stay neutral inside any variant — no color changes needed */


/* ============================================================================
   ANAX USP Pillars · 4 unique animations
   Each card has its own micro-interaction.
   Used inside section-sand (Why-ANAX block injected into 25 pages).
   ============================================================================ */

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 1024px) { .usp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .usp-grid { grid-template-columns: 1fr; } }

.usp-pillar {
  position: relative;
  background: #FFFBF5;
  border: 1px solid rgba(127,97,75,0.18);
  border-radius: 18px;
  padding: 28px 24px 26px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
  box-shadow: 0 8px 24px rgba(127,97,75,0.08);
}
.usp-pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(127,97,75,0.18);
  border-color: rgba(31,95,168,0.40);
}
.usp-pillar h3 { font-size: 17px; margin: 12px 0 8px; color: #2D1A0C; letter-spacing: -0.01em; }
.usp-pillar p { font-size: 13.5px; line-height: 1.55; color: #4A3829; margin: 0; }
.usp-pillar .usp-art {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(31,95,168,0.10), rgba(179,154,126,0.14));
  color: #1F5FA8;
  margin-bottom: 4px;
}
.usp-pillar .usp-art svg { width: 36px; height: 36px; }

/* --- Pillar 1 · Shield with scanning beam --- */
.usp-pillar--shield .usp-shield-base { animation: usp-shield-pulse 3.2s var(--ease) infinite; transform-origin: center; }
.usp-pillar--shield .usp-shield-check { stroke-dasharray: 28; stroke-dashoffset: 28; animation: usp-shield-draw 2.4s var(--ease) infinite; }
.usp-pillar--shield .usp-shield-scan {
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #1F5FA8 50%, transparent);
  top: 0; opacity: 0.7;
  animation: usp-scan 3.6s linear infinite;
  pointer-events: none;
}
@keyframes usp-shield-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes usp-shield-draw  { 0% { stroke-dashoffset: 28; } 50% { stroke-dashoffset: 0; } 80%,100% { stroke-dashoffset: 0; } }
@keyframes usp-scan         { 0% { top: 0; } 100% { top: 100%; } }

/* --- Pillar 2 · Bolt with travel trail --- */
.usp-pillar--bolt .usp-bolt-icon { animation: usp-bolt-flash 1.8s var(--ease) infinite; transform-origin: center; }
.usp-pillar--bolt .usp-bolt-trail {
  position: absolute; bottom: 0; left: 0; height: 3px; width: 50%;
  background: linear-gradient(90deg, transparent, #1F5FA8, transparent);
  border-radius: 999px;
  animation: usp-bolt-travel 1.4s var(--ease) infinite;
  pointer-events: none;
}
@keyframes usp-bolt-flash  { 0%,80%,100% { filter: drop-shadow(0 0 0 rgba(31,95,168,0)); opacity: 1; } 40% { filter: drop-shadow(0 0 8px rgba(31,95,168,0.7)); } }
@keyframes usp-bolt-travel { 0% { left: -50%; opacity: 0; } 30% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.usp-pillar--bolt .usp-stat-ms {
  display: inline-block; font-variant-numeric: tabular-nums;
  font-weight: 800; color: #1F5FA8; font-size: 22px; margin-top: 8px;
}
.usp-pillar--bolt .usp-stat-ms-unit { font-size: 12px; font-weight: 600; opacity: 0.7; margin-left: 2px; }

/* --- Pillar 3 · Globe with orbital market dots --- */
.usp-pillar--globe .usp-globe-art { position: relative; width: 64px; height: 64px; display: grid; place-items: center; }
.usp-pillar--globe .usp-globe-core {
  width: 28px; height: 28px; border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #6DA6F2, #1F5FA8);
  position: relative; z-index: 2;
  animation: usp-globe-spin 8s linear infinite;
}
.usp-pillar--globe .usp-globe-core::before {
  content: ''; position: absolute; inset: 4px;
  border-radius: inherit;
  background: repeating-conic-gradient(rgba(255,255,255,0) 0deg 25deg, rgba(255,255,255,0.20) 25deg 30deg);
}
.usp-pillar--globe .usp-orbit-dot {
  position: absolute;
  width: 8px; height: 8px; border-radius: 999px;
  background: #B39A7E;
  top: 50%; left: 50%; margin: -4px 0 0 -4px;
  animation: usp-orbit 6s linear infinite;
  box-shadow: 0 0 8px rgba(179,154,126,0.6);
}
.usp-pillar--globe .usp-orbit-dot:nth-child(2) { background: #1F5FA8; animation-duration: 5s; animation-delay: -1.5s; }
.usp-pillar--globe .usp-orbit-dot:nth-child(3) { background: #7F614B; animation-duration: 7s; animation-delay: -3s; }
.usp-pillar--globe .usp-orbit-dot:nth-child(4) { background: #6DA6F2; animation-duration: 8s; animation-delay: -4.5s; }
.usp-pillar--globe .usp-orbit-dot:nth-child(5) { background: #B39A7E; animation-duration: 9s; animation-delay: -2s; }
@keyframes usp-globe-spin { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }
@keyframes usp-orbit {
  0%   { transform: rotate(0deg)   translateX(26px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(26px) rotate(-360deg); }
}

/* --- Pillar 4 · Bilingual EN ↔ AR flip --- */
.usp-pillar--bilingual .usp-flip {
  position: relative; height: 36px; line-height: 36px;
  font-size: 22px; font-weight: 800; letter-spacing: 0;
  color: #1F5FA8; margin-bottom: 4px;
}
.usp-pillar--bilingual .usp-flip span {
  position: absolute; inset: 0;
  display: grid; place-items: start; padding: 0 2px;
  opacity: 0; transform: translateY(8px);
  animation: usp-flip 6s ease-in-out infinite;
}
.usp-pillar--bilingual .usp-flip span:nth-child(1) { animation-delay: 0s; }
.usp-pillar--bilingual .usp-flip span:nth-child(2) { animation-delay: 3s; font-family: var(--ff-arabic); text-align: right; }
@keyframes usp-flip {
  0%,40% { opacity: 1; transform: translateY(0); }
  50%,100% { opacity: 0; transform: translateY(-8px); }
}
.usp-pillar--bilingual .usp-flip + p { margin-top: 6px; }

/* Reduced-motion respect */
@media (prefers-reduced-motion: reduce) {
  .usp-pillar *,
  .usp-pillar::before, .usp-pillar::after { animation: none !important; transition: none !important; }
}

/* USP block inside sand surface — section header tweaks */
.section-sand .usp-grid + .muted { color: rgba(0,0,0,0.55); }

/* ============================================================================
   Section transition shadows — premium layered seams
   Each variant gets inset top + bottom shadow that softens the cut between
   adjacent surfaces. Plus a subtle outer drop shadow on darker variants for
   floating effect. Result: no hard color cuts; each band feels layered.
   ============================================================================ */

.section-aerial,
.section-sand,
.section-sand-deep,
.section-deep,
.section-hero-grad,
.section-cool-warm {
  position: relative;
  isolation: isolate;
}

/* ============================================================================
   CLEAN SEAM + CONTEXT-AWARE SHADOWS
   Each variant gets a shadow tinted to its OWN palette family:
   - Aerial → cool Control-Blue tinted shadow
   - Sand   → warm Calibrated-Sand tinted shadow
   - Deep   → cinematic black shadow
   - Hero-grad → deep Control-Blue tinted shadow
   ============================================================================ */

.section-tight { position: relative; }

.section-aerial {
  box-shadow: 0 10px 30px -22px rgba(31,95,168,0.18);
}
.section-sand {
  box-shadow: 0 10px 30px -22px rgba(127,97,75,0.22);
}
.section-deep {
  box-shadow: 0 14px 36px -22px rgba(0,0,0,0.50);
}
.section-hero-grad {
  box-shadow: 0 16px 40px -24px rgba(0,37,49,0.55);
}
.section-sand-deep {
  box-shadow: 0 14px 36px -22px rgba(127,97,75,0.45);
}

/* Cards inside each surface — inherit the same shadow tint family
   (subtler, since they sit ON the section) */
.section-aerial .card,
.section-aerial .acc-card,
.section-aerial .pl-card,
.section-aerial .mkt-card,
.section-aerial .faq-item {
  box-shadow: 0 10px 28px -14px rgba(31,95,168,0.18), 0 1px 3px rgba(0,37,49,0.04) !important;
}
.section-sand .card,
.section-sand .acc-card,
.section-sand .pl-card,
.section-sand .mkt-card,
.section-sand .faq-item {
  box-shadow: 0 10px 28px -14px rgba(127,97,75,0.22), 0 1px 3px rgba(127,97,75,0.06) !important;
}
.section-deep .card,
.section-deep .acc-card,
.section-deep .pl-card,
.section-deep .mkt-card,
.section-deep .faq-item {
  box-shadow: 0 12px 32px -16px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.04) !important;
}

/* Stacking guards so glow halos sit BELOW content */
.section-aerial > *,
.section-sand > *,
.section-deep > *,
.section-hero-grad > *,
.section-sand-deep > *,
.section-cool-warm > * { position: relative; z-index: 1; }

/* Inside hero-grad — force ALL inline-styled text to white so dark inline color overrides don't break */
/* (Removed — these legacy rules forced inline dark text to white on
   .section-deep / .section-hero-grad which made dark hex (#1A3A47) invisible
   after those surfaces were re-flipped to light mode. Kept as no-op
   placeholder so line numbers stay stable.) */

/* USP block padding-top so injected sand block has breathing room below dark sections */
.section-sand + .section-sand,
.section-aerial + .section-aerial {
  padding-top: clamp(48px, 6vw, 80px);
}

/* ============================================================================
   Floating WhatsApp / 800 MYANAX FAB — guarantee label visibility on hover
   ============================================================================ */
.wa-fab,
.wa-fab .wa-fab-label,
.wa-fab span,
.wa-fab:hover,
.wa-fab:hover .wa-fab-label,
.wa-fab:hover span,
.wa-fab:focus .wa-fab-label,
.wa-fab:focus-visible .wa-fab-label {
  color: #FFFFFF !important;
}
.wa-fab .wa-fab-label {
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
  font-weight: 700;
}

/* ============================================================================
   Footer · readability hardening + blank-strip fix
   ============================================================================ */
html, body { background-color: #002531; }
/* Body shows through below footer — match deep ink so no white strip */

footer.site-footer { margin-bottom: 0 !important; padding-bottom: 32px !important; }
.footer-bottom { padding-top: 18px; }

/* Footer link / disclaimer contrast boost */
.site-footer a { color: rgba(255,255,255,0.80) !important; transition: color 0.2s ease; }
.site-footer a:hover { color: #6DA6F2 !important; text-decoration: underline; text-underline-offset: 3px; }
.site-footer p,
.site-footer ul li,
.site-footer .disclaimer { color: rgba(255,255,255,0.78); }
.site-footer .disclaimer { color: rgba(255,255,255,0.62); font-size: 12.5px; line-height: 1.65; }
.footer-bottom { color: rgba(255,255,255,0.70); }
.footer-bottom a { color: rgba(255,255,255,0.75) !important; }

/* Header (topbar) safety — links stay readable inside both light + dark */
.topbar .nav > li > a,
.topbar .nav > li > button { color: var(--ink); }
.topbar.scrolled .nav > li > a,
.topbar.scrolled .nav > li > button { color: var(--ink); }

/* ============================================================================
   3D Brandmark watermark · subtle premium accent
   Use as decorative bg-image inside any section via class .has-brandmark
   ============================================================================ */
.has-brandmark { position: relative; }
.has-brandmark::after {
  content: '';
  position: absolute;
  right: -40px; bottom: -40px;
  width: 360px; height: 360px;
  background: url('../logo/brand/bm-3d-aerial.png') no-repeat center / contain;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  filter: blur(0.5px);
}
.has-brandmark > * { position: relative; z-index: 1; }
.section-deep.has-brandmark::after,
.section-hero-grad.has-brandmark::after {
  background-image: url('../logo/brand/bm-3d-control-blue.png');
  opacity: 0.10;
}
.section-sand.has-brandmark::after {
  background-image: url('../logo/brand/bm-3d-aerial.png');
  opacity: 0.08;
}

/* ============================================================================
   Button hover contrast safety (across all surfaces)
   ============================================================================ */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active { color: #FFFFFF; }
.section-hero-grad .btn-primary,
.section-hero-grad .btn-primary:hover { color: #002531; }

.btn-ghost { color: #002531; border-color: #002531; }
.btn-ghost:hover { background: #002531; color: #FFFFFF !important; border-color: #002531; }
.btn-ghost:focus-visible { outline: 3px solid #6DA6F2; outline-offset: 3px; }

.btn-ghost-on-dark { color: #FFFFFF; border-color: rgba(255,255,255,0.55); }
.btn-ghost-on-dark:hover { background: #FFFFFF; color: #002531 !important; border-color: #FFFFFF; }

/* Magnetic / tilt cards keep their text legible on hover */
.btn:hover * { color: inherit !important; }

/* ============================================================================
   Animated decoration system — unique micro-animations for each anchor.
   Used inside the Four-Steps cinematic section (.steps-cinema) right column.
   ============================================================================ */
.steps-side-art {
  position: absolute;
  right: 6%; top: 50%; transform: translateY(-50%);
  width: 260px; height: 260px;
  display: grid; place-items: center;
  pointer-events: none;
  z-index: 2;
}
.steps-side-art .ssa-ring,
.steps-side-art .ssa-ring2,
.steps-side-art .ssa-ring3 {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(109,166,242,0.30);
}
.steps-side-art .ssa-ring  { animation: ssa-spin 18s linear infinite; }
.steps-side-art .ssa-ring2 { inset: 18%; border-color: rgba(179,154,126,0.40); border-style: dashed; animation: ssa-spin 24s linear infinite reverse; }
.steps-side-art .ssa-ring3 { inset: 36%; border-color: rgba(109,166,242,0.55); animation: ssa-spin 12s linear infinite; }
.steps-side-art .ssa-core {
  position: absolute; inset: 42%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #6DA6F2, #1F5FA8);
  box-shadow: 0 0 40px rgba(109,166,242,0.45);
  animation: ssa-pulse 3s var(--ease) infinite;
}
.steps-side-art .ssa-orbit {
  position: absolute; left: 50%; top: 50%;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #FAF0E6;
  box-shadow: 0 0 12px rgba(179,154,126,0.7);
  animation: ssa-orbit 5s linear infinite;
}
.steps-side-art .ssa-orbit:nth-child(5) { background: #6DA6F2; animation-duration: 7s; animation-delay: -2s; }
.steps-side-art .ssa-orbit:nth-child(6) { background: #B39A7E; animation-duration: 9s; animation-delay: -4s; }
@keyframes ssa-spin  { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes ssa-pulse { 0%,100% { transform: scale(1); opacity: 0.95; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes ssa-orbit {
  0%   { transform: rotate(0deg)   translateX(110px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(110px) rotate(-360deg); }
}
@media (max-width: 1024px) { .steps-side-art { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .steps-side-art * { animation: none !important; }
}

/* Brandmark position variants (vary direction across pages for premium variety) */
.has-brandmark.bm-tr::after { right: -40px; top: -40px; bottom: auto; left: auto; }
.has-brandmark.bm-tl::after { left: -40px; top: -40px; bottom: auto; right: auto; }
.has-brandmark.bm-bl::after { left: -40px; bottom: -40px; top: auto; right: auto; }
.has-brandmark.bm-br::after { right: -40px; bottom: -40px; top: auto; left: auto; }

/* Smaller brandmark for tight sections */
.has-brandmark.bm-sm::after { width: 220px; height: 220px; opacity: 0.05; }

/* Centred behind copy (very subtle, for hero-grad CTA) */
.has-brandmark.bm-center::after {
  right: auto; left: 50%; top: 50%; bottom: auto;
  transform: translate(-50%, -50%);
  width: 480px; height: 480px;
  opacity: 0.04;
}

/* ============================================================================
   GREEN REDUCTION — wa-fab smaller, less pulse, less shadow.
   Keep WhatsApp brand colour but tone the visual weight down so it doesn't
   dominate every page.
   ============================================================================ */
.wa-fab {
  padding: 10px 14px 10px 11px !important;
  font-size: 13px !important;
  background: #1FAA53 !important;            /* slightly toned-down green */
  box-shadow: 0 6px 18px rgba(31,170,83,0.28) !important;
  animation: none !important;                /* kill pulse — too much green flash */
  border: 1px solid rgba(255,255,255,0.18);
}
.wa-fab:hover {
  background: #1A8F4E !important;
  box-shadow: 0 12px 26px rgba(26,143,78,0.36) !important;
  transform: translateY(-1px) scale(1.02) !important;
}
.wa-fab svg { width: 18px; height: 18px; }
.wa-fab .wa-fab-label { font-size: 12.5px; letter-spacing: 0.01em; }

/* Replace bright mint accent #5BE1A6 with brand Control Blue for stats
   so success-ish accents read as "regulated/trusted" not "neon green" */
.fwy-stat-num,
.fx-status b,
[style*="color:#5BE1A6"],
[style*="color: #5BE1A6"] {
  color: #6DA6F2 !important;
}

/* Section-deep / hero-grad accents using mint → switch to Aerial Blueprint */
.section-deep [style*="#5BE1A6"],
.section-hero-grad [style*="#5BE1A6"] {
  color: #B6DCFE !important;
}

/* ============================================================================
   HOME PAGE REDESIGN — reduce visual dark weight
   Convert .spreads-section from dark Ground Vector to warm Sand premium so
   home rhythm has only 2 cinematic dark blocks (Steps + Final CTA + footer)
   instead of 4. Text + chip colours rewritten for the lighter surface.
   ============================================================================ */

.spreads-section {
  background:
    radial-gradient(1100px 700px at 100% 0%, rgba(196,155,87,0.14), transparent 70%),
    radial-gradient(900px 600px at 0% 100%, rgba(179,154,126,0.08), transparent 70%),
    linear-gradient(180deg, #FFF9EE 0%, #FBF3E5 50%, #FFF9EE 100%) !important;
  color: #2D1A0C !important;
  box-shadow: 0 10px 30px -22px rgba(127,97,75,0.22);
}

/* Spreads section internal elements — relight for warm sand surface */
.spreads-section .s-title h2,
.spreads-section .s-title p,
.spreads-section .s-title .eyebrow,
.spreads-section .sp-foot,
.spreads-section .sp-tabs button,
.spreads-section .sp-cell,
.spreads-section .sp-instr,
.spreads-section .sp-sym,
.spreads-section .sp-pip,
.spreads-section .sp-typ {
  color: inherit !important;
}
.spreads-section .s-title h2 { color: #2D1A0C !important; }
.spreads-section .s-title p,
.spreads-section .sp-foot { color: #4A3829 !important; }
.spreads-section .s-title .eyebrow { color: #7F614B !important; }

/* Dark grid overlay → warm sand grid */
.spreads-section .sp-grid {
  background-image:
    linear-gradient(rgba(127,97,75,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127,97,75,0.07) 1px, transparent 1px) !important;
}

/* Cards / rows / tabs / cells inside spreads */
.spreads-section .sp-tabs {
  background: rgba(127,97,75,0.06);
  border: 1px solid rgba(127,97,75,0.12);
}
.spreads-section .sp-tabs button {
  color: #4A3829 !important;
}
.spreads-section .sp-tabs button.active,
.spreads-section .sp-tabs button[aria-selected="true"] {
  background: #FFFBF5 !important;
  color: #2D1A0C !important;
  box-shadow: 0 4px 12px rgba(127,97,75,0.15);
}
.spreads-section .sp-row,
.spreads-section .sp-table,
.spreads-section .sp-rows {
  background: #FFFBF5 !important;
  border: 1px solid rgba(127,97,75,0.14) !important;
  box-shadow: 0 10px 28px -14px rgba(127,97,75,0.22), 0 1px 3px rgba(127,97,75,0.06) !important;
}
.spreads-section .sp-row { border-bottom: 1px solid rgba(127,97,75,0.10); background: transparent !important; box-shadow: none !important; }
.spreads-section .sp-row:hover { background: rgba(255,251,245,0.6) !important; }
.spreads-section .sp-cell { color: #2D1A0C !important; }
.spreads-section .sp-sym { color: #1F5FA8 !important; font-weight: 700; }
.spreads-section .sp-pip strong { color: #2D1A0C !important; }
.spreads-section .sp-typ { color: #4A3829 !important; }
.spreads-section .sp-pill {
  background: rgba(31,95,168,0.10);
  color: #1F5FA8;
  border: 1px solid rgba(31,95,168,0.20);
}
.spreads-section .sp-glow { display: none; } /* kill the bright neon glow blob — too noisy on warm sand */

/* Spreads-section orb decorations → tone down for light surface */
.spreads-section .sp-orb {
  opacity: 0.12 !important;
  filter: blur(60px) !important;
}

/* ============================================================================
   ALL-LIGHT MODE — entire website light except the footer.
   Every dark variant + every native dark section gets a light premium
   palette + corrected dark text (WCAG AA preserved). Footer stays Ground
   Vector dark for grounding.
   ============================================================================ */

/* --- 1 · variant overrides → light premium --- */

.section-deep {
  background:
    radial-gradient(1100px 700px at 0% 0%, rgba(109,166,242,0.18), transparent 70%),
    radial-gradient(900px 600px at 100% 100%, rgba(196,155,87,0.10), transparent 70%),
    linear-gradient(180deg, #F4F8FD 0%, #E6F1FE 50%, #F4F8FD 100%) !important;
  color: #1A3A47 !important;
  box-shadow: 0 10px 30px -22px rgba(31,95,168,0.18) !important;
}
.section-deep .eyebrow { color: #1F5FA8 !important; }
.section-deep h1, .section-deep h2, .section-deep h3, .section-deep h4 { color: #002531 !important; }
.section-deep p, .section-deep li { color: #2F4856 !important; }
.section-deep .muted { color: #5A6B75 !important; }
.section-deep a { color: #143F73 !important; }
.section-deep .btn-ghost { color: #002531 !important; border-color: #002531 !important; }
.section-deep .btn-ghost:hover { background: #002531 !important; color: #FFFFFF !important; }

/* Cards inside (now light) deep variant */
.section-deep .card,
.section-deep .acc-card,
.section-deep .pl-card,
.section-deep .mkt-card,
.section-deep .faq-item {
  background: #FFFFFF !important;
  border: 1px solid rgba(31,95,168,0.10) !important;
  color: #1A3A47 !important;
  box-shadow: 0 10px 28px -14px rgba(31,95,168,0.18), 0 1px 3px rgba(0,37,49,0.04) !important;
}

/* --- Hero gradient → premium light cool→warm gradient --- */

.section-hero-grad {
  background:
    radial-gradient(1100px 700px at 0% 0%, rgba(109,166,242,0.20), transparent 70%),
    radial-gradient(900px 600px at 100% 100%, rgba(196,155,87,0.16), transparent 70%),
    linear-gradient(135deg, #E6F1FE 0%, #F8FBFE 45%, #FFF9EE 100%) !important;
  color: #1A3A47 !important;
  box-shadow: 0 14px 36px -22px rgba(31,95,168,0.22) !important;
}
.section-hero-grad .eyebrow { color: #1F5FA8 !important; }
.section-hero-grad h1, .section-hero-grad h2, .section-hero-grad h3, .section-hero-grad h4 { color: #002531 !important; }
.section-hero-grad p { color: #2F4856 !important; }
.section-hero-grad .muted { color: #5A6B75 !important; }
.section-hero-grad .btn-primary {
  background: #1F5FA8 !important; color: #FFFFFF !important; border-color: #1F5FA8 !important;
  box-shadow: 0 10px 28px rgba(31,95,168,0.32) !important;
}
.section-hero-grad .btn-primary:hover { background: #143F73 !important; border-color: #143F73 !important; color: #FFFFFF !important; }
.section-hero-grad .btn-ghost,
.section-hero-grad .btn-ghost-on-dark {
  color: #002531 !important; border-color: #002531 !important; background: transparent !important;
}
.section-hero-grad .btn-ghost:hover,
.section-hero-grad .btn-ghost-on-dark:hover { background: #002531 !important; color: #FFFFFF !important; }

/* SCA badge inside hero-grad (now light) */
.section-hero-grad .sca-badge {
  background: rgba(31,95,168,0.10) !important;
  border-color: rgba(31,95,168,0.30) !important;
  color: #1F5FA8 !important;
}
.section-hero-grad .sca-seal { background: #1F5FA8 !important; color: #FFFFFF !important; }

/* --- Sand-deep / cool-warm → light versions --- */

.section-sand-deep {
  background: linear-gradient(135deg, #FFF9EE 0%, #FBF3E5 50%, #FFF8EC 100%) !important;
  color: #2D1A0C !important;
  box-shadow: 0 10px 30px -22px rgba(127,97,75,0.22) !important;
}
.section-sand-deep .eyebrow,
.section-sand-deep h1, .section-sand-deep h2, .section-sand-deep h3, .section-sand-deep h4 { color: #2D1A0C !important; }
.section-sand-deep p, .section-sand-deep .muted { color: #4A3829 !important; }
.section-sand-deep a { color: #7F614B !important; text-decoration: none !important; }

.section-cool-warm {
  background: linear-gradient(135deg, #E6F1FE 0%, #FFFFFF 50%, #FFF9EE 100%) !important;
  color: #2F4856 !important;
}
.section-cool-warm .eyebrow,
.section-cool-warm h1, .section-cool-warm h2, .section-cool-warm h3, .section-cool-warm h4 { color: #002531 !important; }
.section-cool-warm .muted { color: #5A6B75 !important; }

/* --- 2 · NATIVE dark blocks → light --- */

.cta-final {
  background:
    radial-gradient(1000px 600px at 80% 20%, rgba(109,166,242,0.18), transparent 60%),
    radial-gradient(800px 500px at 20% 80%, rgba(196,155,87,0.12), transparent 65%),
    linear-gradient(135deg, #F4F8FD 0%, #FFFFFF 50%, #FFF9EE 100%) !important;
  color: #1A3A47 !important;
  box-shadow: 0 14px 36px -22px rgba(31,95,168,0.20) !important;
}
.cta-final h2 { color: #002531 !important; }
.cta-final p { color: #2F4856 !important; }

.forex-hero {
  background:
    radial-gradient(1100px 700px at 0% 0%, rgba(109,166,242,0.18), transparent 70%),
    radial-gradient(900px 600px at 100% 100%, rgba(196,155,87,0.12), transparent 70%),
    linear-gradient(180deg, #F4F8FD 0%, #E6F1FE 50%, #F8FBFE 100%) !important;
  color: #1A3A47 !important;
}
.forex-hero h1 { color: #002531 !important; }
.forex-hero h1 .accent { color: #1F5FA8 !important; -webkit-background-clip: initial !important; background-clip: initial !important; background: none !important; }
.forex-hero .lead, .forex-hero p { color: #2F4856 !important; }
.forex-hero .breadcrumbs,
.forex-hero .breadcrumbs a { color: #5A6B75 !important; }
.forex-hero .breadcrumbs a:hover { color: #1F5FA8 !important; }
.forex-hero .fx-status {
  background: rgba(31,95,168,0.08) !important;
  border: 1px solid rgba(31,95,168,0.20) !important;
  color: #1F5FA8 !important;
}
.forex-hero .fx-status b,
.forex-hero .fx-status-txt { color: #1F5FA8 !important; }
.forex-hero .fx-status-dot { background: #1F5FA8 !important; }
.forex-hero .fx-pill {
  background: #FFFFFF !important;
  border: 1px solid rgba(31,95,168,0.18) !important;
  color: #1A3A47 !important;
}
.forex-hero .fx-pill:hover {
  background: #1F5FA8 !important; color: #FFFFFF !important; border-color: #1F5FA8 !important;
}
.forex-hero .fx-pill-more {
  background: rgba(31,95,168,0.10) !important; color: #1F5FA8 !important; border-color: rgba(31,95,168,0.25) !important;
}
.forex-hero .fx-risk-note { color: #5A6B75 !important; }
.forex-hero .sca-badge {
  background: rgba(31,95,168,0.10) !important;
  border-color: rgba(31,95,168,0.30) !important;
  color: #1F5FA8 !important;
}
.forex-hero .sca-badge .sca-seal { background: #1F5FA8 !important; color: #FFFFFF !important; }
.forex-hero .stats > div { color: #002531 !important; }
.forex-hero .stat-num { color: #1F5FA8 !important; }
.forex-hero .stat-lbl { color: #5A6B75 !important; }
.forex-hero .btn-primary { background: #1F5FA8 !important; color: #FFFFFF !important; border-color: #1F5FA8 !important; }
.forex-hero .btn-primary:hover { background: #143F73 !important; border-color: #143F73 !important; }
.forex-hero .btn-ghost-on-dark { color: #002531 !important; border-color: #002531 !important; }
.forex-hero .btn-ghost-on-dark:hover { background: #002531 !important; color: #FFFFFF !important; }

/* --- 3 · steps-cinema is already light, but its inner cards/frame may have dark styling. Make sure interior reads. --- */

.steps-cinema .sc-frame {
  background: #FFFFFF !important;
  color: #1A3A47 !important;
  border: 1px solid rgba(31,95,168,0.10) !important;
  box-shadow: 0 18px 48px -18px rgba(31,95,168,0.22) !important;
}
.steps-cinema .sc-frame h3,
.steps-cinema .sc-num,
.steps-cinema .sc-icon { color: #002531 !important; }
.steps-cinema .sc-frame p { color: #2F4856 !important; }
.steps-cinema .sc-pill {
  background: rgba(31,95,168,0.08) !important;
  color: #1F5FA8 !important;
  border: 1px solid rgba(31,95,168,0.18) !important;
}
.steps-cinema .sc-hint { color: #5A6B75 !important; }
.steps-cinema .sc-dot { background: rgba(31,95,168,0.20) !important; }
.steps-cinema .sc-progress-fill { background: #1F5FA8 !important; }

/* --- 4 · body bg goes back to light so above-fold + below-footer match the new theme --- */

html, body { background-color: #F4F8FD !important; }

/* --- 5 · platforms section (.px-section) already light, but its orbs were sized to dark. Tone them. --- */

.px-section .px-orb-1 { background: radial-gradient(circle, rgba(31,95,168,0.20), transparent 70%) !important; }
.px-section .px-orb-2 { background: radial-gradient(circle, rgba(196,155,87,0.16), transparent 70%) !important; }

/* --- 6 · steps-side-art on light bg — re-tint ring colours so they read on white --- */

.steps-side-art .ssa-ring  { border-color: rgba(31,95,168,0.25) !important; }
.steps-side-art .ssa-ring2 { border-color: rgba(127,97,75,0.30) !important; }
.steps-side-art .ssa-ring3 { border-color: rgba(31,95,168,0.40) !important; }
.steps-side-art .ssa-core {
  background: radial-gradient(circle at 30% 30%, #6DA6F2, #1F5FA8) !important;
  box-shadow: 0 0 32px rgba(31,95,168,0.32) !important;
}

/* --- 7 · brandmark watermark on now-light surfaces — switch to Ground Vector PNG for visibility --- */

.section-deep.has-brandmark::after,
.section-hero-grad.has-brandmark::after,
.cta-final.has-brandmark::after,
.section-sand-deep.has-brandmark::after {
  background-image: url('../logo/brand/bm-3d-aerial.png') !important;
  opacity: 0.06 !important;
}

/* ============================================================================
   SMOOTH SEAM v2 — safe now that entire website is light.
   Each variant emits a 56px overflow-up ::before that fades transparent →
   its own bg colour. Since adjacent surfaces are also light (no dark→light
   bloom), the fade reads as a soft blend at the seam.
   ============================================================================ */

.section-tight,
.section-aerial,
.section-sand,
.section-deep,
.section-hero-grad,
.section-sand-deep,
.section-cool-warm,
.cta-final,
.forex-hero,
.spreads-section {
  position: relative;
  isolation: isolate;
}

/* Seam fades reduced to 16px (was 56px) to avoid bloom artefacts when adjacent
   surfaces have meaningfully different luminance. 16px is just enough to soften
   the cut without creating a visible band/glow. */
.section-aerial::before,
.section-deep::before {
  content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px;
  background: linear-gradient(180deg, transparent 0%, #F4F8FD 100%);
  pointer-events: none; z-index: 0;
}
.section-sand::before,
.section-sand-deep::before,
.spreads-section::before {
  content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px;
  background: linear-gradient(180deg, transparent 0%, #FFF9EE 100%);
  pointer-events: none; z-index: 0;
}
.section-hero-grad::before,
.cta-final::before,
.section-cool-warm::before {
  content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px;
  background: linear-gradient(180deg, transparent 0%, #E6F1FE 100%);
  pointer-events: none; z-index: 0;
}
.forex-hero::before { /* keep upstream corner glows */ }

/* Stacking guard so content sits above the seam fade */
.section-aerial > *,
.section-sand > *,
.section-deep > *,
.section-hero-grad > *,
.section-sand-deep > *,
.section-cool-warm > *,
.cta-final > *,
.spreads-section > * { position: relative; z-index: 1; }

/* Footer — clean hard cut. No overflow fade (it created a bright bloom
   when previous section was light). Just a 1px brand-gradient hairline. */
.site-footer { position: relative; }
.site-footer::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31,95,168,0.40), rgba(127,97,75,0.30), transparent);
  pointer-events: none; z-index: 0;
}

/* ============================================================================
   GLOBAL CONTRAST SAFETY NET — text never inherits a colour that mixes with
   its surface. Applies on every page, every variant.
   ============================================================================ */

/* Inside ANY light variant, force text-color overrides on inline white text */
.section-aerial [style*="color:rgba(255"],
.section-sand [style*="color:rgba(255"],
.section-deep [style*="color:rgba(255"],
.section-hero-grad [style*="color:rgba(255"],
.section-sand-deep [style*="color:rgba(255"],
.section-cool-warm [style*="color:rgba(255"],
.cta-final [style*="color:rgba(255"],
.forex-hero [style*="color:rgba(255"],
.spreads-section [style*="color:rgba(255"] {
  color: #1A3A47 !important;
}

/* Inside footer (dark), force white on any inline light hex / dark color */
.site-footer [style*="color:#0"],
.site-footer [style*="color:#1"],
.site-footer [style*="color:#2"],
.site-footer [style*="color:var(--body)"],
.site-footer [style*="color:var(--ink)"] {
  color: rgba(255,255,255,0.86) !important;
}

/* Default p / li / span inside any light variant — sane body colour */
.section-aerial p, .section-aerial li, .section-aerial span:not([class]):not([style]) { color: #2F4856; }
.section-sand p, .section-sand li, .section-sand span:not([class]):not([style])       { color: #4A3829; }
.section-deep p, .section-deep li                                                      { color: #2F4856; }
.section-hero-grad p, .section-hero-grad li                                            { color: #2F4856; }
.cta-final p, .cta-final li                                                            { color: #2F4856; }
.forex-hero p, .forex-hero li                                                          { color: #2F4856; }
.spreads-section p, .spreads-section li                                                { color: #4A3829; }

/* ============================================================================
   PHASE 1 · COMPREHENSIVE CONTRAST OVERRIDES
   Every native dark-theme rule in components.css that targets a now-light
   surface gets a matching light-theme override here. Source of truth — keep
   this block in sync with components.css if upstream changes.
   ============================================================================ */

/* -------- .cta-final native (810-818, 5085-5089) -------- */
.cta-final h2 { color: #002531 !important; }
.cta-final p  { color: #2F4856 !important; }
.cta-final h2::after {
  background: linear-gradient(90deg, #1F5FA8, transparent) !important;
}

/* -------- .spreads-section native (5159-5300+) -------- */
.spreads-section .s-title h2     { color: #2D1A0C !important; }
.spreads-section .s-title p      { color: #4A3829 !important; }
.spreads-section .s-title .eyebrow,
.spreads-section .eyebrow         { color: #7F614B !important; }
.spreads-section .eyebrow::before { background: #7F614B !important; }

/* Spread cards re-tinted for warm sand surface */
.spreads-section .sp-card {
  background: #FFFBF5 !important;
  border: 1px solid rgba(127,97,75,0.16) !important;
  color: #2D1A0C !important;
  box-shadow:
    0 1px 2px rgba(127,97,75,0.06),
    0 10px 28px -14px rgba(127,97,75,0.22),
    0 24px 56px -32px rgba(127,97,75,0.20) !important;
}
.spreads-section .sp-card::before {
  background: linear-gradient(135deg, rgba(196,155,87,0.08), transparent 70%) !important;
  opacity: 1 !important;
}
.spreads-section .sp-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(127,97,75,0.32) !important;
  box-shadow:
    0 1px 2px rgba(127,97,75,0.06),
    0 18px 40px -14px rgba(127,97,75,0.28),
    0 36px 72px -32px rgba(127,97,75,0.32) !important;
}
.spreads-section .sp-card header { color: #2D1A0C !important; }
.spreads-section .sp-card h3     { color: #002531 !important; }
.spreads-section .sp-card h3 .sp-sub { color: #5A6B75 !important; }
.spreads-section .sp-tag {
  background: rgba(31,95,168,0.10) !important;
  color: #1F5FA8 !important;
  border: 1px solid rgba(31,95,168,0.22) !important;
}
.spreads-section .sp-pips      { color: #2D1A0C !important; }
.spreads-section .sp-pips .num { color: #1F5FA8 !important; }

/* Spreads neon glow blobs faded for warm surface */
.spreads-section .sp-glow,
.spreads-section .sp-g1,
.spreads-section .sp-g2 {
  opacity: 0.06 !important;
  filter: blur(80px) !important;
}

/* -------- .forex-hero native (5503-5727+) -------- */
.forex-hero .lead { color: #2F4856 !important; }
.forex-hero .fx-status-txt b { color: #1F5FA8 !important; }
.forex-hero .stats > div  { color: #002531 !important; }
.forex-hero .stat-num     { color: #1F5FA8 !important; }
.forex-hero .stat-lbl     { color: #5A6B75 !important; }
.forex-hero .breadcrumbs,
.forex-hero .breadcrumbs a { color: #5A6B75 !important; }
.forex-hero .breadcrumbs a:hover { color: #1F5FA8 !important; }
.forex-hero .fx-pill {
  background: #FFFFFF !important;
  border: 1px solid rgba(31,95,168,0.18) !important;
  color: #1A3A47 !important;
}
.forex-hero .fx-pill:hover { background: #1F5FA8 !important; color: #FFFFFF !important; border-color: #1F5FA8 !important; }
.forex-hero .fx-pill-more {
  background: rgba(31,95,168,0.10) !important;
  color: #1F5FA8 !important;
  border-color: rgba(31,95,168,0.25) !important;
}
.forex-hero .fx-risk-note { color: #5A6B75 !important; }
.forex-hero .sca-badge {
  background: rgba(31,95,168,0.10) !important;
  border-color: rgba(31,95,168,0.30) !important;
  color: #1F5FA8 !important;
}
.forex-hero .sca-badge .sca-seal { background: #1F5FA8 !important; color: #FFFFFF !important; }
.forex-hero h1, .forex-hero h1 .accent { color: #002531 !important; -webkit-text-fill-color: #002531; }
.forex-hero h1 .accent { color: #1F5FA8 !important; -webkit-text-fill-color: #1F5FA8; }

/* -------- .steps-cinema native — verify .sc-frame coverage -------- */
.steps-cinema .sc-frame h3       { color: #002531 !important; }
.steps-cinema .sc-frame .sc-num  { color: #1F5FA8 !important; }
.steps-cinema .sc-frame .sc-icon { color: #1F5FA8 !important; }
.steps-cinema .sc-frame p        { color: #2F4856 !important; }
.steps-cinema .sc-pill           { color: #1F5FA8 !important; }
.steps-cinema .sc-hint           { color: #5A6B75 !important; }
.steps-cinema .sc-dot            { background: rgba(31,95,168,0.20) !important; }
.steps-cinema .sc-dot.active,
.steps-cinema .sc-dot.in         { background: #1F5FA8 !important; }
.steps-cinema .sc-progress-fill  { background: #1F5FA8 !important; }
.steps-cinema .s-title h2        { color: #002531 !important; }
.steps-cinema .s-title p         { color: #2F4856 !important; }
.steps-cinema .s-title .eyebrow  { color: #1F5FA8 !important; }

/* -------- forex-why custom block (forex.html) -------- */
.forex-why { background: linear-gradient(180deg, #F8FBFE 0%, #F0F6FD 50%, #F8FBFE 100%) !important; color: #1A3A47 !important; }
.forex-why .forex-why-head h2 { color: #002531 !important; }
.forex-why .forex-why-head h2 .accent { color: #1F5FA8 !important; }
.forex-why .forex-why-head p { color: #2F4856 !important; }
.forex-why .forex-why-head .eyebrow { color: #1F5FA8 !important; }
.forex-why .fwy-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(31,95,168,0.10) !important;
  color: #1A3A47 !important;
  box-shadow:
    0 1px 2px rgba(0,37,49,0.05),
    0 10px 28px -14px rgba(31,95,168,0.18),
    0 24px 56px -32px rgba(31,95,168,0.20) !important;
}
.forex-why .fwy-card h3,
.forex-why .fwy-num,
.forex-why .fwy-icon { color: #002531 !important; }
.forex-why .fwy-card p { color: #2F4856 !important; }
.forex-why .fwy-stat-num { color: #1F5FA8 !important; }
.forex-why .fwy-stat-cap { color: #5A6B75 !important; }
.forex-why .fwy-chips span {
  background: rgba(31,95,168,0.08); color: #1F5FA8; border: 1px solid rgba(31,95,168,0.18);
}
.forex-why .fwy-bar { background: rgba(31,95,168,0.10) !important; }
.forex-why .fwy-bar-fill { background: linear-gradient(90deg, #1F5FA8, #6DA6F2) !important; }
.forex-why .fwy-bar-lbl { color: #5A6B75 !important; }
.forex-why .fwy-bar-lbl b { color: #1F5FA8 !important; }
.forex-why .fwy-foot { color: #5A6B75 !important; }
.forex-why .fwy-orb,
.forex-why .fwy-line { opacity: 0.10 !important; }

/* -------- Brand-sections safety net for any inline #fff / white text -------- */
.cta-final [style*="color:#fff"],
.cta-final [style*="color:#FFF"],
.cta-final [style*="color: #fff"],
.cta-final [style*="color: #FFF"],
.cta-final [style*="color:white"],
.forex-hero [style*="color:#fff"],
.forex-hero [style*="color: #fff"],
.forex-hero [style*="color:white"],
.spreads-section [style*="color:#fff"],
.spreads-section [style*="color:white"],
.steps-cinema [style*="color:#fff"],
.steps-cinema [style*="color:white"],
.section-deep [style*="color:#fff"],
.section-hero-grad [style*="color:#fff"],
.section-deep [style*="color:white"],
.section-hero-grad [style*="color:white"] {
  color: #1A3A47 !important;
}

/* ============================================================================
   PHASE 2 · PREMIUM ROYAL POLISH
   ============================================================================ */

/* -------- A · Typography refinement -------- */

.section-aerial h1, .section-sand h1,
.section-aerial h2, .section-sand h2,
.cta-final h2, .forex-hero h1, .spreads-section h2, .forex-why h2 {
  letter-spacing: -0.024em;
  font-feature-settings: "tnum", "ss01";
}
.section-aerial h3, .section-sand h3,
.cta-final h3, .forex-hero h3, .spreads-section h3 {
  letter-spacing: -0.014em;
}

/* Body paragraphs inside premium variant sections — breathing room */
.section-aerial p,
.section-sand p,
.cta-final p,
.forex-hero p,
.spreads-section p,
.forex-why p {
  line-height: 1.7;
}

/* Eyebrow refined for editorial feel */
.section-aerial .eyebrow,
.section-sand .eyebrow,
.cta-final .eyebrow,
.forex-hero .eyebrow,
.spreads-section .eyebrow,
.forex-why .eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.32em;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  padding-left: 28px;
  display: inline-block;
}
/* Royal accent line before eyebrow — gradient bar */
.section-aerial .eyebrow::before,
.cta-final .eyebrow::before,
.forex-hero .eyebrow::before,
.forex-why .eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 20px; height: 1px;
  background: linear-gradient(90deg, #1F5FA8, transparent);
  transform: translateY(-50%);
}
.section-sand .eyebrow::before,
.spreads-section .eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 20px; height: 1px;
  background: linear-gradient(90deg, #7F614B, transparent);
  transform: translateY(-50%);
}

/* -------- B · Premium card elevation (multi-layer shadow) -------- */

.section-aerial .card,
.section-aerial .acc-card,
.section-aerial .pl-card,
.section-aerial .mkt-card,
.section-aerial .faq-item,
.section-deep .card,
.cta-final .card,
.forex-hero .card,
.forex-why .fwy-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(31,95,168,0.10) !important;
  border-radius: 10px !important;
  box-shadow:
    0 1px 2px rgba(0,37,49,0.05),
    0 8px 24px -8px rgba(31,95,168,0.10),
    0 24px 64px -32px rgba(31,95,168,0.18) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease !important;
}
.section-aerial .card:hover,
.section-deep .card:hover,
.cta-final .card:hover,
.forex-hero .card:hover,
.forex-why .fwy-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(31,95,168,0.30) !important;
  box-shadow:
    0 2px 4px rgba(0,37,49,0.06),
    0 16px 40px -10px rgba(31,95,168,0.22),
    0 40px 96px -32px rgba(31,95,168,0.30) !important;
}

.section-sand .card,
.section-sand .acc-card,
.section-sand .pl-card,
.section-sand .mkt-card,
.section-sand .faq-item,
.spreads-section .sp-card {
  background: #FFFBF5 !important;
  border: 1px solid rgba(127,97,75,0.16) !important;
  box-shadow:
    0 1px 2px rgba(127,97,75,0.05),
    0 8px 24px -8px rgba(127,97,75,0.12),
    0 24px 64px -32px rgba(127,97,75,0.20) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease !important;
}
.section-sand .card:hover,
.spreads-section .sp-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(127,97,75,0.36) !important;
  box-shadow:
    0 2px 4px rgba(127,97,75,0.07),
    0 16px 40px -10px rgba(127,97,75,0.24),
    0 40px 96px -32px rgba(127,97,75,0.32) !important;
}

/* -------- C · Button polish — sheen on hover -------- */

.btn-primary,
.btn-ghost,
.btn-ghost-on-dark {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.btn-primary::after,
.btn-ghost::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn-primary:hover::after,
.btn-ghost:hover::after { left: 100%; }

/* -------- D · Royal SCA-badge upgrade with shine -------- */

.sca-badge {
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.sca-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(31,95,168,0.18);
}
.sca-badge::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.40), transparent);
  transition: left 0.8s ease;
  pointer-events: none;
}
.sca-badge:hover::after { left: 150%; }

/* -------- E · Section heading editorial numeral marker -------- */
/* Optional decorative numeral above s-title via data-num attribute */
.s-title[data-num]::before {
  content: attr(data-num);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 14px;
  color: #7F614B;
  letter-spacing: 0.18em;
  margin-bottom: 6px;
  opacity: 0.7;
}

/* -------- F · Tabular numerals for stats + spread tables -------- */
.stat-num, .fwy-stat-num, .sp-pips .num, .stats > div, [class*="stat"] {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum", "lnum";
}

/* ============================================================================
   PHASE 3 · NEW COMPONENT STYLES
   ============================================================================ */

/* -------- Stat band — 4-up KPI strip -------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 900px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .stat-band { grid-template-columns: 1fr; } }
.stat-band-item {
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.10);
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  box-shadow:
    0 1px 2px rgba(0,37,49,0.05),
    0 8px 24px -8px rgba(31,95,168,0.12);
  transition: transform .35s cubic-bezier(0.16,1,0.3,1), box-shadow .35s;
}
.stat-band-item:hover {
  transform: translateY(-4px);
  box-shadow:
    0 2px 4px rgba(0,37,49,0.06),
    0 16px 36px -8px rgba(31,95,168,0.20);
}
.stat-band-num {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  color: #1F5FA8;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat-band-lbl {
  font-size: 13px;
  color: #5A6B75;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* -------- Timeline — vertical numbered steps -------- */
.timeline {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 24px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 23px; top: 24px; bottom: 24px;
  width: 1px;
  background: linear-gradient(180deg, rgba(31,95,168,0.40), rgba(31,95,168,0.10));
}
.tl-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: flex-start;
}
.tl-dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid rgba(31,95,168,0.40);
  color: #1F5FA8;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 12px rgba(31,95,168,0.18);
  position: relative;
  z-index: 1;
}
.tl-step h3 { font-size: 18px; margin: 4px 0 6px; color: #002531; }
.tl-step p { color: #2F4856; margin: 0; line-height: 1.6; }

/* -------- Tier comparison matrix table -------- */
.tier-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.tier-matrix thead { background: rgba(31,95,168,0.06); }
.tier-matrix th {
  text-align: left;
  padding: 18px 22px;
  font-weight: 700;
  color: #002531;
  letter-spacing: 0.02em;
}
.tier-matrix th:not(:first-child) { text-align: center; }
.tier-matrix td {
  padding: 16px 22px;
  border-top: 1px solid rgba(0,37,49,0.06);
  color: #2F4856;
}
.tier-matrix td:not(:first-child) {
  text-align: center;
  font-weight: 600;
  color: #002531;
  font-variant-numeric: tabular-nums;
}
.tier-matrix tbody tr:hover { background: rgba(31,95,168,0.03); }
@media (max-width: 720px) {
  .tier-matrix { font-size: 13px; }
  .tier-matrix th, .tier-matrix td { padding: 12px 14px; }
}

/* -------- Doc-meta pill row (legal pages) -------- */
.doc-meta { padding: 24px 0 !important; }
.dm-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.dm-pill {
  background: rgba(31,95,168,0.08);
  border: 1px solid rgba(31,95,168,0.18);
  color: #2F4856;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.dm-pill b { color: #1F5FA8; font-weight: 700; }

/* ============================================================================
   P0 · Bug fixes batch
   ============================================================================ */

/* Steps-cinema side-art — reduced opacity on light surfaces */
.steps-side-art {
  opacity: 0.55;
  filter: saturate(0.9);
}
.steps-side-art .ssa-ring  { border-color: rgba(31,95,168,0.18) !important; }
.steps-side-art .ssa-ring2 { border-color: rgba(127,97,75,0.22) !important; }
.steps-side-art .ssa-ring3 { border-color: rgba(31,95,168,0.28) !important; }
.steps-side-art .ssa-core {
  box-shadow: 0 0 24px rgba(31,95,168,0.22) !important;
}

/* Spreads neon glow blobs — fully hidden on light sand surface */
.spreads-section .sp-glow,
.spreads-section .sp-g1,
.spreads-section .sp-g2 { display: none !important; }

/* Cookie banner — bg white card, dark text, brand accent button */
.cookie-banner {
  background: #FFFFFF !important;
  color: #1A3A47 !important;
  border: 1px solid rgba(31,95,168,0.16) !important;
  box-shadow: 0 12px 32px rgba(31,95,168,0.18) !important;
}
.cookie-banner h4 { color: #002531 !important; }
.cookie-banner p  { color: #2F4856 !important; }
.cookie-banner a  { color: #1F5FA8 !important; }
.cookie-banner .btn-ghost { color: #002531; border-color: #002531; }
.cookie-banner .btn-ghost:hover { background: #002531; color: #FFFFFF !important; }

/* Mobile audit patches — tiered fixes */
@media (max-width: 768px) {
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-band-num { font-size: 28px; }
  .stat-band-item { padding: 22px 16px; }
  .timeline { gap: 18px; }
  .tl-step { grid-template-columns: 40px 1fr; gap: 14px; }
  .tl-dot { width: 40px; height: 40px; font-size: 12px; }
  .tier-matrix { font-size: 12.5px; }
  .tier-matrix th, .tier-matrix td { padding: 10px 12px; }
  .usp-pillar { padding: 22px 18px; }
  .doc-meta .dm-row { gap: 6px; }
  .dm-pill { font-size: 11.5px; padding: 6px 12px; }
}
@media (max-width: 500px) {
  .stat-band { grid-template-columns: 1fr; }
  .tier-matrix { display: block; overflow-x: auto; white-space: nowrap; }
  .steps-side-art { display: none; }
  .wa-fab { padding: 8px 12px !important; }
  .wa-fab .wa-fab-label { display: none; }
}

/* Hero (.hero on home) — ensure smooth transition into first aerial below */
.hero + .live-markets,
.hero + section { margin-top: 0; }

/* Container padding floor — never let mobile padding collapse to 0 */
.container { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
@media (max-width: 540px) {
  .container { padding-left: 16px; padding-right: 16px; }
}

/* ============================================================================
   P1 · USP animation variants (8 unique animations beyond shield/bolt/globe/bilingual)
   Used by injecting `.usp-pillar usp-pillar--<variant>` per page.
   ============================================================================ */

/* --- 5 · Compass — spinning needle --- */
.usp-pillar--compass .usp-compass-needle {
  transform-origin: 24px 24px;
  animation: usp-compass-spin 4s cubic-bezier(0.4,0,0.2,1) infinite;
}
@keyframes usp-compass-spin {
  0%   { transform: rotate(0deg); }
  35%  { transform: rotate(135deg); }
  60%  { transform: rotate(135deg); }
  95%  { transform: rotate(360deg); }
  100% { transform: rotate(360deg); }
}

/* --- 6 · Candlestick — green/red wick pulse --- */
.usp-pillar--candle .usp-candle-bar {
  transform-origin: bottom;
  animation: usp-candle-grow 2.4s var(--ease) infinite;
}
.usp-pillar--candle .usp-candle-bar:nth-child(2) { animation-delay: -0.6s; }
.usp-pillar--candle .usp-candle-bar:nth-child(3) { animation-delay: -1.2s; }
@keyframes usp-candle-grow {
  0%, 100% { transform: scaleY(0.5); }
  50%      { transform: scaleY(1); }
}

/* --- 7 · Vault — rotating dial --- */
.usp-pillar--vault .usp-vault-dial {
  transform-origin: center;
  animation: usp-vault-turn 5s cubic-bezier(0.7,0.1,0.3,0.9) infinite;
}
@keyframes usp-vault-turn {
  0%, 100% { transform: rotate(0deg); }
  35%      { transform: rotate(-60deg); }
  65%      { transform: rotate(45deg); }
}

/* --- 8 · Scale — balance wobble --- */
.usp-pillar--scale .usp-scale-bar {
  transform-origin: center;
  animation: usp-scale-tilt 4s var(--ease) infinite;
}
@keyframes usp-scale-tilt {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: rotate(-7deg); }
  75%      { transform: rotate(7deg); }
}

/* --- 9 · Pin — map drop pin --- */
.usp-pillar--pin .usp-pin-icon {
  animation: usp-pin-drop 3s var(--ease) infinite;
  transform-origin: bottom center;
}
@keyframes usp-pin-drop {
  0%, 100% { transform: translateY(0); }
  20%      { transform: translateY(-8px); }
  40%      { transform: translateY(0) scale(1.05, 0.95); }
  50%      { transform: translateY(0) scale(1, 1); }
}

/* --- 10 · Stamp — rotating wax-seal --- */
.usp-pillar--stamp .usp-stamp-icon {
  animation: usp-stamp-rotate 7s linear infinite;
  transform-origin: center;
}
@keyframes usp-stamp-rotate {
  from { transform: rotate(0deg); } to { transform: rotate(360deg); }
}

/* --- 11 · Pulse — heartbeat trace --- */
.usp-pillar--pulse .usp-pulse-line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: usp-pulse-trace 2s var(--ease) infinite;
}
@keyframes usp-pulse-trace {
  0%   { stroke-dashoffset: 100; }
  50%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -100; }
}

/* --- 12 · Document — page flip --- */
.usp-pillar--doc .usp-doc-page {
  transform-origin: left center;
  animation: usp-doc-flip 4s var(--ease) infinite;
}
@keyframes usp-doc-flip {
  0%, 100% { transform: rotateY(0deg); }
  50%      { transform: rotateY(-30deg); }
}

/* Reduced motion guard for all new variants */
@media (prefers-reduced-motion: reduce) {
  .usp-pillar--compass *,
  .usp-pillar--candle *,
  .usp-pillar--vault *,
  .usp-pillar--scale *,
  .usp-pillar--pin *,
  .usp-pillar--stamp *,
  .usp-pillar--pulse *,
  .usp-pillar--doc * { animation: none !important; }
}

/* ============================================================================
   P2 · Premium content blocks — quote + awards strip
   ============================================================================ */

/* Quote block — pull-quote with sand accent */
.quote-block {
  position: relative;
  background: #FFFBF5;
  border: 1px solid rgba(127,97,75,0.16);
  border-left: 4px solid #7F614B;
  border-radius: 14px;
  padding: 32px 32px 28px 36px;
  margin: 28px 0;
  box-shadow:
    0 1px 2px rgba(127,97,75,0.06),
    0 10px 28px -14px rgba(127,97,75,0.20);
}
.quote-block::before {
  content: '\201C'; /* opening curly double-quote */
  position: absolute;
  top: -22px; left: 18px;
  font-family: Georgia, serif;
  font-size: 80px;
  color: rgba(127,97,75,0.30);
  line-height: 1;
}
.quote-block p {
  font-size: 19px;
  line-height: 1.55;
  color: #2D1A0C;
  font-weight: 500;
  margin: 0 0 14px;
  font-style: italic;
}
.quote-block cite {
  display: block;
  font-style: normal;
  font-size: 13.5px;
  color: #7F614B;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* Awards / recognition row — re-usable horizontal strip */
.awards-strip {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
  margin-top: 24px;
}
.awards-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #143F73;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.awards-item svg { color: #1F5FA8; }
.awards-item .award-year {
  background: rgba(31,95,168,0.10);
  color: #1F5FA8;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Persona card — large icon + 2-line description + best-for tag */
.persona-card {
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.10);
  border-radius: 18px;
  padding: 28px;
  text-align: center;
  box-shadow:
    0 1px 2px rgba(0,37,49,0.05),
    0 10px 28px -14px rgba(31,95,168,0.18);
}
.persona-card .persona-art {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E6F1FE, #F8FBFE);
  color: #1F5FA8;
  display: grid; place-items: center;
  margin: 0 auto 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.persona-card .persona-art svg { width: 38px; height: 38px; }
.persona-card h3 { font-size: 18px; margin: 0 0 8px; color: #002531; }
.persona-card p { color: #2F4856; font-size: 14px; line-height: 1.6; margin: 0 0 14px; }
.persona-card .persona-tag {
  display: inline-block;
  background: rgba(127,97,75,0.10);
  color: #7F614B;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ============================================================================
   P3 · Accessibility hardening
   ============================================================================ */

/* Global focus ring — keyboard users see clear indication */
*:focus-visible {
  outline: 3px solid #6DA6F2 !important;
  outline-offset: 3px !important;
  border-radius: 4px;
}
button:focus-visible,
a:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #1F5FA8 !important;
  outline-offset: 2px !important;
}

/* Skip-link visible on focus */
.skip-link:focus,
.skip-link:focus-visible {
  position: fixed !important;
  top: 12px !important;
  left: 12px !important;
  width: auto !important;
  height: auto !important;
  padding: 10px 16px !important;
  background: #002531 !important;
  color: #FFFFFF !important;
  z-index: 9999 !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  outline: 3px solid #6DA6F2 !important;
}

/* Required field marker (forms) */
.field [aria-required="true"]::after,
.field .req {
  content: '*';
  color: #C2354F;
  margin-left: 4px;
  font-weight: 700;
}

/* Disabled state */
:disabled, [aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed !important;
}

/* Reduced-motion global respect — already in tokens.css but reinforce */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .steps-side-art *,
  .usp-pillar *,
  .wa-fab,
  .forex-why .fwy-orb { animation: none !important; }
}

/* High-contrast mode support */
@media (prefers-contrast: more) {
  .section-aerial, .section-sand { box-shadow: none; }
  .card, .acc-card, .mkt-card, .pl-card, .faq-item {
    border-width: 2px !important;
    border-color: #002531 !important;
  }
  .btn { border-width: 2px !important; }
  *:focus-visible { outline-width: 4px !important; }
}

/* ============================================================================
   P5 · ARABIC RTL STYLESHEET
   When html[lang="ar"] OR html[dir="rtl"], mirror layout + use DIN Arabic font.
   ============================================================================ */

html[lang="ar"], html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}
html[lang="ar"] body,
html[dir="rtl"] body {
  font-family: var(--ff-arabic);
}

/* Mirror flex / grid items where direction matters */
html[dir="rtl"] .topbar-inner,
html[dir="rtl"] .nav-cta,
html[dir="rtl"] .footer-grid,
html[dir="rtl"] .cta-row,
html[dir="rtl"] .breadcrumbs,
html[dir="rtl"] .form-grid,
html[dir="rtl"] .grid {
  direction: rtl;
}

/* Mirror arrow icons inside buttons (forward arrow points correctly in RTL) */
html[dir="rtl"] .btn svg.arrow,
html[dir="rtl"] .btn svg[class*="arrow"],
html[dir="rtl"] .link svg,
html[dir="rtl"] .sc-pill svg,
html[dir="rtl"] a svg[class*="arrow"] {
  transform: scaleX(-1);
}

/* Spacing — swap left/right padding on key components */
html[dir="rtl"] .eyebrow { padding-left: 0; padding-right: 28px; }
html[dir="rtl"] .eyebrow::before { left: auto; right: 0; transform: translateY(-50%) scaleX(-1); }

html[dir="rtl"] .timeline::before { left: auto; right: 23px; }
html[dir="rtl"] .tl-step { grid-template-columns: 1fr 48px; }
html[dir="rtl"] .tl-dot { order: 2; }
html[dir="rtl"] .tl-step > div { order: 1; text-align: right; }

html[dir="rtl"] .quote-block { border-left: none; border-right: 4px solid #7F614B; padding: 32px 36px 28px 32px; }
html[dir="rtl"] .quote-block::before { left: auto; right: 18px; transform: scaleX(-1); }

html[dir="rtl"] .tier-matrix { direction: rtl; }
html[dir="rtl"] .tier-matrix th, html[dir="rtl"] .tier-matrix td { text-align: right; }
html[dir="rtl"] .tier-matrix th:not(:first-child), html[dir="rtl"] .tier-matrix td:not(:first-child) { text-align: center; }

html[dir="rtl"] .breadcrumbs .sep { margin: 0 6px; }

/* Footer brand watermark mirror */
html[dir="rtl"] .has-brandmark.bm-tr::after { right: auto; left: -40px; }
html[dir="rtl"] .has-brandmark.bm-tl::after { left: auto; right: -40px; }
html[dir="rtl"] .has-brandmark.bm-br::after { right: auto; left: -40px; }
html[dir="rtl"] .has-brandmark.bm-bl::after { left: auto; right: -40px; }

/* wa-fab on RTL — flip to left */
html[dir="rtl"] .wa-fab { right: auto !important; left: 22px !important; }

/* Numbers stay LTR even inside Arabic context (financial figures) */
html[dir="rtl"] .stat-num,
html[dir="rtl"] .stat-band-num,
html[dir="rtl"] .fwy-stat-num,
html[dir="rtl"] .sp-pips .num,
html[dir="rtl"] .usp-stat-ms,
html[dir="rtl"] .tier-matrix td,
html[dir="rtl"] [class*="num"],
html[dir="rtl"] .stats,
html[dir="rtl"] [data-num] {
  direction: ltr;
  unicode-bidi: embed;
}

/* ============================================================================
   LIVE SPREADS — interactive tier ticker (replaces old static spreads grid)
   ============================================================================ */

.live-spreads .ls-tiers {
  position: relative;
  display: inline-flex;
  margin: 32px auto 24px;
  background: #FFFFFF;
  border: 1px solid rgba(127,97,75,0.18);
  border-radius: 999px;
  padding: 6px;
  box-shadow:
    0 1px 2px rgba(127,97,75,0.06),
    0 10px 28px -14px rgba(127,97,75,0.22);
  gap: 2px;
}
.live-spreads .ls-tier {
  position: relative;
  z-index: 2;
  background: transparent;
  border: 0;
  color: #5A4838;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: color 0.3s ease, transform 0.25s var(--ease);
  min-width: 110px;
}
.live-spreads .ls-tier-name { font-size: 15px; }
.live-spreads .ls-tier-sub  { font-size: 11px; opacity: 0.7; letter-spacing: 0.06em; text-transform: uppercase; }
.live-spreads .ls-tier:hover { color: #2D1A0C; }
.live-spreads .ls-tier.is-active { color: #FFFFFF; }
.live-spreads .ls-tier.is-active .ls-tier-sub { opacity: 0.85; }
.live-spreads .ls-tier-glow {
  position: absolute;
  top: 6px; bottom: 6px;
  z-index: 1;
  background: linear-gradient(135deg, #7F614B 0%, #B39A7E 100%);
  border-radius: 999px;
  transition: left 0.45s cubic-bezier(0.34,1.56,0.64,1), width 0.45s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 6px 18px rgba(127,97,75,0.32);
}
.live-spreads .ls-tiers-wrap { text-align: center; }

/* Live board */
.live-spreads .ls-board {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,251,245,0.92));
  border: 1px solid rgba(127,97,75,0.18);
  border-radius: 22px;
  padding: 22px;
  margin-top: 28px;
  box-shadow:
    0 1px 2px rgba(127,97,75,0.05),
    0 12px 32px -12px rgba(127,97,75,0.18),
    0 32px 72px -32px rgba(127,97,75,0.30);
  backdrop-filter: blur(4px);
}
.live-spreads .ls-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 12px 14px;
  border-bottom: 1px dashed rgba(127,97,75,0.20);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #5A4838;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.live-spreads .ls-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1F5FA8;
  font-weight: 800;
}
.live-spreads .ls-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #1F5FA8;
  box-shadow: 0 0 0 0 rgba(31,95,168,0.7);
  animation: ls-pulse 1.8s ease-out infinite;
}
@keyframes ls-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(31,95,168,0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(31,95,168,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,95,168,0); }
}
.live-spreads .ls-clock { font-weight: 700; color: #1F5FA8; font-size: 13px; letter-spacing: 0.04em; }
.live-spreads .ls-engine { opacity: 0.7; }
@media (max-width: 640px) { .live-spreads .ls-engine { display: none; } }

/* Grid of instrument cells */
.live-spreads .ls-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px 0 8px;
}
@media (max-width: 1024px) { .live-spreads .ls-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .live-spreads .ls-grid { grid-template-columns: 1fr; } }

.live-spreads .ls-cell {
  position: relative;
  background: #FFFBF5;
  border: 1px solid rgba(127,97,75,0.14);
  border-radius: 14px;
  padding: 14px 14px 12px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.live-spreads .ls-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent, #1F5FA8) 0%, transparent 60%);
  opacity: 0.04;
  transition: opacity 0.4s;
  pointer-events: none;
}
.live-spreads .ls-cell:hover {
  transform: translateY(-3px);
  border-color: var(--accent, #1F5FA8);
  box-shadow:
    0 10px 28px -10px rgba(127,97,75,0.28),
    0 24px 56px -28px rgba(127,97,75,0.32);
}
.live-spreads .ls-cell:hover::before { opacity: 0.10; }
.live-spreads .ls-cell--feature {
  background: linear-gradient(135deg, #FFFBF5 0%, #FFF2E0 100%);
  border-color: rgba(127,97,75,0.30);
}

.live-spreads .ls-cell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 10.5px;
  letter-spacing: 0.10em;
}
.live-spreads .ls-cat {
  color: var(--accent, #1F5FA8);
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(31,95,168,0.08);
  padding: 3px 8px;
  border-radius: 999px;
}
.live-spreads .ls-cell--feature .ls-cat { background: rgba(127,97,75,0.10); }
.live-spreads .ls-sym {
  font-weight: 700;
  color: #2D1A0C;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.live-spreads .ls-sym em {
  font-style: normal;
  opacity: 0.55;
  font-weight: 500;
  font-size: 11px;
}

.live-spreads .ls-pips {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  color: #1F5FA8;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 8px 0 10px;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease, transform 0.3s ease;
}
.live-spreads .ls-cell--feature .ls-pips { color: #7F614B; }
.live-spreads .ls-pips span {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.6;
  margin-left: 6px;
  letter-spacing: 0.04em;
}

/* Tick animation when tier changes */
.live-spreads .ls-pips.is-ticking {
  animation: ls-tick 0.55s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes ls-tick {
  0%   { transform: scale(1); }
  35%  { transform: scale(0.92); opacity: 0.5; }
  60%  { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); }
}

/* Sparkline */
.live-spreads .ls-spark {
  width: 100%;
  height: 24px;
  display: block;
  opacity: 0.55;
}
.live-spreads .ls-spark polyline {
  fill: none;
  stroke: var(--accent, #1F5FA8);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 200;
  stroke-dashoffset: 0;
  animation: ls-spark-draw 3.5s ease-out infinite alternate;
}
@keyframes ls-spark-draw {
  0%   { stroke-dashoffset: 200; }
  100% { stroke-dashoffset: 0; }
}

/* Board footer */
.live-spreads .ls-board-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px 4px;
  border-top: 1px dashed rgba(127,97,75,0.20);
  margin-top: 12px;
  font-size: 13px;
  color: #5A4838;
}
.live-spreads .ls-board-foot b { color: #2D1A0C; font-weight: 700; }
.live-spreads .ls-foot-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: #1F5FA8;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}
.live-spreads .ls-foot-link:hover { color: #143F73; }
.live-spreads .ls-foot-link svg { transition: transform 0.25s var(--ease); }
.live-spreads .ls-foot-link:hover svg { transform: translateX(3px); }

@media (max-width: 540px) {
  .live-spreads .ls-tiers { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-radius: 18px; }
  .live-spreads .ls-tier  { padding: 10px 8px; min-width: 0; border-radius: 14px; }
  .live-spreads .ls-board-head { flex-direction: column; gap: 6px; padding-top: 8px; }
  .live-spreads .ls-board { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .live-spreads .ls-pulse,
  .live-spreads .ls-spark polyline,
  .live-spreads .ls-tier-glow { animation: none !important; transition: none !important; }
}

/* ============================================================================
   ABOUT HERO — cinematic animated hero for /about.html
   ============================================================================ */

.about-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 110px);
  background:
    radial-gradient(1100px 700px at 0% 0%, rgba(109,166,242,0.18), transparent 70%),
    radial-gradient(900px 600px at 100% 100%, rgba(196,155,87,0.12), transparent 70%),
    linear-gradient(180deg, #F8FBFE 0%, #FFFFFF 60%, #FFF9EE 100%);
  color: #1A3A47;
  isolation: isolate;
}

/* Animated background */
.about-hero .ah-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.about-hero .ah-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.about-hero .ah-orb-1 {
  top: -120px; left: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(31,95,168,0.30), transparent 70%);
  animation: ah-orb-drift1 14s ease-in-out infinite alternate;
}
.about-hero .ah-orb-2 {
  bottom: -160px; right: -100px;
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(127,97,75,0.22), transparent 70%);
  animation: ah-orb-drift2 18s ease-in-out infinite alternate-reverse;
}
.about-hero .ah-orb-3 {
  top: 40%; left: 55%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(109,166,242,0.16), transparent 70%);
  animation: ah-orb-drift3 22s ease-in-out infinite alternate;
}
@keyframes ah-orb-drift1 { from { transform: translate(0,0); } to { transform: translate(60px,40px); } }
@keyframes ah-orb-drift2 { from { transform: translate(0,0); } to { transform: translate(-50px,30px); } }
@keyframes ah-orb-drift3 { from { transform: translate(0,0); } to { transform: translate(-40px,-30px); } }

.about-hero .ah-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(31,95,168,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,95,168,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
}
.about-hero .ah-brandmark {
  position: absolute;
  right: -80px; bottom: -80px;
  width: 380px; height: auto;
  opacity: 0.06;
  filter: blur(0.5px);
  pointer-events: none;
  animation: ah-brandmark-float 14s ease-in-out infinite alternate;
}
@keyframes ah-brandmark-float {
  from { transform: translate(0,0) rotate(-2deg); }
  to   { transform: translate(-20px,-12px) rotate(2deg); }
}

/* Grid layout */
.about-hero .ah-grid-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .about-hero .ah-grid-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-hero .ah-art { display: none; }
}

/* Copy column */
.about-hero .breadcrumbs { color: #5A6B75; margin-bottom: 14px; }
.about-hero .breadcrumbs a { color: #5A6B75; }
.about-hero .breadcrumbs a:hover { color: #1F5FA8; }
.about-hero .sca-badge {
  background: rgba(31,95,168,0.10) !important;
  border: 1px solid rgba(31,95,168,0.30) !important;
  color: #1F5FA8 !important;
}
.about-hero .sca-badge .sca-seal { background: #1F5FA8 !important; color: #FFFFFF !important; }

.about-hero .ah-title {
  font-size: clamp(40px, 5.6vw, 72px);
  letter-spacing: -0.028em;
  line-height: 1.05;
  color: #002531;
  margin: 14px 0 18px;
}
.about-hero .ah-accent {
  background: linear-gradient(120deg, #1F5FA8 0%, #6DA6F2 40%, #B39A7E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  background-size: 200% 100%;
  animation: ah-shimmer 6s ease-in-out infinite;
}
@keyframes ah-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.about-hero .ah-lead {
  font-size: 18px;
  line-height: 1.65;
  color: #2F4856;
  max-width: 58ch;
  margin-bottom: 26px;
}
.about-hero .ah-lead em { color: #1F5FA8; font-style: normal; font-weight: 600; }

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

/* Stats row */
.about-hero .ah-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid rgba(31,95,168,0.12);
}
@media (max-width: 720px) { .about-hero .ah-stats { grid-template-columns: repeat(2, 1fr); } }
.about-hero .ah-stat {
  display: flex; flex-direction: column; gap: 4px;
}
.about-hero .ah-stat-num {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: #1F5FA8;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}
.about-hero .ah-stat-lbl {
  font-size: 11.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #5A6B75;
  font-weight: 600;
}

/* Right-side art — floating cards stack with rings + dots */
.about-hero .ah-art {
  position: relative;
  height: 360px;
  display: grid; place-items: center;
}
.about-hero .ah-card-stack {
  position: relative;
  width: 280px; height: 320px;
}
.about-hero .ah-card {
  position: absolute;
  width: 240px;
  padding: 18px 20px;
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.14);
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(0,37,49,0.05),
    0 12px 32px -12px rgba(31,95,168,0.20),
    0 24px 56px -32px rgba(31,95,168,0.30);
  display: flex; flex-direction: column; gap: 6px;
}
.about-hero .ah-card-eyebrow {
  font-size: 10px;
  letter-spacing: 0.20em;
  font-weight: 800;
  color: #1F5FA8;
  text-transform: uppercase;
}
.about-hero .ah-card-h {
  font-size: 17px;
  font-weight: 700;
  color: #002531;
  letter-spacing: -0.01em;
}
.about-hero .ah-card-1 {
  top: 0; left: 0;
  transform: rotate(-6deg);
  animation: ah-card-float-1 6s ease-in-out infinite alternate;
  z-index: 3;
}
.about-hero .ah-card-2 {
  top: 100px; left: 40px;
  transform: rotate(2deg);
  animation: ah-card-float-2 7s ease-in-out infinite alternate;
  z-index: 2;
}
.about-hero .ah-card-3 {
  top: 200px; left: 0;
  transform: rotate(-3deg);
  animation: ah-card-float-3 8s ease-in-out infinite alternate;
  z-index: 1;
}
@keyframes ah-card-float-1 {
  from { transform: rotate(-6deg) translateY(0); }
  to   { transform: rotate(-4deg) translateY(-8px); }
}
@keyframes ah-card-float-2 {
  from { transform: rotate(2deg) translateY(0); }
  to   { transform: rotate(4deg) translateY(-10px); }
}
@keyframes ah-card-float-3 {
  from { transform: rotate(-3deg) translateY(0); }
  to   { transform: rotate(-1deg) translateY(-6px); }
}

.about-hero .ah-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(31,95,168,0.32);
  pointer-events: none;
}
.about-hero .ah-ring-1 {
  width: 320px; height: 320px;
  top: 50%; left: 50%; margin: -160px 0 0 -160px;
  animation: ah-ring-spin 30s linear infinite;
}
.about-hero .ah-ring-2 {
  width: 420px; height: 420px;
  top: 50%; left: 50%; margin: -210px 0 0 -210px;
  border-color: rgba(127,97,75,0.24);
  animation: ah-ring-spin 50s linear infinite reverse;
}
@keyframes ah-ring-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.about-hero .ah-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #1F5FA8;
  box-shadow: 0 0 16px rgba(31,95,168,0.6);
}
.about-hero .ah-dot-1 { top: 18%; right: 12%; animation: ah-dot-pulse 2.4s ease-out infinite; }
.about-hero .ah-dot-2 { bottom: 18%; left: 8%; background: #7F614B; box-shadow: 0 0 16px rgba(127,97,75,0.6); animation: ah-dot-pulse 3s ease-out infinite 0.6s; }
.about-hero .ah-dot-3 { top: 50%; right: -2%; background: #6DA6F2; box-shadow: 0 0 16px rgba(109,166,242,0.6); animation: ah-dot-pulse 2.8s ease-out infinite 1.2s; }
@keyframes ah-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.35); opacity: 0.7; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .about-hero .ah-orb,
  .about-hero .ah-brandmark,
  .about-hero .ah-card,
  .about-hero .ah-ring,
  .about-hero .ah-dot,
  .about-hero .ah-accent { animation: none !important; }
}

/* ============================================================================
   MHERO · reusable rich market hero for /markets/* pages
   Theme via inline --mhero-accent + --mhero-warm vars per page.
   ============================================================================ */

.mhero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 120px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(1100px 700px at 0% 0%, var(--mhero-accent-soft, rgba(31,95,168,0.16)), transparent 70%),
    radial-gradient(900px 600px at 100% 100%, var(--mhero-warm-soft, rgba(196,155,87,0.12)), transparent 70%),
    linear-gradient(180deg, #F8FBFE 0%, #FFFFFF 60%, #FFF9EE 100%);
  color: #1A3A47;
  isolation: isolate;
  --mhero-accent: #1F5FA8;
  --mhero-accent-soft: rgba(31,95,168,0.18);
  --mhero-warm: #B39A7E;
  --mhero-warm-soft: rgba(196,155,87,0.14);
}
.mhero .mh-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.mhero .mh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.mhero .mh-orb-1 {
  top: -100px; left: -100px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--mhero-accent-soft), transparent 70%);
  animation: mh-orb-drift1 14s ease-in-out infinite alternate;
}
.mhero .mh-orb-2 {
  bottom: -140px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--mhero-warm-soft), transparent 70%);
  animation: mh-orb-drift2 18s ease-in-out infinite alternate-reverse;
}
@keyframes mh-orb-drift1 { from{transform:translate(0,0);} to{transform:translate(50px,30px);} }
@keyframes mh-orb-drift2 { from{transform:translate(0,0);} to{transform:translate(-40px,20px);} }

.mhero .mh-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(31,95,168,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,95,168,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
}

.mhero .container { position: relative; z-index: 1; }
.mhero .mh-layout {
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 56px; align-items: center;
}
@media (max-width: 980px) {
  .mhero .mh-layout { grid-template-columns: 1fr; gap: 40px; }
  .mhero .mh-art { display: none; }
}

.mhero .breadcrumbs { color: #5A6B75; margin-bottom: 14px; }
.mhero .breadcrumbs a { color: #5A6B75; }
.mhero .breadcrumbs a:hover { color: var(--mhero-accent); }

.mhero .mh-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(31,95,168,0.10);
  color: var(--mhero-accent);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(31,95,168,0.20);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.mhero .mh-eyebrow .mh-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mhero-accent);
  box-shadow: 0 0 0 0 var(--mhero-accent-soft);
  animation: mh-live-pulse 1.8s ease-out infinite;
}
@keyframes mh-live-pulse {
  0%,100% { box-shadow: 0 0 0 0 var(--mhero-accent-soft); }
  60%     { box-shadow: 0 0 0 10px rgba(31,95,168,0); }
}

.mhero .mh-title {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.028em;
  line-height: 1.05;
  color: #002531;
  margin: 0 0 18px;
}
.mhero .mh-accent {
  background: linear-gradient(120deg, var(--mhero-accent) 0%, #6DA6F2 50%, var(--mhero-warm) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  background-size: 200% 100%;
  animation: mh-shimmer 6s ease-in-out infinite;
}
@keyframes mh-shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.mhero .mh-lead {
  font-size: 17px; line-height: 1.65; color: #2F4856;
  max-width: 56ch; margin: 0 0 26px;
}
.mhero .mh-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }

.mhero .mh-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(31,95,168,0.12);
}
@media (max-width: 720px) { .mhero .mh-stats { grid-template-columns: repeat(2, 1fr); } }
.mhero .mh-stat-num {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  color: var(--mhero-accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}
.mhero .mh-stat-lbl {
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #5A6B75;
  font-weight: 600;
  margin-top: 4px;
}

/* Art column — radial-orbit instrument cluster */
.mhero .mh-art {
  position: relative;
  height: 360px;
  display: grid; place-items: center;
}
.mhero .mh-art-core {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--mhero-accent), #002531);
  display: grid; place-items: center;
  color: #FFFFFF;
  box-shadow: 0 0 48px var(--mhero-accent-soft), inset 0 1px 0 rgba(255,255,255,0.18);
  z-index: 4;
  animation: mh-core-pulse 3.4s ease-in-out infinite;
}
@keyframes mh-core-pulse {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.06); }
}
.mhero .mh-art-core svg { width: 44px; height: 44px; }

.mhero .mh-orbit {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px dashed rgba(31,95,168,0.30);
  border-radius: 50%;
  pointer-events: none;
}
.mhero .mh-orbit-1 { width: 220px; height: 220px; margin: -110px 0 0 -110px; animation: mh-orbit-spin 24s linear infinite; }
.mhero .mh-orbit-2 { width: 320px; height: 320px; margin: -160px 0 0 -160px; border-color: rgba(127,97,75,0.30); animation: mh-orbit-spin 40s linear infinite reverse; }
@keyframes mh-orbit-spin { from{transform:rotate(0deg);} to{transform:rotate(360deg);} }

.mhero .mh-chip {
  position: absolute;
  top: 50%; left: 50%;
  padding: 8px 14px;
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #002531;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px -6px rgba(31,95,168,0.22);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  z-index: 3;
}
.mhero .mh-chip svg { width: 14px; height: 14px; color: var(--mhero-accent); }
/* chip positions */
.mhero .mh-chip-tl { transform: translate(-200%, -120%); animation: mh-chip-bob 5s ease-in-out infinite alternate; }
.mhero .mh-chip-tr { transform: translate(60%, -160%);  animation: mh-chip-bob 6s ease-in-out infinite alternate-reverse; }
.mhero .mh-chip-bl { transform: translate(-220%, 80%);  animation: mh-chip-bob 7s ease-in-out infinite alternate; }
.mhero .mh-chip-br { transform: translate(70%, 90%);    animation: mh-chip-bob 6.5s ease-in-out infinite alternate-reverse; }
.mhero .mh-chip-l  { transform: translate(-260%, -10%); animation: mh-chip-bob 5.5s ease-in-out infinite alternate; }
.mhero .mh-chip-r  { transform: translate(140%, 10%);   animation: mh-chip-bob 5.8s ease-in-out infinite alternate-reverse; }
@keyframes mh-chip-bob {
  from { translate: 0 0; }
  to   { translate: 0 -10px; }
}

@media (prefers-reduced-motion: reduce) {
  .mhero .mh-orb,
  .mhero .mh-orbit,
  .mhero .mh-art-core,
  .mhero .mh-chip,
  .mhero .mh-accent,
  .mhero .mh-live-dot { animation: none !important; }
}

/* Per-page theme variants — markets index uses cool, uae uses gold, equity uses cool, all-instruments uses mixed */
.mhero.mhero--equity   { --mhero-accent: #1F5FA8; --mhero-accent-soft: rgba(31,95,168,0.18); --mhero-warm: #6DA6F2; --mhero-warm-soft: rgba(109,166,242,0.16); }
.mhero.mhero--uae      { --mhero-accent: #7F614B; --mhero-accent-soft: rgba(127,97,75,0.18); --mhero-warm: #1F5FA8; --mhero-warm-soft: rgba(31,95,168,0.14); }
.mhero.mhero--all      { --mhero-accent: #1F5FA8; --mhero-accent-soft: rgba(31,95,168,0.18); --mhero-warm: #B39A7E; --mhero-warm-soft: rgba(179,154,126,0.14); }
.mhero.mhero--markets  { --mhero-accent: #1F5FA8; --mhero-accent-soft: rgba(31,95,168,0.20); --mhero-warm: #B39A7E; --mhero-warm-soft: rgba(179,154,126,0.16); }

/* UAE variant — switch eyebrow + stats to sand family */
.mhero.mhero--uae .mh-eyebrow { background: rgba(127,97,75,0.10); border-color: rgba(127,97,75,0.24); }


/* ============================================================================
   GLOBAL CONTRAST + BUTTON HOVER HARDENING
   - Every button preserves visible text in idle, hover, focus, active, disabled
   - Inline-text/background mixes blocked across all surfaces
   ============================================================================ */

/* ------ BUTTONS: text always visible in every state ------ */

.btn,
.btn:link,
.btn:visited { text-shadow: none; }

/* Primary (filled Control Blue) */
.btn-primary,
.btn-primary:link,
.btn-primary:visited,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:active {
  color: #FFFFFF !important;
  background-color: #1F5FA8;
  border-color: #1F5FA8;
}
.btn-primary:hover { background-color: #143F73; border-color: #143F73; }
.btn-primary:active { background-color: #0E2A52; border-color: #0E2A52; }
.btn-primary:disabled,
.btn-primary[aria-disabled="true"] { background-color: #8FA8C5 !important; border-color: #8FA8C5 !important; color: #FFFFFF !important; cursor: not-allowed; }

/* Ghost (transparent w/ dark border) — on LIGHT surfaces */
.btn-ghost,
.btn-ghost:link,
.btn-ghost:visited { color: #002531 !important; border-color: #002531 !important; background-color: transparent; }
.btn-ghost:hover,
.btn-ghost:focus,
.btn-ghost:focus-visible,
.btn-ghost:active {
  color: #FFFFFF !important;
  background-color: #002531 !important;
  border-color: #002531 !important;
}

/* Ghost-on-dark (transparent w/ white border) — for hero-grad / dark surfaces */
.btn-ghost-on-dark,
.btn-ghost-on-dark:link,
.btn-ghost-on-dark:visited { color: #FFFFFF !important; border-color: rgba(255,255,255,0.55) !important; background-color: transparent; }
.btn-ghost-on-dark:hover,
.btn-ghost-on-dark:focus,
.btn-ghost-on-dark:focus-visible {
  color: #002531 !important;
  background-color: #FFFFFF !important;
  border-color: #FFFFFF !important;
}

/* Hero-grad surface special — primary inverts to white-bg + dark text */
.section-hero-grad .btn-primary,
.section-hero-grad .btn-primary:link,
.section-hero-grad .btn-primary:visited {
  color: #002531 !important;
  background-color: #FFFFFF !important;
  border-color: #FFFFFF !important;
}
.section-hero-grad .btn-primary:hover,
.section-hero-grad .btn-primary:focus,
.section-hero-grad .btn-primary:active {
  color: #002531 !important;
  background-color: #FAF0E6 !important;
  border-color: #FAF0E6 !important;
}
.section-hero-grad .btn-ghost,
.section-hero-grad .btn-ghost-on-dark {
  color: #002531 !important; border-color: #002531 !important;
}
.section-hero-grad .btn-ghost:hover,
.section-hero-grad .btn-ghost-on-dark:hover {
  color: #FFFFFF !important; background-color: #002531 !important; border-color: #002531 !important;
}

/* Sand surface — ensure ghost stays dark-text */
.section-sand .btn-ghost { color: #2D1A0C !important; border-color: #2D1A0C !important; }
.section-sand .btn-ghost:hover { color: #FFFFFF !important; background-color: #2D1A0C !important; border-color: #2D1A0C !important; }

/* Aerial surface — ghost gets Control Blue border for variety */
.section-aerial .btn-ghost { color: #002531 !important; border-color: #1F5FA8 !important; }
.section-aerial .btn-ghost:hover { color: #FFFFFF !important; background-color: #1F5FA8 !important; border-color: #1F5FA8 !important; }

/* Sand-deep / cool-warm — both light now */
.section-sand-deep .btn-primary,
.section-cool-warm .btn-primary { color: #FFFFFF !important; background-color: #7F614B !important; border-color: #7F614B !important; }
.section-sand-deep .btn-primary:hover,
.section-cool-warm .btn-primary:hover { background-color: #5A4530 !important; border-color: #5A4530 !important; }

/* CTA-final surface (light now) — same as hero-grad treatment */
.cta-final .btn-primary { color: #FFFFFF !important; background-color: #1F5FA8 !important; border-color: #1F5FA8 !important; }
.cta-final .btn-primary:hover { background-color: #143F73 !important; border-color: #143F73 !important; color: #FFFFFF !important; }
.cta-final .btn-ghost,
.cta-final .btn-ghost-on-dark { color: #002531 !important; border-color: #002531 !important; background-color: transparent !important; }
.cta-final .btn-ghost:hover,
.cta-final .btn-ghost-on-dark:hover { color: #FFFFFF !important; background-color: #002531 !important; border-color: #002531 !important; }

/* Button SVG icons inherit text colour — never disappear on hover */
.btn svg,
.btn:hover svg,
.btn:focus svg,
.btn:active svg { color: inherit; fill: currentColor; }
.btn svg *,
.btn:hover svg *,
.btn:focus svg * { color: inherit; }

/* Kill any sibling/overlay rule that could mask button text on hover */
.btn::before,
.btn::after { z-index: 0; pointer-events: none; }
.btn > * { position: relative; z-index: 1; }

/* Loading state — text dims but stays visible */
.btn[data-loading="true"],
.btn.is-loading { color: rgba(255,255,255,0.85) !important; cursor: progress; }

/* ------ GENERIC TEXT vs BACKGROUND safety net ------ */

/* Footer — any dark-coloured inline text auto-flipped to readable white */
.site-footer [style*="color:#0"],
.site-footer [style*="color:#1"],
.site-footer [style*="color:#2"],
.site-footer [style*="color:var(--body)"],
.site-footer [style*="color:var(--ink)"] { color: rgba(255,255,255,0.86) !important; }

/* Any inline `color:#fff` / rgba(255,...) inside ANY light surface auto-darkened */
.section-aerial [style*="color:#fff"],
.section-aerial [style*="color:#FFF"],
.section-aerial [style*="color:white"],
.section-aerial [style*="color:rgba(255"],
.section-sand [style*="color:#fff"],
.section-sand [style*="color:#FFF"],
.section-sand [style*="color:white"],
.section-sand [style*="color:rgba(255"],
.cta-final [style*="color:#fff"],
.cta-final [style*="color:#FFF"],
.cta-final [style*="color:white"],
.cta-final [style*="color:rgba(255"],
.forex-hero [style*="color:#fff"],
.forex-hero [style*="color:white"],
.spreads-section [style*="color:#fff"],
.spreads-section [style*="color:white"],
.steps-cinema [style*="color:#fff"],
.steps-cinema [style*="color:white"],
.about-hero [style*="color:#fff"],
.about-hero [style*="color:white"],
.mhero [style*="color:#fff"],
.mhero [style*="color:white"] { color: #1A3A47 !important; }

/* Card text always visible regardless of hover */
.card,
.card *,
.card:hover,
.card:hover * { color: inherit; }
.card h1, .card h2, .card h3, .card h4 { color: #002531 !important; }
.section-deep .card h3,
.section-hero-grad .card h3,
.section-sand-deep .card h3,
.section-cool-warm .card h3 { color: #002531 !important; } /* all those surfaces are LIGHT now */

/* Tab buttons + faq buttons — text always visible */
.tab-bar button,
.tab-bar button:hover,
.tab-bar button:focus,
.tab-bar button:active { color: #002531; }
.tab-bar button.active,
.tab-bar button[aria-selected="true"] { color: #FFFFFF; background-color: #1F5FA8; }

.faq-q,
.faq-q:hover,
.faq-q:focus,
.faq-q:active { color: #002531 !important; }
.section-sand .faq-q { color: #2D1A0C !important; }

/* Nav links + topbar — never invisible */
.topbar .nav > li > a,
.topbar .nav > li > button,
.topbar .nav > li > a:hover,
.topbar .nav > li > button:hover { color: #002531 !important; }
.topbar.scrolled .nav > li > a,
.topbar.scrolled .nav > li > button { color: #002531 !important; }

/* WhatsApp FAB label — already hardened earlier; reinforce */
.wa-fab,
.wa-fab:hover,
.wa-fab:focus,
.wa-fab .wa-fab-label,
.wa-fab:hover .wa-fab-label,
.wa-fab:focus .wa-fab-label,
.wa-fab span,
.wa-fab:hover span { color: #FFFFFF !important; }

/* Selection colour — always readable */
::selection { background-color: #1F5FA8; color: #FFFFFF; }

/* ============================================================================
   BUG FIX BATCH · 5 reported contrast issues
   ============================================================================ */

/* 1 · FOREX-HERO stat numbers + labels invisible on light surface
   Original CSS used gradient-clip + white text (designed for dark bg).
   Override to solid dark text. */
.forex-hero .stat-num {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #1F5FA8 !important;
  color: #1F5FA8 !important;
  font-family: var(--ff-display) !important;
}
.forex-hero .stat-lbl { color: #5A6B75 !important; }
.forex-hero .stats > div { color: #002531 !important; }
.forex-hero .stats { border-top: 1px solid rgba(31,95,168,0.14) !important; }

/* 2 · TWO-BUTTON ROWS · ensure visual differentiation between primary + ghost
   when they sit next to each other. Force ghost to outlined style. */
.cta-row .btn-primary + .btn-ghost,
.cta-row .btn-primary + .btn-ghost-on-dark,
.mh-cta-row .btn-primary + .btn-ghost,
.ah-cta-row .btn-primary + .btn-ghost,
.cta-final > .container > div .btn-primary + .btn-ghost,
.cta-final > .container > div .btn-primary + .btn-ghost-on-dark {
  background: transparent !important;
  color: #002531 !important;
  border: 2px solid #002531 !important;
}
.cta-row .btn-primary + .btn-ghost:hover,
.cta-row .btn-primary + .btn-ghost-on-dark:hover,
.cta-final > .container > div .btn-primary + .btn-ghost:hover,
.cta-final > .container > div .btn-primary + .btn-ghost-on-dark:hover {
  background: #002531 !important;
  color: #FFFFFF !important;
  border-color: #002531 !important;
}

/* In hero-grad CTAs — primary stays white-bg dark-text; secondary outlined Ground Vector */
.section-hero-grad .cta-row .btn-primary,
.cta-final .btn-primary {
  background: #1F5FA8 !important;
  color: #FFFFFF !important;
  border: 2px solid #1F5FA8 !important;
}
.section-hero-grad .cta-row .btn-primary:hover,
.cta-final .btn-primary:hover {
  background: #143F73 !important; border-color: #143F73 !important; color: #FFFFFF !important;
}

/* 3 · PRICING CARDS · white button with invisible label
   Account pricing cards on dark navy bg — the trailing button was getting
   white-bg + white-text. Force visible label. */
.acc-card .btn,
.acc-card a.btn,
.pricing-card .btn,
[class*="tier"] .btn,
.card .btn {
  color: inherit !important;
}
.acc-card .btn-primary,
.pricing-card .btn-primary,
.card .btn-primary {
  background: #1F5FA8 !important;
  color: #FFFFFF !important;
  border-color: #1F5FA8 !important;
}
.acc-card .btn-primary:hover,
.card .btn-primary:hover {
  background: #143F73 !important; color: #FFFFFF !important; border-color: #143F73 !important;
}
.acc-card .btn-ghost,
.card .btn-ghost {
  background: transparent !important;
  color: #002531 !important;
  border: 2px solid #002531 !important;
}
.acc-card .btn-ghost:hover,
.card .btn-ghost:hover {
  background: #002531 !important; color: #FFFFFF !important; border-color: #002531 !important;
}

/* For dark-themed pricing cards (rare — most are light now): white button stays visible */
[class*="dark"] .btn-primary,
[data-theme="dark"] .btn-primary {
  background: #FFFFFF !important; color: #002531 !important; border-color: #FFFFFF !important;
}

/* 4 · FOOTER text/bg colour mix fix
   Bold "Regulatory disclosure:", "Risk warning:" etc were using --ink dark on
   dark navy footer. Force light. Footer must stay consistent across all pages. */
.site-footer * { color: inherit; }
.site-footer p,
.site-footer .disclaimer,
.site-footer .disclaimer strong,
.site-footer .disclaimer b,
.site-footer strong,
.site-footer b {
  color: rgba(255,255,255,0.86) !important;
}
.site-footer .disclaimer strong,
.site-footer .disclaimer b { color: #FFFFFF !important; font-weight: 700; }
.site-footer h5 { color: #FFFFFF !important; }
.site-footer a { color: rgba(255,255,255,0.80) !important; }
.site-footer a:hover { color: #6DA6F2 !important; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-brand p,
.site-footer .footer-brand p strong,
.site-footer .footer-brand p b { color: rgba(255,255,255,0.78) !important; }
.site-footer .footer-bottom,
.site-footer .footer-bottom * { color: rgba(255,255,255,0.70) !important; }
.site-footer .footer-bottom a { color: rgba(255,255,255,0.80) !important; }
.site-footer ul li { color: rgba(255,255,255,0.78); }

/* 5 · TOPBAR submenu chevron · ensure visible indicator on items with mega-menu */
.topbar .nav > li > button[aria-haspopup] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: transparent;
  border: 0;
  padding: 10px 14px;
  font: inherit;
  font-weight: 500;
  color: #002531 !important;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.topbar .nav > li > button[aria-haspopup]:hover {
  background: rgba(31,95,168,0.08);
  color: #1F5FA8 !important;
}
.topbar .nav > li > button[aria-haspopup] svg {
  width: 12px !important;
  height: 12px !important;
  opacity: 0.7;
  transition: transform 0.25s ease, opacity 0.2s ease;
  color: currentColor;
}
.topbar .nav > li > button[aria-haspopup]:hover svg { opacity: 1; }
.topbar .nav > li.open > button[aria-haspopup] svg,
.topbar .nav > li:hover > button[aria-haspopup] svg { transform: rotate(180deg); opacity: 1; }

/* Make the nav chevron clearly visible — fallback if SVG missing */
.topbar .nav > li > button[aria-haspopup]::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 2px;
  opacity: 0.7;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.topbar .nav > li > button[aria-haspopup]:hover::after { opacity: 1; }
.topbar .nav > li.open > button[aria-haspopup]::after { transform: rotate(225deg) translateY(0); opacity: 1; }
/* If SVG chevron present, hide the CSS fallback */
.topbar .nav > li > button[aria-haspopup]:has(svg)::after { display: none; }

/* Plain nav links (Home, Contact) — match button styling for consistency */
.topbar .nav > li > a {
  padding: 10px 14px;
  border-radius: 8px;
  color: #002531 !important;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}
.topbar .nav > li > a:hover {
  background: rgba(31,95,168,0.08);
  color: #1F5FA8 !important;
}
.topbar .nav > li[data-home="1"] > a {
  font-weight: 600;
  color: #1F5FA8 !important;
}

/* ============================================================================
   TIER PRICING CARDS · button visibility fix
   `.tier.featured` (dark cinematic card) has white-bg btn meant to read as
   "inverted primary" — global white-text rule was hiding the label.
   ============================================================================ */

.tier .btn-primary,
.tier.featured .btn-primary,
.tier .btn-primary:hover,
.tier.featured .btn-primary:hover,
.tier .btn-primary:focus,
.tier.featured .btn-primary:focus,
.acc-card .btn-primary[style*="background:#fff"],
.acc-card .btn-primary[style*="background: #fff"] {
  background: #FFFFFF !important;
  color: #002531 !important;
  border: 2px solid #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25) !important;
}
.tier .btn-primary:hover,
.tier.featured .btn-primary:hover {
  background: #FAF0E6 !important;
  color: #002531 !important;
  border-color: #FAF0E6 !important;
}

/* Non-featured tier cards (Prime, Elite) — keep ghost outline visible */
.tier:not(.featured) .btn-ghost,
.tier:not(.featured) .btn-ghost-on-dark {
  background: transparent !important;
  color: #002531 !important;
  border: 2px solid #002531 !important;
}
.tier:not(.featured) .btn-ghost:hover,
.tier:not(.featured) .btn-ghost-on-dark:hover {
  background: #002531 !important;
  color: #FFFFFF !important;
  border-color: #002531 !important;
}

/* Featured tier card text inside list (check-ticks + line items) — readable on dark */
.tier.featured h3,
.tier.featured .price,
.tier.featured .label,
.tier.featured .badge { color: #FFFFFF !important; }
.tier.featured ul li { color: rgba(255,255,255,0.88) !important; }
.tier.featured p { color: rgba(255,255,255,0.78) !important; }
.tier.featured .from { color: rgba(255,255,255,0.65) !important; }

/* ============================================================================
   FOREX-WHY · featured card text fix
   Featured card used white→gold gradient text + cream-on-light chips that
   are invisible on the now-light surface. Force readable Control Blue / dark.
   ============================================================================ */

.forex-why .fwy-stat-num,
.forex-why .fwy-card.fwy-featured .fwy-stat-num {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #1F5FA8 !important;
  color: #1F5FA8 !important;
  font-family: var(--ff-display) !important;
}
.forex-why .fwy-stat-unit,
.forex-why .fwy-card.fwy-featured .fwy-stat-unit {
  color: #1F5FA8 !important;
  -webkit-text-fill-color: #1F5FA8 !important;
}
.forex-why .fwy-stat-cap,
.forex-why .fwy-card.fwy-featured .fwy-stat-cap { color: #5A6B75 !important; }

.forex-why .fwy-card p,
.forex-why .fwy-card.fwy-featured p { color: #2F4856 !important; }
.forex-why .fwy-card p b,
.forex-why .fwy-card.fwy-featured p b { color: #1F5FA8 !important; font-weight: 700; }

.forex-why .fwy-chips span,
.forex-why .fwy-card.fwy-featured .fwy-chips span {
  background: rgba(31,95,168,0.08) !important;
  color: #1F5FA8 !important;
  border: 1px solid rgba(31,95,168,0.20) !important;
  font-family: 'SF Mono', Menlo, monospace;
  font-weight: 700;
}
.forex-why .fwy-chips span:last-child,
.forex-why .fwy-card.fwy-featured .fwy-chips span:last-child {
  background: linear-gradient(135deg, rgba(179,154,126,0.18), rgba(179,154,126,0.10)) !important;
  color: #7F614B !important;
  border-color: rgba(127,97,75,0.30) !important;
}

/* Big numeral 01/02/03 on card top */
.forex-why .fwy-num {
  color: #002531 !important;
  -webkit-text-fill-color: #002531 !important;
  opacity: 0.85;
}

/* Featured card icon — was warm gradient on dark, now warm on light */
.forex-why .fwy-card.fwy-featured .fwy-icon { color: #1F5FA8 !important; }

/* ============================================================================
   USP MANIFESTO · unique "editorial promise" block
   Used to replace the standard 4-pillar usp-grid on All-Instruments page.
   4 numbered rows · scroll-triggered word reveal · hover dims siblings.
   ============================================================================ */

.usp-manifesto {
  display: grid;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid rgba(31,95,168,0.14);
}
.usp-mr {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 32px 8px;
  border-bottom: 1px solid rgba(31,95,168,0.14);
  position: relative;
  cursor: default;
  transition: background 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}
.usp-mr::before {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px; width: 0;
  background: linear-gradient(90deg, #1F5FA8, #6DA6F2, #B39A7E);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.usp-manifesto:hover .usp-mr { opacity: 0.45; }
.usp-mr:hover {
  opacity: 1 !important;
  background: linear-gradient(90deg, rgba(31,95,168,0.04), transparent 80%);
  transform: translateX(6px);
}
.usp-mr:hover::before { width: 100%; }

.usp-mr-num {
  font-family: 'SF Mono', Menlo, monospace;
  font-size: clamp(48px, 5.6vw, 72px);
  font-weight: 200;
  line-height: 1;
  color: #B39A7E;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  transition: color 0.4s ease, transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.usp-mr:hover .usp-mr-num {
  color: #1F5FA8;
  transform: scale(1.08) translateX(-4px);
}

.usp-mr-body { padding: 4px 0; }
.usp-mr-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  color: #002531;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 8px;
}
.usp-mr-desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: #2F4856;
  max-width: 60ch;
  margin: 0;
}

.usp-mr-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(31,95,168,0.06), rgba(179,154,126,0.08));
  color: #1F5FA8;
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), background 0.4s ease;
}
.usp-mr-icon svg { width: 30px; height: 30px; }
.usp-mr:hover .usp-mr-icon {
  transform: rotate(8deg) scale(1.06);
  background: linear-gradient(135deg, rgba(31,95,168,0.16), rgba(179,154,126,0.18));
}

@media (max-width: 720px) {
  .usp-mr { grid-template-columns: 60px 1fr; gap: 18px; padding: 22px 4px; }
  .usp-mr-icon { display: none; }
  .usp-mr-num { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .usp-mr, .usp-mr * { transition: none !important; }
  .usp-mr:hover { transform: none !important; }
  .usp-manifesto:hover .usp-mr { opacity: 1 !important; }
}

/* ============================================================================
   USP-CINEMA · scroll-pinned 4-frame story for All-Instruments page
   Mirrors .steps-cinema pattern but uses Sand accent + Why-ANAX framing.
   ============================================================================ */

.usp-cinema {
  position: relative;
  height: 320vh; /* 4 frames × ~80vh scroll budget — tighter than 380vh */
  background:
    radial-gradient(900px 600px at 0% 0%, rgba(31,95,168,0.10), transparent 70%),
    radial-gradient(800px 500px at 100% 100%, rgba(196,155,87,0.12), transparent 70%),
    linear-gradient(180deg, #FFF9EE 0%, #FBF3E5 50%, #FFF9EE 100%);
  color: #2D1A0C;
  /* IMPORTANT: no overflow:hidden, no transform, no contain — would break sticky */
}
.usp-cinema .uc-track > .container { width: min(100% - 32px, 1240px); margin-inline: auto; }
.usp-cinema .uc-track {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.usp-cinema .container {
  width: min(100% - 32px, 1240px);
  margin-inline: auto;
}
.usp-cinema .uc-stage {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr 360px;
  gap: 36px;
  align-items: center;
  min-height: 60vh;
}
@media (max-width: 1024px) {
  .usp-cinema .uc-stage { grid-template-columns: 50px 1fr; }
  .usp-cinema .uc-side-art { display: none; }
}

/* Progress rail (vertical on left) */
.usp-cinema .uc-progress {
  position: relative;
  height: 280px;
  width: 4px;
  background: rgba(127,97,75,0.16);
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  justify-self: center;
}
.usp-cinema .uc-progress-fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, #7F614B, #B39A7E);
  border-radius: 999px;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.usp-cinema .uc-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #FFFBF5;
  border: 2px solid rgba(127,97,75,0.32);
  position: relative;
  z-index: 1;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.usp-cinema .uc-dot.is-active {
  background: #7F614B;
  border-color: #7F614B;
  transform: scale(1.25);
  box-shadow: 0 0 18px rgba(127,97,75,0.45);
}

/* Frames (absolute-positioned, only .is-active visible) */
.usp-cinema .uc-frames {
  position: relative;
  min-height: 56vh;
}
.usp-cinema .uc-frame {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.usp-cinema .uc-frame.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.usp-cinema .uc-num {
  font-family: 'SF Mono', Menlo, monospace;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 200;
  color: #B39A7E;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  opacity: 0.6;
}
.usp-cinema .uc-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(127,97,75,0.14), rgba(196,155,87,0.20));
  color: #7F614B;
}
.usp-cinema .uc-icon svg { width: 30px; height: 30px; }
.usp-cinema .uc-h {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  color: #002531;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
}
.usp-cinema .uc-h .uc-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.usp-cinema .uc-frame.is-active .uc-h .uc-word { opacity: 1; transform: translateY(0); }
.usp-cinema .uc-frame.is-active .uc-h .uc-word:nth-child(1) { transition-delay: 0.05s; }
.usp-cinema .uc-frame.is-active .uc-h .uc-word:nth-child(2) { transition-delay: 0.12s; }
.usp-cinema .uc-frame.is-active .uc-h .uc-word:nth-child(3) { transition-delay: 0.19s; }
.usp-cinema .uc-frame.is-active .uc-h .uc-word:nth-child(4) { transition-delay: 0.26s; }
.usp-cinema .uc-frame.is-active .uc-h .uc-word:nth-child(5) { transition-delay: 0.33s; }
.usp-cinema .uc-frame.is-active .uc-h .uc-word:nth-child(6) { transition-delay: 0.40s; }
.usp-cinema .uc-frame.is-active .uc-h .uc-word:nth-child(7) { transition-delay: 0.47s; }
.usp-cinema .uc-frame.is-active .uc-h .uc-word:nth-child(n+8) { transition-delay: 0.54s; }
.usp-cinema .uc-h .uc-accent {
  background: linear-gradient(120deg, #7F614B, #B39A7E, #1F5FA8);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.usp-cinema .uc-desc {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
  color: #4A3829;
  max-width: 56ch;
  margin: 0;
}
.usp-cinema .uc-pills {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px;
}
.usp-cinema .uc-pill {
  background: #FFFBF5;
  border: 1px solid rgba(127,97,75,0.24);
  color: #7F614B;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
.usp-cinema .uc-pill svg { width: 12px; height: 12px; }

/* Side art — orbital rings + glowing core */
.usp-cinema .uc-side-art {
  position: relative;
  width: 320px; height: 320px;
  display: grid; place-items: center;
}
.usp-cinema .uc-ring,
.usp-cinema .uc-ring2,
.usp-cinema .uc-ring3 {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(127,97,75,0.28);
}
.usp-cinema .uc-ring  { inset: 0; animation: uc-ring-spin 22s linear infinite; }
.usp-cinema .uc-ring2 { inset: 16%; border-color: rgba(31,95,168,0.24); border-style: solid; animation: uc-ring-spin 30s linear infinite reverse; }
.usp-cinema .uc-ring3 { inset: 32%; border-color: rgba(127,97,75,0.45); animation: uc-ring-spin 14s linear infinite; }
.usp-cinema .uc-core {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #B39A7E, #7F614B);
  box-shadow: 0 0 40px rgba(127,97,75,0.55);
  position: relative;
  z-index: 2;
  display: grid; place-items: center;
  color: #FFFFFF;
  animation: uc-core-pulse 3s ease-in-out infinite;
}
.usp-cinema .uc-core svg { width: 32px; height: 32px; }
@keyframes uc-ring-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes uc-core-pulse {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.08); }
}

.usp-cinema .uc-hint {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #7F614B;
  text-transform: uppercase;
  opacity: 0.65;
}

/* Mobile · scroll-pinned cinema (mirrors desktop, vertical layout) */
@media (max-width: 768px) {
  .usp-cinema {
    position: relative !important;
    height: 360svh !important;
    min-height: 2500px !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  .usp-cinema .uc-track {
    position: sticky !important;
    top: 0 !important;
    height: 100svh !important;
    display: flex !important;
    align-items: center;
    overflow: hidden !important;
    padding: calc(74px + env(safe-area-inset-top)) 0 calc(28px + env(safe-area-inset-bottom)) !important;
  }
  .usp-cinema .uc-track > .container,
  .usp-cinema .container {
    width: min(100% - -23px, 720px) !important;
    margin-inline: auto !important;
  }
  .usp-cinema .uc-stage {
    display: grid !important;
    grid-template-columns: 28px minmax(0, 1fr) !important;
    gap: 14px !important;
    min-height: 380px !important;
    align-items: start !important;
    position: relative;
  }
  .usp-cinema .uc-side-art { display: none !important; }
  .usp-cinema .uc-progress {
    display: block !important;
    position: relative !important;
    width: 4px !important;
    height: 330px !important;
    margin: 6px auto 0 !important;
    background: rgba(127,97,75,0.16) !important;
    border-radius: 4px;
  }
  .usp-cinema .uc-progress-fill {
    display: block !important;
    position: absolute !important;
    top: 0; left: 0; right: 0;
    width: 100% !important;
    height: 0%;
    background: linear-gradient(180deg, #7F614B, #B39A7E) !important;
    border-radius: 4px;
  }
  .usp-cinema .uc-dot {
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    background: #FFFBF5 !important;
    border: 2px solid rgba(127,97,75,0.32) !important;
    transform: translate(-50%, -50%) !important;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .usp-cinema .uc-dot[data-i="0"] { top: 0% !important; }
  .usp-cinema .uc-dot[data-i="1"] { top: 33.33% !important; }
  .usp-cinema .uc-dot[data-i="2"] { top: 66.66% !important; }
  .usp-cinema .uc-dot[data-i="3"] { top: 100% !important; }
  .usp-cinema .uc-dot.is-active {
    background: #7F614B !important;
    border-color: #7F614B !important;
    transform: translate(-50%, -50%) scale(1.25) !important;
    box-shadow: 0 0 0 6px rgba(127,97,75,0.18) !important;
  }
  .usp-cinema .uc-frames {
    position: relative !important;
    min-height: 360px !important;
    display: block !important;
  }
  .usp-cinema .uc-frame {
    position: absolute !important;
    inset: 0 !important;
    opacity: 0 !important;
    transform: translateY(28px) scale(0.97) !important;
    transition: opacity 0.32s ease, transform 0.36s ease !important;
    pointer-events: none !important;
    padding: 20px !important;
    background: #FFFBF5 !important;
    border: 1px solid rgba(127,97,75,0.16) !important;
    border-radius: 22px !important;
    box-shadow: 0 18px 50px rgba(45,26,12,0.10) !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column;
    gap: 10px;
  }
  .usp-cinema .uc-frame.is-active {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  .usp-cinema .uc-frame .uc-h { font-size: 20px !important; line-height: 1.2 !important; }
  .usp-cinema .uc-frame .uc-desc { font-size: 13.5px !important; line-height: 1.55 !important; }
  .usp-cinema .uc-h .uc-word { opacity: 1 !important; transform: none !important; }
  .usp-cinema .uc-icon { width: 44px !important; height: 44px !important; }
  .usp-cinema .uc-icon svg { width: 24px !important; height: 24px !important; }
  .usp-cinema .uc-pill { font-size: 11px !important; padding: 5px 8px !important; }
  .usp-cinema .uc-hint {
    display: block !important;
    text-align: center;
    font-size: 12px !important;
    margin-top: 14px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .usp-cinema { height: auto; }
  .usp-cinema .uc-track { position: static; height: auto; }
  .usp-cinema .uc-frame { position: relative; inset: auto; opacity: 1; transform: none; }
  .usp-cinema .uc-h .uc-word { opacity: 1; transform: none; transition: none; }
  .usp-cinema .uc-ring,
  .usp-cinema .uc-ring2,
  .usp-cinema .uc-ring3,
  .usp-cinema .uc-core { animation: none !important; }
}

/* ============================================================================
   PHASE 2 · FULL RESPONSIVE AUDIT FIXES
   Layered on top of existing components.css + mobile.css.
   Breakpoints: 1024px, 768px, 540px, 375px.
   ============================================================================ */

/* Universal safety nets · all sizes
   overflow-x: clip prevents body x-scroll WITHOUT computing overflow-y:auto
   (which would break position:sticky for descendants like .uc-track / .sc-track) */
html, body { overflow-x: clip; max-width: 100%; }
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}
*, *::before, *::after { box-sizing: border-box; }
img, svg, video { max-width: 100%; height: 100%; }

/* iOS auto-zoom prevention — body input min 16px */
input, select, textarea {
  font-size: max(16px, 1rem);
}

/* Touch targets — universal 44px floor on interactive elements */
.btn, .btn-sm, .faq-q, .nav > li > a, .nav > li > button,
.cookie-banner button, .tab-bar button {
  min-height: 44px;
}

/* ============================================================================
   1024px · Tablet landscape — small laptop polish
   ============================================================================ */
@media (max-width: 1024px) {
  /* MHero / About-hero — verify art column truly hidden */
  .mhero .mh-art,
  .about-hero .ah-art { display: none; }
  .mhero .mh-layout,
  .about-hero .ah-grid-layout { grid-template-columns: 1fr; gap: 36px; }
  
  /* Live-spreads · 2-col grid */
  .live-spreads .ls-grid { grid-template-columns: repeat(2, 1fr); }
  
  /* USP grid · 2-col */
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  
  /* Tier matrix table · horizontal scroll wrapper */
  .tier-matrix { display: block; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
  .tier-matrix thead, .tier-matrix tbody, .tier-matrix tr { display: table; width: 100%; table-layout: fixed; }
  
  /* Stat-band · 2-col */
  .stat-band { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================================
   768px · Tablet portrait — major mobile-first layout pass
   ============================================================================ */
@media (max-width: 768px) {
  /* Container padding tighten */
  .container { padding-left: 20px; padding-right: 20px; }
  
  /* All custom heroes · single column, art hidden */
  .mhero, .about-hero, .forex-hero {
    padding-top: clamp(48px, 6vw, 72px);
    padding-bottom: clamp(40px, 5vw, 60px);
  }
  .mhero .mh-title, .about-hero .ah-title {
    font-size: clamp(28px, 6vw, 40px);
  }
  .mhero .mh-stats, .about-hero .ah-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  
  /* Brandmark watermarks hide on mobile (free scroll memory) */
  .has-brandmark::after { display: none; }
  
  /* Footer 2-col + brand spans both */
  .footer-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 28px 20px !important; }
  .footer-brand { grid-column: 1 / -1 !important; }
  
  /* Register form · single column stack */
  .reg-form-grid, [class*="register"] .container > div[style*="grid"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  
  /* Tier cards · stack */
  .tiers, [class*="tier-grid"], .grid-tiers {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .tier.featured { transform: none !important; }
  
  /* USP grid full single column */
  .usp-grid { grid-template-columns: 1fr; }
  
  /* USP cinema · revert to stacked frames (already in cinema CSS) */
  
  /* Steps-cinema · mobile scroll-pinned spec (user-provided, authoritative) */
  .steps-cinema {
    position: relative !important;
    height: 360svh !important;
    min-height: 2500px !important;
    padding: 0 !important;
    background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FD 50%, #FFFFFF 100%) !important;
    overflow: visible !important;
  }
  .steps-cinema .sc-track {
    position: sticky !important;
    top: 0;
    height: 100svh;
    padding: calc(90px + env(safe-area-inset-top)) 18px calc(24px + env(safe-area-inset-bottom)) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    background: transparent !important;
    z-index: 1;
  }
  .steps-cinema .s-title {
    text-align: center;
    margin-bottom: 14px;
    flex-shrink: 0;
  }
  .steps-cinema .s-title .eyebrow { font-size: 11px; letter-spacing: 0.18em; }
  .steps-cinema .s-title h2 {
    font-size: clamp(20px, 5.5vw, 26px) !important;
    line-height: 1.15;
    margin: 6px 0 6px;
    word-break: break-word;
  }
  .steps-cinema .s-title p {
    font-size: clamp(12.5px, 3.4vw, 14px) !important;
    line-height: 1.45;
    margin: 0 auto;
    max-width: 320px;
  }
  .steps-cinema .sc-stage {
    display: grid !important;
    grid-template-columns: 28px minmax(0, 1fr) !important;
    gap: 14px !important;
    min-height: 390px;
    align-items: start;
    position: relative;
  }
  .steps-cinema .sc-progress {
    position: relative !important;
    display: block !important;
    width: 4px !important;
    height: 420px !important;
    background: rgba(31,95,168,0.12) !important;
    border-radius: 4px;
    margin: 6px auto 0 !important;
  }
  .steps-cinema .sc-dot { display: block !important; }
  .steps-cinema .sc-progress-fill { display: block !important; }
  .steps-cinema .sc-frames { display: block !important; }
  .steps-cinema .sc-hint { display: block !important; }
  .steps-cinema .sc-progress-fill {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 0%;
    background: #1F5FA8 !important;
    border-radius: 4px;
    transition: height 0.18s ease-out;
  }
  .steps-cinema .sc-dot {
    position: absolute;
    left: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #FFFFFF !important;
    border: 2px solid rgba(31,95,168,0.30);
    transform: translate(-50%, -50%);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .steps-cinema .sc-dot.d0 { top: 0%; }
  .steps-cinema .sc-dot.d1 { top: 33.33%; }
  .steps-cinema .sc-dot.d2 { top: 66.66%; }
  .steps-cinema .sc-dot.d3 { top: 100%; }
  .steps-cinema .sc-dot.lit {
    background: #1F5FA8 !important;
    border-color: #1F5FA8 !important;
    box-shadow: 0 0 0 6px rgba(31,95,168,0.14);
  }
  .steps-cinema .sc-frames {
    position: relative;
    min-height: 440px;
    flex: 1 1 auto;
  }
  .steps-cinema .sc-frame {
    position: absolute !important;
    inset: 0;
    opacity: 0 !important;
    transform: translateY(28px) scale(0.97) !important;
    transition: opacity 0.32s ease, transform 0.36s ease;
    pointer-events: none;
    padding: 18px;
    background: #FFFFFF;
    border: 1px solid rgba(31,95,168,0.14);
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(0,37,49,0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
  }
  .steps-cinema .sc-frame.active {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
  }
  .steps-cinema .sc-num {
    font-size: 12px;
    letter-spacing: 0.18em;
    color: #1F5FA8 !important;
    font-weight: 700;
  }
  .steps-cinema .sc-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(31,95,168,0.08);
    color: #1F5FA8 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .steps-cinema .sc-icon svg { width: 22px; height: 22px; }
  .steps-cinema .sc-frame h3 {
    font-size: 18px;
    line-height: 1.2;
    margin: 2px 0 2px;
    color: #002531 !important;
  }
  .steps-cinema .sc-frame p {
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
    color: #2F4856 !important;
  }
  .steps-cinema .sc-pills,
  .steps-cinema .sc-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 6px;
  }
  .steps-cinema .sc-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    padding: 5px 9px;
    background: #f5f9fe !important;
    border: 1px solid rgba(31,95,168,0.16);
    color: #1F5FA8 !important;
    border-radius: 999px;
    white-space: normal;
    line-height: 1.25;
    max-width: 100%;
    word-break: break-word;
  }
  .steps-cinema .sc-pill svg { flex-shrink: 0; }
  .steps-cinema .sc-hint {
    text-align: center;
    font-size: 12px;
    color: #5A6B75 !important;
    margin-top: 14px;
  }
  .steps-side-art { display: none !important; }
  
  /* Live-spreads · stack tier toggle as grid */
  .live-spreads .ls-tiers {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    border-radius: 18px;
  }
  .live-spreads .ls-tier { padding: 10px 8px; min-width: 0; border-radius: 14px; }
  .live-spreads .ls-board-head { flex-wrap: wrap; gap: 8px; }
  .live-spreads .ls-grid { grid-template-columns: repeat(2, 1fr); }
  
  /* Spreads cards (legacy) · single column on phone */
  .spreads-cards { grid-template-columns: 1fr !important; }
  
  /* CTAs · stack buttons vertically when 2 buttons */
  .cta-row, .mh-cta-row, .ah-cta-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .cta-row .btn, .mh-cta-row .btn, .ah-cta-row .btn { width: 100%; justify-content: center; }
  
  /* Awards strip · wrap-friendly */
  .awards-strip { gap: 16px; }
  .awards-item { font-size: 13px; }
  
  /* Tier matrix · horizontal scroll on phone */
  .card[style*="overflow:hidden"] { overflow-x: auto !important; }
  
  /* Topbar · mobile burger reveals nav drawer
     Matches motion.js contract: .nav.open + body.menu-open */
  .topbar .nav { display: none; }
  .topbar .nav.open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: #FFFFFF;
    border-top: 1px solid rgba(31,95,168,0.10);
    padding: 16px 20px;
    gap: 4px;
    z-index: 90;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    box-shadow: 0 16px 40px rgba(0,37,49,0.18);
  }
  .topbar .nav > li { width: 100%; }
  .topbar .nav > li > a,
  .topbar .nav > li > button { width: 100%; justify-content: flex-start; padding: 14px 16px; }
  .topbar .burger { display: inline-grid !important; }
  body.menu-open { overflow: hidden; }
  .nav-close {
    position: fixed; top: 14px; right: 14px;
    z-index: 100;
    background: #FFFFFF;
    border: 1px solid rgba(31,95,168,0.20);
    color: #002531;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: none;
    align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  }
  body.menu-open .nav-close { display: inline-flex !important; }

  /* Mega-menus · collapse to vertical accordion under each parent, only show when li.open */
  .topbar .nav.open .mega {
    position: static !important;
    display: none;
    box-shadow: none !important;
    padding: 8px 0 4px 12px !important;
    background: transparent !important;
    transform: none !important;
    opacity: 1 !important;
    border: 0 !important;
    margin-top: 6px;
    border-left: 2px solid rgba(31,95,168,0.16) !important;
    min-width: 0 !important;
  }
  .topbar .nav.open li.open > .mega { display: block !important; }
  .topbar .nav.open .mega-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .topbar .nav.open li.open > button[aria-haspopup] svg { transform: rotate(180deg); }
  
  /* Card grids · single column for FAQ + features */
  .grid.c-3, .grid.c-4, .grid.c-6 { grid-template-columns: 1fr !important; }
  .grid.c-2 { grid-template-columns: 1fr !important; }
  
  /* MHero floating chips · hidden along with art */
  .mhero .mh-chip { display: none; }
  
  /* Recognition row · stack */
  .rec-marquee { font-size: 13px; }
}

/* ============================================================================
   540px · Mobile portrait — phone-specific tightening
   ============================================================================ */
@media (max-width: 540px) {
  .container { padding-left: 16px; padding-right: 16px; }
  
  /* Stats · 2-col → 1-col */
  .mhero .mh-stats,
  .about-hero .ah-stats,
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  
  /* Live-spreads · single col */
  .live-spreads .ls-grid { grid-template-columns: 1fr; }
  .live-spreads .ls-engine { display: none; }
  
  /* USP / tier-matrix font tighten */
  .tier-matrix { font-size: 12px; }
  .tier-matrix th, .tier-matrix td { padding: 10px 12px; }
  
  /* WhatsApp FAB · compact, label hidden */
  .wa-fab {
    padding: 10px !important;
    right: 14px !important;
    bottom: 14px !important;
    border-radius: 50% !important;
    gap: 0 !important;
  }
  .wa-fab .wa-fab-label { display: none !important; }
  
  /* Cookie banner · full-width bottom */
  .cookie-banner {
    left: 12px !important; right: 12px !important; bottom: 12px !important;
    width: auto !important;
    padding: 16px !important;
  }
  .cookie-banner h4 { font-size: 15px; }
  .cookie-banner p { font-size: 13px; line-height: 1.5; }
  .cookie-actions { flex-direction: column; gap: 8px; }
  .cookie-actions button { width: 100%; }
  
  /* Steps-side-art · already hidden on tablet, ensure mobile */
  .steps-side-art, .about-hero .ah-art, .mhero .mh-art, .usp-cinema .uc-side-art { display: none !important; }
  
  /* Hero (home) · tighten */
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 32px; }
  
  /* Risk bar at top · stack content */
  .risk-bar { font-size: 11px; padding: 8px 12px; }
  
  /* Footer · single col */
  .footer-grid { grid-template-columns: 1fr !important; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  
  /* USP-cinema · already mobile-friendly via own CSS */
  
  /* About-hero card stack hide */
  .about-hero .ah-card-stack { display: none; }
  
  /* Forex-why · stack */
  .fwy-grid { grid-template-columns: 1fr !important; gap: 16px; }
}

/* ============================================================================
   375px · Small phone (iPhone SE/13 mini)
   ============================================================================ */
@media (max-width: 375px) {
  .container { padding-left: 14px; padding-right: 14px; }
  
  /* Tighten hero text */
  .mhero .mh-title, .about-hero .ah-title, .uc-h { font-size: 26px !important; }
  .mhero .mh-lead, .about-hero .ah-lead, .uc-desc { font-size: 14.5px !important; }
  
  /* Tighten section title */
  .s-title h2 { font-size: clamp(22px, 5.5vw, 28px) !important; }
  
  /* Single-col stats */
  .mhero .mh-stats, .about-hero .ah-stats, .stat-band { grid-template-columns: 1fr; gap: 12px; }
  
  /* Topbar brand size */
  .topbar .brand img { height: 26px !important; }
  
  /* Buttons tighten padding */
  .btn { padding: 12px 18px; font-size: 13.5px; }
  .btn-lg { padding: 14px 22px; font-size: 14.5px; }
  
  /* SCA badge tighten */
  .sca-badge { font-size: 11px; padding: 6px 10px; }
}

/* ============================================================================
   GLOBAL touch-friendly polish
   ============================================================================ */
@media (hover: none) and (pointer: coarse) {
  /* Touch device · no hover lift since hover doesn't fire on tap */
  .card:hover, .acc-card:hover, .pl-card:hover, .mkt-card:hover, .faq-item:hover {
    transform: none !important;
  }
  /* Increase tap targets on nav */
  .topbar .nav > li > a,
  .topbar .nav > li > button { padding: 14px 16px; }
  /* FAQ items · larger tap area */
  .faq-q { padding: 18px 20px; }
}

/* ============================================================================
   LOGO NEVER-STRETCH · global guard
   Every logo image keeps natural aspect ratio. height set, width: auto,
   object-fit: contain. Catches anax-logo-*, wordmark-*, logo-*, brandmark
   files via [src] attribute selector + class hooks.
   ============================================================================ */

img[src*="anax-logo"],
img[src*="wordmark"],
img[src*="logo"],
img[src*="/logo/"],
img[src*="/brand/wm-"],
img[src*="/brand/bm-"],
.brand img,
.footer-brand img,
.ah-brandmark,
.brand-logo {
  width: auto !important;
  height: auto;
  object-fit: contain !important;
  object-position: left center;
  max-width: 100% !important;
}

/* Topbar logo — fixed height, width auto-scales */
.topbar .brand img,
.topbar .brand a img {
  width: auto !important;
  height: 42px;
  max-width: none !important;
  object-fit: contain !important;
}
.topbar.shrink .brand img { height: 34px; }
@media (max-width: 768px) { .topbar .brand img { height: 28px; } }
@media (max-width: 380px) { .topbar .brand img { height: 24px; } }

/* Footer logo — fixed height, width auto-scales */
.footer-brand img {
  width: auto !important;
  height: 50px;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: left center;
}
@media (max-width: 768px) { .footer-brand img { height: 36px; } }
@media (max-width: 540px) { .footer-brand img { height: 32px; } }

/* Brandmark watermarks decoration */
.ah-brandmark,
img.brandmark,
.has-brandmark::after {
  object-fit: contain !important;
}

/* Inline logo refs (e.g. social/press/og card prev) */
img[alt*="ANAX"],
img[alt*="logo"],
img[alt*="Logo"] {
  width: auto !important;
  object-fit: contain !important;
}

/* ============================================================================
   LOGO · 2-line variant for mobile
   Single-line wordmark doesn't fit narrow screens. Brand kit ships
   "Horizontal 2 Lines" lockup (ANAX above CAPITAL). Swap via CSS content
   URL — no DOM change needed.
   ============================================================================ */

/* Topbar — switch to 2-line stacked lockup on mobile (Anax preference: original look).
   Relative paths from .../assets/css/brand-sections.css → ../logo/...png */
@media (max-width: 540px) {
  .topbar .brand img[src*="anax-logo-dark"] {
    content: url("../logo/anax-logo-dark-2line.png");
    height: 38px !important;
  }
  .topbar .brand img[src*="anax-logo-light"] {
    content: url("../logo/anax-logo-light-2line.png");
    height: 38px !important;
  }
}

/* Footer — 2-line variant on small screens for better lockup */
@media (max-width: 540px) {
  .footer-brand img[src*="anax-logo-light"] {
    content: url("../logo/anax-logo-light-2line.png");
    height: 70px !important;
  }
  .footer-brand img[src*="anax-logo-dark"] {
    content: url("../logo/anax-logo-dark-2line.png");
    height: 44px !important;
  }
}

/* Very small phones — slightly smaller lockup so burger has room */
@media (max-width: 420px) {
  .topbar .brand img[src*="anax-logo-dark"],
  .topbar .brand img[src*="anax-logo-light"] {
    height: 34px !important;
  }
}
@media (max-width: 360px) {
  .topbar .brand img[src*="anax-logo-dark"],
  .topbar .brand img[src*="anax-logo-light"] {
    height: 30px !important;
  }
}

/* ============================================================================
   DESKTOP NAV · sub-menu chevron on RIGHT side of menu label
   ============================================================================ */
@media (min-width: 981px) {
  .topbar .nav > li > button[aria-haspopup] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-direction: row !important;
  }
  .topbar .nav > li > button[aria-haspopup] svg {
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    flex-shrink: 0 !important;
    color: currentColor;
    opacity: 0.65;
    transition: transform 0.25s ease, opacity 0.2s ease;
    order: 2; /* keep chevron after label */
  }
  .topbar .nav > li > button[aria-haspopup]:hover svg { opacity: 1; }
  .topbar .nav > li.open > button[aria-haspopup] svg,
  .topbar .nav > li:hover > button[aria-haspopup] svg {
    transform: rotate(180deg);
    opacity: 1;
  }
  /* Kill the CSS-only ::after fallback on desktop since SVG renders */
  .topbar .nav > li > button[aria-haspopup]::after {
    display: none !important;
    content: none !important;
  }
}

/* ============================================================================
   MOBILE NAV · slide-DOWN from top (not slide-from-right)
   ============================================================================ */
@media (max-width: 980px) {
  .topbar .nav {
    /* Override any earlier translateX rule from components.css */
    transform: translateY(-110%) !important;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease !important;
    opacity: 0;
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    max-height: calc(100vh - 64px) !important;
    overflow-y: auto !important;
    background: #FFFFFF !important;
    border-top: 1px solid rgba(31,95,168,0.10) !important;
    border-bottom: 1px solid rgba(31,95,168,0.10) !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 0 16px 16px !important;
    padding: 16px 20px !important;
    box-shadow: 0 18px 44px rgba(0,37,49,0.18) !important;
    z-index: 80 !important;
    pointer-events: none;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }
  .topbar .nav.open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto;
  }
  /* Backdrop wash behind drawer */
  body.menu-open::before {
    content: '';
    position: fixed; inset: 0;
    background: rgba(0, 37, 49, 0.40);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    z-index: 75;
    animation: nav-backdrop-in 0.3s ease;
  }
  @keyframes nav-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
  body.menu-open { overflow: hidden; }
  
  /* Mobile parent button: label LEFT + chevron RIGHT auto-pushed */
  .topbar .nav.open > li > button[aria-haspopup] {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 14px 16px !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(31,95,168,0.08) !important;
    color: #002531 !important;
    font-weight: 500 !important;
    text-align: left !important;
    cursor: pointer;
  }
  .topbar .nav.open > li > button[aria-haspopup] svg {
    width: 14px !important;
    height: 14px !important;
    margin-left: auto !important;
    opacity: 0.75;
    transition: transform 0.28s ease, opacity 0.2s ease;
  }
  .topbar .nav.open > li.open > button[aria-haspopup] svg {
    transform: rotate(180deg);
    opacity: 1;
  }
  
  /* Plain anchor items same layout */
  .topbar .nav.open > li > a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    padding: 14px 16px !important;
    color: #002531 !important;
    font-weight: 500 !important;
    border-bottom: 1px solid rgba(31,95,168,0.08) !important;
    text-decoration: none !important;
  }
  
  /* Stagger entry of nav items */
  .topbar .nav.open > li {
    opacity: 0;
    transform: translateY(-8px);
    animation: nav-item-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  .topbar .nav.open > li:nth-child(1) { animation-delay: 0.06s; }
  .topbar .nav.open > li:nth-child(2) { animation-delay: 0.10s; }
  .topbar .nav.open > li:nth-child(3) { animation-delay: 0.14s; }
  .topbar .nav.open > li:nth-child(4) { animation-delay: 0.18s; }
  .topbar .nav.open > li:nth-child(5) { animation-delay: 0.22s; }
  .topbar .nav.open > li:nth-child(6) { animation-delay: 0.26s; }
  .topbar .nav.open > li:nth-child(7) { animation-delay: 0.30s; }
  .topbar .nav.open > li:nth-child(8) { animation-delay: 0.34s; }
  @keyframes nav-item-in { to { opacity: 1; transform: translateY(0); } }
}

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

  .topbar .nav.open > li { animation: none !important; opacity: 1 !important; transform: none !important; }
  body.menu-open::before { animation: none !important; }
}

/* ============================================================================
   TOPBAR · prevent menu overflow on desktop
   "Open Account" was getting cut off on wider laptop screens because nav items
   + ctas exceeded container width. Tighten padding, gap, allow flex shrink.
   Breakpoint shifted to 1101 to align with `.nav { display: none }` in
   components.css max-width:1100 — drawer covers 0-1100, desktop nav 1101+.
   ============================================================================ */
@media (min-width: 1101px) {
  .topbar-inner {
    gap: 12px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    min-width: 0;
    flex-wrap: nowrap !important;
  }

  .topbar .brand { flex-shrink: 0; }
  .topbar .brand img { height: 36px !important; }
  .topbar.shrink .brand img { height: 30px !important; }
  
  /* Nav row — tighter spacing, never wrap */
  .topbar .nav {
    gap: 0 !important;
    margin-left: auto !important;
    margin-right: 8px !important;
    flex-wrap: nowrap !important;
    min-width: 0;
  }
  .topbar .nav > li > a,
  .topbar .nav > li > button {
    padding: 8px 11px !important;
    font-size: 14px !important;
    white-space: nowrap !important;
    border-radius: 8px !important;
  }
  .topbar .nav > li > button[aria-haspopup] {
    gap: 5px !important;
  }
  .topbar .nav > li > button[aria-haspopup] svg {
    width: 11px !important;
    height: 11px !important;
  }
  
  /* CTA buttons stay compact */
  .topbar .nav-cta {
    flex-shrink: 0 !important;
    gap: 8px !important;
  }
  .topbar .nav-cta .btn,
  .topbar .nav-cta .btn-sm {
    padding: 9px 16px !important;
    font-size: 13.5px !important;
    white-space: nowrap !important;
  }
  
  /* Container — let topbar use full viewport width minus safe padding */
  .topbar .container {
    max-width: min(100% - 24px, 1440px) !important;
    width: 100% !important;
  }
  
  .topbar .burger { display: none !important; }
}

/* Slightly tighter at 1100px-1280px range */
@media (min-width: 981px) and (max-width: 1280px) {
  .topbar .nav > li > a,
  .topbar .nav > li > button {
    padding: 8px 9px !important;
    font-size: 13.5px !important;
  }
  .topbar .nav-cta .btn { padding: 9px 14px !important; font-size: 13px !important; }
  .topbar .brand img { height: 32px !important; }
}

/* Hide non-essential nav items on tight laptop screens */
@media (min-width: 981px) and (max-width: 1100px) {
  .topbar .nav > li:nth-last-child(1) > a:not(.btn),
  .topbar .nav > li:has(> a[href*="contact"]) { display: none; }
}

/* ============================================================================
   TOPBAR · logo↔menu spacing balance
   Move nav close to logo on left, push only CTA buttons to far right.
   Eliminates huge gap between logo and first menu item.
   ============================================================================ */
@media (min-width: 981px) {
  /* Nav: tight gap right after logo, NOT auto-pushed to centre */
  .topbar .nav {
    margin-left: 28px !important;
    margin-right: auto !important;
    gap: 2px !important;
  }
  
  /* CTA cluster: auto-push to right edge */
  .topbar .nav-cta {
    margin-left: auto !important;
  }
  
  /* Slightly larger logo since space is freed */
  .topbar .brand img { height: 38px !important; }
  .topbar.shrink .brand img { height: 32px !important; }
}

/* Mid laptop range — slightly tighter gap */
@media (min-width: 981px) and (max-width: 1280px) {
  .topbar .nav { margin-left: 22px !important; }
  .topbar .brand img { height: 34px !important; }
}

/* Smaller laptop — minimal gap, hide non-essentials handled earlier */
@media (min-width: 981px) and (max-width: 1100px) {
  .topbar .nav { margin-left: 16px !important; }
}

/* ============================================================================
   TOPBAR · perfect spacing + mega-menu fits viewport
   ============================================================================ */
@media (min-width: 981px) {
  /* Logo ↔ Nav ↔ CTA — balanced gaps */
  .topbar-inner {
    gap: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .topbar .brand { flex-shrink: 0; margin-right: 32px; }
  .topbar .brand img { height: 46px !important; }
  .topbar.shrink .brand img { height: 36px !important; }
  
  .topbar .nav {
    margin: 0 !important;
    flex: 1 1 auto !important;
    justify-content: flex-start !important;
    gap: 0 !important;
  }
  .topbar .nav > li > a,
  .topbar .nav > li > button {
    padding: 8px 12px !important;
    font-size: 14px !important;
  }
  
  .topbar .nav-cta {
    flex-shrink: 0 !important;
    gap: 10px !important;
    margin-left: 24px !important;
  }
}

/* Mid-range laptop — tighten further */
@media (min-width: 981px) and (max-width: 1280px) {
  .topbar .brand { margin-right: 20px; }
  .topbar .nav > li > a,
  .topbar .nav > li > button { padding: 8px 10px !important; font-size: 13.5px !important; }
  .topbar .nav-cta { margin-left: 16px !important; }
}
@media (min-width: 981px) and (max-width: 1100px) {
  .topbar .brand { margin-right: 14px; }
  .topbar .nav > li > a,
  .topbar .nav > li > button { padding: 8px 8px !important; font-size: 13px !important; }
  .topbar .nav-cta { margin-left: 10px !important; }
}

/* ============================================================================
   MEGA-MENU · never cut by viewport — viewport-clamped width + smart anchor
   ============================================================================ */
@media (min-width: 981px) {
  /* All megas — clamp width to viewport */
  .topbar .nav > li > .mega {
    width: min(720px, calc(100vw - 40px)) !important;
    max-width: calc(100vw - 40px) !important;
  }
  
  /* Reset all megas to left-anchor by default (override any earlier right rule). */
  .topbar .nav > li > .mega {
    left: 0 !important;
    right: auto !important;
  }
  /* Smart anchor — only the LAST 3 <li> (Partners, 1KG Gold, Contact on 10-item nav)
     right-anchor their mega. Use :nth-last-of-type so injected mnav-head/foot DIVs
     don't shift the count. */
  .topbar .nav > li:nth-last-of-type(-n+3) > .mega {
    left: auto !important;
    right: 0 !important;
  }
  
  /* Single-column mega (small mega like Insights) stay smaller */
  .topbar .nav > li > .mega:has(.mega-grid:only-child .mega-col:only-child) {
    width: min(360px, calc(100vw - 40px)) !important;
  }
}

/* ============================================================================
   TOPBAR · centre the nav row between logo and CTAs
   ============================================================================ */
@media (min-width: 981px) {
  .topbar .brand { margin-right: 0 !important; flex: 0 0 auto; }
  
  .topbar .nav {
    /* flex: 0 0 auto = no grow + no shrink = UL stays at content width.
       With shrink:1 UL was collapsing below items width → overflow into cta. */
    flex: 0 0 auto !important;
    justify-content: center !important;
    gap: 2px !important;
    margin: 0 auto !important;
  }

  .topbar .nav-cta {
    margin-left: 28px !important;
    flex: 0 0 auto;
  }
}

@media (min-width: 981px) and (max-width: 1280px) {/* drawer-killed: .topbar .nav */

  .topbar .nav-cta { margin-left: 16px !important; }
}
@media (min-width: 981px) and (max-width: 1100px) {/* drawer-killed: .topbar .nav */

}

/* ============================================================================
   TEAM CARDS · avatar + role + LinkedIn (Leadership page)
   ============================================================================ */
.team-grid { gap: 28px !important; }
.team-card {
  background: #FFFBF5;
  border: 1px solid rgba(127,97,75,0.18);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow:
    0 1px 2px rgba(127,97,75,0.06),
    0 12px 32px -12px rgba(127,97,75,0.18);
  transition: transform .35s cubic-bezier(0.16,1,0.3,1), box-shadow .35s, border-color .3s;
}
.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(127,97,75,0.36);
  box-shadow:
    0 2px 4px rgba(127,97,75,0.08),
    0 20px 48px -12px rgba(127,97,75,0.24);
}
.team-card-head { display: flex; align-items: center; gap: 16px; }
.team-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,37,49,0.15);
}
.team-avatar--sand { background: linear-gradient(135deg, #B39A7E, #7F614B); }
.team-avatar--blue { background: linear-gradient(135deg, #6DA6F2, #1F5FA8); }
.team-card .team-role {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #7F614B;
  background: rgba(127,97,75,0.10);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.team-card h3 {
  font-size: 20px;
  margin: 4px 0 0;
  color: #002531;
  letter-spacing: -0.015em;
}
.team-bio { color: #4A3829; line-height: 1.65; font-size: 14.5px; margin: 0; }
.team-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.team-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: #1F5FA8;
  background: rgba(31,95,168,0.08);
  border: 1px solid rgba(31,95,168,0.18);
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.team-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1F5FA8 !important;
  text-decoration: none !important;
  padding: 10px 14px;
  background: rgba(31,95,168,0.06);
  border-radius: 10px;
  border: 1px solid rgba(31,95,168,0.16);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  width: fit-content;
}
.team-social:hover {
  background: #1F5FA8;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}
.team-social svg { color: currentColor; }

/* ============================================================================
   NAV · active page highlight (current-page nav item)
   ============================================================================ */
.topbar .nav > li.is-active > a,
.topbar .nav > li.is-active > button,
.topbar .nav > li[data-home="1"][aria-current="page"] > a {
  color: #1F5FA8 !important;
  background: rgba(31,95,168,0.08) !important;
  font-weight: 600 !important;
  position: relative;
}
.topbar .nav > li.is-active > a::after,
.topbar .nav > li.is-active > button::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, #1F5FA8, #6DA6F2);
  border-radius: 2px;
}

/* Active deep-page (mega submenu item that matches URL) — bolder + accent */
.topbar .mega a.is-active,
.topbar .mega a[aria-current="page"] {
  color: #1F5FA8 !important;
  background: rgba(31,95,168,0.08) !important;
  border-radius: 8px;
}
.topbar .mega a.is-active .icon,
.topbar .mega a[aria-current="page"] .icon { color: #1F5FA8 !important; }

/* Mobile nav — active item stronger */
@media (max-width: 980px) {
  .topbar .nav.open > li.is-active > a,
  .topbar .nav.open > li.is-active > button {
    color: #1F5FA8 !important;
    background: rgba(31,95,168,0.10) !important;
    border-left: 3px solid #1F5FA8;
    padding-left: 13px !important;
  }
}

/* ============================================================================
   MOBILE HEADER · taller + bigger logo + better drawer design
   ============================================================================ */
@media (max-width: 768px) {
  .topbar-inner {
    padding: 16px 0 !important;
    min-height: 84px !important;
  }
  .topbar .brand img,
  .topbar .brand a img {
    height: 56px !important;
    max-height: none !important;
  }
  .topbar .nav.open {
    top: 72px !important;
    padding: 24px 22px 32px !important;
    border-radius: 0 0 22px 22px !important;
    gap: 0 !important;
    max-height: calc(100vh - 72px) !important;
  }
  .topbar .nav.open > li > a,
  .topbar .nav.open > li > button {
    padding: 18px 18px !important;
    font-size: 16.5px !important;
    font-weight: 600 !important;
    color: #002531 !important;
    border-bottom: 1px solid rgba(31,95,168,0.08) !important;
    background: transparent !important;
    letter-spacing: -0.005em;
    border-radius: 10px !important;
  }
  .topbar .nav.open > li:last-child > a,
  .topbar .nav.open > li:last-child > button { border-bottom: 0 !important; }
  .topbar .nav.open > li > button[aria-haspopup] svg {
    width: 16px !important; height: 16px !important;
  }
  /* Submenu items — slightly indented, lighter */
  .topbar .nav.open .mega { padding: 4px 0 8px 8px !important; }
  .topbar .nav.open .mega a {
    padding: 12px 14px !important;
    font-size: 14.5px !important;
    color: #2F4856 !important;
    border-radius: 8px !important;
  }
  .topbar .nav.open .mega a:hover,
  .topbar .nav.open .mega a:active {
    background: rgba(31,95,168,0.06) !important;
  }
  .topbar .nav.open .mega .meta .t { font-weight: 600; color: #002531; }
  .topbar .nav.open .mega .meta .d { font-size: 12px; color: #5A6B75; }
}
@media (max-width: 540px) {
  .topbar-inner { padding: 14px 0 !important; min-height: 80px !important; }
  .topbar .brand img { height: 52px !important; max-height: none !important; }/* drawer-killed: .topbar .nav.open */

}
@media (max-width: 380px) {
  .topbar-inner { min-height: 72px !important; }
  .topbar .brand img { height: 46px !important; max-height: none !important; }
}

/* ============================================================================
   MOBILE HERO · animation/art reorders to AFTER text + buttons
   ============================================================================ */
@media (max-width: 980px) {
  /* Home hero */
  .hero-grid {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .hero-grid > .hero-art,
  .hero-grid > .hero-form,
  .hero-grid > [class*="art"],
  .hero-grid > [class*="animation"] { order: 2 !important; margin-top: 32px; }
  .hero-grid > .hero-copy,
  .hero-grid > div:first-child:not([class*="art"]):not([class*="form"]) { order: 1 !important; }
  
  /* MHero (market pages) */
  .mhero .mh-layout {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .mhero .mh-copy { order: 1 !important; }
  .mhero .mh-art { order: 2 !important; display: grid !important; margin-top: 36px; height: 280px; }
  
  /* About hero */
  .about-hero .ah-grid-layout {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .about-hero .ah-copy { order: 1 !important; }
  .about-hero .ah-art { order: 2 !important; display: grid !important; margin-top: 36px; height: 320px; }
}

/* On smaller phones, art shrinks further or hides */
@media (max-width: 540px) {
  .mhero .mh-art { height: 220px; margin-top: 28px; }
  .about-hero .ah-art { height: 240px; margin-top: 28px; }
  .about-hero .ah-card-stack { display: none; }
  .mhero .mh-chip { display: none; }
}

/* ============================================================================
   MOBILE TOPBAR · slim header, 2-line stacked lockup, perfect responsive layout
   Goal — logo + Login + Open Account + burger all fit cleanly on any phone
   without clipping. Burger never falls off the right edge.
   Note: the actual logo image is swapped to 2-line variant by an earlier
   block (`.topbar .brand img[src*="anax-logo-..."]` → content:url(...)).
   These rules govern container/padding/cta sizing only.
   ============================================================================ */
@media (max-width: 768px) {
  /* Container — safe horizontal padding so burger never clips the viewport edge */
  .topbar .container,
  .topbar-inner {
    padding-left: max(14px, env(safe-area-inset-left)) !important;
    padding-right: max(14px, env(safe-area-inset-right)) !important;
  }
  .topbar-inner {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    min-height: 64px !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
  }
  .topbar .brand { flex: 0 1 auto !important; min-width: 0 !important; }
  /* CTA cluster — flex-shrink so the burger always has its 44px */
  .topbar .nav-cta {
    gap: 6px !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }
  /* Burger — guaranteed slot on the right, never clips */
  html body header.topbar .burger,
  html body header.topbar #nav-burger {
    flex: 0 0 44px !important;
    margin-left: 4px !important;
    margin-right: 0 !important;
  }
  /* Drawer top offset matches slim header */
  .topbar .nav.open {
    top: 68px !important;
    max-height: calc(100vh - 68px) !important;
  }
}

@media (max-width: 540px) {
  .topbar-inner {
    min-height: 62px !important;
    gap: 8px !important;
  }
  /* Login button slimmer to give burger room */
  .topbar .nav-cta .btn-ghost,
  .topbar .nav-cta .btn:not(.btn-primary):not(.burger) {
    padding: 7px 10px !important;
    font-size: 12px !important;
    min-height: 34px !important;
  }
  .topbar .nav-cta .btn-primary {
    padding: 7px 12px !important;
    font-size: 12.5px !important;
    min-height: 34px !important;
  }
}

@media (max-width: 420px) {
  /* Very small phones — hide "Login" (still available inside drawer) */
  .topbar .nav-cta .btn-ghost,
  .topbar .nav-cta .btn:not(.btn-primary):not(.burger) {
    display: none !important;
  }
}

@media (max-width: 360px) {
  .topbar-inner { gap: 6px !important; min-height: 56px !important; }
  .topbar .nav-cta .btn-primary {
    padding: 6px 10px !important;
    font-size: 11.5px !important;
    min-height: 32px !important;
  }
}

/* ============================================================================
   "Get. Set. Grow." · Variant D — one-shot lift on rotator reveal
   Get. Set. stays on baseline; Grow. animates UP + scale on .active, holds.
   Universal — works wherever .tag-gsg is used.
   ============================================================================ */

.tag-gsg {
  display: inline-flex;
  align-items: flex-end;
  gap: 6px;
  white-space: nowrap;
  line-height: 1.1;
}
.gsg-base { display: inline-block; color: inherit; }
.gsg-grow {
  display: inline-block;
  color: #1F5FA8;
  font-weight: 800;
  transform-origin: bottom center;
  will-change: transform;
}

/* Animate up only when parent .tag-line is active (rotator reveal) */
.tag-line.tag-gsg.active .gsg-grow {
  animation: gsg-lift 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes gsg-lift {
  0%   { transform: translateY(0) scale(1); }
  100% { transform: translateY(-14px) scale(1.10); }
}

/* When .active removed (rotator cycles past), Grow drops back via the implicit
   default state — no exit keyframe needed; CSS transitions handle smooth return */
.tag-line.tag-gsg:not(.active) .gsg-grow {
  transform: translateY(0) scale(1);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reduced motion · keep meaning via static lift, kill spring animation */
@media (prefers-reduced-motion: reduce) {
  .tag-line.tag-gsg.active .gsg-grow,
  .tag-line.tag-gsg:not(.active) .gsg-grow {
    animation: none !important;
    transition: none !important;
    transform: translateY(-10px) scale(1.06) !important;
  }
}

/* Mobile · slightly smaller lift so it doesn't break line height on small screens */
@media (max-width: 540px) {
  @keyframes gsg-lift {
    0%   { transform: translateY(0) scale(1); }
    100% { transform: translateY(-10px) scale(1.08); }
  }
}

/* ============================================================================
   HERO STAGES 1/2/3 · trading-themed animations
   Stage 0 (3D arrow) preserved · these only style the new stages.
   ============================================================================ */

/* Shared frame container for new stages */
.stage-candle, .stage-globe, .stage-ticket {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.stage-candle.active, .stage-globe.active, .stage-ticket.active {
  opacity: 1;
  pointer-events: auto;
}

/* ----- Stage 1 · CANDLESTICK ----- */
.cs-frame {
  width: 100%; max-width: 380px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(31,95,168,0.14);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 18px 48px -18px rgba(31,95,168,0.30);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cs-head {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: #5A6B75;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.cs-sym { font-weight: 800; color: #002531; letter-spacing: 0.02em; }
.cs-tf {
  background: rgba(31,95,168,0.10);
  color: #1F5FA8;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 10.5px;
}
.cs-px { margin-left: auto; font-weight: 700; color: #002531; }
.cs-px .cs-up { color: #1A8F4E; font-style: normal; margin-left: 6px; font-size: 11px; }
.cs-chart { display: block; width: 100%; height: auto; }

/* Candle stagger draw-in */
.cs-c {
  transform-origin: center bottom;
  transform: scaleY(0);
  animation: cs-grow 0.45s cubic-bezier(0.22,1,0.36,1) forwards;
}
.cs-c rect { stroke: none; }
.cs-c line { stroke-width: 1.2; }
.cs-c.up   rect { fill: rgba(26,143,78,0.85); }
.cs-c.up   line { stroke: #1A8F4E; }
.cs-c.down rect { fill: rgba(194,53,79,0.80); }
.cs-c.down line { stroke: #C2354F; }
.cs-c[data-i="0"]  { animation-delay: 0.05s; }
.cs-c[data-i="1"]  { animation-delay: 0.10s; }
.cs-c[data-i="2"]  { animation-delay: 0.15s; }
.cs-c[data-i="3"]  { animation-delay: 0.20s; }
.cs-c[data-i="4"]  { animation-delay: 0.25s; }
.cs-c[data-i="5"]  { animation-delay: 0.30s; }
.cs-c[data-i="6"]  { animation-delay: 0.35s; }
.cs-c[data-i="7"]  { animation-delay: 0.40s; }
.cs-c[data-i="8"]  { animation-delay: 0.45s; }
.cs-c[data-i="9"]  { animation-delay: 0.50s; }
.cs-c[data-i="10"] { animation-delay: 0.55s; }
.cs-c[data-i="11"] { animation-delay: 0.60s; }
.cs-c[data-i="12"] { animation-delay: 0.65s; }
.cs-c[data-i="13"] { animation-delay: 0.70s; }
@keyframes cs-grow { to { transform: scaleY(1); } }

.cs-area-path { animation: cs-fade-in 0.6s ease 0.20s both; }
.cs-area-line { stroke-dasharray: 700; stroke-dashoffset: 700; animation: cs-draw 1.4s ease 0.35s forwards; }
@keyframes cs-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes cs-draw { to { stroke-dashoffset: 0; } }

.cs-pulse-ring {
  fill: rgba(31,95,168,0.20);
  transform-origin: center;
  animation: cs-pulse 1.8s ease-out infinite;
}
@keyframes cs-pulse {
  0%   { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.cs-foot {
  display: flex; gap: 8px; margin-top: 10px;
  font-size: 11px;
}
.cs-tag {
  background: rgba(26,143,78,0.12); color: #1A8F4E;
  padding: 5px 10px; border-radius: 999px; font-weight: 700;
  border: 1px solid rgba(26,143,78,0.30);
}
.cs-tag--sand { background: rgba(127,97,75,0.10); color: #7F614B; border-color: rgba(127,97,75,0.24); }

/* ----- Stage 2 · GLOBAL TRADING RADAR ----- */
.gl-frame {
  width: 100%; max-width: 380px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(31,95,168,0.14);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 18px 48px -18px rgba(31,95,168,0.30);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.gl-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase;
  color: #5A6B75; margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.gl-eyebrow { font-weight: 800; color: #1F5FA8; }
.gl-clock { font-weight: 700; color: #002531; font-size: 12px; letter-spacing: 0; }

.gl-globe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 220px;
  display: grid; place-items: center;
  margin: 0 auto;
}
.gl-orbit {
  position: absolute;
  border: 1px dashed rgba(31,95,168,0.25);
  border-radius: 50%;
  pointer-events: none;
}
.gl-orbit-1 { inset: 4%;  animation: gl-spin 30s linear infinite; }
.gl-orbit-2 { inset: 14%; border-color: rgba(127,97,75,0.25); animation: gl-spin 40s linear infinite reverse; }
.gl-orbit-3 { inset: 24%; animation: gl-spin 50s linear infinite; }
@keyframes gl-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

.gl-globe { position: relative; z-index: 2; width: 78%; max-width: 200px; aspect-ratio: 1 / 1; animation: gl-rotate 18s linear infinite; }
.gl-svg { display: block; width: 100%; height: 100%; }
@keyframes gl-rotate {
  0%, 100% { transform: rotateZ(0); }
  50%      { transform: rotateZ(2deg); }
}

.gl-hub-pulse {
  fill: rgba(31,95,168,0.25);
  transform-origin: center;
  transform-box: fill-box;
  animation: gl-pulse 2.4s ease-out infinite;
}
.gl-hub[data-hub="London"]   .gl-hub-pulse { animation-delay: 0.4s; }
.gl-hub[data-hub="NewYork"]  .gl-hub-pulse { animation-delay: 0.8s; }
.gl-hub[data-hub="Tokyo"]    .gl-hub-pulse { animation-delay: 1.2s; }
.gl-hub[data-hub="HongKong"] .gl-hub-pulse { animation-delay: 1.6s; }
.gl-hub[data-hub="Sydney"]   .gl-hub-pulse { animation-delay: 2.0s; }
@keyframes gl-pulse {
  0%   { transform: scale(0.35); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.gl-lines path {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: gl-line-draw 4s ease-in-out infinite;
}
.gl-lines path:nth-child(2) { animation-delay: 1s; }
.gl-lines path:nth-child(3) { animation-delay: 2s; }
.gl-lines path:nth-child(4) { animation-delay: 3s; }
@keyframes gl-line-draw {
  0%   { stroke-dashoffset: 80; }
  50%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -80; }
}

.gl-hub-label {
  position: absolute;
  font-size: 9.5px;
  font-weight: 700;
  color: #1F5FA8;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(31,95,168,0.16);
  padding: 3px 7px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 10px rgba(31,95,168,0.10);
  animation: gl-label-bob 4s ease-in-out infinite alternate;
}
.gl-l-1 { top: 22%; right: 4%; }
.gl-l-2 { top: 14%; left: 14%; animation-delay: 1s; }
.gl-l-3 { bottom: 22%; left: 2%; animation-delay: 2s; }
@keyframes gl-label-bob { to { transform: translateY(-4px); } }

.gl-foot {
  display: flex; justify-content: space-around; gap: 16px;
  margin-top: 12px; padding-top: 10px;
  border-top: 1px dashed rgba(31,95,168,0.18);
  font-size: 11.5px; color: #5A6B75;
}
.gl-stat b { color: #1F5FA8; font-size: 14px; font-weight: 800; margin-right: 4px; }

/* ----- Stage 3 · ORDER TICKET + TICKER ----- */
.tk-frame {
  width: 100%; max-width: 380px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(31,95,168,0.14);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 18px 48px -18px rgba(31,95,168,0.30);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tk-ticker {
  overflow: hidden;
  border-bottom: 1px solid rgba(31,95,168,0.10);
  background: linear-gradient(180deg, rgba(31,95,168,0.04), transparent);
}
.tk-tk-row {
  display: inline-flex; gap: 28px;
  white-space: nowrap;
  padding: 8px 0;
  animation: tk-marquee 18s linear infinite;
  font-size: 11.5px; color: #2F4856;
  font-variant-numeric: tabular-nums;
}
.tk-tk-row span { display: inline-flex; align-items: center; gap: 4px; }
.tk-tk-row b { color: #002531; font-weight: 800; }
.tk-tk-row .tk-up { color: #1A8F4E; font-style: normal; }
.tk-tk-row .tk-dn { color: #C2354F; font-style: normal; }
@keyframes tk-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tk-order {
  padding: 14px 16px;
}
.tk-order-hdr {
  display: flex; align-items: center; gap: 8px;
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #5A6B75; margin-bottom: 12px;
}
.tk-dot { width: 7px; height: 7px; border-radius: 50%; background: #1A8F4E; box-shadow: 0 0 0 0 rgba(26,143,78,0.45); animation: tk-dot-pulse 1.6s ease-out infinite; }
@keyframes tk-dot-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(26,143,78,0.45); }
  60%     { box-shadow: 0 0 0 8px rgba(26,143,78,0); }
}
.tk-label { color: #1F5FA8; font-weight: 800; }
.tk-mt5 { margin-left: auto; background: rgba(31,95,168,0.10); color: #1F5FA8; padding: 3px 8px; border-radius: 6px; font-weight: 700; }

.tk-order-body { display: grid; gap: 8px; }
.tk-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 6px 0; border-bottom: 1px dashed rgba(31,95,168,0.10); }
.tk-row:last-of-type { border-bottom: 0; }
.tk-k { color: #5A6B75; font-weight: 500; }
.tk-v { color: #002531; font-weight: 700; font-variant-numeric: tabular-nums; }

.tk-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.tk-btn {
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
  border: 0;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.tk-sell { background: #C2354F; color: #FFFFFF; box-shadow: 0 6px 14px rgba(194,53,79,0.25); }
.tk-sell:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(194,53,79,0.35); }
.tk-buy  { background: #1A8F4E; color: #FFFFFF; box-shadow: 0 6px 14px rgba(26,143,78,0.25); }
.tk-buy:hover  { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(26,143,78,0.35); }

.tk-toast {
  margin: 0 14px 14px;
  padding: 10px 12px;
  background: rgba(26,143,78,0.08);
  border: 1px solid rgba(26,143,78,0.24);
  border-radius: 10px;
  font-size: 12px;
  color: #1A8F4E;
  display: flex; align-items: center; gap: 8px;
  animation: tk-toast-slide 0.5s cubic-bezier(0.22,1,0.36,1) 0.6s both;
}
.tk-toast b { color: #0D5C32; font-weight: 800; }
.tk-toast em { font-style: normal; color: #5A6B75; }
.tk-toast-dot { width: 8px; height: 8px; border-radius: 50%; background: #1A8F4E; flex-shrink: 0; }
@keyframes tk-toast-slide {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Mobile · scale-down the new stages */
@media (max-width: 720px) {
  .cs-frame, .gl-frame, .tk-frame { max-width: 320px; }
  .gl-globe-wrap { max-height: 180px; }
  .gl-hub-label { font-size: 8.5px; padding: 2px 6px; }
  .tk-buttons .tk-btn { font-size: 11px; padding: 9px 10px; }
}
@media (max-width: 540px) {
  .cs-frame, .gl-frame, .tk-frame { max-width: 280px; padding: 12px; }
  .cs-head { font-size: 11px; }
  .cs-chart { max-height: 130px; }
  .gl-clock { font-size: 11px; }
  .gl-globe-wrap { max-height: 160px; }
  .gl-hub-label { display: none; }
  .tk-ticker .tk-tk-row { font-size: 10.5px; gap: 18px; }
  .tk-toast { font-size: 11px; margin: 0 12px 12px; padding: 8px 10px; }
}

/* Reduced-motion · keep static composition, no loops */
@media (prefers-reduced-motion: reduce) {
  .cs-c, .cs-area-line, .cs-area-path, .cs-pulse-ring,
  .gl-orbit, .gl-globe, .gl-hub-pulse, .gl-lines path, .gl-hub-label,
  .tk-tk-row, .tk-dot, .tk-toast { animation: none !important; }
  .cs-c { transform: scaleY(1) !important; }
  .cs-area-line { stroke-dashoffset: 0 !important; }
  .tk-toast { opacity: 1 !important; transform: none !important; }
}

/* ============================================================================
   HERO STAGES 1/2/3 · v2 transparent · no prices · educational
   ============================================================================ */

/* Stage container — transparent, centered, no card */
.stage-curve, .stage-compass, .stage-signal {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
  padding: 8px;
}
.stage-curve.active, .stage-compass.active, .stage-signal.active {
  opacity: 1;
}

/* Shared SVG sizing — fills container width up to comfortable cap */
.hv-svg, .nv-svg, .sg-svg {
  width: 100%;
  height: auto;
  max-width: 460px;
  display: block;
  filter: drop-shadow(0 18px 32px rgba(31,95,168,0.18));
}

/* ----- Stage 1 · Curve: Get → Set → Grow ----- */
.stage-curve .hv-area { opacity: 0; }
.stage-curve.active .hv-area { animation: hv-fade 1.2s ease 0.6s forwards; }
@keyframes hv-fade { to { opacity: 1; } }

.stage-curve .hv-line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
}
.stage-curve.active .hv-line { animation: hv-draw 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards; }
@keyframes hv-draw { to { stroke-dashoffset: 0; } }

.stage-curve .hv-dot {
  opacity: 0;
  transform-origin: center;
}
.stage-curve.active .hv-dot { animation: hv-dot-in 0.55s cubic-bezier(0.34,1.56,0.64,1) 2.0s forwards; }
@keyframes hv-dot-in {
  0%   { opacity: 0; transform: translate(360px, 18px) scale(0.4); }
  60%  { opacity: 1; transform: translate(360px, 18px) scale(1.2); }
  100% { opacity: 1; transform: translate(360px, 18px) scale(1); }
}
.stage-curve .hv-dot-halo {
  fill: rgba(31,95,168,0.25);
  transform-origin: center;
  transform-box: fill-box;
  animation: hv-halo 1.6s ease-out infinite;
}
@keyframes hv-halo {
  0%   { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.stage-curve .hv-marks text { opacity: 0; }
.stage-curve.active .hv-marks text { animation: hv-mark-in 0.45s ease forwards; }
.stage-curve.active .hv-marks text:nth-child(1) { animation-delay: 0.6s; }
.stage-curve.active .hv-marks text:nth-child(2) { animation-delay: 1.4s; }
.stage-curve.active .hv-marks text:nth-child(3) { animation-delay: 2.2s; }
@keyframes hv-mark-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 0.85; transform: translateY(0); } }

/* ----- Stage 2 · Compass · navigation ----- */
.stage-compass .nv-ring {
  transform-origin: 140px 140px;
  animation: nv-ring-spin 40s linear infinite;
}
@keyframes nv-ring-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

.stage-compass .nv-needle {
  transform-origin: 140px 140px;
  transform-box: fill-box;
}
.stage-compass.active .nv-needle {
  animation: nv-needle-find 5s cubic-bezier(0.34, 1.45, 0.64, 1) infinite;
}
@keyframes nv-needle-find {
  0%   { transform: rotate(-90deg); }
  25%  { transform: rotate(45deg); }
  50%  { transform: rotate(-30deg); }
  75%  { transform: rotate(20deg); }
  100% { transform: rotate(0deg); }
}

.stage-compass .nv-pt {
  transform-origin: center;
  transform-box: fill-box;
  animation: nv-pt-pulse 2.4s ease-in-out infinite;
}
.stage-compass .nv-p1 { animation-delay: 0s; }
.stage-compass .nv-p2 { animation-delay: 0.6s; }
.stage-compass .nv-p3 { animation-delay: 1.2s; }
.stage-compass .nv-p4 { animation-delay: 1.8s; }
@keyframes nv-pt-pulse {
  0%,100% { transform: scale(1); opacity: 0.85; }
  50%     { transform: scale(1.4); opacity: 1; }
}

.stage-compass .nv-route {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}
.stage-compass.active .nv-route {
  animation: nv-route-draw 4s ease-in-out infinite;
}
@keyframes nv-route-draw {
  0%   { stroke-dashoffset: 900; }
  60%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -900; }
}

/* ----- Stage 3 · Signal acceleration ----- */
.stage-signal .sg-slow {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
}
.stage-signal.active .sg-slow { animation: sg-draw-slow 2.2s ease 0.1s forwards; }
@keyframes sg-draw-slow { to { stroke-dashoffset: 0; } }

.stage-signal .sg-fast {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}
.stage-signal.active .sg-fast { animation: sg-draw-fast 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards; }
@keyframes sg-draw-fast { to { stroke-dashoffset: 0; } }

.stage-signal .sg-trail {
  stroke-dasharray: 16;
  animation: sg-trail-flow 1.4s linear infinite;
}
@keyframes sg-trail-flow { to { stroke-dashoffset: -200; } }

.stage-signal .sg-tip {
  opacity: 0;
}
.stage-signal.active .sg-tip { animation: sg-tip-in 0.5s cubic-bezier(0.34,1.56,0.64,1) 1.6s forwards; }
@keyframes sg-tip-in {
  0%   { opacity: 0; transform: translate(360px, 20px) scale(0.5); }
  60%  { opacity: 1; transform: translate(360px, 20px) scale(1.25); }
  100% { opacity: 1; transform: translate(360px, 20px) scale(1); }
}
.stage-signal .sg-tip-halo {
  fill: rgba(31,95,168,0.25);
  transform-origin: center;
  transform-box: fill-box;
  animation: sg-tip-halo 1.6s ease-out infinite;
}
@keyframes sg-tip-halo {
  0%   { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.stage-signal .sg-speed line {
  opacity: 0;
  transform-origin: right;
  transform-box: fill-box;
}
.stage-signal.active .sg-speed line { animation: sg-speed-in 0.4s ease forwards; }
.stage-signal.active .sg-speed line:nth-child(1) { animation-delay: 1.8s; }
.stage-signal.active .sg-speed line:nth-child(2) { animation-delay: 1.9s; }
.stage-signal.active .sg-speed line:nth-child(3) { animation-delay: 2.0s; }
@keyframes sg-speed-in {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 0.55; transform: scaleX(1); }
}

.stage-signal .sg-labels text { opacity: 0; }
.stage-signal.active .sg-labels text:nth-child(1) { animation: hv-mark-in 0.45s ease 1.0s forwards; }
.stage-signal.active .sg-labels text:nth-child(2) { animation: hv-mark-in 0.45s ease 2.0s forwards; }

/* Mobile · center horizontally below text + buttons, comfortable height */
@media (max-width: 980px) {
  .stage-curve, .stage-compass, .stage-signal {
    place-items: center !important;
  }
  .hv-svg, .nv-svg, .sg-svg {
    max-width: 360px;
    margin: 0 auto;
  }
}
@media (max-width: 540px) {
  .hv-svg, .nv-svg, .sg-svg { max-width: 280px; }
}
@media (max-width: 380px) {
  .hv-svg, .nv-svg, .sg-svg { max-width: 240px; }
}

/* Reduced motion · keep static composition */
@media (prefers-reduced-motion: reduce) {
  .stage-curve .hv-line, .stage-signal .sg-slow, .stage-signal .sg-fast { stroke-dashoffset: 0 !important; animation: none !important; }
  .stage-curve .hv-area, .stage-curve .hv-dot, .stage-signal .sg-tip { opacity: 1 !important; animation: none !important; }
  .stage-compass .nv-ring, .stage-compass .nv-needle, .stage-compass .nv-pt, .stage-compass .nv-route,
  .stage-signal .sg-trail, .stage-signal .sg-tip-halo, .stage-curve .hv-dot-halo { animation: none !important; }
  .stage-curve .hv-marks text, .stage-signal .sg-labels text { opacity: 0.85 !important; animation: none !important; }
}

/* ============================================================================
   HERO STAGES · mobile size bump (override mobile.css 240px cap)
   ============================================================================ */
@media (max-width: 980px) {
  .hero-art {
    max-width: 460px !important;
    width: 100% !important;
    margin: 0 auto !important;
    order: 2 !important;
  }
  .hero-stage {
    max-width: 100% !important;
    width: 100% !important;
    min-height: 280px !important;
    aspect-ratio: auto !important;
    position: relative;
  }
  .stage-curve, .stage-compass, .stage-signal {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
  }
  .hv-svg, .nv-svg, .sg-svg {
    max-width: 420px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
}
@media (max-width: 768px) {
  .hero-stage { min-height: 260px !important; }
  .hv-svg, .nv-svg, .sg-svg { max-width: 380px !important; }
}
@media (max-width: 540px) {
  .hero-art { max-width: 360px !important; }
  .hero-stage { min-height: 240px !important; }
  .hv-svg, .nv-svg, .sg-svg { max-width: 340px !important; }
}
@media (max-width: 380px) {
  .hero-art { max-width: 320px !important; }
  .hero-stage { min-height: 220px !important; }
  .hv-svg, .nv-svg, .sg-svg { max-width: 300px !important; }
}


@media (max-width: 980px) {
  body.menu-open {
    overflow: hidden;
  }

  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 220;
    background: rgba(0, 37, 49, 0.66);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }/* drawer-killed: .topbar .nav */
/* drawer-killed: body.menu-open .topbar .nav,   .topbar .nav.open */


  /* Legacy slide-down drawer pseudo labels — KILLED. New drawer uses .mnav-head + .mnav-foot. */
  .topbar .nav::before,
  .topbar .nav::after {
    content: none !important;
    display: none !important;
  }

  .nav-close {
    position: fixed;
    top: calc(14px + env(safe-area-inset-top)) !important;
    right: 14px !important;
    width: 42px;
    height: 42px;
    display: none;
    place-items: center;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(31,95,168,0.16);
    box-shadow: 0 12px 28px rgba(0,37,49,0.10);
    color: var(--ink);
    z-index: 252 !important;
  }

  body.menu-open .nav-close {
    display: grid !important;
  }

  .topbar .nav > li {
    list-style: none !important;
    width: 100% !important;
  }

  .topbar .nav > li > a,
  .topbar .nav > li > button {
    min-height: 48px !important;
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid rgba(31,95,168,0.13) !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,0.86) !important;
    color: var(--ink) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-align: left !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
  }

  .topbar .nav > li > button[aria-haspopup] {
    position: relative;
    padding-right: 56px !important;
  }

  /* Drawer chevron — single SVG chevron only, no CSS pseudo arrows.
     Legacy ::before/::after duplicated the chevron causing double V icon. */
  .topbar .nav > li > button[aria-haspopup]::before,
  .topbar .nav > li > button[aria-haspopup]::after {
    content: none !important;
    display: none !important;
  }

  .topbar .nav .mega {
    display: none !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .topbar .nav > li.open > .mega {
    display: block !important;
    padding: 8px 0 2px !important;
  }

  .topbar .nav .mega-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 8px !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,0.58);
  }

  .topbar .nav .mega-col h5 {
    margin: 6px 4px !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: 0.18em !important;
    color: var(--muted) !important;
    text-transform: uppercase;
  }

  .topbar .nav .mega-col ul {
    display: grid !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .topbar .nav .mega-col a {
    min-height: 50px !important;
    padding: 8px 10px !important;
    border-radius: 14px !important;
    background: #fff !important;
    display: flex;
    gap: 10px;
    align-items: center;
  }
}

/* ============================================================================
   HOME HERO · mobile order — text → animation → buttons → trust checks
   Uses display: contents on the copy wrapper so flex order can move buttons
   to come AFTER the animation column.
   ============================================================================ */
@media (max-width: 980px) {
  .hero .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  /* Dissolve the wrapper so its children become direct flex items */
  .hero .hero-grid > div:first-child {
    display: contents !important;
  }
  /* Order: badge → headline → paragraph → animation → buttons → gold-strip → trust checks */
  .hero .hero-grid .sca-badge        { order: 1 !important; align-self: flex-start; }
  .hero .hero-grid .hero-h1          { order: 2 !important; }
  .hero .hero-grid .sub              { order: 3 !important; }
  .hero .hero-grid .hero-art         { order: 4 !important; margin: 8px auto 4px !important; }
  .hero .hero-grid .cta-row          { order: 5 !important; flex-wrap: wrap; }
  .hero .hero-grid .hero-gold-strip  { order: 6 !important; }
  .hero .hero-grid .hero-verifieds   { order: 7 !important; }

  /* Buttons full-width on mobile so they read as the primary action */
  .hero .hero-grid .cta-row .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* ============================================================================
   HOME HERO · mobile · everything CENTER aligned (badge, h1, p, buttons, checks)
   ============================================================================ */
@media (max-width: 980px) {
  .hero .hero-grid {
    align-items: center !important;
    text-align: center !important;
  }
  .hero .hero-grid .sca-badge {
    align-self: center !important;
  }
  .hero .hero-grid .hero-h1,
  .hero .hero-grid .sub {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero .hero-grid .sub {
    max-width: 540px;
  }
  .hero .hero-grid .cta-row {
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
    max-width: 460px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero .hero-grid .hero-verifieds {
    justify-content: center !important;
    text-align: center !important;
    flex-wrap: wrap !important;
    max-width: 540px;
    margin: 12px auto 0 !important;
  }
  .hero .hero-grid .hero-verifieds span {
    justify-content: center;
  }
  .hero .hero-grid .hero-art {
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* ============================================================================
   .nav-close baseline · hide globally; only show when menu open on mobile.
   Was leaking as bottom-left X on desktop because mobile rules were scoped
   to media queries and JS injects the button into <body>.
   ============================================================================ */
.nav-close { display: none !important; }
body.menu-open .nav-close { display: inline-flex !important; }
@media (min-width: 769px) {
  .nav-close { display: none !important; }
  body.menu-open .nav-close { display: none !important; }
}

/* ============================================================================
   MOBILE ZOOM LOCK
   Viewport meta locks page scale to 1.0. CSS layer prevents native zoom
   gestures (pinch / double-tap) and iOS input focus auto-zoom.
   ============================================================================ */
html, body {
  touch-action: pan-x pan-y;
  -ms-touch-action: pan-x pan-y;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (max-width: 768px) {
  /* Force every text input ≥16px so iOS Safari does not auto-zoom on focus */
  input, select, textarea,
  input[type="text"], input[type="email"], input[type="tel"],
  input[type="number"], input[type="search"], input[type="password"],
  input[type="url"], input[type="date"], input[type="datetime-local"] {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }
  /* Belt-and-braces: disable double-tap zoom on tappables */
  a, button, .btn, [role="button"] {
    touch-action: manipulation;
  }
}

/* ============================================================================
   LIVE-PRICE TICK FLASH · used by live-prices.js
   .tick-up / .tick-dn animate background flash for 800ms when price moves.
   ============================================================================ */
[data-tick], [data-spread], [data-pnl] {
  transition: color 0.25s ease, background-color 0.6s ease;
  border-radius: 3px;
}
.tick-up {
  animation: tick-flash-up 0.9s ease-out;
}
.tick-dn {
  animation: tick-flash-dn 0.9s ease-out;
}
@keyframes tick-flash-up {
  0%   { background-color: rgba(31,143,74,0.22); color: #1F8F4A; }
  100% { background-color: transparent; }
}
@keyframes tick-flash-dn {
  0%   { background-color: rgba(179,58,74,0.22); color: #B33A4A; }
  100% { background-color: transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .tick-up, .tick-dn { animation: none !important; }
}

/* ============================================================================
   TRADINGVIEW WIDGET INTEGRATION · ticker tape + embedded widgets
   ============================================================================ */
/* Custom single-line ticker · pure DOM marquee · real TV scanner data */
.anax-tv-ticker {
  position: relative;
  z-index: 5;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFCFE 100%);
  border-bottom: 1px solid rgba(31,95,168,0.10);
  height: 36px;
  max-height: 36px;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: var(--ff, 'TT Hoves Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
}
.anax-tv-ticker .atv-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  margin: 0 12px;
  background: linear-gradient(135deg, #1F8F4A 0%, #167539 100%);
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.16em;
  border-radius: 4px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(31,143,74,0.30);
}
.anax-tv-ticker .atv-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  animation: atv-pulse 1.4s ease-out infinite;
}
@keyframes atv-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  50%      { box-shadow: 0 0 0 4px rgba(255,255,255,0); }
}
.anax-tv-ticker .atv-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
.anax-tv-ticker .atv-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: atv-scroll 90s linear infinite;
  will-change: transform;
}
.anax-tv-ticker:hover .atv-track {
  animation-play-state: paused;
}
@keyframes atv-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.anax-tv-ticker .atv-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  border-right: 1px solid rgba(31,95,168,0.10);
  font-size: 12.5px;
  line-height: 1;
  height: 36px;
}
.anax-tv-ticker .atv-sym {
  font-weight: 800;
  color: #002531;
  letter-spacing: 0.02em;
  font-size: 11.5px;
}
.anax-tv-ticker .atv-px {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: #1F5FA8;
  font-size: 12.5px;
}
.anax-tv-ticker .atv-chg {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 11.5px;
  padding: 1px 6px;
  border-radius: 3px;
}
.anax-tv-ticker .atv-chg.up {
  color: #1F8F4A;
  background: rgba(31,143,74,0.10);
}
.anax-tv-ticker .atv-chg.dn {
  color: #B33A4A;
  background: rgba(179,58,74,0.10);
}

/* Mobile · slightly smaller, same single line */
@media (max-width: 768px) {
  .anax-tv-ticker { height: 34px; max-height: 34px; }
  .anax-tv-ticker .atv-pill {
    font-size: 8.5px;
    padding: 3px 8px;
    margin: 0 8px;
    letter-spacing: 0.12em;
  }
  .anax-tv-ticker .atv-dot { width: 5px; height: 5px; }
  .anax-tv-ticker .atv-item {
    padding: 0 14px;
    height: 34px;
    gap: 6px;
  }
  .anax-tv-ticker .atv-sym { font-size: 10.5px; }
  .anax-tv-ticker .atv-px { font-size: 11.5px; }
  .anax-tv-ticker .atv-chg { font-size: 10.5px; padding: 1px 5px; }
  .anax-tv-ticker .atv-track { animation-duration: 70s; }
}

@media (prefers-reduced-motion: reduce) {
  .anax-tv-ticker .atv-track { animation: none !important; }
  .anax-tv-ticker .atv-dot { animation: none !important; }
}

/* Generic TV widget container shell */
.tv-block {
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.14);
  border-radius: 16px;
  padding: 14px;
  overflow: hidden;
  position: relative;
  min-height: 160px;
}
.tv-block .tradingview-widget-container {
  width: 100% !important;
  height: 100% !important;
}
.tv-block iframe {
  display: block;
  border-radius: 8px;
}
.tv-block .tv-source-note {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #5A6B75;
  text-align: right;
  text-transform: uppercase;
}

/* Hide TradingView default branding strip if present */
.tradingview-widget-copyright {
  font-size: 10px !important;
  color: #5A6B75 !important;
  margin-top: 4px;
  text-align: right;
}
.tradingview-widget-copyright a { color: #1F5FA8; text-decoration: none; }

/* Mobile fine-tune */
@media (max-width: 540px) {
  .anax-tv-ticker .tradingview-widget-container { min-height: 42px; }
}

/* ============================================================================
   TRADINGVIEW LIVE-MARKETS GRID · per-symbol animated cards
   Replaces single Symbol Overview block on market pages.
   ============================================================================ */
.tv-live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.tv-live-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.14);
  border-radius: 18px;
  padding: 14px 14px 8px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,37,49,0.05);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
  opacity: 0;
  transform: translateY(18px);
  animation: tv-card-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.tv-live-card:nth-child(1) { animation-delay: 0.05s; }
.tv-live-card:nth-child(2) { animation-delay: 0.12s; }
.tv-live-card:nth-child(3) { animation-delay: 0.19s; }
.tv-live-card:nth-child(4) { animation-delay: 0.26s; }
.tv-live-card:nth-child(5) { animation-delay: 0.33s; }
.tv-live-card:nth-child(6) { animation-delay: 0.40s; }
@keyframes tv-card-rise {
  to { opacity: 1; transform: translateY(0); }
}
.tv-live-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(31,95,168,0) 0%, rgba(31,95,168,0.35) 50%, rgba(179,154,126,0.35) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.32s ease;
  pointer-events: none;
}
.tv-live-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(31,95,168,0.18);
  border-color: rgba(31,95,168,0.30);
}
.tv-live-card:hover::before { opacity: 1; }
.tv-live-card .tv-card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  padding: 0 4px;
}
.tv-live-card .tv-card-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #002531;
}
.tv-live-card .tv-card-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.10em;
  color: #1F8F4A;
  text-transform: uppercase;
}
.tv-live-card .tv-card-live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1F8F4A;
  animation: tv-live-pulse 1.6s ease-out infinite;
  position: relative;
}
@keyframes tv-live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(31,143,74,0.50); }
  100% { box-shadow: 0 0 0 7px rgba(31,143,74,0); }
}
.tv-live-card .tv-card-widget {
  position: relative;
  height: 200px;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(180deg, #F9FBFE 0%, #FFFFFF 100%);
}
.tv-live-card .tradingview-widget-container,
.tv-live-card .tradingview-widget-container__widget,
.tv-live-card iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border-radius: 10px;
}
.tv-live-card .tradingview-widget-copyright {
  font-size: 9px !important;
  color: #5A6B75 !important;
  text-align: right;
  padding: 4px 6px 0;
  letter-spacing: 0.02em;
}
.tv-live-card .tradingview-widget-copyright a { color: #1F5FA8; }

/* Mobile */
@media (max-width: 540px) {
  .tv-live-grid { grid-template-columns: 1fr; gap: 14px; }
  .tv-live-card .tv-card-widget { height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  .tv-live-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .tv-live-card .tv-card-live::before { animation: none !important; }
}

/* ============================================================================
   TRADINGVIEW INLINE TICKER · single-line scrolling strip per page
   ============================================================================ */
.tv-inline-ticker {
  position: relative;
  margin-top: 28px;
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.14);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,37,49,0.06);
}
.tv-inline-ticker .tradingview-widget-container {
  width: 100%;
  min-height: 46px;
}
.tv-inline-ticker iframe { display: block; width: 100% !important; }
.tv-inline-ticker .tradingview-widget-copyright {
  font-size: 10px !important;
  color: #5A6B75 !important;
  padding: 4px 14px;
  text-align: right;
}

/* ============================================================================
   TRADINGVIEW MAIN-PRODUCT CARDS · single box per symbol
   Larger, content-focused cards · main products only per page
   ============================================================================ */
.tv-main-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.tv-main-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.14);
  border-radius: 22px;
  padding: 20px 20px 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,37,49,0.06);
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.36s ease,
              border-color 0.32s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: tv-main-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.tv-main-card:nth-child(1) { animation-delay: 0.08s; }
.tv-main-card:nth-child(2) { animation-delay: 0.16s; }
.tv-main-card:nth-child(3) { animation-delay: 0.24s; }
.tv-main-card:nth-child(4) { animation-delay: 0.32s; }
@keyframes tv-main-rise {
  to { opacity: 1; transform: translateY(0); }
}
.tv-main-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(31,95,168,0.50) 0%, rgba(179,154,126,0.50) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.36s ease;
  pointer-events: none;
}
.tv-main-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(31,95,168,0.18);
}
.tv-main-card:hover::after { opacity: 1; }

.tv-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(31,95,168,0.08);
  margin-bottom: 12px;
}
.tv-main-head .tv-main-sym {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tv-main-head .tv-main-sym .tv-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #002531;
}
.tv-main-head .tv-main-sym .tv-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: #5A6B75;
  text-transform: uppercase;
}
.tv-main-head .tv-main-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.10em;
  color: #1F8F4A;
  text-transform: uppercase;
}
.tv-main-head .tv-main-live::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1F8F4A;
  animation: tv-main-pulse 1.5s ease-out infinite;
}
@keyframes tv-main-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(31,143,74,0.55); }
  100% { box-shadow: 0 0 0 9px rgba(31,143,74,0); }
}

.tv-main-widget {
  position: relative;
  height: 260px;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(180deg, #F6FAFE 0%, #FFFFFF 100%);
}
.tv-main-card .tradingview-widget-container,
.tv-main-card .tradingview-widget-container__widget,
.tv-main-card iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border-radius: 12px;
}

.tv-main-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(31,95,168,0.08);
}
.tv-main-foot .tv-main-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: #1F5FA8;
  text-decoration: none;
  transition: gap 0.22s ease, color 0.22s ease;
}
.tv-main-foot .tv-main-cta:hover {
  gap: 10px;
  color: #002531;
}
.tv-main-foot .tv-main-cta svg { width: 14px; height: 14px; }
.tv-main-foot .tv-source {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #5A6B75;
  text-transform: uppercase;
}
.tv-main-foot .tv-source a { color: #1F5FA8; text-decoration: none; }

.tv-main-card .tradingview-widget-copyright { display: none !important; }

@media (max-width: 540px) {
  .tv-main-grid { grid-template-columns: 1fr; gap: 16px; }
  .tv-main-widget { height: 220px; }
  .tv-main-head .tv-main-sym .tv-name { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .tv-main-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .tv-main-head .tv-main-live::before { animation: none !important; }
}

/* ============================================================================
   TV MAIN CARDS · HORIZONTAL AUTO-SCROLL CAROUSEL
   Replaces grid · single row · auto-advances · manual swipe enabled
   ============================================================================ */
.tv-main-carousel {
  position: relative;
  margin-top: 32px;
  padding: 4px 0;
}
.tv-main-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(31,95,168,0.30) transparent;
  padding: 4px 4px 18px;
  -webkit-overflow-scrolling: touch;
}
.tv-main-track::-webkit-scrollbar {
  height: 6px;
}
.tv-main-track::-webkit-scrollbar-track {
  background: rgba(31,95,168,0.06);
  border-radius: 3px;
}
.tv-main-track::-webkit-scrollbar-thumb {
  background: rgba(31,95,168,0.30);
  border-radius: 3px;
}
.tv-main-track::-webkit-scrollbar-thumb:hover {
  background: rgba(31,95,168,0.50);
}
.tv-main-track .tv-main-card {
  flex: 0 0 360px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
@media (max-width: 540px) {
  .tv-main-track .tv-main-card { flex: 0 0 86vw; }
}
.tv-main-track .tv-main-card {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}
.tv-main-track .tv-main-card:hover {
  transform: translateY(-4px) !important;
}

/* Subtle edge gradient hints — show there's more to scroll */
.tv-main-carousel::before,
.tv-main-carousel::after {
  content: '';
  position: absolute;
  top: 4px; bottom: 18px;
  width: 32px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
}
.tv-main-carousel::before {
  left: 0;
  background: linear-gradient(90deg, rgba(244,248,253,1), rgba(244,248,253,0));
}
.tv-main-carousel::after {
  right: 0;
  background: linear-gradient(-90deg, rgba(244,248,253,1), rgba(244,248,253,0));
}

.tv-main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}
.tv-main-nav button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(31,95,168,0.22);
  background: #FFFFFF;
  color: #1F5FA8;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: background 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
  box-shadow: 0 4px 12px rgba(31,95,168,0.10);
}
.tv-main-nav button:hover {
  background: #1F5FA8;
  color: #FFFFFF;
  border-color: #1F5FA8;
  transform: translateY(-2px);
}
.tv-main-nav button svg { width: 16px; height: 16px; }
.tv-main-nav .tv-dots {
  display: inline-flex;
  gap: 6px;
}
.tv-main-nav .tv-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(31,95,168,0.22);
  transition: background 0.22s ease, transform 0.22s ease;
  cursor: pointer;
}
.tv-main-nav .tv-dots span.active {
  background: #1F5FA8;
  transform: scale(1.3);
}

/* ============================================================================
   MOBILE AUDIT FIX · prevent box cutoff + ensure button text visibility
   Applied at <= 768px. Surgical overrides for every recurring mobile bug.
   ============================================================================ */
@media (max-width: 768px) {

  /* ---------- 1. CONTAINERS · never overflow ---------- */
  body, html {
    overflow-x: clip !important;
    max-width: 100vw !important;
  }
  .container,
  .section .container,
  section .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  section, .section {
    overflow-x: clip;
    max-width: 100vw;
    box-sizing: border-box;
  }

  /* ---------- 2. TV CAROUSEL · cards visible, smooth scroll, no clip ---------- */
  .tv-main-carousel {
    margin-left: -8px;
    margin-right: -8px;
  }
  .tv-main-carousel::before,
  .tv-main-carousel::after { display: none !important; }
  .tv-main-track {
    padding: 4px 16px 18px !important;
    scroll-padding: 16px;
    gap: 14px !important;
  }
  .tv-main-track .tv-main-card {
    flex: 0 0 88vw !important;
    max-width: 88vw !important;
    scroll-snap-align: center;
  }
  .tv-main-widget {
    height: 200px !important;
  }
  .tv-main-nav button {
    width: 36px !important;
    height: 36px !important;
  }

  /* ---------- 3. TV TICKER TAPE · don't overflow ---------- */
  .anax-tv-ticker {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden;
  }
  .anax-tv-ticker iframe {
    width: 100% !important;
    max-width: 100vw !important;
  }

  /* ---------- 4. TIER TOGGLES · readable + wrap ---------- */
  .ls-tiers, .ds-toggle, .fe-tabs, .tc-toggle, .device-switch .ds-toggle {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px !important;
  }
  .ls-tier, .ds-toggle button, .fe-tabs button, .tc-toggle button {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 9px 12px !important;
    font-size: 12.5px !important;
    white-space: nowrap;
  }
  .ls-tier .ls-tier-name { font-size: 13px !important; }
  .ls-tier .ls-tier-sub  { font-size: 10.5px !important; }

  /* ---------- 5. BUTTONS · ALWAYS show text ---------- */
  .btn, .btn-primary, .btn-secondary, .btn-ghost, .btn-ghost-on-dark,
  .btn-lg, .btn-sm,
  .acc-cta-prime, .acc-cta-pro, .acc-cta-elite,
  .chart-launch-btn, .waitlist-cta {
    white-space: normal !important;
    word-break: keep-all;
    overflow-wrap: anywhere;
    min-height: 44px !important;
    padding: 12px 18px !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  .btn svg, .acc-cta-prime svg, .acc-cta-pro svg, .acc-cta-elite svg,
  .chart-launch-btn svg, .waitlist-cta svg {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
  }
  /* CTA rows · full-width stacked buttons on small screens */
  .ph-cta-row, .ah-cta-row, .mh-cta-row, .cta-row, .ph-cta-row {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100%;
  }
  .ph-cta-row > *, .ah-cta-row > *, .mh-cta-row > *, .cta-row > *,
  .ph-cta-row > .btn, .ph-cta-row > button {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
  }

  /* ---------- 6. ACCOUNT TIER CARDS · grid 1-col, ensure CTA visible ---------- */
  .tiers, .tiers-3 {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .tier {
    padding: 22px 18px !important;
  }
  .tier .btn {
    width: 100% !important;
    margin-top: 14px !important;
  }

  /* ---------- 7. ACCOUNT-HERO LADDER + DESK + BOOK · prevent cutoff ---------- */
  .ah-ladder, .ah-growth, .ah-desk, .ah-book {
    max-width: 100% !important;
    width: 100% !important;
    aspect-ratio: auto !important;
    padding: 16px !important;
  }
  .ah-desk .ad-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .ah-desk .ad-cell { padding: 10px !important; }
  .ah-desk .ad-cell .ad-num { font-size: 19px !important; }
  .ah-book .ab-rows { font-size: 11px !important; }
  .ah-ladder .al-row {
    grid-template-columns: 56px 1fr auto !important;
    gap: 8px !important;
  }
  .ah-ladder .al-val { font-size: 11.5px !important; }

  /* ---------- 8. PLATFORM HERO · tri-device + chart shrink ---------- */
  .ph-tri, .ph-mt5, .ph-browser, .ph-phone {
    max-width: 100% !important;
    width: 100% !important;
  }
  .ph-phone { max-width: 240px !important; }

  /* ---------- 9. FEATURE EXPLORER · stage shrink ---------- */
  .feature-explorer .fe-stage {
    padding: 16px !important;
    min-height: 280px !important;
  }
  .feature-explorer .fe-art {
    min-height: 200px !important;
    padding: 14px !important;
  }
  .feature-explorer .fe-stat-row {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }
  .feature-explorer .fe-stat { padding: 8px !important; }
  .feature-explorer .fe-stat .num { font-size: 17px !important; }
  .feature-explorer .fe-stat .lab { font-size: 9px !important; }

  /* ---------- 10. SPREAD CALCULATOR · single col + readable ---------- */
  .spread-calc .sc-card {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 18px !important;
  }
  .spread-calc .sc-big { font-size: 28px !important; }

  /* ---------- 11. TABLES · horizontal scroll if needed ---------- */
  .table-wrap, .card[style*="overflow:hidden"] {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .table-wrap table, .tier-matrix {
    min-width: 540px;
    font-size: 12.5px !important;
  }

  /* ---------- 12. GRIDS · single col where appropriate ---------- */
  .grid.c-3, .grid.c-4, .grid.c-6 { grid-template-columns: 1fr !important; }
  .grid.c-2 { grid-template-columns: 1fr !important; gap: 14px !important; }
  .form-grid { grid-template-columns: 1fr !important; }

  /* ---------- 13. SECTION INTERNAL · 2-col → 1-col ---------- */
  section .container[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    max-width: 100% !important;
  }

  /* ---------- 14. HERO ART · contain not overflow ---------- */
  .hero .hero-grid, .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .hero-art img, .hero-art svg, .mhero-art img, .ah-stage img,
  .ph-stage img, .fx-img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* ---------- 15. TOPBAR · no horizontal overflow ---------- */
  .topbar, .topbar-inner {
    max-width: 100vw !important;
    overflow-x: hidden;
  }

  /* ---------- 16. FOOTER · stack columns ---------- */
  footer.site-footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 22px 14px !important;
  }
  footer.site-footer .footer-brand {
    grid-column: 1 / -1 !important;
  }

  /* ---------- 17. ANY ABSOLUTE CHILD · constrain to parent ---------- */
  .fx-scene .fx-ticker {
    max-width: 60vw;
  }
  .fx-ticker .fx-price-row { white-space: nowrap; font-size: 11.5px; }

  /* ---------- 18. SVG ICONS · default size cap ---------- */
  .ph-chip svg, .ah-chip svg, .btn svg { max-width: 16px; max-height: 16px; }
}

/* ============================================================================
   <= 540px · stricter overrides
   ============================================================================ */
@media (max-width: 540px) {
  .tv-main-track .tv-main-card {
    flex: 0 0 90vw !important;
    max-width: 90vw !important;
  }
  .tv-main-widget { height: 180px !important; }

  .ah-desk .ad-grid { grid-template-columns: 1fr 1fr !important; }

  /* All hero h1 down-scale */
  .platform-hero h1, .account-hero h1, .mhero h1, .about-hero h1, .hero h1 {
    font-size: clamp(26px, 7vw, 36px) !important;
    line-height: 1.1 !important;
  }
  .platform-hero .ph-lead, .account-hero .ah-lead, .mhero p, .hero .lead {
    font-size: 14.5px !important;
  }

  footer.site-footer .footer-grid {
    grid-template-columns: 1fr !important;
  }
  footer.site-footer .footer-grid > div { padding-bottom: 6px; }

  /* Tier ladder visible row layout */
  .ah-ladder .al-row {
    grid-template-columns: 44px 1fr !important;
  }
  .ah-ladder .al-val {
    grid-column: 1 / -1;
    text-align: right;
    margin-top: 4px;
    font-size: 11px !important;
  }
  .ah-ladder .al-bar { grid-column: 2 / -1; }
}

/* ============================================================================
   TV CAROUSEL · MOBILE PERFECT FIX
   Specifically prevents card cutoff on mobile across all market pages.
   Replaces earlier mobile rules with surgical edge handling.
   ============================================================================ */
@media (max-width: 768px) {
  /* Container · break out of container padding so carousel uses full viewport */
  .tv-main-carousel {
    margin-left: calc(-1 * 16px) !important;
    margin-right: calc(-1 * 16px) !important;
    width: calc(100% + 32px) !important;
    max-width: calc(100% + 32px) !important;
    padding: 0 !important;
  }
  /* Track · padding gives breathing room for shadows + leaves space for first/last card peek */
  .tv-main-track {
    padding: 8px 16px 22px !important;
    gap: 16px !important;
    scroll-padding-left: 16px !important;
    scroll-padding-right: 16px !important;
    /* Hide scrollbar visually on mobile */
    scrollbar-width: none !important;
  }
  .tv-main-track::-webkit-scrollbar { display: none !important; }

  /* Card · 85vw so user sees current card fully + hint of next card */
  .tv-main-track .tv-main-card {
    flex: 0 0 calc(100vw - 64px) !important;
    max-width: calc(100vw - 64px) !important;
    min-width: 260px !important;
    margin: 0 !important;
    padding: 18px 16px 14px !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
    scroll-snap-align: center !important;
  }
  .tv-main-card .tv-main-head {
    padding-bottom: 10px !important;
    margin-bottom: 10px !important;
  }
  .tv-main-card .tv-main-head .tv-name { font-size: 15.5px !important; }
  .tv-main-card .tv-main-head .tv-tag  { font-size: 10px !important; }
  .tv-main-card .tv-main-head .tv-main-live { font-size: 9.5px !important; }

  /* Widget · fixed height that fits */
  .tv-main-widget {
    height: 200px !important;
    border-radius: 10px !important;
  }

  /* Footer row · stack on very narrow */
  .tv-main-card .tv-main-foot {
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 8px !important;
    margin-top: 10px !important;
  }
  .tv-main-card .tv-main-foot .tv-main-cta { font-size: 12px !important; }
  .tv-main-card .tv-main-foot .tv-source { font-size: 9px !important; }

  /* Edge gradients off · they were clipping cards */
  .tv-main-carousel::before,
  .tv-main-carousel::after { display: none !important; }

  /* Nav buttons centered + spacing */
  .tv-main-nav {
    gap: 12px !important;
    margin-top: 8px !important;
    padding: 0 16px;
  }
  .tv-main-nav button { width: 38px !important; height: 38px !important; }
  .tv-main-nav .tv-dots span { width: 7px; height: 7px; }
}

/* < 540px · stricter card width */
@media (max-width: 540px) {
  .tv-main-track .tv-main-card {
    flex: 0 0 calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
    padding: 16px 14px 12px !important;
  }
  .tv-main-track {
    padding: 8px 12px 22px !important;
    gap: 14px !important;
    scroll-padding-left: 12px !important;
  }
  .tv-main-widget { height: 185px !important; }
  .tv-main-carousel {
    margin-left: -12px !important;
    margin-right: -12px !important;
    width: calc(100% + 24px) !important;
    max-width: calc(100% + 24px) !important;
  }
}

/* < 380px · tightest devices */
@media (max-width: 380px) {
  .tv-main-track .tv-main-card {
    flex: 0 0 calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    padding: 14px 12px 10px !important;
  }
  .tv-main-widget { height: 170px !important; }
  .tv-main-card .tv-main-head .tv-name { font-size: 14.5px !important; }
}

/* ============================================================================
   FOOTER · MOBILE GROUPING FIX
   Each h5 + its <ul> must stay together inside same grid cell, never split.
   ============================================================================ */
@media (max-width: 768px) {
  footer.site-footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px 20px !important;
    align-items: start;
  }
  footer.site-footer .footer-grid > div {
    display: block;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  /* The brand block · always full width on top */
  footer.site-footer .footer-brand {
    grid-column: 1 / -1 !important;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    margin-bottom: 0;
  }
  /* Each column heading + items in tight stack */
  footer.site-footer .footer-grid > div h5 {
    margin: 0 0 10px;
    font-size: 11px !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase;
  }
  footer.site-footer .footer-grid > div h5:not(:first-child) {
    margin-top: 18px !important;
  }
  footer.site-footer .footer-grid > div ul {
    margin: 0 0 4px !important;
    padding: 0 !important;
    list-style: none;
  }
  footer.site-footer .footer-grid > div li {
    font-size: 12.5px !important;
    line-height: 1.7 !important;
  }
}

@media (max-width: 480px) {
  footer.site-footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 14px !important;
  }
  footer.site-footer .footer-grid > div li { font-size: 12px !important; }
}

/* < 380px · ultra narrow · single column to guarantee zero clip */
@media (max-width: 380px) {
  footer.site-footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
}

/* ============================================================================
   ABOUT HERO · MOBILE PERFECT
   Make animation visible + properly sized on phones.
   ============================================================================ */
@media (max-width: 980px) {
  /* Restore animation visibility · stack below copy */
  .about-hero .ah-art {
    display: block !important;
    position: relative !important;
    width: 100%;
    max-width: 420px;
    margin: 24px auto 0;
    aspect-ratio: 1 / 0.85;
    transform: scale(0.92);
    transform-origin: center top;
  }
  .about-hero .ah-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    text-align: center;
  }
  .about-hero .ah-copy { text-align: left; }
  .about-hero .ah-title { font-size: clamp(28px, 8vw, 42px) !important; }
  .about-hero .ah-lead { font-size: 15px !important; }
  .about-hero .ah-cta-row { gap: 10px !important; }
  .about-hero .ah-cta-row .btn { flex: 1 1 auto; min-width: 0; }
  .about-hero .ah-stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 36px 0 32px !important;
  }
  .about-hero .ah-orb-1,
  .about-hero .ah-orb-2,
  .about-hero .ah-orb-3 { display: none !important; }
  .about-hero .ah-brandmark { opacity: 0.10 !important; max-width: 70% !important; }
  .about-hero .ah-art {
    max-width: 340px;
    transform: scale(0.85);
  }
  .about-hero .ah-card { padding: 14px 16px !important; }
  .about-hero .ah-card-h { font-size: 18px !important; line-height: 1.2 !important; }
  .about-hero .ah-card-eyebrow { font-size: 10px !important; }
  .about-hero .ah-stat-num { font-size: clamp(20px, 6vw, 26px) !important; }
  .about-hero .ah-stat-lbl { font-size: 11px !important; }
}

@media (max-width: 480px) {
  .about-hero .ah-art {
    max-width: 300px;
    transform: scale(0.78);
    aspect-ratio: 1 / 0.9;
  }
  .about-hero .ah-card-h { font-size: 16px !important; }
}

/* ============================================================================
   MOBILE GRID HARDENING · prevent 3-col squeeze with broken words
   "Real-time benchmarks" wrap-mangled in 3 narrow cols → force 1-col on phones
   ============================================================================ */
@media (max-width: 768px) {
  .grid.c-3, .grid.c-4, .grid.c-6 {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .grid.c-3 .card, .grid.c-4 .card, .grid.c-6 .card,
  .grid.c-3 > div, .grid.c-4 > div, .grid.c-6 > div {
    min-width: 0 !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }
  .grid.c-3 h3, .grid.c-4 h3, .grid.c-6 h3,
  .grid.c-3 .card h3, .grid.c-4 .card h3 {
    font-size: 18px !important;
    line-height: 1.2 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }
  /* USP pillar grid · same protection */
  .usp-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .usp-pillar h3 { font-size: 18px !important; line-height: 1.2 !important; }
  /* Mhero grid 3-col */
  .mh-grid-3, .mhero-grid {
    grid-template-columns: 1fr !important;
  }
  /* Inline-grid styled cards (markets/indices etc) */
  section .container > .grid {
    max-width: 100% !important;
  }
}

@media (max-width: 540px) {
  .grid.c-2 { grid-template-columns: 1fr !important; gap: 14px !important; }
}

/* Inline-style grid override · attribute selector beats inline style
   when paired with !important on the property */
@media (max-width: 768px) {
  .usp-grid[style*="repeat(3"],
  .usp-grid[style*="grid-template-columns"],
  [class*="grid"][style*="repeat(3"],
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================================
   MOBILE AUDIT — FINAL HARDENING LAYER
   Applies on top of all per-page stylesheets. Site-wide responsive safety net.
   ============================================================================ */

/* 1 · Universal box-sizing + width safety */
@media (max-width: 768px) {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  html, body {
    max-width: 100vw !important;
    overflow-x: clip !important;
  }
}

/* 2 · Any fixed-width child that exceeds viewport · constrain */
@media (max-width: 768px) {
  [style*="width:600"], [style*="width: 600"],
  [style*="width:640"], [style*="width: 640"],
  [style*="width:720"], [style*="width: 720"],
  [style*="width:760"], [style*="width: 760"],
  [style*="width:800"], [style*="width: 800"],
  [style*="width:900"], [style*="width: 900"],
  [style*="width:1000"], [style*="width: 1000"],
  [style*="max-width:600"], [style*="max-width: 600"],
  [style*="max-width:720"], [style*="max-width: 720"],
  [style*="max-width:900"], [style*="max-width: 900"],
  [style*="max-width:1000"], [style*="max-width: 1000"] {
    width: 100% !important;
    max-width: 100% !important;
  }
  img, video, iframe, svg {
    max-width: 100% !important;
    height: auto;
  }
}

/* 3 · Tap target enforcement · WCAG 2.5.5 */
@media (max-width: 768px) {
  a.btn, button.btn, .btn,
  button[type="submit"], button[type="button"], input[type="submit"],
  .topbar .nav > li > a, .topbar .nav > li > button,
  .app-nav a {
    min-height: 44px;
    box-sizing: border-box;
  }
}

/* 4 · Body-text minimum size · a11y · prevent iOS auto-zoom on input focus */
@media (max-width: 768px) {
  body, p, li, td, th, dd, dt, label, span:not([class*="eyebrow"]):not([class*="tag"]):not([class*="pip"]):not([class*="lab"]):not([class*="badge"]) {
    font-size: max(13px, 1em);
  }
  input, select, textarea {
    font-size: 16px !important;  /* iOS no-zoom rule */
  }
}

/* 5 · Hide tiny decorative text < 9px on mobile (was unreadable) */
@media (max-width: 540px) {
  [style*="font-size:7px"], [style*="font-size: 7px"],
  [style*="font-size:8px"], [style*="font-size: 8px"] {
    font-size: 10px !important;
  }
}

/* 6 · Stop any positioned element escaping viewport */
@media (max-width: 768px) {
  [style*="position:fixed"][style*="right:"][style*="-"],
  [style*="position: fixed"][style*="right: -"],
  [style*="position:absolute"][style*="right:"][style*="-"] {
    right: 0 !important;
  }
}

/* 7 · Form fields · sane padding on mobile */
@media (max-width: 768px) {
  input[type="text"], input[type="email"], input[type="tel"],
  input[type="password"], input[type="number"], input[type="search"],
  textarea, select {
    width: 100% !important;
    padding: 12px 14px !important;
    min-height: 44px;
    border-radius: 8px;
  }
}

/* 8 · Section padding consistency on mobile */
@media (max-width: 768px) {
  section.section, section[class*="section"] {
    padding-top: clamp(32px, 8vw, 56px) !important;
    padding-bottom: clamp(32px, 8vw, 56px) !important;
  }
  .container { padding-left: 16px !important; padding-right: 16px !important; }
}

/* 9 · Topbar nav drawer overflow safety */
@media (max-width: 768px) {
  .topbar { max-width: 100vw; overflow: hidden; }
  .topbar .nav { max-width: 100vw; }
}

/* 10 · Long URLs / emails · wrap inside footer + body text */
@media (max-width: 540px) {
  footer.site-footer a,
  .disclaimer a,
  body a {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

/* 11 · Cards · prevent shadow/border clip */
@media (max-width: 768px) {
  .card, [class*="-card"] {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
  }
}

/* 12 · Reduced-motion respect site-wide */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================================
   SCA BADGE · GOLDEN ANIMATED · brand sand accent (#B39A7E)
   Premium animated treatment for the regulatory badge on hero sections.
   ============================================================================ */
.sca-badge {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 9px 22px 9px 9px !important;
  background: linear-gradient(135deg,
    rgba(179,154,126,0.10) 0%,
    rgba(212,180,140,0.18) 50%,
    rgba(179,154,126,0.10) 100%) !important;
  background-size: 200% 100%;
  border: 1.5px solid rgba(179,154,126,0.40) !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  color: #7F614B !important;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.32s ease,
              border-color 0.32s ease;
  box-shadow:
    0 6px 18px rgba(127,97,75,0.14),
    inset 0 0 0 1px rgba(255,255,255,0.40);
  animation: sca-shimmer 5s ease-in-out infinite;
}
@keyframes sca-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Diagonal sweep on hover */
.sca-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    transparent 30%,
    rgba(255,255,255,0.55) 50%,
    transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  border-radius: 999px;
}
.sca-badge:hover::before { transform: translateX(100%); }
.sca-badge:hover {
  transform: translateY(-1px);
  border-color: rgba(179,154,126,0.65) !important;
  box-shadow:
    0 12px 28px rgba(127,97,75,0.24),
    inset 0 0 0 1px rgba(255,255,255,0.50);
}

/* Sand-coloured seal · pulsing border */
.sca-badge .sca-seal {
  position: relative;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #B39A7E 0%, #7F614B 100%) !important;
  color: #FFFFFF !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 9.5px !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  flex-shrink: 0;
  line-height: 1 !important;
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,0.45),
    0 4px 10px rgba(127,97,75,0.32);
  z-index: 1;
}
.sca-badge .sca-seal::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid rgba(179,154,126,0.55);
  animation: sca-ring 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes sca-ring {
  0%   { transform: scale(0.9);  opacity: 0.9; }
  100% { transform: scale(1.55); opacity: 0;   }
}

/* Large variant · used in hero */
.sca-badge.lg {
  font-size: 14px !important;
  padding: 10px 26px 10px 10px !important;
}
.sca-badge.lg .sca-seal {
  width: 34px !important;
  height: 34px !important;
  font-size: 10.5px !important;
}

/* Unified golden treatment for ALL surfaces · solid pill for guaranteed contrast.
   Previously rendered low-contrast blue-on-blue on .cta-final light-gradient sections. */
.section-hero-grad .sca-badge,
.cta-final .sca-badge,
.section-deep .sca-badge {
  background: linear-gradient(135deg,
    rgba(255,251,243,0.97) 0%,
    rgba(247,239,224,0.97) 50%,
    rgba(255,251,243,0.97) 100%) !important;
  background-size: 200% 100%;
  border: 1.5px solid rgba(179,154,126,0.65) !important;
  color: #5A4332 !important;
  box-shadow:
    0 10px 26px rgba(0,37,49,0.22),
    inset 0 0 0 1px rgba(255,255,255,0.55) !important;
}
.section-hero-grad .sca-badge .sca-seal,
.cta-final .sca-badge .sca-seal,
.section-deep .sca-badge .sca-seal {
  background: linear-gradient(135deg, #B39A7E 0%, #7F614B 100%) !important;
  color: #FFFFFF !important;
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,0.55),
    0 4px 12px rgba(127,97,75,0.40) !important;
}
.section-hero-grad .sca-badge .sca-seal::after,
.cta-final .sca-badge .sca-seal::after,
.section-deep .sca-badge .sca-seal::after {
  border-color: rgba(179,154,126,0.65) !important;
}

/* Mobile tuning */
@media (max-width: 540px) {
  .sca-badge {
    font-size: 11.5px !important;
    padding: 7px 14px 7px 7px !important;
    gap: 8px;
  }
  .sca-badge .sca-seal {
    width: 26px !important;
    height: 26px !important;
    font-size: 8.5px !important;
  }
  .sca-badge.lg {
    font-size: 12.5px !important;
    padding: 8px 18px 8px 8px !important;
  }
  .sca-badge.lg .sca-seal {
    width: 30px !important;
    height: 30px !important;
    font-size: 9.5px !important;
  }
}

/* Reduced motion · disable animations */
@media (prefers-reduced-motion: reduce) {
  .sca-badge,
  .sca-badge .sca-seal::after {
    animation: none !important;
  }
}

/* ============================================================================
   ABOUT HERO ART · MOBILE PERFECT REBUILD
   Replace scale-transform clipping with proper element-size shrinking.
   Cards, rings, dots all sized to fit the constrained art container.
   ============================================================================ */
@media (max-width: 980px) {
  .about-hero .ah-art {
    display: block !important;
    position: relative !important;
    height: 380px !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 24px auto 0 !important;
    aspect-ratio: auto !important;
    transform: none !important;
    overflow: visible;
    display: grid !important;
    place-items: center;
  }
  /* Card stack · shrink container */
  .about-hero .ah-card-stack {
    width: 240px !important;
    height: 300px !important;
    position: relative !important;
  }
  /* Cards · narrower + tighter padding */
  .about-hero .ah-card {
    width: 220px !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    box-shadow:
      0 1px 2px rgba(0,37,49,0.05),
      0 10px 24px -10px rgba(31,95,168,0.22),
      0 18px 36px -24px rgba(31,95,168,0.30) !important;
  }
  .about-hero .ah-card-eyebrow { font-size: 9.5px !important; }
  .about-hero .ah-card-h { font-size: 15px !important; }
  /* Card stack offsets · adjusted for new 300px height */
  .about-hero .ah-card-1 { top: 0 !important; left: 0 !important; }
  .about-hero .ah-card-2 { top: 90px !important; left: 25px !important; }
  .about-hero .ah-card-3 { top: 180px !important; left: 0 !important; }
  /* Rings · shrink to fit · centered on art container */
  .about-hero .ah-ring-1 {
    width: 260px !important; height: 260px !important;
    margin: -130px 0 0 -130px !important;
  }
  .about-hero .ah-ring-2 {
    width: 340px !important; height: 340px !important;
    margin: -170px 0 0 -170px !important;
  }
  /* Dots · keep inside container bounds */
  .about-hero .ah-dot-1 { top: 16% !important; right: 8% !important; }
  .about-hero .ah-dot-2 { bottom: 16% !important; left: 6% !important; }
  .about-hero .ah-dot-3 { top: 50% !important; right: 4% !important; }
}

@media (max-width: 768px) {
  .about-hero .ah-art {
    height: 360px !important;
    max-width: 340px !important;
  }
  .about-hero .ah-card-stack {
    width: 220px !important;
    height: 280px !important;
  }
  .about-hero .ah-card {
    width: 200px !important;
    padding: 12px 14px !important;
  }
  .about-hero .ah-card-h { font-size: 14.5px !important; }
  .about-hero .ah-card-2 { top: 80px !important; left: 22px !important; }
  .about-hero .ah-card-3 { top: 160px !important; left: 0 !important; }
  .about-hero .ah-ring-1 {
    width: 240px !important; height: 240px !important;
    margin: -120px 0 0 -120px !important;
  }
  .about-hero .ah-ring-2 {
    width: 310px !important; height: 310px !important;
    margin: -155px 0 0 -155px !important;
  }
}

@media (max-width: 480px) {
  .about-hero .ah-art {
    height: 320px !important;
    max-width: 300px !important;
  }
  .about-hero .ah-card-stack {
    width: 200px !important;
    height: 240px !important;
  }
  .about-hero .ah-card {
    width: 184px !important;
    padding: 11px 13px !important;
  }
  .about-hero .ah-card-eyebrow { font-size: 9px !important; letter-spacing: 0.16em !important; }
  .about-hero .ah-card-h { font-size: 13.5px !important; }
  .about-hero .ah-card-1 { top: 0 !important; }
  .about-hero .ah-card-2 { top: 68px !important; left: 18px !important; }
  .about-hero .ah-card-3 { top: 136px !important; left: 0 !important; }
  .about-hero .ah-ring-1 {
    width: 220px !important; height: 220px !important;
    margin: -110px 0 0 -110px !important;
  }
  .about-hero .ah-ring-2 {
    width: 280px !important; height: 280px !important;
    margin: -140px 0 0 -140px !important;
  }
  .about-hero .ah-dot { width: 8px !important; height: 8px !important; }
}

/* ============================================================================
   ACCOUNTS MEGAMENU · upgraded tier cards
   Tier-coloured badges · spread + leverage on each row · 2-column layout
   ============================================================================ */
.mega.mega-accounts {
  min-width: 720px;
}
.mega.mega-accounts .mega-grid {
  grid-template-columns: 1.4fr 1fr !important;
  gap: 28px !important;
}
.mega-tier-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.mega-tier-list .mega-tier {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.10);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  align-items: center;
}
.mega-tier-list .mega-tier:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(31,95,168,0.16);
  border-color: rgba(31,95,168,0.30);
}
.mega-tier-list .mega-tier-badge {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.mega-tier-list .mega-tier-badge svg { width: 18px; height: 18px; }
.mega-tier--prime .mega-tier-badge { background: rgba(31,143,74,0.12); color: #1F8F4A; }
.mega-tier--pro   .mega-tier-badge { background: rgba(31,95,168,0.14); color: #1F5FA8; }
.mega-tier--elite .mega-tier-badge { background: rgba(127,97,75,0.14); color: #7F614B; }

.mega-tier-list .mega-tier-body {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.mega-tier-list .mega-tier-name {
  font-size: 14px;
  font-weight: 800;
  color: #002531;
  letter-spacing: -0.005em;
}
.mega-tier-list .mega-tier-name em {
  font-style: normal;
  font-weight: 600;
  font-size: 11.5px;
  margin-left: 4px;
  text-transform: none;
  letter-spacing: 0.04em;
}
.mega-tier--prime .mega-tier-name em { color: #1F8F4A; }
.mega-tier--pro   .mega-tier-name em { color: #1F5FA8; }
.mega-tier--elite .mega-tier-name em { color: #7F614B; }
.mega-tier-list .mega-tier-line {
  font-size: 12.5px;
  color: #2F4856;
  font-weight: 500;
}
.mega-tier-list .mega-tier-line b {
  color: #002531;
  font-family: 'Courier New', monospace;
  font-weight: 800;
}
.mega-tier-list .mega-tier-lev {
  font-size: 11px;
  color: #5A6B75;
  letter-spacing: 0.02em;
}

/* Most-popular ribbon on Pro */
.mega-tier--pro {
  position: relative;
  background: linear-gradient(135deg, rgba(31,95,168,0.04), rgba(31,95,168,0.10)) !important;
  border-color: rgba(31,95,168,0.24) !important;
}

/* Mobile drawer · keep stacked + clean */
@media (max-width: 768px) {
  .topbar .nav.open .mega.mega-accounts {
    min-width: 0 !important;
  }
  .topbar .nav.open .mega.mega-accounts .mega-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .mega-tier-list .mega-tier {
    padding: 10px 12px;
    grid-template-columns: 32px 1fr;
    gap: 10px;
  }
  .mega-tier-list .mega-tier-badge { width: 32px; height: 32px; }
  .mega-tier-list .mega-tier-badge svg { width: 16px; height: 16px; }
  .mega-tier-list .mega-tier-name { font-size: 13.5px; }
  .mega-tier-list .mega-tier-name em { display: block; margin: 2px 0 0; font-size: 10.5px; }
  .mega-tier-list .mega-tier-line { font-size: 12px; }
  .mega-tier-list .mega-tier-lev  { font-size: 10.5px; }
}

/* ============================================================================
   ABOUT HERO · LICENSED-ENTITY CREDENTIAL CARD
   Premium passport-style identity treatment · bilingual · holographic seal
   · Dubai skyline silhouette · UAE flag accent · floating live-data pins
   ============================================================================ */
.ah-art.ah-credential {
  position: relative !important;
  height: 460px !important;
  width: 100% !important;
  max-width: 520px !important;
  margin: 0 auto !important;
  display: block !important;
  overflow: visible !important;
  transform: none !important;
}

/* Dubai skyline silhouette · sits at bottom behind everything */
.ah-credential .ah-skyline {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -10px;
  width: 116%;
  height: 220px;
  z-index: 0;
  opacity: 0.55;
  filter: drop-shadow(0 10px 20px rgba(31,95,168,0.10));
}

/* VERIFIED watermark · subtle background text */
.ah-credential .ah-stamp {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 1;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.30em;
  color: rgba(127,97,75,0.32);
  border: 1px dashed rgba(127,97,75,0.30);
  padding: 4px 10px;
  border-radius: 4px;
  transform: rotate(8deg);
  background: rgba(255,251,243,0.50);
}

/* Credential card · the main piece */
.ah-credential .ah-cred-card {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 460px;
  margin: 20px auto 0;
  background:
    linear-gradient(135deg, #FFFFFF 0%, #FBF5EA 60%, #F7EFE0 100%);
  border: 1.5px solid rgba(127,97,75,0.30);
  border-radius: 18px;
  padding: 56px 26px 22px 26px;
  box-shadow:
    0 30px 60px -20px rgba(0,37,49,0.28),
    0 14px 32px -12px rgba(127,97,75,0.20),
    inset 0 0 0 1px rgba(255,255,255,0.55);
  overflow: hidden;
  animation: ah-card-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
@keyframes ah-card-rise {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Holographic shimmer overlay */
.ah-credential .ah-cred-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    transparent 38%,
    rgba(255,255,255,0.55) 50%,
    transparent 62%);
  background-size: 300% 100%;
  animation: ah-shine 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 4;
  mix-blend-mode: overlay;
}
@keyframes ah-shine {
  0%, 100% { background-position: 200% 50%; }
  50%      { background-position: -100% 50%; }
}

/* UAE flag accent stripe at top edge */
.ah-credential .ah-cred-flag {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  display: flex;
  z-index: 5;
}
.ah-credential .ah-cred-flag span { flex: 1; }
.ah-credential .ah-flag-green { background: #00732F; }
.ah-credential .ah-flag-white { background: #FFFFFF; }
.ah-credential .ah-flag-black { background: #000000; }
.ah-credential .ah-flag-red   {
  background: #EF3340;
  /* The red stripe on UAE flag is wider on left */
  flex: 1.5 !important;
  order: -1;
}

/* Header strip */
.ah-credential .ah-cred-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px dashed rgba(127,97,75,0.28);
}
.ah-credential .ah-cred-issuer {
  font-size: 9.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #5A4332;
  font-weight: 700;
}
.ah-credential .ah-cred-licence {
  font-family: 'Courier New', monospace;
  font-size: 10.5px;
  font-weight: 900;
  color: #002531;
  background: rgba(127,97,75,0.10);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

/* Bilingual brand block · EN + AR */
.ah-credential .ah-cred-brand {
  position: relative;
  z-index: 2;
}
.ah-credential .ah-cred-en {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ah-credential .ah-cred-name {
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #002531;
  line-height: 1;
}
.ah-credential .ah-cred-legal {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #5A4332;
  text-transform: uppercase;
}
.ah-credential .ah-cred-ar {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(127,97,75,0.18);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ah-credential .ah-cred-name-ar {
  font-size: 22px;
  font-weight: 800;
  color: #002531;
  line-height: 1;
}
.ah-credential .ah-cred-legal-ar {
  font-size: 11.5px;
  color: #5A4332;
  font-weight: 600;
}

/* Holographic seal · top-right floating */
.ah-credential .ah-cred-seal {
  position: absolute;
  top: 36px;
  right: 22px;
  width: 86px;
  height: 86px;
  z-index: 6;
  filter:
    drop-shadow(0 8px 16px rgba(127,97,75,0.40))
    drop-shadow(0 0 0 1px rgba(255,255,255,0.40));
  animation: ah-seal-pulse 3.2s ease-in-out infinite;
}
@keyframes ah-seal-pulse {
  0%, 100% { transform: rotate(-5deg) scale(1); }
  50%      { transform: rotate(-7deg) scale(1.04); }
}
.ah-credential .ah-cred-seal svg { width: 100%; height: 100%; }

/* Facts row · footer of card */
.ah-credential .ah-cred-facts {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(127,97,75,0.28);
}
.ah-credential .ah-cred-fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 4px 0;
  border-bottom: 1px dotted rgba(127,97,75,0.16);
  font-size: 12px;
}
.ah-credential .ah-cred-fact:last-child { border-bottom: 0; }
.ah-credential .ah-cred-fact-lab {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: #5A4332;
  text-transform: uppercase;
}
.ah-credential .ah-cred-fact-val {
  font-family: 'Courier New', monospace;
  font-weight: 800;
  color: #002531;
  font-size: 12.5px;
}

/* Corner crop marks · passport-style */
.ah-credential .ah-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.5px solid rgba(127,97,75,0.45);
  z-index: 5;
}
.ah-credential .ah-corner-tl { top: 12px; left: 12px;   border-right: 0; border-bottom: 0; }
.ah-credential .ah-corner-tr { top: 12px; right: 12px;  border-left: 0;  border-bottom: 0; }
.ah-credential .ah-corner-bl { bottom: 12px; left: 12px;  border-right: 0; border-top: 0; }
.ah-credential .ah-corner-br { bottom: 12px; right: 12px; border-left: 0;  border-top: 0; }

/* Floating live-data pins · outside the card */
.ah-credential .ah-pin {
  position: absolute;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.18);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #1F5FA8;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 22px rgba(31,95,168,0.16);
  opacity: 0;
  animation: ah-pin-pop 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.ah-credential .ah-pin-1 { top: 28%; left: -8%; animation-delay: 1.2s; }
.ah-credential .ah-pin-2 { top: 60%; right: -6%; animation-delay: 1.6s; }
@keyframes ah-pin-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.ah-credential .ah-pin-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #1F8F4A;
  position: relative;
}
.ah-credential .ah-pin-dot::after {
  content: ''; position: absolute; inset: -3px;
  border-radius: 50%;
  border: 1.5px solid rgba(31,143,74,0.55);
  animation: ah-pin-pulse 1.8s ease-out infinite;
}
@keyframes ah-pin-pulse {
  0%   { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Mobile sizing */
@media (max-width: 980px) {
  .ah-art.ah-credential {
    height: 420px !important;
    max-width: 460px !important;
  }
  .ah-credential .ah-cred-card { max-width: 420px; padding: 50px 22px 20px; }
  .ah-credential .ah-cred-name { font-size: 26px; }
  .ah-credential .ah-cred-seal { width: 76px; height: 76px; top: 32px; right: 18px; }
  .ah-credential .ah-cred-name-ar { font-size: 19px; }
}

@media (max-width: 768px) {
  .ah-art.ah-credential {
    height: 380px !important;
    max-width: 100% !important;
  }
  .ah-credential .ah-cred-card {
    max-width: 100%;
    padding: 46px 18px 18px;
    border-radius: 14px;
  }
  .ah-credential .ah-cred-name { font-size: 23px; }
  .ah-credential .ah-cred-legal,
  .ah-credential .ah-cred-legal-ar { font-size: 10.5px; }
  .ah-credential .ah-cred-name-ar { font-size: 18px; }
  .ah-credential .ah-cred-seal { width: 64px; height: 64px; top: 28px; right: 14px; }
  .ah-credential .ah-cred-fact { font-size: 11px; }
  .ah-credential .ah-cred-fact-val { font-size: 11.5px; }
  .ah-credential .ah-cred-issuer { font-size: 8.5px; }
  .ah-credential .ah-pin {
    font-size: 10px;
    padding: 5px 9px;
  }
  .ah-credential .ah-pin-1 { left: -4%; top: 24%; }
  .ah-credential .ah-pin-2 { right: -2%; top: 64%; }
  .ah-credential .ah-skyline { height: 160px; bottom: -6px; opacity: 0.40; }
  .ah-credential .ah-stamp { top: 14px; right: 16px; font-size: 8.5px; padding: 3px 7px; }
}

@media (max-width: 480px) {
  .ah-art.ah-credential { height: 360px !important; }
  .ah-credential .ah-cred-card { padding: 42px 16px 16px; }
  .ah-credential .ah-cred-name { font-size: 20px; }
  .ah-credential .ah-cred-name-ar { font-size: 16px; }
  .ah-credential .ah-cred-seal { width: 56px; height: 56px; }
  .ah-credential .ah-pin { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ah-credential .ah-cred-card,
  .ah-credential .ah-cred-shine,
  .ah-credential .ah-cred-seal,
  .ah-credential .ah-pin,
  .ah-credential .ah-pin-dot::after {
    animation: none !important;
  }
  .ah-credential .ah-pin { opacity: 1 !important; }
}

/* ============================================================================
   ABOUT HERO · CLEAN STAT-FRAME ANIMATION · final v3
   Minimal premium composition · 2×2 stat grid · rotating focus highlight
   ============================================================================ */
.ah-art.ah-stats-art {
  position: relative !important;
  width: 100% !important;
  max-width: 480px !important;
  margin: 0 auto !important;
  height: auto !important;
  display: block !important;
  overflow: visible !important;
  transform: none !important;
}

.ah-stats-art .asa-frame {
  position: relative;
  background: linear-gradient(160deg, #FFFFFF 0%, #FBF7EF 50%, #F5EEDF 100%);
  border: 1px solid rgba(127,97,75,0.22);
  border-radius: 20px;
  padding: 28px 28px 22px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -24px rgba(0,37,49,0.28),
    0 12px 28px -12px rgba(127,97,75,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.55);
  animation: asa-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}
@keyframes asa-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Subtle grid background · pure decorative texture */
.ah-stats-art .asa-grid {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg,  rgba(127,97,75,0.05) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(127,97,75,0.05) 0 1px, transparent 1px 32px);
  mask: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 85%);
  -webkit-mask: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

/* Brand-mark "A" watermark · light, large */
.ah-stats-art .asa-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 280px;
  font-weight: 900;
  font-family: Georgia, serif;
  color: rgba(127,97,75,0.05);
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

/* Header strip */
.ah-stats-art .asa-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(127,97,75,0.20);
  margin-bottom: 22px;
}
.ah-stats-art .asa-head-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: #5A4332;
  text-transform: uppercase;
}
.ah-stats-art .asa-head-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: #1F8F4A;
  font-family: 'Courier New', monospace;
}
.ah-stats-art .asa-head-meta::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #1F8F4A;
  animation: asa-dot-pulse 1.8s ease-out infinite;
}
@keyframes asa-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31,143,74,0.50); }
  50%      { box-shadow: 0 0 0 7px rgba(31,143,74,0); }
}

/* 2×2 stat grid */
.ah-stats-art .asa-grid-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ah-stats-art .asa-stat {
  position: relative;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(127,97,75,0.16);
  border-radius: 14px;
  padding: 18px 16px 16px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}
.ah-stats-art .asa-stat::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(179,154,126,0.10), rgba(127,97,75,0.06));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.ah-stats-art .asa-stat.is-active {
  border-color: rgba(127,97,75,0.50);
  background: #FFFFFF;
  box-shadow: 0 14px 32px rgba(127,97,75,0.18);
  transform: translateY(-3px);
}
.ah-stats-art .asa-stat.is-active::before { opacity: 1; }
.ah-stats-art .asa-stat-num {
  display: flex; align-items: baseline; gap: 4px;
  font-family: Georgia, serif;
  font-weight: 800;
  font-size: clamp(28px, 4.8vw, 40px);
  letter-spacing: -0.02em;
  color: #002531;
  line-height: 1;
  margin-bottom: 8px;
}
.ah-stats-art .asa-stat-num em {
  font-style: normal;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  font-weight: 700;
  color: #7F614B;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ah-stats-art .asa-stat-lbl {
  font-size: 12.5px;
  font-weight: 700;
  color: #002531;
  letter-spacing: -0.005em;
  margin-bottom: 3px;
}
.ah-stats-art .asa-stat-sub {
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: #5A4332;
  font-weight: 500;
}

/* Footer strip */
.ah-stats-art .asa-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(127,97,75,0.20);
}
.ah-stats-art .asa-foot-tag {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #FFFFFF;
  background: linear-gradient(135deg, #B39A7E 0%, #7F614B 100%);
  padding: 5px 11px;
  border-radius: 999px;
  text-transform: uppercase;
}
.ah-stats-art .asa-foot-sep {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(127,97,75,0.40), rgba(127,97,75,0));
}
.ah-stats-art .asa-foot-licence {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  font-weight: 800;
  color: #002531;
  letter-spacing: 0.08em;
}

/* Mobile */
@media (max-width: 980px) {
  .ah-art.ah-stats-art { max-width: 460px !important; }
}
@media (max-width: 768px) {
  .ah-art.ah-stats-art { max-width: 100% !important; }
  .ah-stats-art .asa-frame { padding: 22px 20px 18px; border-radius: 16px; }
  .ah-stats-art .asa-watermark { font-size: 220px; }
  .ah-stats-art .asa-stat { padding: 14px 13px 12px; }
  .ah-stats-art .asa-stat-num { font-size: 26px; }
  .ah-stats-art .asa-stat-num em { font-size: 10.5px; }
  .ah-stats-art .asa-stat-lbl { font-size: 11.5px; }
  .ah-stats-art .asa-stat-sub { font-size: 10px; }
  .ah-stats-art .asa-head-eyebrow { font-size: 10px; }
  .ah-stats-art .asa-head-meta { font-size: 9.5px; }
  .ah-stats-art .asa-foot-tag { font-size: 9.5px; padding: 4px 9px; }
  .ah-stats-art .asa-foot-licence { font-size: 10px; }
}
@media (max-width: 480px) {
  .ah-stats-art .asa-grid-stats { gap: 10px; }
  .ah-stats-art .asa-stat-num { font-size: 22px; }
  .ah-stats-art .asa-watermark { font-size: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  .ah-stats-art .asa-frame,
  .ah-stats-art .asa-head-meta::before { animation: none !important; }
  .ah-stats-art .asa-stat { transition: none !important; }
}

/* ============================================================================
   REGISTER · OTP VERIFY + SUCCESS VIEWS
   ============================================================================ */
.rg-otp-view, .rg-done-view {
  background: #FFFFFF;
  border: 1px solid var(--border, rgba(31,95,168,0.14));
  border-radius: var(--radius-lg, 16px);
  padding: 36px 32px;
  box-shadow: var(--shadow-card, 0 12px 36px rgba(0,37,49,0.08));
  animation: rg-otp-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes rg-otp-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rg-otp-card, .rg-done-card { display: flex; flex-direction: column; gap: 12px; text-align: center; }
.rg-otp-icon, .rg-done-tick {
  width: 76px; height: 76px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(31,95,168,0.10), rgba(127,97,75,0.10));
  color: #1F5FA8;
  display: grid; place-items: center;
}
.rg-done-tick {
  background: linear-gradient(135deg, rgba(31,143,74,0.16), rgba(31,143,74,0.06));
  color: #1F8F4A;
}
.rg-otp-title, .rg-done-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink, #002531);
  margin: 0;
}
.rg-otp-sub, .rg-done-sub {
  font-size: 14.5px;
  color: var(--muted, #5A6B75);
  line-height: 1.5;
  margin: 0 0 8px;
}
.rg-otp-sub b, .rg-done-sub b { color: var(--ink, #002531); }
.rg-otp-boxes {
  display: flex; justify-content: center; gap: 10px;
  margin: 8px auto 6px;
}
.rg-otp-box {
  width: 56px; height: 64px;
  border: 1.5px solid rgba(31,95,168,0.22);
  border-radius: 10px;
  background: #FBFCFE;
  font-size: 26px; font-weight: 800;
  font-family: 'Courier New', monospace;
  color: var(--ink, #002531);
  text-align: center;
  /* text-transform: none · CRM pin is case-sensitive, preserve user input as-is */
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.rg-otp-box:focus {
  outline: none;
  border-color: #1F5FA8;
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(31,95,168,0.14);
}
.rg-otp-box.filled { background: #FFFFFF; border-color: #1F5FA8; }
.rg-otp-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: 10px;
  font-size: 13px;
}
.rg-otp-resend {
  background: none; border: 0; color: #1F5FA8;
  font-weight: 700; cursor: pointer; padding: 6px 0;
  text-decoration: underline; text-underline-offset: 3px;
}
.rg-otp-resend:disabled { color: var(--muted, #5A6B75); cursor: not-allowed; text-decoration: none; }
.rg-otp-timer { font-family: 'Courier New', monospace; color: var(--muted, #5A6B75); font-weight: 700; }

@media (max-width: 540px) {
  .rg-otp-view, .rg-done-view { padding: 28px 20px; }
  .rg-otp-box { width: 48px; height: 56px; font-size: 22px; }
  .rg-otp-boxes { gap: 8px; }
}

/* ============================================================================
   MOBILE NAVIGATION v3 · 2026-05-19
   Single source of truth for ≤1100px topbar + drawer. Breakpoint matched to
   components.css `.nav { display: none }` so burger stays visible up to 1100.
   ============================================================================ */

/* ============================================================================
   LAPTOP-TIGHT NAV · 1101-1280px range
   Inline desktop nav can't fit 10 items + 1KG Gold pill + CTA in this width.
   Force burger/drawer mode for clean overflow-free header. Drawer slides from
   right edge, CTA buttons stay visible inline.
   ============================================================================ */
/* Live TV ticker bar — removed per request, hide if any residual JS injects it */
.anax-tv-ticker, #anax-tv-ticker { display: none !important; }

/* ============================================================================
   RESPONSIVE SAFETY NET — applies at ALL widths to prevent ANY overlap.
   Covers: text overflow, image scaling, flex shrink lockup, container clipping,
   horizontal scroll bugs, very small (320px) + ultra-wide (3840px+) extremes.
   ============================================================================ */

/* Root: no horizontal scroll ever.
   Use `clip` not `hidden` — `hidden` creates a scroll container which BREAKS
   position:sticky on .topbar (header would scroll off with content). */
html, body {
  overflow-x: clip !important;
  max-width: 100vw;
}

/* Every box uses border-box so padding/border don't expand width */
*, *::before, *::after { box-sizing: border-box; }

/* All media constrained — never break parent width */
img, video, picture, canvas, svg, iframe {
  max-width: 100%;
  height: auto;
}
video[poster], video.arrow, video.arrow-3d { /* keep aspect-ratio for animated videos */
  height: auto;
}

/* Long text: wrap aggressively, never push layout */
p, span, a, button, li, h1, h2, h3, h4, h5, h6, .meta, .label {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
/* Tabular numbers + URLs can break anywhere if too long */
.url, code, pre { overflow-wrap: anywhere; word-break: break-all; }

/* Flex children — allow shrink below content min-width (prevents button text
   from forcing parent to overflow) */
.flex > *, [class*="grid"] > *, .row > *, .stack > * { min-width: 0; }

/* Container — always cap at viewport with safe padding, scales gracefully */
.container {
  width: 100%;
  max-width: min(1240px, 100vw - 32px);
  margin-inline: auto;
  padding-inline: clamp(12px, 3vw, 24px);
}

/* Buttons + CTA never overflow their container */
.btn, .btn-sm, .btn-lg, .btn-primary, .btn-ghost {
  max-width: 100%;
  white-space: normal;
}

/* Cards / panels never extend past their grid cell */
.card, .panel, .gc-cd-card, .gc-h-tile, .stage-card { min-width: 0; }

/* Ultra-wide (≥1920) — center & cap content so it doesn't span infinite width */
@media (min-width: 1920px) {
  .container { max-width: 1440px; }
  body { font-size: 17px; }
}
@media (min-width: 2560px) {
  .container { max-width: 1600px; }
  body { font-size: 18px; }
}
@media (min-width: 3840px) {
  .container { max-width: 1800px; }
  body { font-size: 20px; }
  /* Prevent hero text + bar from overlapping at 4K */
  .hero-grid { gap: 48px !important; }
}

/* Small phone (≤360) — shrink container padding so content has air */
@media (max-width: 360px) {
  .container { padding-inline: 12px; }
  body { font-size: 14px; }
  h1, .h1 { font-size: clamp(24px, 7vw, 32px) !important; line-height: 1.2 !important; }
}

/* Tablet portrait (601-820) — keep 1-col layouts, avoid cramped 2-col cards */
@media (min-width: 601px) and (max-width: 820px) {
  .hero-grid, .features-grid, .stats-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
}

/* Universal table — wrap with scroll on overflow but keep full width inside wrapper */
.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-wrap table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  display: table;
}
/* Stand-alone tables (no wrapper) — scroll if doesn't fit */
table:not(.table-wrap table) {
  max-width: 100%;
}

/* Desktop mega menu — also show when JS-toggled .open class set (click support
   for touch laptops + keyboard nav). Hover + focus already shown via earlier rules. */
@media (min-width: 1101px) {
  .topbar .nav > li.open > .mega {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }
}

/* Final CTA section ("Markets don't wait...") — flex column layout centers
   SCA badge ABOVE heading on its own line. inline-flex + margin:auto doesn't
   center inline elements — flex column does. */
.cta-final .container,
.section-hero-grad.cta-final .container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 18px;
}
.cta-final .sca-badge {
  display: inline-flex !important;
  margin: 0 !important;
  align-self: center !important;
  order: -1; /* always first, above heading regardless of HTML order */
}
.cta-final h2 { text-align: center; margin: 0 !important; }
.cta-final p { text-align: center; max-width: 640px; margin: 0 auto !important; }
.cta-final .btn-row,
.cta-final > .container > div { justify-content: center; }

/* Market-page hero: breadcrumbs / fx-status / sca-badge each on own line.
   Without this, status pill + SCA badge collide on tight viewports. */
.fx-copy > .breadcrumbs { display: block; margin-bottom: 14px; }
.fx-copy > .fx-status { display: inline-flex; margin-bottom: 10px; max-width: 100%; }
.fx-copy > .sca-badge {
  display: inline-flex !important;
  margin: 0 0 16px 0 !important;
  max-width: 100%;
}
/* When BOTH .fx-status + .sca-badge are present, force SCA to new line via clear */
.fx-copy > .fx-status + .sca-badge {
  margin-left: 0 !important;
  margin-top: 0 !important;
  clear: both;
}
.fx-copy > .fx-status::after { content: ""; display: block; }
.fx-copy { display: block; }
.fx-copy > * { vertical-align: top; }
/* Allow wrap inside status/badge text on tight widths */
.fx-status, .sca-badge {
  flex-wrap: wrap;
  white-space: normal !important;
  word-break: normal;
}

/* Mega menus — never overflow viewport */
.mega { max-width: calc(100vw - 32px) !important; }

/* Sticky/fixed elements — respect safe area */
.topbar, .risk-bar, .call-fab, .wa-fab {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* Desktop laptop range 1101-1500 — compact inline nav, no drawer.
   Tight padding + small font fits 10 nav + 1KG Gold pill + CTA cleanly. */
@media (min-width: 1101px) and (max-width: 1500px) {
  .topbar .brand img { height: 26px !important; }
  .topbar.shrink .brand img { height: 24px !important; }
  .topbar .nav { gap: 0 !important; margin-left: 14px !important; margin-right: 0 !important; flex: 0 1 auto !important; min-width: 0 !important; }
  .topbar .nav > li > a,
  .topbar .nav > li > button {
    padding: 6px 7px !important;
    font-size: 12px !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }
  .topbar .nav > li > button[aria-haspopup] { gap: 2px !important; }
  .topbar .nav > li > button[aria-haspopup] svg { width: 10px !important; height: 10px !important; }
  /* Compact 1KG Gold pill */
  .topbar .nav-gold-li a { padding: 4px 8px !important; font-size: 11px !important; gap: 4px !important; }
  .topbar .nav-gold-badge { font-size: 9px !important; padding: 1px 4px !important; }
  /* Compact CTA buttons — push to right edge */
  .topbar .nav-cta { gap: 6px !important; margin-left: 10px !important; flex: 0 0 auto !important; }
  .topbar .nav-cta .btn,
  .topbar .nav-cta .btn-sm { padding: 7px 12px !important; font-size: 12px !important; white-space: nowrap !important; }
  .topbar .burger { display: none !important; }
  /* topbar-inner gap tighter */
  .topbar .topbar-inner { gap: 8px !important; padding-left: 14px !important; padding-right: 14px !important; }
}

/* Stale block — kept disabled for safety */
@media (min-width: 99999px) and (max-width: 0px) {
  .topbar .nav { display: none !important; }
  .topbar .burger { display: inline-grid !important; }

  /* Drawer panel slides from right edge — same as mobile pattern */
  .topbar .nav.open {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 0 !important; right: 0 !important; bottom: 0 !important; left: auto !important;
    width: min(440px, 50vw) !important;
    height: 100vh !important;
    background: #FFFFFF !important;
    padding: 76px 24px 40px !important;
    margin: 0 !important;
    gap: 6px !important;
    overflow-y: auto;
    transform: translateX(0) !important;
    box-shadow: -18px 0 48px rgba(0,37,49,0.20) !important;
    z-index: 220 !important;
    align-items: stretch !important;
  }
  .topbar .nav.open > li {
    list-style: none !important;
    width: 100% !important;
  }
  .topbar .nav.open > li > a,
  .topbar .nav.open > li > button {
    display: flex !important;
    width: 100% !important;
    padding: 14px 12px !important;
    font-size: 15px !important;
    text-align: left !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(31,95,168,0.08) !important;
    color: #002531 !important;
    justify-content: space-between !important;
    align-items: center !important;
    min-height: 52px !important;
  }
  .topbar .nav.open .mega { display: none !important; }
  .topbar .nav.open li.open > .mega {
    display: block !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    background: rgba(31,95,168,0.04) !important;
    box-shadow: none !important;
    padding: 10px !important;
    border-radius: 8px !important;
    margin-top: 4px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  /* Backdrop scrim when drawer open */
  body.menu-open::before {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,37,49,0.55) !important;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 210 !important;
  }
  body.menu-open { overflow: hidden !important; }

  /* Keep inline CTA buttons visible (Open Account + Login) */
  .topbar .nav-cta { display: flex !important; margin-left: auto !important; gap: 8px !important; }
  .topbar .nav-cta .btn,
  .topbar .nav-cta .btn-sm { padding: 8px 14px !important; font-size: 13px !important; }

  /* Logo slightly smaller to fit */
  .topbar .brand img { height: 34px !important; }
}

@media (max-width: 1100px) {
  /* ---- Topbar layout ---- */
  .topbar-inner {
    padding: 10px 16px !important;
    min-height: 60px;
    gap: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .topbar .container.topbar-inner,
  .topbar > .container.topbar-inner {
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .topbar .brand {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    margin-right: auto !important;
  }
  .topbar .brand img { height: 32px !important; }

  /* ---- Right-side CTA cluster ---- */
  .topbar .nav-cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }
  /* Header CTAs — compact mobile pills, all visible alongside burger */
  .topbar .nav-cta a.btn.btn-ghost,
  .topbar .nav-cta a.btn.btn-ghost.btn-sm,
  .topbar .nav-cta a[href*="portal.anaxcapital"].btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 12px !important;
    min-height: 36px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    background: transparent !important;
    color: #002531 !important;
    border: 1.5px solid rgba(31,95,168,0.30) !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }
  .topbar .nav-cta a.btn.btn-ghost:active,
  .topbar .nav-cta a[href*="portal.anaxcapital"].btn:active {
    background: rgba(31,95,168,0.06) !important;
    transform: scale(0.97);
  }
  /* Primary CTA hidden ≤640, visible on tablet */
  .topbar .nav-cta .btn-primary {
    padding: 9px 14px !important;
    font-size: 12.5px !important;
    min-height: 38px;
    border-radius: 999px !important;
  }
}

@media (max-width: 640px) {
  /* Compact pill CTAs stay visible — only shrink padding/font */
  .topbar .nav-cta .btn-primary,
  .topbar .nav-cta a.btn.btn-primary {
    padding: 8px 11px !important;
    font-size: 11.5px !important;
    min-height: 36px !important;
  }
  .topbar .nav-cta a.btn.btn-ghost,
  .topbar .nav-cta a.btn.btn-ghost.btn-sm,
  .topbar .nav-cta a[href*="portal.anaxcapital"].btn {
    padding: 8px 10px !important;
    font-size: 11.5px !important;
    min-height: 36px !important;
  }
  .topbar-inner { gap: 6px !important; padding: 10px 12px !important; }
  .topbar .nav-cta { gap: 6px !important; }
  /* Logo bumped — high-specificity override (attribute selector wins old rules) */
  .topbar .brand img,
  .topbar .brand img[src*="anax-logo-dark"],
  .topbar .brand img[src*="anax-logo-light"] { height: 40px !important; }
}

@media (max-width: 380px) {
  /* Very small phones — tighter spacing, but keep logo readable */
  .topbar-inner { gap: 5px !important; padding: 10px 10px !important; }
  .topbar .nav-cta { gap: 5px !important; }
  /* Logo at 34px — clearly readable, still fits with Login + Open Account + Burger */
  .topbar .brand img,
  .topbar .brand img[src*="anax-logo-dark"],
  .topbar .brand img[src*="anax-logo-light"] { height: 34px !important; }
  .topbar .nav-cta a.btn.btn-ghost,
  .topbar .nav-cta a[href*="portal.anaxcapital"].btn {
    padding: 7px 9px !important;
    font-size: 10.5px !important;
    min-height: 34px !important;
  }
  .topbar .nav-cta .btn-primary,
  .topbar .nav-cta a.btn.btn-primary {
    padding: 7px 9px !important;
    font-size: 10.5px !important;
    min-height: 34px !important;
  }
  .topbar .burger {
    width: 36px !important; height: 36px !important;
    min-width: 36px !important; min-height: 36px !important;
    border-radius: 10px !important;
  }
  .topbar .burger svg { width: 18px !important; height: 18px !important; }
}

/* ---- Burger button ---- */
@media (max-width: 1100px) {
  .topbar .burger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    background: linear-gradient(135deg, #1F5FA8 0%, #2D7BC9 100%) !important;
    border: 0 !important;
    border-radius: 12px !important;
    color: #FFFFFF !important;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(31,95,168,0.30);
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease;
    position: relative;
    flex-shrink: 0 !important;
  }
  .topbar .burger:hover,
  .topbar .burger:focus-visible {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 6px 18px rgba(31,95,168,0.40);
  }
  .topbar .burger:active { transform: scale(0.96); }
  .topbar .burger svg { width: 22px; height: 22px; color: #FFFFFF; }

  /* Burger X-morph DISABLED — caused duplicate close buttons (drawer X +
     burger morphed to X). Burger is now hidden entirely when menu opens
     (rule in mobile-menu.css), so only the drawer's close X is visible. */
  .topbar .burger[aria-expanded="true"],
  html body header.topbar .burger[aria-expanded="true"],
  html body.menu-open header.topbar .burger,
  html body.menu-open header.topbar #nav-burger {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .topbar .burger[aria-expanded="true"]::before,
  .topbar .burger[aria-expanded="true"]::after,
  html body.menu-open header.topbar .burger::before,
  html body.menu-open header.topbar .burger::after { content: none !important; }
}

/* ============================================================================
   MOBILE DRAWER · slide from right · full-screen takeover
   ============================================================================ */
@media (max-width: 1100px) {
  /* Drawer container — navUl itself becomes the fixed flex column with internal scroll */
  .topbar .nav#primary-nav,
  .topbar .nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(420px, 92vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: linear-gradient(170deg, #FFFFFF 0%, #F5F8FD 100%) !important;
    box-shadow: -20px 0 60px rgba(0,37,49,0.28) !important;
    transform: translateX(100%) !important;
    transition: transform 0.46s cubic-bezier(0.22, 1, 0.36, 1) !important;
    opacity: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 240 !important;
    pointer-events: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .topbar .nav#primary-nav.open,
  .topbar .nav.open {
    transform: translateX(0) !important;
    pointer-events: auto;
  }

  /* Drawer header bar (injected by JS) — sticky at top so it stays during scroll */
  .mnav-head {
    position: sticky;
    top: 0;
    z-index: 5;
    flex: 0 0 auto;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, #002531 0%, #003B4F 100%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #FFFFFF;
  }
  .mnav-head .mnav-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
  }
  .mnav-head img {
    height: 30px !important;
    width: auto !important;
    object-fit: contain !important;
  }
  .mnav-close {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 10px;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .mnav-close:hover { background: rgba(255,255,255,0.16); transform: rotate(90deg); }
  .mnav-close svg { width: 18px; height: 18px; }

  /* List items inside drawer (direct children of navUl, between sticky head + foot) */
  .topbar .nav > li {
    list-style: none !important;
    width: 100% !important;
    padding: 0 18px !important;
    border-bottom: 1px solid rgba(31,95,168,0.08) !important;
    opacity: 0;
    transform: translateX(20px);
    animation: mnav-item-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  .topbar .nav > li:last-of-type { border-bottom: 0 !important; }
  /* Spacing: first li (after sticky head) gets top breathing room */
  .topbar .nav > li:first-of-type { margin-top: 8px !important; }
  .topbar .nav.open > li:nth-child(1)  { animation-delay: 0.10s; }
  .topbar .nav.open > li:nth-child(2)  { animation-delay: 0.14s; }
  .topbar .nav.open > li:nth-child(3)  { animation-delay: 0.18s; }
  .topbar .nav.open > li:nth-child(4)  { animation-delay: 0.22s; }
  .topbar .nav.open > li:nth-child(5)  { animation-delay: 0.26s; }
  .topbar .nav.open > li:nth-child(6)  { animation-delay: 0.30s; }
  .topbar .nav.open > li:nth-child(7)  { animation-delay: 0.34s; }
  .topbar .nav.open > li:nth-child(8)  { animation-delay: 0.38s; }
  @keyframes mnav-item-in {
    to { opacity: 1; transform: translateX(0); }
  }

  .topbar .nav > li > a,
  .topbar .nav > li > button {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 16px 4px !important;
    font-size: 16.5px !important;
    font-weight: 600 !important;
    color: #002531 !important;
    background: transparent !important;
    border: 0 !important;
    text-align: left !important;
    text-decoration: none !important;
    min-height: 56px !important;
    line-height: 1.25 !important;
    cursor: pointer;
    border-radius: 8px !important;
    transition: background 0.18s ease, color 0.18s ease, padding 0.18s ease;
  }
  .topbar .nav > li > a:active,
  .topbar .nav > li > button:active {
    background: rgba(31,95,168,0.06) !important;
    padding-left: 10px !important;
  }
  /* Chevron — single SVG, right-aligned, springs open on tap */
  .topbar .nav > li > button[aria-haspopup] {
    position: relative;
  }
  .topbar .nav > li > button[aria-haspopup] svg {
    width: 18px !important;
    height: 18px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    color: #1F5FA8 !important;
    opacity: 0.55;
    transition:
      transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1),
      opacity 0.22s ease !important;
    transform: rotate(0deg) scale(1) !important;
    display: inline-block !important;
    transform-origin: center center;
  }
  .topbar .nav > li > button[aria-haspopup]:active svg {
    transform: rotate(0deg) scale(0.88) !important;
  }
  .topbar .nav > li.open > button[aria-haspopup] svg {
    transform: rotate(180deg) scale(1.08) !important;
    opacity: 1;
    color: #002531 !important;
  }
  .topbar .nav > li > button[aria-haspopup]::after,
  .topbar .nav > li > button[aria-haspopup]::before { display: none !important; content: none !important; }
  .topbar .nav > li.open > button[aria-haspopup] { color: #1F5FA8 !important; }

  /* Mega submenus collapse to accordion content */
  .topbar .nav .mega {
    position: static !important;
    display: none;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    background: rgba(31,95,168,0.04) !important;
    box-shadow: none !important;
    padding: 8px 12px 14px !important;
    margin: 0 0 6px !important;
    border: 0 !important;
    border-left: 2px solid #1F5FA8 !important;
    border-radius: 0 8px 8px 0 !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .topbar .nav li.open > .mega { display: block !important; }
  .topbar .nav .mega-grid {
    display: block !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 0 !important;
  }
  .topbar .nav .mega-col { margin-bottom: 10px; }
  .topbar .nav .mega-col:last-child { margin-bottom: 0; }
  .topbar .nav .mega-col h5 {
    margin: 6px 0 6px !important;
    font-size: 10.5px !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
    color: #5A6B75 !important;
    font-weight: 700;
  }
  .topbar .nav .mega-col ul { list-style: none; padding: 0; margin: 0; }
  .topbar .nav .mega-col li { border-bottom: 0 !important; opacity: 1 !important; transform: none !important; animation: none !important; }
  .topbar .nav .mega-col a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 11px 8px !important;
    min-height: 48px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #002531 !important;
    border-radius: 8px;
    border-bottom: 0 !important;
    text-decoration: none !important;
    background: transparent !important;
    line-height: 1.3 !important;
  }
  .topbar .nav .mega-col a:active { background: rgba(31,95,168,0.08) !important; }
  .topbar .nav .mega-col a .icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(31,95,168,0.10);
    border-radius: 7px;
    color: #1F5FA8;
  }
  .topbar .nav .mega-col a .icon svg { width: 14px; height: 14px; }
  .topbar .nav .mega-col a .meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
  .topbar .nav .mega-col a .meta .t { font-size: 14px; font-weight: 700; color: #002531; }
  .topbar .nav .mega-col a .meta .d { font-size: 11.5px; font-weight: 500; color: #5A6B75; line-height: 1.35; }

  /* Mega-tier list inside accounts mega */
  .topbar .nav .mega-tier-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
  .topbar .nav .mega-tier-list li { border-bottom: 0 !important; }
  .topbar .nav .mega-tier {
    display: flex !important; align-items: center; gap: 10px;
    padding: 10px 12px !important;
    background: #FFFFFF !important;
    border: 1px solid rgba(31,95,168,0.12);
    border-radius: 10px;
    text-decoration: none !important;
    min-height: 0 !important;
  }
  .topbar .nav .mega-tier-badge {
    flex-shrink: 0;
    width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg,#1F5FA8,#2D7BC9);
    color: #FFFFFF; border-radius: 8px;
  }
  .topbar .nav .mega-tier-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .topbar .nav .mega-tier-name { font-size: 14px; font-weight: 800; color: #002531; }
  .topbar .nav .mega-tier-name em { font-style: normal; font-weight: 600; font-size: 11px; color: #5A6B75; }
  .topbar .nav .mega-tier-line { font-size: 12px; color: #5A6B75; }
  .topbar .nav .mega-tier-lev { font-size: 11px; color: #7C8B95; }

  /* Drawer footer (injected by JS) — pinned at visual bottom, sticky during scroll */
  .mnav-foot {
    flex: 0 0 auto;
    margin-top: auto;
    position: sticky;
    bottom: 0;
    z-index: 5;
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
    background: #FFFFFF;
    border-top: 1px solid rgba(31,95,168,0.10);
    box-shadow: 0 -10px 24px rgba(0,37,49,0.06);
  }
  .mnav-foot .btn {
    display: inline-flex !important;
    align-items: center; justify-content: center;
    width: 100%;
    padding: 13px 18px !important;
    font-size: 14.5px !important;
    font-weight: 700;
    border-radius: 12px !important;
    min-height: 48px;
  }
  .mnav-foot .btn.btn-primary {
    background: linear-gradient(135deg, #1F5FA8 0%, #2D7BC9 100%) !important;
    color: #FFFFFF !important;
    border: 0 !important;
    box-shadow: 0 6px 18px rgba(31,95,168,0.30);
  }
  .mnav-foot .btn.btn-ghost {
    background: transparent !important;
    color: #002531 !important;
    border: 1.5px solid rgba(31,95,168,0.30) !important;
  }
  .mnav-foot .mnav-call {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 12.5px;
    color: #5A6B75;
    text-decoration: none;
    font-weight: 600;
  }
  .mnav-foot .mnav-call b { color: #1F5FA8; letter-spacing: 0.04em; }
  .mnav-foot .mnav-call svg { width: 14px; height: 14px; color: #1F5FA8; }

  /* Body lock + backdrop when drawer open */
  body.menu-open { overflow: hidden !important; touch-action: none; }
  body.menu-open::before {
    content: "";
    position: fixed; inset: 0;
    background: rgba(0,37,49,0.55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 230 !important;
    animation: mnav-backdrop-in 0.28s ease forwards;
  }
  @keyframes mnav-backdrop-in { from { opacity: 0; } to { opacity: 1; } }

  /* Hide legacy floating close button — drawer has its own header X */
  .nav-close { display: none !important; }

  /* Hide companion FABs while drawer is open */
  body.menu-open .wa-fab,
  body.menu-open .call-fab,
  body.menu-open .cookie-banner {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* RTL — drawer slides from LEFT */
  html[dir="rtl"] .topbar .nav#primary-nav,
  html[dir="rtl"] .topbar .nav {
    right: auto !important;
    left: 0 !important;
    transform: translateX(-100%) !important;
    box-shadow: 20px 0 60px rgba(0,37,49,0.28) !important;
  }
  html[dir="rtl"] .topbar .nav#primary-nav.open,
  html[dir="rtl"] .topbar .nav.open { transform: translateX(0) !important; }
}

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

  .topbar .nav > li { animation: none !important; opacity: 1 !important; transform: none !important; }
  body.menu-open::before { animation: none !important; }
}

/* Desktop — drawer header/footer are not visible (only used inside mobile drawer) */
@media (min-width: 1101px) {
  .mnav-head, .mnav-foot { display: none !important; }
}

/* ============================================================================
   MOBILE FIXES · 2026-05-19 · misc layout bugs found in iPhone sweep
   ============================================================================ */
@media (max-width: 1100px) {
  /* Markets-pick tabs: hide inactive panels entirely on mobile (no transition
     overlap). On mobile, .mp-stage padding collapses so absolute inactive
     panels at inset:26px visually leak through during opacity fade. */
  .mp-stage .mp-panel:not(.active) {
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .mp-stage .mp-panel.active {
    visibility: visible !important;
  }

  /* mp-row symbol cell: prevent 4-line wrap on narrow viewports */
  .mp-row {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    gap: 10px !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
  }
  .mp-row span:first-child {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-width: 0;
  }
  .mp-row b {
    white-space: nowrap !important;
    font-size: 13px !important;
  }
  .mp-row .up, .mp-row .dn {
    white-space: nowrap !important;
    font-size: 11.5px !important;
    min-width: 0 !important;
  }
}

/* Narrow phones — stack mp-row symbol above pip+comm to keep symbol full text */
@media (max-width: 380px) {
  .mp-row {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
    padding: 10px 12px !important;
  }
  .mp-row span:first-child {
    grid-column: 1 / -1 !important;
    font-size: 12.5px !important;
    color: #002531 !important;
    margin-bottom: 2px;
  }
  .mp-row b {
    display: inline-block;
    font-size: 14px !important;
    margin-right: 10px;
  }
  .mp-row .up, .mp-row .dn {
    display: inline-block;
    text-align: left !important;
  }

  /* Tier card feature lines (acc-card/tier-features) — allow wrap, no truncation */
  .tier-features li, .tier .features li, .acc-feat li, .tier-card li {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: break-word;
  }
}

/* ============================================================================
   ENERGIES HERO v2 · 2026-05-19 · pumpjack + flame + 3-bar bench + ticker stack
   ============================================================================ */
.fx-scene.en-scene-v2 .en-svg,
.fx-scene.en-scene-v2 .fx-glow,
.fx-scene.en-scene-v2 .fx-ring,
.fx-scene.en-scene-v2 .fx-ticker {
  display: none !important;
}
.fx-scene.en-scene-v2 {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  justify-items: center;
  padding: 8px 0;
  isolation: isolate;
  min-height: 0;
}
.fx-scene.en-scene-v2 .en-svg-v2 {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  aspect-ratio: 1 / 1;
  filter: drop-shadow(0 18px 40px rgba(0,37,49,0.18));
}

/* Pumpjack walking-beam nodding animation */
.fx-scene.en-scene-v2 .en2-beam {
  animation: en2-nod 3.4s ease-in-out infinite;
  transform-box: fill-box;
}
@keyframes en2-nod {
  0%,100% { transform: rotate(-8deg); }
  50%     { transform: rotate(14deg); }
}

/* Flame flicker (path morph via scale + opacity) */
.fx-scene.en-scene-v2 .en2-flame {
  transform-origin: 8px 100px;
  transform-box: fill-box;
  animation: en2-flicker 1.6s ease-in-out infinite;
}
.fx-scene.en-scene-v2 .en2-flame-1 { animation-delay: 0s; }
.fx-scene.en-scene-v2 .en2-flame-2 { animation-delay: -0.5s; }
@keyframes en2-flicker {
  0%,100% { transform: scale(1, 1); opacity: 1; }
  35%     { transform: scale(1.06, 0.92); opacity: 0.85; }
  65%     { transform: scale(0.94, 1.08); opacity: 0.95; }
}

/* Spark rising */
.fx-scene.en-scene-v2 .en2-spark {
  transform-box: fill-box;
  transform-origin: center;
  animation: en2-spark 2.6s ease-out infinite;
  opacity: 0;
}
.fx-scene.en-scene-v2 .en2-s1 { animation-delay: 0s; }
.fx-scene.en-scene-v2 .en2-s2 { animation-delay: 0.8s; }
.fx-scene.en-scene-v2 .en2-s3 { animation-delay: 1.6s; }
@keyframes en2-spark {
  0%   { opacity: 0; transform: translate(0, 0) scale(1); }
  20%  { opacity: 1; }
  100% { opacity: 0; transform: translate(0, -40px) scale(0.4); }
}

/* Orbit rotation */
.fx-scene.en-scene-v2 .en2-orbit {
  transform-origin: 230px 230px;
  transform-box: fill-box;
}
.fx-scene.en-scene-v2 .en2-orbit-1 { animation: en2-spin 36s linear infinite; }
.fx-scene.en-scene-v2 .en2-orbit-2 { animation: en2-spin 26s linear infinite reverse; }
@keyframes en2-spin { to { transform: rotate(360deg); } }

/* Wave drift */
.fx-scene.en-scene-v2 .en2-wave {
  animation: en2-wave 6s ease-in-out infinite;
  transform-box: fill-box;
}
.fx-scene.en-scene-v2 .en2-wave-2 { animation-delay: -2s; }
.fx-scene.en-scene-v2 .en2-wave-3 { animation-delay: -4s; }
@keyframes en2-wave {
  0%,100% { transform: translateX(0); }
  50%     { transform: translateX(-30px); }
}

/* Bars rise + bob */
.fx-scene.en-scene-v2 .en2-bar {
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: en2-bar-rise 3.6s ease-in-out infinite;
}
.fx-scene.en-scene-v2 .en2-b1 { animation-delay: 0s; }
.fx-scene.en-scene-v2 .en2-b2 { animation-delay: -0.4s; }
.fx-scene.en-scene-v2 .en2-b3 { animation-delay: -0.8s; }
@keyframes en2-bar-rise {
  0%,100% { transform: scaleY(1); }
  50%     { transform: scaleY(1.10); }
}

/* Ticker stack */
.fx-scene.en-scene-v2 .en-ticker-stack {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.fx-scene.en-scene-v2 .en-tick-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(31,95,168,0.14);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,37,49,0.06);
  opacity: 0;
  transform: translateY(14px);
  animation: en2-card-in 0.55s cubic-bezier(0.22,1,0.36,1) forwards;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.fx-scene.en-scene-v2 .en-tick-card:nth-child(1) { animation-delay: 0.25s; }
.fx-scene.en-scene-v2 .en-tick-card:nth-child(2) { animation-delay: 0.45s; }
.fx-scene.en-scene-v2 .en-tick-card:nth-child(3) { animation-delay: 0.65s; }
@keyframes en2-card-in { to { opacity: 1; transform: translateY(0); } }
.fx-scene.en-scene-v2 .en-tick-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,37,49,0.10);
  border-color: rgba(31,95,168,0.28);
}
.fx-scene.en-scene-v2 .en-tick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  font-size: 20px;
  background: linear-gradient(135deg, #002531 0%, #003B4F 100%);
  border-radius: 10px;
  flex-shrink: 0;
}
.fx-scene.en-scene-v2 .en-tick-body { display: flex; flex-direction: column; min-width: 0; }
.fx-scene.en-scene-v2 .en-tick-pair {
  font-family: 'Courier New', monospace;
  font-size: 13.5px;
  font-weight: 800;
  color: #002531;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.fx-scene.en-scene-v2 .en-tick-meta {
  font-size: 11.5px;
  color: #5A6B75;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 2px;
}
.fx-scene.en-scene-v2 .en-tick-vals {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
  flex-shrink: 0;
}
.fx-scene.en-scene-v2 .en-tick-price {
  font-family: 'Courier New', monospace;
  font-size: 15px;
  font-weight: 800;
  color: #002531;
  font-variant-numeric: tabular-nums;
}
.fx-scene.en-scene-v2 .en-tick-chg {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.fx-scene.en-scene-v2 .en-tick-chg.fx-up { color: #1F8A4C; }
.fx-scene.en-scene-v2 .en-tick-chg.fx-down { color: #C0392B; }

/* Tablet/laptop (≥980): SVG full row 1, cards 3-across row 2 — never overlap */
@media (min-width: 980px) {
  .fx-scene.en-scene-v2 {
    grid-template-rows: auto auto;
    gap: 18px;
    min-height: 0;
  }
  .fx-scene.en-scene-v2 .en-svg-v2 { max-width: 460px; }
  .fx-scene.en-scene-v2 .en-ticker-stack {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    width: 100%;
  }
  .fx-scene.en-scene-v2 .en-tick-card {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    padding: 12px 12px;
  }
  .fx-scene.en-scene-v2 .en-tick-icon { width: 36px; height: 36px; font-size: 16px; }
  .fx-scene.en-scene-v2 .en-tick-pair { font-size: 13px; }
  .fx-scene.en-scene-v2 .en-tick-meta { font-size: 10.5px; }
  .fx-scene.en-scene-v2 .en-tick-price { font-size: 15px; }
  .fx-scene.en-scene-v2 .en-tick-chg { font-size: 11px; }
}

/* Ultra-wide (≥1480): only here do the SVG-left ticker-column-right split
   — otherwise narrow viewports squeeze SVG into tiny 280px box */
@media (min-width: 1480px) {
  .fx-scene.en-scene-v2 {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    grid-template-rows: 1fr;
    align-items: center;
    gap: 28px;
    min-height: 520px;
  }
  .fx-scene.en-scene-v2 .en-svg-v2 { grid-row: 1; grid-column: 1; max-width: 560px; }
  .fx-scene.en-scene-v2 .en-ticker-stack {
    grid-row: 1; grid-column: 2;
    flex-direction: column;
    flex-wrap: nowrap;
    max-width: 320px;
  }
  .fx-scene.en-scene-v2 .en-tick-card {
    flex: 0 0 auto;
    padding: 14px 16px;
  }
}

/* Mobile tightening ≤640 */
@media (max-width: 640px) {
  .fx-scene.en-scene-v2 { gap: 18px; }
  .fx-scene.en-scene-v2 .en-svg-v2 { max-width: 340px; }
  .fx-scene.en-scene-v2 .en-ticker-stack { gap: 8px; }
  .fx-scene.en-scene-v2 .en-tick-card { padding: 10px 12px; gap: 10px; border-radius: 12px; }
  .fx-scene.en-scene-v2 .en-tick-icon { width: 32px; height: 32px; font-size: 16px; }
  .fx-scene.en-scene-v2 .en-tick-pair { font-size: 12.5px; }
  .fx-scene.en-scene-v2 .en-tick-meta { font-size: 10.5px; }
  .fx-scene.en-scene-v2 .en-tick-price { font-size: 14px; }
  .fx-scene.en-scene-v2 .en-tick-chg { font-size: 10.5px; }
}
@media (max-width: 380px) {
  .fx-scene.en-scene-v2 .en-svg-v2 { max-width: 280px; }
  .fx-scene.en-scene-v2 .en-tick-meta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-scene.en-scene-v2 .en2-beam,
  .fx-scene.en-scene-v2 .en2-flame,
  .fx-scene.en-scene-v2 .en2-spark,
  .fx-scene.en-scene-v2 .en2-orbit,
  .fx-scene.en-scene-v2 .en2-wave,
  .fx-scene.en-scene-v2 .en2-bar,
  .fx-scene.en-scene-v2 .en-tick-card { animation: none !important; opacity: 1; transform: none; }
}


/* ============================================================================
   HOME HERO · stage 0 brand 3D arrow (webm) — rotator-controlled
   Arrow only visible when its own .stage-img.active (data-bg=0).
   When tag rotator switches to stage 1 (Get.Set.Grow.), arrow fades out
   and gsg gold bars take over — no cross-stage bleed.
   ============================================================================ */
.hero-stage .stage-arrow {
  place-items: center;
}
.hero-stage :is(video,img).arrow.arrow-3d {
  display: block;
  position: relative;
  width: 78%;
  max-width: 460px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter:
    drop-shadow(0 30px 50px rgba(31,95,168,0.40))
    drop-shadow(0 0 24px rgba(31,95,168,0.18));
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  margin: 0 auto;
  animation: arrow-3d-wobble 6s ease-in-out infinite;
  transform-origin: center;
}
@keyframes arrow-3d-wobble {
  0%   { transform: perspective(1200px) rotateY(-45deg) rotateZ(-4deg) translateY(0); }
  25%  { transform: perspective(1200px) rotateY(0deg)   rotateZ(0deg)  translateY(-10px); }
  50%  { transform: perspective(1200px) rotateY(45deg)  rotateZ(4deg)  translateY(0); }
  75%  { transform: perspective(1200px) rotateY(0deg)   rotateZ(0deg)  translateY(-10px); }
  100% { transform: perspective(1200px) rotateY(-45deg) rotateZ(-4deg) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-stage :is(video,img).arrow.arrow-3d { animation: none !important; }
}
.hero-stage .stage-arrow .arrow-orbit {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
/* Responsive orbit — shrink ring + symbols so they never overlap CTA below.
   Tablet ≤980: medium tuck. Mobile ≤768: deep tuck + tiny pills.
   Phone ≤540: tightest. Hero-stage padding-bottom keeps clear of button. */
@media (max-width: 980px) {
  .hero-stage .stage-arrow .arrow-orbit { inset: 10% !important; }
  .hero-stage .stage-arrow .arrow-orbit .orbit-sym {
    width: 30px !important; height: 30px !important; font-size: 12px !important;
  }
}
@media (max-width: 768px) {
  .hero-stage .stage-arrow .arrow-orbit {
    display: block !important;
    inset: 16% !important;
  }
  .hero-stage .stage-arrow .arrow-orbit .orbit-sym {
    width: 26px !important; height: 26px !important; font-size: 11px !important;
    box-shadow: 0 4px 12px rgba(109,166,242,0.20) !important;
  }
  /* Lift hero-stage bottom edge above CTA so even bottom-most orbit symbol
     keeps breathing room (16% inset means symbol baseline at ~84% of stage) */
  .hero-stage { padding-bottom: 8px; overflow: visible; }
}
@media (max-width: 540px) {
  .hero-stage .stage-arrow .arrow-orbit { inset: 18% !important; }
  .hero-stage .stage-arrow .arrow-orbit .orbit-sym {
    width: 24px !important; height: 24px !important; font-size: 10px !important;
  }
}
@media (max-width: 380px) {
  .hero-stage .stage-arrow .arrow-orbit { inset: 20% !important; }
  .hero-stage .stage-arrow .arrow-orbit .orbit-sym {
    width: 22px !important; height: 22px !important; font-size: 9.5px !important;
  }
}
@media (max-width: 980px) {
  .hero-stage :is(video,img).arrow.arrow-3d {
    width: 64%;
    max-width: 320px;
  }
}
@media (max-width: 540px) {
  .hero-stage :is(video,img).arrow.arrow-3d {
    width: 70%;
    max-width: 280px;
  }
}


/* ============================================================================
   GOLD CAMPAIGN + T&C — brand-font override (TT Hoves Pro)
   Replaces Georgia, serif fallback so campaign typography matches brand kit.
   ============================================================================ */
.gc-hero, .gc-hero *,
.gc-countdown, .gc-countdown *,
.gc-idea, .gc-idea *,
.gc-offer, .gc-offer *,
.gc-steps, .gc-steps *,
.gc-roulette, .gc-roulette *,
.gc-headlines, .gc-headlines *,
.gc-final, .gc-final *,
.gc-tnc-link, .gc-tnc-link *,
.tnc-hero, .tnc-hero *,
.tnc-body, .tnc-body *,
.gc-h-tile, .gc-h-tile * {
  font-family: 'Hoves', 'Inter', system-ui, -apple-system, sans-serif !important;
}
/* Preserve monospace numerics for tickers/values */
.gc-roulette-vid + *, .gc-cd-num, .gc-tick-price,
.gc-promise-line, .mp-row b, .tnc-cell-v,
[data-tick], [data-side] {
  /* Allow inline monospace where already set — these have explicit families */
}
/* Italic accent words still use Hoves italic 400 — no Georgia */

/* Contact section anchor — sticky topbar offset for smooth scroll landing */
#contact-channels { scroll-margin-top: 100px; }
#contact-phone { scroll-margin-top: 100px; }


/* ============================================================================
   FINAL OVERRIDE · narrow-phone burger + header (after all other 1100/980 blocks)
   ============================================================================ */
@media (max-width: 380px) {
  .topbar .burger,
  .topbar #nav-burger {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    border-radius: 10px !important;
  }
  .topbar .burger svg,
  .topbar #nav-burger svg {
    width: 18px !important;
    height: 18px !important;
  }
}

/* Hero gold campaign strip (under CTAs on home) */
.hero-gold-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 18px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(245,218,158,0.18), rgba(179,154,126,0.10));
  border: 1px solid rgba(179,154,126,0.40);
  border-radius: 999px;
  font-size: 12.5px;
  color: #5E3A1F;
  font-weight: 600;
  line-height: 1.4;
  max-width: 560px;
}
.hero-gold-strip svg { color: #B39A7E; flex-shrink: 0; }
.hero-gold-strip b { color: #002531; font-weight: 800; letter-spacing: 0.005em; }
.hero-gold-strip a {
  color: #7F614B;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-gold-strip a:hover { color: #5E3A1F; }
@media (max-width: 540px) {
  .hero-gold-strip {
    font-size: 11.5px;
    padding: 10px 14px;
    border-radius: 14px;
    display: flex;
  }
}

/* ============================================================================
   NAV · 1 KG GOLD menu item — gold accent in topbar nav + drawer
   ============================================================================ */
.topbar .nav .nav-gold-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px !important;
  position: relative;
}
.topbar .nav .nav-gold-link svg { color: #7F614B; flex-shrink: 0; }
.topbar .nav .nav-gold-badge {
  display: inline-flex;
  align-items: center;
  font-style: normal;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  padding: 3px 8px;
  background: linear-gradient(135deg, #F5DA9E, #D5B16A 50%, #7F614B);
  color: #1A0E00;
  border-radius: 999px;
  line-height: 1;
  margin-left: 4px;
  box-shadow: 0 2px 6px rgba(127,97,75,0.40);
  text-shadow: 0 1px 0 rgba(255,239,200,0.5);
  animation: nav-gold-win-pulse 2.4s ease-in-out infinite;
}
@keyframes nav-gold-win-pulse {
  0%,100% { transform: scale(1); box-shadow: 0 2px 6px rgba(127,97,75,0.40); }
  50%     { transform: scale(1.10); box-shadow: 0 4px 12px rgba(213,177,106,0.65); }
}
@media (min-width: 1101px) {
  .topbar .nav > .nav-gold-li > a.nav-gold-link {
    background: linear-gradient(135deg, #F8EAC8 0%, #E9C988 50%, #D5B16A 100%) !important;
    background-size: 200% 200%;
    background-position: 0% 0%;
    border: 1px solid rgba(127,97,75,0.45) !important;
    color: #5E3A1F !important;
    font-weight: 800 !important;
    box-shadow:
      0 6px 16px rgba(127,97,75,0.28),
      0 1px 0 rgba(255,239,200,0.50) inset,
      0 -1px 0 rgba(127,97,75,0.22) inset;
    transition: background-position 0.5s ease, box-shadow 0.3s ease, transform 0.3s ease;
  }
  .topbar .nav > .nav-gold-li > a.nav-gold-link:hover {
    background-position: 100% 100%;
    transform: translateY(-1px);
    box-shadow:
      0 8px 22px rgba(213,177,106,0.45),
      0 1px 0 rgba(255,239,200,0.65) inset,
      0 -1px 0 rgba(127,97,75,0.30) inset;
    color: #3E2710 !important;
  }
  .topbar .nav > .nav-gold-li > a.nav-gold-link svg { color: #5E3A1F !important; }
  .topbar .nav > .nav-gold-li .nav-gold-badge {
    font-size: 11px;
    padding: 4px 9px;
    background: linear-gradient(135deg, #1A0E00, #3E2710);
    color: #F5DA9E;
    text-shadow: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.30);
  }
  @keyframes nav-gold-win-pulse {
    0%,100% { transform: scale(1); }
    50%     { transform: scale(1.12); }
  }
}
/* Mobile drawer — full-row gold accent */
@media (max-width: 1100px) {
  .topbar .nav > .nav-gold-li {
    border-bottom: 1px solid rgba(127,97,75,0.18) !important;
    background: linear-gradient(90deg, rgba(245,218,158,0.10), transparent) !important;
  }
  .topbar .nav > .nav-gold-li > a.nav-gold-link {
    color: #7F614B !important;
    font-weight: 800 !important;
  }
  .topbar .nav > .nav-gold-li .nav-gold-badge {
    margin-left: auto;
    font-size: 11px;
    padding: 4px 9px;
    letter-spacing: 0.16em;
  }
}

/* ============================================================================
   1 KG GOLD CAMPAIGN PAGE · 2026-05-19
   Styles: gold-themed campaign page (.gc-*) + gold CTA button (.btn-gold)
   ============================================================================ */

/* Gold gradient CTA button — premium, used on campaign + home hero */
.btn.btn-gold,
a.btn.btn-gold,
button.btn.btn-gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #F5DA9E 0%, #D5B16A 38%, #B39A7E 70%, #7F614B 100%);
  background-size: 200% 200%;
  background-position: 0% 0%;
  color: #1A0E00;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 0;
  border-radius: 999px;
  box-shadow:
    0 8px 28px rgba(127,97,75,0.36),
    0 1px 0 rgba(255,255,255,0.55) inset,
    0 -1px 0 rgba(127,97,75,0.30) inset;
  transition:
    transform 0.28s cubic-bezier(0.22,1,0.36,1),
    box-shadow 0.28s ease,
    background-position 0.6s ease;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
}
.btn.btn-gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}
.btn.btn-gold:hover {
  background-position: 100% 100%;
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 12px 36px rgba(127,97,75,0.46),
    0 1px 0 rgba(255,255,255,0.65) inset,
    0 -1px 0 rgba(127,97,75,0.35) inset;
}
.btn.btn-gold:hover::before { transform: translateX(130%); }
.btn.btn-gold:active { transform: translateY(0) scale(0.99); }
.btn.btn-gold svg { stroke: currentColor; }
.btn.btn-gold.btn-lg {
  padding: 16px 30px;
  font-size: 16px;
}

/* Common s-eyebrow + .accent-gold reuse */
.gc-eyebrow,
.gc-idea .s-eyebrow,
.gc-offer .s-eyebrow,
.gc-steps .s-eyebrow,
.gc-mosaic .s-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #B39A7E;
  margin-bottom: 14px;
}
.accent-gold {
  background: linear-gradient(135deg, #D5B16A, #7F614B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

/* -------- gc-hero -------- */
.gc-hero {
  position: relative;
  background:
    radial-gradient(900px 600px at 80% 0%, rgba(213,177,106,0.10), transparent 60%),
    radial-gradient(700px 500px at 0% 90%, rgba(31,95,168,0.10), transparent 60%),
    linear-gradient(180deg, #FBF7EF 0%, #FFFFFF 60%, #FBF7EF 100%);
  padding: 96px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.gc-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.gc-hero-bg .gc-orb {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: gc-orb-float 14s ease-in-out infinite;
}
.gc-hero-bg .gc-orb-blue {
  top: -120px; left: -100px;
  background: radial-gradient(circle, #6DA6F2, transparent 60%);
}
.gc-hero-bg .gc-orb-gold {
  bottom: -160px; right: -120px;
  background: radial-gradient(circle, #D5B16A, transparent 60%);
  animation-delay: -7s;
}
@keyframes gc-orb-float {
  0%,100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.06); }
}
.gc-hero-bg .gc-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31,95,168,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,95,168,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
}

.gc-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .gc-hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
}

.gc-hero-copy { min-width: 0; }
.gc-eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #D5B16A;
  box-shadow: 0 0 0 4px rgba(213,177,106,0.20);
  animation: gc-pulse-dot 1.8s ease-out infinite;
}
@keyframes gc-pulse-dot {
  0%,100% { box-shadow: 0 0 0 4px rgba(213,177,106,0.20); }
  50%     { box-shadow: 0 0 0 10px rgba(213,177,106,0); }
}

.gc-h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: clamp(38px, 7.2vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #002531;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gc-h1 .gc-aed { color: #002531; }
.gc-h1 .gc-out {
  background: linear-gradient(135deg, #D5B16A 0%, #7F614B 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gc-h1 .gc-out em {
  font-style: normal;
  text-shadow: 0 6px 28px rgba(127,97,75,0.30);
}

.gc-lead {
  font-size: clamp(16px, 1.6vw, 18.5px);
  line-height: 1.6;
  color: #4A5560;
  max-width: 560px;
  margin: 0 0 28px;
}
.gc-lead b { color: #002531; font-weight: 700; }

.gc-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 0 28px;
  justify-content: center;
  align-items: center;
}
.gc-cta-row .btn { margin: 4px 6px; }

/* Secondary "See how it works" CTA — the gold hero has a LIGHT cream background,
   so the default btn-ghost-on-dark (white text/border) is invisible. Override here
   with a gold-themed outline button: dark ink text + gold border, gold fill on hover.
   Works on desktop and mobile (mobile width:100% rule already applies). */
.gc-hero .gc-cta-row .btn.btn-ghost-on-dark,
.gc-cta-row .btn.btn-ghost-on-dark {
  background: #ffffff;
  color: #002531;
  border-color: #D5B16A;
  box-shadow: 0 6px 18px rgba(127, 97, 75, 0.10);
}
.gc-hero .gc-cta-row .btn.btn-ghost-on-dark:hover,
.gc-cta-row .btn.btn-ghost-on-dark:hover {
  background: linear-gradient(135deg, #E9C988 0%, #D5B16A 60%, #7F614B 100%);
  color: #002531;
  border-color: #D5B16A;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(127, 97, 75, 0.28);
}
.gc-hero .gc-cta-row .btn.btn-ghost-on-dark:focus-visible,
.gc-cta-row .btn.btn-ghost-on-dark:focus-visible {
  outline: 2px solid #D5B16A;
  outline-offset: 3px;
}

.gc-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 20px;
  font-size: 12.5px;
  color: #4A5560;
  font-weight: 600;
}
.gc-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gc-trust-item svg { color: #1F5FA8; flex-shrink: 0; }

/* Hero stage — 2 overlapping 500g gold bars (chromakey video) — full 3D rotation */
.gc-hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  isolation: isolate;
  perspective: 900px;
}
.gc-bars-stack {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 420px;
  margin: 0 auto;
  transform-style: preserve-3d;
}
.gc-stage-glow {
  position: absolute;
  inset: 8% 0 14%;
  background:
    radial-gradient(circle at 50% 55%, rgba(213,177,106,0.55), transparent 55%),
    radial-gradient(circle at 50% 60%, rgba(245,218,158,0.40), transparent 65%);
  filter: blur(45px);
  z-index: 0;
  pointer-events: none;
  animation: gc-glow-pulse 5s ease-in-out infinite;
}
@keyframes gc-glow-pulse {
  0%,100% { opacity: 0.85; transform: scale(1); }
  50%     { opacity: 1; transform: scale(1.06); }
}

.gc-bar {
  position: absolute;
  width: 62%;
  aspect-ratio: 1 / 1;
  top: 50%;
  z-index: 1;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.gc-bar :is(video,img) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 22px 32px rgba(127,97,75,0.45))
    drop-shadow(0 0 18px rgba(245,218,158,0.20));
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.gc-bar-left {
  left: 4%;
  animation: gc-bar-l 7s ease-in-out infinite;
  z-index: 2;
}
.gc-bar-right {
  right: 4%;
  animation: gc-bar-r 7s ease-in-out infinite -3.5s;
  z-index: 1;
}
@keyframes gc-bar-l {
  0%,100% { transform: translateY(-50%) rotate(-14deg) scale(1); }
  50%     { transform: translateY(-58%) rotate(-10deg) scale(1.04); }
}
@keyframes gc-bar-r {
  0%,100% { transform: translateY(-50%) rotate(14deg) scale(1); }
  50%     { transform: translateY(-58%) rotate(10deg) scale(1.04); }
}

.gc-prize-tag {
  position: absolute;
  left: 50%;
  top: -6%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FFFFFF, #F8F1E1);
  border: 1px solid rgba(213,177,106,0.55);
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow:
    0 18px 40px rgba(127,97,75,0.30),
    0 0 0 8px rgba(255,255,255,0.45);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  animation: gc-tag-float-top 5s ease-in-out infinite 0.5s;
  text-align: left;
  white-space: nowrap;
}
@keyframes gc-tag-float-top {
  0%,100% { transform: translateX(-50%) translateY(0) scale(1); }
  50%     { transform: translateX(-50%) translateY(-6px) scale(1.03); }
}
.gc-prize-tag .gc-prize-tag-eyebrow {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #B39A7E;
  text-transform: uppercase;
  border-right: 1px solid rgba(213,177,106,0.45);
  padding-right: 12px;
  line-height: 1;
}
.gc-prize-tag .gc-prize-tag-val {
  font-family: Georgia, serif;
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: -0.012em;
  color: #002531;
  line-height: 1;
  margin: 0;
}
.gc-prize-tag .gc-prize-tag-val em {
  font-style: normal;
  font-size: 0.65em;
  color: #7F614B;
  margin-left: 2px;
}
@keyframes gc-tag-float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}
.gc-prize-tag-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.20em;
  color: #B39A7E;
  text-transform: uppercase;
}
.gc-prize-tag-val {
  font-family: Georgia, serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: #002531;
  line-height: 1;
}
.gc-prize-tag-val em {
  font-style: normal;
  font-size: 0.6em;
  color: #7F614B;
  margin-left: 2px;
}
.gc-prize-tag-sub { font-size: 11.5px; color: #5A6B75; font-weight: 600; }

.gc-risk-note {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 48px auto 0;
  padding: 12px 18px;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.5;
  color: #5A6B75;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(31,95,168,0.10);
  border-radius: 10px;
}

/* -------- gc-idea -------- */
.gc-idea {
  background: linear-gradient(180deg, #FFFFFF, #FBF7EF);
  padding: 96px 0;
}
.gc-idea-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 980px) {
  .gc-idea-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.gc-getsetgrow {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: Georgia, serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  font-size: clamp(64px, 14vw, 180px);
}
.gc-gsg { display: inline-block; transform-origin: bottom left; }
.gc-gsg-get  { color: #002531; opacity: 0; transform: translateY(40px); animation: gc-gsg-rise 0.7s cubic-bezier(0.22,1,0.36,1) 0.2s forwards; }
.gc-gsg-set  { color: #002531; opacity: 0; transform: translateY(40px); animation: gc-gsg-rise 0.7s cubic-bezier(0.22,1,0.36,1) 0.45s forwards; }
.gc-gsg-grow {
  background: linear-gradient(135deg, #D5B16A 0%, #7F614B 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0; transform: translateY(40px) scale(0.94);
  animation: gc-gsg-grow-pop 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) 0.78s forwards;
  text-shadow: 0 8px 30px rgba(127,97,75,0.25);
}
@keyframes gc-gsg-rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes gc-gsg-grow-pop {
  60% { opacity: 1; transform: translateY(-6px) scale(1.04); }
  to  { opacity: 1; transform: translateY(0) scale(1); }
}

.gc-idea-copy h2 {
  font-family: Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: #002531;
  margin: 0 0 16px;
}
.gc-idea-copy p {
  font-size: 16px;
  line-height: 1.65;
  color: #4A5560;
  margin: 0 0 24px;
}
.gc-idea-copy p em { font-style: italic; color: #7F614B; font-weight: 600; }
.gc-idea-copy p b  { color: #002531; }

.gc-idea-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.gc-idea-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #FFFFFF;
  border: 1px solid rgba(213,177,106,0.18);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,37,49,0.04);
}
.gc-il-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #F5DA9E, #B39A7E);
  color: #1A0E00;
  font-family: Georgia, serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0;
}
.gc-idea-list li > div { font-size: 14.5px; line-height: 1.5; color: #002531; }
.gc-idea-list li > div b { font-weight: 800; }
.gc-idea-list li > div em { font-style: italic; color: #5A6B75; font-weight: 500; }

/* V3 — minimal numbered statements, no audience labels · stagger entrance */
.gc-idea-list-v3 { gap: 8px; counter-reset: gc-il; }
.gc-idea-list-v3 li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px 18px 18px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(213,177,106,0.22);
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  transform: translateX(-12px);
  animation: gc-il-slide 0.55s cubic-bezier(0.22,1,0.36,1) forwards;
  transition: transform 0.3s ease, background 0.3s ease;
}
.gc-idea-list-v3 li:last-child { border-bottom: 0; }
.gc-idea-list-v3 li:hover {
  background: linear-gradient(90deg, rgba(245,218,158,0.10), transparent);
  transform: translateX(2px);
}
.gc-idea-list-v3 li:nth-child(1) { animation-delay: 0.10s; }
.gc-idea-list-v3 li:nth-child(2) { animation-delay: 0.28s; }
.gc-idea-list-v3 li:nth-child(3) { animation-delay: 0.46s; }
@keyframes gc-il-slide {
  to { opacity: 1; transform: translateX(0); }
}

.gc-idea-list-v3 .gc-il-mark {
  width: auto; height: auto;
  flex-shrink: 0;
  border-radius: 0;
  background: none;
  font-family: Georgia, serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #D5B16A 0%, #7F614B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  box-shadow: none;
  min-width: 60px;
  text-align: right;
}

.gc-idea-list-v3 .gc-il-read {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #002531;
}
.gc-idea-list-v3 .gc-il-read em {
  font-style: italic;
  font-weight: 700;
  color: #7F614B;
}
.gc-idea-list-v3 .gc-il-read-gold {
  background: linear-gradient(135deg, #D5B16A 0%, #7F614B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gc-idea-list-v3 .gc-il-read-gold em { color: transparent; font-weight: 800; }

@media (max-width: 640px) {
  .gc-idea-list-v3 li { padding: 16px 14px 16px 12px; gap: 12px; }
  .gc-idea-list-v3 .gc-il-mark { min-width: 46px; font-size: 26px; }
  .gc-idea-list-v3 .gc-il-read { font-size: 16px; line-height: 1.3; }
}

@media (prefers-reduced-motion: reduce) {
  .gc-idea-list-v3 li { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* -------- gc-offer -------- */
.gc-offer {
  background: linear-gradient(180deg, #FBF7EF, #FFFFFF);
  padding: 96px 0;
}
.gc-offer .s-title {
  text-align: center;
  margin-bottom: 56px;
}
.gc-offer .s-title h2 {
  font-family: Georgia, serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: #002531;
  margin: 0 0 12px;
}
.gc-offer .s-sub { font-size: 16px; color: #4A5560; max-width: 540px; margin: 0 auto; }

.gc-offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 768px) {
  .gc-offer-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}

.gc-offer-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.10);
  border-radius: 20px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(0,37,49,0.05);
  transition: transform 0.32s cubic-bezier(0.22,1,0.36,1), box-shadow 0.32s ease, border-color 0.32s ease;
  overflow: hidden;
  isolation: isolate;
}
.gc-offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,37,49,0.10);
  border-color: rgba(31,95,168,0.18);
}
.gc-offer-num {
  position: absolute;
  top: 22px; right: 26px;
  font-family: Georgia, serif;
  font-weight: 800;
  font-size: 16px;
  color: rgba(31,95,168,0.20);
  letter-spacing: 0;
}
.gc-offer-card h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.01em;
  color: #002531;
}
.gc-offer-val {
  font-family: Georgia, serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #002531;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.gc-offer-threshold .gc-val-currency { font-size: 18px; color: #B39A7E; font-weight: 700; letter-spacing: 0.08em; }
.gc-offer-threshold .gc-val-num { font-variant-numeric: tabular-nums; }

.gc-promise-val { font-size: 20px; flex-direction: column; gap: 4px; letter-spacing: 0.06em; }
.gc-promise-line {
  display: block;
  font-weight: 800;
  background: linear-gradient(135deg, #1F5FA8, #6DA6F2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: 'Courier New', monospace;
  font-size: 16px;
}

.gc-prize-val { display: flex; align-items: baseline; gap: 8px; }
.gc-prize-big {
  font-family: Georgia, serif;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #F5DA9E, #7F614B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.gc-prize-big em { font-style: normal; font-size: 0.45em; }
.gc-prize-word { font-family: Georgia, serif; font-weight: 800; font-size: 28px; color: #7F614B; letter-spacing: 0.04em; }

.gc-offer-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: #4A5560;
  margin: 0;
}
.gc-offer-card p b { color: #002531; font-weight: 700; }

.gc-offer-feats {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gc-offer-feats li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #002531;
  font-weight: 600;
}
.gc-offer-feats li svg { color: #1F8A4C; flex-shrink: 0; }

.gc-offer-prize {
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF7EF 100%);
  border-color: rgba(213,177,106,0.30);
}
.gc-offer-prize::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(213,177,106,0.25), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

/* -------- gc-steps -------- */
.gc-steps {
  background: #002531;
  color: #FFFFFF;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.gc-steps::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(213,177,106,0.18), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.gc-steps .s-title { text-align: center; margin-bottom: 56px; }
.gc-steps .s-title .s-eyebrow { color: #D5B16A; }
.gc-steps .s-title h2 {
  font-family: Georgia, serif;
  font-size: clamp(28px, 4vw, 48px);
  margin: 0 0 12px;
  letter-spacing: -0.018em;
  color: #FFFFFF;
}

.gc-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  counter-reset: gc-step;
}
@media (min-width: 768px) {
  .gc-steps-list { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}

.gc-step {
  position: relative;
  padding: 32px 26px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(213,177,106,0.20);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.gc-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #F5DA9E, #7F614B);
  border-radius: 12px;
  color: #1A0E00;
  font-family: Georgia, serif;
  font-weight: 800;
  font-size: 18px;
}
.gc-step h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  margin: 0 0 10px;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}
.gc-step p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.78); margin: 0; }

.gc-steps-cta {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.gc-steps-cta .btn-ghost,
.gc-steps-cta a.btn.btn-ghost {
  background: transparent !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(245,218,158,0.45) !important;
  font-weight: 700;
}
.gc-steps-cta .btn-ghost:hover,
.gc-steps-cta a.btn.btn-ghost:hover {
  background: rgba(245,218,158,0.10) !important;
  border-color: rgba(245,218,158,0.75) !important;
  color: #F5DA9E !important;
}

/* -------- gc-mosaic -------- */
.gc-mosaic {
  background: #FFFFFF;
  padding: 96px 0;
}
.gc-mosaic .s-title { text-align: center; margin-bottom: 48px; }
.gc-mosaic .s-title h2 {
  font-family: Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  margin: 0;
  letter-spacing: -0.018em;
  color: #002531;
}
.gc-mosaic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 768px) { .gc-mosaic-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .gc-mosaic-grid { grid-template-columns: repeat(4, 1fr); } }
.gc-tile {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(31,95,168,0.10);
  background: #FBF7EF;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}
.gc-tile:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(0,37,49,0.10); }
.gc-tile-text span {
  font-family: Georgia, serif;
  font-size: clamp(15px, 1.7vw, 19px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: #002531;
  text-transform: uppercase;
}
.gc-tile-dark { background: #002531; border-color: rgba(213,177,106,0.20); }
.gc-tile-dark span { color: #FFFFFF; }
.gc-tile-gold-bg {
  background: linear-gradient(135deg, #F5DA9E 0%, #B39A7E 70%);
  border-color: rgba(127,97,75,0.30);
}
.gc-tile-gold-bg span { color: #1A0E00; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.05; }
.gc-tile-arrow { background: #002531; padding: 0; }
.gc-tile-arrow video { width: 100%; height: 100%; object-fit: contain; }

/* -------- gc-final -------- */
.gc-final {
  background:
    radial-gradient(800px 500px at 50% 0%, rgba(213,177,106,0.16), transparent 60%),
    linear-gradient(180deg, #FBF7EF, #FFFFFF);
  padding: 96px 0;
}
.gc-final-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.gc-final h2 {
  font-family: Georgia, serif;
  font-size: clamp(30px, 4.5vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: #002531;
  margin: 0 0 20px;
}
.gc-final p {
  font-size: 16px;
  line-height: 1.65;
  color: #4A5560;
  margin: 0 auto 28px;
  max-width: 580px;
}
.gc-final-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 18px;
}
.gc-tnc-note {
  font-size: 11.5px;
  color: #7C8B95;
  max-width: 580px;
  margin: 18px auto 0;
  line-height: 1.5;
}

/* ============================================================================
   MAX POSSIBILITIES · roulette word reveal showcase
   ============================================================================ */
.gc-roulette {
  background: linear-gradient(180deg, #FFFFFF, #FBF7EF);
  padding: 96px 0;
  overflow: hidden;
}
.gc-roulette-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 980px) {
  .gc-roulette-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.gc-roulette-copy h2 {
  font-family: Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: #002531;
  margin: 0 0 16px;
}
.gc-roulette-copy p {
  font-size: 16px;
  line-height: 1.65;
  color: #4A5560;
  margin: 0 0 22px;
}
.gc-roulette-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gc-roulette-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: #002531;
  font-weight: 600;
}
.gc-rl-dot {
  display: inline-flex;
  flex-shrink: 0;
  width: 8px; height: 8px;
  background: linear-gradient(135deg, #D5B16A, #7F614B);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(213,177,106,0.15);
}

.gc-roulette-stage {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(31,95,168,0.06), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #F5F8FD 100%);
  border: 1px solid rgba(31,95,168,0.10);
  box-shadow: 0 20px 50px rgba(0,37,49,0.10);
  aspect-ratio: 16/9;
  min-height: 300px;
  isolation: isolate;
}
.gc-roulette-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31,95,168,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,95,168,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.gc-roulette-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 1;
  transform: scale(1.05);
  filter: drop-shadow(0 10px 24px rgba(31,95,168,0.12));
  /* White bg from chromakey → transparent on light hero.
     `darken` shows only pixels darker than backdrop — white hidden, wheel stays. */
  mix-blend-mode: darken;
}
@media (max-width: 768px) {
  .gc-roulette { padding: 64px 0; }
  .gc-roulette-stage { aspect-ratio: 4/3; min-height: 240px; border-radius: 18px; }
}


/* ============================================================================
   COUNTDOWN · attractive deadline countdown (gold-themed · responsive)
   ============================================================================ */
.gc-countdown {
  padding: 28px 0 36px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF7EF 100%);
}
.gc-cd-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 22px 30px;
  background:
    radial-gradient(circle at 0% 0%, rgba(213,177,106,0.22), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(245,218,158,0.18), transparent 55%),
    linear-gradient(135deg, #001520 0%, #002B3C 50%, #003B4F 100%);
  border: 1px solid rgba(213,177,106,0.40);
  border-radius: 24px;
  box-shadow:
    0 20px 50px rgba(0,37,49,0.22),
    0 0 0 1px rgba(245,218,158,0.10) inset;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.gc-cd-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(245,218,158,0.06) 50%, transparent 70%);
  pointer-events: none;
  animation: gc-cd-shimmer 6s ease-in-out infinite;
}
@keyframes gc-cd-shimmer {
  0%,100% { transform: translateX(-30%); opacity: 0; }
  50%     { transform: translateX(30%); opacity: 1; }
}
.gc-cd-head {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  flex-shrink: 0;
}
.gc-cd-pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #D5B16A;
  box-shadow: 0 0 0 5px rgba(213,177,106,0.30), 0 0 14px rgba(245,218,158,0.50);
  animation: gc-pulse-dot 1.6s ease-out infinite;
}
.gc-cd-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #F5DA9E, #D5B16A 50%, #B39A7E);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gc-cd-timer {
  display: inline-flex;
  align-items: stretch;
  gap: 8px;
  margin: 0;
  font-variant-numeric: tabular-nums;
  padding: 0;
  flex: 1 1 auto;
  justify-content: center;
}
.gc-cd-unit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 14px;
  min-width: 78px;
  background:
    linear-gradient(180deg, rgba(245,218,158,0.10), rgba(245,218,158,0.04));
  border: 1px solid rgba(213,177,106,0.30);
  border-radius: 14px;
  box-shadow:
    0 4px 12px rgba(0,0,0,0.18),
    0 1px 0 rgba(245,218,158,0.20) inset;
  position: relative;
}
.gc-cd-num {
  font-family: Georgia, serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #F5DA9E 0%, #D5B16A 60%, #B39A7E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
  text-shadow: 0 2px 8px rgba(245,218,158,0.20);
}
.gc-cd-num.tick { transform: scale(1.18); }
.gc-cd-lbl {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(245,218,158,0.65);
  text-transform: uppercase;
  white-space: nowrap;
}
/* Default: full labels on desktop, short labels hidden */
.gc-cd-lbl .cd-lbl-full  { display: inline; }
.gc-cd-lbl .cd-lbl-short { display: none; }
.gc-cd-sep {
  display: inline-flex;
  align-items: center;
  font-family: Georgia, serif;
  font-weight: 800;
  font-size: 24px;
  color: rgba(213,177,106,0.50);
  line-height: 1;
  margin: 0 -2px;
  animation: gc-cd-blink 1s ease-in-out infinite;
}
@keyframes gc-cd-blink {
  0%,100% { opacity: 1; }
  50%     { opacity: 0.30; }
}
.gc-cd-foot {
  font-size: 12px;
  color: rgba(255,255,255,0.70);
  margin: 0;
  line-height: 1.5;
  border-left: 1px solid rgba(213,177,106,0.25);
  padding-left: 18px;
  max-width: 260px;
}
.gc-cd-foot a { color: #F5DA9E; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.gc-cd-foot a:hover { color: #FFFFFF; }

@media (max-width: 980px) {
  .gc-cd-foot { max-width: none; flex-basis: 100%; border-left: 0; padding-left: 0; padding-top: 8px; border-top: 1px solid rgba(213,177,106,0.20); text-align: center; }
}
@media (max-width: 768px) {
  .gc-countdown { padding: 20px 0 28px; }
  .gc-cd-card {
    padding: 18px 14px;
    border-radius: 20px;
    gap: 12px;
    flex-direction: column;
    text-align: center;
    box-shadow:
      0 14px 30px rgba(0,37,49,0.20),
      0 0 0 1px rgba(245,218,158,0.10) inset;
    max-width: 100%;
    box-sizing: border-box;
  }
  .gc-cd-head { gap: 8px; }
  .gc-cd-eyebrow { font-size: 10px; letter-spacing: 0.22em; }
  .gc-cd-timer {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    padding: 0;
    align-items: stretch;
  }
  .gc-cd-unit {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 14px 4px;
    border-radius: 12px;
    min-width: 0;
    overflow: hidden;
  }
  .gc-cd-num {
    font-size: clamp(24px, 7.5vw, 30px);
    min-width: 0;
    text-align: center;
    line-height: 1;
  }
  .gc-cd-lbl {
    font-size: 9.5px;
    letter-spacing: 0.06em;
    line-height: 1;
  }
  /* Mobile: swap to short labels (DAYS / HRS / MIN / SEC) so cells never clip */
  .gc-cd-lbl .cd-lbl-full  { display: none; }
  .gc-cd-lbl .cd-lbl-short { display: inline; }
  .gc-cd-sep { display: none; }
  .gc-cd-foot {
    font-size: 11.5px;
    padding-top: 8px;
    width: 100%;
    line-height: 1.45;
  }
}
@media (max-width: 480px) {
  .gc-cd-unit { padding: 12px 4px; }
  .gc-cd-num { font-size: 24px; }
  .gc-cd-lbl { font-size: 9px; letter-spacing: 0.04em; }
}
@media (max-width: 380px) {
  .gc-cd-card { padding: 14px 10px; }
  .gc-cd-timer { gap: 5px; }
  .gc-cd-unit { padding: 10px 3px; border-radius: 10px; }
  .gc-cd-num { font-size: 20px; }
  .gc-cd-lbl { font-size: 8px; letter-spacing: 0.02em; }
}


/* ============================================================================
   CREATIVE HEADLINES MOSAIC · matches official campaign deck layout
   ============================================================================ */
.gc-headlines {
  background: #FBF7EF;
  padding: 96px 0;
}
.gc-headlines-title { text-align: center; margin-bottom: 48px; }
.gc-headlines-title h2 {
  font-family: Georgia, serif;
  font-size: clamp(28px, 4vw, 48px);
  margin: 0 0 12px;
  letter-spacing: -0.018em;
  color: #002531;
}
.gc-headlines-title .s-sub { font-size: 15px; color: #4A5560; max-width: 540px; margin: 0 auto; }

.gc-headlines-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
@media (max-width: 1100px) { .gc-headlines-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px)  { .gc-headlines-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; } }
@media (max-width: 480px)  {
  .gc-headlines-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  /* If last tile is orphan (odd count in 2-col grid), span both columns */
  .gc-headlines-grid .gc-h-tile:last-child:nth-child(odd) {
    grid-column: span 2;
    aspect-ratio: 16 / 7;
  }
  /* Mobile tiles slightly wider than tall for better scan rhythm */
  .gc-h-tile { aspect-ratio: 5 / 4; padding: 14px; border-radius: 12px; }
  .gc-h-tx span { font-size: 12px; line-height: 1.18; }
  .gc-h-tile.gc-h-logo { padding: 16px; }
  .gc-h-tile.gc-h-logo img { width: 70%; max-width: 140px; }
  .gc-h-arrow svg { width: 50%; height: 50%; }
  .gc-h-tile.gc-h-gsg { padding: 14px; }
  .gc-h-gsg-l1, .gc-h-gsg-l2, .gc-h-gsg-l3 { font-size: 16px; }
  .gc-h-gsg-eyebrow { margin-top: 6px; font-size: 7.5px; }
}
@media (max-width: 360px) {
  .gc-headlines-grid { gap: 6px; }
  .gc-h-tile { padding: 12px; }
  .gc-h-tx span { font-size: 11px; }
}

.gc-h-tile {
  aspect-ratio: 1 / 1;
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.gc-h-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(0,37,49,0.14);
  z-index: 2;
}

.gc-h-tx span {
  font-family: Georgia, serif;
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

/* 15 unique themed tiles — no two share a palette */

/* T01 · cream solid */
.gc-h-tile.gc-h-t01 {
  background: #F8F0DE;
  border-color: rgba(213,177,106,0.30);
}
.gc-h-tile.gc-h-t01 span { color: #5E3A1F; }

/* T02 · midnight navy gradient */
.gc-h-tile.gc-h-t02 {
  background: linear-gradient(160deg, #001520 0%, #002B3C 100%);
  border-color: rgba(213,177,106,0.22);
}
.gc-h-tile.gc-h-t02 span { color: #FFFFFF; }

/* T03 · pure gold sheen */
.gc-h-tile.gc-h-t03 {
  background: linear-gradient(135deg, #F5DA9E 0%, #D5B16A 55%, #B39A7E 100%);
  border-color: rgba(127,97,75,0.45);
  box-shadow: 0 4px 14px rgba(127,97,75,0.18) inset, 0 4px 14px rgba(127,97,75,0.15);
}
.gc-h-tile.gc-h-t03 span { color: #1A0E00; }

/* T04 · soft sage white with gold edge */
.gc-h-tile.gc-h-t04 {
  background: linear-gradient(180deg, #F4F8F2 0%, #E8F0EA 100%);
  border-color: rgba(213,177,106,0.40);
  border-width: 1.5px;
}

/* T05 · royal blue solid */
.gc-h-tile.gc-h-t05 {
  background: linear-gradient(135deg, #1F5FA8 0%, #2D7BC9 100%);
  border-color: rgba(255,255,255,0.22);
}
.gc-h-tile.gc-h-t05 span { color: #FFFFFF; }

/* T06 · ivory linen with thin frame */
.gc-h-tile.gc-h-t06 {
  background: #FBFAF5;
  border: 2px solid #E6D9B8;
}

/* T07 · deep teal-emerald */
.gc-h-tile.gc-h-t07 {
  background: linear-gradient(150deg, #053D40 0%, #0A5C5A 100%);
  border-color: rgba(245,218,158,0.20);
}
.gc-h-tile.gc-h-t07 span { color: #F2E8D2; }

/* T08 · dark wine with gold trim (GSG centre) */
.gc-h-tile.gc-h-t08 {
  background:
    radial-gradient(circle at 0% 0%, rgba(213,177,106,0.25), transparent 60%),
    linear-gradient(135deg, #2B0B1E 0%, #3E1A2A 100%);
  border-color: rgba(213,177,106,0.45);
  box-shadow: 0 0 0 1px rgba(245,218,158,0.10) inset;
}

/* T09 · warm sand */
.gc-h-tile.gc-h-t09 {
  background: linear-gradient(135deg, #E8D4A8 0%, #C9A876 100%);
  border-color: rgba(127,97,75,0.35);
}
.gc-h-tile.gc-h-t09 span { color: #2B1810; }

/* T10 · light gray-blue paper */
.gc-h-tile.gc-h-t10 {
  background: linear-gradient(180deg, #EEF2F7 0%, #DDE5EF 100%);
  border-color: rgba(31,95,168,0.22);
}

/* T11 · electric cobalt */
.gc-h-tile.gc-h-t11 {
  background: linear-gradient(135deg, #0A3F8C 0%, #1E4DA8 100%);
  border-color: rgba(245,218,158,0.18);
}
.gc-h-tile.gc-h-t11 span { color: #FFFFFF; }

/* T12 · champagne radial */
.gc-h-tile.gc-h-t12 {
  background:
    radial-gradient(circle at 50% 30%, #FCEAC1 0%, #E8C880 100%);
  border-color: rgba(127,97,75,0.32);
}

/* T13 · burnt copper */
.gc-h-tile.gc-h-t13 {
  background: linear-gradient(135deg, #A85B3B 0%, #7F3D24 100%);
  border-color: rgba(245,218,158,0.20);
}
.gc-h-tile.gc-h-t13 span { color: #FFE8D2; }

/* T14 · matte gold flat */
.gc-h-tile.gc-h-t14 {
  background: #C9A968;
  border-color: rgba(94,58,31,0.32);
}
.gc-h-tile.gc-h-t14 span { color: #2B1810; }

/* T15 · off-white with dotted grid */
.gc-h-tile.gc-h-t15 {
  background:
    radial-gradient(circle, rgba(31,95,168,0.18) 1px, transparent 1.5px) 0 0 / 14px 14px,
    #F7F9FC;
  border-color: rgba(31,95,168,0.18);
}

/* Subtle ANAX brand-mark watermark on all text tiles (corner) — adds rhythm */
.gc-h-tile.gc-h-tx::before {
  content: "";
  position: absolute;
  top: 10px; right: 10px;
  width: 14px; height: 14px;
  background: currentColor;
  -webkit-mask: url('../logo/favicon-32.png') center/contain no-repeat;
  mask: url('../logo/favicon-32.png') center/contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
}
.gc-h-tile.gc-h-t02.gc-h-tx::before,
.gc-h-tile.gc-h-t05.gc-h-tx::before,
.gc-h-tile.gc-h-t07.gc-h-tx::before,
.gc-h-tile.gc-h-t08.gc-h-tx::before,
.gc-h-tile.gc-h-t11.gc-h-tx::before,
.gc-h-tile.gc-h-t13.gc-h-tx::before { opacity: 0.24; }

/* GSG center tile — special */
.gc-h-tile.gc-h-gsg {
  flex-direction: column;
  gap: 0;
  padding: 12px;
}
.gc-h-gsg-l1, .gc-h-gsg-l2, .gc-h-gsg-l3 {
  display: block;
  font-family: Georgia, serif;
  font-weight: 800;
  font-size: clamp(15px, 1.7vw, 24px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.gc-h-tile.gc-h-gsg .gc-h-gsg-l1,
.gc-h-tile.gc-h-gsg .gc-h-gsg-l2 { color: #FFFFFF; }
.gc-h-tile.gc-h-gsg .gc-h-gsg-l3 {
  background: linear-gradient(135deg, #F5DA9E, #D5B16A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gc-h-gsg-eyebrow {
  display: block;
  margin-top: 10px;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(245,218,158,0.75);
}

/* Logo brand tile (full ANAX wordmark) */
.gc-h-tile.gc-h-logo {
  padding: 22px;
}
.gc-h-tile.gc-h-logo img {
  width: 80%;
  max-width: 180px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Arrow tiles */
.gc-h-arrow {
  padding: 12px;
  background: #FFFFFF;
}
.gc-h-arrow svg {
  width: 70%;
  height: 70%;
  filter: drop-shadow(0 16px 24px rgba(31,95,168,0.30));
  animation: gc-h-arrow-bob 4s ease-in-out infinite;
}
.gc-h-arrow.gc-h-arrow-gold svg {
  filter: drop-shadow(0 16px 24px rgba(127,97,75,0.40));
  animation-delay: -2s;
}
@keyframes gc-h-arrow-bob {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%     { transform: translateY(-6px) rotate(-4deg); }
}

/* Roulette mosaic tile — white chromakey bg dropped via darken */
.gc-h-roulette { padding: 0; background: #FFFFFF; overflow: hidden; }
.gc-h-roulette :is(video,img) {
  width: 100%; height: 100%; object-fit: contain;
  mix-blend-mode: darken;
}

/* Gold bar mosaic tile — uses transparent PNG (real alpha) */
.gc-h-bar { padding: 0; background: #FFFFFF; overflow: hidden; }
.gc-h-bar :is(video,img) {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(127,97,75,0.35));
}

@media (max-width: 640px) {
  .gc-h-tile { padding: 14px; }
  .gc-h-tx span { font-size: 11px; }
}


/* ============================================================================
   T&C SUMMARY LINK CARD on main campaign page
   ============================================================================ */
.gc-tnc-link {
  background: linear-gradient(180deg, #FBF7EF, #FFFFFF);
  padding: 64px 0;
}
.gc-tnc-link-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  padding: 32px;
  background: #FFFFFF;
  border: 1px solid rgba(213,177,106,0.30);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(127,97,75,0.10);
  position: relative;
  overflow: hidden;
}
.gc-tnc-link-card::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(213,177,106,0.18), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.gc-tnc-link-art {
  flex-shrink: 0;
  width: 80px; height: 80px;
  background: linear-gradient(135deg, rgba(245,218,158,0.18), rgba(127,97,75,0.06));
  border: 1px solid rgba(213,177,106,0.30);
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gc-tnc-link-copy h2 {
  font-family: Georgia, serif;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: #002531;
  margin: 8px 0 12px;
}
.gc-tnc-link-copy p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #4A5560;
  margin: 0 0 14px;
}
.gc-tnc-link-hl {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gc-tnc-link-hl li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #002531;
  font-weight: 600;
}
.gc-tnc-link-hl li svg { color: #B39A7E; flex-shrink: 0; }
.gc-tnc-link-cta { margin-bottom: 14px; }
.gc-tnc-link-note {
  font-size: 11.5px;
  color: #7C8B95;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 640px) {
  .gc-tnc-link-card {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 18px;
  }
  .gc-tnc-link-art { width: 64px; height: 64px; }
  .gc-tnc-link-cta .btn { width: 100%; justify-content: center; }
}


/* ============================================================================
   DEDICATED T&C PAGE · campaign/1kg-gold-terms.html
   ============================================================================ */
.tnc-hero {
  background:
    radial-gradient(900px 600px at 80% 0%, rgba(213,177,106,0.10), transparent 60%),
    linear-gradient(180deg, #FBF7EF 0%, #FFFFFF 80%);
  padding: 80px 0 56px;
}
.tnc-hero .breadcrumbs { margin-bottom: 22px; }
.tnc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #B39A7E;
  margin-bottom: 18px;
}
.tnc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #D5B16A;
  box-shadow: 0 0 0 4px rgba(213,177,106,0.20);
  animation: gc-pulse-dot 1.8s ease-out infinite;
}
.tnc-h1 {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.024em;
  color: #002531;
  margin: 0 0 18px;
}
.tnc-h1 .tnc-h1-sub {
  background: linear-gradient(135deg, #D5B16A, #7F614B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: -0.014em;
}
.tnc-lead {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.6;
  color: #4A5560;
  max-width: 720px;
  margin: 0 0 24px;
}
.tnc-lead b { color: #002531; font-weight: 700; }

.tnc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  font-size: 12.5px;
  color: #5A6B75;
  font-weight: 600;
  margin: 0 0 36px;
}
.tnc-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tnc-meta-item svg { color: #B39A7E; flex-shrink: 0; }

/* Table of contents */
/* Smooth-scroll for anchor links on T&C page */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.tnc-toc {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8F1E1 100%);
  border: 1px solid rgba(213,177,106,0.30);
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 8px 24px rgba(127,97,75,0.08);
  max-width: 720px;
}
.tnc-toc h2 {
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7F614B;
  margin: 0 0 14px;
}
.tnc-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
}
@media (max-width: 640px) { .tnc-toc ol { grid-template-columns: 1fr; } }
.tnc-toc li { font-size: 13.5px; }
.tnc-toc a {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  color: #002531;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.tnc-toc a:hover { color: #7F614B; border-bottom-color: rgba(127,97,75,0.40); }

/* Body sections */
.tnc-body {
  background: #FFFFFF;
  padding: 64px 0 96px;
}
.tnc-body-inner { max-width: 880px; margin: 0 auto; }

.tnc-section {
  padding: 28px 0;
  border-bottom: 1px solid rgba(31,95,168,0.10);
  scroll-margin-top: 90px;
}
.tnc-section:first-child { padding-top: 0; }
.tnc-section header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.tnc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #F5DA9E, #B39A7E);
  color: #1A0E00;
  border-radius: 12px;
  font-family: Georgia, serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0;
}
.tnc-section h2 {
  font-family: Georgia, serif;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: #002531;
  margin: 0;
}
.tnc-section p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #4A5560;
  margin: 0 0 12px;
}
.tnc-section p:last-child { margin-bottom: 0; }
.tnc-section p b { color: #002531; font-weight: 700; }
.tnc-section p em { font-style: italic; color: #5A6B75; }

.tnc-hook {
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(245,218,158,0.18), rgba(179,154,126,0.10));
  border: 1px solid rgba(213,177,106,0.30);
  border-radius: 12px;
  font-size: 15px !important;
  color: #5E3A1F !important;
  font-weight: 600;
}
.tnc-hook b { color: #002531 !important; font-weight: 800 !important; }

/* Quick-glance table for campaign overview */
.tnc-table {
  margin-top: 20px;
  border: 1px solid rgba(31,95,168,0.12);
  border-radius: 14px;
  overflow: hidden;
  background: #FBFCFD;
}
.tnc-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid rgba(31,95,168,0.08);
}
.tnc-row:last-child { border-bottom: 0; }
.tnc-cell-k {
  padding: 12px 16px;
  background: rgba(31,95,168,0.04);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7F614B;
}
.tnc-cell-v {
  padding: 12px 18px;
  font-size: 14px;
  color: #002531;
  font-weight: 500;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .tnc-row { grid-template-columns: 1fr; }
  .tnc-cell-v { padding-top: 4px; }
}

/* Check/bullet lists */
.tnc-checks, .tnc-bullets, .tnc-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tnc-checks li, .tnc-bullets li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #002531;
  font-weight: 500;
}
.tnc-checks li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 18px; height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #D5B16A, #7F614B);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}
.tnc-bullets li::before {
  content: "";
  position: absolute;
  left: 6px; top: 10px;
  width: 6px; height: 6px;
  background: linear-gradient(135deg, #D5B16A, #7F614B);
  border-radius: 50%;
}
.tnc-checks li b, .tnc-bullets li b { color: #002531; font-weight: 800; }

.tnc-steps {
  counter-reset: tnc-step;
  list-style: none;
}
.tnc-steps li {
  position: relative;
  padding-left: 40px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #002531;
  counter-increment: tnc-step;
  font-weight: 500;
}
.tnc-steps li::before {
  content: counter(tnc-step, decimal-leading-zero);
  position: absolute;
  left: 0; top: -2px;
  font-family: Georgia, serif;
  font-weight: 800;
  font-size: 16px;
  color: #B39A7E;
  letter-spacing: 0;
}
.tnc-steps li b { color: #002531; font-weight: 800; }

.tnc-prize { background: linear-gradient(180deg, #FBF7EF, #FFFFFF); padding: 28px 24px; border-radius: 16px; border: 1px solid rgba(213,177,106,0.20); }
.tnc-disclaim {
  background: rgba(31,95,168,0.04);
  border: 1px solid rgba(31,95,168,0.12);
  border-radius: 14px;
  padding: 24px;
}

.tnc-foot {
  margin-top: 48px;
  padding: 28px;
  background: linear-gradient(135deg, #002531 0%, #003B4F 100%);
  border-radius: 18px;
  color: #FFFFFF;
}
.tnc-foot-org { font-size: 15px; margin: 0 0 8px; color: #FFFFFF; }
.tnc-foot-org b { font-weight: 800; }
.tnc-foot-meta { font-size: 12px; color: rgba(255,255,255,0.6); margin: 0 0 24px; }
.tnc-foot-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tnc-foot-cta .btn.btn-ghost {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(213,177,106,0.40);
}
@media (max-width: 640px) {
  .tnc-foot-cta { flex-direction: column; }
  .tnc-foot-cta .btn { width: 100%; justify-content: center; }
}


/* ============================================================================
   GOLD CAMPAIGN · TERMS & CONDITIONS section (legacy — kept for backward compat)
   ============================================================================ */
.gc-tnc {
  background: #FFFFFF;
  padding: 80px 0;
  border-top: 1px solid rgba(31,95,168,0.10);
}
.gc-tnc-inner { max-width: 880px; margin: 0 auto; }
.gc-tnc-head { margin-bottom: 36px; }
.gc-tnc-head h2 {
  font-family: Georgia, serif;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.018em;
  color: #002531;
  margin: 0 0 12px;
}
.gc-tnc-head p {
  font-size: 14.5px;
  color: #4A5560;
  line-height: 1.6;
  margin: 0;
  max-width: 720px;
}
.gc-tnc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: tnc;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(31,95,168,0.10);
}
.gc-tnc-list > li {
  padding: 22px 0;
  border-bottom: 1px solid rgba(31,95,168,0.10);
}
.gc-tnc-list h3 {
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.005em;
  color: #002531;
  margin: 0 0 6px;
}
.gc-tnc-list p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #4A5560;
  margin: 0;
}
.gc-tnc-list p b { color: #002531; font-weight: 700; }
.gc-tnc-list p a { color: #1F5FA8; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.gc-tnc-foot {
  margin-top: 32px;
  padding: 20px 22px;
  background: rgba(31,95,168,0.04);
  border: 1px solid rgba(31,95,168,0.12);
  border-radius: 14px;
}
.gc-tnc-foot p {
  font-size: 12.5px;
  line-height: 1.6;
  color: #4A5560;
  margin: 0 0 8px;
}
.gc-tnc-foot p:last-child { margin: 0; color: #7C8B95; font-size: 11.5px; }
.gc-tnc-foot p b { color: #002531; }

@media (max-width: 640px) {
  .gc-tnc { padding: 56px 0; }
  .gc-tnc-list > li { padding: 18px 0; }
  .gc-tnc-list h3 { font-size: 15px; }
  .gc-tnc-list p { font-size: 13px; }
  .gc-tnc-foot { padding: 16px 18px; }
}


/* ============================================================================
   HOME HERO · Stage 1 "Get. Set. Grow." — campaign arrow + gold bar reveal
   ============================================================================ */
.hero-stage .stage-gsg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.hero-stage .stage-gsg.active {
  opacity: 1;
  pointer-events: auto;
}
.gsg-stage {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 460px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  isolation: isolate;
}
.gsg-glow {
  position: absolute;
  inset: 12%;
  background: radial-gradient(circle at 50% 60%, rgba(213,177,106,0.40), transparent 65%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
  animation: gsg-glow-pulse 4s ease-in-out infinite;
}
@keyframes gsg-glow-pulse {
  0%,100% { opacity: 0.7; transform: scale(1); }
  50%     { opacity: 1; transform: scale(1.08); }
}
/* 2 overlapping 500g gold bars on home hero stage 1 — float + tilt (no Y-flip flicker) */
.gsg-bar {
  position: absolute;
  width: 58%;
  aspect-ratio: 1 / 1;
  top: 50%;
  z-index: 1;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.gsg-bar :is(video,img) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 20px 30px rgba(127,97,75,0.45))
    drop-shadow(0 0 18px rgba(245,218,158,0.20));
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}
.gsg-bar-left {
  left: 4%;
  animation: gsg-bar-l 7s ease-in-out infinite;
  z-index: 2;
}
.gsg-bar-right {
  right: 4%;
  animation: gsg-bar-r 7s ease-in-out infinite -3.5s;
  z-index: 1;
}
@keyframes gsg-bar-l {
  0%,100% { transform: translateY(-50%) rotate(-14deg) scale(1); }
  50%     { transform: translateY(-56%) rotate(-10deg) scale(1.04); }
}
@keyframes gsg-bar-r {
  0%,100% { transform: translateY(-50%) rotate(14deg) scale(1); }
  50%     { transform: translateY(-56%) rotate(10deg) scale(1.04); }
}

.gsg-roulette-tag {
  position: absolute;
  top: 6%;
  left: -2%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #FFFFFF;
  border: 1px solid rgba(213,177,106,0.40);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(127,97,75,0.18);
  font-size: 11.5px;
  color: #002531;
  font-weight: 600;
  letter-spacing: 0.005em;
  z-index: 3;
  animation: gsg-tag-bob 4s ease-in-out infinite;
}
@keyframes gsg-tag-bob {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}
.gsg-rt-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #D5B16A;
  box-shadow: 0 0 0 4px rgba(213,177,106,0.20);
  animation: gc-pulse-dot 1.6s ease-out infinite;
}
.gsg-rt-txt b { color: #7F614B; font-weight: 800; letter-spacing: 0.04em; }


/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .gc-arrow-vid, .gc-goldbar-wrap, .gc-prize-tag,
  .gc-orb, .gc-eyebrow-dot, .gc-gsg-get, .gc-gsg-set, .gc-gsg-grow,
  .gsg-arrow, .gsg-goldbar, .gsg-glow, .gsg-roulette-tag, .gsg-rt-pulse {
    animation: none !important;
  }
  .gc-gsg-get, .gc-gsg-set, .gc-gsg-grow { opacity: 1; transform: none; }
}

/* ---- Mobile responsive tightening ---- */
@media (max-width: 768px) {
  .gc-hero { padding: 56px 0 48px; }
  .gc-hero-grid { gap: 32px; }
  .gc-hero-stage { min-height: 340px; }
  .gc-bars-stack { max-width: 340px; height: 340px; margin: 0 auto; }
  .gc-prize-tag {
    padding: 8px 14px !important;
    gap: 8px;
    border-radius: 999px;
  }
  .gc-prize-tag .gc-prize-tag-eyebrow {
    font-size: 8px;
    letter-spacing: 0.18em;
    padding-right: 8px;
  }
  .gc-prize-tag .gc-prize-tag-val { font-size: 16px; }
  .gc-prize-tag .gc-prize-tag-val em { font-size: 0.55em; }
  .gc-idea, .gc-offer, .gc-steps, .gc-final { padding: 64px 0; }
  .gc-getsetgrow { font-size: clamp(54px, 18vw, 96px); }
  .gc-cta-row .btn { width: 100%; justify-content: center; }
  .gc-steps-cta { flex-direction: column; align-items: stretch; }
  .gc-steps-cta .btn { width: 100%; justify-content: center; }
  .gc-final-cta { flex-direction: column; }
  .gc-final-cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .gc-bars-stack { max-width: 290px; height: 290px; }
  .gc-bar { width: 70%; }
  .gc-bar-left { left: 4%; }
  .gc-bar-right { right: 4%; }
}

@media (max-width: 480px) {
  .gc-mosaic-grid { grid-template-columns: 1fr; }
  .gc-tile { aspect-ratio: 16/9; }
}

/* ============================================================================
   FOREX HERO v2 · 2026-05-19 · animated globe + clean ticker stack
   Replaces gold-fx.png coin image + absolute-positioned overlapping tickers
   with SVG globe (currency hotspots, orbits, flow lines) + responsive
   ticker column. No overlap. Mobile-first.
   ============================================================================ */

/* Kill old fx-scene artifacts inside v2 variant */
.fx-scene.fx-scene-v2 .fx-img,
.fx-scene.fx-scene-v2 .fx-glow,
.fx-scene.fx-scene-v2 .fx-ring,
.fx-scene.fx-scene-v2 .fx-ring-2,
.fx-scene.fx-scene-v2 .fx-grid-bg,
.fx-scene.fx-scene-v2 .fx-spark-overlay,
.fx-scene.fx-scene-v2 .fx-ticker,
.fx-scene.fx-scene-v2 .fx-pulse { display: none !important; }

.fx-scene.fx-scene-v2 {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  justify-items: center;
  padding: 8px 0;
  min-height: 0;
  isolation: isolate;
}

/* Globe wrapper — square box centered */
.fx-scene.fx-scene-v2 .fx-globe {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  aspect-ratio: 1 / 1;
  filter: drop-shadow(0 18px 40px rgba(31,95,168,0.18));
}

/* Orbits — slow continuous rotation around center */
.fx-scene.fx-scene-v2 .fx-orbit {
  transform-origin: 200px 200px;
  transform-box: fill-box;
}
.fx-scene.fx-scene-v2 .fx-orbit-1 { animation: fxg-spin 38s linear infinite; }
.fx-scene.fx-scene-v2 .fx-orbit-2 { animation: fxg-spin 28s linear infinite reverse; }
.fx-scene.fx-scene-v2 .fx-orbit-3 { animation: fxg-spin 18s linear infinite; }
@keyframes fxg-spin {
  to { transform: rotate(360deg); }
}

/* Flow lines — animated dashed flow between currencies */
.fx-scene.fx-scene-v2 .fx-flow {
  stroke-dasharray: 6 10;
  animation: fxg-flow 4.2s linear infinite;
}
.fx-scene.fx-scene-v2 .fx-flow-1 { animation-delay: 0s; }
.fx-scene.fx-scene-v2 .fx-flow-2 { animation-delay: -1s; }
.fx-scene.fx-scene-v2 .fx-flow-3 { animation-delay: -2s; }
.fx-scene.fx-scene-v2 .fx-flow-4 { animation-delay: -3s; }
@keyframes fxg-flow {
  to { stroke-dashoffset: -64; }
}

/* Hotspot pulse */
.fx-scene.fx-scene-v2 .fx-h-pulse {
  transform-origin: center;
  animation: fxg-pulse 2.6s ease-out infinite;
}
.fx-scene.fx-scene-v2 .fx-hotspot.fx-h-eur .fx-h-pulse { animation-delay: 0s; }
.fx-scene.fx-scene-v2 .fx-hotspot.fx-h-usd .fx-h-pulse { animation-delay: 0.4s; }
.fx-scene.fx-scene-v2 .fx-hotspot.fx-h-gbp .fx-h-pulse { animation-delay: 0.8s; }
.fx-scene.fx-scene-v2 .fx-hotspot.fx-h-jpy .fx-h-pulse { animation-delay: 1.2s; }
.fx-scene.fx-scene-v2 .fx-hotspot.fx-h-aed .fx-h-pulse { animation-delay: 0.2s; }
@keyframes fxg-pulse {
  0%   { transform: scale(0.7); opacity: 0.5; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Hotspot dot subtle bob */
.fx-scene.fx-scene-v2 .fx-hotspot { transform-box: fill-box; transform-origin: center; }
.fx-scene.fx-scene-v2 .fx-h-dot {
  filter: drop-shadow(0 0 4px currentColor);
}

/* AED HUB pulse stronger */
.fx-scene.fx-scene-v2 .fx-hotspot.fx-h-aed .fx-h-pulse {
  animation-duration: 3.2s;
}

/* Ticker stack — clean column, no abs-position overlap */
.fx-scene.fx-scene-v2 .fx-ticker-stack {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.fx-scene.fx-scene-v2 .fx-tick-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(31,95,168,0.14);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,37,49,0.06);
  transition: transform .25s cubic-bezier(0.22,1,0.36,1), box-shadow .25s ease, border-color .25s ease;
  opacity: 0;
  transform: translateY(14px);
  animation: fxg-card-in .55s cubic-bezier(0.22,1,0.36,1) forwards;
}
.fx-scene.fx-scene-v2 .fx-tick-card:nth-child(1) { animation-delay: .25s; }
.fx-scene.fx-scene-v2 .fx-tick-card:nth-child(2) { animation-delay: .45s; }
.fx-scene.fx-scene-v2 .fx-tick-card:nth-child(3) { animation-delay: .65s; }
@keyframes fxg-card-in {
  to { opacity: 1; transform: translateY(0); }
}
.fx-scene.fx-scene-v2 .fx-tick-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,37,49,0.10);
  border-color: rgba(31,95,168,0.28);
}

/* Flag pair badge — 2 stacked country codes */
.fx-scene.fx-scene-v2 .fx-tick-flag {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1F5FA8 0%, #2D7BC9 100%);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  gap: 2px;
  flex-shrink: 0;
}
.fx-scene.fx-scene-v2 .fx-tick-flag span {
  display: block;
  padding: 1px 0;
}
.fx-scene.fx-scene-v2 .fx-flag-gbpusd { background: linear-gradient(135deg,#7F614B,#B39A7E); }
.fx-scene.fx-scene-v2 .fx-flag-usdjpy { background: linear-gradient(135deg,#002531,#1F5FA8); }

.fx-scene.fx-scene-v2 .fx-tick-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.fx-scene.fx-scene-v2 .fx-tick-pair {
  font-family: 'Courier New', monospace;
  font-size: 13.5px;
  font-weight: 800;
  color: #002531;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.fx-scene.fx-scene-v2 .fx-tick-meta {
  font-size: 11.5px;
  color: #5A6B75;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
  margin-top: 2px;
}

.fx-scene.fx-scene-v2 .fx-tick-vals {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
  flex-shrink: 0;
}
.fx-scene.fx-scene-v2 .fx-tick-price {
  font-family: 'Courier New', monospace;
  font-size: 15px;
  font-weight: 800;
  color: #002531;
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
}
.fx-scene.fx-scene-v2 .fx-tick-chg {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.fx-scene.fx-scene-v2 .fx-up { color: #1F8A4C; }
.fx-scene.fx-scene-v2 .fx-down { color: #C0392B; }

/* Desktop layout — same pattern as energies. Globe full row 1, 3 cards
   horizontal row 2. Never overlaps right edge. Side-by-side split only ≥1480. */
@media (min-width: 980px) {
  .fx-scene.fx-scene-v2 {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 18px;
    min-height: 0;
  }
  .fx-scene.fx-scene-v2 .fx-globe { grid-row: 1 / 2; max-width: 460px; }
  .fx-scene.fx-scene-v2 .fx-ticker-stack {
    grid-row: 2 / 3;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    width: 100%;
  }
  .fx-scene.fx-scene-v2 .fx-tick-card {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    padding: 12px;
  }
  .fx-scene.fx-scene-v2 .fx-tick-flag { width: 36px; height: 36px; font-size: 9px; }
  .fx-scene.fx-scene-v2 .fx-tick-pair { font-size: 13px; }
  .fx-scene.fx-scene-v2 .fx-tick-meta { font-size: 10.5px; }
  .fx-scene.fx-scene-v2 .fx-tick-price { font-size: 15px; }
  .fx-scene.fx-scene-v2 .fx-tick-chg { font-size: 11px; }
}

/* Ultra-wide ≥1480: globe left + ticker column right */
@media (min-width: 1480px) {
  .fx-scene.fx-scene-v2 {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    grid-template-rows: 1fr;
    align-items: center;
    gap: 28px;
    min-height: 520px;
  }
  .fx-scene.fx-scene-v2 .fx-globe { grid-row: 1; grid-column: 1; max-width: 560px; }
  .fx-scene.fx-scene-v2 .fx-ticker-stack {
    grid-row: 1; grid-column: 2;
    flex-direction: column;
    flex-wrap: nowrap;
    max-width: 320px;
  }
  .fx-scene.fx-scene-v2 .fx-tick-card { flex: 0 0 auto; padding: 14px 16px; }
}

/* Mobile — keep stacked, smaller globe, full-width cards */
@media (max-width: 640px) {
  .fx-scene.fx-scene-v2 { gap: 18px; }
  .fx-scene.fx-scene-v2 .fx-globe { max-width: 340px; }
  .fx-scene.fx-scene-v2 .fx-ticker-stack { gap: 8px; }
  .fx-scene.fx-scene-v2 .fx-tick-card {
    padding: 10px 12px;
    gap: 10px;
    border-radius: 12px;
  }
  .fx-scene.fx-scene-v2 .fx-tick-flag { width: 32px; height: 32px; font-size: 8px; }
  .fx-scene.fx-scene-v2 .fx-tick-pair { font-size: 12.5px; }
  .fx-scene.fx-scene-v2 .fx-tick-meta { font-size: 10.5px; }
  .fx-scene.fx-scene-v2 .fx-tick-price { font-size: 14px; }
  .fx-scene.fx-scene-v2 .fx-tick-chg { font-size: 10.5px; }
}

@media (max-width: 380px) {
  .fx-scene.fx-scene-v2 .fx-globe { max-width: 280px; }
  .fx-scene.fx-scene-v2 .fx-tick-card { padding: 9px 10px; gap: 8px; }
  .fx-scene.fx-scene-v2 .fx-tick-meta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-scene.fx-scene-v2 .fx-orbit,
  .fx-scene.fx-scene-v2 .fx-flow,
  .fx-scene.fx-scene-v2 .fx-h-pulse { animation: none !important; }
  .fx-scene.fx-scene-v2 .fx-tick-card { animation: none !important; opacity: 1; transform: none; }
}

/* ============================================================================
   GOLD HERO — btn-ghost-on-dark on cream background fix (2026-05-19)
   White-on-cream invisibility patch. CSS-only override, no HTML touched.
   Scoped to .gc-hero .gc-cta-row to avoid leaking to real dark-hero contexts.
   ============================================================================ */
.gc-hero .gc-cta-row .btn-ghost-on-dark {
  background: #FFFFFF !important;
  color: #002531 !important;
  border: 1.5px solid #D5B16A !important;
  box-shadow: 0 4px 14px rgba(127, 97, 75, 0.18), 0 1px 0 rgba(255, 239, 200, 0.55) inset !important;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease !important;
}
.gc-hero .gc-cta-row .btn-ghost-on-dark:hover {
  background: linear-gradient(135deg, #F5DA9E 0%, #D5B16A 55%, #7F614B 100%) !important;
  color: #1A0E00 !important;
  border-color: rgba(127, 97, 75, 0.6) !important;
  box-shadow: 0 12px 28px rgba(213, 177, 106, 0.45), 0 1px 0 rgba(255, 239, 200, 0.65) inset !important;
  transform: translateY(-2px) !important;
}
.gc-hero .gc-cta-row .btn-ghost-on-dark:focus-visible {
  outline: 3px solid rgba(213, 177, 106, 0.65) !important;
  outline-offset: 2px !important;
}
.gc-hero .gc-cta-row .btn-ghost-on-dark:active {
  transform: translateY(0) !important;
  box-shadow: 0 4px 12px rgba(127, 97, 75, 0.25), 0 1px 0 rgba(127, 97, 75, 0.18) inset !important;
}
@media (prefers-reduced-motion: reduce) {
  .gc-hero .gc-cta-row .btn-ghost-on-dark { transition: none !important; }
  .gc-hero .gc-cta-row .btn-ghost-on-dark:hover { transform: none !important; }
}
