/* ============================================================
   11Wickets — Editorial Fantasy Cricket Research Desk
   Sunlit League palette | News Portal Layout 008
   Typography: Roboto + Noto Sans Devanagari (System 038)
   ============================================================ */

:root {
  --primary: #176A9E;
  --primary-deep: #0F4E76;
  --primary-soft: #E8F1F8;
  --accent: #D17A00;
  --accent-strong: #A35800;
  --accent-soft: #FFEFD8;
  --background: #FFFBEF;
  --surface: #FFFFFF;
  --surface-2: #FFF0C8;
  --surface-3: #F7EFD6;
  --ink: #1D2A36;
  --ink-soft: #3A4856;
  --muted: #5E6871;
  --border: #ECD9A7;
  --border-soft: #F2E4C1;
  --success: #2C7A3E;
  --danger: #B83227;
  --gold: #B8860B;
  --gold-soft: #FAEBC8;
  --shadow-sm: 0 1px 2px rgba(29,42,54,0.06);
  --shadow-md: 0 6px 18px rgba(29,42,54,0.08);
  --shadow-lg: 0 14px 40px rgba(29,42,54,0.10);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 56px;
  --space-10: 72px;
  --container: 1240px;
  --container-narrow: 920px;
  --font-display: 'Roboto', 'Noto Sans Devanagari', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-body: 'Roboto', 'Noto Sans Devanagari', system-ui, -apple-system, Segoe UI, sans-serif;
  --transition: 220ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { max-width: 100%; display: block; height: auto; }
a { color: var(--primary-deep); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 var(--space-4);
  letter-spacing: -0.01em;
  font-weight: 700;
}
h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: clamp(22px, 2.6vw, 28px); }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
p { margin: 0 0 var(--space-4); }
ul, ol { padding-left: 22px; margin: 0 0 var(--space-4); }
li { margin-bottom: 6px; }
hr { border: none; border-top: 1px solid var(--border); margin: var(--space-7) 0; }
small { font-size: 14px; color: var(--muted); }
strong { color: var(--ink); }
code, kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--surface-3);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  color: var(--ink);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--primary-deep);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 239, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: 14px 20px;
  max-width: var(--container);
  margin: 0 auto;
  min-width: 0;
}
.site-header__inner > * { min-width: 0; flex-shrink: 1; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-md);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.brand-tag {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Primary nav (desktop) */
.main-nav {
  display: none;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  max-width: 100%;
}
.main-nav a {
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-soft);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.main-nav a:hover { background: var(--surface-3); color: var(--primary-deep); }
.main-nav a.cta-link {
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  font-weight: 600;
}
.main-nav a.cta-link:hover { background: var(--primary-deep); color: #fff; }
.main-nav a.cta-ghost {
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 9px 16px;
}
.main-nav a.cta-ghost:hover { border-color: var(--accent); color: var(--accent); }

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.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 */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--background);
  padding: 80px 20px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 280ms ease;
}
.mobile-drawer[data-open="true"] { transform: translateX(0); }
.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-drawer nav a {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-drawer nav a:hover { color: var(--accent); }
.mobile-drawer .drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Top ticker (signature device) ---------- */
.ticker {
  background: var(--primary-deep);
  color: #fff;
  font-size: 13px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ticker__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
  max-width: var(--container);
  margin: 0 auto;
}
.ticker__label {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker__track {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}
.ticker__items {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: ticker-scroll 45s linear infinite;
  width: max-content;
}
.ticker__items span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ticker__items span::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  font-family: var(--font-body);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--primary-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--accent {
  background: var(--accent);
  color: #fff;
}
.btn--accent:hover { background: #B66900; color: #fff; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--soft {
  background: var(--primary-soft);
  color: var(--primary-deep);
}
.btn--soft:hover { background: var(--surface-3); color: var(--primary-deep); }
.btn--lg { padding: 18px 32px; font-size: 17px; }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--full { width: 100%; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
  padding: 18px 0;
}
.trust-strip__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  align-items: center;
  text-align: center;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}
.trust-strip__item .ico {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--primary);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
  background: linear-gradient(135deg, #FFFBEF 0%, #FFF0C8 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}
.hero__copy {
  position: relative;
  z-index: 2;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-4);
}
.hero__eyebrow .dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  margin-bottom: var(--space-5);
  color: var(--ink);
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  max-width: 56ch;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
}
.hero__proof {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.hero__proof span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero__proof span::before {
  content: '';
  width: 14px;
  height: 14px;
  background: var(--success);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpath d='M5 12l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpath d='M5 12l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hero__visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4;
  background: var(--surface);
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__visual-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(15,78,118,0.92), transparent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
.hero__visual-caption strong { color: #fff; font-weight: 700; }

/* ---------- Section base ---------- */
.section {
  padding: clamp(48px, 7vw, 88px) 0;
}
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--band {
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.section--tinted {
  background: var(--surface-3);
}
.section--ink {
  background: var(--ink);
  color: #fff;
}
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: rgba(255,255,255,0.85); }

.section-head {
  margin-bottom: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.section-head__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.section-head h2 {
  max-width: 28ch;
  margin: 0;
}
.section-head p {
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0;
  font-size: 17px;
}
.section-head--center {
  text-align: center;
  align-items: center;
}
.section-head--center h2,
.section-head--center p {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Hub Grid (chapter navigator) ---------- */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}
.hub-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}
.hub-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.hub-card__icon {
  width: 44px;
  height: 44px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.hub-card__icon svg { width: 22px; height: 22px; }
.hub-card h3 {
  font-size: 18px;
  margin: 0;
  color: var(--ink);
}
.hub-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.hub-card__arrow {
  margin-top: auto;
  font-size: 13px;
  color: var(--accent-strong);
  font-weight: 600;
}

/* ---------- Two-up / Split axis ---------- */
.split-axis {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
.split-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.split-card__num {
  width: 38px;
  height: 38px;
  background: var(--accent-strong);
  color: #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.split-card h3 {
  margin: 0;
  font-size: 22px;
}
.split-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}
.split-card ul {
  margin: 8px 0 0;
  padding-left: 20px;
}
.split-card ul li { font-size: 15px; color: var(--ink-soft); }

/* ---------- Article / Insight cards ---------- */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}
.insight-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.insight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.insight-card__media {
  aspect-ratio: 16 / 10;
  background: var(--surface-3);
  overflow: hidden;
  position: relative;
}
.insight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}
.insight-card:hover .insight-card__media img { transform: scale(1.04); }
.insight-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15,78,118,0.92);
  color: #fff;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.insight-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.insight-card__meta {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.insight-card h3 {
  font-size: 19px;
  margin: 0;
  line-height: 1.35;
}
.insight-card h3 a {
  color: var(--ink);
}
.insight-card h3 a:hover { color: var(--primary-deep); }
.insight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
}
.insight-card__cta {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-strong);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Editorial list (questions desk) ---------- */
.qna-list {
  display: grid;
  gap: var(--space-3);
}
.qna-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color var(--transition);
}
.qna-item:hover { border-color: var(--accent); }
.qna-item h3 {
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--primary-deep);
}
.qna-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---------- Reference ledger (data table) ---------- */
.ledger {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ledger__head {
  padding: 20px 24px;
  background: var(--surface-3);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.ledger__head h3 {
  margin: 0;
  font-size: 20px;
}
.ledger__head .stamp {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.ledger table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.ledger th, .ledger td {
  padding: 14px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}
.ledger th {
  background: var(--surface-2);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.ledger td {
  color: var(--ink-soft);
}
.ledger tr:last-child td { border-bottom: none; }
.ledger .num {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink);
}
.ledger .pos { color: var(--success); font-weight: 700; }
.ledger .neg { color: var(--danger); font-weight: 700; }
.ledger__foot {
  padding: 16px 24px;
  background: var(--surface-3);
  font-size: 13px;
  color: var(--muted);
}
.ledger__foot a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Field guide (numbered visual steps) ---------- */
.field-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-5);
}
.field-step {
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  position: relative;
}
.field-step__num {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  box-shadow: var(--shadow-md);
}
.field-step h3 {
  margin: 8px 0 8px;
  font-size: 17px;
}
.field-step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- CTA Panel (next step) ---------- */
.cta-panel {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px);
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255,200,80,0.18), transparent 60%);
  pointer-events: none;
}
.cta-panel h2 {
  color: #fff;
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-4);
}
.cta-panel p {
  color: rgba(255,255,255,0.92);
  font-size: 18px;
  margin: 0 auto var(--space-6);
  max-width: 56ch;
  position: relative;
  z-index: 1;
}
.cta-panel .btn-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}
.cta-panel .btn--accent { background: var(--accent); color: #fff; }
.cta-panel .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.cta-panel .btn--ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ---------- Responsible play note ---------- */
.compliance-note {
  display: flex;
  gap: 14px;
  padding: 18px 22px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.compliance-note .ico {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--accent);
}
.compliance-note strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  padding: var(--space-9) 0 var(--space-7);
  font-size: 15px;
}
.site-footer a {
  color: rgba(255,255,255,0.85);
}
.site-footer a:hover { color: #fff; }
.site-footer h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 var(--space-4);
  font-weight: 700;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: var(--space-3) 0 0;
  max-width: 32ch;
  line-height: 1.55;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-col li { margin: 0; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}
.footer-col h3 {
  margin: 0 0 var(--space-3);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFB870;
}
.footer-bottom {
  padding-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.footer-disclosure {
  max-width: 64ch;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  padding: var(--space-4) 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: var(--space-5);
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 12px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.32);
  transform: translateY(120%);
  transition: transform 320ms ease;
}
.sticky-cta[data-visible="true"] { transform: translateY(0); }
.sticky-cta__copy {
  font-size: 13px;
  line-height: 1.35;
  flex: 1;
}
.sticky-cta__copy strong { color: #fff; font-weight: 700; display: block; }
.sticky-cta__copy small { color: rgba(255,255,255,0.92); font-size: 11px; }
.sticky-cta__action {
  flex-shrink: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sticky-cta__action:hover { background: #B66900; color: #fff; }

/* ---------- Editorial helpers ---------- */
.lead {
  font-size: clamp(18px, 1.8vw, 21px);
  color: var(--ink-soft);
  line-height: 1.6;
  border-left: 4px solid var(--accent);
  padding-left: var(--space-5);
  margin: var(--space-6) 0;
  font-weight: 400;
}
.callout {
  background: var(--surface-3);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: var(--space-6) 0;
  border: 1px solid var(--border-soft);
}
.callout h4 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--primary-deep);
}
.callout p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.faq-grid {
  display: grid;
  gap: var(--space-3);
}
.faq {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.faq h3 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--primary-deep);
}
.faq p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

/* ---------- Article page ---------- */
.article-hero {
  background: linear-gradient(135deg, #FFF0C8 0%, #FFFBEF 100%);
  padding: var(--space-9) 0 var(--space-7);
  border-bottom: 1px solid var(--border-soft);
}
.article-hero__crumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: var(--space-4);
}
.article-hero__crumbs a { color: var(--primary-deep); }
.article-hero h1 {
  max-width: 22ch;
  margin-bottom: var(--space-4);
}
.article-hero__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.article-hero__meta .verified {
  color: var(--success);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.article-body {
  padding: var(--space-8) 0;
}
.article-body p, .article-body li {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.article-body h2 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  font-size: clamp(24px, 2.8vw, 32px);
  color: var(--ink);
}
.article-body h3 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  font-size: 21px;
  color: var(--ink);
}
.article-body img.full {
  width: 100%;
  border-radius: var(--radius-lg);
  margin: var(--space-6) 0;
}
.article-body .inline-img {
  width: 100%;
  border-radius: var(--radius);
  margin: var(--space-6) 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.article-body figure {
  margin: var(--space-7) 0;
}
.article-body figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
  font-style: italic;
}
.toc {
  background: var(--surface-3);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: var(--space-7) 0;
  border: 1px solid var(--border-soft);
}
.toc h4 {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-deep);
}
.toc ol {
  margin: 0;
  padding-left: 20px;
}
.toc a {
  color: var(--ink-soft);
  font-size: 15px;
}
.toc a:hover { color: var(--accent); }

/* ---------- Breadcrumb ---------- */
.crumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: var(--space-3);
}
.crumbs a { color: var(--primary-deep); }
.crumbs span { color: var(--muted); margin: 0 6px; }

/* ---------- Pagination / page nav ---------- */
.section-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: var(--space-7) 0;
}
.section-nav a {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.section-nav a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-9);
  }
  .split-axis {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}
@media (min-width: 960px) {
  .main-nav { display: flex; }
  .hamburger { display: none; }
  .article-body {
    padding: var(--space-9) 0;
  }
}
@media (min-width: 1024px) {
  .hero {
    padding: 80px 0 100px;
  }
}
@media (max-width: 959px) {
  .sticky-cta { display: flex; transform: none; }
  .sticky-cta[data-visible="false"] { transform: none; }
  body { padding-bottom: 92px; }
}
@media (max-width: 720px) {
  .hero {
    padding: 36px 0 56px;
  }
  .hero__visual {
    aspect-ratio: 4 / 3;
  }
  .section-nav a {
    font-size: 13px;
    padding: 8px 14px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  body {
    font-size: 16px;
  }
  .article-body p, .article-body li {
    font-size: 16px;
  }
}
@media (max-width: 959px) {
  .site-header__inner { gap: var(--space-3); padding: 12px 16px; }
}
@media (max-width: 540px) {
  .site-header__inner { gap: 10px; padding: 10px 14px; }
  .brand-tag { display: none; }
  .brand-name { font-size: 19px; }
  .header-cta-affiliate { padding: 7px 12px; font-size: 12px; letter-spacing: 0.03em; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .cta-panel .btn-row .btn { flex: 1 1 100%; }
}
@media (max-width: 380px) {
  .brand-mark { width: 38px; height: 38px; font-size: 16px; }
  .brand-name { font-size: 17px; }
  .header-cta-affiliate { padding: 6px 10px; font-size: 11px; letter-spacing: 0.02em; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .sticky-cta, .ticker, .hamburger, .mobile-drawer { display: none; }
  body { background: #fff; color: #000; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-5 { margin-top: var(--space-5); }
.mt-7 { margin-top: var(--space-7); }
.no-wrap { white-space: nowrap; }
.hidden { display: none !important; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ---------- Grid safety (CSS Grid min-width: 0) ---------- */
.hub-grid > *, .insight-grid > *, .field-guide > *, .footer-grid > *, .footer-col ul {
  min-width: 0;
}

/* Body-copy prose (single rule for color + link contrast under WCAG AA) */
.callout p, .callout li,
.compliance-note p, .compliance-note li,
.qna-item p,
.ledger__head .stamp,
.ledger__foot,
.ledger__foot a { color: var(--ink); }
.callout p a, .callout li a,
.compliance-note p a, .compliance-note li a,
.qna-item p a,
.ledger__head .stamp a,
.ledger__foot a {
  color: var(--primary-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: var(--space-4);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
}
.badge .dot {
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
}

/* ---------- Header CTA ghost button on mobile ---------- */
@media (max-width: 959px) {
  .header-right .header-cta-ghost { display: none; }
}

/* ---------- Mobile affiliate CTA in site header ---------- */
.header-cta-affiliate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.header-cta-affiliate:hover { background: #B66900; color: #fff; }
@media (min-width: 960px) {
  .header-cta-affiliate { display: none; }
}

/* ---------- Contract mobile affiliate CTA (320-430px) ---------- */
.contract-affiliate-cta {
  display: none;
}
@media (max-width: 480px) {
  .contract-affiliate-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 24px);
    margin: 8px 12px 0;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.22);
    min-height: 44px;
  }
  .contract-affiliate-cta:hover { background: #B66900; color: #fff; }
  .contract-affiliate-cta:focus-visible {
    outline: 3px solid #ffd089;
    outline-offset: 2px;
  }
}

/* ---------- Make sure scroll-margin works for anchored sections ---------- */
section[id], h2[id], h3[id] {
  scroll-margin-top: 90px;
}
