/* ==========================================================================
   Noemon Global — Design Tokens
   ========================================================================== */
:root{
  /* Dark surfaces — deep teal-black, matching Noemon Global brand screens */
  --bg-void: #071615;
  --bg-surface: #0A211F;
  --bg-elevated: #0F2B29;
  --bg-elevated-2: #133330;

  /* Light surfaces (luxury ivory, not stark white) */
  --bg-light: #F5F7F6;
  --bg-light-2: #FFFFFF;
  --bg-light-elevated: #FFFFFF;

  /* Borders */
  --hairline: rgba(255,255,255,0.08);
  --hairline-strong: rgba(255,255,255,0.16);
  --hairline-on-light: rgba(15,25,24,0.10);
  --hairline-on-light-strong: rgba(15,25,24,0.18);

  /* Text — dark sections */
  --text-primary: #F2F7F6;
  --text-secondary: #96A6A3;
  --text-tertiary: #566462;

  /* Text — light sections */
  --text-on-light: #101E1C;
  --text-on-light-2: #52625F;
  --text-on-light-3: #85938F;

  /* Accents — mint/teal brand color */
  --accent-brand: #2FBF8F;
  --accent-brand-bright: #52DDAE;
  --accent-brand-deep: #17916A;
  --accent-buy: #2FBF8F;
  --accent-sell: #E8555F;

  /* Type */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  /* Radius / shadow */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-card: 0 12px 32px rgba(0,0,0,0.35);
  --shadow-float: 0 40px 80px -24px rgba(8,10,14,0.35);
  --shadow-float-light: 0 30px 70px -20px rgba(21,24,29,0.14);

  --ease: cubic-bezier(.16,.8,.24,1);
  --header-h: 72px;
  --header-h-scrolled: 60px;
  --ticker-h: 34px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0 0 0.5em; color: var(--text-primary); }
p{ margin: 0 0 1em; color: var(--text-secondary); }
button{ font-family: inherit; cursor: pointer; }
:focus-visible{ outline: 2px solid var(--accent-brand-bright); outline-offset: 2px; }

.screen-reader-text{ position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.skip-link{ left: -999px; top: 0; z-index: 10000; position: absolute; background: var(--accent-brand); color: #14100A; padding: 10px 16px; }
.skip-link:focus{ left: 8px; top: 8px; }

.wrap{ max-width: 1240px; margin: 0 auto; padding: 0 24px; position: relative; }
.wrap--narrow{ max-width: 800px; }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-brand);
  margin-bottom: 12px;
}
.eyebrow::before{ content:""; width: 16px; height: 1px; background: var(--accent-brand); display: inline-block; }
.section--light .eyebrow{ color: var(--accent-brand-deep); }
.section--light .eyebrow::before{ background: var(--accent-brand-deep); }

.section{ padding: 110px 0; position: relative; }
.section__head{ max-width: 640px; margin-bottom: 52px; }
.section__head h2{ font-size: clamp(28px, 3.4vw, 42px); }
.section__lede{ font-size: 17px; }

/* Dark / light section theming ------------------------------------------ */
.section--dark{
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(47,191,143,0.10), transparent 60%),
    radial-gradient(760px 460px at 92% 8%, rgba(52,197,142,0.06), transparent 58%),
    var(--bg-void);
}
.section--light{
  background: var(--bg-light);
  color: var(--text-on-light);
}
.section--light h2, .section--light h3, .section--light h4{ color: var(--text-on-light); }
.section--light p{ color: var(--text-on-light-2); }
.section--light .section__lede{ color: var(--text-on-light-2); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.35) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  z-index: 1;
  pointer-events: none;
}
.btn:hover::after{ transform: translateX(120%); }
.btn > *{ position: relative; z-index: 2; }
.btn:hover{ transform: translateY(-2px); }

.btn--brand{ background: linear-gradient(180deg, var(--accent-brand-bright), var(--accent-brand)); color: #062A22; box-shadow: 0 10px 24px -8px rgba(47,191,143,0.55); }
.btn--brand:hover{ box-shadow: 0 16px 32px -10px rgba(47,191,143,0.7); }
.btn--ghost{ border-color: var(--hairline-strong); color: var(--text-primary); background: rgba(255,255,255,0.03); backdrop-filter: blur(6px); }
.btn--ghost:hover{ border-color: var(--accent-brand); }
.btn--ghost-light{ border-color: rgba(6,42,34,0.35); color: #062A22; background: transparent; }
.btn--ghost-light:hover{ background: rgba(6,42,34,0.08); }
.btn--outline{ border-color: var(--hairline-strong); color: var(--text-primary); background: var(--bg-elevated); }
.btn--outline:hover{ border-color: var(--accent-brand); }
.section--light .btn--outline{ background: #fff; border-color: var(--hairline-on-light-strong); color: var(--text-on-light); }
.section--light .btn--outline:hover{ border-color: var(--accent-brand-deep); }
.btn--sm{ padding: 9px 18px; font-size: 14px; }
.btn--lg{ padding: 17px 34px; font-size: 16px; }
.btn--block{ width: 100%; }

.link-quiet{ font-size: 14px; color: var(--text-secondary); padding: 8px 4px; transition: color .2s ease; }
.link-quiet:hover{ color: var(--text-primary); }

/* ==========================================================================
   Ticker (signature element)
   ========================================================================== */
.ticker{
  height: var(--ticker-h);
  background: var(--bg-void);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  position: relative;
}
.ticker::before, .ticker::after{
  content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none;
}
.ticker::before{ left: 0; background: linear-gradient(90deg, var(--bg-void), transparent); }
.ticker::after{ right: 0; background: linear-gradient(-90deg, var(--bg-void), transparent); }
.ticker__track{
  display: flex;
  align-items: center;
  gap: 36px;
  height: 100%;
  width: max-content;
  animation: noemon-scroll 38s linear infinite;
  padding-left: 24px;
}
.ticker:hover .ticker__track{ animation-play-state: paused; }
@keyframes noemon-scroll{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

.ticker__item{ display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--font-mono); font-size: 12.5px; white-space: nowrap; }
.ticker__symbol{ color: var(--text-tertiary); }
.ticker__price{ color: var(--text-primary); transition: opacity .2s ease; }
.ticker__change{ font-weight: 600; }
.ticker__item--up .ticker__change{ color: var(--accent-buy); }
.ticker__item--down .ticker__change{ color: var(--accent-sell); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(10,14,19,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled{ background: rgba(10,14,19,0.92); box-shadow: 0 12px 30px -18px rgba(0,0,0,0.6); }
.site-header__inner{
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
  transition: height .3s ease;
}
.site-header.is-scrolled .site-header__inner{ height: var(--header-h-scrolled); }
.brand{ display: inline-flex; align-items: center; gap: 10px; color: var(--text-primary); }
.brand__mark{ color: var(--accent-brand); display: inline-flex; }
.brand__word{ font-family: var(--font-display); font-size: 20px; letter-spacing: 0.01em; }
.brand__word em{ font-style: normal; color: var(--accent-brand); }

.site-nav{ flex: 1; }
.nav-menu{ display: flex; align-items: center; gap: 30px; }
.nav-menu a{ font-size: 14.5px; color: var(--text-secondary); position: relative; padding: 6px 0; transition: color .2s ease; }
.nav-menu a::after{ content:""; position:absolute; left:0; right:100%; bottom:0; height:1px; background: var(--accent-brand); transition: right .25s var(--ease); }
.nav-menu a:hover{ color: var(--text-primary); }
.nav-menu a:hover::after{ right: 0; }
.nav-menu li{ position: relative; }
.nav-menu ul{ display: none; }

.site-header__actions{ display: flex; align-items: center; gap: 14px; }

.nav-toggle{ display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.nav-toggle span{ width: 22px; height: 2px; background: var(--text-primary); display: block; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.nav-mobile{ display: none; }

/* ==========================================================================
   Hero — dark aurora gradient + glass trading panel
   ========================================================================== */
.hero{
  position: relative;
  padding: 100px 0 150px;
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 18% -12%, rgba(47,191,143,0.20), transparent 58%),
    radial-gradient(900px 560px at 88% 4%, rgba(52,197,142,0.12), transparent 55%),
    radial-gradient(700px 500px at 50% 115%, rgba(47,191,143,0.10), transparent 60%),
    var(--bg-void);
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black, transparent);
  pointer-events:none;
}
.hero__inner{ display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero__title{ font-size: clamp(38px, 4.8vw, 58px); letter-spacing: -0.01em; }
.hero__sub{ font-size: 18px; max-width: 480px; }
.hero__actions{ display: flex; gap: 14px; margin: 28px 0 16px; flex-wrap: wrap; }
.hero__meta{ font-size: 13px; color: var(--text-tertiary); margin: 0; }

.hero__badges{ display:flex; gap:10px; margin-bottom: 26px; flex-wrap: wrap; }
.hero__badge{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 12.5px; font-weight: 500; color: var(--text-secondary);
  background: rgba(255,255,255,0.05); border: 1px solid var(--hairline-strong);
  padding: 7px 14px; border-radius: 30px; backdrop-filter: blur(6px);
}
.hero__badge svg{ color: var(--accent-brand); flex-shrink:0; }

.hero__panel{ position: relative; }
.hero__panel-glow{
  position:absolute; inset: -30px;
  background: radial-gradient(circle at 50% 40%, rgba(47,191,143,0.22), transparent 65%);
  filter: blur(10px);
  z-index: 0;
}
.trade-panel{
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(27,35,46,0.9), rgba(16,21,28,0.9));
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  backdrop-filter: blur(20px);
  animation: noemon-float 6s ease-in-out infinite;
}
@keyframes noemon-float{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }
.trade-panel__head{ display: flex; align-items: center; gap: 8px; padding: 16px 18px; border-bottom: 1px solid var(--hairline); }
.trade-panel__dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--hairline-strong); }
.trade-panel__live{ width:7px; height:7px; border-radius:50%; background: var(--accent-buy); margin-left: auto; box-shadow: 0 0 0 0 rgba(52,197,142,0.6); animation: noemon-pulse 2s infinite; }
@keyframes noemon-pulse{ 0%{ box-shadow: 0 0 0 0 rgba(52,197,142,0.55); } 70%{ box-shadow: 0 0 0 8px rgba(52,197,142,0); } 100%{ box-shadow: 0 0 0 0 rgba(52,197,142,0); } }
.trade-panel__title{ font-family: var(--font-mono); font-size: 12px; color: var(--text-tertiary); margin-left: 6px; }
.trade-panel__chart{ width: 100%; height: 140px; display: block; background: rgba(0,0,0,0.15); }
.trade-panel__rows{ padding: 10px 16px 18px; }
.trade-panel__row{ display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--hairline); }
.trade-panel__row:last-child{ border-bottom: none; }
.trade-panel__symbol{ font-family: var(--font-mono); font-size: 13px; color: var(--text-secondary); }
.trade-panel__price{ font-family: var(--font-mono); font-size: 14px; font-weight: 600; }
.trade-panel__price--up{ color: var(--accent-buy); }
.trade-panel__price--down{ color: var(--accent-sell); }
.trade-panel__pill{ font-family: var(--font-mono); font-size: 11.5px; padding: 7px 12px; border-radius: var(--radius-sm); border: none; font-weight: 600; transition: transform .2s ease, filter .2s ease; }
.trade-panel__pill:hover{ transform: translateY(-1px); filter: brightness(1.15); }
.trade-panel__pill--sell{ background: rgba(232,85,95,0.14); color: var(--accent-sell); }
.trade-panel__pill--buy{ background: rgba(52,197,142,0.14); color: var(--accent-buy); }

/* ==========================================================================
   Trust bar — floating glass card overlapping hero/next section
   ========================================================================== */
.trust-bar{ position: relative; z-index: 2; margin-top: -84px; padding: 0 0 40px; }
.trust-bar__card{
  background: var(--bg-light-elevated);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-float-light);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.trust-bar__item{ display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--hairline-on-light); padding-left: 22px; }
.trust-bar__item:first-child{ border-left: none; padding-left: 0; }
.trust-bar__value{ font-family: var(--font-mono); font-size: 32px; font-weight: 600; color: var(--accent-brand-deep); }
.trust-bar__label{ font-size: 14px; color: var(--text-on-light); font-weight: 600; }
.trust-bar__note{ font-size: 12.5px; color: var(--text-on-light-3); }

/* ==========================================================================
   Popular markets (dark section)
   ========================================================================== */
.markets__grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.market-card{ background: var(--bg-elevated); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: 22px; transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow .25s var(--ease); }
.market-card:hover{ border-color: rgba(47,191,143,0.5); transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(47,191,143,0.25); }
.market-card__top{ display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.market-card__symbol{ display: flex; align-items:center; gap:6px; font-family: var(--font-mono); font-weight: 600; font-size: 15px; }
.market-card__symbol::before{ content:""; width:6px; height:6px; border-radius:50%; background: var(--accent-buy); }
.market-card__name{ display: block; font-size: 12.5px; color: var(--text-tertiary); margin-top: 2px; }
.market-card__change{ font-family: var(--font-mono); font-size: 13px; font-weight: 600; padding: 3px 8px; border-radius: 20px; }
.market-card__change--up{ color: var(--accent-buy); background: rgba(52,197,142,0.12); }
.market-card__change--down{ color: var(--accent-sell); background: rgba(232,85,95,0.12); }
.market-card__spark{ width: 100%; height: 30px; margin: 6px 0 14px; }
.market-card__bottom{ display: flex; align-items: center; justify-content: space-between; }
.market-card__price{ font-family: var(--font-mono); font-size: 17px; font-weight: 600; }
.market-card__cta{ font-size: 13.5px; color: var(--accent-brand); font-weight: 600; transition: gap .2s ease; }
.market-card__cta:hover{ color: var(--accent-brand-bright); }

/* ==========================================================================
   Selling points (light section)
   ========================================================================== */
.points__grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.point-card{ padding: 28px 22px; background: #fff; border: 1px solid var(--hairline-on-light); border-radius: var(--radius-lg); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.point-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-float-light); }
.point-card__icon{ display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: var(--radius-md); background: linear-gradient(160deg, #fff, #E7F5F0); border: 1px solid var(--hairline-on-light); color: var(--accent-brand-deep); margin-bottom: 20px; }
.point-card h3{ font-size: 18px; margin-bottom: 8px; }
.point-card p{ font-size: 14.5px; margin-bottom: 0; }

/* ==========================================================================
   Platforms (dark gradient section)
   ========================================================================== */
.platforms__grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.platform-card{ text-align: left; }
.platform-card h3{ font-size: 19px; }
.platform-card p{ font-size: 14.5px; }

.device-mock{ background: linear-gradient(165deg, var(--bg-elevated-2), var(--bg-elevated)); border: 1px solid var(--hairline-strong); border-radius: var(--radius-lg); padding: 16px; margin-bottom: 22px; box-shadow: var(--shadow-card); transition: transform .3s var(--ease); }
.platform-card:hover .device-mock{ transform: translateY(-6px); }
.device-mock__screen{ background: var(--bg-void); border-radius: 8px; padding: 14px; }
.device-mock__bar{ width: 40%; height: 6px; background: var(--hairline-strong); border-radius: 3px; margin-bottom: 12px; }
.device-mock__chart{ height: 62px; margin-bottom: 12px; }
.device-mock__chart svg{ width: 100%; height: 100%; }
.device-mock__rows{ display: flex; flex-direction: column; gap: 7px; }
.device-mock__rows span{ display: block; height: 8px; border-radius: 2px; background: var(--hairline); }
.device-mock__rows span:nth-child(2){ width: 80%; }
.device-mock__rows span:nth-child(3){ width: 60%; }
.device-mock--mobile{ max-width: 200px; }
.device-mock--mobile .device-mock__screen{ aspect-ratio: 9/16; display: flex; flex-direction: column; }

.platforms__cta{ margin-top: 16px; }

/* ==========================================================================
   Accounts (light section)
   ========================================================================== */
.accounts__grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.account-card{ position: relative; background: #fff; border: 1px solid var(--hairline-on-light); border-radius: var(--radius-lg); padding: 34px 28px; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.account-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-float-light); }
.account-card--featured{ border-color: var(--accent-brand); background: linear-gradient(180deg, #F5FBF9, #ffffff); box-shadow: 0 30px 60px -24px rgba(47,191,143,0.35); }
.account-card__badge{ position: absolute; top: -13px; left: 28px; background: linear-gradient(180deg, var(--accent-brand-bright), var(--accent-brand)); color: #062A22; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 14px; border-radius: 20px; box-shadow: 0 8px 16px -6px rgba(47,191,143,0.6); }
.account-card h3{ font-size: 22px; margin-bottom: 4px; }
.account-card__tagline{ font-size: 14px; margin-bottom: 24px; }
.account-card__specs{ margin-bottom: 28px; flex: 1; }
.account-card__specs li{ display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hairline-on-light); font-size: 13.5px; }
.account-card__specs li:first-child{ border-top: none; }
.account-card__specs span{ color: var(--text-on-light-3); }
.account-card__specs strong{ font-family: var(--font-mono); font-weight: 600; text-align: right; font-size: 13px; color: var(--text-on-light); }
.accounts__footnote{ margin-top: 24px; font-size: 12.5px; color: var(--text-on-light-3); text-align: center; }

/* ==========================================================================
   Tabs (Account Types / Leverage)
   ========================================================================== */
.tabs__nav{
  display: inline-flex;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--hairline-on-light);
  padding: 5px;
  border-radius: 999px;
  margin: 0 auto 44px;
}
.section__head + .tabs .tabs__nav,
.tabs .tabs__nav{ display: flex; width: max-content; }
.tabs{ display: flex; flex-direction: column; align-items: center; }
.tabs__btn{
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-on-light-2);
  background: transparent;
  border: none;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.tabs__btn:hover{ color: var(--text-on-light); }
.tabs__btn.is-active{ background: var(--accent-brand); color: #062A22; box-shadow: 0 8px 18px -8px rgba(47,191,143,0.5); }
.tabs__panel{ width: 100%; }
.tabs__panel[hidden]{ display: none; }
@keyframes noemon-fade-in{ from{ opacity: 0; transform: translateY(6px); } to{ opacity: 1; transform: none; } }
.tabs__panel:not([hidden]){ animation: noemon-fade-in .45s var(--ease); }

/* Account cards — stacked figures, matching Noemon Global spec sheets */
.account-card__name{ font-size: 24px; text-align: center; margin-bottom: 4px; }
.account-card__tagline{ font-size: 13.5px; text-align: center; margin-bottom: 10px; }
.account-card__stats{ margin: 18px 0 6px; }
.account-card__stat{ text-align: center; padding: 14px 0; border-top: 1px solid var(--hairline-on-light); }
.account-card__stat:first-child{ border-top: none; }
.account-card__stat-label{ display: block; font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-on-light-3); margin-bottom: 5px; }
.account-card__stat-value{ display: block; font-size: 16px; font-weight: 600; color: var(--text-on-light); }
.account-card__stat-value--yes{ color: var(--accent-brand-deep); }
.account-card__stat-value--no{ color: var(--text-on-light-3); }
.account-card__note{ font-size: 12px; color: var(--text-on-light-3); text-align: center; margin: 4px 0 20px; line-height: 1.5; }
.account-card > .btn{ margin-top: 8px; }

/* Leverage table — dark card, echoes the client's brand reference screens */
.leverage{
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
}
.leverage__intro{ color: var(--text-secondary); font-size: 15px; margin-bottom: 24px; }
.leverage__table{ border: 1px solid var(--hairline); border-radius: var(--radius-md); overflow: hidden; }
.leverage__row{ display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--hairline); }
.leverage__row:first-child{ border-top: none; }
.leverage__row--head{ background: rgba(255,255,255,0.03); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); }
.leverage__equity{ color: var(--accent-brand-bright); font-weight: 600; font-size: 14.5px; }
.leverage__equity em{ display: block; font-style: normal; color: var(--text-tertiary); font-weight: 400; font-size: 12.5px; margin-top: 2px; }
.leverage__value{ font-family: var(--font-mono); font-weight: 600; font-size: 16px; color: var(--text-primary); justify-self: end; }
.leverage__footnote{ font-size: 12px; color: var(--text-tertiary); margin: 16px 4px 0; }

/* Leverage adjustment notice (anti-abuse) */
.leverage-notice{ background: var(--bg-elevated); border: 1px solid rgba(232,85,95,0.25); border-radius: var(--radius-lg); padding: 36px; }
.leverage-notice__head{ display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.leverage-notice__head h3{ font-size: 19px; margin: 0; }
.leverage-notice__icon{ color: var(--accent-brand); display: inline-flex; }
.leverage-notice__intro{ font-size: 14.5px; margin-bottom: 22px; }
.leverage-notice__rules{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 26px; }
.leverage-notice__rule{ background: rgba(255,255,255,0.03); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: 16px 18px; }
.leverage-notice__rule-label{ display: block; font-weight: 700; font-size: 14px; color: var(--text-primary); margin-bottom: 6px; }
.leverage-notice__rule-value{ font-weight: 600; color: var(--accent-brand-bright); }
.leverage-notice__rule-condition{ display: block; font-size: 12.5px; color: var(--text-tertiary); line-height: 1.5; }
.leverage-notice__subhead{ font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-tertiary); font-family: var(--font-body); margin-bottom: 12px; }
.leverage-notice__definitions{ margin-bottom: 20px; }
.leverage-notice__definitions li{ position: relative; padding-left: 18px; font-size: 13.5px; color: var(--text-secondary); margin-bottom: 10px; line-height: 1.55; }
.leverage-notice__definitions li::before{ content: "•"; position: absolute; left: 0; color: var(--accent-brand); }
.leverage-notice__footnote{ font-size: 12.5px; color: var(--text-tertiary); margin: 0; line-height: 1.6; }

/* ==========================================================================
   Registration steps (dark gradient section)
   ========================================================================== */
.steps__row{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps__row::before{ content: ""; position: absolute; top: 27px; left: 6%; right: 6%; height: 1px; background: linear-gradient(90deg, transparent, var(--hairline-strong) 20%, var(--hairline-strong) 80%, transparent); z-index: 0; }
.step-card{ position: relative; z-index: 1; padding-right: 20px; }
.step-card__num{ display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,0.04); backdrop-filter: blur(6px); border: 1px solid var(--accent-brand); color: var(--accent-brand-bright); font-family: var(--font-mono); font-weight: 600; margin-bottom: 20px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.step-card:hover .step-card__num{ transform: scale(1.08); box-shadow: 0 0 0 6px rgba(47,191,143,0.12); }
.step-card h3{ font-size: 18px; margin-bottom: 6px; }
.step-card p{ font-size: 14px; }

/* ==========================================================================
   Payments (light section)
   ========================================================================== */
.payments__grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.payment-badge{ display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--hairline-on-light); border-radius: var(--radius-md); padding: 20px; font-size: 14px; font-weight: 500; color: var(--text-on-light); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.payment-badge:hover{ transform: translateY(-3px); box-shadow: var(--shadow-float-light); }
.payment-badge__icon{ color: var(--accent-brand-deep); display: inline-flex; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta{ position: relative; background: linear-gradient(135deg, var(--accent-brand-bright), var(--accent-brand)); padding: 100px 0; overflow: hidden; }
.final-cta::before{ content:""; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,0.35) 1px, transparent 1px); background-size: 22px 22px; opacity:.4; }
.final-cta__inner{ text-align: center; max-width: 620px; margin: 0 auto; position: relative; }
.final-cta h2{ color: #062A22; font-size: clamp(28px, 3.6vw, 42px); }
.final-cta p{ color: rgba(6,42,34,0.75); font-size: 17px; }
.final-cta__actions{ display: flex; justify-content: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: var(--bg-surface); border-top: 1px solid var(--hairline); padding-top: 72px; }
.footer__top{ display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__brand .brand__word{ font-size: 19px; }
.footer__desc{ font-size: 14px; margin-top: 14px; max-width: 280px; }
.footer__col h4{ font-family: var(--font-body); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 16px; }
.footer-menu li{ margin-bottom: 10px; }
.footer-menu a{ font-size: 14.5px; color: var(--text-secondary); }
.footer-menu a:hover{ color: var(--text-primary); }

.footer__risk{ border-top: 1px solid var(--hairline); padding: 24px 0; }
.footer__risk p{ font-size: 12px; line-height: 1.6; color: var(--text-tertiary); margin: 0; }

.footer__powered{
  display: flex; align-items: center; gap: 10px;
  padding: 16px 0; border-top: 1px solid var(--hairline);
  font-size: 12.5px; color: var(--text-tertiary);
}
.footer__powered-mark{
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--text-secondary); letter-spacing: 0.02em;
}
.footer__powered-mark svg{ color: var(--accent-brand); }

/* ==========================================================================
   Markets listing page (page-templates/template-markets.php)
   ========================================================================== */
.markets-list__group{ margin-bottom: 48px; }
.markets-list__group:last-of-type{ margin-bottom: 24px; }
.markets-list__group-title{
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-brand-deep);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline-on-light);
}
.markets-list__table{ display: flex; flex-direction: column; }
.markets-list__row{
  display: grid; grid-template-columns: 1.5fr 1fr 0.8fr auto;
  align-items: center; gap: 16px; padding: 16px 4px;
  border-bottom: 1px solid var(--hairline-on-light);
}
.markets-list__row:last-child{ border-bottom: none; }
.markets-list__symbol{ display: block; font-family: var(--font-mono); font-weight: 600; font-size: 15px; color: var(--text-on-light); }
.markets-list__name{ display: block; font-size: 12.5px; color: var(--text-on-light-3); margin-top: 2px; }
.markets-list__price{ font-family: var(--font-mono); font-weight: 600; text-align: right; color: var(--text-on-light); }
.markets-list__change{ font-family: var(--font-mono); font-weight: 600; text-align: right; }
.markets-list__change--up{ color: var(--accent-brand-deep); }
.markets-list__change--down{ color: var(--accent-sell); }

.footer__bottom{ display: flex; align-items: center; justify-content: space-between; padding: 20px 0 32px; border-top: 1px solid var(--hairline); }
.footer__bottom p{ margin: 0; font-size: 13px; color: var(--text-tertiary); }
.footer__social{ display: flex; gap: 14px; }
.footer__social a{ color: var(--text-tertiary); transition: color .2s ease, transform .2s ease; }
.footer__social a:hover{ color: var(--accent-brand); transform: translateY(-2px); }

/* Sticky mobile CTA */
.sticky-cta{ display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 600; padding: 12px 16px; background: rgba(10,14,19,0.94); backdrop-filter: blur(8px); border-top: 1px solid var(--hairline-strong); }

/* Generic page / blog fallback */
.generic-page{ padding-top: 72px; }
.generic-page__title{ font-size: 34px; }
.generic-page__content{ font-size: 16px; }
.blog-item{ padding: 24px 0; border-bottom: 1px solid var(--hairline); }
.blog-item h2{ font-size: 22px; margin-bottom: 8px; }

/* ==========================================================================
   Scroll-reveal animation utilities
   ========================================================================== */
[data-reveal]{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 70ms);
}
[data-reveal].is-visible{ opacity: 1; transform: none; }
[data-reveal="left"]{ transform: translateX(-28px); }
[data-reveal="left"].is-visible{ transform: none; }
[data-reveal="right"]{ transform: translateX(28px); }
[data-reveal="right"].is-visible{ transform: none; }
[data-reveal="scale"]{ transform: scale(0.94); }
[data-reveal="scale"].is-visible{ transform: none; }

/* ==========================================================================
   Mega-menu (desktop dropdown nav)
   ========================================================================== */
.nav-menu__item{ position: relative; }
.nav-menu__trigger{
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; padding: 6px 0;
  font-size: 14.5px; color: var(--text-secondary); font-family: var(--font-body);
  transition: color .2s ease;
}
.nav-menu__trigger:hover{ color: var(--text-primary); }
.nav-menu__chevron{ transition: transform .25s var(--ease); flex-shrink: 0; }
.has-dropdown:hover .nav-menu__trigger,
.has-dropdown.is-open .nav-menu__trigger{ color: var(--text-primary); }
.has-dropdown:hover .nav-menu__chevron,
.has-dropdown.is-open .nav-menu__chevron{ transform: rotate(180deg); }

.mega-menu{
  position: absolute; top: calc(100% + 20px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--bg-elevated); border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-float);
  padding: 28px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 400; min-width: 300px;
}
.has-dropdown:hover .mega-menu,
.has-dropdown.is-open .mega-menu{
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-menu__inner{ display: flex; gap: 44px; }
.mega-menu__col{ min-width: 160px; }
.mega-menu__col-title{
  display: block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary);
  margin-bottom: 14px;
}
.mega-menu__col ul{ display: flex; flex-direction: column; gap: 11px; }
.mega-menu__col a{ font-size: 14px; color: var(--text-secondary); transition: color .2s ease; }
.mega-menu__col a:hover{ color: var(--accent-brand-bright); }

/* Mobile nav — accordion groups via native <details> */
.nav-mobile__group-item{ border-bottom: 1px solid var(--hairline); }
.nav-mobile__group-item summary{
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; font-size: 17px; color: var(--text-primary); cursor: pointer;
}
.nav-mobile__group-item summary::-webkit-details-marker{ display: none; }
.nav-mobile__group-item summary::after{
  content: "+"; font-size: 20px; line-height: 1; color: var(--text-tertiary);
}
.nav-mobile__group-item details[open] summary::after{ content: "–"; }
.nav-mobile__group{ padding: 2px 0 18px 8px; }
.nav-mobile__group-title{
  display: block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-tertiary);
  margin: 12px 0 8px;
}
.nav-mobile__group:first-child .nav-mobile__group-title{ margin-top: 0; }
.nav-mobile__group ul{ display: flex; flex-direction: column; gap: 4px; }
.nav-mobile__group a{ font-size: 15px; color: var(--text-secondary); display: block; padding: 5px 0; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq__list{ display: flex; flex-direction: column; gap: 14px; }
.faq__item{
  background: var(--bg-elevated); border: 1px solid var(--hairline);
  border-radius: var(--radius-md); padding: 4px 26px;
  transition: border-color .2s ease;
}
.faq__item[open]{ border-color: var(--hairline-strong); }
.faq__question{
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 15.5px;
  color: var(--text-primary);
}
.faq__question::-webkit-details-marker{ display: none; }
.faq__toggle{
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(47,191,143,0.16); color: var(--accent-brand-bright);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease);
}
.faq__item[open] .faq__toggle{ transform: rotate(180deg); }
.faq__answer{ padding: 0 0 22px; margin: 0; font-size: 14.5px; color: var(--text-secondary); line-height: 1.65; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px){
  .points__grid{ grid-template-columns: repeat(2, 1fr); }
  .accounts__grid{ grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .platforms__grid{ grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; gap: 48px; }
  .markets__grid{ grid-template-columns: repeat(2, 1fr); }
  .footer__top{ grid-template-columns: 1fr 1fr; }
  .trust-bar__card{ grid-template-columns: repeat(2,1fr); row-gap: 28px; }
  .trust-bar__item:nth-child(3){ border-left: none; padding-left: 0; }
}

@media (max-width: 880px){
  .site-nav, .site-header__actions .link-quiet{ display: none; }
  .nav-toggle{ display: flex; }
  .nav-mobile{
    display: block;
    position: fixed;
    top: var(--header-h); /* fallback; JS sets the real offset on open/resize */
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-void);
    padding: 24px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 490;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-mobile.is-open{ opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-mobile .nav-menu{ flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav-mobile .nav-menu a{ display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--hairline); width: 100%; }
  .nav-mobile__actions{ display: flex; gap: 12px; margin-top: 24px; }

  .hero__inner{ grid-template-columns: 1fr; gap: 44px; }
  .hero{ padding: 56px 0 120px; }
  .trust-bar{ margin-top: -60px; }
  .trust-bar__card{ padding: 28px 24px; grid-template-columns: 1fr 1fr; }
  .points__grid{ grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .markets__grid{ grid-template-columns: 1fr; }
  .payments__grid{ grid-template-columns: 1fr 1fr; }
  .tabs__btn{ padding: 10px 18px; font-size: 13px; }
  .leverage, .leverage-notice{ padding: 26px 20px; }
  .leverage__row{ grid-template-columns: 1fr; text-align: left; gap: 4px; }
  .leverage__value{ justify-self: start; }
  .leverage-notice__rules{ grid-template-columns: 1fr; }
  .markets-list__row{ grid-template-columns: 1fr auto; row-gap: 8px; }
  .markets-list__price{ text-align: left; }
  .markets-list__change{ text-align: left; }
  .markets-list__cta{ grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
  .steps__row{ grid-template-columns: 1fr; gap: 32px; }
  .steps__row::before{ display: none; }
  .section{ padding: 72px 0; }
  .footer__top{ grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom{ flex-direction: column; gap: 12px; text-align: center; }
  .sticky-cta{ display: block; }
  main{ padding-bottom: 76px; }
}

@media (max-width: 520px){
  .hero__actions{ flex-direction: column; }
  .hero__actions .btn{ width: 100%; }
  .final-cta__actions{ flex-direction: column; }
  .final-cta__actions .btn{ width: 100%; }
  .trust-bar__card{ grid-template-columns: 1fr; }
  .trust-bar__item{ border-left: none !important; padding-left: 0 !important; border-top: 1px solid var(--hairline-on-light); padding-top: 16px; }
  .trust-bar__item:first-child{ border-top: none; padding-top: 0; }
}
