/* ============================================================
   FREEMAN — Forex Trading Desk · v2 (functional, data-first)
   ============================================================ */

:root {
  /* palette — based on brand #001a2e */
  --bg:        #050d18;
  --bg-1:      #08131f;
  --bg-2:      #0b1a2a;
  --bg-3:      #102338;
  --line:      #1c3148;
  --line-soft: #142436;
  --fg:        #e9eef5;
  --fg-mute:   #8da0b9;
  --fg-faint:  #5a708c;
  --accent:    #FFC83A;   /* gold — matches the asset + Exness palette */
  --accent-2:  #E0A924;
  --accent-ink:#150d02;
  --pos:       #2fd47e;
  --pos-soft:  rgba(47, 212, 126, 0.12);
  --neg:       #ff5c6f;
  --neg-soft:  rgba(255, 92, 111, 0.12);
  --warn:      #ffb938;

  /* type */
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  /* motion */
  --ease:    cubic-bezier(.2,.7,.2,1);
  --ease-out:cubic-bezier(.16,1,.3,1);
  --t-fast: 200ms;
  --t-med:  450ms;
  --t-slow: 800ms;

  --maxw: 1380px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- Type utilities ---------- */
.mono   { font-family: var(--mono); font-feature-settings: "tnum" 1, "zero" 1; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .pill {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 3px;
  font-size: 10px;
}

h1, h2, h3, h4 { font-family: var(--sans); font-weight: 500; letter-spacing: -0.02em; margin: 0; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
@media (max-width: 760px) { .wrap { padding: 0 18px; } }

.section { padding: 100px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--line-soft); }

.section-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  margin: 12px 0 0;
  text-wrap: balance;
  letter-spacing: -0.025em;
}
.section-head .meta { color: var(--fg-mute); max-width: 50ch; font-size: 15px; margin-top: 14px; }

@media (max-width: 880px) {
  .section { padding: 70px 0; }
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  background: transparent;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--bg-3); border-color: var(--accent); color: var(--accent); }
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  font-weight: 600;
}
.btn--primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--accent-ink); }
.btn--ghost { border-color: transparent; padding-left: 0; padding-right: 0; }
.btn--ghost:hover { background: transparent; color: var(--accent); border-color: transparent; }
.btn .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255, 200, 58, 0.45); }
  50%     { box-shadow: 0 0 0 8px rgba(255, 200, 58, 0); }
}
.btn .arrow { display: inline-block; transition: transform var(--t-fast) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(5, 13, 24, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line-soft); background: rgba(5, 13, 24, 0.92); }
.nav__brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
}
.nav__brand .mark {
  width: 30px; height: 30px;
  background: var(--accent);
  color: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  border-radius: 4px;
}
.nav__brand .sub {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-mute); padding-left: 12px; border-left: 1px solid var(--line);
}
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-mute);
  transition: color var(--t-fast) var(--ease);
  position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px;
  height: 2px; background: var(--accent);
  transition: right var(--t-med) var(--ease-out);
}
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after { right: 0; }
.nav__right { display: flex; gap: 10px; align-items: center; }
@media (max-width: 880px) {
  .nav { padding: 12px 18px; }
  .nav__links { display: none; }
  .nav__brand .sub { display: none; }
}

/* ---------- Ticker ---------- */
.ticker {
  position: relative;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12px;
  padding: 10px 0;
  white-space: nowrap;
  background: var(--bg-1);
}
.ticker__track {
  display: inline-flex;
  gap: 40px;
  padding-left: 40px;
  animation: tickerScroll 80s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker__item { display: inline-flex; align-items: center; gap: 10px; color: var(--fg-mute); }
.ticker__pair { color: var(--fg); font-weight: 500; }
.ticker__delta.up   { color: var(--pos); }
.ticker__delta.down { color: var(--neg); }
.ticker__arrow { font-size: 9px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 40px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}
.hero h1 {
  font-size: clamp(42px, 5.8vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 18px 0 0;
  font-weight: 500;
  text-wrap: balance;
  max-width: 14ch;
}
.hero h1 .accent { color: var(--accent); }
.hero__right { display: flex; flex-direction: column; gap: 28px; padding-bottom: 4px; }
.hero__lede { font-size: 17px; line-height: 1.55; color: var(--fg-mute); max-width: 46ch; text-wrap: pretty; }
.hero__lede strong { color: var(--fg); font-weight: 500; }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; color: var(--fg-faint);
  letter-spacing: 0.04em;
}
.hero__meta b { color: var(--fg-mute); font-weight: 500; }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Trading dashboard widget (hero anchor) ---------- */
.dash {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  overflow: hidden;
}
.dash > * { background: var(--bg-1); }

.dash__chart { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; min-height: 480px; }
.dash__chart-head {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.dash__sym {
  display: flex; align-items: baseline; gap: 12px;
}
.dash__sym .pair { font-size: 16px; font-weight: 600; letter-spacing: 0.02em; }
.dash__sym .name { font-size: 11px; color: var(--fg-faint); }
.dash__price {
  font-family: var(--mono); font-size: 30px; font-weight: 500;
  letter-spacing: -0.01em;
  display: flex; align-items: baseline; gap: 12px;
}
.dash__price .delta {
  font-size: 13px;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--pos-soft);
  color: var(--pos);
}
.dash__price .delta.down { background: var(--neg-soft); color: var(--neg); }
.dash__tabs { display: flex; gap: 4px; font-family: var(--mono); font-size: 11px; }
.dash__tabs button {
  padding: 6px 10px;
  color: var(--fg-mute);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  transition: all var(--t-fast) var(--ease);
}
.dash__tabs button.active { color: var(--accent); border-color: var(--accent); background: rgba(255, 200, 58, 0.08); }
.dash__tabs button:hover { color: var(--fg); }

.dash__candles {
  position: relative;
  flex: 1;
  min-height: 320px;
}
.dash__candles svg { width: 100%; height: 100%; display: block; }

.dash__chartfoot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  margin: 0 -20px -18px;
}
.dash__chartfoot > div { background: var(--bg-1); padding: 10px 16px; }
.dash__chartfoot .k { font-family: var(--mono); font-size: 10px; color: var(--fg-faint); letter-spacing: 0.06em; text-transform: uppercase; }
.dash__chartfoot .v { font-family: var(--mono); font-size: 14px; margin-top: 4px; }
.dash__chartfoot .v.pos { color: var(--pos); }
.dash__chartfoot .v.neg { color: var(--neg); }

/* Order book panel */
.dash__side { display: flex; flex-direction: column; }
.book {
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 6px;
  border-bottom: 1px solid var(--line-soft);
}
.book__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
}
.book__head .title { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-mute); }
.book__head .live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; color: var(--pos);
}
.book__head .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--pos); animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.book__cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; font-family: var(--mono); font-size: 10px; color: var(--fg-faint); letter-spacing: 0.06em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px dashed var(--line-soft); }
.book__cols .right { text-align: right; }
.book__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  font-family: var(--mono); font-size: 12px;
  padding: 3px 0;
  position: relative;
}
.book__row .bar {
  position: absolute; right: 0; top: 0; bottom: 0;
  background: var(--neg-soft);
  z-index: 0;
}
.book__row.bid .bar { background: var(--pos-soft); left: 0; right: auto; }
.book__row > span { position: relative; z-index: 1; text-align: right; }
.book__row .price { text-align: left; }
.book__row.ask .price { color: var(--neg); }
.book__row.bid .price { color: var(--pos); }
.book__mid {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  border-top: 1px dashed var(--line-soft);
  border-bottom: 1px dashed var(--line-soft);
  font-family: var(--mono); font-size: 13px;
  font-weight: 500;
}
.book__mid .spread { font-size: 10px; color: var(--fg-faint); }

/* Trades feed */
.trades {
  padding: 16px 18px;
  flex: 1;
  display: flex; flex-direction: column; gap: 4px;
}
.trades__head { display: flex; justify-content: space-between; margin-bottom: 6px; }
.trades__head .title { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-mute); }
.trades__head .count { font-family: var(--mono); font-size: 10px; color: var(--fg-faint); }
.trades__list { display: flex; flex-direction: column; gap: 2px; max-height: 240px; overflow: hidden; }
.trades__row {
  display: grid;
  grid-template-columns: 70px 1fr 1fr;
  gap: 4px;
  font-family: var(--mono); font-size: 11px;
  padding: 3px 0;
  animation: tradein 400ms var(--ease-out);
}
@keyframes tradein {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.trades__row .t { color: var(--fg-faint); }
.trades__row .p.up { color: var(--pos); }
.trades__row .p.down { color: var(--neg); }
.trades__row .q { text-align: right; color: var(--fg-mute); }

@media (max-width: 980px) {
  .dash { grid-template-columns: 1fr; }
}

/* ---------- Market Sessions clock ---------- */
.sessions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  overflow: hidden;
}
.session { background: var(--bg-1); padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.session__head { display: flex; justify-content: space-between; align-items: baseline; }
.session__city { font-size: 14px; font-weight: 600; }
.session__zone { font-family: var(--mono); font-size: 10px; color: var(--fg-faint); letter-spacing: 0.06em; }
.session__time { font-family: var(--mono); font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.session__bar {
  height: 4px; background: var(--bg-3); border-radius: 2px; overflow: hidden; position: relative;
}
.session__bar .fill {
  position: absolute; top: 0; bottom: 0; left: 0;
  background: var(--accent);
  transition: width var(--t-slow) var(--ease-out);
}
.session__bar .fill.closed { background: var(--fg-faint); }
.session__status { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; display: flex; justify-content: space-between; }
.session__status.open { color: var(--pos); }
.session__status.closed { color: var(--fg-faint); }
@media (max-width: 880px) { .sessions { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Currency Strength meter ---------- */
.strength {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}
.strength__bar {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 0;
}
.strength__sym { font-family: var(--mono); font-size: 11px; color: var(--fg-mute); letter-spacing: 0.06em; }
.strength__col { width: 100%; max-width: 64px; height: 200px; background: var(--bg-2); border-radius: 4px; position: relative; overflow: hidden; }
.strength__fill {
  position: absolute; bottom: 50%; left: 0; right: 0;
  background: linear-gradient(to top, var(--pos), rgba(47, 212, 126, 0.4));
  transition: height var(--t-slow) var(--ease-out);
}
.strength__fill.neg {
  bottom: auto; top: 50%;
  background: linear-gradient(to bottom, var(--neg), rgba(255, 92, 111, 0.4));
}
.strength__zero {
  position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line);
}
.strength__val { font-family: var(--mono); font-size: 11px; }
.strength__val.up { color: var(--pos); }
.strength__val.down { color: var(--neg); }

/* ---------- Pair cards ---------- */
.pairs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  overflow: hidden;
}
.pair--lead {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--bg-2);
}
.pair--lead .pair__price { font-size: 56px; line-height: 1; }
.pair--lead .pair__spark { height: 120px; flex: 1; }
.pair--lead .pair__sym { font-size: 14px; }
.pair--lead .pair__delta { font-size: 13px; padding: 4px 10px; }
.pair--lead .pair__name {
  font-family: var(--sans); font-size: 12px; color: var(--fg-faint);
  margin-top: -8px;
}
.pair--lead .pair__quickstats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-soft);
}
.pair--lead .pair__quickstats > div .k { font-family: var(--mono); font-size: 10px; color: var(--fg-faint); letter-spacing: 0.06em; text-transform: uppercase; }
.pair--lead .pair__quickstats > div .v { font-family: var(--mono); font-size: 13px; margin-top: 2px; }
.pair--lead .pair__quickstats > div .v.pos { color: var(--pos); }
.pair--lead .pair__quickstats > div .v.neg { color: var(--neg); }
@media (max-width: 880px) {
  .pair--lead { grid-column: span 2; grid-row: auto; }
  .pair--lead .pair__price { font-size: 38px; }
  .pair--lead .pair__spark { height: 60px; }
}
.pair {
  padding: 22px 22px;
  background: var(--bg-1);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  transition: background var(--t-fast) var(--ease);
}
.pair:hover { background: var(--bg-2); }
.pair__head { display: flex; justify-content: space-between; align-items: baseline; }
.pair__sym { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; }
.pair__delta { font-family: var(--mono); font-size: 11px; padding: 2px 6px; border-radius: 3px; }
.pair__delta.up { color: var(--pos); background: var(--pos-soft); }
.pair__delta.down { color: var(--neg); background: var(--neg-soft); }
.pair__price { font-family: var(--mono); font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }
.pair__spark { height: 40px; }
.pair__spark svg { width: 100%; height: 100%; }
.pair__foot {
  font-family: var(--mono); font-size: 10px; color: var(--fg-faint);
  letter-spacing: 0.04em;
  display: flex; justify-content: space-between;
}
@media (max-width: 880px) { .pairs { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Principles ---------- */
.philosophy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.principle {
  padding: 32px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: var(--bg-1);
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-med) var(--ease);
}
.principle:hover { border-color: var(--accent); transform: translateY(-2px); }
.principle__num { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.06em; }
.principle h3 { font-size: 22px; line-height: 1.2; font-weight: 500; }
.principle p { color: var(--fg-mute); margin: 0; text-wrap: pretty; }
.principle__icon {
  width: 36px; height: 36px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.principle__icon svg { width: 18px; height: 18px; }
@media (max-width: 880px) { .philosophy { grid-template-columns: 1fr; } }

/* ---------- Programs ---------- */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.program {
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 28px 26px;
  background: var(--bg-1);
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-med) var(--ease);
}
.program:hover { border-color: var(--line); transform: translateY(-2px); }
.program--featured { background: var(--bg-2); border-color: var(--accent); }
.program__tag {
  position: absolute; top: -10px; right: 18px;
  padding: 4px 10px; background: var(--accent); color: var(--accent-ink);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 3px; font-weight: 600;
}
.program__name { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); }
.program__title { font-size: 26px; font-weight: 500; }
.program__price { display: flex; align-items: baseline; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.program__price .amt { font-family: var(--mono); font-size: 30px; font-weight: 500; }
.program__price .per { font-family: var(--mono); font-size: 11px; color: var(--fg-mute); }
.program__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.program__list li {
  font-size: 14px;
  display: flex; gap: 10px; align-items: flex-start;
  color: var(--fg-mute);
}
.program__list li::before {
  content: "";
  flex-shrink: 0;
  width: 14px; height: 14px;
  margin-top: 4px;
  background: var(--accent); opacity: 0.95;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'><polyline points='5 12 10 17 19 7'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'><polyline points='5 12 10 17 19 7'/></svg>") center/contain no-repeat;
}
.program__cta { margin-top: auto; }
@media (max-width: 980px) { .programs { grid-template-columns: 1fr; } }

/* ---------- Results / Track record ---------- */
.results { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; }
.results__numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 6px; overflow: hidden; }
.results__numbers .stat { padding: 28px 24px; background: var(--bg-1); display: flex; flex-direction: column; gap: 8px; }
.results__numbers .stat .k { font-family: var(--mono); font-size: 11px; color: var(--fg-mute); letter-spacing: 0.06em; text-transform: uppercase; }
.results__numbers .stat .v { font-family: var(--mono); font-size: clamp(34px, 4vw, 50px); font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.results__numbers .stat .v.pos { color: var(--pos); }
.results__numbers .stat .v.neg { color: var(--neg); }
.results__numbers .stat .v sup { font-size: 0.45em; color: var(--fg-mute); vertical-align: top; margin-left: 4px; }
.results__numbers .stat .note { color: var(--fg-faint); font-size: 12px; line-height: 1.4; }

.results__chart {
  border: 1px solid var(--line-soft); border-radius: 6px;
  background: var(--bg-1);
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.results__chart .head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.results__chart .title { font-size: 12px; color: var(--fg-mute); font-weight: 500; }
.results__chart .tabs { display: flex; gap: 2px; font-family: var(--mono); font-size: 11px; }
.results__chart .tabs button { padding: 5px 10px; color: var(--fg-mute); border: 1px solid var(--line-soft); border-radius: 3px; }
.results__chart .tabs button.active { color: var(--accent); border-color: var(--accent); background: rgba(255, 200, 58, 0.08); }
.results__chart svg { width: 100%; height: 240px; }
.results__chart .legend { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--fg-mute); }
.results__chart .legend .pos { color: var(--pos); }

@media (max-width: 980px) { .results { grid-template-columns: 1fr; } }

/* ---------- Economic calendar ---------- */
.calendar {
  border: 1px solid var(--line-soft); border-radius: 6px; overflow: hidden;
  background: var(--bg-1);
}
.calendar__head, .calendar__row {
  display: grid;
  grid-template-columns: 90px 60px 1fr 90px 90px 90px;
  gap: 16px;
  padding: 14px 22px;
  align-items: center;
  font-family: var(--mono); font-size: 12px;
}
.calendar__head { background: var(--bg-2); border-bottom: 1px solid var(--line-soft); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-faint); }
.calendar__row { border-bottom: 1px solid var(--line-soft); }
.calendar__row:last-child { border-bottom: 0; }
.calendar__row .cur { font-weight: 500; }
.calendar__row .event { color: var(--fg-mute); font-family: var(--sans); font-size: 14px; }
.calendar__row .imp { display: flex; gap: 2px; }
.calendar__row .imp i { width: 6px; height: 6px; border-radius: 50%; background: var(--fg-faint); }
.calendar__row .imp.high i:nth-child(-n+3) { background: var(--neg); }
.calendar__row .imp.med i:nth-child(-n+2) { background: var(--warn); }
.calendar__row .imp.low i:nth-child(1) { background: var(--pos); }
.calendar__row .actual.pos { color: var(--pos); }
.calendar__row .actual.neg { color: var(--neg); }
.calendar__row .actual.dim { color: var(--fg-faint); }
@media (max-width: 880px) {
  .calendar__head { display: none; }
  .calendar__row { grid-template-columns: 1fr 1fr; gap: 6px; }
  .calendar__row .event { grid-column: span 2; }
}

/* ---------- Mentor ---------- */
.mentor { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.mentor__img-wrap { aspect-ratio: 4 / 5; border: 1px solid var(--line-soft); border-radius: 6px; overflow: hidden; position: relative; }
.mentor__img-wrap image-slot { width: 100%; height: 100%; display: block; }
.mentor__content { display: flex; flex-direction: column; gap: 22px; }
.mentor__content h2 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 500; line-height: 1.05; }
.mentor__content blockquote { margin: 0; font-size: 18px; line-height: 1.55; color: var(--fg); padding-left: 18px; border-left: 2px solid var(--accent); }
.mentor__content .sig { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fg-mute); }
.mentor__creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.mentor__creds .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-faint); }
.mentor__creds .v { font-family: var(--mono); font-size: 22px; font-weight: 500; margin-top: 4px; }
@media (max-width: 980px) { .mentor { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Member proof: a strip of avatars + screenshots ---------- */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proof__card { border: 1px solid var(--line-soft); border-radius: 6px; background: var(--bg-1); padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.proof__head { display: flex; align-items: center; gap: 12px; }
.proof__avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line); flex-shrink: 0; }
.proof__avatar image-slot { width: 100%; height: 100%; display: block; }
.proof__who .name { font-weight: 500; font-size: 14px; }
.proof__who .role { font-family: var(--mono); font-size: 10px; color: var(--fg-faint); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }
.proof__quote { color: var(--fg-mute); font-size: 14px; line-height: 1.5; }
.proof__stats { display: flex; gap: 18px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.proof__stat .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-faint); }
.proof__stat .v { font-family: var(--mono); font-size: 16px; font-weight: 500; margin-top: 2px; }
.proof__stat .v.pos { color: var(--pos); }
@media (max-width: 880px) { .proof { grid-template-columns: 1fr; } }

/* ---------- Gallery image slots ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 6px; overflow: hidden; }
.gallery > * { background: var(--bg-1); aspect-ratio: 16 / 10; }
.gallery > div { position: relative; }
.gallery image-slot { width: 100%; height: 100%; display: block; }
.gallery .tag { position: absolute; top: 14px; left: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); padding: 4px 8px; background: rgba(5, 13, 24, 0.8); border-radius: 3px; z-index: 2; pointer-events: none; }
.gallery > div:nth-child(2), .gallery > div:nth-child(3) { aspect-ratio: 16 / 10; }
@media (max-width: 880px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery > *:first-child { grid-column: span 2; } }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.faq__item { border-bottom: 1px solid var(--line-soft); }
.faq__item:last-child { border-bottom: 0; }
.faq__q {
  width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 500;
  transition: color var(--t-fast) var(--ease);
}
.faq__q:hover { color: var(--accent); }
.faq__plus {
  width: 18px; height: 18px; position: relative; flex-shrink: 0;
  transition: transform var(--t-med) var(--ease-out);
}
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; background: var(--fg-mute); transition: background var(--t-fast) var(--ease); }
.faq__plus::before { left: 0; right: 0; top: 50%; height: 1px; margin-top: -0.5px; }
.faq__plus::after  { top: 0; bottom: 0; left: 50%; width: 1px; margin-left: -0.5px; }
.faq__item.open .faq__plus { transform: rotate(45deg); }
.faq__item.open .faq__plus::before, .faq__item.open .faq__plus::after { background: var(--accent); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-med) var(--ease-out);
}
.faq__item.open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; color: var(--fg-mute); max-width: 75ch; }
.faq__a > div p { margin: 0 0 22px; }

/* ---------- CTA ---------- */
.cta {
  padding: 100px 0 110px;
  text-align: center;
  border-top: 1px solid var(--line-soft);
}
.cta h2 {
  font-size: clamp(40px, 6.5vw, 92px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.035em;
  margin: 18px 0 28px;
}
.cta h2 .accent { color: var(--accent); }
.cta__ctas { display: inline-flex; gap: 10px; }
.cta__sub { color: var(--fg-mute); margin-top: 22px; font-size: 13px; }

/* ---------- Footer ---------- */
.footer { padding: 60px 0 40px; background: var(--bg-1); border-top: 1px solid var(--line-soft); }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-soft); }
.footer__brand .name { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; }
.footer__brand .name .accent { color: var(--accent); }
.footer__brand .tag { color: var(--fg-mute); margin-top: 10px; max-width: 36ch; font-size: 14px; }
.footer__col h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-faint); margin: 0 0 14px; font-weight: 500; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer__col li a { color: var(--fg-mute); transition: color var(--t-fast) var(--ease); font-size: 13px; }
.footer__col li a:hover { color: var(--accent); }
.footer__bot { padding-top: 28px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; color: var(--fg-faint); }
.footer__disclaimer { margin-top: 28px; padding: 18px 22px; border: 1px solid var(--line-soft); border-radius: 6px; font-family: var(--mono); font-size: 11px; line-height: 1.7; color: var(--fg-faint); }
@media (max-width: 880px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: span 2; } }

/* ---------- Broker partner (Exness) section ---------- */
.broker {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at top right, rgba(255, 200, 58, 0.08), transparent 60%),
    var(--bg-1);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.broker__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px;
  border: 1px solid var(--accent);
  background: rgba(255, 200, 58, 0.06);
  border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 22px;
}
.broker__badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2s var(--ease) infinite;
}
.broker h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.04; font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.broker h2 .accent { color: var(--accent); }
.broker p { color: var(--fg-mute); margin: 0 0 28px; max-width: 48ch; font-size: 15px; line-height: 1.55; }
.broker__ctas { display: flex; gap: 10px; flex-wrap: wrap; }

.broker__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  overflow: hidden;
}
.broker__stat {
  background: var(--bg-2);
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.broker__stat .v {
  font-family: var(--mono);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent);
}
.broker__stat .k {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-faint);
}
.broker__stat .note { font-size: 12px; color: var(--fg-mute); line-height: 1.4; margin-top: 4px; }

@media (max-width: 980px) {
  .broker { grid-template-columns: 1fr; gap: 36px; padding: 32px; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[style*="--d"] { transition-delay: var(--d); }

/* ============================================================
   PRODUCTION ADDITIONS — real images + avatar monograms
   (replaces the prototype's <image-slot> web component)
   ============================================================ */

/* Mentor portrait — fills the 4:5 frame */
.mentor__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* Member avatar monograms (initials) in place of photo slots */
.proof__avatar .av-mono {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-3);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em;
  user-select: none;
}

/* Live dashboard reduced to the gold chart only (order book + sales removed) */
.dash--solo { grid-template-columns: 1fr; }
.dash--solo .dash__chart { min-height: 460px; }

/* Market sessions — GMT clock + active-session highlight */
.sessions__clock {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding: 14px 20px; margin-bottom: 18px;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
}
.sessions__now { display: inline-flex; align-items: baseline; gap: 12px; }
.sessions__now .k {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fg-faint);
}
.sessions__now #gmt-clock {
  font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.sessions__now .z { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--fg-mute); }
.sessions__status {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line);
}
.sessions__status.open   { color: var(--pos); border-color: rgba(47, 212, 126, 0.4); background: var(--pos-soft); }
.sessions__status.closed { color: var(--fg-faint); }

/* Active (currently-open) session card */
.session { transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease); }
.session.active {
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--accent), 0 0 24px -8px rgba(255, 200, 58, 0.35);
}
.session.active::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
}
.session.active .session__city { color: var(--accent); }

.calendar__row--empty { grid-template-columns: 1fr !important; }

/* ---------- Mobile nav (hamburger menu) ---------- */
.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 4px;
  flex-shrink: 0;
}
.nav__burger, .nav__burger::before, .nav__burger::after {
  display: block; width: 18px; height: 1.5px; border-radius: 2px;
  background: var(--fg);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav__burger { position: relative; }
.nav__burger::before { content: ""; position: absolute; left: 0; top: -6px; }
.nav__burger::after  { content: ""; position: absolute; left: 0; top: 6px; }
.nav.open .nav__burger { background: transparent; }
.nav.open .nav__burger::before { transform: translateY(6px) rotate(45deg); }
.nav.open .nav__burger::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav { flex-wrap: wrap; row-gap: 0; }
  .nav__toggle { display: inline-flex; }

  /* Links + actions collapse into a dropdown panel, shown when .nav.open */
  .nav__links, .nav__right {
    order: 3;
    flex-basis: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    max-height: 0;
    transition: max-height var(--t-med) var(--ease);
  }
  .nav.open .nav__links, .nav.open .nav__right { display: flex; max-height: 60vh; }

  .nav__links { gap: 2px; padding-top: 10px; }
  .nav__links a { padding: 12px 4px; font-size: 15px; color: var(--fg); border-bottom: 1px solid var(--line-soft); }
  .nav__links a::after { display: none; }

  .nav__right { gap: 10px; padding: 12px 0 4px; }
  .nav__right .btn { justify-content: center; padding: 13px 18px; }
  .nav__right .btn--ghost { border: 1px solid var(--line); padding: 13px 18px; }
}

/* Broker stat grid: 2x2 is too tight for the mono values on phones, so stack it */
@media (max-width: 560px) {
  .broker__stats { grid-template-columns: 1fr; }
  .broker__stat .v { font-size: 30px; white-space: nowrap; }
}

/* ---------- Footer social icons ---------- */
.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.social {
  width: 38px; height: 38px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  color: var(--fg-mute);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease), transform var(--t-med) var(--ease);
}
.social svg { width: 17px; height: 17px; display: block; }
.social:hover {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.footer__email { font-size: 13px; color: var(--fg-mute); transition: color var(--t-fast) var(--ease); }
.footer__email:hover { color: var(--accent); }
