/* COME SPORTS — Scoreboard Portal Stylesheet (Factory 04_LAYOUT_PROMPT_093 + HOMEPAGE_101 + MENU_054) */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--background);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--background);
  background-image:
    radial-gradient(900px 600px at 90% -10%, rgba(77, 196, 249, 0.12), transparent 60%),
    radial-gradient(800px 500px at -10% 30%, rgba(19, 53, 100, 0.40), transparent 70%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

img,
svg,
video { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--primary-dark); }

button { font: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  color: var(--text-strong);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(34px, 4.8vw, 56px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.015em; }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
h4 { font-size: clamp(17px, 1.7vw, 20px); }

p { margin: 0 0 1em; color: var(--muted); }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1em; padding-left: 1.3em; color: var(--muted); }
ul li, ol li { margin-bottom: 0.45em; }

.container {
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: -9999px;
  background: var(--primary);
  color: #0A2238;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ----------------- HEADER / NAV (MENU_054) ----------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 240;
  background: rgba(5, 21, 45, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-strong);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gradient-cta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0A2238;
  font-weight: 900;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.brand-logo::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 5px;
  pointer-events: none;
}

.brand-name { font-size: 18px; line-height: 1; }
.brand-name small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--primary);
  text-transform: uppercase;
  margin-top: 4px;
}

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  position: relative;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--surface); color: var(--primary); }
.main-nav a.is-active { color: var(--primary); }
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta-ghost,
.header-cta {
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  white-space: nowrap;
}
.header-cta-ghost:hover { border-color: var(--primary); color: var(--primary); }
.header-cta {
  background: var(--primary);
  color: #0A2238;
  border-color: var(--primary);
}
.header-cta:hover { background: var(--primary-dark); color: #0A2238; }

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  position: relative;
  z-index: 300;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.18s ease, top 0.22s ease;
}
.hamburger span:nth-child(1) { top: 13px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 29px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); background: var(--primary); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); background: var(--primary); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--background);
  border-top: 1px solid var(--border-soft);
  z-index: 220;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  padding: 24px var(--gutter) 64px;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer a {
  display: block;
  padding: 14px 4px;
  font-size: 18px;
  color: var(--text);
  border-bottom: 1px solid var(--border-soft);
  font-weight: 500;
}
.mobile-drawer a:hover { color: var(--primary); }
.mobile-drawer .drawer-cta { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.mobile-drawer .drawer-cta a { border: 1px solid var(--primary); border-radius: var(--radius-pill); padding: 12px 18px; text-align: center; }

@media (max-width: 980px) {
  .main-nav, .header-right .header-cta-ghost { display: none; }
  .hamburger { display: inline-flex; align-items: center; justify-content: center; }
  .site-header { height: var(--header-h-mobile); }
  .hero { min-height: 480px !important; max-height: 720px !important; padding: 32px 0 40px !important; }
  .page-banner { min-height: 240px !important; max-height: 480px !important; padding: 32px 0 36px !important; }
  .hero-trust { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .hero-trust .stat { padding: 10px 12px !important; }
  .hero-trust .stat strong { font-size: 16px !important; }
  .hero-grid { gap: 24px !important; }
  .hero-board { padding: 18px !important; }
  .hero-board header h3 { font-size: 13px !important; letter-spacing: 0.1em !important; }
  .scorecard { padding: 10px 0 !important; gap: 8px !important; }
}
@media (max-width: 480px) {
  .brand-name { font-size: 16px; }
  .header-cta { padding: 8px 14px; font-size: 13px; }
}

/* ----------------- HERO (Asymmetric Scoreboard) ----------------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 64px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 19, 9, 0.55) 0%, rgba(22, 19, 9, 0.85) 60%, var(--background) 100%),
    var(--gradient);
  z-index: -2;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 { margin-bottom: 18px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--primary);
}

.hero-lede {
  font-size: clamp(17px, 1.7vw, 19px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #0A2238;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); color: #0A2238; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.hero-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.hero-trust .stat {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 12px 14px;
  text-align: left;
}
.hero-trust .stat strong {
  display: block;
  font-size: 18px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-trust .stat span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-board {
  background: linear-gradient(180deg, rgba(22, 19, 9, 0.85), rgba(22, 19, 9, 0.95));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.hero-board header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
}
.hero-board header h3 { margin: 0; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hero-board header .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--live-soft);
  color: var(--live);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-board header .live::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--live);
  border-radius: 50%;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

.scorecard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border-soft);
}
.scorecard:last-child { border-bottom: 0; }
.scorecard .team { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.scorecard .team.right { text-align: right; align-items: flex-end; }
.scorecard .team .name { font-weight: 700; font-size: 14px; color: var(--text); }
.scorecard .team .meta { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.scorecard .score {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  text-align: center;
  min-width: 88px;
  border: 1px solid var(--border-soft);
}
.scorecard .score strong { display: block; font-size: 17px; color: var(--primary); font-weight: 800; }
.scorecard .score span { font-size: 10px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }

.hero-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.hero-foot .pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-foot .pulse::before {
  content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
  animation: pulse 1.6s infinite;
}

@media (max-width: 980px) {
  .hero { min-height: auto; padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero { padding: 40px 0 56px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { grid-template-columns: repeat(2, 1fr); }
  .scorecard { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .scorecard .team.right { text-align: left; align-items: flex-start; }
  .scorecard .score { width: 100%; }
}

/* ----------------- BAND ----------------- */
.band { padding: var(--section-y) 0; }
.band.tight { padding: var(--section-y-tight) 0; }
.band.alt { background: var(--background-2); }
.band.warm { background: linear-gradient(180deg, rgba(250, 208, 41, 0.06) 0%, transparent 100%); }

/* ----------------- GENERIC SECTIONS / BANDS ----------------- */
.section { padding: var(--section-y) 0; }
.section.tight { padding: var(--section-y-tight) 0; }
.section.relax { padding: var(--section-y-relax) 0; }
.section.alt { background: var(--background-2); }
.section.warm { background: linear-gradient(180deg, rgba(250, 208, 41, 0.06) 0%, transparent 100%); }
.section.headline-trio { padding-top: clamp(64px, 8vw, 112px); }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.section-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--primary); }
.section-title { margin: 0 0 14px; max-width: 22ch; }
.section-lede { color: var(--muted); font-size: 17px; max-width: 60ch; margin-bottom: 36px; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.section-head .section-eyebrow,
.section-head .section-title,
.section-head .section-lede { margin-bottom: 0; }
.section-head .head-meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-align: right;
}
.section-head .head-meta strong { color: var(--primary); display: block; font-size: 20px; letter-spacing: -0.01em; font-weight: 800; }

/* ----------------- CARD GRIDS (Card-rich Homepage) ----------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
  min-height: 180px;
}
.card:hover { transform: translateY(-2px); border-color: var(--border-strong); background: var(--surface-2); }
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  border: 1px solid var(--primary-line);
  flex-shrink: 0;
}
.card h3 { font-size: 17px; margin: 0; }
.card p { font-size: 14px; line-height: 1.6; margin: 0; color: var(--muted); }
.card .arrow {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card .arrow::after { content: "→"; transition: transform 0.18s ease; }
.card:hover .arrow::after { transform: translateX(3px); }

.feature-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.feature-card .feat-icon { font-size: 26px; }
.feature-card h3 { font-size: 19px; }
.feature-card p { font-size: 14.5px; }

.data-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.data-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-cta);
}
.data-card .num {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1;
}
.data-card .label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.data-card .sub {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 10px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.step-card .step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #0A2238;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 4px;
  box-shadow: var(--shadow-sm);
}
.step-card h3 { font-size: 18px; }
.step-card p { font-size: 14.5px; }

.hub-card {
  background: linear-gradient(180deg, var(--surface), var(--background-2));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  min-height: 180px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.hub-card:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.hub-card .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}
.hub-card h3 { font-size: 19px; }
.hub-card p { font-size: 14.5px; }
.hub-card .meta { font-size: 12px; color: var(--muted); }

.comparison-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.comparison-card h3 { font-size: 18px; }
.comparison-card .row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-soft);
}
.comparison-card .row:last-child { border-bottom: 0; }
.comparison-card .row strong { color: var(--text); }

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.testimonial-card blockquote { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text); }
.testimonial-card .person { display: flex; align-items: center; gap: 12px; }
.testimonial-card .person .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #0A2238;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.testimonial-card .person .who { font-size: 14px; }
.testimonial-card .person .who small { color: var(--muted); display: block; font-size: 12px; }

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.pricing-card.featured {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--primary);
  box-shadow: var(--shadow-glow);
}
.pricing-card .badge {
  position: absolute;
  top: -10px; right: 18px;
  background: var(--primary);
  color: #0A2238;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}
.pricing-card .price { font-size: 36px; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; }
.pricing-card .price small { font-size: 14px; color: var(--muted); display: block; font-weight: 500; margin-top: 4px; }
.pricing-card ul { list-style: none; padding: 0; margin: 0; }
.pricing-card ul li {
  font-size: 14.5px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-soft);
  color: var(--muted);
}
.pricing-card ul li::before { content: "✓ "; color: var(--accent); font-weight: 800; margin-right: 6px; }
.pricing-card ul li:last-child { border-bottom: 0; }

.cta-card {
  background: linear-gradient(135deg, rgba(250, 208, 41, 0.18) 0%, rgba(50, 201, 106, 0.10) 100%);
  border: 1px solid var(--primary-line);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 300px at 0% 0%, rgba(250, 208, 41, 0.22), transparent 60%),
    radial-gradient(400px 300px at 100% 100%, rgba(50, 201, 106, 0.18), transparent 60%);
  pointer-events: none;
}
.cta-card > * { position: relative; }
.cta-card h2 { margin: 0 0 12px; }
.cta-card p { color: var(--muted); margin: 0 auto 24px; max-width: 50ch; }
.cta-card .pair { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.spotlight-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.spotlight-card .media {
  position: relative;
  min-height: 320px;
  background: var(--surface-2);
}
.spotlight-card .media img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-card .body { padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.spotlight-card .body .tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary);
}
.spotlight-card .body h3 { font-size: 26px; margin: 0; }
.spotlight-card .body p { font-size: 15.5px; margin: 0; }
.spotlight-card .body .meta { font-size: 13px; color: var(--muted); }

@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid.three, .card-grid.two { grid-template-columns: 1fr; }
  .spotlight-card { grid-template-columns: 1fr; }
  .spotlight-card .media { min-height: 220px; }
}
@media (max-width: 480px) {
  .card-grid { grid-template-columns: 1fr; }
  .pricing-card, .cta-card { padding: 28px 20px; }
}

/* ----------------- SCOREBOARD TABLE (Fixtures / Standings) ----------------- */
.scoreboard {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.scoreboard .scoreboard-head {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface-2);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.scoreboard .scoreboard-row {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--border-soft);
  align-items: center;
  font-size: 14.5px;
}
.scoreboard .scoreboard-row:hover { background: var(--surface-2); }
.scoreboard .scoreboard-row .match-cell { display: flex; flex-direction: column; gap: 4px; }
.scoreboard .scoreboard-row .match-cell .opp { font-weight: 700; color: var(--text); }
.scoreboard .scoreboard-row .match-cell .where { font-size: 12px; color: var(--muted); }
.scoreboard .status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.scoreboard .status-pill.live { background: var(--live-soft); color: var(--live); }
.scoreboard .status-pill.upcoming { background: var(--primary-soft); color: var(--primary); }
.scoreboard .status-pill.finished { background: var(--accent-soft); color: var(--accent); }
.scoreboard .num-cell { font-weight: 700; color: var(--text); }
.scoreboard .num-cell small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 2px; }

@media (max-width: 720px) {
  .scoreboard .scoreboard-head { display: none; }
  .scoreboard .scoreboard-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .scoreboard .scoreboard-row > * { padding: 2px 0; }
}

/* ----------------- RANKED LIST ----------------- */
.ranked-list { display: flex; flex-direction: column; gap: 12px; }
.ranked-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 18px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  align-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.ranked-item:hover { transform: translateX(2px); border-color: var(--border-strong); }
.ranked-item .rank {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary-line);
}
.ranked-item .rank.silver { background: rgba(203, 213, 225, 0.18); color: #CBD5E1; border-color: rgba(203, 213, 225, 0.3); }
.ranked-item .rank.bronze { background: rgba(180, 110, 50, 0.18); color: #D08850; border-color: rgba(180, 110, 50, 0.32); }
.ranked-item .info h4 { margin: 0 0 4px; font-size: 16px; }
.ranked-item .info p { margin: 0; font-size: 13.5px; color: var(--muted); }
.ranked-item .stat-block { text-align: right; }
.ranked-item .stat-block strong { color: var(--primary); font-size: 17px; display: block; }
.ranked-item .stat-block small { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 720px) {
  .ranked-item { grid-template-columns: 44px 1fr; gap: 12px; }
  .ranked-item .stat-block { grid-column: 1 / -1; text-align: left; }
}

/* ----------------- STEPPER (How-to) ----------------- */
.stepper { display: flex; gap: 0; flex-wrap: wrap; }
.stepper .step {
  flex: 1 1 200px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  margin-right: 14px;
  margin-bottom: 14px;
  min-width: 200px;
}
.stepper .step:last-child { margin-right: 0; }
.stepper .step::after {
  content: "→";
  position: absolute;
  right: -22px; top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 18px;
  z-index: 1;
}
.stepper .step:last-child::after { display: none; }
.stepper .step .num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 10px;
  border: 1px solid var(--primary-line);
}
.stepper .step h4 { margin: 0 0 6px; font-size: 15.5px; }
.stepper .step p { font-size: 13.5px; margin: 0; }

@media (max-width: 720px) {
  .stepper .step::after { content: "↓"; right: 50%; top: auto; bottom: -22px; transform: translateX(50%); }
}

/* ----------------- FAQ ----------------- */
.faq,
.faq-grid { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 0;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--primary);
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details .body {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ----------------- TRUST STRIP ----------------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}
.trust-strip .item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.trust-strip .item .label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}
.trust-strip .item .value {
  font-size: 14.5px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.4;
}
.trust-strip .item .sub { font-size: 12.5px; color: var(--muted); }

@media (max-width: 880px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ----------------- INLINE IMAGE ROW (2-col image + text) ----------------- */
.inline-image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin: 36px 0;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px;
}
.inline-image-row img,
.inline-image-row .visual {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  display: block;
}
.inline-image-row .visual {
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-2);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.inline-image-row .copy h3,
.inline-image-row .copy h4 { margin-top: 0; }
.inline-image-row .copy p { margin-bottom: 0; }
.inline-image-row.reverse > :first-child { order: 2; }
@media (max-width: 720px) {
  .inline-image-row { grid-template-columns: 1fr; padding: 18px; }
  .inline-image-row.reverse > :first-child { order: 0; }
}

/* ----------------- LOOSE CARD (h2/h3 + paragraph wrap) ----------------- */
.loose-card {
  background: linear-gradient(135deg, rgba(250, 208, 41, 0.10) 0%, rgba(250, 208, 41, 0.03) 100%);
  border: 2px solid rgba(250, 208, 41, 0.45);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 24px 0;
  position: relative;
}
.loose-card .loose-icon {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: rgba(171, 232, 71, 0.20);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 16px;
}
.loose-card h2, .loose-card h3, .loose-card h4 { margin-top: 0; color: var(--primary); }
.loose-card p:last-child { margin-bottom: 0; }

/* ----------------- DEFINITION GRID (Glossary) ----------------- */
.definition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.definition-grid .term {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.definition-grid .term dt { font-weight: 700; color: var(--primary); font-size: 15px; }
.definition-grid .term dd { margin: 0; font-size: 14px; color: var(--muted); }

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

/* ----------------- COMPLIANCE / RESPONSIBLE STRIP ----------------- */
.compliance-strip {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  align-items: center;
}
.compliance-strip .badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary); font-weight: 700; }
.compliance-strip p { margin: 0; font-size: 14px; color: var(--muted); }

@media (max-width: 720px) {
  .compliance-strip { grid-template-columns: 1fr; padding: 22px; }
}

/* ----------------- EDITORIAL LONG-FORM ----------------- */
.editorial {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}
.editorial .toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 20px;
  font-size: 13.5px;
}
.editorial .toc h4 { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary); margin: 0 0 12px; }
.editorial .toc ol { list-style: none; padding: 0; margin: 0; counter-reset: section; }
.editorial .toc ol li {
  counter-increment: section;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-soft);
  color: var(--muted);
}
.editorial .toc ol li:last-child { border-bottom: 0; }
.editorial .toc ol li::before {
  content: counter(section, decimal-leading-zero) " ";
  color: var(--primary);
  font-weight: 700;
  margin-right: 6px;
}
.editorial .toc ol li a { color: inherit; }
.editorial .toc ol li a:hover { color: var(--primary); }

.editorial article .lede { font-size: 19px; color: var(--text); margin-bottom: 24px; }
.editorial article h2 { margin-top: 40px; }
.editorial article p { font-size: 16.5px; line-height: 1.75; }

@media (max-width: 980px) {
  .editorial { grid-template-columns: 1fr; }
  .editorial .toc { position: static; }
}

/* ----------------- FOOTER ----------------- */
.site-footer {
  background: linear-gradient(180deg, var(--background-2), #0d0a05);
  border-top: 1px solid var(--border-soft);
  padding: 56px 0 32px;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-grid h5 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 14px;
  font-weight: 700;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin: 0 0 8px; font-size: 14.5px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--primary); }
.footer-brand p { font-size: 14.5px; color: var(--muted); margin: 8px 0 14px; max-width: 36ch; }
.footer-social { display: flex; gap: 10px; margin-top: 8px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.footer-social a:hover { color: var(--primary); border-color: var(--primary); }
.footer-social svg { width: 18px; height: 18px; }

.footer-meta {
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.footer-meta a { color: var(--muted); }
.footer-meta a:hover { color: var(--primary); }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ----------------- STICKY MOBILE CTA ----------------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: rgba(5, 21, 45, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 12px var(--gutter);
  display: none;
  gap: 10px;
}
.sticky-cta a { flex: 1 1 auto; padding: 12px 16px; font-size: 14px; text-align: center; }
.sticky-cta-spacer { height: 80px; display: none; }
@media (max-width: 720px) {
  .sticky-cta { display: flex; }
  .sticky-cta-spacer { display: block; }
}

/* ----------------- PAGE BANNER (top of every child page) ----------------- */
.page-banner {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 56px 0 48px;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 19, 9, 0.55) 0%, rgba(22, 19, 9, 0.85) 60%, var(--background) 100%),
    var(--gradient);
  z-index: -2;
}
.page-banner .page-banner-img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.page-banner h1 { margin-bottom: 14px; max-width: 22ch; }
.page-banner .lede { font-size: 17px; color: var(--muted); max-width: 60ch; margin-bottom: 22px; }
.page-banner .crumbs {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.page-banner .crumbs a { color: var(--muted); }
.page-banner .crumbs a:hover { color: var(--primary); }
.page-banner .crumbs .sep { opacity: 0.5; margin: 0 6px; }
.page-banner .banner-cta { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 720px) {
  .page-banner { min-height: auto; padding: 48px 0 40px; }
}

/* ----------------- TWO-COL LAYOUT (TOC + body) ----------------- */
.two-col {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 980px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ----------------- UTIL ----------------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.text-primary { color: var(--primary) !important; }
.text-muted { color: var(--muted) !important; }
.text-center { text-align: center; }
.section[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ----------------- TABLE ----------------- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14.5px;
}
.comparison-table th, .comparison-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}
.comparison-table th {
  background: var(--surface-2);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}
.comparison-table td { color: var(--muted); }
.comparison-table tr:last-child td { border-bottom: 0; }
.comparison-table tr:hover td { background: var(--surface-2); }
.comparison-table .check { color: var(--accent); font-weight: 800; }
.comparison-table .cross { color: var(--live); font-weight: 800; }
.table-wrap { overflow-x: auto; }

/* ----------------- PILL / BADGE / TAG ----------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  color: var(--muted);
  font-weight: 700;
}
.pill.primary { background: var(--primary-soft); color: var(--primary); border-color: var(--primary-line); }
.pill.accent { background: var(--accent-soft); color: var(--accent); border-color: rgba(50, 201, 106, 0.32); }
.pill.live { background: var(--live-soft); color: var(--live); border-color: rgba(255, 111, 78, 0.32); }

/* ----------------- AUTHOR/POST META ----------------- */
.byline { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); }
.byline .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #0A2238;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.byline .who strong { color: var(--text); display: block; font-size: 14.5px; }

/* ----------------- GALLERY ROW (small thumbs) ----------------- */
.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.thumb-row img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
}
@media (max-width: 720px) {
  .thumb-row { grid-template-columns: repeat(2, 1fr); }
}

/* ----------------- FORM ----------------- */
.form { display: flex; flex-direction: column; gap: 14px; max-width: 480px; }
.form label { font-size: 13px; color: var(--muted); font-weight: 600; }
.form input, .form textarea, .form select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
}
.form .hint { font-size: 12px; color: var(--muted); }

/* ----------------- PROSE STYLING (for blog/news body) ----------------- */
.prose h2 { margin-top: 36px; }
.prose h3 { margin-top: 28px; }
.prose p { font-size: 16.5px; line-height: 1.75; }
.prose ul li, .prose ol li { font-size: 16px; line-height: 1.7; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote {
  margin: 24px 0;
  padding: 16px 22px;
  border-left: 3px solid var(--primary);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 16.5px;
  font-style: italic;
  color: var(--text);
}
.prose strong { color: var(--text-strong); }

/* ----------------- EDITORIAL CONTENT FIGURE (news body) ----------------- */
.prose .content-image {
  margin: 32px 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-soft);
}
.prose .content-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.prose .content-image figcaption {
  padding: 12px 18px;
  font-size: 13.5px;
  color: var(--muted);
  border-top: 1px solid var(--border-soft);
  background: var(--surface-2);
}

/* ----------------- PRINT/REDUCED MOTION ----------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
