/* ============================================================
   BNM Sports Analytics
   Colour is information here: every accent maps to a release
   status or a sign. Nothing is tinted for decoration.
   ============================================================ */

:root {
  --ink:       #0A1320;
  --ink-1:     #0F1C2E;
  --ink-2:     #14243A;
  --ink-3:     #1A2E48;
  --line:      #22374F;
  --line-soft: #182940;

  --paper:     #E9EEF4;
  --muted:     #90A3BA;
  --dim:       #62748D;

  --playable:     #3ECF8E;
  --price-watch:  #E3C24C;
  --lineup-watch: #59A7F0;
  --live:         #BE8CF0;
  --shadow:       #FE8A3D;
  --rejected:     #6B7A90;

  --pos: #3ECF8E;
  --neg: #E8735F;

  /* brand, sampled from the logo wordmark */
  --brand: #FE6B0A;
  --brand-dim: #C4500A;

  --display: "Chivo", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --wrap: 1060px;
  --r: 4px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
a { color: inherit; }
img { max-width: 100%; }

.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 12px;
}

.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; display: inline-block; }
.dot--playable { background: var(--playable); }
.dot--price-watch { background: var(--price-watch); }
.dot--lineup-watch { background: var(--lineup-watch); }
.dot--live { background: var(--live); }
.dot--shadow { background: var(--shadow); }
.dot--rejected { background: var(--rejected); }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ============================ masthead ==================== */

.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 19, 32, 0.9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 60px;
}

.brand {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; min-width: 0;
}

.brand__logo { height: 30px; width: auto; display: block; flex: none; }
.brand__word { height: 17px; width: auto; display: block; }

.brand__mark { color: var(--brand); }
.brand__sub {
  font-family: var(--mono); font-size: 9px; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim);
}

.nav { display: flex; gap: 2px; }

.nav a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none; color: var(--muted);
  padding: 8px 10px; border-radius: var(--r); transition: color .15s, background .15s;
}

.nav a:hover { color: var(--paper); background: var(--ink-2); }
.nav a[aria-current="page"] { color: var(--paper); box-shadow: inset 0 -2px 0 var(--playable); }

/* ============================ hero ======================== */

.hero { padding: 54px 0 42px; border-bottom: 1px solid var(--line-soft); }
.hero--tight { padding: 40px 0 32px; }

.hero__line {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(32px, 8.4vw, 58px);
  line-height: 1.01; letter-spacing: -0.038em;
  margin: 0 0 18px; max-width: 16ch;
}

.hero__sub { color: var(--muted); max-width: 56ch; margin: 0 0 26px; font-size: 15.5px; }
.hero__sub strong { color: var(--paper); font-weight: 600; }

.article-meta {
  display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center;
  margin: -8px 0 0; color: var(--dim); font-family: var(--mono);
  font-size: 11px; letter-spacing: .035em;
}
.article-meta a { color: var(--paper); text-underline-offset: 3px; }
.article-meta strong { color: var(--paper); font-weight: 500; }
.article-meta span::before { content: "Updated "; color: var(--dim); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }

.hero__grid { display: grid; gap: 34px; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 46px; }
  .hero__line { margin-bottom: 20px; }
}

/* ============================ buttons ===================== */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.11em; text-transform: uppercase; text-decoration: none;
  padding: 12px 18px; border-radius: var(--r); cursor: pointer;
  border: 1px solid var(--brand); background: var(--brand); color: #1B0A00;
  transition: filter .15s;
}
.btn:hover { filter: brightness(1.09); }

.btn--ghost { background: transparent; color: var(--paper); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--muted); filter: none; background: var(--ink-2); }

/* ============================ sections ==================== */

.section { padding: 44px 0; }
.section + .section { border-top: 1px solid var(--line-soft); }
.section--flush { padding-top: 30px; }

.section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
}

.section__title {
  font-family: var(--display); font-weight: 900; font-size: 23px;
  letter-spacing: -0.025em; margin: 0 0 5px;
}

.section__note { color: var(--muted); margin: 0; max-width: 64ch; font-size: 14.5px; }

.section__link {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand); text-decoration: none;
  white-space: nowrap;
}
.section__link:hover { text-decoration: underline; }

.standards-grid {
  display: grid; gap: 1px; margin: 30px 0;
  border: 1px solid var(--line-soft); background: var(--line-soft);
  border-radius: var(--r); overflow: hidden;
}
.standard-card { background: var(--ink-1); padding: 22px; }
.standard-card__k {
  margin: 0 0 8px; color: var(--brand); font-family: var(--mono);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
}
.standard-card h3 {
  margin: 0 0 8px; font-family: var(--display); font-size: 18px;
  letter-spacing: -.015em;
}
.standard-card p:last-child { margin: 0; color: var(--muted); }
@media (min-width: 720px) {
  .standards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================ editorial ================== */

.breadcrumb {
  margin: 0 0 10px; color: var(--dim); font-family: var(--mono);
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
}
.breadcrumb a { color: var(--muted); text-underline-offset: 3px; }

.prose { max-width: 780px; }
.prose > h2 {
  margin: 38px 0 10px; font-family: var(--display); font-size: clamp(22px, 3.8vw, 30px);
  line-height: 1.14; letter-spacing: -.025em;
}
.prose > h3 {
  margin: 26px 0 7px; font-family: var(--display); font-size: 18px;
  line-height: 1.25; letter-spacing: -.015em;
}
.prose > p { margin: 0 0 16px; color: var(--muted); font-size: 16px; line-height: 1.72; }
.prose strong { color: var(--paper); font-weight: 600; }
.prose a { color: var(--paper); text-decoration-color: var(--brand); text-underline-offset: 3px; }

.tldr {
  margin: 0 0 34px; padding: 20px 22px; border: 1px solid var(--line);
  border-left: 3px solid var(--brand); border-radius: var(--r);
  background: linear-gradient(135deg, rgba(254, 107, 10, .08), transparent 58%), var(--ink-1);
}
.tldr__k {
  margin: 0 0 7px !important; color: var(--brand) !important; font-family: var(--mono);
  font-size: 10px !important; letter-spacing: .14em; text-transform: uppercase;
}
.tldr p:last-child { margin: 0; color: var(--paper); font-size: 16px; line-height: 1.65; }

.example {
  margin: 24px 0 30px; overflow: hidden; border: 1px solid var(--line-soft);
  border-radius: 8px; background: var(--ink-1);
}
.example__k {
  margin: 0 !important; padding: 11px 16px; background: var(--ink-3);
  color: var(--paper) !important; font-family: var(--mono); font-size: 10px !important;
  letter-spacing: .11em; text-transform: uppercase;
}
.example table { width: 100%; border-collapse: collapse; }
.example td { padding: 11px 16px; border-top: 1px solid var(--line-soft); }
.example td:last-child { color: var(--paper); font-family: var(--mono); text-align: right; }
.example__note { margin: 0 !important; padding: 13px 16px; border-top: 1px solid var(--line-soft); font-size: 13.5px !important; }

.faq-block {
  margin-top: 42px; padding: 2px 22px 22px; border: 1px solid var(--line-soft);
  border-radius: 8px; background: var(--ink-1);
}
.faq-block h2 { margin-top: 24px; }
.faq-block h3 { margin: 24px 0 6px; font-family: var(--display); font-size: 17px; }
.faq-block p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.lesson-nav {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding-top: 6px; border-top: 1px solid var(--line-soft);
}
.lesson-nav a {
  color: var(--muted); font-family: var(--mono); font-size: 11px;
  letter-spacing: .045em; text-decoration: none;
}
.lesson-nav a:hover { color: var(--paper); }

/* ============================ triage ====================== */

.triage {
  border: 1px solid var(--line-soft); border-radius: var(--r);
  background: var(--ink-1); padding: 16px 16px 14px;
}

.triage__head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; flex-wrap: wrap; margin-bottom: 11px;
}

.triage__now {
  font-family: var(--display); font-weight: 700; font-size: 15px;
  letter-spacing: -0.01em;
}

.triage__scale {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--dim);
}

.triage__bar { display: flex; height: 10px; border-radius: 2px; overflow: hidden; background: var(--ink-3); }
.triage__seg { height: 100%; }
.triage__seg--playable { background: var(--playable); }
.triage__seg--price-watch { background: var(--price-watch); }
.triage__seg--lineup-watch { background: var(--lineup-watch); }
.triage__seg--live { background: var(--live); }
.triage__seg--rejected { background: var(--rejected); }

.triage__key {
  display: flex; flex-wrap: wrap; gap: 7px 18px; margin-top: 12px;
  font-family: var(--mono); font-size: 11px; color: var(--muted);
}
.triage__item { display: inline-flex; align-items: center; gap: 7px; }
.triage__item b { color: var(--paper); font-weight: 500; }

/* ============================ filters ===================== */

.filters {
  display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px;
  margin-bottom: 20px; scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }

.filter {
  flex: none; font-family: var(--mono); font-size: 11px; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--muted); background: transparent;
  border: 1px solid var(--line); border-radius: 100px; padding: 8px 14px;
  cursor: pointer; transition: color .15s, background .15s, border-color .15s;
}
.filter:hover { color: var(--paper); border-color: var(--dim); }
.filter[aria-pressed="true"] { color: var(--ink); background: var(--paper); border-color: var(--paper); }

/* ============================ card ======================== */

.board { display: grid; gap: 12px; }

.card {
  background: var(--ink-1); border: 1px solid var(--line-soft);
  border-left: 3px solid var(--rejected); border-radius: var(--r);
  padding: 17px 17px 15px; animation: rise .32s ease both;
}

.card--playable     { border-left-color: var(--playable); }
.card--price-watch  { border-left-color: var(--price-watch); }
.card--lineup-watch { border-left-color: var(--lineup-watch); }
.card--live         { border-left-color: var(--live); }
.card--shadow       { border-left-color: var(--shadow); }
.card--rejected     { border-left-color: var(--rejected); opacity: .68; }
.card--rejected:hover { opacity: 1; }

.card__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; margin-bottom: 6px;
}

.card__match {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em;
  color: var(--dim); text-transform: uppercase;
}

.status {
  flex: none; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 100px;
  border: 1px solid currentColor; white-space: nowrap;
}

.status--playable     { color: var(--playable); }
.status--price-watch  { color: var(--price-watch); }
.status--lineup-watch { color: var(--lineup-watch); }
.status--live         { color: var(--live); }
.status--shadow       { color: var(--shadow); }
.status--rejected     { color: var(--rejected); }

.card__sel {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 20px;
  letter-spacing: -0.02em; margin: 0;
}

.card__mkt { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--dim); text-transform: uppercase; letter-spacing: 0.07em; }
.card__price { font-family: var(--mono); font-size: 16px; font-weight: 500; color: var(--muted); margin-left: auto; }
.card__model {
  margin: 4px 0 0; color: var(--dim); font-family: var(--mono);
  font-size: 10px; letter-spacing: .07em; text-transform: uppercase;
}

.shadow-summary {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line-soft);
  border-radius: var(--r); overflow: hidden; margin-top: 24px;
}
.shadow-summary__item { background: var(--ink-1); padding: 14px 16px; }
.shadow-summary__k {
  display: block; color: var(--dim); font-family: var(--mono); font-size: 9px;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 3px;
}
.shadow-summary__v { font-family: var(--mono); font-size: 19px; color: var(--paper); }
@media (min-width: 700px) { .shadow-summary { grid-template-columns: repeat(4, 1fr); } }

/* ============================ price rail ================== */

.rail { margin: 16px 0 2px; }

.rail__caption {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 7px;
}
.rail__caption span:nth-child(2) { color: var(--line); }

.rail__track {
  position: relative; height: 32px; background: var(--ink-3);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}

.rail__zone {
  position: absolute; top: 0; bottom: 0;
  background: rgba(62, 207, 142, .14);
  border-left: 1px dashed rgba(62, 207, 142, .65);
}

.rail__mark { position: absolute; top: -5px; bottom: -5px; width: 2px; transform: translateX(-1px); }
.rail__mark span {
  position: absolute; left: 50%; top: -3px; width: 7px; height: 7px;
  transform: translateX(-50%) rotate(45deg); background: inherit;
}
.rail__mark--market { background: var(--paper); }
.rail__mark--fair   { background: var(--dim); }

.rail__labels {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--dim); margin-top: 9px;
}
.rail__lab b { font-weight: 500; }
.rail__lab--market b { color: var(--paper); }
.rail__lab--fair b { color: var(--muted); }
.rail__lab--thresh b { color: var(--playable); }

/* annotated variant, homepage only */
.rail--annotated .rail__track { height: 38px; }

/* ============================ metrics ===================== */

.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line-soft);
  border-radius: var(--r); margin-top: 15px; overflow: hidden;
}

.metric { background: var(--ink-1); padding: 10px 11px; }

.metric__k {
  display: block; font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 3px;
}

.metric__v { font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.metric__v.pos { color: var(--playable); }
.metric__v.warn { color: var(--price-watch); }

.card__notes { margin: 14px 0 0; color: var(--muted); font-size: 13.5px; }

/* ============================ CFB watchlist =============== */

.watchlist-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 20px; margin: 44px 0 18px; padding-top: 38px;
  border-top: 1px solid var(--line-soft);
}
.watchlist-head .eyebrow { color: var(--shadow); margin-bottom: 7px; }
.watchlist-count {
  flex: none; font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--shadow); border: 1px solid rgba(254,138,61,.5);
  border-radius: 100px; padding: 6px 10px;
}
.watchlist { display: grid; gap: 12px; }
.watch-card {
  min-width: 0; padding: 17px; background: linear-gradient(145deg, var(--ink-1), #101f32);
  border: 1px solid var(--line-soft); border-left: 3px solid var(--shadow);
  border-radius: var(--r); animation: rise .32s ease both;
}
.watch-rank {
  flex: none; font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--shadow); border: 1px solid rgba(254,138,61,.45);
  border-radius: 100px; padding: 4px 9px;
}
.watch-card__time {
  margin: 7px 0 0; color: var(--lineup-watch); font-family: var(--mono);
  font-size: 10px; letter-spacing: .05em; text-transform: uppercase;
}
.watch-metrics { grid-template-columns: repeat(2, 1fr); }
.gate-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.gate-pill {
  display: inline-flex; align-items: center; min-height: 26px; padding: 4px 8px;
  color: var(--muted); background: var(--ink-2); border: 1px solid var(--line);
  border-radius: 3px; font-family: var(--mono); font-size: 9.5px;
}
.gate-pill::before {
  content: ""; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%;
  background: var(--price-watch); flex: none;
}
.watch-card__foot { margin: 13px 0 0; color: var(--dim); font-size: 12.5px; }
.watch-card__foot b { color: var(--paper); font-weight: 600; }

@media (min-width: 780px) {
  .watchlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================ stat tiles ================== */

.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line-soft);
  border-radius: var(--r); overflow: hidden;
}

.stat { background: var(--ink-1); padding: 18px 16px; }

.stat__k {
  display: block; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px;
}

.stat__v {
  font-family: var(--mono); font-size: 29px; font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em; line-height: 1.05; display: block;
}
.stat__v.pos { color: var(--pos); }
.stat__v.neg { color: var(--neg); }

.stat__sub { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--dim); margin-top: 5px; }

.stat--minor .stat__v { font-size: 20px; color: var(--muted); }

@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ============================ charts ====================== */

.panel {
  border: 1px solid var(--line-soft); border-radius: var(--r);
  background: var(--ink-1); padding: 18px 18px 16px;
}

.panel__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-bottom: 16px;
}

.panel__title {
  font-family: var(--display); font-weight: 700; font-size: 16px;
  letter-spacing: -0.015em; margin: 0 0 3px;
}
.panel__note { margin: 0; color: var(--dim); font-size: 13px; max-width: 52ch; }

.chart { position: relative; }
.chart__svg { width: 100%; height: 260px; display: block; overflow: visible; }

.chart__grid { stroke: var(--line-soft); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart__zero { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }

.chart__ytick {
  fill: var(--dim); font-family: var(--mono); font-size: 11px; text-anchor: end;
}

.chart__line {
  fill: none; stroke-width: 2; vector-effect: non-scaling-stroke;
  stroke-linejoin: round; stroke-linecap: round;
}
.chart__line.is-up { stroke: var(--pos); }
.chart__line.is-down { stroke: var(--neg); }

.chart__area { stroke: none; }
.chart__area.is-up { fill: rgba(62, 207, 142, .13); }
.chart__area.is-down { fill: rgba(232, 115, 95, .13); }

.chart__dot.is-up { fill: var(--pos); }
.chart__dot.is-down { fill: var(--neg); }

.chart__xaxis {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--dim); margin-top: 8px;
}

.chart__readout {
  position: absolute; top: 0; right: 0; text-align: right;
  font-family: var(--mono); pointer-events: none;
}
.chart__readout b { display: block; font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.chart__readout span { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }

.chart__empty { color: var(--dim); font-size: 13.5px; margin: 0; }

/* horizontal bars */

.bars { display: grid; gap: 3px; }

.bar {
  display: grid; grid-template-columns: 108px 1fr 74px;
  align-items: center; gap: 12px; padding: 5px 0;
}

.bar__label {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em;
  color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bar__n { font-style: normal; color: var(--dim); font-size: 10px; }

.bar__track { position: relative; height: 18px; background: var(--ink-2); border-radius: 2px; }
.bar__axis { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.bar__fill { position: absolute; top: 3px; bottom: 3px; border-radius: 1px; }
.bar__fill.is-pos { background: var(--pos); }
.bar__fill.is-neg { background: var(--neg); }

.bar__value {
  font-family: var(--mono); font-size: 12px; font-variant-numeric: tabular-nums;
  text-align: right;
}
.bar__value.is-pos { color: var(--pos); }
.bar__value.is-neg { color: var(--neg); }

.segmented { display: flex; gap: 4px; flex-wrap: wrap; }

.segmented button {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--muted); background: var(--ink-2);
  border: 1px solid var(--line-soft); border-radius: 100px; padding: 6px 12px; cursor: pointer;
}
.segmented button:hover { color: var(--paper); }
.segmented button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.panel-grid { display: grid; gap: 14px; }
@media (min-width: 860px) { .panel-grid--2 { grid-template-columns: 1fr 1fr; } }

/* ============================ ledger ====================== */

.ledger-scroll { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--r); }

table.ledger { width: 100%; border-collapse: collapse; min-width: 760px; }

table.ledger th {
  position: sticky; top: 0; background: var(--ink-3);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
  text-align: left; padding: 11px; white-space: nowrap;
}

table.ledger td {
  padding: 10px 11px; border-top: 1px solid var(--line-soft);
  font-size: 13px; white-space: nowrap;
}

table.ledger td.n { font-family: var(--mono); font-variant-numeric: tabular-nums; }
table.ledger tbody tr:hover { background: var(--ink-1); }

.res { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; }
.res--win { color: var(--pos); }
.res--loss { color: var(--neg); }
.res--push { color: var(--muted); }

.pos { color: var(--pos); }
.neg { color: var(--neg); }

/* ============================ steps / deflist ============= */

.steps, .deflist {
  display: grid; gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden;
}

.step { background: var(--ink-1); padding: 19px 17px; display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.step__n { font-family: var(--mono); font-size: 12px; color: var(--brand); padding-top: 4px; }
.step__h { font-family: var(--display); font-weight: 700; font-size: 16px; margin: 0 0 5px; }
.step__b { margin: 0; color: var(--muted); font-size: 14px; }

.deflist__row { background: var(--ink-1); padding: 15px 17px; }
.deflist__t { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.deflist__t strong { font-family: var(--display); font-size: 15px; }
.deflist__d { margin: 0; color: var(--muted); font-size: 14px; }

@media (min-width: 800px) { .steps--2 { grid-template-columns: 1fr 1fr; } }

/* ============================ learn curriculum ============ */

.section--curriculum {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 0%, rgba(254, 107, 10, .08), transparent 34%),
    linear-gradient(180deg, rgba(20, 36, 58, .24), transparent 38%);
}

.curriculum {
  display: grid;
  gap: 16px;
}

.curriculum__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 8px 0 12px;
}

.curriculum__title {
  max-width: 16ch;
  margin: 0 0 9px;
  font-family: var(--display);
  font-size: clamp(25px, 4vw, 38px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.curriculum__note {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.curriculum__meta {
  flex: none;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--line-soft);
}

.curriculum__meta span {
  display: grid;
  gap: 1px;
  min-width: 92px;
  padding: 12px 14px;
  background: rgba(15, 28, 46, .96);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .11em;
  text-align: center;
  text-transform: uppercase;
}

.curriculum__meta strong {
  color: var(--paper);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.module {
  --module-accent: var(--brand);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(26, 46, 72, .72), rgba(15, 28, 46, .96) 46%),
    var(--ink-1);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .16);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.module[data-module="02"] { --module-accent: var(--price-watch); }
.module[data-module="03"] { --module-accent: var(--playable); }
.module[data-module="04"] { --module-accent: var(--lineup-watch); }
.module[data-module="05"] { --module-accent: var(--live); }

.module::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--module-accent), transparent 78%);
}

.module::after {
  content: attr(data-module);
  position: absolute;
  top: 9px;
  right: 14px;
  color: rgba(233, 238, 244, .035);
  font-family: var(--display);
  font-size: 92px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.08em;
  pointer-events: none;
}

.module:hover {
  border-color: color-mix(in srgb, var(--module-accent) 38%, var(--line));
  box-shadow: 0 20px 42px rgba(0, 0, 0, .24);
  transform: translateY(-2px);
}

.module__head {
  position: relative;
  z-index: 2;
  min-height: 164px;
  padding: 24px 22px 20px;
}

.module__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.module__n,
.module__count {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.module__n {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--module-accent) 42%, transparent);
  border-radius: 100px;
  background: color-mix(in srgb, var(--module-accent) 9%, transparent);
  color: var(--module-accent);
}

.module__count { color: var(--dim); }

.module__title {
  position: relative;
  max-width: 15ch;
  margin: 0 0 7px;
  font-family: var(--display);
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.module__desc {
  position: relative;
  max-width: 38ch;
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.lesson-list {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line-soft);
}

.lesson {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 16px;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 11px 18px;
  border-top: 1px solid var(--line-soft);
  background: rgba(10, 19, 32, .36);
  transition: background .18s ease;
}

.lesson:first-child { border-top: 0; }
.lesson:hover { background: rgba(26, 46, 72, .72); }

.lesson::after {
  content: "→";
  color: var(--module-accent);
  font-family: var(--mono);
  font-size: 14px;
  transition: transform .18s ease;
}

.lesson:hover::after { transform: translateX(3px); }

.lesson a {
  position: static;
  color: var(--paper);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.lesson a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.lesson:has(a:focus-visible) {
  outline: 2px solid var(--playable);
  outline-offset: -2px;
}

.lesson a:focus-visible { outline: none; }

.tag--free {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 3px 7px;
  border: 1px solid rgba(62, 207, 142, .28);
  border-radius: 100px;
  background: rgba(62, 207, 142, .08);
  color: var(--playable);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .11em;
  line-height: 1.3;
  text-transform: uppercase;
  pointer-events: none;
}

@media (min-width: 780px) {
  .curriculum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .curriculum__intro { grid-column: 1 / -1; }
  .module[data-module="05"] { grid-column: 1 / -1; }
  .module[data-module="05"] .module__head { min-height: 150px; }
  .module[data-module="05"] .lesson-list { display: grid; grid-template-columns: repeat(2, 1fr); }
  .module[data-module="05"] .lesson + .lesson { border-top: 0; border-left: 1px solid var(--line-soft); }
}

@media (max-width: 779px) {
  .curriculum__intro { display: grid; }
  .curriculum__meta { width: 100%; }
  .curriculum__meta span { min-width: 0; }
}

@media (max-width: 480px) {
  .curriculum__meta span { padding: 10px 7px; }
  .module__head { min-height: 0; padding: 21px 18px 18px; }
  .module__topline { margin-bottom: 18px; }
  .module::after { font-size: 74px; }
  .lesson { padding: 12px 15px; gap: 9px; }
}

/* ============================ notice / empty ============== */

.notice {
  border: 1px solid var(--line); border-left: 3px solid var(--price-watch);
  background: var(--ink-1); border-radius: var(--r);
  padding: 14px 16px; margin-bottom: 22px; font-size: 13.5px; color: var(--muted);
}
.notice b { color: var(--paper); font-weight: 600; }
.notice--ok { border-left-color: var(--pos); }
.notice--error { border-left-color: var(--neg); }

.empty {
  border: 1px dashed var(--line); border-radius: var(--r);
  padding: 40px 22px; text-align: center; color: var(--muted);
}
.empty__h { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--paper); margin: 0 0 7px; }
.empty p { margin: 0 auto; max-width: 46ch; font-size: 14px; }

/* ============================ capture ===================== */

.capture {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--ink-1); padding: 26px 20px;
}

.capture__h { font-family: var(--display); font-weight: 900; font-size: 21px; letter-spacing: -0.025em; margin: 0 0 7px; }
.capture__p { color: var(--muted); margin: 0 0 18px; max-width: 52ch; font-size: 14px; }
.capture__form { display: flex; flex-wrap: wrap; gap: 8px; }

.capture input[type="email"] {
  flex: 1 1 220px; background: var(--ink); border: 1px solid var(--line);
  border-radius: var(--r); color: var(--paper); font-family: var(--body);
  font-size: 14px; padding: 12px 14px;
}
.capture input[type="email"]::placeholder { color: var(--dim); }

/* ============================ footer ====================== */

.foot { border-top: 1px solid var(--line-soft); padding: 30px 0 46px; margin-top: 20px; }
.foot__legal { color: var(--dim); font-size: 12px; max-width: 72ch; margin: 0 0 10px; line-height: 1.65; }
.foot__legal b { color: var(--muted); }

.foot__age {
  display: inline-block; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; border: 1px solid var(--line); border-radius: 100px;
  padding: 3px 10px; color: var(--muted); margin-bottom: 14px;
}

.foot__nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 16px; }
.foot__nav a {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); text-decoration: none;
}
.foot__nav a:hover { color: var(--paper); }

/* ============================ motion / a11y =============== */

:focus-visible { outline: 2px solid var(--playable); outline-offset: 2px; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

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

/* ============================ responsive ================== */

@media (max-width: 640px) {
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .masthead__inner { min-height: 54px; }
  .nav a { padding: 7px 5px; font-size: 9.5px; letter-spacing: 0.045em; }
  .brand__sub { display: none; }
  .card__price { margin-left: 0; }
  .bar { grid-template-columns: 84px 1fr 62px; gap: 9px; }
  .chart__readout { position: static; text-align: left; margin-bottom: 6px; }
  .section { padding: 34px 0; }
  .hero { padding: 40px 0 32px; }
  .watchlist-head { align-items: flex-start; flex-direction: column; }
}


/* ============================ brand ======================= */

.foot__logo { height: 30px; width: auto; display: block; margin-bottom: 14px; opacity: .85; }

.hero__crest { display: block; width: 100%; max-width: 340px; height: auto; margin: 0 auto; }

@media (max-width: 640px) {
  .brand__logo { height: 26px; }
  .brand__word { height: 15px; }
}

@media (max-width: 380px) {
  .brand__word { display: none; }
}

/* ---------- signup feedback + honeypot ---------- */

.capture__trap {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden;
}

.capture__msg {
  margin: 14px 0 0; font-size: 14px;
}
.capture__msg.is-ok { color: var(--playable); }
.capture__msg.is-err { color: var(--neg); }

.capture button[disabled] { opacity: .6; cursor: default; }
