/* ============================================================
   site.css — shared styles for Landing / Picks / Dashboard.
   Lives alongside aurum.css. Aurum is loaded first; site.css
   layers page-specific patterns on top using the same tokens.
   All page chrome opts in via class — no global selector resets.
   ============================================================ */

/* ---- root reset (page-level only) ---- */
html, body { background: #060608; margin: 0; padding: 0; }
body {
  color: #f0ece4;
  font-family: 'Barlow', sans-serif;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum", "ss01";
}

/* ---- shared tokens (mirror aurum but exposed at :root for site pages) ---- */
:root {
  --c-bg:        #060608;
  --c-panel:     #0d0d10;
  --c-panel-2:   #14141a;
  --c-rule:      rgba(201,169,78,0.12);
  --c-rule-soft: rgba(255,255,255,0.05);
  --c-text:      #f0ece4;
  --c-dim:       #8a8577;
  --c-mute:      #5a554d;
  --c-gold:      #C9A94E;
  --c-gold-2:    #E8D48B;
  --c-gold-dim:  #8B7332;
  --c-green:     #4ade80;
  --c-red:       #f87171;
  --c-yellow:    #fbbf24;
  --f-display: 'Bebas Neue', sans-serif;
  --f-cond:    'Barlow Condensed', sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;
  --f-body:    'Barlow', sans-serif;
}

/* ---- page shell ---- */
.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 32px 72px;  /* clear fixed Aurum nav */
}
@media (max-width: 720px) {
  .page { padding: 88px 16px 48px; }
}

/* ---- skip link ---- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-gold); color: #0a0a0a;
  padding: 10px 16px; font-family: var(--f-cond); font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  z-index: 9999;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---- eyebrow / hairline ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-cond); font-size: 11px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--c-gold);
}
.eyebrow::before, .eyebrow::after {
  content: ""; height: 1px; width: 32px;
  background: linear-gradient(90deg, transparent, var(--c-gold-dim));
}
.eyebrow::before { background: linear-gradient(90deg, var(--c-gold-dim), transparent); }

.hairline { height: 1px; background: var(--c-rule); margin: 0; border: 0; }
.hairline--gradient {
  background: linear-gradient(90deg, transparent, var(--c-gold-dim), transparent);
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-cond); font-weight: 700;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  padding: 12px 22px; border: 1px solid transparent; border-radius: 2px;
  text-decoration: none; transition: all .15s ease; cursor: pointer;
}
.btn--gold {
  background: var(--c-gold); color: #0a0a0a;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.04) inset;
}
.btn--gold:hover { background: var(--c-gold-2); }
.btn--ghost {
  background: transparent; color: var(--c-text);
  border-color: var(--c-rule);
}
.btn--ghost:hover { border-color: var(--c-gold-dim); color: var(--c-gold); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- panels / cards ---- */
.panel {
  background: var(--c-panel);
  border: 1px solid var(--c-rule);
  border-radius: 2px;
}
.panel__head {
  padding: 14px 20px;
  border-bottom: 1px solid var(--c-rule);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.panel__title {
  font-family: var(--f-display);
  font-size: 18px; letter-spacing: 1.5px;
  color: var(--c-text);
}
.panel__sub {
  font-family: var(--f-cond); font-size: 11px;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--c-dim);
}
.panel__body { padding: 20px; }
.panel--accent {
  background: linear-gradient(180deg, rgba(201,169,78,0.04), transparent 40%), var(--c-panel);
  border-color: rgba(201,169,78,0.22);
  border-left: 2px solid var(--c-gold);
}

/* ---- live pip ---- */
.pip {
  display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; background: var(--c-green);
  box-shadow: 0 0 0 3px rgba(74,222,128,0.12);
  animation: pip-pulse 2.4s ease-in-out infinite;
}
.pip--gold { background: var(--c-gold); box-shadow: 0 0 0 3px rgba(201,169,78,0.14); }
.pip--yellow { background: var(--c-yellow); box-shadow: 0 0 0 3px rgba(251,191,36,0.12); }
@keyframes pip-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }

/* ---- badges / pills ---- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-cond); font-weight: 600; font-size: 10.5px;
  letter-spacing: 1.4px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 2px;
  background: rgba(255,255,255,0.05); color: var(--c-dim);
  border: 1px solid transparent;
}
.pill--gold   { background: rgba(201,169,78,0.14); color: var(--c-gold); }
.pill--green  { background: rgba(74,222,128,0.12); color: var(--c-green); }
.pill--red    { background: rgba(248,113,113,0.12); color: var(--c-red); }
.pill--yellow { background: rgba(251,191,36,0.12); color: var(--c-yellow); }
.pill--bare   { background: transparent; border-color: var(--c-rule); color: var(--c-dim); }

/* ---- numerics ---- */
.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.display { font-family: var(--f-display); letter-spacing: 1px; }
.cond { font-family: var(--f-cond); letter-spacing: 1.4px; text-transform: uppercase; }

/* ---- delta text ---- */
.up   { color: var(--c-gold); }
.down { color: var(--c-red); }
.flat { color: var(--c-dim); }

/* ---- tape strip (used on multiple pages) ---- */
.tape {
  display: flex; align-items: stretch; flex-wrap: wrap;
  border: 1px solid var(--c-rule);
  background: var(--c-panel);
  border-radius: 2px;
}
.tape__cell {
  flex: 1 1 140px; min-width: 140px;
  padding: 14px 20px;
  border-right: 1px solid var(--c-rule);
}
.tape__cell:last-child { border-right: 0; }
.tape__label {
  font-family: var(--f-cond); font-size: 10px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--c-dim);
}
.tape__value {
  font-family: var(--f-display); font-size: 28px; letter-spacing: 1px;
  margin-top: 4px; color: var(--c-text);
}
.tape__sub {
  font-family: var(--f-cond); font-size: 11px;
  letter-spacing: 1px; color: var(--c-dim); margin-top: 2px;
}
@media (max-width: 720px) {
  .tape__cell { flex-basis: 50%; border-bottom: 1px solid var(--c-rule); }
  .tape__cell:nth-last-child(-n+2) { border-bottom: 0; }
  .tape__cell:nth-child(2n) { border-right: 0; }
  .tape__value { font-size: 22px; }
}

/* ---- inline sparkline (svg, baked) ---- */
.spark { display: inline-block; vertical-align: middle; }
.spark path { fill: none; stroke: var(--c-gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.spark.spark--red path { stroke: var(--c-red); }
.spark.spark--green path { stroke: var(--c-green); }

/* ---- footer (shared) ---- */
.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--c-rule);
  padding: 32px 24px 28px;
  text-align: center;
}
.site-footer__brand {
  font-family: var(--f-display); font-size: 18px;
  letter-spacing: 3px; color: var(--c-gold-dim); margin-bottom: 6px;
}
.site-footer__tagline {
  font-family: var(--f-cond); font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--c-dim);
}
.site-footer__links {
  display: flex; justify-content: center; gap: 22px;
  margin: 18px 0; list-style: none; padding: 0; flex-wrap: wrap;
}
.site-footer__links a {
  color: var(--c-dim); text-decoration: none;
  font-family: var(--f-cond); font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase;
}
.site-footer__links a:hover { color: var(--c-gold); }
.site-footer__legal {
  font-size: 11px; color: var(--c-mute); line-height: 1.7;
  max-width: 720px; margin: 18px auto 0;
}
.site-footer__legal a { color: var(--c-gold-dim); }

/* ---- focus ---- */
:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
