.nav-lang {
  display: flex;
  align-items: center;
}

.lang-select {
  min-width: 68px;
  height: 34px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--rim);
  border-radius: 999px;
  background: rgba(8, 12, 18, 0.82);
  color: var(--t0);
  font: 700 11px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 1px),
    calc(100% - 11px) calc(50% - 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.lang-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.14);
}

@media (max-width: 820px) {
  .nav-lang {
    order: -1;
    width: 100%;
    justify-content: flex-end;
    margin-bottom: 8px;
  }
}
/* ═══════════════════════════════════════════════════════════
   BUNKER13 CAPITAL — Design System
   Inspired by the Babylonian winged lion crest
   Royal gold · Sapphire blue · Ancient power
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=IBM+Plex+Mono:wght@400;500;600;700&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* ── Backgrounds ── */
  --ink:   #020308;
  --bg0:   #03050d;
  --bg1:   #060a16;
  --bg2:   #0a1020;
  --bg3:   #0e1628;
  --bg4:   #131e34;
  --bg5:   #18253e;
  --rim:   #1a2d4a;
  --wire:  #243d60;
  --fog:   #2e4d78;

  /* ── Text ── */
  --t0: #e8eef8;
  --t1: #b8c8e0;
  --t2: #6a88a8;
  --t3: #3a5070;
  --t4: #1e3050;

  /* ── Royal Gold (from logo) ── */
  --gold:    #c9a84c;
  --gold1:   #e8c860;
  --gold2:   #f0d878;
  --gold-d:  rgba(201,168,76,.12);
  --gold-b:  rgba(201,168,76,.28);
  --gold-glow: 0 0 40px rgba(201,168,76,.2);

  /* ── Sapphire Blue (from logo gems) ── */
  --sapphire:   #1a4fa8;
  --sapphire1:  #2060c8;
  --sapphire2:  #3070e0;
  --sapphire-d: rgba(26,79,168,.15);
  --sapphire-b: rgba(26,79,168,.35);

  /* ── Signal ── */
  --up:   #00c896;
  --up1:  rgba(0,200,150,.12);
  --upB:  rgba(0,200,150,.28);
  --dn:   #e84060;
  --dn1:  rgba(232,64,96,.12);
  --dnB:  rgba(232,64,96,.28);

  /* ── Typography ── */
  --display: 'Cinzel', serif;          /* headings — regal/heraldic */
  --mono:    'IBM Plex Mono', monospace;
  --sans:    'IBM Plex Sans', sans-serif;

  /* ── Borders ── */
  --border-gold: 1px solid var(--gold-b);
  --border-dim:  1px solid var(--rim);

  /* ── Shadows ── */
  --s1: 0 2px 8px rgba(0,0,0,.5);
  --s2: 0 6px 24px rgba(0,0,0,.6);
  --s3: 0 16px 56px rgba(0,0,0,.7);
  --s4: 0 32px 100px rgba(0,0,0,.8);
  --s-gold: 0 0 0 1px var(--gold-b), 0 8px 32px rgba(201,168,76,.15);

  /* ── Spacing Scale ── */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* ── Component tokens ── */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 9999px;

  --card-pad: var(--sp-6);
  --card-radius: var(--radius-lg);
  --card-border: 1px solid var(--rim);
  --card-bg: var(--bg2);
  --card-glass: rgba(10, 16, 32, 0.75);

  --btn-h-sm:  32px;
  --btn-h-md:  42px;
  --btn-h-lg:  52px;
  --btn-pad-x: var(--sp-6);
  --btn-font:  13px;
  --btn-font-lg: 15px;

  /* ── Animation Durations ── */
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 400ms;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg0);
  color: var(--t1);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg1); }
::-webkit-scrollbar-thumb { background: var(--bg5); border-radius: 4px; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--sans); }

/* ── Typography ── */
.t-display { font-family: var(--display); font-weight: 700; letter-spacing: .04em; }
.t-hero  { font-size: clamp(42px, 6.5vw, 84px); font-weight: 700; line-height: 1.06; letter-spacing: -.01em; }
.t-h1    { font-size: clamp(34px, 4.5vw, 60px);  font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.t-h2    { font-size: clamp(24px, 3.2vw, 40px);  font-weight: 700; line-height: 1.15; }
.t-h3    { font-size: clamp(18px, 2.2vw, 26px);  font-weight: 700; line-height: 1.25; }
.t-body  { font-size: 15px; line-height: 1.75; }
.t-sm    { font-size: 13px; line-height: 1.6; }
.t-xs    { font-size: 11px; line-height: 1.5; }
.t-mono  { font-family: var(--mono); }
.t-gold  { color: var(--gold); }
.t-up    { color: var(--up); }
.t-dn    { color: var(--dn); }
.t-muted { color: var(--t2); }
.t-dim   { color: var(--t3); }
.t-center { text-align: center; }
.t-bold  { font-weight: 700; }
.accent  { color: var(--gold); }
.accent-blue { color: var(--sapphire2); }

/* ── Layout ── */
.wrap    { max-width: 1260px; margin: 0 auto; padding: 0 32px; }
.wrap-sm { max-width: 820px;  margin: 0 auto; padding: 0 32px; }
.section    { padding: 100px 0; }
.section-sm { padding: 64px 0; }

/* ── Navigation ── */
.nav {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; gap: var(--sp-4);
  padding: 0 var(--sp-8);
  height: 64px;
  background: rgba(3,5,13,.92);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(201,168,76,.12);
  box-shadow: 0 1px 0 rgba(201,168,76,.06);
}

.nav-logo {
  display: flex; align-items: center; gap: var(--sp-3);
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-img {
  width: 40px; height: 40px; object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(201,168,76,.35));
  transition: filter .2s;
}
.nav-logo:hover .nav-logo-img { filter: drop-shadow(0 4px 18px rgba(201,168,76,.6)); }
.nav-logo-text {
  font-family: var(--display);
  font-size: 15px; font-weight: 700;
  letter-spacing: .12em; color: var(--t0);
  line-height: 1.1;
}
.nav-logo-text .cap {
  display: block; font-size: 9px;
  letter-spacing: .35em; color: var(--gold);
  opacity: .85;
}

.nav-links {
  display: flex; align-items: center; gap: var(--sp-1);
  flex: 1; margin-left: var(--sp-4);
}

.nav-link {
  display: flex; align-items: center;
  height: 36px; padding: 0 var(--sp-4);
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600;
  color: var(--t1); text-decoration: none;
  transition: color .15s, background .15s;
  letter-spacing: .02em;
}
.nav-link:hover { color: var(--t0); background: var(--bg3); }
.nav-link.active { color: var(--gold); }

/* Dropdown */
.nav-dd { position: relative; }
.nav-dd-btn {
  display: flex; align-items: center; gap: 5px;
  height: 36px; padding: 0 var(--sp-4);
  border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  color: var(--t1); background: none; border: none; cursor: pointer;
  transition: color .15s, background .15s;
  letter-spacing: .02em;
}
.nav-dd-btn:hover { color: var(--t0); background: var(--bg3); }
.nav-dd.open .nav-dd-btn { color: var(--gold); }
.arr { font-size: 10px; transition: transform .2s; }
.nav-dd.open .arr { transform: rotate(180deg); }

.dd-panel {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--bg2);
  border: 1px solid var(--rim);
  border-radius: var(--radius-lg);
  box-shadow: var(--s3);
  min-width: 220px; padding: var(--sp-2);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 100;
}
.nav-dd.open .dd-panel { opacity: 1; visibility: visible; transform: none; }

.dd-item {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-3);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background .12s;
}
.dd-item:hover { background: var(--bg4); }
.dd-icon { font-size: 18px; flex-shrink: 0; width: 28px; text-align: center; }
.dd-name { font-size: 13px; font-weight: 600; color: var(--t0); }
.dd-sub { font-size: 11px; color: var(--t2); margin-top: 1px; }

.nav-right { display: flex; align-items: center; gap: var(--sp-3); margin-left: auto; }

/* Active page highlight */
.nav-link[href].active,
a.nav-link[aria-current="page"] { color: var(--gold); }

/* Mobile hamburger */
.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; border: none; background: none;
  cursor: pointer; padding: 0; margin-left: auto;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--t1); border-radius: 2px;
  transition: all .25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav { padding: 0 var(--sp-5); }
  .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--bg1);
    border-top: 1px solid var(--rim);
    padding: var(--sp-6);
    gap: var(--sp-2);
    z-index: 999;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--t-base) ease-in-out;
    opacity: 0; visibility: hidden;
  }
  .nav-links.mobile-open {
    transform: translateX(0);
    opacity: 1; visibility: visible;
  }
  .nav-link, .nav-dd-btn {
    width: 100%;
    height: 48px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    border-radius: 0;
  }
  .dd-panel {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: var(--bg2);
    margin: 8px 0; border-radius: var(--radius-md);
  }
  .nav-right { display: none; }
  .nav-burger { display: flex; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-h-md);
  padding: 0 var(--btn-pad-x);
  border-radius: var(--radius-md);
  font-family: var(--mono);
  font-size: var(--btn-font);
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.btn-sm { height: var(--btn-h-sm); font-size: 12px; padding: 0 var(--sp-4); }
.btn-lg { height: var(--btn-h-lg); font-size: var(--btn-font-lg); padding: 0 var(--sp-8); }
.btn:active { transform: scale(.97); }
.btn-md  { font-size: 14px; padding: 10px 22px; }
.btn-xs  { font-size: 11px; padding: 4px 10px; border-radius: 5px; }
.btn-block { width: 100%; }

/* Gold CTA — matches logo */
.btn-gold {
  background: linear-gradient(135deg, var(--gold1), var(--gold));
  color: var(--ink); font-weight: 700;
  box-shadow: 0 2px 16px rgba(201,168,76,.3);
}
.btn-gold:hover { background: linear-gradient(135deg, var(--gold2), var(--gold1)); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(201,168,76,.4); }

/* Sapphire blue CTA */
.btn-blue {
  background: linear-gradient(135deg, var(--sapphire2), var(--sapphire1));
  color: #fff; font-weight: 700;
}
.btn-blue:hover { opacity: .9; transform: translateY(-1px); }

.btn-outline {
  background: transparent; border: 1px solid var(--rim); color: var(--t1);
}
.btn-outline:hover { border-color: var(--gold-b); color: var(--gold); background: var(--gold-d); }

.btn-ghost { background: var(--bg3); border: 1px solid var(--rim); color: var(--t1); }
.btn-ghost:hover { background: var(--bg4); border-color: var(--wire); }

.btn-danger { background: var(--dn1); border: 1px solid var(--dnB); color: var(--dn); }

/* Nav button variants */
.btn-nav-ghost { background: var(--bg3); border: 1px solid var(--rim); color: var(--t1); font-size: 13px; padding: 7px 17px; }
.btn-nav-gold  { background: linear-gradient(135deg, var(--gold1), var(--gold)); color: var(--ink); font-size: 13px; padding: 7px 17px; font-weight: 700; }
.btn-nav-gold:hover { box-shadow: 0 4px 20px rgba(201,168,76,.35); }

/* ── BADGE / TAG ── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--mono); font-weight: 700; font-size: 9px;
  letter-spacing: .09em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 20px;
}
.badge-gold    { background: var(--gold-d); color: var(--gold); border: 1px solid var(--gold-b); }
.badge-up      { background: var(--up1); color: var(--up); border: 1px solid var(--upB); }
.badge-dn      { background: var(--dn1); color: var(--dn); border: 1px solid var(--dnB); }
.badge-muted   { background: var(--bg4); color: var(--t3); border: 1px solid var(--rim); }
.badge-blue    { background: var(--sapphire-d); color: var(--sapphire2); border: 1px solid var(--sapphire-b); }
.badge-live    { background: var(--dn1); color: var(--dn); border: 1px solid var(--dnB); animation: blink 1.8s infinite; }
.badge-soon    { background: var(--bg4); color: var(--t3); border: 1px solid var(--rim); font-style: italic; opacity: 0.7; }
.badge-beta    { background: var(--sapphire-d); color: var(--sapphire2); border: 1px solid var(--sapphire-b); }
.badge-new     { background: var(--up1); color: var(--up); border: 1px solid var(--upB); }

.tag { font-size: 10px; font-weight: 700; font-family: var(--mono); letter-spacing: .06em; padding: 3px 9px; border-radius: 20px; }
.tag-free   { background: var(--up1); color: var(--up); border: 1px solid var(--upB); }
.tag-paid   { background: var(--gold-d); color: var(--gold); border: 1px solid var(--gold-b); }
.tag-chrome { background: var(--sapphire-d); color: var(--sapphire2); border: 1px solid var(--sapphire-b); }
.tag-pine   { background: rgba(155,109,255,.1); color: #a78bfa; border: 1px solid rgba(155,109,255,.25); }

/* ── CARD ── */
.card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: var(--card-pad);
  transition: border-color .2s, box-shadow .2s;
}
.card:hover {
  border-color: var(--gold-b);
  box-shadow: var(--s-gold);
}
.card-body { padding: 18px; }
.card-hdr  {
  padding: 11px 18px; background: var(--bg3); border-bottom: 1px solid var(--rim);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.card-title { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }

/* Gold-bordered card — premium */
.card-premium {
  background: var(--bg2);
  border: 1px solid var(--gold-b);
  border-radius: 14px;
  box-shadow: var(--s-gold);
  overflow: hidden;
}
.card-premium::before {
  content: ''; display: block; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Tool card */
.tool-card {
  background: var(--bg2); border: 1px solid var(--rim);
  border-radius: 14px; padding: 28px;
  transition: all .22s; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
}
.tool-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity .22s;
}
.tool-card:hover { border-color: var(--gold-b); background: var(--bg3); transform: translateY(-3px); box-shadow: var(--s3), var(--gold-glow); }
.tool-card:hover::after { opacity: 1; }

.glass-card {
  background: var(--card-glass);
  backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--card-radius);
  box-shadow: var(--s2);
}
.glass-card-gold {
  background: rgba(201, 168, 76, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), var(--gold-glow);
}

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 120px 32px 80px; text-align: center;
  position: relative; overflow: hidden;
}

/* Animated grid background */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(201,168,76,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.04) 1px, transparent 1px),
    linear-gradient(rgba(26,79,168,.04) 2px, transparent 2px),
    linear-gradient(90deg, rgba(26,79,168,.04) 2px, transparent 2px);
  background-size: 60px 60px, 60px 60px, 120px 120px, 120px 120px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 50%, black 30%, transparent 80%);
}

/* Radial glow behind hero content */
.hero-glow {
  position: absolute; pointer-events: none;
  width: 800px; height: 500px; top: 10%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center,
    rgba(201,168,76,.08) 0%,
    rgba(26,79,168,.05) 40%,
    transparent 70%);
}

/* Corner ornaments */
.hero::before, .hero::after {
  content: ''; position: absolute;
  width: 200px; height: 200px; pointer-events: none; opacity: .15;
  background-image: radial-gradient(circle at center, var(--gold) 0%, transparent 70%);
}
.hero::before { top: 0; left: 0; }
.hero::after  { bottom: 0; right: 0; }

/* Heraldic pill */
.hero-crest {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--gold-d), var(--sapphire-d));
  border: 1px solid var(--gold-b);
  color: var(--gold); font-size: 11px; font-weight: 700;
  font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 20px; border-radius: 30px; margin-bottom: 36px;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 1px rgba(201,168,76,.1), 0 4px 24px rgba(201,168,76,.12);
}
.hero-crest::before { content: '⚜'; font-size: 13px; }
.hero-crest::after  { content: '⚜'; font-size: 13px; }

/* ── PAGE HEADER ── */
.page-header {
  padding: 140px 32px 80px; text-align: center; position: relative; overflow: hidden;
}
.page-header-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(201,168,76,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, black, transparent);
}
.page-header-glow {
  position: absolute; pointer-events: none; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(201,168,76,.07), transparent);
}

/* ── DIVIDER — Heraldic ── */
.divider-crest {
  display: flex; align-items: center; gap: 16px;
  color: var(--gold); font-size: 14px; margin: 8px 0;
}
.divider-crest::before, .divider-crest::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-b));
}
.divider-crest::after { background: linear-gradient(-90deg, transparent, var(--gold-b)); }

/* ── EYEBROW ── */
.eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); flex-shrink: 0; }

/* ── TICKER BAR ── */
.ticker-bar {
  background: var(--bg1);
  border-top: 1px solid rgba(201,168,76,.12);
  border-bottom: 1px solid rgba(201,168,76,.12);
  height: 36px; overflow: hidden; position: relative;
}
.ticker-bar::before, .ticker-bar::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.ticker-bar::before { left: 0; background: linear-gradient(90deg, var(--bg1), transparent); }
.ticker-bar::after  { right: 0; background: linear-gradient(-90deg, var(--bg1), transparent); }
.ticker-track { display: flex; white-space: nowrap; animation: tickScroll 55s linear infinite; height: 100%; align-items: center; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 12px; padding: 0 28px; border-right: 1px solid var(--rim); height: 100%; }
.ti-sym   { font-weight: 700; color: var(--t0); }
.ti-price { color: var(--t1); }
.ti-up  { color: var(--up); }
.ti-dn  { color: var(--dn); }
@keyframes tickScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── PRICING ── */
.price-card {
  background: var(--bg2); border: 1px solid var(--rim);
  border-radius: 14px; padding: 28px 22px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden; transition: all .2s;
}
.price-card:hover { border-color: var(--wire); transform: translateY(-2px); box-shadow: var(--s3); }
.price-card.featured {
  border-color: var(--gold-b);
  background: linear-gradient(180deg, rgba(201,168,76,.06) 0%, var(--bg2) 50%);
  box-shadow: var(--s-gold);
}
.price-card.featured::after {
  content: 'MOST POPULAR'; position: absolute; top: 0; right: 0;
  background: linear-gradient(135deg, var(--gold1), var(--gold));
  color: var(--ink); font-size: 9px; font-weight: 700; font-family: var(--mono); letter-spacing: .1em;
  padding: 5px 14px; border-radius: 0 14px 0 10px;
}
.price-tier  { font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; margin-bottom: 12px; }
.price-amt   { font-size: 44px; font-weight: 700; font-family: var(--mono); line-height: 1; display: flex; align-items: flex-start; gap: 4px; }
.price-amt sup { font-size: 20px; font-weight: 400; margin-top: 8px; color: var(--gold); }
.price-per   { font-size: 12px; color: var(--t3); margin-bottom: 20px; margin-top: 5px; }
.price-sep   { height: 1px; background: linear-gradient(90deg, var(--gold-b), transparent); margin-bottom: 20px; }
.price-feats { list-style: none; flex: 1; display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.price-feats li { font-size: 13px; display: flex; align-items: flex-start; gap: 9px; line-height: 1.45; }
.price-feats li::before { content: '✦'; color: var(--gold); font-size: 10px; flex-shrink: 0; margin-top: 2px; }
.price-feats li.no::before { content: '–'; color: var(--t4); }
.price-feats li.no { color: var(--t3); }
.price-cta { display: block; width: 100%; padding: 12px; border-radius: 8px; border: none; font-size: 14px; font-weight: 700; font-family: var(--sans); text-align: center; text-decoration: none; transition: all .15s; cursor: pointer; }
.cta-gold  { background: linear-gradient(135deg, var(--gold1), var(--gold)); color: var(--ink); }
.cta-gold:hover  { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(201,168,76,.35); }
.cta-ghost { background: var(--bg4); color: var(--t1); border: 1px solid var(--rim); }
.cta-ghost:hover { border-color: var(--gold-b); color: var(--gold); }

/* ── STAT CARDS ── */
.stat-card { background: var(--bg2); border: 1px solid var(--rim); border-radius: 10px; padding: 18px; }
.sc-lbl { font-size: 10px; color: var(--t3); font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 7px; }
.sc-val { font-size: 28px; font-weight: 700; font-family: var(--mono); line-height: 1.1; }
.sc-sub { font-size: 11px; color: var(--t3); margin-top: 4px; }
.sc-gold { color: var(--gold); }
.sc-up   { color: var(--up); }
.sc-dn   { color: var(--dn); }

/* ── CTA BAND ── */
.cta-band {
  background: var(--bg2); border: 1px solid var(--gold-b);
  border-radius: 18px; padding: 64px 52px; text-align: center;
  position: relative; overflow: hidden;
  box-shadow: var(--s-gold);
}
.cta-band::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.cta-band::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(201,168,76,.06), transparent);
}

/* ── TESTIMONIALS ── */
.testi-card { background: var(--bg2); border: 1px solid var(--rim); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.testi-stars { color: var(--gold); font-size: 13px; letter-spacing: 3px; }
.testi-text  { font-size: 14px; line-height: 1.75; color: var(--t1); font-style: italic; flex: 1; }
.testi-text::before { content: '"'; color: var(--gold); font-size: 24px; font-family: var(--display); line-height: .5; display: block; margin-bottom: 8px; }
.testi-name  { font-size: 13px; font-weight: 700; color: var(--t0); }
.testi-role  { font-size: 11px; color: var(--t3); }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--bg5); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--gold); font-family: var(--display); border: 1px solid var(--gold-b); }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--rim); }
.faq-q { width: 100%; background: none; border: none; color: var(--t0); font-family: var(--sans); font-size: 15px; font-weight: 600; padding: 22px 0; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-icon { color: var(--gold); font-size: 22px; font-weight: 300; transition: transform .2s; flex-shrink: 0; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; font-size: 14px; color: var(--t2); padding-bottom: 22px; line-height: 1.8; max-width: 700px; }
.faq-item.open .faq-a { display: block; }

/* ── STEPS ── */
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--rim); }
.step:last-child { border-bottom: none; }
.step-num { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--gold1), var(--gold)); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(201,168,76,.3); }
.step-title { font-size: 16px; font-weight: 700; margin-bottom: 5px; color: var(--t0); }
.step-desc  { font-size: 13px; color: var(--t2); line-height: 1.65; }

/* ── BLOG ── */
.blog-card { background: var(--bg2); border: 1px solid var(--rim); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: all .2s; }
.blog-card:hover { border-color: var(--gold-b); transform: translateY(-2px); box-shadow: var(--s2); }
.blog-thumb { height: 165px; background: var(--bg3); display: flex; align-items: center; justify-content: center; font-size: 54px; border-bottom: 1px solid var(--rim); }
.blog-body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 9px; }
.blog-cat  { font-size: 10px; font-weight: 700; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.blog-title { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--t0); }
.blog-excerpt { font-size: 13px; color: var(--t2); line-height: 1.65; flex: 1; }
.blog-meta { font-size: 11px; color: var(--t4); font-family: var(--mono); }

/* ── DOCS ── */
.docs-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.docs-sidebar { position: sticky; top: 80px; background: var(--bg2); border: 1px solid var(--rim); border-radius: 10px; padding: 16px; }
.docs-nav-sec { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-family: var(--mono); color: var(--gold); padding: 12px 8px 5px; }
.docs-nav-link { display: block; font-size: 13px; color: var(--t2); padding: 7px 10px; border-radius: 6px; transition: all .13s; border-left: 2px solid transparent; }
.docs-nav-link:hover { color: var(--gold); background: var(--gold-d); }
.docs-nav-link.active { color: var(--gold); background: var(--gold-d); border-left-color: var(--gold); }
.docs-content h2 { font-family: var(--display); font-size: 26px; font-weight: 700; margin: 48px 0 14px; padding-top: 48px; border-top: 1px solid var(--rim); color: var(--t0); letter-spacing: .04em; }
.docs-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.docs-content h3 { font-size: 17px; font-weight: 700; margin: 28px 0 10px; color: var(--gold); }
.docs-content p { font-size: 14px; color: var(--t2); line-height: 1.85; margin-bottom: 14px; }
.docs-content ul { list-style: none; padding: 0; margin-bottom: 16px; }
.docs-content ul li { font-size: 14px; color: var(--t2); padding: 4px 0 4px 22px; position: relative; line-height: 1.65; }
.docs-content ul li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); font-size: 10px; top: 7px; }

/* ── MERCH ── */
.merch-card { background: var(--bg2); border: 1px solid var(--rim); border-radius: 12px; overflow: hidden; cursor: pointer; transition: all .2s; }
.merch-card:hover { border-color: var(--gold-b); transform: translateY(-2px); box-shadow: var(--s2); }
.merch-img { height: 200px; background: var(--bg3); display: flex; align-items: center; justify-content: center; font-size: 60px; position: relative; border-bottom: 1px solid var(--rim); }
.merch-body { padding: 18px; }
.merch-name  { font-size: 14px; font-weight: 700; margin-bottom: 5px; color: var(--t0); }
.merch-price { font-family: var(--mono); font-size: 17px; font-weight: 700; color: var(--gold); }
.merch-sub   { font-size: 11px; color: var(--t3); margin-top: 2px; }

/* ── ALERTS ── */
.alert { border-radius: 8px; padding: 10px 16px; font-size: 13px; line-height: 1.55; }
.alert-info  { background: var(--sapphire-d); border: 1px solid var(--sapphire-b); color: var(--sapphire2); }
.alert-warn  { background: var(--gold-d); border: 1px solid var(--gold-b); color: var(--gold); }
.alert-dn    { background: var(--dn1); border: 1px solid var(--dnB); color: var(--dn); }
.alert-up    { background: var(--up1); border: 1px solid var(--upB); color: var(--up); }

/* ── FORM ── */
.field { display: flex; flex-direction: column; gap: 5px; }
.field-label { font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; font-family: var(--mono); color: var(--t3); }
.field-hint  { font-size: 11px; color: var(--t3); line-height: 1.4; }
.field-row   { display: flex; gap: 12px; }
.field-row .field { flex: 1; }
.input, .select, .textarea {
  background: var(--bg3); border: 1px solid var(--rim);
  border-radius: 7px; color: var(--t0); font-family: var(--mono);
  font-size: 13px; padding: 10px 13px; outline: none; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.1); }
.input::placeholder, .textarea::placeholder { color: var(--t4); }
.textarea { resize: vertical; min-height: 80px; }
.select { cursor: pointer; }
.select option { background: var(--bg2); }

.toggle { position: relative; width: 36px; height: 20px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-track { position: absolute; inset: 0; background: var(--bg5); border-radius: 20px; cursor: pointer; transition: .2s; border: 1px solid var(--rim); }
.toggle-track::before { content: ''; position: absolute; width: 14px; height: 14px; left: 2px; top: 2px; background: var(--t3); border-radius: 50%; transition: .2s; }
.toggle input:checked + .toggle-track { background: var(--gold); border-color: var(--gold); }
.toggle input:checked + .toggle-track::before { transform: translateX(16px); background: var(--ink); }

/* ── FOOTER ── */
.footer { background: var(--bg1); border-top: 1px solid rgba(201,168,76,.12); padding: 72px 32px 36px; }
.footer-grid { display: grid; grid-template-columns: 300px repeat(4,1fr); gap: 48px; margin-bottom: 56px; }
.footer-logo-text { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--t0); margin-bottom: 4px; }
.footer-logo-text span { color: var(--gold); }
.footer-cap { font-size: 10px; font-family: var(--mono); letter-spacing: .2em; color: var(--gold); text-transform: uppercase; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: var(--t3); line-height: 1.65; }
.footer-col h4 { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: var(--t3); padding: 3px 0; transition: color .14s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--rim); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: var(--t4); }
.footer-social { display: flex; gap: 18px; }
.footer-social a { font-size: 12px; color: var(--t4); transition: color .14s; }
.footer-social a:hover { color: var(--gold); }

.nav-user { display: none; align-items: center; gap: 8px; }
.nav-user-link { display: flex; align-items: center; gap: 7px; text-decoration: none; color: var(--t0); }
.nav-user-avatar { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--gold); object-fit: cover; display: none; }
.nav-user-name { font-size: 13px; font-weight: 600; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-user-tier { font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 4px; text-transform: uppercase; }
.page-header-compact { padding-bottom: 40px; }
.page-header-copy { margin-top: 10px; }
.footer-logo-img { height: 60px; margin-bottom: 12px; opacity: 0.9; }
.footer-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(201,168,76,.2), transparent); margin-bottom: 24px; }

.docs-callout { background: rgba(201,168,76,.08); border: 1px solid rgba(201,168,76,.2); border-radius: 8px; padding: 16px; margin: 16px 0; }
.docs-callout-title { color: var(--gold); }
.docs-pre { background: rgba(0,0,0,.3); padding: 12px; border-radius: 6px; overflow-x: auto; }
.docs-pre-top { margin-top: 8px; }
.docs-inline-row { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.docs-bridge-url { width: 220px; }
.docs-status { font-size: 12px; font-family: var(--mono); }

.news-marquee { display: flex; gap: 0; font-family: var(--mono); font-size: 11px; overflow: hidden; flex: 1; align-items: center; }
.news-muted-inline { color: var(--t2); padding-left: 12px; }
.news-loading-box { padding: 40px; text-align: center; color: var(--t2); font-family: var(--mono); font-size: 12px; }
.news-col-surface { background: var(--bg1); }
.news-hidden { display: none; }
.news-pad-compact { padding: 0 8px 8px; }
.news-loading-compact { padding: 8px; font-size: 11px; color: var(--t2); font-family: var(--mono); }
.news-loading-card { padding: 12px; text-align: center; color: var(--t2); font-size: 11px; }
.news-loading-grid { grid-column: 1 / -1; }
.fear-widget { padding: 8px 8px 4px; }
.fear-card { background: var(--bg3); border: 1px solid var(--rim); border-radius: 8px; padding: 10px 14px; }
.fear-row { display: flex; align-items: center; gap: 10px; }
.fear-gauge { width: 52px; height: 52px; border-radius: 50%; background: conic-gradient(var(--t2) 0% 100%); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fear-gauge-inner { width: 36px; height: 36px; border-radius: 50%; background: var(--bg3); display: flex; align-items: center; justify-content: center; }
.fear-value { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--t2); }
.fear-label { font-size: 13px; font-weight: 700; color: var(--t2); font-family: var(--mono); }
.fear-caption { font-size: 9px; color: var(--t3); font-family: var(--mono); margin-top: 2px; }
.fear-history { display: flex; gap: 3px; margin-top: 8px; align-items: flex-end; height: 24px; }
.ticker-bar-segment { padding: 0 14px; border-right: 1px solid var(--rim); display: inline-flex; align-items: center; gap: 6px; height: 36px; }
.ticker-bar-symbol { color: var(--gold); }
.ticker-bar-change-up { color: var(--up); }
.ticker-bar-change-down { color: var(--dn); }
.cp-row-clickable { cursor: pointer; }
.cp-ticker-sm { font-size: 10px; }
.cp-price-sm { font-size: 11px; }
.cp-change-sm { font-size: 10px; }
.fg-history-bar { flex: 1; border-radius: 2px; opacity: .7; transition: opacity .15s; cursor: default; }
.news-ticker-pill { background: rgba(240,180,41,.15); color: var(--gold); border-color: rgba(240,180,41,.4); }
.news-empty-state { padding: 20px; text-align: center; color: var(--t2); font-family: var(--mono); font-size: 12px; }
.reddit-loading { padding: 12px; color: var(--t2); font-size: 11px; }
.source-status { padding: 8px; }
.source-status-row { display: flex; justify-content: space-between; padding: 3px 0; font-size: 10px; font-family: var(--mono); }
.source-status-name { color: var(--up); }
.source-status-count { color: var(--t2); }
.ai-icon-lg { font-size: 18px; }
.ai-fallback-note { margin-top: 8px; font-size: 9px; color: var(--t2); font-family: var(--mono); padding: 4px 8px; background: var(--bg3); border-radius: 4px; border: 1px solid var(--rim); }
.ai-fallback-note a { color: var(--gold); }
.ai-error-note { color: var(--t2); }

/* ── TERMINAL ── */
.terminal { background: var(--bg1); border: 1px solid var(--rim); border-radius: 10px; overflow: hidden; }
.term-bar  { background: var(--bg2); border-bottom: 1px solid var(--rim); padding: 10px 16px; display: flex; align-items: center; gap: 6px; }
.term-dot  { width: 11px; height: 11px; border-radius: 50%; }
.td-r{background:#e84060;}.td-y{background:#c9a84c;}.td-g{background:#00c896;}
.term-title { margin-left: 10px; font-size: 12px; color: var(--t3); font-family: var(--mono); }
.terminal-body { padding: 20px; font-family: var(--mono); font-size: 13px; line-height: 1.85; }
.t-cmd{color:var(--gold)}.t-out{color:var(--up)}.t-cmt{color:var(--t3)}.t-err{color:var(--dn)}.t-path{color:var(--sapphire2)}

/* ── CODE ── */
code { font-family: var(--mono); font-size: .875em; background: var(--bg4); border: 1px solid var(--rim); padding: 1px 6px; border-radius: 4px; color: var(--gold); }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; animation: fadeUpFallback 0s 2s forwards; }
.fade-up.visible { opacity: 1; transform: none; animation: none; }
.fade-in { opacity: 0; transition: opacity .5s ease; animation: fadeInFallback 0s 2s forwards; }
.fade-in.visible { opacity: 1; animation: none; }
@keyframes fadeUpFallback { to { opacity: 1; transform: none; } }
@keyframes fadeInFallback { to { opacity: 1; } }
.delay-1{transition-delay:.1s}.delay-2{transition-delay:.2s}.delay-3{transition-delay:.3s}.delay-4{transition-delay:.4s}
@keyframes blink { 50% { opacity: .25; } }
@keyframes shimmer { 0%,100%{opacity:.6} 50%{opacity:1} }

/* ── GRID UTILS ── */
.g2{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.g3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.g4{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.flex{display:flex}.flex-col{display:flex;flex-direction:column}
.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}
.gap-2{gap:8px}.gap-3{gap:12px}.gap-4{gap:16px}.gap-6{gap:24px}.gap-8{gap:32px}
.flex-1{flex:1}.flex-wrap{flex-wrap:wrap}.w-full{width:100%}
.text-center{text-align:center}.relative{position:relative}.overflow-hidden{overflow:hidden}
.mt-2{margin-top:8px}.mt-4{margin-top:16px}.mt-6{margin-top:24px}.mt-8{margin-top:32px}
.mb-2{margin-bottom:8px}.mb-4{margin-bottom:16px}.mb-6{margin-bottom:24px}
.z1{position:relative;z-index:1}

/* ── Hero pill / badge (used on page headers) ── */
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold-d), var(--sapphire-d));
  border: 1px solid var(--gold-b);
  color: var(--gold); font-size: 11px; font-weight: 700;
  font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 20px;
  position: relative; z-index: 1;
}

/* ── Account page ── */
.account-card { background: var(--bg2); border: 1px solid var(--rim); border-radius: 12px; padding: 28px; }
.account-avatar { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; }

/* ── Profile page ── */
.profile-header { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .g4{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 768px) {
  .hero{padding:100px 20px 60px;min-height:auto}
  .hero-brand{font-size:clamp(36px,10vw,60px)!important}
  .hero-logo{width:100px!important}
  .page-header{padding:100px 20px 50px}
  .section{padding:60px 0}
  .section-sm{padding:40px 0}
  .wrap,.wrap-sm{padding:0 16px}
  .g2,.g3,.g4 { grid-template-columns: 1fr !important; }
  .footer{padding:40px 16px 20px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:24px}
  .footer-brand{grid-column:span 2}
  .docs-layout{grid-template-columns:1fr}
  .docs-sidebar{position:static;margin-bottom:20px}
  .cta-band{padding:36px 20px}
  .stats-grid{grid-template-columns: 1fr; gap: 12px; }
  .stat-item{padding:14px 16px}
  .stat-num{font-size:22px}
  .price-card{padding:22px 18px}
  .price-amt{font-size:36px}
  .tool-card{padding:20px}
  .testi-card{padding:20px}
  .hero-pill{font-size:10px;padding:5px 14px}
  .ticker-bar{height:32px}
  .ticker-item{padding:0 18px;font-size:11px}
}
@media (max-width: 480px) {
  .nav-right .btn-nav-ghost{display:none}
  .hero{padding:90px 16px 50px}
  .footer-grid{grid-template-columns:1fr;gap:20px}
  .footer-brand{grid-column:span 1}
  .footer-bottom{flex-direction:column;text-align:center}
}

/* ── Section Rhythm ─────────────────────────────────────── */
/* NOTE: .section and .section-sm are defined above (lines 191-192). */
/* Only section-title and section-sub are new here. */
.section-title {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--t0);
  letter-spacing: .04em;
  margin-bottom: var(--sp-2);
}
.section-sub {
  font-size: 15px;
  color: var(--t2);
  max-width: 560px;
  margin-bottom: var(--sp-10);
}

/* ── Feature Grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-5);
}
.feature-card {
  background: var(--bg2);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: var(--sp-8) var(--sp-6);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feature-card:hover {
  border-color: var(--gold-b);
  transform: translateY(-2px);
  box-shadow: var(--s-gold);
}
.feature-card-icon {
  font-size: 32px;
  margin-bottom: var(--sp-4);
  display: block;
}
.feature-card-title {
  font-family: var(--display);
  font-size: 16px; font-weight: 700;
  color: var(--t0); margin-bottom: var(--sp-2);
  letter-spacing: .03em;
}
.feature-card-desc {
  font-size: 13px; color: var(--t2); line-height: 1.6;
}

/* ── Stat Block ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--sp-4);
  margin: var(--sp-10) 0;
}
.stat-block {
  background: var(--bg2);
  border: var(--card-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
}
.stat-val {
  font-family: var(--mono);
  font-size: 32px; font-weight: 700;
  color: var(--gold);
  display: block; margin-bottom: var(--sp-1);
}
.stat-label {
  font-size: 11px; font-weight: 600;
  color: var(--t3); text-transform: uppercase; letter-spacing: .1em;
}

/* ── Divider ── */
.divider {
  border: none;
  border-top: 1px solid var(--rim);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   RETRO-MODERN LAYER — Bloomberg Terminal meets Dark Premium
   ═══════════════════════════════════════════════════════════ */

/* ── New color tokens ── */
:root {
  --amber:        #ff9200;
  --amber-d:      rgba(255,146,0,.12);
  --amber-b:      rgba(255,146,0,.3);
  --phosphor:     #00ff88;
  --phosphor-d:   rgba(0,255,136,.08);
  --phosphor-b:   rgba(0,255,136,.2);
  --scanline-clr: rgba(0,0,0,.18);
  --grid-clr:     rgba(201,168,76,.028);
  --grid-clr2:    rgba(26,79,168,.018);
}

/* ── CRT Scanlines ── */
@keyframes scanMove { from{background-position:0 0} to{background-position:0 4px} }
.scanlines {
  position: relative; overflow: hidden;
}
.scanlines::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 9;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 3px,
    var(--scanline-clr) 3px,
    var(--scanline-clr) 4px
  );
  opacity: .35;
  animation: scanMove 0.1s steps(1) infinite;
}

/* Light scanline — for cards etc */
.scanlines-sm::after { opacity: .15; }

/* ── Glitch text ── */
@keyframes glitch1 {
  0%,94%,100%{clip-path:inset(0 0 100% 0);transform:translateX(0)}
  95%{clip-path:inset(20% 0 30% 0);transform:translateX(-4px)}
  97%{clip-path:inset(60% 0 10% 0);transform:translateX(4px)}
}
@keyframes glitch2 {
  0%,96%,100%{clip-path:inset(100% 0 0 0);transform:translateX(0)}
  97%{clip-path:inset(40% 0 50% 0);transform:translateX(3px)}
  99%{clip-path:inset(10% 0 70% 0);transform:translateX(-3px)}
}
.glitch {
  position: relative;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  pointer-events: none;
  font: inherit; color: inherit;
}
.glitch::before {
  color: var(--up);
  text-shadow: -2px 0 var(--dn);
  animation: glitch1 6s infinite;
}
.glitch::after {
  color: var(--dn);
  text-shadow: 2px 0 var(--up);
  animation: glitch2 6s infinite;
}

/* ── Blinking cursor ── */
@keyframes cursorBlink { 0%,49%{opacity:1} 50%,100%{opacity:0} }
.cursor::after {
  content: '█';
  display: inline-block;
  width: .6em; margin-left: 2px;
  color: var(--gold);
  animation: cursorBlink 1.2s step-end infinite;
}
.cursor-amber::after { color: var(--amber); }
.cursor-up::after    { color: var(--up); }

/* ── Terminal prompt ── */
.term-prompt {
  font-family: var(--mono); font-size: 13px; color: var(--t2);
}
.term-prompt::before {
  content: '> '; color: var(--gold); font-weight: 700;
}
.term-line { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.term-line .ti { color: var(--up); font-family: var(--mono); font-size: 12px; }
.term-line .te { color: var(--dn); font-family: var(--mono); font-size: 12px; }

/* ── ASCII bracket cards ── */
.bracket-card {
  position: relative;
  background: var(--bg2); border: 1px solid var(--rim);
  border-radius: 4px; padding: 24px;
  transition: border-color .2s, box-shadow .2s;
}
.bracket-card::before {
  content: '┌──';
  position: absolute; top: -1px; left: -1px;
  font-family: var(--mono); font-size: 11px; color: var(--gold);
  opacity: 0; transition: opacity .2s;
}
.bracket-card::after {
  content: '──┘';
  position: absolute; bottom: -1px; right: -1px;
  font-family: var(--mono); font-size: 11px; color: var(--gold);
  opacity: 0; transition: opacity .2s;
}
.bracket-card:hover {
  border-color: var(--gold-b);
  box-shadow: var(--s-gold);
}
.bracket-card:hover::before,
.bracket-card:hover::after { opacity: 1; }

/* ── Retro data readout ── */
.data-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.04);
  font-family: var(--mono); font-size: 12px;
}
.data-row:last-child { border-bottom: none; }
.data-lbl { color: var(--t3); letter-spacing: .05em; text-transform: uppercase; font-size: 10px; }
.data-val  { color: var(--t0); font-weight: 700; }
.data-val.up  { color: var(--up); }
.data-val.dn  { color: var(--dn); }
.data-val.amber { color: var(--amber); }
.data-val.gold  { color: var(--gold); }

/* ── Status badge (live indicator) ── */
@keyframes pulseDot {
  0%,100%{ box-shadow: 0 0 0 0 rgba(0,200,150,.6); }
  50%    { box-shadow: 0 0 0 6px rgba(0,200,150,0); }
}
.status-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--up);
}
.status-live::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--up); flex-shrink: 0;
  animation: pulseDot 2s ease infinite;
}
.status-offline { color: var(--t4); }
.status-offline::before { background: var(--t4); animation: none; }
.status-warn { color: var(--amber); }
.status-warn::before { background: var(--amber); }

/* ── Hero grid enhanced ── */
.hero-grid-retro {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background-image:
    linear-gradient(var(--grid-clr) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-clr) 1px, transparent 1px),
    linear-gradient(var(--grid-clr2) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-clr2) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 120px 120px, 120px 120px;
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 50%, black 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 75% at 50% 50%, black 20%, transparent 75%);
}

/* ── Amber glow card ── */
.card-amber {
  background: var(--bg2);
  border: 1px solid var(--amber-b);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--amber-b), 0 8px 32px rgba(255,146,0,.08);
}
.card-amber::before {
  content: ''; display: block; height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}

/* ── Neon glow borders ── */
.border-glow-gold   { box-shadow: 0 0 20px rgba(201,168,76,.2), 0 0 40px rgba(201,168,76,.08), inset 0 0 20px rgba(201,168,76,.04); }
.border-glow-amber  { box-shadow: 0 0 20px rgba(255,146,0,.2),  0 0 40px rgba(255,146,0,.08),  inset 0 0 20px rgba(255,146,0,.04); }
.border-glow-up     { box-shadow: 0 0 20px rgba(0,200,150,.2),  0 0 40px rgba(0,200,150,.08),  inset 0 0 20px rgba(0,200,150,.04); }

/* ── Retro section separator ── */
.retro-sep {
  display: flex; align-items: center; gap: 0; margin: 16px 0;
  font-family: var(--mono); font-size: 11px; color: var(--gold); opacity: .5;
  -webkit-user-select: none; user-select: none; letter-spacing: .1em;
}
.retro-sep::before { content: '━━━━━ '; }
.retro-sep::after  { content: ' ━━━━━'; }

/* ── Noise texture overlay for sections ── */
.noise-bg {
  position: relative;
}
.noise-bg::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  opacity: .6;
}

/* ── Page header retro treatment ── */
.page-header {
  background: var(--bg0);
}
.page-header-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-clr) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-clr) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, black, transparent);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, black, transparent);
}

/* ── Retro eyebrow ── */
.eyebrow-retro {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--amber);
  margin-bottom: 12px;
}
.eyebrow-retro::before { content: '[ '; opacity: .7; }
.eyebrow-retro::after  { content: ' ]'; opacity: .7; }

/* ── Horizontal scroll ticker (enhanced) ── */
.ticker-bar {
  background: rgba(2,3,8,.98);
  border-top: 1px solid rgba(201,168,76,.1);
  border-bottom: 1px solid rgba(201,168,76,.1);
  height: 34px; overflow: hidden; position: relative;
  font-variant-numeric: tabular-nums;
}
.ticker-label {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 3;
  display: flex; align-items: center; padding: 0 12px 0 14px;
  background: linear-gradient(90deg, rgba(201,168,76,.15) 0%, rgba(201,168,76,.08) 100%);
  border-right: 1px solid var(--gold-b);
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  letter-spacing: .15em; color: var(--gold); text-transform: uppercase;
  white-space: nowrap;
}
.ticker-label::after { content: ''; position: absolute; right: -20px; top:0; bottom:0; width:20px; background: linear-gradient(90deg, rgba(2,3,8,.9), transparent); }
.ticker-track-offset { padding-left: 110px; }

/* ── Live dot ── */
@keyframes tickerDot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }
.ticker-label .dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--up); margin-left: 7px;
  animation: tickerDot 1.5s ease infinite;
  flex-shrink: 0;
}

/* ── Modal / overlay base ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(2,3,8,.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal {
  background: var(--bg2); border: 1px solid var(--gold-b);
  border-radius: var(--radius-xl); padding: var(--sp-8); width: 100%; max-width: 520px;
  box-shadow: var(--s4), var(--gold-glow);
  position: relative;
}
.modal::before {
  content: ''; display: block; height: 2px; margin: calc(-1 * var(--sp-8)) calc(-1 * var(--sp-8)) var(--sp-6);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

/* ── Retro nav refinements ── */
.nav {
  background: rgba(2,3,8,.95);
  border-bottom: 1px solid rgba(201,168,76,.1);
}
.nav::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,168,76,.2) 30%, rgba(26,79,168,.15) 70%, transparent 100%);
  pointer-events: none;
}

/* ── Floating label for cards ── */
.card-tag {
  position: absolute; top: -1px; left: 18px;
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--gold); color: var(--ink);
  padding: 2px 8px; border-radius: 0 0 5px 5px;
}
.card-tag-amber { background: var(--amber); }
.card-tag-up    { background: var(--up); color: #000; }

/* ── Admin page-header override ── */
.admin-header {
  background: linear-gradient(135deg, var(--bg1) 0%, var(--bg0) 100%);
  border-bottom: 1px solid var(--gold-b);
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.admin-header-title {
  font-family: var(--display); font-size: 18px; font-weight: 700;
  color: var(--gold); letter-spacing: .06em;
}

/* ── Marquee / ticker text ── */
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.marquee-wrap { overflow: hidden; white-space: nowrap; }
.marquee-inner { display: inline-flex; animation: marquee 40s linear infinite; }
.marquee-inner:hover { animation-play-state: paused; }

/* ── Hotkey badge ── */
.hotkey {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg4); border: 1px solid var(--rim);
  border-radius: 4px; font-family: var(--mono); font-size: 10px;
  font-weight: 700; color: var(--t2); padding: 1px 5px; min-width: 20px;
}

/* ── Plans grid ── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .plans-grid { grid-template-columns: 1fr; } }

/* ── Price card retro top accent ── */
.price-card.featured .price-tier { color: var(--gold1); }
.price-card.elite {
  border-color: rgba(150,80,255,.35);
  background: linear-gradient(180deg, rgba(150,80,255,.06) 0%, var(--bg2) 50%);
}
.price-card.elite::after {
  background: linear-gradient(135deg, #9850ff, #6030cc);
  content: 'ELITE';
}
.price-card.elite .price-tier { color: #c090ff; }

/* Pricing page — featured card scale-up */
.price-card.featured {
  transform: scale(1.03);
  z-index: 2;
}
.price-card.featured:hover {
  transform: scale(1.03) translateY(-3px);
}
@media (max-width: 900px) {
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-2px); }
}

/* Lifetime card premium accent */
#lifetime-card {
  background: linear-gradient(135deg, var(--bg2), var(--bg3)) !important;
  border: 1px solid rgba(201,168,76,.4) !important;
}

/* Account overview — upgrade CTA in plans section */
.upgrade-cta-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-top: 20px;
}
.upgrade-cta-card {
  background: var(--bg3);
  border: 1px solid var(--rim);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  transition: border-color .2s;
}
.upgrade-cta-card:hover { border-color: var(--gold-b); }
.upgrade-cta-card .uc-tier { font-family: var(--display); font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; }
.upgrade-cta-card .uc-price { font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--t0); margin: 4px 0 12px; }
@media (max-width: 640px) {
  .upgrade-cta-grid { grid-template-columns: 1fr; }
}

/* ── Utility: text glow ── */
.text-glow-gold  { text-shadow: 0 0 20px rgba(201,168,76,.6), 0 0 40px rgba(201,168,76,.3); }
.text-glow-up    { text-shadow: 0 0 20px rgba(0,200,150,.6); }
.text-glow-amber { text-shadow: 0 0 20px rgba(255,146,0,.6); }

/* ── Dashboard Layout ── */
.dash-layout { display: grid; grid-template-columns: 280px 1fr; gap: var(--sp-8); }
.dash-sidebar { position: sticky; top: 100px; height: fit-content; z-index: 10; }
.dash-content { min-width: 0; }

@media (max-width: 1024px) {
  .dash-layout { grid-template-columns: 240px 1fr; gap: var(--sp-6); }
}

@media (max-width: 768px) {
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar {
    position: relative; top: 0;
    margin-bottom: var(--sp-4);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .dash-sidebar::-webkit-scrollbar { display: none; }
  .dash-sidebar .tabs {
    display: flex; flex-direction: row !important;
    flex-wrap: nowrap; gap: 8px; border-bottom: none;
    padding-bottom: 4px;
  }
  .dash-sidebar .tab-btn {
    white-space: nowrap; flex-shrink: 0;
    background: var(--bg2); border: 1px solid var(--rim);
    border-radius: var(--radius-md); padding: 10px 16px;
    height: 42px; border-bottom: 1px solid var(--rim);
  }
  .dash-sidebar .tab-btn.active { background: var(--gold-d); border-color: var(--gold-b); }
}

/* Dashboard Tabs */
.tabs { display: flex; gap: var(--sp-1); border-bottom: 1px solid var(--rim); margin-bottom: var(--sp-6); }
.tab-btn {
  background: none; border: none; padding: var(--sp-3) var(--sp-5);
  font-family: var(--display); font-size: 13px; font-weight: 600;
  color: var(--t2); cursor: pointer; border-bottom: 2px solid transparent;
  transition: all var(--t-fast); letter-spacing: 0.04em;
}
.tab-btn:hover { color: var(--t0); background: var(--bg3); }
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }

/* Table System */
.b13-table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--rim); background: var(--bg1); }
.b13-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.b13-table th {
  background: var(--bg2); padding: 12px 16px; text-align: left;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  color: var(--t3); text-transform: uppercase; letter-spacing: 0.08em;
  border-bottom: 1px solid var(--rim);
}
.b13-table td { padding: 14px 16px; border-bottom: 1px solid var(--rim); color: var(--t1); }
.b13-table tr:last-child td { border-bottom: none; }
.b13-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ── Account Dashboard missing classes ── */

/* Tab content panels */
.dash-panel { display: none; animation: fadeInUp .25s ease; }
.dash-panel.active { display: block; }
@keyframes fadeInUp { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }

/* Upgrade / section cards */
.upgrade-card {
  background: var(--bg2);
  border: 1px solid var(--rim);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 16px;
}
.upgrade-card h3 {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  color: var(--t0);
  margin-bottom: 12px;
}

/* Tool status mini-grid */
.tool-status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.tool-status-item { background: var(--bg3); border: 1px solid var(--rim); border-radius: 10px; padding: 14px 16px; }
.tool-status-label { font-family: var(--mono); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--t3); margin-bottom: 6px; }
.tool-status-value { font-family: var(--mono); font-size: 18px; font-weight: 700; color: var(--t0); line-height: 1; }
.tool-status-note  { font-size: 11px; color: var(--t3); margin-top: 4px; }
.tool-inline-links { display: flex; gap: 8px; flex-wrap: wrap; }
.tool-chip-link {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--bg3); border: 1px solid var(--rim);
  border-radius: 6px; padding: 5px 12px;
  font-size: 12px; color: var(--t2); text-decoration: none;
  transition: border-color .15s, color .15s;
}
.tool-chip-link:hover { border-color: var(--gold-b); color: var(--gold); }

/* Copier toggle row in overview */
.copier-toggle-row {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg2); border: 1px solid var(--rim);
  border-radius: 12px; padding: 18px 24px;
  margin-bottom: 20px; flex-wrap: wrap;
}
.copier-toggle-label { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--t0); }
.copier-toggle-sub   { font-size: 12px; color: var(--t3); margin-top: 2px; }

/* Toggle switch (copier on/off) */
.toggle-switch { position: relative; width: 48px; height: 26px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0;
  background: var(--bg4); border-radius: 26px; cursor: pointer;
  border: 1px solid var(--rim); transition: .2s;
}
.toggle-slider::before {
  content: ''; position: absolute;
  width: 18px; height: 18px; left: 3px; top: 3px;
  background: var(--t3); border-radius: 50%; transition: .2s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--gold); border-color: var(--gold); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); background: var(--ink); }

/* Master/slave assignment */
.ms-assignment { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.ms-card { background: var(--bg3); border: 1px solid var(--rim); border-radius: 10px; padding: 16px; }
.ms-card h4 { font-family: var(--display); font-size: 13px; font-weight: 700; color: var(--t0); margin-bottom: 10px; }
.ms-select { width: 100%; background: var(--bg4); border: 1px solid var(--rim); border-radius: 7px; color: var(--t0); padding: 8px 10px; font-family: var(--sans); font-size: 13px; outline: none; }
.ms-select:focus { border-color: var(--gold); }
.master-lbl { color: var(--gold) !important; }
.slave-lbl  { color: var(--sapphire2) !important; }

@media (max-width: 640px) {
  .tool-status-grid { grid-template-columns: 1fr; }
  .ms-assignment    { grid-template-columns: 1fr; }
  .copier-toggle-row { gap: 10px; }
}

/* ── Print / save hidden ── */
@media print { .nav,.ticker-bar,.footer,.modal-overlay { display:none!important; } }

/* ── Hero page classes ── */
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }

.hero-brand {
  font-family: var(--display);
  font-size: clamp(60px, 10vw, 112px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.01em;
  position: relative;
  z-index: 1;
  margin-bottom: 4px;
}
.gold-13 { color: var(--gold); }

.hero-capital {
  font-family: var(--display);
  font-size: clamp(13px, 1.8vw, 20px);
  font-weight: 400;
  letter-spacing: .45em;
  color: var(--t2);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}

.gold-rule {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.hero-ctas { display: flex; gap: 16px; justify-content: center; position: relative; z-index: 1; }

.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  height: 54px; padding: 0 36px;
  background: linear-gradient(135deg, var(--gold1), var(--gold));
  color: var(--ink); font-family: var(--display);
  font-size: 14px; font-weight: 700; letter-spacing: .06em;
  border-radius: 8px; text-decoration: none;
  transition: filter .2s, transform .2s;
}
.btn-hero-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }

.btn-hero-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  height: 54px; padding: 0 36px;
  border: 1px solid rgba(201,168,76,.35);
  color: var(--t1); font-family: var(--display);
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
  border-radius: 8px; text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.btn-hero-ghost:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-d); }

/* ── Stats grid (homepage hero) ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.stat-item {
  padding: 22px 18px;
  text-align: center;
  background: rgba(6,10,22,.9);
  border-right: 1px solid rgba(201,168,76,.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-lbl {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 6px;
}

/* ── 3-col tools grid ── */
.tools-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.12);
  border-radius: 18px;
  overflow: hidden;
}
.tools-grid-3 .tool-card {
  border-radius: 0;
  border: none;
  background: var(--bg1);
  gap: 14px;
}
.tools-grid-3 .tool-card:hover { background: var(--bg2); }
.tool-icon-box {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(201,168,76,.07);
  border: 1px solid rgba(201,168,76,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.tool-card-name {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  color: var(--t0);
  letter-spacing: .04em;
}
.tool-card-sub {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--t3);
  margin-top: 2px;
}
.tool-card-arrow { font-size: 16px; align-self: flex-end; color: var(--gold); }

/* ── Feature cards v2 ── */
.feature-card-v2 {
  background: var(--bg2);
  border: 1px solid var(--rim);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .2s, background .2s;
}
.feature-card-v2:hover { border-color: var(--gold-b); background: var(--bg3); }
.feature-card-v2-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--gold-d);
  border: 1px solid var(--gold-b);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.feature-card-v2-name {
  font-family: var(--display);
  font-size: 15px; font-weight: 700;
  letter-spacing: .04em;
  color: var(--t0);
}

/* ── Testimonial cards v2 ── */
.testi-card-v2 {
  background: var(--bg2);
  border: 1px solid var(--rim);
  border-left: 3px solid var(--gold-b);
  border-radius: 12px;
  padding: 28px 24px 24px;
  display: flex; flex-direction: column; gap: 14px;
}

/* ── Responsive: tools-grid-3 & stats-grid ── */
@media (max-width: 900px) {
  .tools-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .tools-grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

/* ═══════════════════════════════════════════════════════════
   MISSING CLASSES — added in audit fix
   ═══════════════════════════════════════════════════════════ */

/* ── Float animation for hero logo ── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

/* ── Hero brand / capital text ── */
.hero-brand {
  font-family: var(--display);
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  color: var(--t0);
  position: relative; z-index: 1;
  margin-bottom: 8px;
}
.hero-brand .gold-13 { color: var(--gold); }
.hero-capital {
  font-family: var(--mono);
  font-size: clamp(13px, 1.8vw, 18px);
  letter-spacing: .45em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .8;
  position: relative; z-index: 1;
  margin-bottom: 28px;
}

/* ── Gold rule divider ── */
.gold-rule {
  width: 80px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 20px auto 28px;
  position: relative; z-index: 1;
}

/* ── Hero CTA group ── */
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative; z-index: 1;
  margin-top: 8px;
}

/* Hero primary / ghost buttons */
.btn-hero-primary {
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 36px;
  background: linear-gradient(135deg, var(--gold1), var(--gold));
  color: var(--ink); font-family: var(--mono); font-size: 14px; font-weight: 700;
  letter-spacing: .08em; border-radius: var(--radius-md);
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 4px 24px rgba(201,168,76,.35);
  transition: all .2s;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(201,168,76,.5); background: linear-gradient(135deg, var(--gold2), var(--gold1)); }

.btn-hero-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 36px;
  background: transparent;
  border: 1px solid var(--rim); color: var(--t1);
  font-family: var(--mono); font-size: 14px; font-weight: 700;
  letter-spacing: .08em; border-radius: var(--radius-md);
  text-decoration: none; cursor: pointer;
  transition: all .2s;
}
.btn-hero-ghost:hover { border-color: var(--gold-b); color: var(--gold); background: var(--gold-d); }

/* ── Stats grid (hero section) ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
}
.stat-item {
  padding: 24px 32px;
  text-align: center;
  border-right: 1px solid rgba(201,168,76,.12);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--display);
  font-size: 36px; font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-lbl {
  font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  color: var(--t3);
  letter-spacing: .1em; text-transform: uppercase;
}

/* ── Section ornament (⚜ · ⚜ · ⚜) ── */
.section-ornament {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  opacity: .4;
  letter-spacing: .3em;
  text-align: center;
  margin-bottom: 24px;
}

/* ── Text glow utilities ── */
.text-glow-gold {
  text-shadow:
    0 0 30px rgba(201,168,76,.4),
    0 0 80px rgba(201,168,76,.2),
    0 0 120px rgba(201,168,76,.1);
}
.text-glow-up {
  text-shadow:
    0 0 20px rgba(0,200,150,.4),
    0 0 60px rgba(0,200,150,.15);
}

/* ── Gold 13 accent span ── */
.gold-13 { color: var(--gold); }

/* ── Ticker label ── */
.ticker-label {
  display: none; /* hidden — label is decorative, ticker scrolls full-width */
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  flex-shrink: 0;
  white-space: nowrap;
  border-right: 1px solid var(--rim);
  height: 100%;
}
.ticker-label .dot {
  width: 6px; height: 6px;
  background: var(--up);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
  display: inline-block;
}

/* ── Ticker offset (delay start position) ── */
.ticker-track-offset { /* no offset needed — seamless loop */ }

/* ── Tools grid 3-col ── */
.tools-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Utility classes ── */
.max-w-500  { max-width: 500px; }
.max-w-600  { max-width: 600px; }
.max-w-720  { max-width: 720px; }
.max-w-900  { max-width: 900px; }
.max-w-1000 { max-width: 1000px; }
.mx-auto { margin-left: auto; margin-right: auto; }

.mb-1  { margin-bottom: 4px; }
.mb-2  { margin-bottom: 8px; }
.mb-3  { margin-bottom: 12px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }

.mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }

.p-1  { padding: 4px; }
.p-2  { padding: 8px; }
.p-3  { padding: 12px; }
.p-4  { padding: 16px; }
.p-6  { padding: 24px; }
.p-8  { padding: 32px; }

.flex-shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }

/* ── Scrolled nav shadow ── */
.nav.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.5), 0 1px 0 rgba(201,168,76,.1);
}

/* ════════════════════════════════════════════════════════════
   ACCOUNT DASHBOARD — shared layout + component styles
   ════════════════════════════════════════════════════════════ */

/* Global display font token (used by copier, journal, account) */
:root {
  --display: 'IBM Plex Mono', monospace;
}

/* ── Auth card layout ── */
.auth-wrap { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; position: relative; overflow: hidden; }
.auth-card  { position: relative; z-index: 10; width: 100%; max-width: 440px; }
.glass-card { background: var(--bg2); border: 1px solid var(--rim); border-radius: 14px; padding: 28px; }
.glass-card-gold { border-color: var(--gold-b); }
.google-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 16px; background: #fff; color: #3c4043; border: 1px solid #dadce0; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; transition: box-shadow .15s; justify-content: center; }
.google-btn:hover { box-shadow: 0 1px 6px rgba(0,0,0,.25); }
.or-line { display: flex; align-items: center; gap: 12px; color: var(--t3); font-size: 11px; letter-spacing: .06em; font-family: var(--mono); }
.or-line::before,.or-line::after { content:''; flex: 1; height: 1px; background: var(--rim); }

/* ── Dashboard layout ── */
.dash-layout  { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: flex-start; }
.dash-sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 4px; }
.dash-content { min-width: 0; }
.dash-panel   { display: none; }
.dash-panel.active { display: block; }

/* ── Sidebar tab buttons ── */
.tab-btn { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 14px; background: transparent; border: none; border-radius: 8px; color: var(--t2); font-size: 13px; font-weight: 500; cursor: pointer; text-align: left; text-decoration: none; transition: all .15s; }
.tab-btn:hover { background: var(--bg3); color: var(--t0); }
.tab-btn.active { background: rgba(201,168,76,.1); color: var(--gold); font-weight: 700; }

/* ── Cards / panels ── */
.upgrade-card { background: var(--bg2); border: 1px solid var(--rim); border-radius: 12px; padding: 20px 22px; margin-bottom: 16px; }
.card { background: var(--bg2); border: 1px solid var(--rim); border-radius: 12px; }
.card-hdr { padding: 16px 18px; border-bottom: 1px solid var(--rim); display: flex; align-items: center; justify-content: space-between; }
.card-title { font-size: 13px; font-weight: 700; color: var(--t0); }
.card-body { padding: 16px 18px; }

/* ── Tier / rank badges ── */
.tier-badge, .badge-gold { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-family: var(--mono); background: var(--gold-d); color: var(--gold); border: 1px solid var(--gold-b); }
.badge-beta { background: rgba(123,92,255,.15); color: #a07aff; border: 1px solid rgba(123,92,255,.3); font-size: 9px; font-weight: 700; padding: 1px 6px; border-radius: 4px; font-family: var(--mono); text-transform: uppercase; }
.tier-free     { background: rgba(100,120,150,.2); color: var(--t3); border-color: var(--rim); }
.tier-starter  { background: rgba(0,200,150,.12); color: var(--up); border-color: var(--upB); }
.tier-pro      { background: rgba(240,180,41,.15); color: var(--gold); border-color: var(--gold-b); }
.tier-elite    { background: rgba(200,100,255,.12); color: #c864ff; border-color: rgba(200,100,255,.3); }
.tier-lifetime { background: rgba(240,180,41,.22); color: var(--gold1); border-color: var(--gold-b); }
.rank-badge    { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; font-family: var(--mono); }
.rank-bronze   { background: rgba(205,127,50,.15); color: #cd7f32; }
.rank-silver   { background: rgba(192,192,192,.15); color: #c0c0c0; }
.rank-gold-r   { background: var(--gold-d); color: var(--gold); }
.rank-plat     { background: rgba(100,180,255,.12); color: #64b4ff; }
.rank-diamond  { background: rgba(138,43,226,.12); color: #b84fff; }
.rank-legend   { background: rgba(255,140,0,.12); color: #ff8c00; }

/* ── Feature row (plan benefits list) ── */
.feature-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--t1); padding: 4px 0; }
.feature-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.feature-dot.on  { background: var(--up); }
.feature-dot.off { background: var(--t4); opacity: .4; }

/* ── Tool status grid (Arsenal Status card) ── */
.tool-status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tool-status-item { background: var(--bg3); border: 1px solid var(--rim); border-radius: 8px; padding: 12px 14px; }
.tool-status-label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--t3); font-family: var(--mono); margin-bottom: 4px; }
.tool-status-value { font-size: 14px; font-weight: 700; color: var(--t0); }
.tool-status-note  { font-size: 10px; color: var(--t3); margin-top: 2px; }
.tool-inline-links { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Copier tab inside account ── */
.copier-toggle-row { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--bg3); border: 1px solid var(--rim); border-radius: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.copier-toggle-label { font-size: 14px; font-weight: 700; color: var(--t0); }
.copier-toggle-sub   { font-size: 12px; color: var(--t2); margin-top: 2px; }
.copier-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.cs-stat { background: var(--bg3); border: 1px solid var(--rim); border-radius: 8px; padding: 14px; text-align: center; }
.cs-stat-val { font-size: 22px; font-weight: 800; font-family: var(--mono); color: var(--t0); line-height: 1; }
.cs-stat-val.gold { color: var(--gold); }
.cs-stat-val.up   { color: var(--up); }
.cs-stat-val.dn   { color: var(--dn); }
.cs-stat-lbl { font-size: 9px; text-transform: uppercase; letter-spacing: .07em; color: var(--t3); font-family: var(--mono); margin-top: 5px; }

/* ── Toggle switch ── */
.toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; inset: 0; background: var(--bg4); border: 1px solid var(--rim); border-radius: 24px; transition: .25s; }
.toggle-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 2px; top: 2px; background: var(--t3); border-radius: 50%; transition: .25s; }
.toggle-switch input:checked + .toggle-slider { background: rgba(0,200,150,.15); border-color: var(--upB); }
.toggle-switch input:checked + .toggle-slider::before { background: var(--up); transform: translateX(20px); }

/* ── Broker table ── */
.b13-table-wrap { overflow-x: auto; border-radius: 8px; }
.b13-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.b13-table th { padding: 8px 10px; text-align: left; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--t3); font-family: var(--mono); border-bottom: 1px solid var(--rim); background: var(--bg3); white-space: nowrap; }
.b13-table td { padding: 10px 10px; border-bottom: 1px solid var(--bg3); vertical-align: middle; }
.b13-table tr:last-child td { border-bottom: none; }
.b13-table tr:hover td { background: var(--bg3); }

/* ── Broker role / status badges ── */
.broker-role-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; font-family: var(--mono); text-transform: uppercase; }
.role-master { background: var(--gold-d); color: var(--gold); border: 1px solid var(--gold-b); }
.role-slave  { background: rgba(0,200,150,.1); color: var(--up); border: 1px solid var(--upB); }
.role-none   { background: var(--bg4); color: var(--t3); border: 1px solid var(--rim); }
.broker-status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--t4); margin-right: 5px; transition: background .3s; }
.broker-status-dot.ok, .status-ok      { background: var(--up); box-shadow: 0 0 6px var(--up); }
.broker-status-dot.error, .status-err  { background: var(--dn); box-shadow: 0 0 6px var(--dn); }
.broker-status-dot.loading, .status-unk{ background: var(--gold); animation: pulse-dot 1s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:.3} }
.broker-action-btn { background: var(--bg3); border: 1px solid var(--rim); border-radius: 5px; padding: 4px 10px; font-size: 11px; font-weight: 600; color: var(--t1); cursor: pointer; transition: border-color .15s, color .15s; }
.broker-action-btn:hover { border-color: var(--gold); color: var(--gold); }
.broker-action-btn.del:hover { border-color: var(--dnB); color: var(--dn); }

/* ── Add broker form ── */
.add-broker-form { background: var(--bg3); border: 1px solid var(--gold-b); border-radius: 10px; padding: 18px; margin-top: 14px; }
.add-broker-form h4 { font-size: 13px; font-weight: 700; color: var(--gold); margin-bottom: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }
.form-row.single { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--t3); font-family: var(--mono); }
.form-field input, .form-field select { background: var(--bg2); border: 1px solid var(--rim); border-radius: 6px; color: var(--t0); padding: 8px 10px; font-size: 13px; outline: none; transition: border-color .15s; font-family: var(--sans); }
.form-field input:focus, .form-field select:focus { border-color: var(--gold); }
.form-field select option { background: var(--bg2); }
.form-actions { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

/* ── Master/Slave assignment ── */
.ms-assignment { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ms-card { background: var(--bg3); border: 1px solid var(--rim); border-radius: 8px; padding: 14px 16px; }
.ms-card h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-family: var(--mono); margin-bottom: 10px; }
.master-lbl { color: var(--gold); }
.slave-lbl  { color: var(--up); }
.ms-select  { width: 100%; background: var(--bg2); border: 1px solid var(--rim); border-radius: 6px; color: var(--t0); padding: 8px 10px; font-size: 12px; outline: none; }
.ms-select:focus { border-color: var(--gold); }

/* ── Journal tab inside account ── */
.journal-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.jstat { background: var(--bg3); border: 1px solid var(--rim); border-radius: 8px; padding: 14px; text-align: center; }
.jstat-val { font-size: 20px; font-weight: 800; font-family: var(--mono); color: var(--t0); line-height: 1; }
.jstat-val.up   { color: var(--up); }
.jstat-val.down { color: var(--dn); }
.jstat-lbl { font-size: 9px; text-transform: uppercase; letter-spacing: .07em; color: var(--t3); font-family: var(--mono); margin-top: 5px; }
.side-buy  { background: rgba(0,200,150,.1); color: var(--up); border: 1px solid var(--upB); border-radius: 4px; padding: 1px 6px; font-size: 10px; font-weight: 700; font-family: var(--mono); }
.side-sell { background: rgba(232,64,96,.1); color: var(--dn); border: 1px solid var(--dnB); border-radius: 4px; padding: 1px 6px; font-size: 10px; font-weight: 700; font-family: var(--mono); }
.pnl-pos { color: var(--up); font-weight: 700; font-family: var(--mono); }
.pnl-neg { color: var(--dn); font-weight: 700; font-family: var(--mono); }

/* ── Points / profile ── */
.points-display { display: flex; gap: 16px; }
.points-entry   { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--bg3); font-size: 12px; }
.points-amount  { font-family: var(--mono); font-weight: 700; min-width: 48px; }
.points-amount.pos { color: var(--up); }
.points-amount.neg { color: var(--dn); }
.points-log { max-height: 200px; overflow-y: auto; }

/* ── Profile saved ── */
.profile-saved { font-size: 12px; color: var(--up); opacity: 0; transition: opacity .3s; font-family: var(--mono); }
.profile-field { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.profile-field label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--t3); font-family: var(--mono); }
.profile-field input, .profile-field textarea { background: var(--bg3); border: 1px solid var(--rim); border-radius: 6px; color: var(--t0); padding: 9px 12px; font-size: 13px; outline: none; font-family: var(--sans); resize: vertical; transition: border-color .15s; }
.profile-field input:focus, .profile-field textarea:focus { border-color: var(--gold); }

/* ── Responsive ── */
@media (max-width: 740px) {
  .dash-layout  { grid-template-columns: 1fr; }
  .dash-sidebar { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .tab-btn      { width: auto; padding: 7px 12px; font-size: 12px; }
  .copier-stats-row { grid-template-columns: 1fr 1fr; }
  .ms-assignment { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .journal-stats-row { grid-template-columns: 1fr 1fr; }
  .tool-status-grid { grid-template-columns: 1fr; }
}

/* ── Input / btn utility ── */
.input { display: block; width: 100%; background: var(--bg3); border: 1px solid var(--rim); border-radius: 8px; color: var(--t0); padding: 10px 13px; font-size: 13px; outline: none; transition: border-color .15s; font-family: var(--sans); }
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.07); }
.btn-block { display: block; width: 100%; }
.btn-xs { padding: 3px 8px; font-size: 10px; }
.btn-md { padding: 10px 18px; font-size: 13px; }
.btn-lg { padding: 12px 24px; font-size: 14px; font-weight: 700; }
.btn-nav-ghost { border: 1px solid var(--rim) !important; background: transparent !important; color: var(--t1) !important; }
.btn-nav-ghost:hover { background: var(--bg3) !important; }
.btn-nav-gold  { background: var(--gold) !important; color: #000 !important; border: none !important; }
.btn-nav-gold:hover { background: var(--gold1) !important; }

/* ── Flex utility ── */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.text-center { text-align: center; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.flex-1 { flex: 1; }

/* ── Alert / error boxes ── */
.alert { padding: 10px 14px; border-radius: 7px; font-size: 12px; font-weight: 500; }
.alert-dn, .alert-danger { background: rgba(232,64,96,.1); border: 1px solid rgba(232,64,96,.3); color: var(--dn); }

/* ── Typography tokens ── */
.t-h1 { font-size: 32px; font-weight: 800; line-height: 1.15; }
.t-h2 { font-size: 22px; font-weight: 700; }
.t-h3 { font-size: 16px; font-weight: 700; }
.t-sm { font-size: 13px; }
.t-xs { font-size: 11px; }
.t-bold { font-weight: 700; }
.t-muted,.t-dim { color: var(--t3); }
.t-up { color: var(--up); }
.t-dn { color: var(--dn); }
.accent { color: var(--gold); }
.t-display { font-family: var(--display); font-weight: 800; }
.t-body { font-size: 15px; line-height: 1.65; }
.lang-select { background: var(--bg3); border: 1px solid var(--rim); border-radius: 6px; color: var(--t1); padding: 5px 8px; font-size: 12px; cursor: pointer; outline: none; }
.nav-lang { margin-right: 8px; }
.ti-up { color: var(--up); }
.ti-dn { color: var(--dn); }
