/* ============================================================================
   ACCOUNTS PAGES · real-data heroes + interactive sections
   Scope: accounts/index.html, prime.html, pro.html, elite.html
   Visuals built from genuine trading concepts (spreads, ladders, capital
   curves, order books) — no abstract AI shapes.
   ============================================================================ */

/* ---------- 1 · SHARED ACCOUNT-HERO SHELL ---------- */
.account-hero {
  position: relative;
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
  color: #002531;
}
.account-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg,  rgba(31,95,168,0.04) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(90deg, rgba(31,95,168,0.04) 0 1px, transparent 1px 96px);
  mask: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
/* Per-tier hero theme variants — distinct light mixes */
.account-hero.theme-index { background: radial-gradient(900px 600px at 15% 0%, rgba(31,95,168,0.10), transparent 60%), radial-gradient(700px 500px at 100% 100%, rgba(179,154,126,0.12), transparent 60%), linear-gradient(180deg, #FFFFFF 0%, #F4F8FD 100%); }
.account-hero.theme-prime { background: radial-gradient(800px 500px at 20% 0%, rgba(31,143,74,0.10), transparent 65%), linear-gradient(180deg, #FFFFFF 0%, #F2F8F3 100%); }
.account-hero.theme-pro   { background: radial-gradient(900px 600px at 15% 0%, rgba(31,95,168,0.14), transparent 60%), linear-gradient(180deg, #FFFFFF 0%, #ECF3FB 100%); }
.account-hero.theme-elite { background: radial-gradient(900px 600px at 15% 0%, rgba(127,97,75,0.12), transparent 60%), radial-gradient(700px 500px at 100% 100%, rgba(31,95,168,0.10), transparent 60%), linear-gradient(180deg, #FFFCF6 0%, #F6EFE0 100%); }

.account-hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 900px) {
  .account-hero .container { grid-template-columns: 1fr; }
}
.account-hero .ah-text { display: flex; flex-direction: column; gap: 14px; }
.account-hero .breadcrumbs { margin-bottom: 4px; }
.account-hero .ah-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid;
}
.account-hero.theme-index .ah-eyebrow { color: #1F5FA8; border-color: rgba(31,95,168,0.20); background: rgba(31,95,168,0.06); }
.account-hero.theme-prime .ah-eyebrow { color: #1F8F4A; border-color: rgba(31,143,74,0.24); background: rgba(31,143,74,0.06); }
.account-hero.theme-pro   .ah-eyebrow { color: #1F5FA8; border-color: rgba(31,95,168,0.24); background: rgba(31,95,168,0.08); }
.account-hero.theme-elite .ah-eyebrow { color: #7F614B; border-color: rgba(127,97,75,0.26); background: rgba(127,97,75,0.07); }
.account-hero .ah-eyebrow .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor;
  position: relative;
}
.account-hero .ah-eyebrow .pulse-dot::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%; background: currentColor;
  animation: ah-ping 1.8s ease-out infinite;
}
@keyframes ah-ping {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(3); opacity: 0; }
}
.account-hero h1 {
  font-size: clamp(32px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 6px 0 8px;
  color: #002531;
}
.account-hero h1 .accent {
  background: linear-gradient(135deg, #1F5FA8 0%, #B39A7E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.account-hero.theme-prime h1 .accent { background: linear-gradient(135deg, #1F8F4A 0%, #1F5FA8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.account-hero.theme-elite h1 .accent { background: linear-gradient(135deg, #7F614B 0%, #002531 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.account-hero .ah-lead {
  font-size: clamp(15px, 1.5vw, 18.5px);
  line-height: 1.55;
  color: #2F4856;
  max-width: 52ch;
  margin: 0;
}
.account-hero .ah-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 4px;
}
.account-hero .ah-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700;
  padding: 6px 11px;
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.16);
  border-radius: 999px;
  color: #1F5FA8;
}
.account-hero.theme-prime .ah-chip { color: #1F8F4A; border-color: rgba(31,143,74,0.20); }
.account-hero.theme-elite .ah-chip { color: #7F614B; border-color: rgba(127,97,75,0.20); }
.account-hero .ah-chip svg { width: 13px !important; height: 13px !important; flex-shrink: 0; }
.account-hero .ah-cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 18px;
}
.account-hero .ah-cta-row .btn { white-space: nowrap; }
.account-hero .ah-cta-row .btn svg { width: 16px !important; height: 16px !important; flex-shrink: 0; }

.account-hero .ah-stage {
  position: relative;
  min-height: clamp(280px, 38vw, 460px);
  display: grid;
  place-items: center;
}
@media (max-width: 900px) {
  .account-hero .ah-stage { min-height: 320px; margin-top: 12px; }
}

/* ---------- 2 · TIER-LADDER VISUAL (accounts/index hero) ---------- */
.ah-ladder {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 5/4;
  background: linear-gradient(160deg, #FFFFFF 0%, #F4F8FD 100%);
  border: 1.5px solid rgba(31,95,168,0.18);
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 26px 60px rgba(0,37,49,0.10);
  display: flex; flex-direction: column;
}
.ah-ladder .al-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(31,95,168,0.10);
  margin-bottom: 14px;
}
.ah-ladder .al-head .al-title { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; color: #002531; }
.ah-ladder .al-head .al-pip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: #1F8F4A; letter-spacing: 0.10em;
}
.ah-ladder .al-head .al-pip::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #1F8F4A;
  animation: ah-ping 1.6s ease-out infinite;
}
.ah-ladder .al-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}
.ah-ladder .al-tier {
  font-size: 11px; font-weight: 800; letter-spacing: 0.16em;
  padding: 4px 8px;
  border-radius: 6px;
  text-align: center;
}
.ah-ladder .al-row.t1 .al-tier { background: rgba(31,143,74,0.12);  color: #1F8F4A; }
.ah-ladder .al-row.t2 .al-tier { background: rgba(31,95,168,0.14);  color: #1F5FA8; }
.ah-ladder .al-row.t3 .al-tier { background: rgba(127,97,75,0.14);  color: #7F614B; }
.ah-ladder .al-bar {
  position: relative;
  height: 16px;
  background: rgba(31,95,168,0.06);
  border-radius: 8px;
  overflow: hidden;
}
.ah-ladder .al-bar::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 8px;
  transform-origin: left;
  animation: al-grow 1.6s cubic-bezier(0.22,1,0.36,1) forwards;
}
/* Bar widths proportional to tier minimum deposit (log-scaled for visibility):
   Prime $100 → 14% · Pro $1,000 → 40% · Elite $10,000 → 100% */
.ah-ladder .al-row.t1 .al-bar::after { background: linear-gradient(90deg, #1F8F4A, #5DD895); width: 14%; }
.ah-ladder .al-row.t2 .al-bar::after { background: linear-gradient(90deg, #1F5FA8, #6DA6F2); width: 40%; animation-delay: 0.18s; opacity: 0; animation-fill-mode: forwards; }
.ah-ladder .al-row.t3 .al-bar::after { background: linear-gradient(90deg, #7F614B, #B39A7E); width: 100%; animation-delay: 0.36s; opacity: 0; animation-fill-mode: forwards; }
@keyframes al-grow {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}
.ah-ladder .al-val {
  font-family: 'Courier New', monospace;
  font-size: 13px; font-weight: 800;
  color: #002531;
  white-space: nowrap;
}
.ah-ladder .al-foot {
  display: flex; justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(31,95,168,0.10);
  font-size: 10.5px; letter-spacing: 0.10em; color: #5A6B75;
}

/* ---------- 3 · CAPITAL GROWTH CHART (prime hero) ---------- */
.ah-growth {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 5/4;
  background: linear-gradient(160deg, #FFFFFF 0%, #F2F8F3 100%);
  border: 1.5px solid rgba(31,143,74,0.18);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 26px 60px rgba(0,55,30,0.10);
}
.ah-growth .ag-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(31,143,74,0.14);
  margin-bottom: 8px;
}
.ah-growth .ag-head .ag-title { font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; color: #002531; }
.ah-growth .ag-head .ag-tag {
  font-family: 'Courier New', monospace;
  font-size: 13px; font-weight: 800;
  color: #1F8F4A;
}
.ah-growth .ag-chart {
  position: relative;
  width: 100%; height: calc(100% - 76px);
}
.ah-growth .ag-chart svg { width: 100%; height: 100%; }
.ah-growth .ag-chart .ag-line {
  fill: none; stroke: #1F8F4A; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 800; stroke-dashoffset: 800;
  animation: ag-draw 3s ease-in-out forwards;
}
@keyframes ag-draw {
  to { stroke-dashoffset: 0; }
}
.ah-growth .ag-chart .ag-fill {
  opacity: 0;
  animation: ag-fade 2s ease-out 1.4s forwards;
}
@keyframes ag-fade { to { opacity: 1; } }
.ah-growth .ag-chart .ag-marker {
  fill: #1F8F4A; opacity: 0;
  animation: ag-pop 0.4s ease-out forwards;
}
.ah-growth .ag-chart .ag-marker.m1 { animation-delay: 0.8s; }
.ah-growth .ag-chart .ag-marker.m2 { animation-delay: 1.4s; }
.ah-growth .ag-chart .ag-marker.m3 { animation-delay: 2.0s; }
.ah-growth .ag-chart .ag-marker.m4 { animation-delay: 2.6s; }
@keyframes ag-pop {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}
.ah-growth .ag-foot {
  display: flex; justify-content: space-between; margin-top: 8px;
  font-size: 10.5px; letter-spacing: 0.08em; color: #5A6B75;
}
.ah-growth .ag-foot .ag-pill {
  background: rgba(31,143,74,0.10); color: #1F8F4A;
  padding: 3px 8px; border-radius: 999px;
  font-weight: 800; letter-spacing: 0.10em;
}

/* ---------- 4 · DEALING DESK GAUGE (pro hero) ---------- */
.ah-desk {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 5/4;
  background: linear-gradient(160deg, #FFFFFF 0%, #ECF3FB 100%);
  border: 1.5px solid rgba(31,95,168,0.18);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 26px 60px rgba(0,37,49,0.10);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
}
.ah-desk .ad-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 10px; border-bottom: 1px solid rgba(31,95,168,0.10);
}
.ah-desk .ad-title { font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; color: #002531; }
.ah-desk .ad-time { font-family: 'Courier New', monospace; font-size: 12px; color: #1F5FA8; font-weight: 800; }
.ah-desk .ad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ah-desk .ad-cell {
  position: relative;
  background: rgba(31,95,168,0.04);
  border: 1px solid rgba(31,95,168,0.10);
  border-radius: 10px;
  padding: 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.ah-desk .ad-cell .ad-lab { font-size: 10px; letter-spacing: 0.10em; color: #5A6B75; text-transform: uppercase; font-weight: 700; }
.ah-desk .ad-cell .ad-num {
  font-family: 'Courier New', monospace;
  font-size: 22px; font-weight: 900;
  color: #1F5FA8;
  letter-spacing: -0.01em;
}
.ah-desk .ad-cell .ad-sub { font-size: 11px; color: #5A6B75; }
.ah-desk .ad-gauge {
  position: relative;
  height: 6px; margin-top: 4px;
  background: rgba(31,95,168,0.10);
  border-radius: 3px;
  overflow: hidden;
}
.ah-desk .ad-gauge::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, #1F5FA8, #6DA6F2);
  border-radius: 3px;
  animation: ad-fill 2.2s ease-out forwards;
}
.ah-desk .ad-cell:nth-child(1) .ad-gauge::after { width: 84%; }
.ah-desk .ad-cell:nth-child(2) .ad-gauge::after { width: 92%; animation-delay: 0.2s; }
.ah-desk .ad-cell:nth-child(3) .ad-gauge::after { width: 78%; animation-delay: 0.4s; }
.ah-desk .ad-cell:nth-child(4) .ad-gauge::after { width: 96%; animation-delay: 0.6s; }
@keyframes ad-fill {
  from { width: 0; }
}
.ah-desk .ad-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 8px; border-top: 1px solid rgba(31,95,168,0.10);
  font-size: 10.5px; color: #5A6B75; letter-spacing: 0.08em;
}
.ah-desk .ad-foot .ad-live {
  display: inline-flex; align-items: center; gap: 6px;
  color: #1F8F4A; font-weight: 800;
}
.ah-desk .ad-foot .ad-live::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #1F8F4A;
  animation: ah-ping 1.4s ease-out infinite;
}

/* ---------- 5 · INSTITUTIONAL ORDER BOOK (elite hero) ---------- */
.ah-book {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 5/4;
  background: linear-gradient(160deg, #FFFCF6 0%, #F6EFE0 100%);
  border: 1.5px solid rgba(127,97,75,0.22);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 26px 60px rgba(45,26,12,0.10);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
}
.ah-book .ab-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 10px; border-bottom: 1px solid rgba(127,97,75,0.14);
}
.ah-book .ab-title { font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; color: #2D1A0C; }
.ah-book .ab-sym { font-family: 'Courier New', monospace; font-size: 13px; color: #7F614B; font-weight: 800; }
.ah-book .ab-rows {
  display: grid; grid-template-rows: repeat(7, 1fr);
  gap: 2px;
  font-family: 'Courier New', monospace;
  font-size: 11.5px;
  font-weight: 700;
}
.ah-book .ab-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 0 10px;
  border-radius: 4px;
  overflow: hidden;
}
.ah-book .ab-row .ab-bar {
  position: absolute; top: 0; bottom: 0;
  border-radius: 4px;
  opacity: 0;
  animation: ab-grow 1.4s ease-out forwards;
}
@keyframes ab-grow {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}
.ah-book .ab-row.ask .ab-bar { right: 0; transform-origin: right; background: rgba(127,97,75,0.16); }
.ah-book .ab-row.bid .ab-bar { left: 0;  transform-origin: left;  background: rgba(31,95,168,0.16); }
.ah-book .ab-row.ask span:first-child, .ah-book .ab-row.ask span:last-child  { color: #7F614B; }
.ah-book .ab-row.bid span:first-child, .ah-book .ab-row.bid span:last-child  { color: #1F5FA8; }
.ah-book .ab-row .ab-px { z-index: 1; }
.ah-book .ab-row .ab-sz { z-index: 1; text-align: center; color: #5A6B75; }
.ah-book .ab-row .ab-tot { z-index: 1; text-align: right; color: #002531; }
.ah-book .ab-spread {
  text-align: center;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em;
  padding: 4px 0;
  background: #FFFFFF;
  border-radius: 4px;
  color: #2D1A0C;
}
.ah-book .ab-foot {
  display: flex; justify-content: space-between;
  padding-top: 8px; border-top: 1px solid rgba(127,97,75,0.14);
  font-size: 10.5px; color: #5A6B75; letter-spacing: 0.08em;
}
.ah-book .ab-foot .ab-pill { background: rgba(127,97,75,0.10); color: #7F614B; padding: 3px 8px; border-radius: 999px; font-weight: 800; }

/* ---------- 6 · TIER-COMPARATOR (accounts/index interactive) ---------- */
.tier-compare {
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    radial-gradient(800px 500px at 0% 0%, rgba(31,95,168,0.06), transparent 70%),
    linear-gradient(180deg, #FFFCF6 0%, #F9F5EC 100%);
}
.tier-compare .s-title { text-align: center; }
.tier-compare .tc-toggle {
  display: inline-flex; gap: 6px;
  padding: 6px;
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.16);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(31,95,168,0.06);
  margin: 24px auto 28px;
  max-width: 100%;
}
.tier-compare .tc-toggle button {
  padding: 10px 18px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: #2F4856;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.tier-compare .tc-toggle button.active {
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(31,95,168,0.30);
}
.tier-compare .tc-toggle button[data-tier="prime"].active { background: #1F8F4A; }
.tier-compare .tc-toggle button[data-tier="pro"].active   { background: #1F5FA8; }
.tier-compare .tc-toggle button[data-tier="elite"].active { background: #7F614B; }
.tier-compare .tc-toggle button:hover { background: rgba(31,95,168,0.06); }
.tier-compare .tc-toggle button.active:hover { background: inherit; }

.tier-compare .tc-panels {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.14);
  border-radius: 22px;
  padding: clamp(20px, 3vw, 40px);
  box-shadow: 0 22px 60px rgba(0,37,49,0.08);
  min-height: 280px;
}
.tier-compare .tc-panel { display: none; }
.tier-compare .tc-panel.active { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; animation: tc-fade 0.4s ease-out; }
@media (max-width: 720px) { .tier-compare .tc-panel.active { grid-template-columns: 1fr; } }
@keyframes tc-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.tier-compare .tc-panel h3 {
  font-size: clamp(22px, 2.8vw, 30px);
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: #002531;
}
.tier-compare .tc-panel .tc-tagline { font-size: 14px; color: #5A6B75; margin: 0 0 14px; }
.tier-compare .tc-spec {
  display: grid; gap: 10px;
  margin-bottom: 18px;
}
.tier-compare .tc-spec-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(31,95,168,0.04);
  border-radius: 10px;
  font-size: 13.5px;
}
.tier-compare .tc-spec-row .tc-lab { color: #5A6B75; font-weight: 600; }
.tier-compare .tc-spec-row .tc-val { font-family: 'Courier New', monospace; font-weight: 900; color: #002531; }
.tier-compare .tc-panel[data-tier="prime"] .tc-spec-row .tc-val { color: #1F8F4A; }
.tier-compare .tc-panel[data-tier="pro"]   .tc-spec-row .tc-val { color: #1F5FA8; }
.tier-compare .tc-panel[data-tier="elite"] .tc-spec-row .tc-val { color: #7F614B; }

.tier-compare .tc-cta .btn { width: auto; }
.tier-compare .tc-art {
  display: grid; place-items: center;
  background: linear-gradient(160deg, #F4F8FD, #FFFFFF);
  border-radius: 16px;
  padding: 22px;
  min-height: 260px;
  border: 1px solid rgba(31,95,168,0.10);
}

/* ---------- 7 · ONBOARDING CHECKLIST (prime page) ---------- */
.onboarding {
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(31,143,74,0.08), transparent 70%),
    linear-gradient(180deg, #F2F8F3 0%, #FFFFFF 100%);
}
.onboarding .s-title { text-align: center; }
.onboarding .ob-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
  position: relative;
}
@media (max-width: 900px) { .onboarding .ob-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .onboarding .ob-list { grid-template-columns: 1fr; } }
.onboarding .ob-step {
  background: #FFFFFF;
  border: 1px solid rgba(31,143,74,0.16);
  border-radius: 16px;
  padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.onboarding .ob-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(31,143,74,0.16);
}
.onboarding .ob-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1F8F4A, #5DD895);
  color: #FFFFFF;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 900;
  font-family: 'Courier New', monospace;
  box-shadow: 0 8px 18px rgba(31,143,74,0.30);
}
.onboarding .ob-step h4 { font-size: 15px; margin: 4px 0 0; color: #002531; }
.onboarding .ob-step p { font-size: 13px; line-height: 1.5; color: #2F4856; margin: 0; }
.onboarding .ob-step .ob-time {
  margin-top: auto; padding-top: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  color: #1F8F4A;
}

/* ---------- 8 · SPREAD-SAVINGS CALCULATOR (pro page) ---------- */
.spread-calc {
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    radial-gradient(700px 400px at 0% 0%, rgba(31,95,168,0.08), transparent 70%),
    linear-gradient(180deg, #ECF3FB 0%, #FFFFFF 100%);
}
.spread-calc .s-title { text-align: center; }
.spread-calc .sc-card {
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.14);
  border-radius: 22px;
  padding: clamp(20px, 3vw, 40px);
  box-shadow: 0 22px 60px rgba(0,37,49,0.06);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  margin-top: 28px;
}
@media (max-width: 720px) { .spread-calc .sc-card { grid-template-columns: 1fr; } }
.spread-calc .sc-inputs { display: grid; gap: 14px; }
.spread-calc .sc-field { display: grid; gap: 6px; }
.spread-calc .sc-field label { font-size: 12px; font-weight: 800; letter-spacing: 0.10em; color: #1F5FA8; text-transform: uppercase; }
.spread-calc .sc-field input[type=range] { width: 100%; accent-color: #1F5FA8; }
.spread-calc .sc-field .sc-readout {
  font-family: 'Courier New', monospace;
  font-size: 18px; font-weight: 900;
  color: #002531;
}
.spread-calc .sc-result {
  display: grid; gap: 12px; align-content: center;
  padding: 22px;
  background: linear-gradient(135deg, #1F5FA8, #002531);
  color: #FFFFFF;
  border-radius: 18px;
  text-align: center;
}
.spread-calc .sc-result .sc-lab { font-size: 11px; letter-spacing: 0.14em; opacity: 0.85; }
.spread-calc .sc-result .sc-big {
  font-family: 'Courier New', monospace;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  letter-spacing: -0.01em;
}
.spread-calc .sc-result .sc-sub { font-size: 12px; opacity: 0.78; }

/* ---------- 9 · BESPOKE LIQUIDITY (elite page) ---------- */
.liq-routing {
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(127,97,75,0.10), transparent 70%),
    linear-gradient(180deg, #FFFCF6 0%, #F6EFE0 100%);
}
.liq-routing .s-title { text-align: center; }
.liq-routing .lr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 28px;
  align-items: center;
}
@media (max-width: 900px) { .liq-routing .lr-grid { grid-template-columns: 1fr; } }
.liq-routing .lr-text { display: grid; gap: 14px; }
.liq-routing .lr-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 6px;
}
.liq-routing .lr-stat {
  background: #FFFFFF;
  border: 1px solid rgba(127,97,75,0.18);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.liq-routing .lr-stat .num {
  font-family: 'Courier New', monospace;
  font-size: 22px; font-weight: 900;
  color: #7F614B;
}
.liq-routing .lr-stat .lab {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #5A6B75;
  text-transform: uppercase;
}
.liq-routing .lr-diagram {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(127,97,75,0.18);
  border-radius: 18px;
  padding: 22px;
  min-height: 340px;
  display: grid; place-items: center;
  box-shadow: 0 20px 50px rgba(45,26,12,0.06);
}
.liq-routing .lr-diagram svg { width: 100%; height: 100%; max-height: 320px; }
.liq-routing .lr-diagram .lr-beam {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: lr-flow 2.4s linear infinite;
}
.liq-routing .lr-diagram .lr-beam.b2 { animation-delay: -0.6s; }
.liq-routing .lr-diagram .lr-beam.b3 { animation-delay: -1.2s; }
.liq-routing .lr-diagram .lr-beam.b4 { animation-delay: -1.8s; }
@keyframes lr-flow { to { stroke-dashoffset: -200; } }
.liq-routing .lr-diagram .lr-node-core {
  fill: #7F614B; transform-origin: center;
  animation: lr-pulse 2s ease-in-out infinite;
}
@keyframes lr-pulse {
  0%,100% { opacity: 1; }
  50%     { opacity: 0.65; }
}

/* ---------- 10 · RM CARD (elite page) ---------- */
.rm-card {
  padding: clamp(48px, 7vw, 80px) 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFCF6 100%);
}
.rm-card .s-title { text-align: center; }
.rm-card .rmc-frame {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid rgba(127,97,75,0.18);
  border-radius: 22px;
  padding: 28px;
  margin-top: 24px;
  max-width: 820px;
  margin-inline: auto;
  box-shadow: 0 22px 50px rgba(45,26,12,0.06);
}
@media (max-width: 640px) { .rm-card .rmc-frame { grid-template-columns: 1fr; text-align: center; } }
.rm-card .rmc-avatar {
  width: 200px; height: 200px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 40%, rgba(127,97,75,0.18) 0%, transparent 65%),
    linear-gradient(160deg, #FFFCF6 0%, #F6EFE0 100%);
  border: 1px solid rgba(127,97,75,0.20);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
  font-family: 'Courier New', monospace;
  font-size: 64px;
  font-weight: 900;
  color: #7F614B;
  letter-spacing: -0.02em;
  margin: 0 auto;
}
.rm-card .rmc-avatar::after {
  content: '';
  position: absolute; inset: 8px;
  border: 1.5px dashed rgba(127,97,75,0.30);
  border-radius: 18px;
}
.rm-card .rmc-info h3 { margin: 0 0 4px; font-size: clamp(22px, 2.6vw, 28px); color: #002531; }
.rm-card .rmc-info .rmc-role { font-size: 12px; font-weight: 800; letter-spacing: 0.10em; color: #7F614B; text-transform: uppercase; }
.rm-card .rmc-info p { font-size: 14px; color: #2F4856; line-height: 1.55; margin: 10px 0; }
.rm-card .rmc-info .rmc-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 8px;
}
.rm-card .rmc-info .rmc-meta span {
  font-size: 11.5px; font-weight: 700;
  padding: 4px 10px;
  background: rgba(127,97,75,0.08);
  border: 1px solid rgba(127,97,75,0.16);
  border-radius: 999px;
  color: #7F614B;
}

/* ---------- 11 · NEW-FUNCTION BUTTONS · per-tier ---------- */
.acc-cta-prime,
.acc-cta-pro,
.acc-cta-elite {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  color: #FFFFFF;
  border: 0;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.acc-cta-prime { background: linear-gradient(135deg, #1F8F4A 0%, #167539 100%); box-shadow: 0 14px 30px rgba(31,143,74,0.30); }
.acc-cta-pro   { background: linear-gradient(135deg, #1F5FA8 0%, #002531 100%); box-shadow: 0 14px 30px rgba(31,95,168,0.30); }
.acc-cta-elite { background: linear-gradient(135deg, #7F614B 0%, #2D1A0C 100%); box-shadow: 0 14px 30px rgba(127,97,75,0.36); border-radius: 999px; }
.acc-cta-prime:hover, .acc-cta-pro:hover, .acc-cta-elite:hover {
  transform: translateY(-2px);
}
.acc-cta-prime:hover { box-shadow: 0 18px 38px rgba(31,143,74,0.40); }
.acc-cta-pro:hover   { box-shadow: 0 18px 38px rgba(31,95,168,0.40); }
.acc-cta-elite:hover { box-shadow: 0 18px 38px rgba(127,97,75,0.46); }
.acc-cta-prime svg, .acc-cta-pro svg, .acc-cta-elite svg {
  width: 16px !important; height: 16px !important; flex-shrink: 0;
}
.acc-cta-prime .cta-pulse,
.acc-cta-pro .cta-pulse,
.acc-cta-elite .cta-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
  position: relative;
}
.acc-cta-prime .cta-pulse::after,
.acc-cta-pro .cta-pulse::after,
.acc-cta-elite .cta-pulse::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%; background: #FFFFFF;
  animation: ah-ping 1.6s ease-out infinite;
}

/* ---------- 12 · RESPONSIVE FINE-TUNE ---------- */
@media (max-width: 540px) {
  .account-hero h1 { font-size: clamp(28px, 8vw, 38px); }
  .account-hero .ah-cta-row .btn,
  .account-hero .ah-cta-row .acc-cta-prime,
  .account-hero .ah-cta-row .acc-cta-pro,
  .account-hero .ah-cta-row .acc-cta-elite { flex: 1; min-width: 0; justify-content: center; }
  .ah-ladder, .ah-growth, .ah-desk, .ah-book { max-width: 100%; aspect-ratio: 4/3; }
  .ah-book .ab-rows { font-size: 10.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .ah-ladder .al-bar::after,
  .ah-growth .ag-line, .ah-growth .ag-fill, .ah-growth .ag-marker,
  .ah-desk .ad-gauge::after, .ah-desk .ad-foot .ad-live::before,
  .ah-book .ab-row .ab-bar,
  .liq-routing .lr-diagram .lr-beam,
  .liq-routing .lr-diagram .lr-node-core,
  .account-hero .ah-eyebrow .pulse-dot::after,
  .ah-ladder .al-head .al-pip::before,
  .acc-cta-prime .cta-pulse::after, .acc-cta-pro .cta-pulse::after, .acc-cta-elite .cta-pulse::after {
    animation: none !important;
  }
  .ah-ladder .al-bar::after { transform: scaleX(1) !important; opacity: 1 !important; }
  .ah-growth .ag-line { stroke-dashoffset: 0 !important; }
  .ah-growth .ag-fill, .ah-growth .ag-marker { opacity: 1 !important; transform: none !important; }
  .ah-desk .ad-gauge::after { width: 80%; }
  .ah-book .ab-row .ab-bar { transform: scaleX(1) !important; opacity: 1 !important; }
}

/* ============================================================================
   ACCOUNTS · TIER SPEC ASIDE TABLE · mobile cutoff fix
   The inline <table> right column was being clipped on phones.
   ============================================================================ */
.account-spec-fix,
section .container aside.card {
  width: 100%;
  max-width: 100%;
  overflow: visible !important;
  box-sizing: border-box;
}
section .container aside.card > table {
  width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse;
  word-break: keep-all;
}
section .container aside.card > table tr td:first-child {
  width: 52%;
  padding-right: 10px;
  white-space: normal;
  word-break: break-word;
}
section .container aside.card > table tr td:last-child {
  width: 48%;
  text-align: right;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  padding-left: 6px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
  /* Switch tier spec aside to stacked rows on small screens — guarantee values visible */
  section .container aside.card { padding: 20px 18px !important; }
  section .container aside.card > table tr td {
    font-size: 13px !important;
    padding: 9px 0 !important;
  }
  section .container aside.card > table tr td:first-child {
    width: 56%;
    font-size: 12.5px !important;
  }
  section .container aside.card > table tr td:last-child {
    width: 44%;
    font-size: 13px !important;
  }
}

@media (max-width: 480px) {
  /* On very narrow screens · stack each row vertically with label above + value below */
  section .container aside.card > table,
  section .container aside.card > table tbody,
  section .container aside.card > table tr {
    display: block !important;
    width: 100% !important;
  }
  section .container aside.card > table tr td {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    padding: 6px 0 !important;
    border-bottom: 0 !important;
  }
  section .container aside.card > table tr td:first-child {
    color: var(--muted) !important;
    font-size: 11.5px !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    padding-top: 12px !important;
  }
  section .container aside.card > table tr td:last-child {
    color: var(--ink) !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid var(--border) !important;
  }
  section .container aside.card > table tr:last-child td:last-child {
    border-bottom: 0 !important;
  }
}
