/* ===================================================================
   المضارب العربي — Arabic Broker, remodelled
   Sleek-fintech design system · RTL · light + dark
=================================================================== */

:root {
  /* ---- Brand / accent (shared across themes) ---- */
  --gold:        oklch(0.80 0.118 84);
  --gold-strong: oklch(0.72 0.130 78);
  --gold-soft:   oklch(0.86 0.085 88);
  --up:          oklch(0.74 0.150 158);
  --up-dim:      oklch(0.74 0.150 158 / 0.14);
  --down:        oklch(0.66 0.185 22);
  --down-dim:    oklch(0.66 0.185 22 / 0.14);
  --info:        oklch(0.72 0.110 235);

  --r-xs: 8px;
  --r-sm: 11px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);

  --font-sans: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out-quick: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* =====================  DARK (default)  ===================== */
[data-theme="dark"] {
  --bg:          oklch(0.18 0.018 256);
  --bg-2:        oklch(0.21 0.020 256);
  --surface:     oklch(0.235 0.021 256);
  --surface-2:   oklch(0.275 0.022 256);
  --elevated:    oklch(0.30 0.023 256);
  --border:      oklch(0.34 0.020 256);
  --border-soft: oklch(0.30 0.018 256);
  --text:        oklch(0.97 0.005 256);
  --text-2:      oklch(0.78 0.012 256);
  --text-3:      oklch(0.62 0.014 256);
  --shadow:      0 1px 2px oklch(0 0 0 / .4), 0 12px 32px oklch(0 0 0 / .35);
  --shadow-sm:   0 1px 2px oklch(0 0 0 / .35);
  --glow-gold:   0 0 0 1px oklch(0.80 0.118 84 / .25), 0 14px 40px oklch(0.80 0.118 84 / .12);
  --grid-line:   oklch(1 0 0 / .05);
  --gold-ink:    oklch(0.20 0.02 256);
  --hero-glow:   radial-gradient(60% 80% at 80% 0%, oklch(0.80 0.118 84 / .14), transparent 60%);
  color-scheme: dark;
}

/* =====================  LIGHT  ===================== */
[data-theme="light"] {
  --bg:          oklch(0.975 0.004 256);
  --bg-2:        oklch(0.955 0.005 256);
  --surface:     oklch(1 0 0);
  --surface-2:   oklch(0.985 0.004 256);
  --elevated:    oklch(1 0 0);
  --border:      oklch(0.90 0.006 256);
  --border-soft: oklch(0.93 0.005 256);
  --text:        oklch(0.24 0.020 256);
  --text-2:      oklch(0.42 0.018 256);
  --text-3:      oklch(0.56 0.014 256);
  --shadow:      0 1px 2px oklch(0.5 0.02 256 / .08), 0 14px 34px oklch(0.4 0.03 256 / .10);
  --shadow-sm:   0 1px 3px oklch(0.5 0.02 256 / .10);
  --glow-gold:   0 1px 2px oklch(0.5 0.02 256 / .10), 0 14px 34px oklch(0.72 0.13 78 / .18);
  --grid-line:   oklch(0.2 0.02 256 / .05);
  --gold:        oklch(0.66 0.130 70);
  --gold-strong: oklch(0.60 0.135 66);
  --gold-soft:   oklch(0.74 0.110 78);
  --gold-ink:    oklch(1 0 0);
  --hero-glow:   radial-gradient(60% 80% at 80% 0%, oklch(0.72 0.13 78 / .10), transparent 60%);
  color-scheme: light;
}

/* =====================  RESET  ===================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }
.num  { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.up   { color: var(--up); }
.down { color: var(--down); }

/* =====================  TOP TICKER TAPE  ===================== */
.tape {
  position: relative;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border-soft);
  height: 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
}
.tape::before, .tape::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 70px; z-index: 2; pointer-events: none;
}
.tape::before { right: 0; background: linear-gradient(to left, var(--bg-2), transparent); }
.tape::after  { left: 0;  background: linear-gradient(to right, var(--bg-2), transparent); }
.tape-track { display: flex; gap: 30px; white-space: nowrap; will-change: transform; animation: tape 60s linear infinite; padding-inline: 15px; }
.tape:hover .tape-track { animation-play-state: paused; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tape-item { display: inline-flex; align-items: center; gap: 8px; }
.tape-item .t-sym { color: var(--text-2); font-weight: 500; letter-spacing: .02em; }
.tape-item .t-px  { color: var(--text); font-weight: 600; }
.tape-item .t-ch  { font-size: 12px; }
.tape-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--border); }
@media (prefers-reduced-motion: reduce){ .tape-track{ animation: none; } }

/* =====================  HEADER / NAV  ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--border-soft);
}
.nav { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--gold-soft), var(--gold-strong));
  display: grid; place-items: center; color: var(--gold-ink);
  font-weight: 700; font-size: 20px; box-shadow: var(--glow-gold);
  font-family: var(--font-mono);
}
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt b { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.brand-txt span { font-size: 11px; color: var(--text-3); font-family: var(--font-mono); letter-spacing: .04em; }

.main-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: 8px; }
.nav-link {
  position: relative; padding: 9px 13px; border-radius: var(--r-xs);
  font-size: 14.5px; font-weight: 500; color: var(--text-2);
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-link svg { width: 13px; height: 13px; opacity: .6; }
.nav-spacer { flex: 1; }

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.icon-btn {
  width: 38px; height: 38px; border-radius: var(--r-xs); display: grid; place-items: center;
  color: var(--text-2); border: 1px solid var(--border-soft); background: var(--surface);
  transition: transform 160ms var(--ease-out), color 180ms ease, border-color 180ms ease;
}
.icon-btn:active { transform: scale(0.94); transition-duration: 100ms; }
@media (hover: hover) and (pointer: fine) {
  .icon-btn:hover { color: var(--text); border-color: var(--border); transform: translateY(-1px); }
}
.icon-btn svg { width: 17px; height: 17px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 10px 18px; border-radius: var(--r-pill); font-weight: 600; font-size: 14.5px;
  transition: transform 160ms var(--ease-out), filter 180ms var(--ease-out),
              border-color 180ms ease, color 180ms ease, box-shadow 220ms var(--ease-out);
  white-space: nowrap; border: 1px solid transparent;
}
.btn:active { transform: scale(0.97); transition-duration: 100ms; }
.btn-gold {
  background: linear-gradient(140deg, var(--gold-soft), var(--gold-strong));
  color: var(--gold-ink); box-shadow: var(--glow-gold);
}
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover { transform: translateY(-2px); filter: brightness(1.04); }
  .btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
}
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn svg { width: 16px; height: 16px; }

.menu-toggle { display: none; }

/* =====================  SECTION SCAFFOLD  ===================== */
section { position: relative; }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section-tight { padding-block: clamp(34px, 4.5vw, 56px); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 28px; margin-bottom: 30px; flex-wrap: wrap; }
.sec-head > div:first-child { flex: 1 1 auto; min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono);
  font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); opacity: .6; }
.sec-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.sec-sub { color: var(--text-3); font-size: 15px; margin-top: 8px; max-width: 52ch; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--gold); transition: gap .2s; white-space: nowrap; flex-shrink: 0; }
.link-more:hover { gap: 11px; }
.link-more svg { width: 15px; height: 15px; }

/* =====================  HERO  ===================== */
.hero { position: relative; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 6vw, 80px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-glow); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 9px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill);
  font-size: 13px; color: var(--text-2); margin-bottom: 22px;
}
.hero-badge b { color: var(--gold); font-family: var(--font-mono); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--up); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--up); opacity: .35; animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { to { transform: scale(2.4); opacity: 0; } }

.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--gold-soft), var(--gold-strong));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede { color: var(--text-2); font-size: clamp(15px, 1.6vw, 18px); margin-top: 18px; max-width: 46ch; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 38px; flex-wrap: wrap; }
.hstat { display: flex; flex-direction: column; gap: 2px; }
.hstat b { font-family: var(--font-mono); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; letter-spacing: -.02em; }
.hstat > span { font-size: 13px; color: var(--text-3); }
.hstat .up { color: var(--up); }

/* hero price card */
.glass-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.price-card { position: relative; }
.pc-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px 14px; }
.pc-coin { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(145deg, var(--gold-soft), var(--gold-strong)); color: var(--gold-ink); display: grid; place-items: center; font-weight: 700; font-family: var(--font-mono); font-size: 17px; }
.pc-name { line-height: 1.2; }
.pc-name b { font-size: 16px; font-weight: 600; }
.pc-name span { font-size: 12.5px; color: var(--text-3); font-family: var(--font-mono); }
.pc-live { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-family: var(--font-mono); color: var(--up); padding: 4px 9px; background: var(--up-dim); border-radius: var(--r-pill); }
.pc-px-row { display: flex; align-items: baseline; gap: 12px; padding: 0 20px; }
.pc-px { font-family: var(--font-mono); font-size: 2.4rem; font-weight: 600; letter-spacing: -.02em; transition: color .3s; }
.pc-ch { font-family: var(--font-mono); font-size: 15px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); }
.pc-ch.up { background: var(--up-dim); }
.pc-ch.down { background: var(--down-dim); }
.pc-chart { margin-top: 8px; height: 150px; width: 100%; }
.pc-foot { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border-soft); }
.pc-foot div { padding: 13px 14px; text-align: center; border-inline-start: 1px solid var(--border-soft); }
.pc-foot div:first-child { border-inline-start: none; }
.pc-foot span { display: block; font-size: 11px; color: var(--text-3); margin-bottom: 3px; }
.pc-foot b { font-family: var(--font-mono); font-size: 14px; font-weight: 600; }
.tf-row { display: flex; gap: 4px; padding: 12px 20px 0; }
.tf-row button { font-family: var(--font-mono); font-size: 12px; padding: 5px 11px; border-radius: var(--r-pill); color: var(--text-3);
                 transition: color 180ms ease, background-color 180ms var(--ease-out), transform 120ms var(--ease-out); }
.tf-row button:active { transform: scale(0.95); }
.tf-row button.on { background: var(--gold); color: var(--gold-ink); font-weight: 600; }

.flash-up   { animation: flashUp .6s var(--ease); }
.flash-down { animation: flashDown .6s var(--ease); }
@keyframes flashUp   { 0%,100%{ color: var(--text);} 30%{ color: var(--up);} }
@keyframes flashDown { 0%,100%{ color: var(--text);} 30%{ color: var(--down);} }

/* =====================  MARKET STRIP  ===================== */
.market-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.m-card {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-md);
  padding: 14px 15px; position: relative; overflow: hidden; cursor: pointer;
  transition: transform 220ms var(--ease-out), border-color 220ms ease, box-shadow 220ms var(--ease-out);
  animation: cardIn 360ms var(--ease-out) backwards;
}
.m-card:nth-child(1) { animation-delay: 0ms; }
.m-card:nth-child(2) { animation-delay: 40ms; }
.m-card:nth-child(3) { animation-delay: 80ms; }
.m-card:nth-child(4) { animation-delay: 120ms; }
.m-card:nth-child(5) { animation-delay: 160ms; }
.m-card:nth-child(6) { animation-delay: 200ms; }
.m-card:nth-child(7) { animation-delay: 240ms; }
.m-card:nth-child(8) { animation-delay: 280ms; }
.m-card:nth-child(9) { animation-delay: 320ms; }
.m-card:nth-child(10) { animation-delay: 360ms; }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) and (pointer: fine) {
  .m-card:hover { border-color: var(--border); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
}
.m-card:active { transform: scale(0.985); transition-duration: 100ms; }
.m-top { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.m-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border-soft); }
.m-sym { font-weight: 600; font-size: 14px; line-height: 1.1; }
.m-sub { font-size: 11px; color: var(--text-3); }
.m-spark { height: 34px; margin: 6px 0 10px; }
.m-bot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.m-px { font-family: var(--font-mono); font-size: 17px; font-weight: 600; transition: color .3s; }
.m-ch { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; padding: 2px 7px; border-radius: var(--r-pill); }
.m-ch.up { background: var(--up-dim); color: var(--up); }
.m-ch.down { background: var(--down-dim); color: var(--down); }

/* =====================  TRACK RECORD  ===================== */
.record { background: var(--bg-2); border-block: 1px solid var(--border-soft); }
.record-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.record-headline b { font-family: var(--font-mono); font-size: clamp(3.2rem, 8vw, 5.6rem); font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--gold); display: block; }
.record-headline .unit { font-size: clamp(1rem,2vw,1.4rem); color: var(--text-2); }
.record-meta { display: flex; gap: 26px; margin-top: 26px; flex-wrap: wrap; }
.rm { display: flex; flex-direction: column; }
.rm b { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 600; }
.rm span { font-size: 12.5px; color: var(--text-3); }
.record-note { margin-top: 26px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-md); font-size: 13.5px; color: var(--text-2); display: flex; gap: 11px; align-items: flex-start; }
.record-note svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 1px; }

.record-chart { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px 24px; box-shadow: var(--shadow); }
.rc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.rc-head b { font-size: 15px; font-weight: 600; }
.rc-head span { font-size: 12px; color: var(--text-3); font-family: var(--font-mono); }
.bars { display: flex; align-items: flex-end; gap: clamp(6px,1.4vw,14px); height: 220px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 9px; height: 100%; justify-content: flex-end; }
.bar { width: 100%; border-radius: 7px 7px 3px 3px; background: linear-gradient(to top, var(--surface-2), var(--border)); position: relative; transition: height 900ms var(--ease-out); min-height: 4px; }
.bar.hot { background: linear-gradient(to top, var(--gold-strong), var(--gold-soft)); }
.bar-val { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 10.5px; color: var(--text-2); white-space: nowrap; }
.bar-yr { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.bar-col.hot .bar-yr { color: var(--gold); font-weight: 600; }

/* =====================  NEWS  ===================== */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-pill); }
.tab { padding: 7px 15px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 500; color: var(--text-3);
       transition: color 180ms ease, background-color 180ms var(--ease-out), transform 120ms var(--ease-out); white-space: nowrap; }
.tab:active { transform: scale(0.97); }
.tab.on { background: var(--gold); color: var(--gold-ink); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .tab:not(.on):hover { color: var(--text); }
}

.news-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.news-feature { grid-row: span 2; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-md); overflow: hidden;
  transition: transform 220ms var(--ease-out), border-color 220ms ease, box-shadow 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .news-feature:hover, .news-item:hover { border-color: var(--border); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
}
.news-thumb { aspect-ratio: 16/10; position: relative; background:
  repeating-linear-gradient(135deg, var(--surface-2) 0 12px, transparent 12px 24px), var(--bg-2);
  display: grid; place-items: center; overflow: hidden; }
.news-thumb .ph { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); letter-spacing: .08em; text-transform: uppercase; }
.news-feature .news-body { padding: 20px 22px 22px; }
.cat-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .04em; padding: 4px 10px; border-radius: var(--r-pill); background: var(--gold-strong); color: var(--gold-ink); margin-bottom: 12px; }
.cat-tag.alt { background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border-soft); }
.cat-tag.crypto { background: var(--info); color: oklch(0.18 0.02 256); }
.news-feature h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.news-feature p { color: var(--text-2); font-size: 14.5px; margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-col { display: flex; flex-direction: column; gap: 14px; }
.news-item { display: flex; gap: 13px; padding: 13px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-sm);
             transition: transform 220ms var(--ease-out), border-color 220ms ease, box-shadow 220ms var(--ease-out); align-items: flex-start; }
.news-item .ni-thumb { width: 78px; height: 64px; border-radius: var(--r-xs); flex-shrink: 0; background:
  repeating-linear-gradient(135deg, var(--surface-2) 0 9px, transparent 9px 18px), var(--bg-2); }
.news-item h4 { font-size: 14px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.byline { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; color: var(--text-3); }
.byline .av { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-soft), var(--gold-strong)); display: grid; place-items: center; color: var(--gold-ink); font-size: 10px; font-weight: 700; }
.ni-meta { margin-top: 8px; font-size: 11.5px; color: var(--text-3); font-family: var(--font-mono); }

/* =====================  TECHNICAL HEATMAP  ===================== */
.heat { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px,1fr)); gap: 10px; }
.heat-cell { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-sm); padding: 13px 14px; cursor: pointer;
             transition: transform 200ms var(--ease-out), border-color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .heat-cell:hover { border-color: var(--border); transform: translateY(-2px); }
}
.heat-cell:active { transform: scale(0.985); transition-duration: 100ms; }
.heat-pair { font-family: var(--font-mono); font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.heat-sig { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: var(--r-pill); }
.sig-buy { background: var(--up-dim); color: var(--up); }
.sig-sell { background: var(--down-dim); color: var(--down); }
.sig-neutral { background: var(--surface-2); color: var(--text-3); }
.heat-px { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-2); margin-top: 9px; display: flex; justify-content: space-between; }

/* =====================  TOOLS  ===================== */
.tools-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.tool-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.tool-card { display: flex; gap: 13px; align-items: flex-start; padding: 17px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-md);
             transition: transform 220ms var(--ease-out), border-color 220ms ease, box-shadow 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tool-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
}
.tool-card:active { transform: scale(0.985); transition-duration: 100ms; }
.tool-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--border-soft); display: grid; place-items: center; color: var(--gold); flex-shrink: 0; }
.tool-ico svg { width: 20px; height: 20px; }
.tool-card b { font-size: 14.5px; font-weight: 600; display: block; }
.tool-card span { font-size: 12.5px; color: var(--text-3); }

/* gold calculator */
.calc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.calc h3 { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 9px; margin-bottom: 4px; }
.calc h3 svg { width: 18px; height: 18px; color: var(--gold); }
.calc .calc-sub { font-size: 12.5px; color: var(--text-3); margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; color: var(--text-2); margin-bottom: 7px; font-weight: 500; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inp, .sel { width: 100%; padding: 11px 13px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-xs); color: var(--text); font-family: var(--font-mono); font-size: 14px; transition: .2s; }
.inp:focus, .sel:focus { outline: none; border-color: var(--gold); }
.sel { font-family: var(--font-sans); cursor: pointer; }
.calc-out { margin-top: 18px; padding: 18px; background: var(--bg-2); border: 1px solid var(--border-soft); border-radius: var(--r-md); text-align: center; }
.calc-out span { font-size: 12.5px; color: var(--text-3); display: block; margin-bottom: 6px; }
.calc-out b { font-family: var(--font-mono); font-size: 2rem; font-weight: 600; color: var(--gold); letter-spacing: -.02em; }

/* =====================  BROKERS  ===================== */
.broker-list { display: flex; flex-direction: column; gap: 12px; }
.broker-head, .broker-row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr auto; gap: 16px; align-items: center;
}
.broker-head { padding: 0 20px 4px; font-size: 12px; color: var(--text-3); font-family: var(--font-mono); letter-spacing: .03em; }
.broker-row {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-md);
  padding: 16px 20px;
  transition: transform 220ms var(--ease-out), border-color 220ms ease, box-shadow 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .broker-row:hover { border-color: var(--border); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
}
.broker-row.featured { border-color: var(--gold); box-shadow: var(--glow-gold); }
.bk-brand { display: flex; align-items: center; gap: 13px; }
.bk-logo { width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border-soft); display: grid; place-items: center; font-weight: 700; font-size: 13px; font-family: var(--font-mono); color: var(--text); flex-shrink: 0; }
.bk-name b { font-size: 15px; font-weight: 600; display: block; }
.bk-rank { font-size: 11.5px; color: var(--text-3); font-family: var(--font-mono); }
.bk-rate { display: flex; align-items: center; gap: 7px; }
.stars { display: inline-flex; gap: 1px; color: var(--gold); }
.stars svg { width: 14px; height: 14px; }
.bk-val { font-family: var(--font-mono); font-size: 14px; font-weight: 600; }
.bk-val small { display: block; font-family: var(--font-sans); font-size: 11px; color: var(--text-3); font-weight: 400; margin-top: 2px; }
.badge-reg { font-size: 11px; font-family: var(--font-mono); padding: 3px 8px; border-radius: var(--r-pill); background: var(--up-dim); color: var(--up); display: inline-block; }

/* =====================  SESSIONS / CALENDAR  ===================== */
.dash-2 { display: grid; grid-template-columns: 1fr 1.25fr; gap: 18px; }
.panel { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border-soft); }
.panel-head b, .panel-head h2 { font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 9px; margin: 0; letter-spacing: 0; }
.panel-head b svg, .panel-head h2 svg { width: 16px; height: 16px; color: var(--gold); }
.sessions { padding: 8px 0; }
.session { display: flex; align-items: center; gap: 13px; padding: 12px 20px; }
.s-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); flex-shrink: 0; }
.session.live .s-dot { background: var(--up); box-shadow: 0 0 0 4px var(--up-dim); }
.s-city { font-weight: 600; font-size: 14px; flex: 1; }
.s-city small { font-weight: 400; color: var(--text-3); font-size: 11.5px; margin-inline-start: 7px; font-family: var(--font-mono); }
.s-time { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-2); }
.s-state { font-size: 11px; font-family: var(--font-mono); padding: 2px 8px; border-radius: var(--r-pill); }
.s-state.open { background: var(--up-dim); color: var(--up); }
.s-state.closed { background: var(--surface-2); color: var(--text-3); }

.cal-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cal-table th { text-align: start; padding: 11px 20px; font-size: 11.5px; color: var(--text-3); font-weight: 500; font-family: var(--font-mono); border-bottom: 1px solid var(--border-soft); }
.cal-table td { padding: 12px 20px; border-bottom: 1px solid var(--border-soft); }
.cal-table tr:last-child td { border-bottom: none; }
.cal-table tr:hover td { background: var(--surface-2); }
.cal-time { font-family: var(--font-mono); color: var(--text-3); font-size: 12.5px; }
.flag { width: 20px; height: 14px; border-radius: 3px; display: inline-grid; place-items: center; font-size: 9px; background: var(--surface-2); border: 1px solid var(--border-soft); font-family: var(--font-mono); color: var(--text-2); margin-inline-end: 8px; vertical-align: middle; }
.imp { display: inline-flex; gap: 2px; }
.imp i { width: 5px; height: 5px; border-radius: 50%; background: var(--border); }
.imp.high i:nth-child(-n+3) { background: var(--down); }
.imp.med i:nth-child(-n+2) { background: var(--gold); }
.imp.low i:nth-child(-n+1) { background: var(--text-3); }
.cal-val { font-family: var(--font-mono); font-size: 13px; }

/* =====================  CRYPTO TABLE  ===================== */
.cr-table { width: 100%; border-collapse: collapse; }
.cr-table th { text-align: start; padding: 11px 16px; font-size: 11.5px; color: var(--text-3); font-family: var(--font-mono); font-weight: 500; border-bottom: 1px solid var(--border-soft); }
.cr-table td { padding: 13px 16px; border-bottom: 1px solid var(--border-soft); }
.cr-table tr:last-child td { border-bottom: none; }
.cr-table tr:hover td { background: var(--surface-2); }
.cr-coin { display: flex; align-items: center; gap: 11px; }
.cr-ico { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 12px; color: oklch(0.18 0.02 256); flex-shrink: 0; }
.cr-name b { font-size: 14px; font-weight: 600; display: block; line-height: 1.1; }
.cr-name span { font-size: 11.5px; color: var(--text-3); font-family: var(--font-mono); }
.cr-px { font-family: var(--font-mono); font-weight: 600; font-size: 14px; transition: color .3s; }
.cr-spark { width: 90px; height: 30px; }

/* =====================  CTA BAND  ===================== */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(36px, 5vw, 60px); background:
  linear-gradient(135deg, oklch(0.30 0.04 256), oklch(0.22 0.03 256));
  border: 1px solid var(--border); }
[data-theme="light"] .cta-band { background: linear-gradient(135deg, oklch(0.96 0.01 256), oklch(0.92 0.02 80)); }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 85% 0%, var(--gold-strong), transparent 55%); opacity: .18; pointer-events: none; }
.cta-band-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; max-width: 18ch; }
.cta-band p { color: var(--text-2); margin-top: 12px; font-size: 15px; max-width: 44ch; }

/* =====================  EDUCATION  ===================== */
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.edu-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-md); overflow: hidden;
            transition: transform 220ms var(--ease-out), border-color 220ms ease, box-shadow 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .edu-card:hover { border-color: var(--border); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
}
.edu-thumb { aspect-ratio: 16/9; background: repeating-linear-gradient(135deg, var(--surface-2) 0 11px, transparent 11px 22px), var(--bg-2); display: grid; place-items: center; }
.edu-thumb .ph { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); letter-spacing: .07em; }
.edu-body { padding: 18px 20px 20px; }
.edu-body .lvl { font-family: var(--font-mono); font-size: 11px; color: var(--gold); letter-spacing: .05em; }
.edu-body h3 { font-size: 16px; font-weight: 600; line-height: 1.3; margin-top: 8px; }
.edu-body p { font-size: 13.5px; color: var(--text-3); margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* =====================  FOOTER  ===================== */
.footer { background: var(--bg-2); border-top: 1px solid var(--border-soft); padding-block: 56px 28px; margin-top: 30px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; }
.foot-brand p { color: var(--text-3); font-size: 13.5px; margin-top: 16px; max-width: 34ch; }
.foot-soc { display: flex; gap: 9px; margin-top: 20px; }
.foot-soc a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border-soft); background: var(--surface); display: grid; place-items: center; color: var(--text-2);
              transition: transform 180ms var(--ease-out), color 180ms ease, border-color 180ms ease; }
@media (hover: hover) and (pointer: fine) {
  .foot-soc a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
}
.foot-soc a:active { transform: scale(0.94); transition-duration: 100ms; }
.foot-soc svg { width: 16px; height: 16px; }
.foot-col h5 { font-size: 13px; font-weight: 600; margin-bottom: 14px; color: var(--text); }
.foot-col a { display: block; font-size: 13px; color: var(--text-3); padding: 5px 0; transition: color .2s; }
.foot-col a:hover { color: var(--gold); }
.foot-risk { margin-top: 40px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-md); font-size: 12px; color: var(--text-3); line-height: 1.7; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border-soft); font-size: 12.5px; color: var(--text-3); flex-wrap: wrap; }

/* =====================  RESPONSIVE  ===================== */
.mobile-only { display: none; }
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .record-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-feature { grid-row: auto; grid-column: span 2; }
  .tools-grid, .dash-2 { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .hero-stats { gap: 20px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-feature { grid-column: auto; }
  .tool-list { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .broker-head { display: none; }
  .broker-row { grid-template-columns: 1fr auto; gap: 12px 14px; row-gap: 14px; }
  .broker-row > .bk-rate, .broker-row > .bk-val { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .pc-px { font-size: 2rem; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
  .hstat b { font-size: 1.5rem; }
}

/* =====================  SKIP LINK (a11y)  ===================== */
.skip-link {
  position: absolute; top: -100px; inset-inline-start: 16px;
  background: var(--gold); color: var(--gold-ink); padding: 10px 16px;
  border-radius: var(--r-xs); font-weight: 600; z-index: 100;
  transition: top 180ms var(--ease-out);
}
.skip-link:focus { top: 16px; }

/* =====================  AUTH (login / signup)  ===================== */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-brand-panel {
  position: relative; background: var(--bg-2); border-inline-end: 1px solid var(--border-soft);
  padding: clamp(28px, 4vw, 56px); overflow: hidden; display: flex; flex-direction: column; gap: 24px;
}
.auth-brand-panel::before { content: ""; position: absolute; inset: 0; background: var(--hero-glow); pointer-events: none; }
.auth-brand-panel > * { position: relative; }
.auth-brand-panel .brand { margin-bottom: 8px; }
.auth-quote { margin-top: auto; padding: 24px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-md); }
.auth-quote .promo-num { font-family: var(--font-mono); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; color: var(--gold); letter-spacing: -.02em; line-height: 1; display: block; }
.auth-quote p { color: var(--text-2); font-size: 14.5px; margin-top: 10px; }
.auth-quote .promo-chart { height: 60px; margin-top: 14px; width: 100%; }

.auth-form-panel { padding: clamp(28px, 4vw, 56px); display: flex; align-items: center; justify-content: center; }
.auth-form { width: 100%; max-width: 420px; }
.auth-form h1 { font-size: clamp(1.55rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.auth-form .auth-sub { color: var(--text-2); margin-top: 10px; font-size: 15px; }
.auth-form form { margin-top: 26px; }

.field-grp { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field-grp label { font-size: 13px; font-weight: 500; color: var(--text-2); display: flex; align-items: center; }
.field-grp .req-mark { color: var(--gold); margin-inline-start: 4px; }
.field-grp .inp { padding: 12px 14px; font-size: 14.5px; }
.field-grp .inp::placeholder { color: var(--text-3); }
.field-hint { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.field-err { font-size: 12.5px; color: var(--down); display: none; margin-top: 4px; }
.field-grp[data-invalid="true"] .inp { border-color: var(--down); }
.field-grp[data-invalid="true"] .field-err { display: block; }

.inp-wrap { position: relative; }
.inp-wrap .inp { padding-inline-end: 44px; }
.inp-wrap .inp-action {
  position: absolute; top: 50%; transform: translateY(-50%); inset-inline-end: 6px;
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; color: var(--text-3);
  transition: color 160ms ease, background-color 160ms var(--ease-out), transform 120ms var(--ease-out);
}
.inp-wrap .inp-action:active { transform: translateY(-50%) scale(0.92); transition-duration: 100ms; }
@media (hover: hover) and (pointer: fine) {
  .inp-wrap .inp-action:hover { color: var(--text-2); background: var(--surface-2); }
}
.inp-wrap .inp-action svg { width: 16px; height: 16px; }

.label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.label-row a { font-size: 12.5px; color: var(--gold); font-weight: 500; }

.check-row { display: flex; align-items: center; gap: 9px; margin: 6px 0 18px; }
.check-row input[type="checkbox"] { accent-color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; }
.check-row label { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.check-row a { color: var(--gold); font-weight: 500; }

.btn-block { width: 100%; }

.auth-sep { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--text-3); font-size: 12px; font-family: var(--font-mono); letter-spacing: .04em; }
.auth-sep::before, .auth-sep::after { content: ""; flex: 1; height: 1px; background: var(--border-soft); }

.social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px; border-radius: var(--r-xs); background: var(--surface);
  border: 1px solid var(--border); color: var(--text); font-size: 13.5px; font-weight: 500;
  transition: transform 160ms var(--ease-out), border-color 180ms ease, background-color 180ms var(--ease-out);
}
.social-btn:active { transform: scale(0.97); transition-duration: 100ms; }
@media (hover: hover) and (pointer: fine) { .social-btn:hover { border-color: var(--gold); } }
.social-btn svg { width: 16px; height: 16px; }

.auth-foot-line { margin-top: 22px; font-size: 13.5px; color: var(--text-3); text-align: start; }
.auth-foot-line a { color: var(--gold); font-weight: 600; }

.security-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-sm); font-size: 12px; color: var(--text-3); }
.security-note svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* Password strength meter */
.pw-meter { display: flex; gap: 4px; margin-top: 6px; }
.pw-meter i { flex: 1; height: 3px; border-radius: 2px; background: var(--border-soft); transition: background-color 220ms var(--ease-out); }
.pw-meter.weak i:nth-child(-n+1) { background: var(--down); }
.pw-meter.fair i:nth-child(-n+2) { background: var(--gold); }
.pw-meter.good i:nth-child(-n+3) { background: var(--gold-soft); }
.pw-meter.strong i { background: var(--up); }
.pw-status { font-size: 11.5px; font-family: var(--font-mono); margin-top: 4px; color: var(--text-3); }
.pw-status.weak { color: var(--down); }
.pw-status.fair { color: var(--gold); }
.pw-status.good, .pw-status.strong { color: var(--up); }

/* Phone field — keep LTR even in RTL pages */
input[type="email"], input[type="tel"], input[type="url"], input[dir="ltr"] {
  direction: ltr; text-align: start;
}

@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; min-height: auto; }
  .auth-brand-panel { padding: 24px; border-inline-end: none; border-bottom: 1px solid var(--border-soft); }
  .auth-brand-panel .auth-quote { display: none; }
}

/* =====================  PRICING (signals)  ===================== */
.bill-toggle {
  display: inline-flex; padding: 4px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-pill); margin: 0 auto 30px;
}
.bill-toggle button {
  padding: 8px 18px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 500; color: var(--text-3);
  font-family: inherit;
  transition: color 180ms ease, background-color 180ms var(--ease-out), transform 120ms var(--ease-out);
}
.bill-toggle button:active { transform: scale(0.97); }
.bill-toggle button.on { background: var(--gold); color: var(--gold-ink); font-weight: 600; }
.save-pill { font-family: var(--font-mono); font-size: 10.5px; padding: 2px 7px; border-radius: var(--r-pill); background: var(--up-dim); color: var(--up); margin-inline-start: 6px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg);
  padding: 28px; display: flex; flex-direction: column; position: relative;
  transition: transform 220ms var(--ease-out), border-color 220ms ease, box-shadow 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .price-card:hover { border-color: var(--border); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
}
.price-card.featured { border-color: var(--gold); box-shadow: var(--glow-gold); }
.price-card .feat-tag {
  position: absolute; top: -10px; inset-inline-start: 24px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--r-pill);
  background: linear-gradient(140deg, var(--gold-soft), var(--gold-strong)); color: var(--gold-ink);
}
.price-tier-name { font-size: 13px; font-weight: 600; color: var(--text-2); letter-spacing: .06em; text-transform: uppercase; font-family: var(--font-mono); }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin-top: 16px; }
.price-amount b { font-family: var(--font-mono); font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 600; letter-spacing: -.025em; line-height: 1; color: var(--gold); }
.price-amount span { font-size: 14px; color: var(--text-3); font-family: var(--font-mono); }
.price-desc { color: var(--text-2); font-size: 14px; margin-top: 14px; min-height: 42px; }
.price-feats { padding: 0; margin: 22px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-feats li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--text); }
.price-feats li svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.price-feats li.off { color: var(--text-3); }
.price-feats li.off svg { color: var(--text-3); opacity: 0.55; }

.compare-table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 14px; }
.compare-table th, .compare-table td { padding: 14px 18px; border-bottom: 1px solid var(--border-soft); text-align: start; }
.compare-table th { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--text-3); letter-spacing: .04em; text-transform: uppercase; background: var(--bg-2); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .row-label { font-weight: 500; color: var(--text); }
.compare-table .cell-yes { color: var(--up); }
.compare-table .cell-no { color: var(--text-3); }
.compare-table .cell-mono { font-family: var(--font-mono); }

@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; }
  .compare-table thead { display: none; }
  .compare-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
  .compare-table td { display: flex; justify-content: space-between; padding: 6px 0; border: none; }
  .compare-table td::before { content: attr(data-label); color: var(--text-3); font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; }
}

/* =====================  BROKER DETAIL  ===================== */
.bk-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; padding-block: 36px; }
.bk-pill-row { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.bk-pill { font-size: 11.5px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--up-dim); color: var(--up); font-family: var(--font-mono); font-weight: 500; }
.bk-pill.alt { background: var(--gold-strong); color: var(--gold-ink); }
.bk-pill.neutral { background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border-soft); }
.bk-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.bk-hero .lede { color: var(--text-2); font-size: 16px; margin-top: 14px; max-width: 50ch; line-height: 1.7; }
.bk-rating-row { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.bk-rating-big { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-mono); }
.bk-rating-big b { font-size: 2.2rem; font-weight: 600; color: var(--gold); letter-spacing: -.02em; }
.bk-rating-big span { font-size: 13px; color: var(--text-3); }

.bk-spec-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 88px; }
.bk-logo-big { width: 64px; height: 64px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border-soft); display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 22px; margin-bottom: 14px; color: var(--text); }
.spec-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--border-soft); font-size: 13.5px; gap: 12px; }
.spec-row:last-of-type { border-bottom: none; padding-bottom: 18px; }
.spec-row span:first-child { color: var(--text-3); }
.spec-row span:last-child { font-family: var(--font-mono); font-weight: 600; text-align: end; }

.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pc-block { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-md); padding: 22px 24px; }
.pc-block h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.pc-block.pros h3 { color: var(--up); }
.pc-block.cons h3 { color: var(--down); }
.pc-block ul { display: flex; flex-direction: column; gap: 10px; }
.pc-block li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--text); line-height: 1.5; }
.pc-block li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.pc-block.pros li svg { color: var(--up); }
.pc-block.cons li svg { color: var(--down); }

.bk-faq details {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-md);
  padding: 16px 20px; margin-bottom: 10px;
  transition: border-color 200ms ease;
}
.bk-faq details[open] { border-color: var(--border); }
.bk-faq summary {
  font-weight: 600; font-size: 15px; cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.bk-faq summary::-webkit-details-marker { display: none; }
.bk-faq summary svg { width: 18px; height: 18px; color: var(--text-3); transition: transform 200ms var(--ease-out); flex-shrink: 0; }
.bk-faq details[open] summary svg { transform: rotate(180deg); }
.bk-faq details p { margin-top: 12px; color: var(--text-2); font-size: 14px; line-height: 1.7; }

@media (max-width: 900px) {
  .bk-hero { grid-template-columns: 1fr; }
  .bk-spec-card { position: static; }
  .proscons { grid-template-columns: 1fr; }
}

/* =====================  DASHBOARD  ===================== */
.dash-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.dash-side {
  background: var(--bg-2); border-inline-end: 1px solid var(--border-soft);
  padding: 22px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.dash-side .brand { padding: 0 8px 24px; }
.dash-nav { display: flex; flex-direction: column; gap: 1px; }
.dash-nav a {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: var(--r-xs);
  color: var(--text-2); font-size: 14px; font-weight: 500;
  transition: color 180ms ease, background-color 180ms var(--ease-out), transform 120ms var(--ease-out);
}
.dash-nav a:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) {
  .dash-nav a:hover { color: var(--text); background: var(--surface); }
}
.dash-nav a.on { color: var(--gold); background: color-mix(in oklch, var(--gold) 12%, transparent); }
.dash-nav a svg { width: 17px; height: 17px; flex-shrink: 0; }
.dash-nav .group-label {
  padding: 18px 12px 6px; font-size: 10.5px; color: var(--text-3); font-family: var(--font-mono);
  letter-spacing: .06em; text-transform: uppercase;
}

.dash-main { padding: clamp(20px, 3vw, 40px); }
.dash-topbar {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.dash-topbar h1 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.dash-topbar .sub { color: var(--text-3); font-size: 13.5px; margin-top: 4px; }

.avatar-menu {
  display: flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px;
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-pill);
  transition: border-color 180ms ease, transform 160ms var(--ease-out);
}
.avatar-menu:active { transform: scale(0.97); transition-duration: 100ms; }
@media (hover: hover) and (pointer: fine) { .avatar-menu:hover { border-color: var(--border); } }
.avatar-menu .av {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-strong));
  display: grid; place-items: center; color: var(--gold-ink); font-size: 12px; font-weight: 700;
}
.avatar-menu .av-name { font-size: 13.5px; font-weight: 600; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-md); padding: 17px 18px; }
.stat-card .label { font-size: 11.5px; color: var(--text-3); font-family: var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.stat-card .val { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 600; margin-top: 6px; letter-spacing: -.02em; }
.stat-card .delta { font-size: 12.5px; font-family: var(--font-mono); margin-top: 4px; }

.dash-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }

.sig-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px;
  padding: 14px 20px; border-bottom: 1px solid var(--border-soft); align-items: center;
  transition: background-color 180ms var(--ease-out);
}
.sig-item:last-child { border-bottom: none; }
@media (hover: hover) and (pointer: fine) { .sig-item:hover { background: var(--surface-2); } }
.sig-item .sig-ico {
  width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2);
  display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 12px; color: var(--text-2);
}
.sig-item .sig-name { font-weight: 600; font-size: 14px; }
.sig-item .sig-meta { font-size: 11.5px; color: var(--text-3); font-family: var(--font-mono); margin-top: 2px; }
.sig-pnl-wrap { text-align: end; }
.sig-pnl { font-family: var(--font-mono); font-weight: 600; font-size: 14px; }
.sig-state { font-size: 10.5px; padding: 2px 8px; border-radius: var(--r-pill); font-family: var(--font-mono); margin-top: 4px; display: inline-block; }
.sig-state.open { background: var(--up-dim); color: var(--up); }
.sig-state.pending { background: var(--surface-2); color: var(--text-3); }

.watchlist-item {
  display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center;
  padding: 12px 20px; border-bottom: 1px solid var(--border-soft);
  transition: background-color 180ms var(--ease-out);
}
.watchlist-item:last-child { border-bottom: none; }
@media (hover: hover) and (pointer: fine) { .watchlist-item:hover { background: var(--surface-2); } }
.watchlist-item .wl-name { font-weight: 600; font-size: 13.5px; }
.watchlist-item .wl-sub { font-size: 11px; color: var(--text-3); font-family: var(--font-mono); margin-top: 2px; }
.watchlist-item .wl-px { font-family: var(--font-mono); font-weight: 600; font-size: 13.5px; }
.watchlist-item .wl-ch { font-family: var(--font-mono); font-size: 11.5px; padding: 2px 7px; border-radius: var(--r-pill); }
.watchlist-item .wl-ch.up { background: var(--up-dim); color: var(--up); }
.watchlist-item .wl-ch.down { background: var(--down-dim); color: var(--down); }

@media (max-width: 1080px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-cols { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .dash-shell { grid-template-columns: 1fr; }
  .dash-side {
    position: sticky; top: 0; height: auto; max-height: none;
    border-inline-end: none; border-bottom: 1px solid var(--border-soft);
    padding: 14px 12px;
  }
  .dash-side .group-label { display: none; }
  .dash-nav { flex-direction: row; gap: 4px; overflow-x: auto; padding-bottom: 4px; }
  .dash-nav a { white-space: nowrap; padding: 8px 12px; font-size: 13px; }
  .dash-side .brand { display: none; }
}
@media (max-width: 480px) { .stat-grid { grid-template-columns: 1fr; } }

/* =====================  DASHBOARD MOTION  ===================== */
/* Topbar + sub-strip entry */
.dash-topbar { animation: dashFadeUp 420ms var(--ease-out) backwards; }
.sub-strip   { animation: dashFadeUp 460ms var(--ease-out) 80ms backwards; }
@keyframes dashFadeUp { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* Stat cards stagger */
.stat-card { animation: cardIn 380ms var(--ease-out) backwards; }
.stat-card:nth-child(1) { animation-delay: 140ms; }
.stat-card:nth-child(2) { animation-delay: 200ms; }
.stat-card:nth-child(3) { animation-delay: 260ms; }
.stat-card:nth-child(4) { animation-delay: 320ms; }

/* Dash panels stagger inside each row */
.dash-cols > * { animation: cardIn 420ms var(--ease-out) backwards; }
.dash-cols > *:nth-child(1) { animation-delay: 360ms; }
.dash-cols > *:nth-child(2) { animation-delay: 440ms; }
.dash-cols-3 > * { animation: cardIn 420ms var(--ease-out) backwards; }
.dash-cols-3 > *:nth-child(1) { animation-delay: 80ms; }
.dash-cols-3 > *:nth-child(2) { animation-delay: 140ms; }
.dash-cols-3 > *:nth-child(3) { animation-delay: 200ms; }

/* Equity chart: blur-mask when switching ranges (Emil "blur to mask imperfect transitions") */
.equity-chart { transition: filter 220ms var(--ease-out), opacity 220ms var(--ease-out); }
.equity-chart[data-transitioning="true"] { filter: blur(3px); opacity: 0.6; }

/* Equity chart line draws in on render */
.equity-chart path[data-line] { transition: stroke-dashoffset 1100ms cubic-bezier(0.23, 1, 0.32, 1); }

/* Risk arc animates on reveal */
.risk-card #riskArc { transition: stroke-dashoffset 1300ms cubic-bezier(0.23, 1, 0.32, 1); }

/* Perf pair bars grow from zero (set width via inline data-w → style.width on reveal) */
.perf-pair-row .pp-bar i { width: 0; }

/* Active signal pulsing live dot */
.sig-state.open { position: relative; padding-inline-start: 16px; }
.sig-state.open::before {
  content: ""; position: absolute; inset-inline-start: 6px; top: 50%; margin-top: -3px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--up);
  box-shadow: 0 0 0 0 var(--up);
  animation: sigPulse 1.8s var(--ease-out) infinite;
}
@keyframes sigPulse {
  0%   { box-shadow: 0 0 0 0 var(--up); }
  60%  { box-shadow: 0 0 0 6px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* Active signal rows stagger in once the panel becomes visible */
.dash-panel .sig-item { animation: rowIn 380ms var(--ease-out) backwards; }
.dash-panel .sig-item:nth-child(2) { animation-delay: 460ms; }
.dash-panel .sig-item:nth-child(3) { animation-delay: 520ms; }
.dash-panel .sig-item:nth-child(4) { animation-delay: 580ms; }
.dash-panel .sig-item:nth-child(5) { animation-delay: 640ms; }
.dash-panel .sig-item:nth-child(6) { animation-delay: 700ms; }
@keyframes rowIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.dash-panel .watchlist-item { animation: rowIn 360ms var(--ease-out) backwards; }
.dash-panel .watchlist-item:nth-child(1) { animation-delay: 500ms; }
.dash-panel .watchlist-item:nth-child(2) { animation-delay: 550ms; }
.dash-panel .watchlist-item:nth-child(3) { animation-delay: 600ms; }
.dash-panel .watchlist-item:nth-child(4) { animation-delay: 650ms; }
.dash-panel .watchlist-item:nth-child(5) { animation-delay: 700ms; }

/* Sidebar entry */
.dash-side { animation: sideIn 480ms var(--ease-out) backwards; }
@keyframes sideIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
[dir="rtl"] .dash-side { animation-name: sideInRtl; }
@keyframes sideInRtl { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }

/* Equity range buttons hover refinement (touch-safe) */
@media (hover: hover) and (pointer: fine) {
  .equity-rng button:not(.on):hover { color: var(--text-2); background: var(--surface-2); }
}

/* =====================  TESTIMONIALS / RESPONSIVE HELPERS  ===================== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 12px; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

.signal-sample-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; max-width: 1000px; margin: 0 auto; }
@media (max-width: 900px) { .signal-sample-grid { grid-template-columns: 1fr; } }

/* =====================  DASHBOARD — EXTENDED  ===================== */
/* Equity / P&L chart */
.equity-card { padding: 22px 24px 18px; }
.equity-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.equity-head .title { font-size: 14px; font-weight: 600; }
.equity-head .sub { font-size: 12px; color: var(--text-3); font-family: var(--font-mono); margin-top: 4px; }
.equity-now { display: flex; align-items: baseline; gap: 10px; }
.equity-now b { font-family: var(--font-mono); font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -.02em; }
.equity-now span { font-family: var(--font-mono); font-size: 13px; padding: 3px 10px; border-radius: var(--r-pill); }
.equity-now span.up { background: var(--up-dim); color: var(--up); }
.equity-now span.down { background: var(--down-dim); color: var(--down); }
.equity-chart { width: 100%; height: 220px; }
.equity-rng { display: flex; gap: 4px; }
.equity-rng button {
  font-family: var(--font-mono); font-size: 11.5px; padding: 5px 10px; border-radius: var(--r-pill);
  color: var(--text-3);
  transition: color 180ms ease, background-color 180ms var(--ease-out), transform 120ms var(--ease-out);
}
.equity-rng button:active { transform: scale(0.95); }
.equity-rng button.on { background: var(--gold); color: var(--gold-ink); font-weight: 600; }

/* Trade history table */
.trade-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.trade-table thead { background: var(--bg-2); }
.trade-table th { text-align: start; padding: 11px 20px; font-size: 11px; color: var(--text-3); font-family: var(--font-mono); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.trade-table td { padding: 12px 20px; border-bottom: 1px solid var(--border-soft); font-family: var(--font-mono); }
.trade-table tr:last-child td { border-bottom: none; }
.trade-table tr:hover td { background: var(--surface-2); }
.trade-table .pair { font-weight: 600; font-family: var(--font-mono); }
.trade-table .side-buy { color: var(--up); }
.trade-table .side-sell { color: var(--down); }

/* Performance breakdown */
.perf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px 20px; }
.perf-stat { background: var(--bg-2); border: 1px solid var(--border-soft); border-radius: var(--r-sm); padding: 14px; }
.perf-stat .lbl { font-size: 11.5px; color: var(--text-3); font-family: var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.perf-stat .val { font-family: var(--font-mono); font-size: 1.3rem; font-weight: 600; margin-top: 4px; letter-spacing: -.02em; }
.perf-stat .meta { font-size: 11.5px; color: var(--text-3); margin-top: 2px; font-family: var(--font-mono); }

.perf-pair-list { padding: 4px 20px 18px; }
.perf-pair-row { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border-soft); }
.perf-pair-row:last-child { border-bottom: none; }
.perf-pair-row .pp-name { font-family: var(--font-mono); font-weight: 600; font-size: 13.5px; }
.perf-pair-row .pp-bar { height: 6px; background: var(--bg-2); border-radius: 3px; overflow: hidden; position: relative; }
.perf-pair-row .pp-bar i { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; background: linear-gradient(to inline-end, var(--gold-strong), var(--gold-soft)); border-radius: 3px; transition: width 900ms cubic-bezier(0.23, 1, 0.32, 1); }
.perf-pair-row .pp-val { font-family: var(--font-mono); font-size: 13px; font-weight: 600; min-width: 50px; text-align: end; }

/* Account / subscription card */
.acct-card { padding: 22px 24px; }
.acct-tier {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--up-dim); color: var(--up);
  letter-spacing: .04em; text-transform: uppercase;
}
.acct-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--border-soft); font-size: 13.5px; }
.acct-row:last-of-type { border-bottom: none; padding-bottom: 6px; }
.acct-row span:first-child { color: var(--text-3); }
.acct-row span:last-child { font-family: var(--font-mono); font-weight: 600; text-align: end; }
.acct-bar-wrap { margin-top: 14px; }
.acct-bar-lbl { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); margin-bottom: 7px; font-family: var(--font-mono); }
.acct-bar { height: 6px; background: var(--bg-2); border-radius: 3px; overflow: hidden; position: relative; }
.acct-bar i { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; background: linear-gradient(to inline-end, var(--gold-strong), var(--gold-soft)); border-radius: 3px; width: 0; transition: width 900ms var(--ease-out); }

/* Mini economic calendar */
.cal-mini { display: flex; flex-direction: column; }
.cal-mini-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--border-soft); align-items: center; }
.cal-mini-row:last-child { border-bottom: none; }
.cal-mini .cal-time { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-2); }
.cal-mini .cal-evt { font-size: 13px; line-height: 1.4; }
.cal-mini .cal-evt-meta { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-3); margin-top: 3px; font-family: var(--font-mono); }
.cal-mini .imp { display: inline-flex; gap: 2px; align-items: center; }

/* Risk dial */
.risk-card { padding: 22px 24px; }
.risk-ring { display: grid; place-items: center; margin: 8px auto 14px; }
.risk-ring svg { width: 130px; height: 130px; }
.risk-ring text { font-family: var(--font-mono); font-weight: 600; font-size: 22px; fill: var(--text); }
.risk-ring text.sub { font-size: 10px; fill: var(--text-3); font-weight: 400; }
.risk-meta { font-size: 12.5px; color: var(--text-2); text-align: center; line-height: 1.6; }
.risk-meta b { color: var(--gold); font-family: var(--font-mono); }

/* Subscription strip */
.sub-strip {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center;
  background: linear-gradient(135deg, color-mix(in oklch, var(--gold-strong) 35%, var(--surface)), var(--surface));
  border: 1px solid var(--gold-strong); border-radius: var(--r-lg); padding: 18px 22px; margin-bottom: 18px;
}
.sub-strip-info b { font-size: 14.5px; font-weight: 600; }
.sub-strip-info span { display: block; font-size: 12.5px; color: var(--text-2); margin-top: 3px; }
.sub-strip .save-pill { background: var(--gold); color: var(--gold-ink); }

/* Dashboard 3-col asymmetric row */
.dash-cols-3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
@media (max-width: 1180px) { .dash-cols-3 { grid-template-columns: 1fr; } }

@media (max-width: 720px) {
  .perf-grid { grid-template-columns: 1fr; }
  .trade-table th:nth-child(4), .trade-table td:nth-child(4),
  .trade-table th:nth-child(5), .trade-table td:nth-child(5) { display: none; }
}

/* =====================  REDUCED MOTION  ===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .tape-track { animation: none; }
  .pulse::after { animation: none; opacity: 0; }
  .btn:active, .icon-btn:active, .tab:active, .m-card:active,
  .heat-cell:active, .tool-card:active, .foot-soc a:active,
  .tf-row button:active { transform: none; }
  .m-card { animation: none; }
  .price-card.featured { transform: none; }
  .skip-link { transition-duration: 0ms; }
  .bk-faq details[open] summary svg { transform: none; }
  .stat-card, .dash-cols > *, .dash-cols-3 > *, .dash-topbar, .sub-strip,
  .dash-side, .dash-panel .sig-item, .dash-panel .watchlist-item { animation: none; }
  .equity-chart path[data-line] { stroke-dashoffset: 0 !important; transition: none !important; }
  .risk-card #riskArc { transition: none !important; }
  .perf-pair-row .pp-bar i { width: var(--final-w, 0) !important; transition: none !important; }
  .sig-state.open::before { animation: none; box-shadow: none; }
  .equity-chart[data-transitioning="true"] { filter: none; opacity: 1; }
}
