/* ==========================================================================
   Megniss — "Sapphire" design system
   White pages, medium-blue accents, deep-sapphire bands. Sora display type,
   Inter body, JetBrains Mono numbers. Floating pill header, bento grids,
   glass cards, motion everywhere (respecting reduced motion). Mobile-first.

   Light is the default. Any element with .theme-dark (and the bands listed
   below) switches the same tokens to their dark values.
   ========================================================================== */

:root {
  --bg: #f5f8ff;
  --bg-2: #ffffff;
  --bg-3: #ebf1fc;
  --bg-rgb: 255, 255, 255;
  --ink-rgb: 18, 46, 120;
  --shadow-rgb: 22, 50, 120;
  --shadow-k: 0.28;
  --surface: #ffffff;
  --surface-2: #f3f7ff;
  --line: rgba(18, 46, 120, 0.09);
  --line-2: rgba(18, 46, 120, 0.16);
  --heading: #0B1F63;   /* logo navy */
  --text: #13254f;
  --text-2: #42547d;
  --muted: #7080a3;
  --accent-rgb: 37, 99, 235;
  --gold: #2563eb;           /* accent — old token name kept so every rule follows the theme */
  --gold-2: #1d4ed8;         /* accent for text */
  --gold-3: #1e40af;
  --on-accent: #ffffff;
  --accent-soft: #2f6bf0;
  --blue: #2563eb;
  --sky: #D4A65A;
  --cyan: #C1913F;
  --violet: #6366f1;
  --up: #0f9f74;
  --down: #e23a55;
  --up-text: #0b7d5b;
  --down-text: #c81e3a;
  --warn: #f59e0b;
  --warn-text: #b45309;
  --grad-gold: linear-gradient(135deg, #3E6BF2 0%, #1E3FAE 55%, #0B1F63 100%);   /* logo blues */
  --brand-gold: #D0A156;
  --brand-gold-rgb: 208, 161, 86;
  --grad-brand-gold: linear-gradient(135deg, #F1CF8A 0%, #D0A156 50%, #A97A31 100%);
  --grad-blue: linear-gradient(135deg, #2563eb 0%, #D4A65A 100%);
  --grad-sapphire: radial-gradient(130% 120% at 85% 0%, #3E6BF2 0%, #1E3FAE 32%, #142F8C 58%, #0B1F63 82%, #071648 100%);
  --grad-text: linear-gradient(100deg, #1E3FAE 0%, #2F5BEA 50%, #C1913F 100%);
  --card-bg: #ffffff;
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --radius-xl: 44px;
  --shadow-xs: 0 1px 2px rgba(22, 50, 120, 0.06);
  --shadow-soft: 0 1px 2px rgba(22, 50, 120, 0.05), 0 12px 32px -16px rgba(22, 50, 120, 0.22);
  --shadow: 0 2px 6px rgba(22, 50, 120, 0.05), 0 30px 70px -32px rgba(22, 50, 120, 0.38);
  --shadow-blue: 0 18px 44px -18px rgba(37, 99, 235, 0.65);
  --glow-gold: 0 0 0 1px rgba(37, 99, 235, 0.28), 0 24px 60px -24px rgba(37, 99, 235, 0.5);
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --container: 1260px;
  --header-h: 108px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 0.75, 0.12, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;
}

.theme-dark, .preloader, .drawer, .cta-band, .auth-stage, .ft-cta, .ft-bottom, .hdr-util, body.app .side, body.app .topbar, body.app .bottom-nav, body.app .app-content > .page-head {
  --bg: #0a1f63;
  --bg-2: #0f2a7c;
  --bg-3: #163596;
  --bg-rgb: 12, 34, 104;
  --ink-rgb: 255, 255, 255;
  --shadow-rgb: 3, 10, 40;
  --shadow-k: 1;
  --surface: rgba(255, 255, 255, 0.07);
  --surface-2: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.13);
  --line-2: rgba(255, 255, 255, 0.24);
  --heading: #ffffff;
  --text: #eef3ff;
  --text-2: #cad8f6;
  --muted: #9db2df;
  --accent-rgb: 227, 189, 118;
  --gold: #E3BD76;
  --gold-2: #F6E3BC;
  --gold-3: #D0A156;
  --on-accent: #0b2470;
  --accent-soft: #bfdbfe;
  --up-text: #7ff0cb;
  --down-text: #ffb3c0;
  --warn-text: #ffcf8a;
  --grad-gold: linear-gradient(135deg, #ffffff 0%, #e7f0ff 55%, #c3dbff 100%);
  --grad-text: linear-gradient(100deg, #ffffff 0%, #bfdbfe 50%, #F1CF8A 100%);
  --card-bg: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 20px 50px -26px rgba(3, 10, 40, 0.8);
  --shadow: 0 30px 70px -30px rgba(3, 10, 40, 0.85);
  color: var(--text);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: rgba(37, 99, 235, 0.2); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

p { margin: 0 0 1em; color: var(--text-2); }
h1, h2, h3, h4, h5 {
  margin: 0 0 0.5em; font-family: var(--font-display); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.025em; color: var(--heading);
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); letter-spacing: -0.035em; }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); letter-spacing: -0.02em; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }
em, .em, .grad-text, .gold-text {
  font-style: normal; background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
strong { color: var(--heading); font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--text-2); line-height: 1.75; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.up { color: var(--up-text); }
.down { color: var(--down-text); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.section { position: relative; padding: 88px 0; }
.section-sm { padding: 56px 0; }
@media (min-width: 992px) { .section { padding: 120px 0; } }
.section-alt, .section-tint { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-3) 50%, var(--bg) 100%); }
.section-white { background: #fff; }
main, .site-footer { overflow-x: clip; }

/* Eyebrow = a pill with a live dot (new signature). */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 10px;
  border-radius: 999px; background: rgba(var(--accent-rgb), 0.1); border: 1px solid rgba(var(--accent-rgb), 0.22);
  font-family: var(--font-body); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.18); animation: dot 2.4s ease-in-out infinite;
}
@keyframes dot { 50% { box-shadow: 0 0 0 7px rgba(var(--accent-rgb), 0.05); } }

.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.08rem; }
.section-head.split-head { max-width: none; display: grid; gap: 20px; align-items: end; }
@media (min-width: 992px) { .section-head.split-head { grid-template-columns: 1.1fr 0.9fr; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 0.94rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  overflow: hidden; isolation: isolate; white-space: nowrap; cursor: pointer;
}
.btn > * { position: relative; z-index: 1; }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn-gold, .btn-primary { background: var(--grad-gold); color: var(--on-accent); box-shadow: var(--shadow-blue); }
.btn-gold::before, .btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, .5) 50%, transparent 75%);
  transform: translateX(-130%); transition: transform .9s var(--ease);
}
.btn-gold:hover::before, .btn-primary:hover::before { transform: translateX(130%); }
.btn-gold:hover, .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -18px rgba(37, 99, 235, .8); }
.btn-ghost { background: rgba(var(--ink-rgb), 0.05); color: var(--heading); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(var(--accent-rgb), 0.1); border-color: rgba(var(--accent-rgb), .5); color: var(--gold-2); transform: translateY(-2px); }
.btn-white { background: #fff; color: #0b2470; box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .45); }
.btn-white:hover { transform: translateY(-2px); }
.btn-danger { background: linear-gradient(135deg, #f0506a, #d22a47); color: #fff; box-shadow: 0 14px 34px -16px rgba(226, 58, 85, .7); }
.btn-danger:hover { transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-xs { padding: 6px 12px; font-size: 0.76rem; }
.btn-lg { padding: 17px 32px; font-size: 1rem; }
.btn .ripple { position: absolute; z-index: 0; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, .45); animation: ripple .65s var(--ease); pointer-events: none; }
@keyframes ripple { to { transform: scale(3.2); opacity: 0; } }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; filter: grayscale(.3); }
.btn[aria-busy="true"], .btn[aria-busy="true"]:disabled { filter: none; display: inline-flex; gap: 8px; cursor: progress; opacity: .8; }
.btn.is-busy { pointer-events: none; }
.btn-spin { width: 1em; height: 1em; flex: none; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: btn-spin .7s linear infinite; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gold-2); font-size: .92rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Tags, chips ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(var(--accent-rgb), .1); color: var(--gold-2); border: 1px solid rgba(var(--accent-rgb), .2); }
.tag.blue { background: rgba(193, 145, 63, .1); color: #9A6E26; border-color: rgba(193, 145, 63, .25); }
.tag.green { background: rgba(15, 159, 116, .1); color: var(--up-text); border-color: rgba(15, 159, 116, .25); }
.tag svg { width: 13px; height: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card-bg); box-shadow: var(--shadow-xs); font-size: .86rem; color: var(--text-2); transition: all .3s var(--ease); }
.chip:hover { border-color: rgba(var(--accent-rgb), .45); color: var(--heading); transform: translateY(-2px); }
.chip b { font-family: var(--font-mono); color: var(--gold-2); font-weight: 600; }
.chip svg { width: 15px; height: 15px; }

/* ---------- Preloader, progress, cursor ---------- */
.preloader { position: fixed; inset: 0; z-index: 9999; background: var(--grad-sapphire); display: grid; place-items: center; transition: opacity .7s var(--ease), visibility .7s; }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-mark { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.preloader-mark .logo-mark { width: 64px; height: 64px; animation: pre 1.4s var(--ease) infinite alternate; }
@keyframes pre { from { transform: scale(.92); } to { transform: scale(1.04); filter: drop-shadow(0 0 22px rgba(227, 189, 118, .7)); } }
.preloader-bar { width: 170px; height: 3px; background: rgba(255, 255, 255, .15); border-radius: 3px; overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, #fff, #E3BD76); border-radius: 3px; animation: load 1.1s var(--ease) infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1101; background: linear-gradient(90deg, #D4A65A, #2563eb); box-shadow: 0 0 14px rgba(37, 99, 235, .6); border-radius: 0 3px 3px 0; }
.cursor-glow { position: fixed; width: 560px; height: 560px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(212, 166, 90, .1) 0%, transparent 60%); transform: translate(-50%, -50%); opacity: 0; transition: opacity .3s; }
@media (hover: hover) { .cursor-glow { opacity: 1; } }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { width: 42px; height: 42px; flex: none; transition: transform .6s var(--spring); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: .18em; text-transform: uppercase; color: var(--heading); line-height: 1; }
.logo-word b { font-weight: 700; }
.logo-sub { display: block; font-family: var(--font-body); font-size: .55rem; letter-spacing: .26em; color: var(--muted); margin-top: 6px; font-weight: 600; white-space: nowrap; }
.logo-img { height: 44px; width: auto; max-width: 220px; object-fit: contain; }
@media (max-width: 420px) { .logo-sub { display: none; } }

/* ---------- Header: floating glass pill ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 14px 12px 0; transition: transform .45s var(--ease); pointer-events: none; }
.site-header > * { pointer-events: auto; }
.site-header.hide { transform: translateY(-120%); }
.header-inner {
  max-width: calc(var(--container) - 8px); margin: 0 auto; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 0 10px 0 18px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(var(--bg-rgb), .08); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: background .4s, box-shadow .4s, border-color .4s;
}
.site-header.scrolled .header-inner, .site-header.on-light .header-inner { background: rgba(255, 255, 255, .88); border-color: rgba(18, 46, 120, .1); box-shadow: 0 18px 40px -24px rgba(22, 50, 120, .45); }
.ticker-bar { position: relative; z-index: 2; height: 46px; overflow: hidden; background: #fff; border-bottom: 1px solid rgba(18, 46, 120, .08); }
.ticker-bar .tradingview-widget-container, .ticker-bar iframe { height: 46px !important; }

.nav { display: none; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: .9rem; font-weight: 600; color: var(--text-2); border-radius: 999px; transition: color .25s, background .25s; }
.nav-link:hover { color: var(--heading); background: rgba(var(--ink-rgb), .07); }
.nav-link.active { color: var(--heading); background: rgba(var(--accent-rgb), .16); }
.nav-link svg { width: 12px; height: 12px; opacity: .6; transition: transform .3s; }
.has-mega:hover .nav-link svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 16px); left: 50%; width: 640px; transform: translate(-50%, 12px) scale(.98);
  opacity: 0; visibility: hidden; transition: all .35s var(--ease);
  background: #fff; border: 1px solid rgba(18, 46, 120, .1); border-radius: 26px; padding: 12px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; box-shadow: 0 40px 80px -30px rgba(22, 50, 120, .45);
}
.mega::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.mega a { display: flex; gap: 14px; padding: 14px; border-radius: 18px; transition: background .25s, transform .25s var(--ease); }
.mega a:hover { background: #f1f6ff; transform: translateX(3px); }
.mega .mi { width: 42px; height: 42px; border-radius: 13px; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, #5b95ff, #2563eb 50%, #1a3fb8); color: #fff; box-shadow: 0 10px 24px -12px rgba(37, 99, 235, .8); }
.mega .mi svg { width: 20px; height: 20px; }
.mega strong { display: block; color: #08174a; font-size: .92rem; }
.mega small { color: #7080a3; font-size: .8rem; line-height: 1.45; display: block; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { padding: 11px 20px; font-size: .86rem; }
.header-actions .btn-ghost { display: none; }
.burger { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(var(--ink-rgb), .06); display: grid; place-items: center; }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--heading); position: relative; transition: background .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: var(--heading); transition: transform .35s var(--ease); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 1100px) { .nav { display: block; } .burger { display: none; } .header-actions .btn-ghost { display: inline-flex; } }
@media (max-width: 420px) { .header-actions .btn-gold { display: none; } }

.drawer { position: fixed; inset: 0; z-index: 999; background: var(--grad-sapphire); padding: calc(var(--header-h) + 30px) 20px 32px; overflow-y: auto; opacity: 0; visibility: hidden; clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path .7s var(--ease), opacity .3s, visibility .7s; }
body.nav-open { overflow: hidden; }
body.nav-open .drawer { opacity: 1; visibility: visible; clip-path: circle(150% at calc(100% - 44px) 44px); }
.drawer ul { list-style: none; padding: 0; margin: 0 0 28px; }
.drawer li { border-bottom: 1px solid var(--line); transform: translateY(24px); opacity: 0; transition: all .55s var(--ease); }
body.nav-open .drawer li { transform: none; opacity: 1; }
.drawer li:nth-child(2) { transition-delay: .05s; } .drawer li:nth-child(3) { transition-delay: .1s; } .drawer li:nth-child(4) { transition-delay: .15s; }
.drawer li:nth-child(5) { transition-delay: .2s; } .drawer li:nth-child(6) { transition-delay: .25s; } .drawer li:nth-child(7) { transition-delay: .3s; }
.drawer li:nth-child(8) { transition-delay: .35s; } .drawer li:nth-child(9) { transition-delay: .4s; }
.drawer a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; letter-spacing: -.02em; color: #fff; }
.drawer a small { font-family: var(--font-mono); font-size: .72rem; color: var(--gold); }
.drawer .drawer-actions { display: grid; gap: 12px; }

/* ---------- Deep-sapphire hero bands ---------- */
.hero, .page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--grad-sapphire); border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
@media (max-width: 767px) { .hero, .page-hero { border-radius: 0 0 28px 28px; } }
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 60px) 0 90px; }
.page-hero { padding: calc(var(--header-h) + 90px) 0 96px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 50% at 80% 30%, rgba(125, 178, 255, .38), transparent 70%), radial-gradient(ellipse 40% 40% at 10% 90%, rgba(212, 166, 90, .28), transparent 70%); }
.hero-bg::after { content: ""; position: absolute; inset: -25%; opacity: .5; background: conic-gradient(from 0deg at 60% 45%, transparent 0 18%, rgba(125, 178, 255, .4) 30%, transparent 46%, rgba(212, 166, 90, .3) 62%, transparent 78%); filter: blur(70px); animation: aurora 26s linear infinite; }
@keyframes aurora { to { transform: rotate(360deg); } }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 25%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 25%, transparent 75%); }
.hero-orbs span { position: absolute; border-radius: 50%; filter: blur(2px); background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .9), rgba(227, 189, 118, .25) 40%, transparent 70%); animation: orb 14s ease-in-out infinite; }
@keyframes orb { 50% { transform: translate(30px, -40px) scale(1.1); } }
#globe { position: absolute; right: -24%; top: 50%; transform: translateY(-50%); width: 120vw; max-width: 980px; aspect-ratio: 1; opacity: .45; }
@media (min-width: 992px) { #globe { right: -6%; width: 60vw; opacity: 1; } }
.hero-inner { position: relative; z-index: 2; display: grid; gap: 52px; align-items: center; width: 100%; }
@media (min-width: 992px) { .hero-inner { grid-template-columns: 1.1fr .9fr; } }
.hero h1 { margin-bottom: 26px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .1s; } .hero h1 .line:nth-child(3) > span { animation-delay: .2s; } .hero h1 .line:nth-child(4) > span { animation-delay: .3s; }
@keyframes rise { to { transform: none; } }
.hero .lead { max-width: 560px; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: var(--text-2); font-size: .8rem; font-weight: 600; }
.hero-badges svg { width: 15px; height: 15px; color: var(--gold); }
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 1s var(--ease) forwards; }
.d1 { animation-delay: .3s; } .d2 { animation-delay: .45s; } .d3 { animation-delay: .6s; } .d4 { animation-delay: .75s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.live-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(15, 159, 116, .16); border: 1px solid rgba(127, 240, 203, .3); color: #7ff0cb; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 24px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

.glass { background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-radius: var(--radius); box-shadow: 0 30px 70px -30px rgba(3, 10, 40, .8); }
.hero-card { position: relative; padding: 22px; border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(18px); box-shadow: 0 40px 80px -30px rgba(3, 10, 40, .85); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.hero-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: .8rem; color: var(--muted); }
.hero-card-head strong { color: #fff; font-size: .95rem; }
.hero-card .tv-mini { height: 220px; border-radius: 16px; overflow: hidden; }
.hero-card-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.hero-card-foot div { padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.hero-card-foot small { display: block; color: var(--muted); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-card-foot b { font-family: var(--font-mono); font-size: .92rem; color: #fff; }
.orbit-chip { position: absolute; padding: 10px 14px; border-radius: 16px; background: #fff; color: #08174a; font-size: .78rem; display: flex; align-items: center; gap: 10px; box-shadow: 0 24px 50px -20px rgba(3, 10, 40, .7); }
.orbit-chip .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #2563eb, #D4A65A); color: #fff; }
.orbit-chip .ic svg { width: 16px; height: 16px; }
.orbit-chip b { display: block; color: #08174a; font-size: .84rem; }
.orbit-chip small { color: #7080a3; }
.orbit-chip.c1 { top: -40px; left: -30px; animation: float 6s ease-in-out infinite reverse; }
.orbit-chip.c2 { bottom: -26px; right: -18px; animation: float 8s ease-in-out infinite; }
@media (max-width: 991px) { .orbit-chip { display: none; } }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; }
.scroll-hint i { width: 22px; height: 36px; border-radius: 12px; border: 2px solid rgba(255, 255, 255, .4); position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { to { transform: translateY(12px); opacity: 0; } }
@media (max-width: 767px) { .scroll-hint { display: none; } }

.page-hero h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); max-width: 900px; }
.page-hero .lead { max-width: 720px; }
.breadcrumb { display: inline-flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 7px 16px; margin: 0 0 26px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: .8rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 10px; opacity: .6; }
.breadcrumb a:hover { color: #fff; }
.page-hero-art { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 540px; opacity: .7; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 60% 60% at 55% 50%, #000 35%, transparent 75%); mask-image: radial-gradient(ellipse 60% 60% at 55% 50%, #000 35%, transparent 75%); }
@media (max-width: 991px) { .page-hero-art { opacity: .2; right: -200px; } }
.overlap { position: relative; z-index: 3; margin-top: -70px; }

/* ---------- Bento + cards ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.bento { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(6, 1fr); } .bento > * { grid-column: span 3; } .bento .b-2 { grid-column: span 2; } .bento .b-4 { grid-column: span 4; } .bento .b-6 { grid-column: span 6; } .bento .b-tall { grid-row: span 2; } }

.card { position: relative; padding: 32px 28px; border-radius: var(--radius); background: var(--card-bg); border: 1px solid var(--line); box-shadow: var(--shadow-soft); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--accent-rgb), .1), transparent 45%); opacity: 0; transition: opacity .4s; }
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-blue); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.card:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .3); box-shadow: 0 36px 70px -34px rgba(var(--shadow-rgb), calc(1.4 * var(--shadow-k))); }
.card:hover::before { opacity: 1; }
.card:hover::after { transform: scaleX(1); }
.card p { font-size: .95rem; }
.card h3 { margin-bottom: 10px; }
.card-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 24px; background: var(--grad-gold); color: var(--on-accent); box-shadow: 0 14px 30px -14px rgba(37, 99, 235, .85); transition: transform .6s var(--spring); }
.card:hover .card-icon { transform: rotate(-8deg) scale(1.08); }
.card-icon svg { width: 26px; height: 26px; }
.card-icon.blue { background: var(--grad-blue); color: #fff; }
.card-icon.soft { background: rgba(var(--accent-rgb), .1); color: var(--gold-2); box-shadow: none; }
.card-num { position: absolute; top: 24px; right: 26px; font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }
.card .link-arrow { margin-top: 10px; }
.card-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.card-list li { display: flex; gap: 10px; font-size: .92rem; color: var(--text-2); line-height: 1.55; }
.card-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: rgba(var(--accent-rgb), .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.card-feature { padding: 40px 36px; }
.card-glow, .card-blue { border-color: rgba(var(--accent-rgb), .3); box-shadow: var(--glow-gold); }
.card-sapphire { background: var(--grad-sapphire); border-color: transparent; }
.card-sapphire, .card-sapphire * { --heading: #fff; --text-2: #cad8f6; --muted: #9db2df; --gold-2: #dbeafe; --accent-rgb: 147, 197, 253; }

.split { display: grid; gap: 56px; align-items: center; }
@media (min-width: 992px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } .split.wide-left { grid-template-columns: 1.2fr .8fr; } .split.wide-right { grid-template-columns: .8fr 1.2fr; } }
.panel { border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--card-bg); padding: 28px; box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.panel-head h3 { margin: 0; font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.panel-head h3 svg { width: 20px; height: 20px; color: var(--gold); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 992px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--card-bg); border: 1px solid var(--line); box-shadow: var(--shadow-soft); overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .16), transparent 70%); }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1; color: var(--heading); display: flex; align-items: baseline; gap: 2px; letter-spacing: -.03em; }
.stat-num .unit { font-size: .55em; color: var(--gold); }
.stat-label { margin-top: 10px; font-size: .84rem; color: var(--muted); line-height: 1.45; }
.stat-src { font-size: .7rem; color: var(--muted); opacity: .75; margin-top: 10px; }

.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(var(--ink-rgb), .06); border: 1px solid var(--line); }
.tab { padding: 9px 18px; border-radius: 999px; background: transparent; border: 0; color: var(--text-2); font-weight: 700; font-size: .85rem; transition: all .3s var(--ease); }
.tab:hover { color: var(--heading); }
.tab.active { background: var(--grad-gold); color: var(--on-accent); box-shadow: 0 8px 20px -10px rgba(37, 99, 235, .8); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .6s var(--ease) forwards; }

.flow { display: grid; gap: 16px; position: relative; isolation: isolate; }
@media (min-width: 768px) { .flow { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .flow { grid-template-columns: repeat(6, 1fr); } }
.flow-step { position: relative; padding: 26px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card-bg); box-shadow: var(--shadow-soft); transition: all .45s var(--ease); }
.flow-step:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .35); }
.flow-step .n { font-family: var(--font-mono); font-size: .72rem; color: var(--gold-2); letter-spacing: .14em; }
.flow-step .fi { width: 46px; height: 46px; margin: 14px 0 16px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-blue); color: #fff; }
.flow-step .fi svg { width: 22px; height: 22px; }
.flow-step h4 { font-size: 1rem; margin-bottom: 6px; }
.flow-step p { font-size: .86rem; margin: 0; line-height: 1.6; }
.flow-line { display: none; }
@media (min-width: 1200px) { .flow-line { display: block; position: absolute; top: 84px; left: 4%; right: 4%; height: 2px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); z-index: -1; overflow: hidden; } .flow-line::after { content: ""; position: absolute; top: 0; left: -20%; width: 20%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); animation: flowline 3.5s linear infinite; } }
@keyframes flowline { to { left: 100%; } }

.process { position: relative; display: grid; }
.process::before { content: ""; position: absolute; left: 23px; top: 0; bottom: 0; width: 2px; background: var(--line-2); border-radius: 2px; }
.process-fill { position: absolute; left: 23px; top: 0; width: 2px; height: 0; background: var(--grad-blue); box-shadow: 0 0 12px rgba(37, 99, 235, .6); transition: height .2s linear; }
.process-item { position: relative; padding: 0 0 46px 78px; }
.process-item:last-child { padding-bottom: 0; }
.process-dot { position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--card-bg); border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: .8rem; color: var(--muted); transition: all .5s var(--spring); box-shadow: var(--shadow-xs); }
.process-item.in .process-dot { border-color: transparent; color: #fff; background: var(--grad-gold); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .14); transform: rotate(-6deg); }
.process-item h3 { font-size: 1.3rem; margin-bottom: 8px; }
.process-item p { max-width: 640px; }

.strategy-card { display: flex; flex-direction: column; }
.strategy-card .donut { width: 170px; height: 170px; margin: 6px auto 24px; position: relative; }
.strategy-card .donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.strategy-card .donut circle { fill: none; stroke-width: 14; }
.strategy-card .donut .seg { stroke-dasharray: 0 1000; transition: stroke-dasharray 1.6s var(--ease); }
.strategy-card .donut-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.strategy-card .donut-center b { font-family: var(--font-display); font-size: 1.6rem; color: var(--heading); display: block; line-height: 1; }
.strategy-card .donut-center small { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.legend { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; }
.legend li { display: flex; justify-content: space-between; align-items: center; font-size: .86rem; color: var(--text-2); }
.legend li span { display: inline-flex; align-items: center; gap: 10px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend b { font-family: var(--font-mono); font-weight: 600; color: var(--heading); }
.risk-meter { margin-top: auto; }
.risk-meter small { display: flex; justify-content: space-between; color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.risk-track { height: 8px; border-radius: 8px; background: rgba(var(--ink-rgb), .08); overflow: hidden; }
.risk-track span { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, #10b981, #2563eb, #e23a55); background-size: 300px 100%; transition: width 1.6s var(--ease); }

.sessions { display: grid; gap: 14px; }
.session { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 16px; }
@media (max-width: 520px) { .session { grid-template-columns: 1fr; gap: 8px; } }
.session-name { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; color: var(--heading); }
.session-name .st { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.session.open .st { background: #10b981; animation: pulse 1.8s infinite; }
.session-name small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); }
.session-track { position: relative; height: 36px; border-radius: 12px; background: rgba(var(--ink-rgb), .05); border: 1px solid var(--line); overflow: hidden; }
.session-bar { position: absolute; top: 6px; bottom: 6px; border-radius: 8px; background: rgba(var(--accent-rgb), .2); border: 1px solid rgba(var(--accent-rgb), .4); }
.session.open .session-bar { background: rgba(16, 185, 129, .22); border-color: rgba(16, 185, 129, .55); }
.session-now { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--gold); box-shadow: 0 0 10px var(--gold); z-index: 2; }
.session-axis { display: flex; justify-content: space-between; margin-left: 146px; font-family: var(--font-mono); font-size: .68rem; color: var(--muted); }
@media (max-width: 520px) { .session-axis { margin-left: 0; } }
.clock-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.clock { flex: 1 1 130px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card-bg); box-shadow: var(--shadow-xs); }
.clock small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.clock b { font-family: var(--font-mono); font-size: 1.2rem; color: var(--heading); font-weight: 600; }

.tv-box { border-radius: var(--radius); border: 1px solid var(--line); background: var(--card-bg); box-shadow: var(--shadow-soft); overflow: hidden; }
.tv-box .tradingview-widget-container { height: 100%; }
.tv-h-420 { height: 420px; } .tv-h-500 { height: 500px; } .tv-h-560 { height: 560px; } .tv-h-640 { height: 640px; }
@media (max-width: 767px) { .tv-h-560, .tv-h-640 { height: 480px; } }
.tradingview-widget-copyright { font-size: 11px !important; padding: 6px 10px; color: var(--muted); }
.tradingview-widget-copyright a { color: var(--muted) !important; }
.data-note { font-size: .76rem; color: var(--muted); margin-top: 12px; }

.converter { display: grid; gap: 14px; }
@media (min-width: 640px) { .converter { grid-template-columns: 1fr auto 1fr; align-items: end; } }
.converter .swap { width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--grad-gold); color: #fff; display: grid; place-items: center; margin: 0 auto 2px; box-shadow: var(--shadow-blue); transition: transform .5s var(--spring); }
.converter .swap:hover { transform: rotate(180deg); }
.converter .swap svg { width: 20px; height: 20px; }
.conv-result { margin-top: 22px; padding: 22px; border-radius: 18px; background: rgba(var(--accent-rgb), .07); border: 1px solid rgba(var(--accent-rgb), .2); }
.conv-result b { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--heading); font-weight: 700; display: block; line-height: 1.2; }
.conv-result small { color: var(--muted); font-size: .8rem; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; margin-bottom: 18px; align-content: start; }
.field label { font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: var(--text-2); }
.input, .select, .textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; color: var(--heading); font: inherit; font-size: .95rem; outline: none; transition: border-color .3s, box-shadow .3s, background .3s; }
.theme-dark .input, .theme-dark .select, .theme-dark .textarea { background: rgba(255, 255, 255, .07); color: #fff; }
.input::placeholder, .textarea::placeholder { color: #9aa7c4; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .14); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; padding-right: 44px; }
.select option { background: #fff; color: #08174a; }
.textarea { min-height: 140px; resize: vertical; }
.input-wrap { position: relative; }
.input-wrap .input { padding-left: 46px; }
.input-wrap > svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; transition: color .3s; }
.input-wrap:focus-within > svg { color: var(--gold); }
.input-wrap .toggle-pass { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); padding: 8px; }
.input-wrap .toggle-pass svg { width: 18px; height: 18px; }
.field-error, .field-validation-error { color: var(--down-text); font-size: .8rem; font-weight: 600; }
.input-validation-error { border-color: rgba(226, 58, 85, .85) !important; background: rgba(226, 58, 85, .04) !important; }
.input-validation-error:focus { box-shadow: 0 0 0 4px rgba(226, 58, 85, .16) !important; }
label.input-validation-error { color: var(--down-text); border-radius: 10px; outline: 1px solid rgba(226, 58, 85, .7); outline-offset: 4px; background: none !important; }
.field-error[data-for] { display: block; margin-top: 2px; }
.field-error[hidden] { display: none; }
.validation-summary-errors { padding: 14px 18px; border-radius: 14px; background: rgba(226, 58, 85, .07); border: 1px solid rgba(226, 58, 85, .28); color: var(--down-text); font-size: .88rem; margin-bottom: 20px; }
.validation-summary-errors ul { margin: 0; padding-left: 18px; }
.validation-summary-valid { display: none; }
.form-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--text-2); cursor: pointer; line-height: 1.5; }
.check input { appearance: none; flex: none; width: 21px; height: 21px; margin-top: 1px; border-radius: 7px; border: 1.5px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; transition: all .25s var(--spring); }
.check input:checked { background: var(--grad-gold); border-color: transparent; transform: scale(1.06); }
.check input:checked::after { content: ""; width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.check a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.strength { display: flex; gap: 6px; margin-top: 10px; }
.strength span { flex: 1; height: 5px; border-radius: 5px; background: rgba(var(--ink-rgb), .1); transition: background .3s; }
.strength-label { font-size: .74rem; color: var(--muted); margin-top: 6px; }

.alert { padding: 15px 18px; border-radius: 16px; font-size: .9rem; margin-bottom: 22px; display: flex; gap: 12px; align-items: flex-start; border: 1px solid; animation: alertIn .5s var(--ease); }
@keyframes alertIn { from { opacity: 0; transform: translateY(-8px); } }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert-info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.alert-error { background: #fff1f3; border-color: #fecdd3; color: #9f1239; }
.alert-warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.alert a { color: inherit; font-weight: 700; text-decoration: underline; word-break: break-all; }
.alert strong { color: inherit; }

/* ---------- Auth ---------- */
.auth { min-height: 100vh; min-height: 100svh; display: grid; background: var(--bg); }
@media (min-width: 1024px) { .auth { grid-template-columns: 1fr 1fr; } }
.auth-visual { position: relative; display: none; overflow: hidden; padding: 44px; background: var(--grad-sapphire); margin: 14px; border-radius: 36px; }
@media (min-width: 1024px) { .auth-visual { display: flex; flex-direction: column; justify-content: space-between; } }
.auth-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.auth-visual > * { position: relative; z-index: 1; }
.auth-visual h2 { font-size: clamp(2rem, 3vw, 2.9rem); max-width: 520px; color: #fff; }
.auth-visual p { color: #cad8f6; }
.auth-visual .logo-word { color: #fff; }
.auth-visual .eyebrow { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #dbeafe; }
.auth-visual .eyebrow::before { background: #E3BD76; }
.auth-quote { max-width: 460px; }
.auth-tickers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 520px; }
.auth-tick { padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); }
.auth-tick small { color: #9db2df; font-size: .72rem; display: block; }
.auth-tick b { font-family: var(--font-mono); font-weight: 600; color: #fff; font-size: .98rem; }
.auth-tick i { font-style: normal; font-family: var(--font-mono); font-size: .74rem; }
.auth-main { display: flex; flex-direction: column; padding: 28px 16px 40px; }
@media (min-width: 640px) { .auth-main { padding: 36px 56px 48px; } }
.auth-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; gap: 12px; }
.auth-top .back { font-size: .85rem; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.auth-top .back:hover { color: var(--gold-2); border-color: rgba(var(--accent-rgb), .4); }
.auth-top .back svg { width: 16px; height: 16px; }
@media (min-width: 1024px) { .auth-top .mobile-logo { visibility: hidden; } }
.auth-box { width: 100%; max-width: 470px; margin: auto; padding: 34px 30px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); animation: fadeUp .8s var(--ease) both; }
@media (max-width: 520px) { .auth-box { padding: 26px 20px; border-radius: 24px; } }
.auth-box h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 8px; }
.auth-box > p { margin-bottom: 28px; }
.auth-foot { text-align: center; margin-top: 24px; font-size: .9rem; color: var(--muted); }
.auth-foot a { color: var(--gold-2); font-weight: 700; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; color: var(--muted); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-legal { font-size: .74rem; color: var(--muted); margin-top: 28px; text-align: center; line-height: 1.6; }
.steps-indicator { display: flex; gap: 8px; margin-bottom: 24px; }
.steps-indicator span { flex: 1; height: 4px; border-radius: 4px; background: var(--line-2); transition: background .4s; }
.steps-indicator span.on { background: var(--grad-blue); }
.form-step { display: none; }
.form-step.active { display: block; animation: fadeUp .5s var(--ease) forwards; }
.form-nav { display: flex; gap: 12px; margin-top: 8px; }
.form-nav .btn { flex: 1; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.row-between a { font-size: .86rem; color: var(--gold-2); font-weight: 600; }
.icon-hero { width: 70px; height: 70px; border-radius: 22px; display: grid; place-items: center; margin-bottom: 24px; background: var(--grad-gold); color: #fff; box-shadow: var(--shadow-blue); }
.icon-hero svg { width: 32px; height: 32px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { border-radius: 18px; border: 1px solid var(--line); background: var(--card-bg); box-shadow: var(--shadow-xs); transition: border-color .3s, box-shadow .3s; }
.faq-item.open { border-color: rgba(var(--accent-rgb), .35); box-shadow: var(--shadow-soft); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; background: none; border: 0; color: var(--heading); text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -.01em; }
.faq-q i { position: relative; flex: none; width: 32px; height: 32px; border-radius: 11px; background: rgba(var(--accent-rgb), .1); transition: all .4s var(--spring); }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--gold); transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-q i { background: var(--grad-gold); transform: rotate(180deg); }
.faq-item.open .faq-q i::before, .faq-item.open .faq-q i::after { background: #fff; }
.faq-item.open .faq-q i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 20px; margin: 0; font-size: .95rem; }

.marquee { position: relative; overflow: hidden; padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 999px; background: var(--card-bg); border: 1px solid var(--line); box-shadow: var(--shadow-xs); font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.25rem); color: var(--heading); white-space: nowrap; }
.marquee-item svg { width: 18px; height: 18px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

.ccy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .ccy-grid { grid-template-columns: repeat(4, 1fr); } }
.ccy { padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--card-bg); box-shadow: var(--shadow-xs); transition: all .4s var(--ease); }
.ccy:hover { transform: translateY(-5px); border-color: rgba(var(--accent-rgb), .35); box-shadow: var(--shadow-soft); }
.ccy .sym { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: #fff; background: var(--grad-gold); margin-bottom: 14px; }
.ccy b { display: block; font-family: var(--font-mono); color: var(--heading); font-weight: 600; }
.ccy small { color: var(--muted); font-size: .8rem; }

.equation { display: grid; gap: 14px; align-items: center; }
@media (min-width: 992px) { .equation { grid-template-columns: 1fr auto 1fr auto 1fr auto 1.2fr; } }
.eq-item { text-align: center; padding: 32px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card-bg); box-shadow: var(--shadow-soft); }
.eq-item h3 { margin: 14px 0 8px; }
.eq-item p { font-size: .88rem; margin: 0; text-align: center; }
.eq-item .card-icon { margin: 0 auto; }
.eq-op { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: var(--gold); line-height: 1; }
.eq-result { background: var(--grad-sapphire); border-color: transparent; }
.eq-result, .eq-result * { --heading: #fff; --text-2: #cad8f6; }
.eq-result h3 { font-size: 1.7rem; }

/* ---------- Prose ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { text-align: justify; }
.prose ul, .prose ol { color: var(--text-2); padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: 24px 26px; border-radius: 20px; background: linear-gradient(135deg, #eff6ff, #f8fbff); border: 1px solid #dbeafe; font-family: var(--font-display); font-size: 1.2rem; color: var(--heading); position: relative; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .9rem; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { color: var(--gold-2); font-weight: 700; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; background: #f3f7ff; }
.prose td { color: var(--text-2); }
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--card-bg); box-shadow: var(--shadow-xs); }
.table-wrap table { margin: 0; min-width: 560px; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 22px; border-radius: 22px; border: 1px solid var(--line); background: var(--card-bg); box-shadow: var(--shadow-soft); }
.toc h4 { font-family: var(--font-body); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: flex; gap: 12px; padding: 8px 10px; border-radius: 10px; font-size: .88rem; color: var(--text-2); transition: all .25s; counter-increment: toc; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: .72rem; color: var(--muted); padding-top: 2px; }
.toc a:hover, .toc a.active { background: rgba(var(--accent-rgb), .1); color: var(--heading); }
.with-toc { display: grid; gap: 48px; }
@media (min-width: 1024px) { .with-toc { grid-template-columns: 280px 1fr; gap: 72px; } }
@media (max-width: 1023px) { .toc { position: static; } }
.glossary { display: grid; gap: 12px; }
@media (min-width: 768px) { .glossary { grid-template-columns: repeat(2, 1fr); } }
.gloss { padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--card-bg); box-shadow: var(--shadow-xs); }
.gloss b { display: block; color: var(--gold-2); font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.gloss p { margin: 0; font-size: .9rem; }

.post { display: flex; flex-direction: column; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card-bg); box-shadow: var(--shadow-soft); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--grad-sapphire); }
.post-art svg { width: 100%; height: 100%; transition: transform .9s var(--ease); }
.post:hover .post-art svg { transform: scale(1.07); }
.post-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 12px; align-items: center; font-size: .76rem; color: var(--muted); margin-bottom: 10px; flex-wrap: wrap; }
.post-meta svg { width: 15px; height: 15px; }
.post h3 { font-size: 1.2rem; margin-bottom: 10px; }
.post p { font-size: .92rem; flex: 1; }

.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 64px 28px; text-align: center; background: var(--grad-sapphire); box-shadow: 0 50px 100px -50px rgba(10, 31, 99, .8); isolation: isolate; }
@media (min-width: 768px) { .cta-band { padding: 96px 64px; } }
.cta-band::after { content: ""; position: absolute; inset: -30%; z-index: -1; background: conic-gradient(from 90deg at 50% 50%, transparent, rgba(125, 178, 255, .35), transparent 40%); filter: blur(60px); animation: aurora 20s linear infinite; }
.cta-band h2 { max-width: 820px; margin: 0 auto 18px; }
.cta-band p { max-width: 620px; margin: 0 auto 34px; text-align: center; }
.cta-band .hero-cta { justify-content: center; }
.cta-band canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .3; z-index: 0; }
.cta-band > *:not(canvas) { position: relative; z-index: 1; }
.candles-bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .18; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--grad-sapphire); padding: 96px 0 30px; border-radius: var(--radius-xl) var(--radius-xl) 0 0; margin-top: 40px; isolation: isolate; }
@media (max-width: 767px) { .site-footer { border-radius: 28px 28px 0 0; } }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; margin: 0 10%; border-radius: 3px; background: linear-gradient(90deg, transparent, #E3BD76, #fff, #E3BD76, transparent); background-size: 200% 100%; animation: sheen 6s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
.footer-grid { display: grid; gap: 44px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; } }
.footer-about p { font-size: .92rem; margin-top: 22px; max-width: 360px; }
.footer-col h4 { font-family: var(--font-body); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-col a { font-size: .92rem; color: var(--text-2); transition: color .25s, transform .25s; display: inline-block; }
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-contact li { display: flex; gap: 12px; font-size: .9rem; color: var(--text-2); }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--gold); margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; transition: all .35s var(--spring); }
.social a:hover { background: #fff; color: #0b2470; transform: translateY(-4px) rotate(-6deg); }
.social svg { width: 17px; height: 17px; }
.newsletter { display: flex; gap: 8px; margin-top: 16px; }
.newsletter .input { padding: 12px 16px; font-size: .88rem; }
.newsletter .btn { padding: 12px 18px; }
.risk-warning { margin-top: 60px; padding: 22px 24px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.risk-warning p { font-size: .78rem; line-height: 1.7; margin: 0 0 8px; color: var(--muted); text-align: justify; }
.risk-warning p:last-child { margin: 0; }
.risk-warning strong { color: var(--text-2); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; padding: 0; margin: 0; }
.footer-bottom a:hover { color: #fff; }
.big-word { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 17vw, 15rem); line-height: .8; text-align: center; letter-spacing: -.05em; margin-top: 56px; background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 50px; height: 50px; border-radius: 16px; border: 0; background: var(--grad-gold); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-blue); opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9); transition: all .45s var(--spring); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

.dash { padding: calc(var(--header-h) + 40px) 0 80px; }
.dash-head { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-end; margin-bottom: 34px; }
.dash-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.kpis { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-bottom: 22px; }
@media (min-width: 992px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card-bg); box-shadow: var(--shadow-soft); transition: transform .4s var(--ease); }
.kpi small { display: block; color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.kpi b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--heading); margin: 8px 0 4px; }
.kpi i { font-style: normal; font-size: .8rem; font-family: var(--font-mono); }
.dash-grid { display: grid; gap: 22px; }
@media (min-width: 1100px) { .dash-grid { grid-template-columns: 1.6fr 1fr; } }
.onboard { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.onboard li { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.onboard .ob { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: .78rem; font-family: var(--font-mono); border: 1px solid var(--line-2); color: var(--muted); }
.onboard li.done .ob { background: #10b981; border-color: #10b981; color: #fff; }
.onboard b { color: var(--heading); font-size: .92rem; display: block; }
.onboard small { color: var(--muted); font-size: .8rem; }
#perfChart { width: 100%; height: 280px; }

/* ---------- Reveal motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal="left"] { transform: translateX(-46px); }
[data-reveal="right"] { transform: translateX(46px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal="blur"] { filter: blur(12px); transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
[data-delay="1"] { transition-delay: .08s; } [data-delay="2"] { transition-delay: .16s; } [data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; } [data-delay="5"] { transition-delay: .4s; } [data-delay="6"] { transition-delay: .48s; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.split-words .w > span { display: inline-block; transform: translateY(108%); transition: transform .9s var(--ease); }
.split-words.in .w > span { transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal-stagger.in > * { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 56px; }
.mb-0 { margin-bottom: 0; } .mb-4 { margin-bottom: 32px; }
.text-center { text-align: center; }
.text-center p, p.text-center, .center p { text-align: center; }
.flex-center { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.hr { height: 1px; background: var(--line); border: 0; margin: 56px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 10000; padding: 10px 18px; background: var(--gold); color: #fff; border-radius: 10px; }
.skip-link:focus { left: 10px; }
.lead, .split > div > p, .section-head p, .footer-about p, .cta-band p { text-align: justify; }
.text-center .lead, .section-head.center p, .cta-band p { text-align: center; }
@media (max-width: 640px) { p, .prose p, .prose li, .lead, .split > div > p, .section-head p { text-align: left; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], .reveal-stagger > *, .split-words .w > span { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ---------- Public page components (added) ---------- */

/* Word-split headings: each word keeps its own gradient so <em> words stay visible while they rise. */
.split-words em .w > span, .split-words .em .w > span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Header: full-bleed ticker strip on top, floating pill below; the strip tucks away once you scroll. */
.site-header.has-ticker { padding-top: 0; }
.site-header.has-ticker .ticker-bar { margin: 0 -12px 12px; transition: margin .55s var(--ease), opacity .4s; }
.site-header.has-ticker.scrolled .ticker-bar { margin-top: -46px; opacity: 0; pointer-events: none; }
.header-inner .brand { display: inline-flex; align-items: center; flex: none; }
.nav-list { padding: 4px; border-radius: 999px; }
.site-header.scrolled .nav-list, .site-header.on-light .nav-list { background: rgba(18, 46, 120, .04); }
.nav-link .nl-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0; transition: opacity .3s; }
.nav-link.active .nl-dot { opacity: 1; }
.mega .mega-wide { grid-column: 1 / -1; align-items: center; justify-content: space-between; background: linear-gradient(120deg, #eef4ff, #f8fbff); border: 1px solid #dbe7ff; }
.mega .mega-wide:hover { background: linear-gradient(120deg, #e3edff, #f3f8ff); }
.mega .mega-wide .mw-arrow { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #fff; color: #1d4ed8; box-shadow: 0 8px 20px -12px rgba(37, 99, 235, .7); transition: transform .35s var(--ease); }
.mega .mega-wide:hover .mw-arrow { transform: translateX(4px); }
.mega .mega-wide .mw-arrow svg { width: 16px; height: 16px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; color: var(--muted); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; }
.drawer a .dl { display: inline-flex; align-items: center; gap: 14px; }
.drawer a .dl i { font-style: normal; font-family: var(--font-mono); font-size: .7rem; color: var(--gold); letter-spacing: .1em; }
.drawer a > svg { width: 20px; height: 20px; opacity: .5; transition: transform .3s var(--ease), opacity .3s; }
.drawer a:hover > svg { transform: translateX(4px); opacity: 1; }
.drawer-contact { margin-top: 22px; padding: 18px 20px; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); display: flex; gap: 14px; align-items: center; }
.drawer-contact .ic { width: 42px; height: 42px; border-radius: 14px; flex: none; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; }
.drawer-contact .ic svg { width: 18px; height: 18px; }
.drawer-contact small { display: block; color: var(--muted); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.drawer .drawer-contact a { display: inline; padding: 0; font-family: var(--font-body); font-size: .95rem; font-weight: 600; }

/* Inner-page hero: copy on the left, a tilted glass art card with rotating rings on the right. */
.ph { padding: calc(var(--header-h) + 96px) 0 140px; }
@media (max-width: 991px) { .ph { padding: calc(var(--header-h) + 70px) 0 110px; } }
.ph-inner { position: relative; z-index: 2; display: grid; gap: 48px; align-items: center; }
@media (min-width: 992px) { .ph-inner { grid-template-columns: 1.2fr .8fr; } }
.ph h1 { margin-bottom: 22px; }
.ph .lead { margin-bottom: 0; }
.ph-art { position: relative; display: none; aspect-ratio: 5 / 4; }
@media (min-width: 992px) { .ph-art { display: block; } }
.ph-art-card { position: absolute; inset: 8% 4% 8% 10%; border-radius: 30px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .24); box-shadow: 0 60px 120px -40px rgba(3, 10, 40, .9), inset 0 1px 0 rgba(255, 255, 255, .25); transform: perspective(1200px) rotateY(-16deg) rotateX(7deg) rotateZ(1deg); animation: phFloat 9s ease-in-out infinite; }
.ph-art-card svg { width: 100%; height: 100%; }
.ph-art-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .22) 0%, transparent 38%, transparent 70%, rgba(212, 166, 90, .18) 100%); pointer-events: none; }
@keyframes phFloat { 50% { transform: perspective(1200px) rotateY(-10deg) rotateX(4deg) rotateZ(0deg) translateY(-14px); } }
.ph-rings { position: absolute; inset: -6% -10%; pointer-events: none; }
.ph-rings i { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px dashed rgba(191, 219, 254, .28); animation: aurora 40s linear infinite; }
.ph-rings i:nth-child(1) { width: 104%; height: 104%; }
.ph-rings i:nth-child(2) { width: 82%; height: 82%; border-style: solid; border-color: rgba(191, 219, 254, .14); animation-duration: 28s; animation-direction: reverse; }
.ph-rings i:nth-child(3) { width: 60%; height: 60%; animation-duration: 20s; }
.ph-rings i::after { content: ""; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: #E3BD76; box-shadow: 0 0 18px #E3BD76; }
.ph-tile { position: absolute; z-index: 2; padding: 12px; border-radius: 18px; background: linear-gradient(160deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06)); border: 1px solid rgba(255, 255, 255, .26); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 50px -24px rgba(3, 10, 40, .9); }
.ph-tile.t1 { left: -2%; bottom: 6%; animation: float 7s ease-in-out infinite reverse; }
.ph-tile.t2 { right: -2%; top: 2%; animation: float 8s ease-in-out infinite; }
.ph-tile .bars { display: flex; align-items: flex-end; gap: 5px; height: 46px; }
.ph-tile .bars span { width: 8px; border-radius: 4px; background: linear-gradient(180deg, #bfdbfe, #3b82f6); animation: barPulse 2.6s ease-in-out infinite; transform-origin: bottom; }
.ph-tile .bars span:nth-child(1) { height: 40%; } .ph-tile .bars span:nth-child(2) { height: 70%; animation-delay: .2s; } .ph-tile .bars span:nth-child(3) { height: 55%; animation-delay: .4s; }
.ph-tile .bars span:nth-child(4) { height: 90%; animation-delay: .6s; } .ph-tile .bars span:nth-child(5) { height: 65%; animation-delay: .8s; } .ph-tile .bars span:nth-child(6) { height: 100%; animation-delay: 1s; }
@keyframes barPulse { 50% { transform: scaleY(.6); } }
.ph-tile .pulse-ring { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; }
.ph-tile .pulse-ring svg { width: 20px; height: 20px; }
.ph-tile .pulse-ring::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 2px solid rgba(227, 189, 118, .6); animation: ringOut 2.4s var(--ease) infinite; pointer-events: none; }
@keyframes ringOut { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.ph-scroll { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 2; width: 1px; height: 54px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5)); overflow: hidden; }
.ph-scroll::after { content: ""; position: absolute; left: 0; top: -20px; width: 1px; height: 20px; background: #fff; animation: dropLine 2.2s var(--ease) infinite; }
@keyframes dropLine { to { top: 100%; } }
@media (max-width: 767px) { .ph-scroll { display: none; } }

/* Overlapping stat strip that sits on the hero's rounded bottom (use inside .overlap). */
.stat-strip { display: grid; grid-template-columns: repeat(2, 1fr); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(22, 50, 120, .45); overflow: hidden; }
@media (min-width: 992px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } .stat-strip.s3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 420px) { .stat-strip { grid-template-columns: 1fr; } }
.stat-strip > div { position: relative; padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.stat-strip > div:hover { background: #f6f9ff; }
.stat-strip .stat-num { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.stat-strip .stat-label { margin-top: 8px; }
.stat-strip .ss-ic { position: absolute; top: 22px; right: 20px; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(37, 99, 235, .08); color: #1d4ed8; }
.stat-strip .ss-ic svg { width: 17px; height: 17px; }

/* Sapphire band: a rounded deep-blue block inside the container (add .theme-dark for white text). */
.band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl); background: var(--grad-sapphire); padding: clamp(32px, 6vw, 84px); box-shadow: 0 50px 100px -50px rgba(10, 31, 99, .75); }
@media (max-width: 767px) { .band { border-radius: 28px; } }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 20%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 70% 20%, #000 20%, transparent 75%); }
.band::after { content: ""; position: absolute; inset: -30%; z-index: -1; opacity: .55; background: conic-gradient(from 200deg at 70% 30%, transparent 0 20%, rgba(125, 178, 255, .35) 32%, transparent 48%, rgba(212, 166, 90, .25) 64%, transparent 80%); filter: blur(70px); animation: aurora 30s linear infinite; }
/* Full-bleed sapphire section with large rounded corners (add .theme-dark). */
.section-sapphire { background: var(--grad-sapphire); border-radius: var(--radius-xl); margin: 0 10px; overflow: hidden; isolation: isolate; }
@media (max-width: 767px) { .section-sapphire { border-radius: 28px; margin: 0 6px; } }
.section-sapphire::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 45% 50% at 85% 10%, rgba(125, 178, 255, .35), transparent 70%), radial-gradient(ellipse 40% 40% at 5% 95%, rgba(212, 166, 90, .22), transparent 70%); }

/* Sticky left column in a split layout. */
@media (min-width: 992px) { .sticky-col { position: sticky; top: calc(var(--header-h) + 30px); } }

/* Big-numeral feature list. */
.num-list { display: grid; gap: 0; counter-reset: num; }
.num-item { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); counter-increment: num; }
.num-item:first-child { border-top: 1px solid var(--line); }
.num-item::before { content: counter(num, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; letter-spacing: -.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num-item h3, .num-item h4 { margin-bottom: 6px; }
.num-item p { margin: 0; font-size: .95rem; }

/* Hover rows: index, title, text, arrow, with a sliding highlight. */
.row-list { display: grid; border-top: 1px solid var(--line); }
.row-item { position: relative; display: grid; gap: 8px 28px; padding: 26px 18px; border-bottom: 1px solid var(--line); isolation: isolate; transition: padding .45s var(--ease); }
@media (min-width: 900px) { .row-item { grid-template-columns: 60px .9fr 1.4fr 40px; align-items: center; } }
.row-item::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 18px; background: linear-gradient(100deg, rgba(var(--accent-rgb), .1), rgba(var(--accent-rgb), .02)); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.row-item:hover::before { transform: scaleX(1); }
@media (min-width: 900px) { .row-item:hover { padding-left: 28px; } }
.row-item .ri-n { font-family: var(--font-mono); font-size: .78rem; color: var(--gold-2); letter-spacing: .12em; }
.row-item h3 { margin: 0; font-size: clamp(1.1rem, 1.6vw, 1.35rem); display: flex; align-items: center; gap: 12px; }
.row-item h3 svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.row-item p { margin: 0; font-size: .95rem; }
.row-item .ri-go { display: none; width: 40px; height: 40px; border-radius: 50%; place-items: center; border: 1px solid var(--line-2); color: var(--gold-2); transition: all .4s var(--ease); }
@media (min-width: 900px) { .row-item .ri-go { display: grid; } }
.row-item:hover .ri-go { background: var(--grad-gold); color: var(--on-accent); border-color: transparent; transform: rotate(-45deg); }
.row-item .ri-go svg { width: 16px; height: 16px; }

/* Icon checklist grid. */
.check-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 768px) { .check-grid { grid-template-columns: repeat(2, 1fr); } }
.check-grid li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: var(--card-bg); border: 1px solid var(--line); box-shadow: var(--shadow-xs); transition: transform .4s var(--ease), border-color .3s; }
.check-grid li:hover { transform: translateY(-3px); border-color: rgba(var(--accent-rgb), .35); }
.check-grid .ck { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-gold); color: var(--on-accent); }
.check-grid .ck svg { width: 15px; height: 15px; stroke-width: 2.6; }
.check-grid b { display: block; color: var(--heading); font-size: .98rem; margin-bottom: 2px; }
.check-grid span { color: var(--text-2); font-size: .9rem; line-height: 1.55; display: block; }

/* Icon list with soft tiles (left-aligned short copy). */
.icon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.icon-list li { display: flex; gap: 16px; align-items: flex-start; }
.icon-list .il { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .1); color: var(--gold-2); border: 1px solid rgba(var(--accent-rgb), .2); }
.icon-list .il svg { width: 20px; height: 20px; }
.icon-list b { display: block; color: var(--heading); margin-bottom: 2px; }
.icon-list span { color: var(--text-2); font-size: .93rem; line-height: 1.6; }

/* Large pull quote. */
.big-quote { position: relative; margin: 0; padding: 34px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(var(--accent-rgb), .1), rgba(var(--accent-rgb), .02)); border: 1px solid rgba(var(--accent-rgb), .2); overflow: hidden; }
.big-quote::before { content: "\201C"; position: absolute; right: 18px; top: -30px; font-family: var(--font-display); font-weight: 800; font-size: 9rem; line-height: 1; color: rgba(var(--accent-rgb), .14); }
.big-quote q, .big-quote .q { display: block; quotes: none; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.3vw, 1.8rem); line-height: 1.3; letter-spacing: -.02em; color: var(--heading); text-align: left; margin: 0; }
.big-quote small { display: block; margin-top: 14px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; }

/* Horizontal numbered steps with a connecting line (set --cols on the element). */
.hsteps { position: relative; display: grid; gap: 28px 16px; }
@media (min-width: 768px) { .hsteps { grid-template-columns: repeat(var(--cols, 4), 1fr); } }
.hsteps::before { content: ""; position: absolute; display: none; top: 27px; left: 4%; right: 4%; height: 2px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
@media (min-width: 768px) { .hsteps::before { display: block; } }
.hstep { position: relative; padding: 0 6px; }
.hstep .hs-dot { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--gold-2); box-shadow: var(--shadow-soft); transition: all .5s var(--spring); }
.theme-dark .hstep .hs-dot { background: #123497; }
.hstep .hs-dot svg { width: 22px; height: 22px; }
.hstep:hover .hs-dot { background: var(--grad-gold); color: var(--on-accent); border-color: transparent; transform: translateY(-4px) rotate(-6deg); }
.hstep .hs-n { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); letter-spacing: .14em; display: block; margin-bottom: 6px; }
.hstep h3, .hstep h4 { font-size: 1.08rem; margin-bottom: 6px; }
.hstep p { font-size: .9rem; margin: 0; }

/* Sticky in-page pill navigation for long pages (links are plain #anchors). */
.page-nav { position: sticky; top: calc(var(--nav-h) + 26px); z-index: 50; display: flex; justify-content: center; padding: 0 12px; margin: 0 0 8px; pointer-events: none; }
.page-nav ul { pointer-events: auto; display: flex; gap: 4px; list-style: none; margin: 0; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); box-shadow: 0 18px 40px -24px rgba(22, 50, 120, .45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.page-nav ul::-webkit-scrollbar { display: none; }
.page-nav a { display: block; padding: 8px 16px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--text-2); white-space: nowrap; transition: all .3s var(--ease); }
.page-nav a:hover { color: var(--heading); background: rgba(37, 99, 235, .08); }

/* Orbit visual: a centre badge with chips circling it (decorative, aria-hidden). Position chips with inline top/left. */
.orbit-visual { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin: 0 auto; }
.orbit-visual .ov-ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px dashed var(--line-2); }
.orbit-visual .ov-ring.r1 { width: 100%; height: 100%; animation: aurora 50s linear infinite; }
.orbit-visual .ov-ring.r2 { width: 70%; height: 70%; border-style: solid; border-color: var(--line); animation: aurora 36s linear infinite reverse; }
.orbit-visual .ov-core { position: absolute; inset: 0; margin: auto; width: 40%; height: 40%; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--grad-sapphire); color: #fff; box-shadow: 0 40px 80px -30px rgba(10, 31, 99, .8), 0 0 0 14px rgba(var(--accent-rgb), .08); }
.orbit-visual .ov-core svg { width: 34%; height: 34%; }
.orbit-visual .ov-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(18, 46, 120, .1); box-shadow: var(--shadow-soft); font-size: .8rem; font-weight: 700; color: #08174a; white-space: nowrap; animation: float 7s ease-in-out infinite; transform: translate(-50%, -50%); }
.orbit-visual .ov-chip svg { width: 15px; height: 15px; color: #2563eb; }
.orbit-visual .ov-chip:nth-of-type(odd) { animation-direction: reverse; animation-duration: 8s; }

/* Card variants: ghost number, gradient border, soft, extra-large, ghost word. */
.card-index { padding-top: 84px; }
.card-index .ci-n { position: absolute; top: 18px; left: 26px; font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(var(--accent-rgb), .45); }
.card-outline { background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, linear-gradient(135deg, rgba(var(--accent-rgb), .6), rgba(212, 166, 90, .25), rgba(var(--accent-rgb), .06)) border-box; border: 1.5px solid transparent; }
.card-soft { background: linear-gradient(160deg, #f1f6ff, #ffffff); }
.card-xl { padding: clamp(32px, 4vw, 52px); }
.card-xl .big { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.3; letter-spacing: -.02em; color: var(--heading); margin: 8px 0 20px; text-align: left; }
.ghost-word { position: absolute; right: -6px; bottom: -28px; font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 10vw, 8.5rem); line-height: 1; letter-spacing: -.05em; color: rgba(var(--ink-rgb), .05); pointer-events: none; user-select: none; z-index: -1; }

/* Media card: art on top, copy below. */
.media-card { padding: 0; }
.media-card .mc-art { aspect-ratio: 16 / 8; overflow: hidden; background: var(--grad-sapphire); }
.media-card .mc-art svg { width: 100%; height: 100%; transition: transform .9s var(--ease); }
.media-card:hover .mc-art svg { transform: scale(1.06); }
.media-card .mc-body { padding: 26px 26px 30px; }

/* Marquee on a dark band. */
.theme-dark .marquee-item { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); box-shadow: none; }

/* Legal pages: a white document card beside a sticky table of contents. */
.legal-card { padding: clamp(26px, 4vw, 56px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.legal-card .prose { max-width: none; }
.legal-card .prose > h2:first-child { margin-top: 0; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.prose h2, .prose h3, [id] { scroll-margin-top: calc(var(--header-h) + 30px); }
.prose h2 .h-n { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-right: 12px; border-radius: 13px; vertical-align: middle; font-family: var(--font-mono); font-size: .8rem; font-weight: 600; letter-spacing: 0; color: #fff; background: var(--grad-gold); box-shadow: 0 10px 24px -12px rgba(37, 99, 235, .8); }
.toc-card { margin-top: 16px; padding: 20px; border-radius: 20px; background: var(--grad-sapphire); color: #fff; }
.toc-card, .toc-card * { --heading: #fff; --text-2: #cad8f6; --muted: #9db2df; --gold-2: #dbeafe; }
.toc-card p { font-size: .86rem; margin: 6px 0 14px; text-align: left; }

/* CTA band: split layout (copy left, actions right). */
.cta-band.cta-split { text-align: left; }
.cta-split .cta-grid { display: grid; gap: 34px; align-items: center; }
@media (min-width: 992px) { .cta-split .cta-grid { grid-template-columns: 1.25fr .75fr; gap: 56px; } }
.cta-band.cta-split h2 { margin: 0 0 16px; max-width: 720px; }
.cta-band.cta-split p { margin: 0; max-width: 620px; text-align: justify; }
@media (max-width: 640px) { .cta-band.cta-split p { text-align: left; } }
.cta-actions { display: grid; gap: 12px; padding: 22px; border-radius: 26px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.cta-actions .btn { width: 100%; }
.cta-rings { position: absolute; right: -140px; top: -140px; width: 460px; height: 460px; pointer-events: none; }
.cta-band > .cta-rings { position: absolute; z-index: 0; }
.cta-rings i { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); }
.cta-rings i:nth-child(2) { width: 70%; height: 70%; border-style: dashed; animation: aurora 30s linear infinite; }
.cta-rings i:nth-child(3) { width: 40%; height: 40%; background: radial-gradient(circle, rgba(227, 189, 118, .25), transparent 70%); }

/* Footer: brand + newsletter on top, link columns below. */
.footer-top { display: grid; gap: 32px; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
@media (min-width: 992px) { .footer-top { grid-template-columns: 1.2fr .8fr; align-items: end; gap: 64px; } }
.footer-motto { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -.035em; color: #fff; margin: 26px 0 0; }
.footer-news { padding: 26px; border-radius: 26px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.footer-news h4 { font-family: var(--font-body); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 6px; }
.footer-news .newsletter { margin-top: 14px; }
.footer-news .newsletter .input { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .2); }
.footer-news .newsletter .input::placeholder { color: #9db2df; }
.footer-links { display: grid; gap: 40px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 992px) { .footer-links { grid-template-columns: 1fr 1fr 1fr 1.5fr; } }
@media (max-width: 520px) { .footer-links { grid-template-columns: 1fr; } }
.footer-links .footer-col a { position: relative; }
.footer-links .footer-col ul:not(.footer-contact) a::before { content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--gold); opacity: 0; transition: opacity .25s; }
.footer-links .footer-col ul:not(.footer-contact) a:hover::before { opacity: 1; }
.footer-brand-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer-brand-row .social { margin-top: 0; }
.site-footer .footer-about p { max-width: 600px; }

/* Auth layout extras. */
.auth-rings { position: absolute !important; right: -180px; bottom: -180px; width: 620px; height: 620px; pointer-events: none; z-index: 0 !important; }
.auth-rings i { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); }
.auth-rings i:nth-child(2) { width: 72%; height: 72%; border-style: dashed; border-color: rgba(191, 219, 254, .2); animation: aurora 34s linear infinite; }
.auth-rings i:nth-child(3) { width: 44%; height: 44%; background: radial-gradient(circle, rgba(227, 189, 118, .2), transparent 70%); }
.auth-card { padding: 18px; border-radius: 26px; max-width: 540px; background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 40px 80px -30px rgba(3, 10, 40, .85); animation: float 8s ease-in-out infinite; }
.auth-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: #cad8f6; font-size: .8rem; font-weight: 600; }
.auth-card .data-note { margin: 12px 0 0; color: #9db2df; }
.auth-feats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.auth-feats span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #dbeafe; font-size: .78rem; font-weight: 600; }
.auth-feats svg { width: 14px; height: 14px; color: #E3BD76; }
.auth-main { position: relative; }
.auth-main::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(37, 99, 235, .09), transparent 70%); }
.auth-main > * { position: relative; z-index: 1; }
.auth-box::before { content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad-blue); }
.auth-box { position: relative; }

/* Small shared helpers for the public layout, footer and sign-in pages. */
.header-form { display: inline; margin: 0; }
.u-link { text-decoration: underline; text-underline-offset: 3px; }
.footer-news-ok { font-size: .8rem; margin: 10px 0 0; color: var(--muted); text-align: left; }
.auth-card-head .ach { display: inline-flex; align-items: center; gap: 8px; }
.auth-card-head svg { width: 16px; height: 16px; color: #E3BD76; }
.auth-card .auth-tickers { max-width: none; }
.auth-tick { transition: transform .4s var(--ease), background .3s; }
.auth-tick:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .14); }
.auth-link { color: var(--gold-2); font-weight: 700; }
.auth-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.auth-step { margin-bottom: 18px; }
.input-upper { text-transform: uppercase; }
.otp-input { font-size: 1.4rem; letter-spacing: .5em; text-align: center; }
.code-input { font-size: 1.2rem; letter-spacing: 6px; }
.resend-form { margin-top: 12px; text-align: center; }
.link-btn { background: none; border: 0; padding: 0; color: var(--gold-2); font-weight: 700; cursor: pointer; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.auth-box .icon-hero { position: relative; }
.auth-box .icon-hero::after { content: ""; position: absolute; inset: 0; border-radius: 22px; border: 2px solid rgba(37, 99, 235, .45); animation: ringOut 2.8s var(--ease) infinite; pointer-events: none; }
.auth-box h1 { letter-spacing: -.035em; }


/* ---------- Home page (.pg-home) ---------- */
.pg-home .hero { padding-bottom: 170px; }
.pg-home .hero .scroll-hint { bottom: 96px; }
.pg-home .hm-hero-side { position: relative; }
.pg-home .overlap { margin-top: -96px; }
.pg-home .hm-marquee { margin-top: 36px; }

/* What we do bento */
.pg-home .hm-bento .card h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.pg-home .hm-feature { min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; }
.pg-home .hm-feature .card-icon { position: absolute; top: 36px; left: 40px; margin: 0; }
.pg-home .hm-feature p { max-width: 520px; margin-bottom: 22px; }
.pg-home .hm-feature .btn { align-self: flex-start; }
.pg-home .hm-feature .candles-bg { opacity: .28; z-index: -1; }
.pg-home .hm-row-card { display: flex; gap: 22px; align-items: flex-start; }
.pg-home .hm-row-card .card-icon { flex: none; margin: 0; }
.pg-home .hm-row-card .card-num { position: static; display: block; margin-bottom: 8px; }

/* Live markets terminal frame */
.pg-home .hm-terminal { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 50px 100px -50px rgba(22, 50, 120, .5); overflow: hidden; }
.pg-home .hm-terminal-bar { display: flex; align-items: center; gap: 8px; padding: 14px 20px; background: linear-gradient(90deg, #0a1f63, #1d4fd6); color: #cad8f6; font-size: .74rem; letter-spacing: .08em; }
.pg-home .hm-terminal-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.pg-home .hm-terminal-bar i:first-child { background: #7ff0cb; }
.pg-home .hm-terminal-bar span { margin-left: 10px; }
.pg-home .hm-terminal-grid { display: grid; }
@media (min-width: 1100px) { .pg-home .hm-terminal-grid { grid-template-columns: 1fr 1.15fr; } .pg-home .hm-term-pane + .hm-term-pane { border-left: 1px solid var(--line); } }
.pg-home .hm-term-pane { padding: 22px; }
@media (max-width: 1099px) { .pg-home .hm-term-pane + .hm-term-pane { border-top: 1px solid var(--line); } }
.pg-home .hm-term-pane .panel-head h3 svg { color: #2563eb; }
.pg-home .hm-term-pane .tv-box { box-shadow: none; }

/* Market chain on sapphire */
.pg-home .hm-chain .hstep p { color: var(--text-2); }

/* Process intro card */
.pg-home .hm-process-intro { overflow: hidden; }
.pg-home .hm-process-intro h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }

/* Model portfolios: centre card raised */
@media (min-width: 1024px) { .pg-home .hm-models { align-items: center; } .pg-home .hm-model-feature { transform: scale(1.04); z-index: 2; } .pg-home .hm-model-feature:hover { transform: scale(1.04) translateY(-6px); } }
.pg-home .hm-model-feature .risk-track { background: rgba(255, 255, 255, .14); }

/* Formula: three terms, then the result as a wide sapphire bar */
.pg-home .hm-formula { display: grid; gap: 18px; }
.pg-home .hm-terms { display: grid; gap: 14px; align-items: center; }
@media (min-width: 992px) { .pg-home .hm-terms { grid-template-columns: 1fr auto 1fr auto 1fr; } }
.pg-home .hm-term { text-align: left; padding: 30px 28px; }
.pg-home .hm-term .card-icon { margin: 0 0 6px; }
.pg-home .hm-term p { text-align: left; }
.pg-home .hm-op { width: 54px; height: 54px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-soft); }
.pg-home .hm-eq { font-size: 2.4rem; }
.pg-home .hm-result { display: flex; align-items: center; gap: 24px; text-align: left; padding: 34px clamp(26px, 4vw, 48px); border-radius: var(--radius-lg); }
.pg-home .hm-result .card-icon { margin: 0; flex: none; }
.pg-home .hm-result h3 { margin: 0 0 4px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.pg-home .hm-result p { text-align: left; font-size: 1rem; }

/* Sessions inside the band */
.pg-home .hm-sessions { padding: 24px; }

/* Insights: lead post left, two horizontal posts stacked right */
.pg-home .hm-posts { display: grid; gap: 20px; }
@media (min-width: 992px) {
  .pg-home .hm-posts { grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; }
  .pg-home .hm-post-lead { grid-row: span 2; }
  .pg-home .hm-post-lead .post-art { aspect-ratio: 16 / 10; }
  .pg-home .hm-post-side { flex-direction: row; }
  .pg-home .hm-post-side .post-art { aspect-ratio: auto; width: 42%; flex: none; }
  .pg-home .hm-post-side h3 { font-size: 1.08rem; }
  .pg-home .hm-post-side p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* FAQ centred, with a help bar underneath */
.pg-home .hm-faq-list { max-width: 880px; margin: 0 auto; }
.pg-home .hm-faq-help { max-width: 880px; margin: 22px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding: 20px 22px; border-radius: 22px; background: linear-gradient(120deg, #eef4ff, #f8fbff); border: 1px solid #dbe7ff; }
.pg-home .hm-faq-help p { flex: 1 1 280px; text-align: left; }
.pg-home .hm-faq-ic { width: 46px; height: 46px; border-radius: 15px; flex: none; display: grid; place-items: center; background: var(--grad-gold); color: #fff; }
.pg-home .hm-faq-ic svg { width: 20px; height: 20px; }

/* ---------- Error page (.pg-error) ---------- */
.pg-error .err { position: relative; overflow: hidden; isolation: isolate; min-height: 88vh; display: flex; align-items: center; padding: calc(var(--header-h) + 50px) 0 80px; }
.pg-error .err::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 50% at 80% 30%, rgba(37, 99, 235, .12), transparent 70%), radial-gradient(ellipse 40% 40% at 10% 90%, rgba(212, 166, 90, .12), transparent 70%); }
.pg-error .err::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(18, 46, 120, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 46, 120, .05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 25%, transparent 75%); }
.pg-error .err-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 992px) { .pg-error .err-grid { grid-template-columns: 1.1fr .9fr; } }
.pg-error .err-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5.5rem, 16vw, 11rem); line-height: .85; letter-spacing: -.06em; margin: 0 0 18px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pg-error h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: 18px; }
.pg-error .lead { max-width: 560px; margin-bottom: 32px; text-align: left; }
.pg-error .err-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pg-error .err-chart { position: relative; padding: 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); animation: float 8s ease-in-out infinite; }
.pg-error .err-chart svg { width: 100%; height: auto; }
.pg-error .err-chart .gap-line { stroke-dasharray: 6 8; animation: errDash 2s linear infinite; }
@keyframes errDash { to { stroke-dashoffset: -28; } }
.pg-error .err-chart .ec-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: .78rem; color: var(--muted); }
.pg-error .err-chart .ec-head b { font-family: var(--font-mono); color: var(--heading); }


/* ---------- About page ---------- */
.pg-about .ab-pillars { gap: 16px; }
.pg-about .ab-pillar { padding: 28px 24px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 34px 70px -36px rgba(22, 50, 120, .5); }
.pg-about .ab-pillar .card-icon { width: 48px; height: 48px; border-radius: 15px; margin-bottom: 18px; }
.pg-about .ab-pillar .card-icon svg { width: 22px; height: 22px; }
.pg-about .ab-pillar h3 { font-size: 1.08rem; margin-bottom: 6px; }
.pg-about .ab-pillar p { font-size: .9rem; margin: 0; }
.pg-about .ab-who-visual { display: grid; gap: 34px; }
.pg-about .ab-who-visual .orbit-visual { width: min(100%, 400px); }
.pg-about .ab-mv { gap: 22px; }
.pg-about .ab-mv-card { background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.pg-about .ab-mv-card .tag { margin-bottom: 6px; }
.pg-about .ab-mv-card .card-icon { margin-bottom: 20px; }
.pg-about .ab-mv-card .big em { font-size: inherit; }
.pg-about .ab-val-ic { margin-left: auto; margin-top: -58px; margin-bottom: 22px; width: 50px; height: 50px; border-radius: 16px; }
.pg-about .ab-val-ic svg { width: 22px; height: 22px; }
.pg-about .ab-equation .eq-item { box-shadow: var(--shadow-soft); }
.pg-about .ab-equation .eq-result { box-shadow: 0 40px 80px -36px rgba(10, 31, 99, .8); }
.pg-about .ab-equation .eq-op { width: 54px; height: 54px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); font-size: 1.6rem; }
.pg-about .ab-risk-board { position: relative; padding: 30px; border-radius: var(--radius-lg); background: var(--grad-sapphire); box-shadow: 0 50px 100px -50px rgba(10, 31, 99, .8); overflow: hidden; isolation: isolate; }
.pg-about .ab-risk-board, .pg-about .ab-risk-board * { --heading: #fff; --text-2: #cad8f6; --muted: #9db2df; --gold-2: #dbeafe; --accent-rgb: 147, 197, 253; }
.pg-about .ab-risk-board h3 { color: #fff; }
.pg-about .ab-risk { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 420px) { .pg-about .ab-risk { grid-template-columns: 1fr; } }
.pg-about .ab-risk-item { padding: 22px 18px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); transition: transform .4s var(--ease), background .3s; }
.pg-about .ab-risk-item:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .13); }
.pg-about .ab-risk-item .ic { width: 44px; height: 44px; margin-bottom: 14px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: #1d4ed8; }
.pg-about .ab-risk-item .ic svg { width: 20px; height: 20px; }
.pg-about .ab-risk-item b { display: block; color: #fff; font-size: 1rem; margin-bottom: 4px; }
.pg-about .ab-risk-item small { color: #cad8f6; font-size: .84rem; line-height: 1.5; display: block; }
.pg-about .ab-risk-note { margin: 18px 0 0; font-size: .9rem; color: #cad8f6; }
.pg-about .ab-principles { margin-top: 30px; }
.pg-about .ab-stats .stat-src { color: #9db2df; }
.pg-about .ab-center-note { max-width: 760px; margin: 40px auto 0; text-align: center; }
.pg-about .ab-gov-tags { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pg-about .ab-gov-tags li { padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--gold-2); background: rgba(37, 99, 235, .08); border: 1px solid rgba(37, 99, 235, .16); }
.pg-about .row-item h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.pg-about .ab-edu .num-item h3 { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; }
.pg-about .ab-edu-ic { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--grad-gold); color: #fff; }
.pg-about .ab-edu-ic svg { width: 18px; height: 18px; }
.pg-about .ab-commit { display: grid; gap: 40px; }
@media (min-width: 992px) { .pg-about .ab-commit { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } .pg-about .ab-commit-head { position: sticky; top: calc(var(--header-h) + 30px); } }

/* ---------- Contact page ---------- */
.pg-contact .ct-wrap { padding-bottom: 40px; }
.pg-contact .ct-shell { display: grid; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: 0 50px 100px -50px rgba(22, 50, 120, .55); overflow: hidden; }
@media (min-width: 992px) { .pg-contact .ct-shell { grid-template-columns: .82fr 1.18fr; } }
@media (max-width: 767px) { .pg-contact .ct-shell { border-radius: 28px; } }
.pg-contact .ct-info { position: relative; padding: clamp(28px, 4vw, 48px); background: var(--grad-sapphire); overflow: hidden; isolation: isolate; }
.pg-contact .ct-info-bg i { position: absolute; z-index: -1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); }
.pg-contact .ct-info-bg i:nth-child(1) { width: 420px; height: 420px; right: -200px; bottom: -200px; }
.pg-contact .ct-info-bg i:nth-child(2) { width: 260px; height: 260px; right: -120px; bottom: -120px; border-style: dashed; animation: aurora 30s linear infinite; }
.pg-contact .ct-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.pg-contact .ct-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 16px; border-radius: 20px; transition: background .3s, transform .4s var(--ease); }
.pg-contact .ct-list li:hover { background: rgba(255, 255, 255, .08); transform: translateX(4px); }
.pg-contact .ct-ic { flex: none; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); color: #fff; }
.pg-contact .ct-ic svg { width: 20px; height: 20px; }
.pg-contact .ct-list h3 { font-size: .78rem; font-family: var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: #9db2df; margin: 2px 0 6px; }
.pg-contact .ct-list p { margin: 0; text-align: left; color: #fff; font-size: .98rem; }
.pg-contact .ct-list p a { color: #fff; font-weight: 600; word-break: break-word; }
.pg-contact .ct-list p a:hover { color: #bfdbfe; }
.pg-contact .ct-list .muted { color: #9db2df; font-size: .86rem; }
.pg-contact .ct-form { padding: clamp(26px, 4vw, 52px); }
.pg-contact .ct-form-title { margin: 0; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.pg-contact .ct-form .panel-head { margin-bottom: 26px; }


/* ---------- Forex Trading page (.pg-forex) ---------- */
.pg-forex .pg-forex-principles { padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(22, 50, 120, .45); }
.pg-forex .pfp-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.pg-forex .pfp-head .tag { order: 2; }
.pg-forex .pfp-title { margin: 0; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.pg-forex .pfp-grid { gap: 0; }
@media (min-width: 768px) { .pg-forex .pfp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pg-forex .pfp-grid { grid-template-columns: repeat(4, 1fr); } }
.pg-forex .pfp-item { position: relative; padding: 22px 22px 6px; border-top: 1px solid var(--line); transition: background .3s; border-radius: 18px; }
@media (min-width: 1100px) { .pg-forex .pfp-item { border-top: 0; border-left: 1px solid var(--line); border-radius: 0; } .pg-forex .pfp-item:first-child { border-left: 0; } }
.pg-forex .pfp-item:hover { background: #f6f9ff; }
.pg-forex .pfp-item .card-icon { width: 46px; height: 46px; border-radius: 14px; margin-bottom: 16px; }
.pg-forex .pfp-item .card-icon svg { width: 21px; height: 21px; }
.pg-forex .pfp-item b { display: block; color: var(--heading); font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 6px; }
.pg-forex .pfp-item p { font-size: .9rem; text-align: left; }

.pg-forex .pg-forex-pillar { display: flex; flex-direction: column; }
.pg-forex .pfx-top { display: flex; align-items: center; gap: 14px; }
.pg-forex .pfx-top .card-icon { margin-bottom: 0; }
.pg-forex .pg-forex-pillar.card-sapphire .card-icon { background: #fff; color: #1d4ed8; }
.pg-forex .pg-forex-pillar.card-sapphire .tag { background: rgba(255, 255, 255, .12); color: #dbeafe; border-color: rgba(255, 255, 255, .2); }
.pg-forex .pg-forex-pillar.card-sapphire h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.pg-forex .pg-forex-pillar.card-sapphire .card-list li::before { background-color: rgba(255, 255, 255, .9); }
@media (min-width: 992px) { .pg-forex .pg-forex-wide .pfx-body { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; } .pg-forex .pg-forex-wide .card-list { margin-top: 24px; } }

.pg-forex .pg-forex-instr { margin-top: 26px; }
.pg-forex .pg-forex-instr h4 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.pg-forex .section-sapphire .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: var(--text-2); box-shadow: none; }
.pg-forex .section-sapphire .chip b { color: #fff; }
.pg-forex .pg-forex-glass { padding: 22px; border-radius: var(--radius-lg); }
.pg-forex .pg-forex-glass .tv-box { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); box-shadow: none; }

@media (min-width: 768px) and (max-width: 1199px) { .pg-forex .pg-forex-steps { grid-template-columns: repeat(3, 1fr); } .pg-forex .pg-forex-steps::before { display: none; } }

.pg-forex .row-list { padding: 8px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); border-top: 1px solid var(--line); }
.pg-forex .row-list .row-item:last-child { border-bottom: 0; }

.pg-forex .pg-forex-eqband .eq-item { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); box-shadow: none; }
.pg-forex .pg-forex-eqband .eq-item .card-icon { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; }
.pg-forex .pg-forex-eqband .eq-result { background: #fff; }
.pg-forex .pg-forex-eqband .eq-result, .pg-forex .pg-forex-eqband .eq-result * { --heading: #08174a; --text-2: #42547d; --grad-text: linear-gradient(100deg, #1d4ed8 0%, #2f80ff 45%, #D4A65A 100%); }
.pg-forex .pg-forex-eqband .eq-result .card-icon { background: linear-gradient(135deg, #5b95ff, #2563eb 50%, #1a3fb8); color: #fff; }
.pg-forex .pg-forex-eqband .eq-op { color: #bfdbfe; }

.pg-forex .pg-forex-terminal { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1100px) { .pg-forex .pg-forex-terminal { grid-template-columns: 1.65fr 1fr; } }
.pg-forex .pft-chart .panel-head h3 svg, .pg-forex .pft-side .panel-head h3 svg { color: var(--gold); }

.pg-forex .pg-forex-onb-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 8px; }

.pg-forex .pg-forex-notice { display: grid; gap: 22px; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius-lg); background: linear-gradient(160deg, #fff5f7, #ffffff 60%); border: 1px solid rgba(226, 58, 85, .25); box-shadow: var(--shadow-soft); }
@media (min-width: 768px) { .pg-forex .pg-forex-notice { grid-template-columns: 64px 1fr; } }
.pg-forex .pfn-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, #f0506a, #d22a47); color: #fff; box-shadow: 0 14px 34px -16px rgba(226, 58, 85, .7); }
.pg-forex .pfn-icon svg { width: 26px; height: 26px; }
.pg-forex .pg-forex-notice .tag { background: rgba(226, 58, 85, .08); color: var(--down-text); border-color: rgba(226, 58, 85, .25); }
.pg-forex .pg-forex-notice p { font-size: .9rem; text-align: justify; }
@media (max-width: 640px) { .pg-forex .pg-forex-notice p { text-align: left; } }

/* ---------- Live Markets page (.pg-markets) ---------- */
.pg-markets .pg-markets-terminal { position: relative; padding-top: 52px; box-shadow: 0 50px 100px -40px rgba(22, 50, 120, .5); }
.pg-markets .pmt-bar { position: absolute; top: 0; left: 0; right: 0; height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 20px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #f6f9ff, #fff); }
.pg-markets .pmt-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(18, 46, 120, .14); }
.pg-markets .pmt-bar i:first-child { background: #2563eb; box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); animation: dot 2.4s ease-in-out infinite; }
.pg-markets .panel-head h3 svg { color: var(--gold); }
.pg-markets .pg-markets-tech { background: linear-gradient(170deg, #f1f6ff, #ffffff 40%); }

.pg-markets .pg-markets-matrix { padding: clamp(18px, 3vw, 30px); border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 40px 80px -30px rgba(3, 10, 40, .8); }
.pg-markets .pg-markets-matrix .panel-head h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
.pg-markets .pg-markets-matrix .tv-box { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); box-shadow: none; }

.pg-markets .pg-markets-conv { position: relative; }
.pg-markets .pmc-glow { position: absolute; inset: -10% -6%; z-index: 0; border-radius: 50%; background: radial-gradient(circle at 60% 40%, rgba(37, 99, 235, .22), transparent 65%); filter: blur(20px); animation: orb 12s ease-in-out infinite; pointer-events: none; }
.pg-markets .pg-markets-conv .panel { position: relative; z-index: 1; border-top: 4px solid #2563eb; }
.pg-markets .pg-markets-conv .conv-result { background: var(--grad-sapphire); border-color: transparent; }
.pg-markets .pg-markets-conv .conv-result b { color: #fff; }
.pg-markets .pg-markets-conv .conv-result small { color: #cad8f6; }


/* ---------- Portfolio Management page (.pg-pms) ---------- */
.pg-pms-glance { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(22, 50, 120, .45); overflow: hidden; }
.pg-pms-glance-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 20px 26px; border-bottom: 1px solid var(--line); background: linear-gradient(100deg, #f3f7ff, #ffffff); }
.pg-pms-glance-head h2 { margin: 0; font-size: 1.15rem; letter-spacing: -.01em; }
.pg-pms-glance-grid { display: grid; }
@media (min-width: 640px) { .pg-pms-glance-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pg-pms-glance-grid { grid-template-columns: repeat(4, 1fr); } }
.pg-pms-glance-grid > div { padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.pg-pms-glance-grid > div:hover { background: #f6f9ff; }
.pg-pms-glance-grid .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: var(--grad-gold); color: #fff; box-shadow: 0 12px 26px -12px rgba(37, 99, 235, .8); }
.pg-pms-glance-grid .ic svg { width: 20px; height: 20px; }
.pg-pms-glance-grid b { display: block; color: var(--heading); font-family: var(--font-display); font-size: 1rem; margin-bottom: 6px; }
.pg-pms-glance-grid p { margin: 0; font-size: .9rem; }

.pg-pms-context { position: relative; margin-top: 28px; padding: 24px 26px; border-radius: 22px; background: var(--grad-sapphire); overflow: hidden; }
.pg-pms-context, .pg-pms-context * { --heading: #fff; --text-2: #cad8f6; --muted: #9db2df; }
.pg-pms-context small { display: inline-flex; align-items: center; gap: 8px; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: #bfdbfe; margin-bottom: 8px; font-weight: 700; }
.pg-pms-context small svg { width: 15px; height: 15px; }
.pg-pms-context p { margin: 0; font-size: .92rem; text-align: justify; }

.pg-pms-models .card { display: flex; flex-direction: column; }
.pg-pms-models .card .card-list { margin-top: auto; padding-top: 18px; }
.pg-pms-models .card .tag { align-self: flex-start; }
.pg-pms-models .card-outline { transform: translateY(-14px); }
@media (max-width: 1023px) { .pg-pms-models .card-outline { transform: none; } }
.pg-pms-models .theme-dark .card-outline, .pg-pms-models .card-outline { background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)) padding-box, linear-gradient(135deg, rgba(191, 219, 254, .8), rgba(212, 166, 90, .3), rgba(255, 255, 255, .08)) border-box; }

.pg-pms-who .card h3 { font-size: 1.15rem; }
.pg-pms-who .card p { margin: 0; font-size: .9rem; }
.pg-pms-who .card-sapphire .card-icon { background: #fff; color: #1d4ed8; }

.pg-pms-strategies .strategy-card .row-between { margin-bottom: 14px; }
.pg-pms-strategies .strategy-card .ill { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.pg-pms-disclaimer { display: flex; gap: 14px; align-items: flex-start; margin-top: 34px; padding: 18px 22px; border-radius: 18px; border: 1px dashed var(--line-2); background: #fff; }
.pg-pms-disclaimer svg { flex: none; width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }
.pg-pms-disclaimer p { margin: 0; font-size: .84rem; color: var(--muted); text-align: justify; }
.pg-pms-disclaimer strong { color: var(--text-2); }

.pg-pms-risk .card { padding: 28px 24px; }
.pg-pms-risk .card h3 { font-size: 1.1rem; }
.pg-pms-risk .card p { margin: 0; font-size: .9rem; }
.pg-pms-journey { margin-top: 56px; padding: clamp(22px, 3vw, 36px); border-radius: 28px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.pg-pms-journey .panel-head h3 svg { color: #E3BD76; }
.pg-pms-journey > p { font-size: .92rem; margin-bottom: 30px; }

.pg-pms-reports .row-item { grid-template-columns: 1fr; }
@media (min-width: 900px) { .pg-pms-reports .row-item { grid-template-columns: 120px .9fr 1.5fr 40px; } }
.pg-pms-reports .row-item h3 .ri-ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: rgba(37, 99, 235, .1); color: #1d4ed8; flex: none; }
.pg-pms-reports .row-item h3 .ri-ic svg { width: 19px; height: 19px; color: inherit; }

.pg-pms-hwm { position: relative; height: 200px; margin: 6px 0 16px; padding: 10px; border-radius: 18px; background: linear-gradient(180deg, #f5f8ff, #ffffff); border: 1px solid var(--line); }
.pg-pms-hwm svg { width: 100%; height: 100%; }
.pg-pms-hwm .path { fill: none; stroke: #2563eb; stroke-width: 2.5; stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2.4s var(--ease); }
.pg-pms-hwm .mark { stroke: rgba(193, 145, 63, .8); stroke-width: 1.2; stroke-dasharray: 4 5; }
[data-reveal].in .pg-pms-hwm .path { stroke-dashoffset: 0; }
.pg-pms-hwm-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: .78rem; color: var(--muted); }
.pg-pms-hwm-legend i { display: inline-block; width: 18px; height: 2px; vertical-align: middle; margin-right: 8px; }
.pg-pms-hwm-legend .l1 { background: #2563eb; }
.pg-pms-hwm-legend .l2 { background: rgba(193, 145, 63, .8); }
.pg-pms-hwm-legend .l3 { background: rgba(37, 99, 235, .25); height: 10px; border-radius: 3px; }
.pg-pms-hwm-note { margin: 16px 0 0; font-size: .9rem; }

.pg-pms-onboard .hstep .hs-dot { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; }
.pg-pms-onboard .hstep:first-child .hs-dot { background: var(--grad-gold); color: #fff; border-color: transparent; }

.pg-pms-market .panel { padding: 16px; }
.pg-pms-market .market-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 8px 14px; }
.pg-pms-market .market-top .tag svg { width: 13px; height: 13px; }
.pg-pms-top { align-self: start; }
.pg-pms-who .card-sapphire .ghost-word { color: rgba(255, 255, 255, .08); }
.pg-pms-orbit { margin-bottom: 8px; }
@media (max-width: 520px) { .pg-pms-orbit .ov-chip { font-size: .68rem; padding: 6px 10px; } .pg-pms-orbit .ov-chip svg { display: none; } }


/* ---------- What is Forex guide (.pg-wif) ---------- */
.pg-wif .wif-small { font-size: .86rem; }
.pg-wif .wif-copy, .pg-wif .wif-centres p, .pg-wif .wif-metal p, .pg-wif .wif-note-dark p, .pg-wif .wif-info p, .pg-wif .section-head.split-head p { text-align: justify; }
@media (max-width: 640px) { .pg-wif .wif-copy, .pg-wif .wif-centres p, .pg-wif .wif-metal p, .pg-wif .wif-note-dark p, .pg-wif .wif-info p, .pg-wif .section-head.split-head p { text-align: left; } }
.pg-wif .wif-top { align-items: start; }
.pg-wif .wif-link { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

/* Chapter index */
.pg-wif .wif-index { padding-top: 96px; }
.pg-wif .wif-index .section-head { margin-bottom: 32px; }
.pg-wif .wif-chapters { list-style: none; padding: 0; margin: 0; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .pg-wif .wif-chapters { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .pg-wif .wif-chapters { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 420px) { .pg-wif .wif-chapters { grid-template-columns: 1fr; } }
.pg-wif .wif-chapters a { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 18px 16px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs); overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease); }
.pg-wif .wif-chapters a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-sapphire); opacity: 0; transition: opacity .45s var(--ease); }
.pg-wif .wif-chapters a:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 24px 50px -24px rgba(10, 31, 99, .7); }
.pg-wif .wif-chapters a:hover::before { opacity: 1; }
.pg-wif .wc-n { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; color: var(--muted); transition: color .3s; }
.pg-wif .wc-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(37, 99, 235, .08); color: #1d4ed8; transition: background .3s, color .3s; }
.pg-wif .wc-ic svg { width: 18px; height: 18px; }
.pg-wif .wc-t { font-family: var(--font-display); font-weight: 600; font-size: .92rem; line-height: 1.3; color: var(--heading); transition: color .3s; }
.pg-wif .wc-go { position: absolute; right: 14px; top: 16px; color: #fff; opacity: 0; transform: translateX(-6px); transition: all .35s var(--ease); }
.pg-wif .wc-go svg { width: 16px; height: 16px; }
.pg-wif .wif-chapters a:hover .wc-n { color: #9db2df; }
.pg-wif .wif-chapters a:hover .wc-t { color: #fff; }
.pg-wif .wif-chapters a:hover .wc-ic { background: rgba(255, 255, 255, .14); color: #fff; }
.pg-wif .wif-chapters a:hover .wc-go { opacity: 1; transform: none; }

/* Tables */
.pg-wif .wif-table { box-shadow: none; }
.pg-wif .wif-table table, .pg-wif .wif-vs table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.pg-wif .wif-table th, .pg-wif .wif-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; color: var(--text-2); }
.pg-wif .wif-table th { color: var(--gold-2); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; background: #f3f7ff; }
.pg-wif .wif-table tr:last-child td { border-bottom: 0; }
.pg-wif .wif-table tbody tr { transition: background .25s; }
.pg-wif .wif-table tbody tr:hover { background: #f6f9ff; }
.pg-wif .wif-tables { display: grid; gap: 22px; }
@media (min-width: 992px) { .pg-wif .wif-tables { grid-template-columns: 1fr 1fr; } }
.pg-wif .wif-tables .table-wrap table { min-width: 0; }
.pg-wif .wif-share { position: relative; display: inline-flex; align-items: center; gap: 10px; }
.pg-wif .wif-share::before { content: ""; width: 70px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #2563eb 0 var(--w), rgba(37, 99, 235, .12) var(--w) 100%); }
.pg-wif .wif-centres { display: flex; gap: 18px; align-items: flex-start; padding: 24px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.pg-wif .wif-centres-ic, .pg-wif .wif-metal .il, .pg-wif .wif-note-dark .il { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-gold); color: var(--on-accent); box-shadow: 0 12px 26px -14px rgba(37, 99, 235, .8); }
.pg-wif .wif-centres-ic svg, .pg-wif .wif-metal .il svg, .pg-wif .wif-note-dark .il svg { width: 20px; height: 20px; }

/* Structure band */
.pg-wif .wif-note-dark { display: flex; gap: 18px; align-items: flex-start; max-width: 900px; margin-left: auto; margin-right: auto; padding: 24px 26px; border-radius: 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); }

/* Participants bento */
.pg-wif .bento .card h3 { font-size: 1.15rem; }
.pg-wif .wif-wide { display: flex; gap: 22px; align-items: center; }
.pg-wif .wif-wide .card-icon { margin: 0; flex: none; }
@media (max-width: 640px) { .pg-wif .wif-wide { flex-direction: column; align-items: flex-start; } }

/* Currency pairs */
.pg-wif .row-item .ri-n .tag { white-space: nowrap; }
@media (min-width: 900px) { .pg-wif #currency-pairs .row-item { grid-template-columns: 150px .8fr 1.6fr; } }
.pg-wif .wif-pair { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding: 20px; border-radius: 22px; background: var(--grad-sapphire); box-shadow: 0 30px 60px -30px rgba(10, 31, 99, .8); }
.pg-wif .wif-pair span { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: #fff; line-height: 1; }
.pg-wif .wif-pair small { display: block; margin-top: 6px; font-family: var(--font-body); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: #9db2df; font-weight: 700; }
.pg-wif .wif-pair .wp-b, .pg-wif .wif-pair .wp-q { padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.pg-wif .wif-pair .wp-s { color: #E3BD76; }
.pg-wif .wif-pair .wp-eq { margin-left: auto; font-family: var(--font-mono); font-weight: 600; font-size: 1.3rem; color: #bfdbfe; }
.pg-wif .ccy-grid { margin-top: 16px; }
.pg-wif .wif-metal { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: 22px; background: linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(37, 99, 235, .02)); border: 1px solid rgba(37, 99, 235, .18); }

/* Quote demo (inside the dark band) */
.pg-wif .wif-quote { padding: 24px; }
.pg-wif .wif-quote .panel-head h3 { color: #fff; }
.pg-wif .quote-demo { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; }
.pg-wif .quote-demo .q { padding: 22px 12px; border-radius: 18px; text-align: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); transition: transform .4s var(--ease); }
.pg-wif .quote-demo .q:hover { transform: translateY(-4px); }
.pg-wif .quote-demo .q small { display: block; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pg-wif .quote-demo .q b { font-family: var(--font-mono); font-weight: 500; font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: #fff; }
.pg-wif .quote-demo .q b span { font-size: 1.35em; font-weight: 600; }
.pg-wif .quote-demo .q.sell { border-color: rgba(255, 140, 160, .45); box-shadow: inset 0 -3px 0 rgba(255, 140, 160, .6); }
.pg-wif .quote-demo .q.sell b span { color: var(--down-text); }
.pg-wif .quote-demo .q.buy { border-color: rgba(127, 240, 203, .45); box-shadow: inset 0 -3px 0 rgba(127, 240, 203, .6); }
.pg-wif .quote-demo .q.buy b span { color: var(--up-text); }
.pg-wif .quote-demo .spread { display: grid; place-items: center; align-content: center; padding: 0 4px; text-align: center; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pg-wif .quote-demo .spread b { display: block; margin-top: 4px; font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 0; text-transform: none; color: #fff; font-weight: 700; }
@media (max-width: 520px) { .pg-wif .quote-demo { grid-template-columns: 1fr; } }
.pg-wif .band .tv-box { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); }

/* Pips & lots */
.pg-wif .wif-lots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.pg-wif .wif-lots .wl { padding: 16px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs); transition: transform .4s var(--ease), border-color .3s; }
.pg-wif .wif-lots .wl:hover { transform: translateY(-4px); border-color: rgba(37, 99, 235, .35); }
.pg-wif .wif-lots small { display: block; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.pg-wif .wif-lots b { display: block; font-family: var(--font-mono); font-weight: 600; font-size: clamp(1rem, 1.8vw, 1.3rem); color: var(--heading); margin: 6px 0 2px; }
.pg-wif .wif-lots span { font-size: .78rem; color: var(--gold-2); font-weight: 600; }
@media (max-width: 420px) { .pg-wif .wif-lots { grid-template-columns: 1fr; } }
@media (min-width: 992px) { .pg-wif .wif-worked { position: sticky; top: calc(var(--header-h) + 30px); } }
.pg-wif .wif-outcomes { display: grid; gap: 14px; }
@media (min-width: 640px) { .pg-wif .wif-outcomes { grid-template-columns: 1fr 1fr; } }
.pg-wif .wo { padding: 18px; border-radius: 18px; border: 1px solid var(--line); }
.pg-wif .wo-up { background: linear-gradient(180deg, rgba(15, 159, 116, .07), transparent); border-color: rgba(15, 159, 116, .25); }
.pg-wif .wo-down { background: linear-gradient(180deg, rgba(226, 58, 85, .06), transparent); border-color: rgba(226, 58, 85, .22); }
.pg-wif .wo h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .98rem; }
.pg-wif .wo h4 svg { width: 18px; height: 18px; }
.pg-wif .wo-up h4 svg { color: var(--up-text); }
.pg-wif .wo-down h4 svg { color: var(--down-text); }
.pg-wif .kv { display: grid; grid-template-columns: 1fr auto; gap: 9px 14px; margin: 0; font-size: .88rem; }
.pg-wif .kv dt { color: var(--text-2); }
.pg-wif .kv dd { margin: 0; font-family: var(--font-mono); color: var(--heading); text-align: right; }
.pg-wif .kv .total { border-top: 1px solid var(--line-2); padding-top: 10px; font-weight: 700; color: var(--heading); }
.pg-wif .kv dd.total.up { color: var(--up-text); }
.pg-wif .kv dd.total.down { color: var(--down-text); }

/* Leverage */
.pg-wif .wif-lev { align-items: start; gap: 32px; }
.pg-wif .wif-meter { display: grid; gap: 12px; margin-bottom: 8px; }
.pg-wif .wm { display: grid; grid-template-columns: 54px 1fr 58px; align-items: center; gap: 12px; }
.pg-wif .wm-l { font-family: var(--font-mono); font-weight: 600; font-size: .86rem; color: var(--heading); }
.pg-wif .wm-t { height: 12px; border-radius: 12px; background: rgba(18, 46, 120, .07); overflow: hidden; }
.pg-wif .wm-t i { display: block; height: 100%; width: 0; border-radius: 12px; background: linear-gradient(90deg, #f59e0b, #e23a55); transition: width 1.6s var(--ease); }
.pg-wif .in .wm-t i, .pg-wif [data-reveal].in .wm-t i { width: max(var(--w), 4px); }
.pg-wif .wm-v { font-family: var(--font-mono); font-size: .84rem; color: var(--down-text); text-align: right; }
.pg-wif .wif-lev .table-wrap table { min-width: 520px; }
.pg-wif .wif-alert { margin-bottom: 0; }
.pg-wif .big-quote .q { font-size: clamp(1.15rem, 1.9vw, 1.45rem); }

/* Sessions */
.pg-wif .wif-sess .card { padding: 26px 24px; }
.pg-wif .wif-sess .tag { font-family: var(--font-mono); letter-spacing: .04em; }

/* Central banks band */
.pg-wif .wif-cb { padding: clamp(28px, 4vw, 52px); }
.pg-wif .wif-cb h3 { margin-bottom: 20px; }

/* Analysis */
.pg-wif .wif-lenses .card { padding: 34px 30px; }
.pg-wif blockquote.big-quote { max-width: 900px; margin-left: auto; margin-right: auto; text-align: center; }
.pg-wif blockquote.big-quote .q { text-align: center; }

/* Risk on sapphire */
.pg-wif #risk .num-item h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.pg-wif #risk .num-item h3 svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.pg-wif #risk .eq-item { background: rgba(255, 255, 255, .07); }
.pg-wif .wif-eq-result { background: #fff !important; border-color: #fff; box-shadow: 0 30px 70px -30px rgba(3, 10, 40, .9); }
.pg-wif .wif-eq-result, .pg-wif .wif-eq-result * { --heading: #08174a; --text-2: #42547d; --grad-text: linear-gradient(100deg, #1d4ed8 0%, #2f80ff 45%, #D4A65A 100%); --grad-gold: linear-gradient(135deg, #5b95ff 0%, #2563eb 50%, #1a3fb8 100%); --on-accent: #fff; }
.pg-wif #risk p.text-center { max-width: 760px; margin-left: auto; margin-right: auto; }

/* Forex vs stocks */
.pg-wif .wif-vs { max-width: 1000px; margin: 0 auto; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.pg-wif .wif-vs-head, .pg-wif .wif-vs tr { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; }
.pg-wif .wif-vs-head span { display: flex; align-items: center; gap: 10px; padding: 20px 22px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--heading); background: #f3f7ff; }
.pg-wif .wif-vs-head span svg { width: 18px; height: 18px; color: #2563eb; }
.pg-wif .wif-vs-head .fx { background: var(--grad-sapphire); color: #fff; }
.pg-wif .wif-vs-head .fx svg { color: #E3BD76; }
.pg-wif .wif-vs tbody { display: block; }
.pg-wif .wif-vs td { padding: 16px 22px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--text-2); }
.pg-wif .wif-vs td:nth-child(2) { background: rgba(37, 99, 235, .05); color: var(--heading); font-weight: 600; }
.pg-wif .wif-vs tr { transition: background .25s; }
.pg-wif .wif-vs tr:hover { background: #f8fbff; }
@media (max-width: 640px) {
  .pg-wif .wif-vs-head span, .pg-wif .wif-vs td { padding: 12px 12px; font-size: .8rem; }
  .pg-wif .wif-vs-head span { font-size: .85rem; }
  .pg-wif .wif-vs-head span svg { display: none; }
}

/* Platforms window */
.pg-wif .wif-window { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.pg-wif .ww-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; background: var(--grad-sapphire); }
.pg-wif .ww-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.pg-wif .ww-bar i:first-child { background: #E3BD76; }
.pg-wif .ww-bar span { margin-left: 10px; font-family: var(--font-mono); font-size: .76rem; color: #cad8f6; letter-spacing: .08em; }
.pg-wif .wif-feats { padding: 26px; gap: 20px 26px; }
@media (min-width: 640px) { .pg-wif .wif-feats { grid-template-columns: 1fr 1fr; } }
.pg-wif .wif-feats li { transition: transform .35s var(--ease); }
.pg-wif .wif-feats li:hover { transform: translateX(4px); }

/* Megniss cards */
.pg-wif #megniss .card-xl h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }

/* Glossary */
.pg-wif .wif-gloss .gloss { display: flex; gap: 16px; align-items: flex-start; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.pg-wif .wif-gloss .gloss:hover { transform: translateY(-3px); border-color: rgba(37, 99, 235, .3); box-shadow: var(--shadow-soft); }
.pg-wif .wif-gloss .g-l { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: #fff; background: var(--grad-sapphire); }

/* FAQ info panel */
.pg-wif .wif-info { padding: 22px; }
.pg-wif .wif-info p { font-size: .86rem; }
.pg-wif .wif-info .panel-head h3 { font-size: 1rem; }


/* ---------- Legal pages (Privacy, Terms, Risk Disclosure) ---------- */
.pg-legal { padding-top: 0; }
.pg-legal .with-toc { position: relative; z-index: 3; margin-top: -84px; }
@media (min-width: 1024px) { .pg-legal .with-toc { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; } }
@media (max-width: 767px) { .pg-legal .with-toc { margin-top: -60px; gap: 28px; } }
.pg-legal .toc { box-shadow: var(--shadow); }
@media (min-width: 1024px) { .pg-legal .toc { max-height: calc(100vh - var(--header-h) - 60px); overflow-y: auto; scrollbar-width: thin; } }
.pg-legal .toc-card .tag { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #dbeafe; }
.pg-legal .toc-card a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }
.pg-legal .legal-card { position: relative; overflow: hidden; }
.pg-legal .legal-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-blue); }
.pg-legal .legal-meta { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.pg-legal .prose h2 { padding-top: 34px; border-top: 1px solid var(--line); margin-top: 38px; display: flex; align-items: center; gap: 0; }
.pg-legal .prose h2:first-child { padding-top: 0; border-top: 0; }
.pg-legal .prose h2 .h-n { flex: none; }
.pg-legal .prose h3 { font-size: 1.12rem; color: var(--gold-2); }
.pg-legal .prose ul { padding-left: 0; list-style: none; }
.pg-legal .prose ul li { position: relative; padding-left: 28px; }
.pg-legal .prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 3px; background: var(--grad-gold); transform: rotate(45deg); }
.pg-legal .prose .table-wrap { margin: 1.4em 0; }

/* ---------- Insights listing ---------- */
.pg-insights .ins-filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 12px 12px 22px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(22, 50, 120, .45); }
.pg-insights .ins-filter-label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; color: var(--heading); font-size: 1.02rem; }
.pg-insights .ins-filter-label svg { width: 18px; height: 18px; color: #2563eb; }
.pg-insights .ins-filter .tabs { background: #f3f7ff; }
.pg-insights .ins-list { padding-top: 64px; }
.pg-insights .ins-bento { margin-bottom: 20px; }
.pg-insights .ins-featured { position: relative; min-height: 540px; justify-content: flex-end; }
.pg-insights .ins-featured .post-art { position: absolute; inset: 0; aspect-ratio: auto; }
.pg-insights .ins-featured-body { position: relative; z-index: 1; margin-top: auto; padding: clamp(26px, 4vw, 48px); padding-top: 120px; background: linear-gradient(180deg, rgba(7, 22, 72, 0) 0%, rgba(7, 22, 72, .78) 40%, rgba(7, 22, 72, .95) 100%); --heading: #fff; --text-2: #cad8f6; --muted: #9db2df; --gold-2: #dbeafe; --accent-rgb: 147, 197, 253; }
.pg-insights .ins-featured-body .tag.blue { color: #F6E3BC; border-color: rgba(125, 211, 252, .35); background: rgba(193, 145, 63, .18); }
.pg-insights .ins-featured-body h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); margin-bottom: 14px; max-width: 760px; }
.pg-insights .ins-featured-body p { max-width: 660px; text-align: left; margin-bottom: 22px; }
.pg-insights .ins-featured:hover .post-art svg { transform: scale(1.05); }
@media (max-width: 767px) { .pg-insights .ins-featured { min-height: 460px; } }
.pg-insights .ins-side { display: grid; gap: 20px; }
.pg-insights .ins-compact .post-art { aspect-ratio: 16 / 7; }
.pg-insights .ins-compact .post-body { padding: 18px 20px 22px; }
.pg-insights .ins-compact h3 { font-size: 1.06rem; }
.pg-insights .ins-compact p { font-size: .88rem; }
.pg-insights .ins-grid { margin-top: 0; }
.pg-insights .ins-num { position: absolute; left: 18px; bottom: 10px; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .6); }
.pg-insights .ins-empty { padding: clamp(36px, 5vw, 64px); }
.pg-insights .ins-empty .icon-hero { margin: 0 auto 22px; }
.pg-insights .ins-cal-frame { padding: 10px; border-radius: 30px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 40px 80px -40px rgba(3, 10, 40, .8); }
.pg-insights .ins-cal-bar { display: flex; align-items: center; gap: 7px; padding: 6px 10px 12px; }
.pg-insights .ins-cal-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.pg-insights .ins-cal-bar i:first-child { background: #E3BD76; }
.pg-insights .ins-cal-bar span { margin-left: auto; color: #E3BD76; }
.pg-insights .ins-cal-bar svg { width: 16px; height: 16px; }
.pg-insights .ins-cal-frame .tv-box { border-radius: 22px; }

/* ---------- Insight article ---------- */
.pg-article-hero { padding: calc(var(--header-h) + 80px) 0 180px; }
.pg-article-hero .art-hero-inner { position: relative; z-index: 2; max-width: 980px; text-align: center; }
.pg-article-hero .breadcrumb { max-width: 100%; }
.pg-article-hero .art-meta { justify-content: center; margin: 0 0 24px; font-size: .82rem; color: var(--text-2); }
.pg-article-hero .art-meta-item { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.pg-article-hero .art-title { font-size: clamp(2.2rem, 4.8vw, 4rem); margin: 0 auto 20px; max-width: 920px; }
.pg-article-hero .lead { max-width: 760px; margin: 0 auto; text-align: center; }
.pg-article .overlap { margin-top: -120px; }
.pg-article .art-banner { aspect-ratio: 21 / 8; border-radius: 34px; overflow: hidden; border: 6px solid #fff; background: var(--grad-sapphire); box-shadow: 0 50px 100px -40px rgba(10, 31, 99, .7); }
.pg-article .art-banner svg { width: 100%; height: 100%; }
@media (max-width: 767px) { .pg-article .art-banner { aspect-ratio: 16 / 9; border-radius: 24px; border-width: 4px; } .pg-article .overlap { margin-top: -90px; } }
.pg-article .art-section { padding-top: 64px; }
.pg-article .art-layout { display: grid; gap: 40px; }
@media (min-width: 1100px) { .pg-article .art-layout { grid-template-columns: 56px minmax(0, 1fr) 330px; gap: 48px; align-items: start; } }
.pg-article .art-rail { display: none; }
@media (min-width: 1100px) {
  .pg-article .art-rail { display: flex; flex-direction: column; align-items: center; gap: 10px; position: sticky; top: calc(var(--header-h) + 24px); }
  .pg-article .art-aside { position: sticky; top: calc(var(--header-h) + 24px); }
  .pg-article .art-share-panel { display: none; }
}
.pg-article .art-rail-label { writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 8px; font-size: .66rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.pg-article .art-share { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: #1d4ed8; box-shadow: var(--shadow-xs); transition: all .35s var(--spring); }
.pg-article .art-share:hover { background: var(--grad-gold); color: #fff; border-color: transparent; transform: translateY(-3px) rotate(-6deg); }
.pg-article .art-body .prose { max-width: 780px; font-size: 1.05rem; }
.pg-article .art-body .prose > p:first-of-type::first-letter { float: left; margin: .06em .12em 0 0; font-family: var(--font-display); font-weight: 800; font-size: 3.6em; line-height: .85; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pg-article .art-disclaimer { display: flex; gap: 14px; align-items: flex-start; max-width: 780px; margin-top: 44px; padding: 20px 22px; border-radius: 18px; background: #f3f7ff; border: 1px solid var(--line); }
.pg-article .art-disclaimer p { margin: 0; font-size: .85rem; color: var(--muted); text-align: justify; }
.pg-article .art-disclaimer-ic { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: rgba(37, 99, 235, .1); color: #1d4ed8; }
.pg-article .art-disclaimer-ic svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .pg-article .art-disclaimer p { text-align: left; } }
.pg-article .art-aside { display: grid; gap: 20px; }
.pg-article .art-cta { padding: 30px 26px; }
.pg-article .art-cta h3 { font-size: 1.35rem; }
.pg-article .art-cta .card-icon { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; }
.pg-article .art-cta .link-arrow { display: inline-flex; margin-top: 14px; }
.pg-article .art-live, .pg-article .art-share-panel { padding: 22px; }
.pg-article .art-live .panel-head { margin-bottom: 12px; }
.pg-article .art-tv { height: 220px; }
.pg-article .art-share-panel h3 { font-size: 1.05rem; margin-bottom: 14px; }
.pg-article .art-related-all { display: flex; justify-content: flex-end; }
@media (max-width: 991px) { .pg-article .art-related-all { justify-content: flex-start; } }
.pg-article .art-risk { display: flex; gap: 22px; align-items: flex-start; padding: clamp(26px, 4vw, 44px); }
.pg-article .art-risk-ic { flex: none; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); color: #fff; }
.pg-article .art-risk-ic svg { width: 26px; height: 26px; }
.pg-article .art-risk h3 { font-size: 1.2rem; margin-bottom: 8px; }
.pg-article .art-risk p { margin: 0; text-align: justify; }
.pg-article .art-risk a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .pg-article .art-risk { flex-direction: column; } .pg-article .art-risk p { text-align: left; } }


.pg-wif .wif-sess-k { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 6px; }

/* Nav labels stay on one line; the tagline under the logo gives way first on mid-size screens. */
.nav-link { white-space: nowrap; }
@media (max-width: 1360px) { .site-header .logo-sub { display: none; } .nav-link { padding: 10px 11px; } }

/* ---------- Logo colour accents: royal blue + navy, with the logo's gold as the second accent ---------- */
.eyebrow::before { background: var(--brand-gold); box-shadow: 0 0 0 4px rgba(var(--brand-gold-rgb), .22); }
.stat-num .unit { color: var(--brand-gold); }
.nav-link.active { box-shadow: inset 0 -2px 0 var(--brand-gold); }
.btn-gold, .btn-primary { box-shadow: var(--shadow-blue), inset 0 -2px 0 rgba(var(--brand-gold-rgb), .55); }
.card-icon, .mega .mi { box-shadow: 0 14px 30px -14px rgba(30, 63, 174, .85), inset 0 -2px 0 rgba(var(--brand-gold-rgb), .7); }
.process-item.in .process-dot { box-shadow: 0 0 0 6px rgba(var(--brand-gold-rgb), .18); }
.faq-item.open { border-color: rgba(var(--brand-gold-rgb), .5); }
.site-footer::before { background: linear-gradient(90deg, transparent, #F1CF8A, #D0A156, #F1CF8A, transparent); background-size: 200% 100%; }
.scroll-progress { background: linear-gradient(90deg, #D0A156, #2F5BEA); }
.prose blockquote { border-left: 3px solid var(--brand-gold); }

/* ==========================================================================
   Megniss structure v2 — solid three-row header, light heroes, light footer.
   (Overrides the earlier floating-pill header, dark heroes and dark footer.)
   ========================================================================== */
:root { --header-h: 168px; }

/* ---------- Header: navy utility strip + white main bar + ticker ---------- */
.site-header.hdr { padding: 0; pointer-events: auto; background: #fff; box-shadow: 0 1px 0 rgba(11, 31, 99, .08); transition: transform .45s var(--ease), box-shadow .4s; }
.site-header.hdr.scrolled { box-shadow: 0 14px 36px -22px rgba(11, 31, 99, .45); }
.hdr-util { background: linear-gradient(90deg, #0B1F63, #1E3FAE); color: #dbe5ff; font-size: .8rem; overflow: hidden; max-height: 40px; transition: max-height .45s var(--ease), opacity .3s; }
.hdr-util-in { display: flex; align-items: center; gap: 22px; height: 40px; }
.hu-item { display: inline-flex; align-items: center; gap: 8px; color: #dbe5ff; white-space: nowrap; }
.hu-item svg { width: 15px; height: 15px; color: #E3BD76; }
.hu-item a:hover { color: #fff; }
.hu-live { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-weight: 600; letter-spacing: .04em; color: #fff; white-space: nowrap; }
.hu-right a { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(227, 189, 118, .45); color: #fff; font-weight: 700; white-space: nowrap; transition: background .3s; }
.hu-right a:hover { background: #D0A156; color: #0B1F63; }
.hu-right svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .hu-hours, .hu-live { display: none; } .hu-right { margin-left: auto; } }

.hdr-main { background: #fff; }
.hdr-main-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.hdr .brand .logo-word { color: #0B1F63; }
.hdr .brand .logo-mark { width: 46px; height: 46px; filter: drop-shadow(0 6px 14px rgba(30, 63, 174, .25)); }
.hdr .nav-list { background: none !important; padding: 0; gap: 0; }
.hdr .nav-link { position: relative; padding: 28px 13px; border-radius: 0; background: none !important; box-shadow: none !important; color: #33466f; font-weight: 600; font-size: .92rem; }
.hdr .nav-link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 18px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #D0A156, #F1CF8A); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.hdr .nav-link:hover, .hdr .nav-link.active { color: #0B1F63; }
.hdr .nav-link:hover::after, .hdr .nav-link.active::after { transform: scaleX(1); }
.hdr .mega { top: calc(100% - 6px); border-top: 3px solid #D0A156; border-radius: 0 0 22px 22px; }
.hdr .header-actions .btn-ghost { display: inline-flex; }
.hdr .burger { border-color: rgba(11, 31, 99, .18); background: #f3f6fe; }
.hdr .burger span, .hdr .burger span::before, .hdr .burger span::after { background: #0B1F63; }
body.nav-open .hdr .burger span { background: transparent; }
@media (max-width: 1240px) { .hdr .logo-sub { display: none; } .hdr .nav-link { padding-left: 9px; padding-right: 9px; font-size: .88rem; } .hdr .nav-link::after { left: 9px; right: 9px; } }
@media (max-width: 1099px) { .hdr .header-actions .btn-ghost, .hdr .header-form { display: none; } }

.hdr .ticker-bar { margin: 0; background: #f6f8fe; border-top: 1px solid rgba(11, 31, 99, .06); max-height: 46px; transition: max-height .45s var(--ease), opacity .3s; }
.site-header.hdr.scrolled .hdr-util, .site-header.hdr.scrolled .ticker-bar { max-height: 0; opacity: 0; pointer-events: none; }

/* ---------- Light heroes: white with royal-blue and gold glows ---------- */
.hero, .page-hero {
  background:
    radial-gradient(55% 65% at 88% 8%, rgba(47, 91, 234, .18), transparent 62%),
    radial-gradient(40% 55% at 4% 96%, rgba(208, 161, 86, .2), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f2f6ff 100%);
  color: var(--text); border-radius: 0; border-bottom: 1px solid rgba(11, 31, 99, .07);
}
.hero-bg::before { background: radial-gradient(ellipse 45% 45% at 78% 35%, rgba(47, 91, 234, .12), transparent 70%) !important; }
.hero-bg::after { opacity: .28; background: conic-gradient(from 0deg at 60% 45%, transparent 0 20%, rgba(47, 91, 234, .35) 32%, transparent 48%, rgba(208, 161, 86, .35) 64%, transparent 80%); }
.grid-lines { background-image: linear-gradient(rgba(11, 31, 99, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 31, 99, .05) 1px, transparent 1px); }
.hero h1, .page-hero h1 { color: #0B1F63; }
.hero .lead, .page-hero .lead { color: #42547d; }
.hero-badges span { background: #fff; border: 1px solid rgba(11, 31, 99, .1); color: #33466f; box-shadow: var(--shadow-xs); }
.hero-badges svg { color: #D0A156; }
.live-pill { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.breadcrumb { background: #fff; border: 1px solid rgba(11, 31, 99, .1); color: #6b7a9d; box-shadow: var(--shadow-xs); }
.breadcrumb a:hover { color: #1E3FAE; }
.hero .btn-white, .page-hero .btn-white { background: var(--grad-gold); color: #fff; box-shadow: var(--shadow-blue); }
.hero .btn-ghost, .page-hero .btn-ghost { background: #fff; color: #0B1F63; border-color: rgba(11, 31, 99, .18); }
.hero-card { background: #fff; border-color: rgba(11, 31, 99, .1); box-shadow: 0 40px 80px -36px rgba(11, 31, 99, .45); }
.hero-card-head strong { color: #0B1F63; }
.hero-card-foot div { background: #f3f6fe; border-color: rgba(11, 31, 99, .08); }
.hero-card-foot b { color: #0B1F63; }
.ph-tile { background: #fff; border-color: rgba(11, 31, 99, .1); box-shadow: 0 24px 50px -26px rgba(11, 31, 99, .5); color: #0B1F63; }
.ph-rings i { border-color: rgba(30, 63, 174, .2); }
.scroll-hint i { border-color: rgba(11, 31, 99, .3); }
.scroll-hint i::after { background: #1E3FAE; }

/* ---------- Light footer with a royal-blue CTA card ---------- */
.site-footer.ft { background: linear-gradient(180deg, #f5f8ff 0%, #eaf0fc 100%); color: var(--text); border-radius: 0; padding: 0; margin-top: 150px; }
.site-footer.ft::before { display: none; }
.ft-cta { position: relative; top: -90px; margin-bottom: -40px; display: grid; gap: 26px; align-items: center; padding: 44px 40px; border-radius: 34px; background: var(--grad-sapphire); box-shadow: 0 40px 80px -36px rgba(11, 31, 99, .75); overflow: hidden; isolation: isolate; }
.ft-cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(208, 161, 86, .18); z-index: -1; }
.ft-cta h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; }
.ft-cta .eyebrow { margin-bottom: 14px; }
.ft-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .ft-cta { grid-template-columns: 1.4fr auto; padding: 52px 56px; } }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .5); }
.btn-outline-light:hover { background: #fff; color: #0B1F63; transform: translateY(-2px); }
.ft-grid { display: grid; gap: 40px; padding: 10px 0 44px; }
@media (min-width: 768px) { .ft-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ft-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.5fr; } }
.ft-about p { margin: 18px 0 0; font-size: .92rem; max-width: 360px; color: #42547d; text-align: left; }
.ft-about .logo-word { color: #0B1F63; }
.ft-social { display: flex; gap: 10px; margin-top: 20px; }
.ft-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid rgba(11, 31, 99, .1); color: #1E3FAE; box-shadow: var(--shadow-xs); transition: all .35s var(--spring); }
.ft-social a:hover { background: #1E3FAE; color: #fff; transform: translateY(-4px); }
.ft-social svg { width: 17px; height: 17px; }
.ft-col h4 { position: relative; font-family: var(--font-body); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: #0B1F63; margin-bottom: 18px; padding-bottom: 10px; }
.ft-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: #D0A156; border-radius: 2px; }
.ft-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ft-col a { font-size: .92rem; color: #42547d; transition: color .25s, padding .25s; }
.ft-col a:hover { color: #1E3FAE; padding-left: 4px; }
.ft-contact li { display: flex; gap: 10px; font-size: .9rem; color: #42547d; }
.ft-contact svg { width: 17px; height: 17px; flex: none; color: #D0A156; margin-top: 3px; }
.ft-news { display: flex; gap: 8px; margin-top: 18px; }
.ft-news .input { padding: 11px 14px; font-size: .88rem; }
.ft-news .btn { padding: 11px 16px; }
.ft-risk { padding: 20px 22px; margin-bottom: 30px; border-radius: 18px; background: #fff; border: 1px solid rgba(11, 31, 99, .08); }
.ft-risk p { font-size: .78rem; line-height: 1.7; margin: 0 0 8px; color: #6b7a9d; text-align: justify; }
.ft-risk p:last-child { margin: 0; }
.ft-risk strong { color: #0B1F63; }
.ft-bottom { background: #0B1F63; color: #b9c6ea; font-size: .82rem; }
.ft-bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-top: 18px; padding-bottom: 18px; }
.ft-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.ft-bottom a:hover { color: #F1CF8A; }

/* ---------- Header brand: a white tag hanging below the bar (no round badge) ---------- */
.hdr-main-in { position: relative; }
.hdr .brand-tab {
  position: relative; z-index: 3; align-self: flex-start; display: flex; align-items: center; gap: 12px;
  padding: 14px 22px 16px 16px; margin-bottom: -26px;
  background: #fff; border-top: 3px solid #D0A156; border-radius: 0 0 22px 22px;
  box-shadow: 0 22px 40px -22px rgba(11, 31, 99, .55), 0 0 0 1px rgba(11, 31, 99, .05);
  transition: padding .45s var(--ease), margin .45s var(--ease), box-shadow .45s, border-color .45s;
}
.hdr .brand-tab::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 7px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #1E3FAE, #2F5BEA 60%, #D0A156); transform: scaleX(.35); transform-origin: left;
  transition: transform .6s var(--ease);
}
.hdr .brand-tab:hover::after { transform: scaleX(1); }
.hdr .bt-mark { width: 56px; height: 56px; flex: none; transition: transform .7s var(--spring), width .45s, height .45s; }
.hdr .brand-tab:hover .bt-mark { transform: translateY(-3px) rotate(-6deg); }
.hdr .bt-text { display: flex; flex-direction: column; line-height: 1; }
.hdr .bt-word { font-family: var(--font-display); font-weight: 800; font-size: 1.42rem; letter-spacing: .2em; color: #0B1F63; }
.hdr .bt-tag { margin-top: 7px; font-size: .56rem; font-weight: 700; letter-spacing: .24em; color: #B5853A; white-space: nowrap; }
.hdr .bt-logo { height: 52px; width: auto; max-width: 230px; object-fit: contain; }
.site-header.hdr.scrolled .brand-tab { margin-bottom: 0; padding: 8px 16px 10px 12px; border-top-color: transparent; box-shadow: none; }
.site-header.hdr.scrolled .bt-mark { width: 44px; height: 44px; }
@media (max-width: 1240px) { .hdr .bt-tag { display: none; } .hdr .bt-word { font-size: 1.22rem; } }
@media (max-width: 640px) {
  .hdr .brand-tab { padding: 10px 14px 12px 10px; margin-bottom: -16px; border-radius: 0 0 16px 16px; }
  .hdr .bt-mark { width: 42px; height: 42px; }
  .hdr .bt-word { font-size: 1.05rem; letter-spacing: .14em; }
}
.hdr .hdr-main { position: relative; z-index: 5; }
.hdr .ticker-bar { position: relative; z-index: 1; }

/* ---------- Header: logo sits cleanly inside the bar (no hanging tag, no tagline) ---------- */
.hdr .brand-tab { margin-bottom: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; align-self: center; }
.hdr .brand-tab::after { left: 62px; right: 0; bottom: -8px; }
.hdr .bt-mark { width: 50px !important; height: 50px !important; }
.hdr .bt-tag { display: none !important; }
.hdr .bt-word { font-size: 1.5rem; }
.hdr-util-in, .hdr-main-in { max-width: var(--container); }
.hu-right a { padding: 4px 12px; }
.site-header.hdr.scrolled .bt-mark { width: 42px !important; height: 42px !important; }

/* ---------- Home hero: 3D trading desk instead of the globe ---------- */
.hm-stage { position: relative; min-height: 520px; perspective: 1600px; transform-style: preserve-3d; }
.hm-floor {
  position: absolute; left: -12%; right: -18%; bottom: -60px; height: 340px;
  transform: rotateX(68deg); transform-origin: 50% 100%;
  background:
    linear-gradient(rgba(30, 63, 174, .22) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, rgba(30, 63, 174, .22) 1px, transparent 1px) 0 0 / 46px 46px,
    radial-gradient(60% 70% at 50% 40%, rgba(208, 161, 86, .35), transparent 70%);
  -webkit-mask-image: radial-gradient(70% 80% at 50% 30%, #000 40%, transparent 75%);
  mask-image: radial-gradient(70% 80% at 50% 30%, #000 40%, transparent 75%);
  animation: floorMove 6s linear infinite;
}
@keyframes floorMove { to { background-position: 0 46px, 0 0, 0 0; } }
.hm-screen {
  position: absolute; top: 0; right: -4%; width: 78%; height: 330px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, #1E3FAE 0%, #0B1F63 100%);
  box-shadow: 0 50px 90px -40px rgba(11, 31, 99, .8), inset 0 0 0 1px rgba(255, 255, 255, .12);
  transform: rotateY(-22deg) rotateX(8deg) translateZ(-80px); animation: screenFloat 9s ease-in-out infinite;
}
@keyframes screenFloat { 50% { transform: rotateY(-18deg) rotateX(6deg) translateZ(-80px) translateY(-10px); } }
.hm-screen-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hm-screen-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.hm-screen-bar i:first-child { background: #D0A156; }
.hm-screen-bar span { margin-left: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #F1CF8A; }
.hm-screen canvas { position: absolute; left: 0; right: 0; top: 44px; bottom: 60px; width: 100%; height: calc(100% - 104px); opacity: .9; }
.hm-bars { position: absolute; left: 16px; right: 16px; bottom: 14px; height: 40px; display: flex; align-items: flex-end; gap: 8px; }
.hm-bars span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #F1CF8A, #D0A156); opacity: .85; animation: barPulse 2.4s ease-in-out infinite; }
.hm-bars span:nth-child(1) { height: 40%; } .hm-bars span:nth-child(2) { height: 70%; animation-delay: .2s; } .hm-bars span:nth-child(3) { height: 55%; animation-delay: .4s; }
.hm-bars span:nth-child(4) { height: 90%; animation-delay: .6s; } .hm-bars span:nth-child(5) { height: 60%; animation-delay: .8s; } .hm-bars span:nth-child(6) { height: 80%; animation-delay: 1s; } .hm-bars span:nth-child(7) { height: 50%; animation-delay: 1.2s; }
@keyframes barPulse { 50% { transform: scaleY(.6); transform-origin: bottom; } }
.hm-stage .hm-front { position: absolute; left: -2%; top: 150px; width: 78%; z-index: 2; transform: rotateY(-14deg) rotateX(5deg); animation: frontFloat 7s ease-in-out infinite; }
@keyframes frontFloat { 50% { transform: rotateY(-10deg) rotateX(4deg) translateY(-12px); } }
.hm-stage .orbit-chip { z-index: 3; }
.hm-stage .orbit-chip.c1 { top: 110px; left: auto; right: -2%; }
.hm-stage .orbit-chip.c2 { bottom: -10px; right: 6%; }
@media (max-width: 991px) {
  .hm-stage { min-height: 0; perspective: none; }
  .hm-floor, .hm-screen { display: none; }
  .hm-stage .hm-front { position: relative; left: 0; top: 0; width: 100%; transform: none; animation: float 7s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) { .hm-floor, .hm-screen, .hm-front, .hm-bars span { animation: none !important; } }

/* No ticker in the header any more: utility strip (40) + main bar (78). */
:root { --header-h: 118px; }

/* ---------- Mobile menu: a panel that slides in from the right, above the header ---------- */
.drawer {
  z-index: 1200; left: auto; right: 0; width: min(420px, 100%); padding: 0 20px 28px;
  clip-path: none !important; opacity: 1; visibility: hidden; transform: translateX(105%);
  transition: transform .5s var(--ease), visibility .5s; box-shadow: -30px 0 80px -20px rgba(3, 10, 40, .6);
}
body.nav-open .drawer { visibility: visible; transform: none; clip-path: none !important; }
body.nav-open::after { content: ""; position: fixed; inset: 0; z-index: 1150; background: rgba(11, 31, 99, .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.drawer-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 -20px 10px; padding: 16px 20px; background: rgba(11, 31, 99, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.dh-brand { display: inline-flex; align-items: center; gap: 10px; }
.dh-brand img { width: 34px; height: 34px; }
.dh-brand b { font-family: var(--font-display); font-weight: 800; letter-spacing: .18em; color: #fff; font-size: 1.05rem; }
.drawer-close { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24); color: #fff; }
.drawer-close svg { width: 20px; height: 20px; }
.drawer-close:hover { background: #fff; color: #0B1F63; }
/* The drawer's link colour must not paint the buttons white-on-white. */
.drawer .btn-white { color: #0B1F63 !important; }
.drawer .btn-white svg { color: #0B1F63; }
.drawer .btn-ghost { color: #fff !important; border-color: rgba(255, 255, 255, .4) !important; background: rgba(255, 255, 255, .08) !important; }
.drawer .drawer-actions .btn { justify-content: center; font-family: var(--font-body); font-size: .95rem; padding: 14px 20px; }

/* ---------- Client Login in the utility strip: no pill, a gold divider and a plain link ---------- */
.hu-right { display: inline-flex; align-items: center; height: 100%; padding-left: 18px; border-left: 1px solid rgba(227, 189, 118, .45); }
.hu-right a { padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: #fff !important; font-weight: 700; position: relative; }
.hu-right a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: #D0A156; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.hu-right a:hover { color: #F1CF8A !important; }
.hu-right a:hover::after { transform: scaleX(1); }
.hu-right svg { color: #E3BD76; }
