/* ============================================================
   SportsAdda — Editorial Sports Authority
   Factory V9 FSL11 — Layout 083 (Niche News Portal)
   Palette: LIGHT_COLOR_006 Grass Field
   Type: TYPOGRAPHY_023 Poppins (condensed-scoreboard feel)
   ============================================================ */

/* --- Reset & tokens -------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; max-width: 100%; }
/* Mobile drawer sits offscreen-right via transform; clip its contribution to scrollWidth. */
.mobile-drawer { contain: layout paint; overflow: hidden; max-width: 100vw; }
img, svg, video, picture { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

:root {
  --primary: #2C7A36;
  --primary-deep: #1f4d22;
  --primary-soft: #3e9c4d;
  --accent: #B05D00;
  --accent-soft: #d77a1e;
  --accent-deep: #7a3d00;
  --primary-soft-ink: #1f4d22;    /* dark ink for use on primary-soft bg (WCAG) */
  --accent-soft-ink: #5c2f00;     /* dark ink for use on accent-soft bg (WCAG) */
  --background: #F6FBF3;
  --background-2: #eef6e9;
  --surface: #FFFFFF;
  --surface-2: #E6F2DF;
  --surface-3: #d8ebcf;
  --text: #1F3020;
  --text-soft: #2a3f2b;
  --muted: #5C705D;
  --border: #CBE0C4;
  --border-strong: #9bbf90;
  --warning: #c14b1f;
  --success: #2C7A36;
  --ink-on-image: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(31, 48, 32, 0.08);
  --shadow-md: 0 4px 14px rgba(31, 48, 32, 0.10);
  --shadow-lg: 0 12px 32px rgba(31, 48, 32, 0.14);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --maxw: 1280px;
  --gutter: clamp(16px, 4vw, 32px);
  --font-display: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--background);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* --- Layout primitives ----------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(36px, 5vw, 64px) 0; }
.section--tight { padding: clamp(24px, 3vw, 40px) 0; }
.section--band { background: var(--background-2); }
.section--surface { background: var(--surface); }
.band {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--background) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); margin: 0 0 .4em; line-height: 1.18; color: var(--text); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: clamp(20px, 2.2vw, 24px); }
h4 { font-size: clamp(17px, 1.8vw, 20px); }
p { margin: 0 0 1em; }
a { color: var(--primary-deep); text-decoration: underline; text-underline-offset: 2px; border-bottom: 1px solid transparent; transition: border-color .18s ease, color .18s ease; }
a:hover { border-bottom-color: var(--primary); text-decoration-thickness: 2px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* Exempt decorative / nav / button / chrome links from the body underline
   so chrome does not turn into underlined text. */
.header-nav a,
.brand-mark,
.brand-mark__name,
.drawer-nav a,
.footer-col a,
.btn,
.preview-card__link a,
.faq-item a,
.trust-strip a,
.masthead__right a,
.mobile-sticky a,
.cta-strip__form a,
.results-table a,
.fantasy-matrix a { text-decoration: none; border-bottom: none; }
.btn { text-decoration: none; }

/* --- Diagonal-media-crop signature ----------------------- */
.dmc-stripe {
  height: 26px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-soft) 60%, var(--accent) 100%);
  clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%);
  margin: 0;
}
.dmc-stripe--rev {
  clip-path: polygon(4% 0, 100% 0, 100% 100%, 0 100%);
}
.dmc-stripe--accent {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 60%, var(--primary) 100%);
}
.dmc-card {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.dmc-card--top {
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

/* --- Masthead strip -------------------------------------- */
.masthead {
  background: var(--text);
  color: var(--ink-on-image);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.masthead .container { display: flex; gap: 18px; align-items: center; justify-content: space-between; min-height: 32px; flex-wrap: wrap; }
.masthead__left { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.masthead__pill {
  background: rgba(255,255,255,.10); padding: 4px 10px; border-radius: var(--radius-pill);
  display: inline-flex; gap: 6px; align-items: center;
}
.masthead__pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-soft); }
.masthead__right { display: flex; gap: 16px; opacity: .9; }
.masthead__right a { color: #fff; }
.masthead__right a:hover { border-bottom-color: var(--accent-soft); }

/* --- Split-brand header ---------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 251, 243, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.header-nav { display: flex; gap: 18px; align-items: center; }
.header-nav--right { justify-content: flex-end; }
.header-nav a {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.header-nav a:hover, .header-nav a.is-active { border-bottom-color: var(--accent); color: var(--accent-deep); }

.brand-mark {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; border: none;
  min-width: 0; max-width: 100%;
  flex-wrap: nowrap;
}
.brand-mark > * { min-width: 0; }
.brand-mark__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-mark__logo {
  flex: 0 0 auto;
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%);
  color: #fff; font-weight: 800; display: grid; place-items: center;
  letter-spacing: -.02em; font-size: 18px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.18);
}
.brand-mark__name {
  font-weight: 800; font-size: 18px; letter-spacing: -0.01em;
  color: var(--text);
}
.brand-mark__tag {
  font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: .04em;
  display: block;
  margin-top: -2px;
}

.hamburger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface);
  position: relative;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger span + span { margin-top: 5px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer — closed state uses clip-path:inset(0 0 0 100%) which
   removes the box from scrollWidth measurement while preserving the GPU
   layer for the open transition. */
.mobile-drawer {
  position: fixed; top: 0; bottom: 0; right: 0;
  width: min(86vw, 340px);
  background: var(--surface);
  z-index: 150;
  clip-path: inset(0 0 0 100%);
  transition: clip-path .28s ease;
  padding: 80px 22px 28px;
  overflow-y: auto;
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.mobile-drawer[data-open="true"] { clip-path: inset(0 0 0 0); }
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(15, 23, 16, .55);
  z-index: 140;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.drawer-backdrop[data-open="true"] { opacity: 1; pointer-events: auto; }
.drawer-nav h4 { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 22px; }
.drawer-nav p,
.drawer-nav__heading { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 22px 0 8px; font-weight: 700; }
.drawer-nav ul { list-style: none; padding: 0; margin: 0; }
.drawer-nav li { border-bottom: 1px solid var(--border); }
.drawer-nav a {
  display: block; padding: 12px 4px; font-weight: 600; color: var(--text);
  white-space: nowrap;
}

/* --- Editorial-lead hero --------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--background) 100%);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: stretch;
  padding: clamp(28px, 5vw, 56px) 0;
}
.hero__chapter {
  background: var(--text);
  color: #fff;
  padding: 12px 16px;
  border-radius: 6px 6px 6px 0;
  display: inline-flex;
  align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  align-self: flex-start;
}
.hero__chapter::before { content: ''; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.hero__h { margin: 18px 0 14px; }
.hero__lede { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-soft); max-width: 56ch; }
.hero__meta { display: flex; gap: 18px; flex-wrap: wrap; margin: 14px 0 22px; font-size: 13px; color: var(--muted); }
.hero__meta b { color: var(--text); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow-lg);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media-cap {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(31, 48, 32, 0.86); color: #fff;
  padding: 10px 14px; border-radius: 10px;
  font-size: 12px; max-width: 80%;
  border-left: 3px solid var(--accent);
}

/* Side panel — captain pick rationale */
.captain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  margin-top: 18px;
}
.captain-card__head { display: flex; gap: 12px; align-items: center; }
.captain-card__avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface-3); overflow: hidden;
}
.captain-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.captain-card__name { font-weight: 700; }
.captain-card__role { font-size: 12px; color: var(--muted); }
.captain-card__why { font-size: 14px; color: var(--text-soft); margin: 12px 0 0; }
.captain-card__tag { display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--primary-deep); font-weight: 600; font-size: 12px; }

/* --- Buttons --------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  font-weight: 700; font-size: 14px; letter-spacing: .02em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none !important;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(176, 93, 0, 0.30); }
.btn--primary:hover { background: var(--accent-deep); box-shadow: 0 8px 22px rgba(176, 93, 0, 0.36); }
.btn--ghost { background: transparent; color: var(--primary-deep); border-color: var(--primary); }
.btn--ghost:hover { background: var(--primary); color: #fff; }
.btn--solid { background: var(--text); color: #fff; }
.btn--solid:hover { background: var(--primary-deep); }
.btn--lg { padding: 14px 28px; font-size: 15px; }
.btn--sm { padding: 8px 14px; font-size: 12px; }

/* --- Tonight's fixtures ledger --------------------------- */
.fixtures {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
.fixture-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr) 120px;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
}
.fixture-row__time { font-weight: 700; color: var(--primary-deep); font-size: 14px; }
.fixture-row__time small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.fixture-row__team { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.fixture-row__team img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.fixture-row__vs { color: var(--muted); font-weight: 600; font-size: 13px; text-align: center; }
.fixture-row__venue { font-size: 13px; color: var(--muted); }
.fixture-row__status {
  text-align: center;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--primary-deep);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
}
.fixture-row__status--live { background: var(--accent); color: #fff; }
.fixture-row__status--final { background: var(--text); color: #fff; }

/* --- Chapter rail (diagonal-media-crop) ----------------- */
.chapter-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}
.chapter-rail a {
  position: relative;
  display: block;
  padding: 22px 18px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-right: none;
  text-decoration: none !important;
  color: var(--text);
  min-height: 130px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  margin-right: -10px;
  transition: background .2s ease;
}
.chapter-rail a:last-child { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); margin-right: 0; border-right: 1px solid var(--border); }
.chapter-rail a:hover { background: var(--surface-2); }
.chapter-rail a:nth-child(odd) { background: var(--surface-2); }
.chapter-rail__icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--primary); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 14px;
  margin-bottom: 10px;
}
.chapter-rail a:nth-child(2) .chapter-rail__icon { background: var(--accent); }
.chapter-rail a:nth-child(3) .chapter-rail__icon { background: var(--primary-deep); }
.chapter-rail a:nth-child(4) .chapter-rail__icon { background: var(--accent-deep); }
.chapter-rail a:nth-child(5) .chapter-rail__icon { background: var(--text); }
.chapter-rail__label { font-weight: 700; font-size: 15px; }
.chapter-rail__sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* --- Compliance banner ----------------------------------- */
.compliance-banner {
  background: var(--text);
  color: #fff;
  padding: 14px 0;
  font-size: 13px;
}
.compliance-banner__inner { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: center; }
.compliance-banner__icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent);
  display: inline-grid; place-items: center;
  font-size: 14px; font-weight: 800;
}
.compliance-banner strong { color: #e89840; }

/* --- Match preview cards --------------------------------- */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.preview-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.preview-card__media { aspect-ratio: 16/10; overflow: hidden; }
.preview-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.preview-card:hover .preview-card__media img { transform: scale(1.04); }
.preview-card__body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.preview-card__chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary-deep);
  background: var(--surface-2);
  padding: 4px 10px; border-radius: var(--radius-pill);
  align-self: flex-start;
  margin-bottom: 10px;
}
.preview-card__title { font-size: 17px; margin-bottom: 8px; }
.preview-card__stats { display: flex; gap: 14px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.preview-card__stats div { display: flex; flex-direction: column; }
.preview-card__stats b { color: var(--text); font-size: 16px; font-family: var(--font-display); }
.preview-card__link { margin-top: auto; padding-top: 14px; }

/* --- Fantasy matrix table -------------------------------- */
.fantasy-matrix {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.fantasy-matrix__head {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr 1fr 0.8fr;
  gap: 12px;
  padding: 14px 18px;
  background: var(--text);
  color: #fff;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
}
.fantasy-matrix__row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr 1fr 0.8fr;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  align-items: center;
  font-size: 14px;
}
.fantasy-matrix__row:hover { background: var(--surface-2); }
.fantasy-matrix__player { display: flex; gap: 10px; align-items: center; }
.fantasy-matrix__player img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.fantasy-matrix__role {
  display: inline-block; padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--surface-2); color: var(--primary-deep);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
}
.fantasy-matrix__role--c { background: var(--accent); color: #fff; }
.fantasy-matrix__role--vc { background: var(--accent-deep); color: #fff; }
.fantasy-matrix__multiplier { font-weight: 800; color: var(--accent-deep); font-size: 18px; font-family: var(--font-display); }

/* --- Ticker / commentary rules --------------------------- */
.ticker-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 6px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.ticker-box ul { padding-left: 18px; margin: 0; }
.ticker-box li { margin-bottom: 8px; }
.ticker-box li::marker { color: var(--accent); font-weight: 800; }

/* --- Results ledger ------------------------------------- */
.results-table {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  border-collapse: collapse;
}
.results-table thead th {
  background: var(--text);
  color: #fff;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
  padding: 12px 14px; text-align: left;
}
.results-table tbody td {
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.results-table tbody tr:hover { background: var(--surface-2); }
.results-table .verified {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: var(--primary-deep);
}
.results-table .verified::before {
  content: '✓'; display: inline-grid; place-items: center;
  width: 18px; height: 18px; background: var(--primary); color: #fff; border-radius: 50%; font-size: 11px;
}

/* --- Expert panel voices --------------------------------- */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.expert-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.expert-card__head { display: flex; gap: 12px; align-items: center; }
.expert-card__avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--surface-3); }
.expert-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-card__name { font-weight: 700; }
.expert-card__role { font-size: 12px; color: var(--muted); }
.expert-card__quote {
  font-style: italic; color: var(--text-soft); border-left: 3px solid var(--accent);
  padding-left: 14px;
}
.expert-card__meta { font-size: 12px; color: var(--muted); margin-top: auto; }

/* --- State eligibility grid ------------------------------ */
.states-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.state-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.state-card__head { display: flex; gap: 10px; align-items: center; }
.state-card__code {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--surface-2); color: var(--primary-deep);
  display: grid; place-items: center;
  font-weight: 800; font-size: 13px; letter-spacing: -.02em;
}
.state-card__name { font-weight: 700; }
.state-card__status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700;
}
.state-card__status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; }
.state-card__status--ok::before { background: var(--primary); }
.state-card__status--no::before { background: var(--warning); }
.state-card__status--ok { color: var(--primary-deep); }
.state-card__status--no { color: var(--warning); }
.state-card__note { font-size: 12px; color: var(--muted); }

/* --- Reader letters & corrections ------------------------ */
.letters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.letter-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.letter-card__head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.letter-card__subject { font-weight: 700; }
.letter-card__body { font-size: 14px; color: var(--text-soft); }

/* --- Methodology colophon ------------------------------- */
.colophon {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.colophon__item { display: flex; flex-direction: column; gap: 4px; }
.colophon__item h4, .colophon__item h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; font-weight: 700; }
.colophon__item-h { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; font-weight: 700; }
.colophon__item p { font-size: 14px; margin: 0; }

/* --- Tabbed-comparison widget --------------------------- */
.tabs {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.tabs__bar {
  display: flex;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.tabs__bar button {
  flex: 1 1 0; min-width: 140px;
  background: transparent;
  border: none;
  padding: 14px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.tabs__bar button[aria-selected="true"] {
  color: var(--accent-deep);
  border-bottom-color: var(--accent);
  background: var(--surface);
}
.tabs__panel {
  padding: 22px;
  display: none;
}
.tabs__panel[data-active="true"] { display: block; }
.tabs__panel h3 { margin-top: 0; }
.tabs__panel ul { padding-left: 20px; }
.tabs__panel li { margin-bottom: 6px; }

/* --- Newsletter / cheat-sheet CTA ----------------------- */
.cta-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}
.cta-strip h2 { color: #fff; margin-bottom: 8px; }
.cta-strip p { color: rgba(255,255,255,.86); margin: 0; }
.cta-strip__form { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-strip__form input {
  flex: 1 1 220px;
  padding: 12px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.30);
  background: rgba(255,255,255,.10);
  color: #fff;
  font: inherit;
  min-width: 0;
}
.cta-strip__form input::placeholder { color: rgba(255,255,255,.65); }

/* --- Footer ---------------------------------------------- */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.86);
  padding: 56px 0 24px;
  margin-top: 56px;
}
.site-footer h4, .site-footer h3 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col__h { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin: 0 0 14px; font-weight: 700; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.72); }
.footer-brand .brand-mark__name { color: #fff; }
.footer-brand .brand-mark__tag { color: rgba(255,255,255,.55); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.78); font-size: 14px; }
.footer-col a:hover { color: var(--accent-soft); border-bottom-color: var(--accent-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 22px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,.6);
  flex-wrap: wrap;
}

/* --- Mobile sticky CTA bar ------------------------------ */
.mobile-sticky {
  display: none;
  position: fixed;
  left: 12px; right: 12px;
  bottom: 12px;
  z-index: 90;
  background: var(--text);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 12px 30px rgba(15, 23, 16, 0.30);
}
.mobile-sticky a {
  display: block;
  width: 100%;
  background: var(--accent);
  color: #fff;
  padding: 14px 18px;
  border-radius: 10px;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .04em;
  text-decoration: none !important;
  text-transform: uppercase;
}
.mobile-sticky a:hover { background: var(--accent-deep); }

/* --- Inline image row (content + visual interleaving) -- */
.inline-image-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin: 24px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}
.inline-image-row img { width: 100%; height: auto; border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; }
.inline-image-row figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* --- Card wrappers (data-card, step-card, loose-card) --- */
.data-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
}
.step-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}
.step-num {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--primary); color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
}
.loose-card {
  background: linear-gradient(135deg, rgba(44, 122, 54, 0.08) 0%, rgba(44, 122, 54, 0.02) 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 18px 0;
}
.loose-card h3 { margin-top: 0; }

/* --- FAQ ------------------------------------------------- */
.faq-grid { display: grid; gap: 12px; max-width: 900px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
.faq-item h3 { font-size: 17px; margin: 0 0 6px; }
.faq-item p { margin: 0; color: var(--text-soft); }

/* --- Article / hub page shell --------------------------- */
.article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 36px);
  max-width: 880px;
  margin: 0 auto;
}
.article h2 { margin-top: 28px; }
.article h3 { margin-top: 22px; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article__meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.article__hero { aspect-ratio: 16/8; overflow: hidden; border-radius: var(--radius-md); margin-bottom: 22px; }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }

.toc {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 18px 0 28px;
}
.toc h4 { margin: 0 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.toc ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; }
.toc li { margin-bottom: 4px; }
.toc a { color: var(--primary-deep); }

/* --- Related posts block -------------------------------- */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.related-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.related-card__media { aspect-ratio: 16/10; overflow: hidden; }
.related-card__media img { width: 100%; height: 100%; object-fit: cover; }
.related-card__body { padding: 14px; }
.related-card__title { font-size: 15px; margin: 0 0 4px; }
.related-card__date { font-size: 12px; color: var(--muted); }

/* --- Trust bar ------------------------------------------ */
.trust-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.trust-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: center; }
.trust-item { display: flex; gap: 12px; align-items: center; }
.trust-item__icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--surface-2); color: var(--primary-deep);
  display: grid; place-items: center;
  font-weight: 800;
}
.trust-item__label { font-size: 12px; color: var(--muted); }
.trust-item__value { font-weight: 700; font-size: 14px; }

/* --- Verified fact box ---------------------------------- */
.fact-box {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 20px 0;
}
.fact-box h4 { margin-top: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-deep); }
.fact-box ul { padding-left: 18px; margin: 0; }
.fact-box li { margin-bottom: 6px; font-size: 14px; }

/* --- Responsive ----------------------------------------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .chapter-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter-rail a { clip-path: none; margin-right: 0; border-right: 1px solid var(--border); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expert-grid, .letters { grid-template-columns: 1fr; }
  .states-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .colophon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .header-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 0 4px; }
  .header-nav { display: none; }
  .hamburger { display: block; }
  .brand-mark__tag { display: none; }
  .brand-mark { max-width: calc(100vw - 76px); }
  .hero { padding: 0; }
  .hero__inner { padding: 28px 0 36px; }
  .hero__h { font-size: 30px; }
  .hero__media { min-height: 220px; }
  .fixture-row { grid-template-columns: 1fr; gap: 6px; padding: 14px; }
  .fixture-row__vs { text-align: left; }
  .fixture-row__status { justify-self: flex-start; }
  .fantasy-matrix__head, .fantasy-matrix__row { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px; }
  .fantasy-matrix__head { display: none; }
  .fantasy-matrix__row > * { font-size: 13px; }
  .results-table thead { display: none; }
  .results-table tbody tr { display: block; padding: 12px 14px; border-top: 1px solid var(--border); }
  .results-table tbody td { display: flex; justify-content: space-between; padding: 6px 0; border: none; }
  .results-table tbody td::before { content: attr(data-label); font-size: 11px; text-transform: uppercase; color: var(--muted); font-weight: 700; letter-spacing: .06em; }
  .cta-strip { grid-template-columns: 1fr; }
  .cta-strip__form { flex-direction: column; align-items: stretch; }
  .cta-strip__form input { flex: 1 1 auto; width: 100%; }
  .inline-image-row { grid-template-columns: 1fr; }
  .toc ul { columns: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .mobile-sticky { display: block; }
  body { padding-bottom: 76px; }
  .masthead__right { display: none; }
}

@media (max-width: 430px) {
  .states-grid { grid-template-columns: 1fr; }
  .colophon { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  h1 { font-size: 28px; }
  .article { padding: 18px; }
}

/* --- Print ---------------------------------------------- */
@media print {
  .site-header, .mobile-sticky, .masthead, .site-footer, .cta-strip { display: none; }
}

/* --- Focus ring ----------------------------------------- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible, .tabs__bar button:focus-visible { outline-offset: 3px; }
