/* Programmatic SEO pages — base + page-scoped styles.
   The base block below mirrors the inline <style> in content/*.html so the
   programmatic pages (which don't carry inline styles) get the same shell. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&display=swap');

.nspg-root, .nspg-root * { box-sizing: border-box; }
.nspg-root {
  --navy:#1B3A5E;
  --navy-dk:#0E2438;
  --navy-tint:rgba(27,58,94,.08);
  --ink:#0A0A0A;
  --ink-2:#141414;
  --pure:#000000;
  --text:#1A1A1A;
  --muted:#5F6B7A;
  --line:#E5E7EB;
  --soft:#F7F8FA;
  --halo:#EEF1F5;
  --pos:#0F8A4F;
  --neg:#B42318;
  --surface:#FFFFFF;
  --radius:18px;
  --radius-lg:24px;
  --shadow-sm: 0 1px 2px rgba(14,36,56,.04);
  --shadow:0 2px 6px rgba(14,36,56,.05), 0 16px 40px rgba(14,36,56,.06);
  --ease:cubic-bezier(.16,1,.3,1);
  --ease-out:cubic-bezier(.22,.61,.36,1);
  --ease-apple:cubic-bezier(0.32,0.72,0,1);

  font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text); background: var(--surface); line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "tnum" 1, "ss01" 1;
}

.nspg-root .nspg-wrap { max-width: 980px; margin: 0 auto; padding: 0 24px; }
.nspg-root .nspg-wrap--narrow { max-width: 720px; }
@media (max-width: 720px) { .nspg-root .nspg-wrap { padding: 0 18px; } }

.nspg-marquee {
  background: var(--pure); color: #fff;
  overflow: hidden; white-space: nowrap;
  border-bottom: 1px solid var(--ink);
}
.nspg-marquee__track {
  display: inline-flex; padding: 9px 0;
  animation: nspg-scroll 38s linear infinite;
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
.nspg-marquee__track span { padding: 0 26px; }
.nspg-marquee__track span::after { content:"\B7 "; margin-left: 26px; color: rgba(255,255,255,.4); }
@keyframes nspg-scroll {
  from { transform: translateX(0); } to { transform: translateX(-50%); }
}

.nspg-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid rgba(229,231,235,.6);
}
.nspg-header__row {
  display:flex; align-items:center; justify-content: space-between;
  padding: 14px 24px; max-width: 1080px; margin: 0 auto;
}
@media (max-width: 720px){ .nspg-header__row { padding: 14px 18px; } }
.nspg-logo { display:inline-flex; align-items:center; gap: 12px; text-decoration: none; }
.nspg-logo__mark {
  width: 38px; height: 38px; border-radius: 50%; background: transparent;
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
}
.nspg-logo__mark img { width:100%; height:100%; object-fit: contain; border-radius: 50%; display:block; }
.nspg-logo__wm { font-family: 'Fraunces', serif; font-weight: 500; font-size: 18px; color: var(--ink); letter-spacing: -0.01em; }
.nspg-logo__wm em { font-style: italic; color: var(--navy); font-weight: 500; }
.nspg-nav { display:flex; gap: 28px; align-items:center; }
@media (max-width: 820px) { .nspg-nav { display:none; } }
.nspg-nav a { color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; position: relative; padding: 6px 0; transition: color .15s ease; }
.nspg-nav a::after { content:""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--navy); transition: width .25s var(--ease-out); }
.nspg-nav a:hover { color: var(--navy); }
.nspg-nav a:hover::after { width: 100%; }
.nspg-nav__cta { background: var(--ink); color:#fff !important; padding: 8px 18px !important; border-radius: 999px; font-weight: 600 !important; transition: transform .2s var(--ease-out), background .2s var(--ease-out); }
.nspg-nav__cta::after { display: none !important; }
.nspg-nav__cta:hover { transform: translateY(-1px); background: var(--navy); }

.nspg-footer { background: var(--pure); color: rgba(255,255,255,.7); padding: 64px 24px 28px; }
@media (max-width: 720px){ .nspg-footer { padding: 56px 16px 24px; } }
.nspg-footer__row { display:grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); max-width: 1080px; margin: 0 auto; }
@media (max-width: 720px){ .nspg-footer__row { grid-template-columns: 1fr 1fr; gap: 32px; } }
.nspg-footer__brand { color:#fff; }
.nspg-footer__brand .nspg-logo__wm { color:#fff; }
.nspg-footer__brand .nspg-logo__wm em { color: rgba(255,255,255,.55); }
.nspg-footer__tag { font-size: 13px; line-height: 1.6; max-width: 360px; margin-top: 16px; color: rgba(255,255,255,.6); }
.nspg-footer__col-t { color:#fff; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.nspg-footer__col a { display:block; color: rgba(255,255,255,.7); text-decoration: none; font-size: 14px; padding: 6px 0; transition: color .15s ease; }
.nspg-footer__col a:hover { color:#fff; }
.nspg-footer__bottom { display:flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 28px; font-size: 12px; color: rgba(255,255,255,.5); max-width: 1080px; margin: 0 auto; }

@media (prefers-reduced-motion: reduce) {
  .nspg-marquee__track { animation: none !important; }
}

/* ============================================================
   Programmatic-page-specific styles
============================================================ */

.nspg-root .seo-breadcrumbs {
  background: var(--soft, #F7F8FA);
  border-bottom: 1px solid var(--line, #E5E7EB);
  padding: 12px 0;
  font-size: 12px;
  color: var(--muted, #5F6B7A);
}
.nspg-root .seo-breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.nspg-root .seo-breadcrumbs a {
  color: var(--navy, #1B3A5E);
  text-decoration: none;
}
.nspg-root .seo-breadcrumbs a:hover { text-decoration: underline; }
.nspg-root .seo-breadcrumbs span[aria-hidden] { color: var(--muted); padding: 0 4px; }

.nspg-root .seo-hero {
  padding: 48px 0 32px;
}
.nspg-root .seo-hero__league {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--navy-tint);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.nspg-root .seo-hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--ink, #0A0A0A);
}
.nspg-root .seo-hero h1 em {
  font-style: italic;
  color: var(--navy);
}
.nspg-root .seo-hero__lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 700px;
  margin: 0;
}
.nspg-root .seo-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.nspg-root .seo-hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nspg-root .seo-hero__meta-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.nspg-root .seo-hero__meta-val {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.nspg-root .seo-hero__meta-val.pos { color: var(--pos, #0F8A4F); }
.nspg-root .seo-hero__meta-val.neg { color: var(--neg, #B42318); }

.nspg-root .seo-block {
  padding: 24px 0;
}
.nspg-root .seo-block h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 16px;
  color: var(--ink);
}
.nspg-root .seo-block__desc {
  font-size: 14px;
  color: var(--muted);
  margin: -8px 0 16px;
  max-width: 640px;
}

.nspg-root .seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.nspg-root .seo-table th,
.nspg-root .seo-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.nspg-root .seo-table th {
  background: var(--soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.nspg-root .seo-table tr:last-child td { border-bottom: 0; }
.nspg-root .seo-table tr:hover td { background: var(--soft); }
.nspg-root .seo-table td.num { text-align: right; }
.nspg-root .seo-table th.num { text-align: right; }
.nspg-root .seo-table a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
}
.nspg-root .seo-table a:hover { text-decoration: underline; }
.nspg-root .seo-table .pos { color: var(--pos); font-weight: 600; }
.nspg-root .seo-table .neg { color: var(--neg); font-weight: 600; }
.nspg-root .seo-table .push { color: var(--muted); font-weight: 500; }

.nspg-root .seo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nspg-root .seo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.nspg-root .seo-chip:hover {
  background: var(--soft);
  border-color: var(--navy);
}
.nspg-root .seo-chip__count {
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.nspg-root .seo-cta {
  margin-top: 32px;
  padding: 32px;
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nspg-root .seo-cta h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 4px;
}
.nspg-root .seo-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  max-width: 520px;
}
.nspg-root .seo-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.nspg-root .seo-cta__btn:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);
}

.nspg-root .seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.nspg-root .seo-card {
  display: block;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.nspg-root .seo-card:hover {
  border-color: var(--navy);
  transform: translateY(-1px);
}
.nspg-root .seo-card__title {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}
.nspg-root .seo-card__meta {
  font-size: 12px;
  color: var(--muted);
}
.nspg-root .seo-card__stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.nspg-root .seo-card__stat strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.nspg-root .seo-section--soft {
  background: var(--soft);
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.nspg-root .seo-section--tight {
  padding: 24px 0;
}

.nspg-root .seo-leg-card {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
}
.nspg-root .seo-leg-card + .seo-leg-card { margin-top: 12px; }
.nspg-root .seo-leg-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.nspg-root .seo-leg-card__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.nspg-root .seo-leg-card__line {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 10px;
}
.nspg-root .seo-leg-card__line strong { color: var(--ink); }
.nspg-root .seo-leg-card__meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}
.nspg-root .seo-leg-card__meta strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.nspg-root .seo-leg-card__result {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nspg-root .seo-leg-card__result.win,
.nspg-root .seo-leg-card__result.won {
  background: rgba(15, 138, 79, 0.12);
  color: var(--pos);
}
.nspg-root .seo-leg-card__result.loss,
.nspg-root .seo-leg-card__result.lost {
  background: rgba(180, 35, 24, 0.12);
  color: var(--neg);
}
.nspg-root .seo-leg-card__result.push {
  background: rgba(95, 107, 122, 0.12);
  color: var(--muted);
}
.nspg-root .seo-leg-card__result.pending {
  background: rgba(180, 83, 9, 0.12);
  color: #B45309;
}

.nspg-root .seo-letterhead {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.nspg-root .seo-letterhead a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.nspg-root .seo-letterhead a:hover {
  background: var(--navy);
  color: #fff;
}
.nspg-root .seo-letterhead a.muted {
  color: var(--muted);
  pointer-events: none;
  background: var(--soft);
}

@media (max-width: 680px) {
  .nspg-root .seo-hero { padding: 32px 0 24px; }
  .nspg-root .seo-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .nspg-root .seo-table { font-size: 13px; }
  .nspg-root .seo-table th, .nspg-root .seo-table td { padding: 10px 8px; }
}
