/* parimatchzone.com — Lilac Research style system
   Palette: #6657D9 primary, #D94F8A accent, F8F6FF background
   Typography: DM Sans + Noto Sans Devanagari fallback
   Visual contract: light dominant, no section flips, single accent
*/

:root {
  --primary: #6657D9;
  --primary-strong: #5046c0;
  --accent: #D94F8A;
  --accent-strong: #b73c72;
  --background: #F8F6FF;
  --surface: #FFFFFF;
  --surface-2: #ECE8FF;
  --surface-3: #F1EDFF;
  --text: #24203D;
  --text-strong: #181533;
  --muted: #68627E;
  --muted-2: #8A85A2;
  --border: #D8D0FA;
  --border-2: #B8AEEE;
  --ink: #11102A;
  --rose-tint: rgba(217, 79, 138, 0.10);
  --lilac-tint: rgba(102, 87, 217, 0.10);
  --shadow-card: 0 1px 2px rgba(36, 32, 61, 0.04), 0 6px 18px rgba(36, 32, 61, 0.06);
  --shadow-elev: 0 4px 12px rgba(36, 32, 61, 0.08), 0 16px 36px rgba(36, 32, 61, 0.08);
  --radius-card: 14px;
  --radius-pill: 999px;
  --radius-soft: 8px;
  --max-width: 1240px;
  --reading-width: 720px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "DM Sans", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--background);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga", "ss01";
}

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

a {
  color: var(--primary);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  color: var(--text-strong);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.18;
  margin: 0 0 0.4em;
}

h1 {
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 600;
}

h4 {
  font-size: 18px;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

li {
  margin: 0.25em 0;
}

/* small caps eyebrow — used sparingly, max 1 in 3 sections */
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--primary);
  display: inline-block;
  margin-bottom: 0.6em;
}

.eyebrow.alt {
  color: var(--accent);
}

/* Utility container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 720px) {
  .container {
    padding: 0 18px;
  }
}

/* ============ Skip link ============ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: -9999px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  background: var(--primary);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 999;
}

/* ============ Compliance strip ============ */
.compliance-strip {
  background: var(--ink);
  color: #ECE8FF;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.compliance-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.compliance-strip a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.4);
}

.compliance-strip .age-pill {
  border: 1px solid rgba(255,255,255,0.4);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============ Header / utility bar ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248, 246, 255, 0.94);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.utility-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text-strong);
  text-decoration: none;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
  color: var(--primary);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

.brand-tag {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 4px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-strong);
  border-radius: 8px;
  text-decoration: none;
}

.primary-nav a:hover {
  background: var(--surface-2);
  color: var(--primary-strong);
  text-decoration: none;
}

.primary-nav a.cta {
  background: var(--primary);
  color: #fff;
  margin-left: 6px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.primary-nav a.cta:hover {
  background: var(--primary-strong);
  text-decoration: none;
}

.primary-nav a.cta-soft {
  background: var(--surface-2);
  color: var(--primary-strong);
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.primary-nav a.cta-soft:hover {
  background: var(--border);
}

/* hamburger (mobile only) */
.hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 80;
}

.hamburger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--text-strong);
  border-radius: 2px;
}

.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }

.hamburger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--background);
  z-index: 70;
  padding: 84px 24px 24px;
  overflow-y: auto;
  border-top: 1px solid var(--border);
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-drawer nav a {
  display: block;
  padding: 14px 12px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-strong);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.mobile-drawer nav a.cta {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-pill);
  text-align: center;
  margin-top: 16px;
  border-bottom: none;
  font-weight: 600;
}

.mobile-drawer nav a.cta-soft {
  background: var(--surface-2);
  color: var(--primary-strong);
  border-radius: var(--radius-pill);
  text-align: center;
  margin-top: 8px;
  border-bottom: none;
  font-weight: 600;
}

@media (max-width: 980px) {
  .primary-nav { display: none; }
  .hamburger { display: inline-block; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-strong); color: #fff; }

.btn-soft {
  background: var(--surface-2);
  color: var(--primary-strong);
}
.btn-soft:hover { background: var(--border); color: var(--primary-strong); }

.btn-outline {
  background: transparent;
  color: var(--text-strong);
  border-color: var(--border-2);
}
.btn-outline:hover { background: var(--surface-2); color: var(--primary-strong); }

.btn-rose {
  background: var(--accent);
  color: #fff;
}
.btn-rose:hover { background: var(--accent-strong); color: #fff; }

/* ============ Hero (asymmetric split) ============ */
.hero {
  padding: 64px 0 56px;
  background: linear-gradient(180deg, var(--background) 0%, var(--surface-3) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero { padding: 36px 0 28px; }
}

.hero-copy h1 {
  margin-top: 6px;
  margin-bottom: 18px;
}

.hero-lede {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 22px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.hero-trust {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  display: inline-block;
}

.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-elev);
  background: var(--surface);
  border: 1px solid var(--border);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}

.hero-ledger {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  backdrop-filter: blur(4px);
}

.hero-ledger .row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  padding: 5px 0;
}
.hero-ledger .row:last-child { border-bottom: none; }
.hero-ledger .row strong {
  color: var(--primary-strong);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.hero-ledger .heading {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
  margin-bottom: 6px;
  font-weight: 600;
}

/* ============ Story rail ============ */
.story-rail {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.story-rail h2 {
  margin-bottom: 22px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 880px) {
  .story-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .story-grid { grid-template-columns: 1fr; }
}

.story-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.story-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-elev);
  text-decoration: none;
}

.story-card .img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 320ms ease;
}
.story-card:hover img {
  transform: scale(1.02);
}

.story-card .meta {
  font-size: 12px;
  color: var(--muted);
  margin: 14px 16px 4px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.story-card .meta .category {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
}

.story-card h3 {
  margin: 0 16px 8px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--text-strong);
}

.story-card p {
  margin: 0 16px 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ============ Key takeaways grid (numbered marginalia) ============ */
.takeaways {
  padding: 56px 0;
  background: var(--background);
}

.takeaways h2 {
  max-width: 720px;
  margin-bottom: 8px;
}

.takeaways .lede {
  max-width: 60ch;
  color: var(--muted);
  margin-bottom: 28px;
}

.takeaway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 880px) {
  .takeaway-grid { grid-template-columns: 1fr; }
}

.takeaway {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  position: relative;
}

.takeaway .num {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.takeaway h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--text-strong);
}

.takeaway p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============ Key takeaways — homepage numbered grid + image wrap ============ */
.key-takeaways {
  padding: 56px 0;
  background: var(--background);
}

.key-takeaways h2 {
  max-width: 720px;
  margin-bottom: 8px;
}

.key-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
@media (max-width: 880px) {
  .key-grid { grid-template-columns: 1fr; }
}

.key-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  position: relative;
}

.key-card .key-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--rose-tint);
  color: var(--accent-strong);
  font-size: 18px;
  line-height: 1;
  margin-bottom: 12px;
}

.key-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--text-strong);
}

.key-card p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.key-image-wrap {
  margin-top: 24px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.key-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ============ Toolkit shelf — homepage chip-card grid ============ */
.toolkit-shelf {
  padding: 56px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.toolkit-shelf h2 {
  margin-bottom: 24px;
}

.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 880px) {
  .toolkit-grid { grid-template-columns: 1fr; }
}

.toolkit-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.toolkit-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.toolkit-card h3 {
  margin: 16px 20px 8px;
  font-size: 18px;
  color: var(--text-strong);
}

.toolkit-card p {
  margin: 0 20px 20px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

/* ============ Alternating analysis ============ */
.analysis {
  padding: 56px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.analysis .alt-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.analysis .alt-row:last-child { margin-bottom: 0; }
.analysis .alt-row.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.analysis .alt-row.reverse .text { order: 2; }
.analysis .alt-row.reverse .img  { order: 1; }

@media (max-width: 880px) {
  .analysis .alt-row,
  .analysis .alt-row.reverse {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .analysis .alt-row.reverse .text { order: 2; }
  .analysis .alt-row.reverse .img  { order: 1; }
}

.analysis .img {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.analysis .img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.analysis .text h2 {
  margin-bottom: 12px;
}

.analysis .text p {
  color: var(--muted);
  line-height: 1.7;
}

.analysis .pull {
  font-size: 14px;
  color: var(--accent-strong);
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 14px;
  margin: 16px 0;
  font-weight: 500;
}

/* ============ Annotated ledger (signature) ============ */
.ledger {
  padding: 60px 0;
  background: var(--background);
}

.ledger h2 {
  max-width: 720px;
}

.ledger-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  margin-top: 28px;
  align-items: stretch;
}
@media (max-width: 880px) {
  .ledger-grid { grid-template-columns: 1fr; gap: 18px; }
}

.ledger-image {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.ledger-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.ledger-marks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ledger-marks .mark {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--accent);
  border-radius: 4px;
  background: rgba(255,255,255,0.0);
}
.ledger-marks .mark::before,
.ledger-marks .mark::after {
  content: "";
  position: absolute;
  background: var(--accent);
}
.ledger-marks .mark::before { top: 14px; left: -24px; width: 22px; height: 1.5px; }
.ledger-marks .mark::after  { top: 14px; left: -22px; width: 6px; height: 1.5px; }
.ledger-marks .mark .label {
  position: absolute;
  left: 36px;
  top: 6px;
  white-space: nowrap;
  background: rgba(255,255,255,0.96);
  color: var(--text-strong);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ledger-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  overflow-x: auto;
}

.ledger-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.ledger-table caption {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
  font-weight: 600;
  padding-bottom: 12px;
}

.ledger-table th, .ledger-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-variant-numeric: tabular-nums;
}
.ledger-table th {
  font-weight: 600;
  color: var(--text-strong);
  font-size: 13px;
}
.ledger-table td {
  color: var(--muted);
}
.ledger-table tr:last-child td,
.ledger-table tr:last-child th { border-bottom: none; }
.ledger-table td .num { color: var(--primary-strong); font-weight: 600; }

/* ============ Rules inventory (vertical rule stack) ============ */
.rules-inventory {
  padding: 56px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}
@media (max-width: 720px) {
  .rules-grid { grid-template-columns: 1fr; }
}

.rule-card {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
}

.rule-card .rule-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  width: 38px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  border-right: 1px solid var(--border);
  padding-right: 14px;
  text-align: center;
}

.rule-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.rule-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ============ Expert voices (inline pull quotes) ============ */
.expert-voices {
  padding: 56px 0;
  background: var(--surface-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.expert-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 880px) {
  .expert-grid { grid-template-columns: 1fr; }
}

.expert-lede h2 { margin-bottom: 14px; }
.expert-lede p {
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 14px;
}

.voice-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  margin-bottom: 16px;
}
.voice-block.rose {
  border-left-color: var(--accent);
}
.voice-block .quote {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 10px;
}
.voice-block .attr {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.voice-block .attr .role {
  font-weight: 400;
  color: var(--muted-2);
}

/* ============ Toolkit shelf (chip rail) ============ */
.toolkit {
  padding: 56px 0;
  background: var(--background);
}

.toolkit h2 {
  margin-bottom: 8px;
}

.toolkit .lede {
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 24px;
}

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

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--primary-strong);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.chip:hover {
  background: var(--surface-2);
  border-color: var(--primary);
  text-decoration: none;
}

.chip .swatch {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  display: inline-block;
}

.chip.rose {
  color: var(--accent-strong);
  border-color: var(--border);
}
.chip.rose .swatch { background: var(--accent); }
.chip.rose:hover { background: var(--rose-tint); border-color: var(--accent); }

/* ============ Odds & mechanics (annotated table) ============ */
.odds {
  padding: 56px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.odds-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: start;
}
@media (max-width: 880px) {
  .odds-grid { grid-template-columns: 1fr; }
}

.odds .odds-text h2 { margin-bottom: 14px; }
.odds .odds-text p { color: var(--muted); }

.odds-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
}

.odds-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.odds-table th, .odds-table td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--border);
}
.odds-table th {
  font-weight: 600;
  color: var(--text-strong);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.odds-table td .bar {
  display: inline-block;
  height: 6px;
  background: var(--primary);
  border-radius: 3px;
  vertical-align: middle;
  margin-right: 8px;
}
.odds-table td .bar.rose { background: var(--accent); }

/* ============ Comparison ledger ============ */
.comparison {
  padding: 56px 0;
  background: var(--background);
}

.comparison h2 {
  margin-bottom: 14px;
}

.comparison-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  overflow-x: auto;
  margin-top: 20px;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table th,
.comparison-table td {
  text-align: left;
  padding: 14px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.comparison-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  font-weight: 600;
}

.comparison-table td {
  color: var(--text);
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table .pos { color: #2f7c52; font-weight: 600; }
.comparison-table .neg { color: #b14949; font-weight: 600; }
.comparison-table .neutral { color: var(--muted); }

/* ============ Platform usability (image + text split) ============ */
.platform {
  padding: 56px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.platform .split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: start;
}
@media (max-width: 880px) {
  .platform .split { grid-template-columns: 1fr; }
}

.platform .img {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.platform .img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.platform .bullets {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.platform .bullets li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.platform .bullets li:last-child { border-bottom: none; }
.platform .bullets .label {
  font-weight: 700;
  color: var(--primary-strong);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-top: 1px;
}

/* ============ Payment & verification ============ */
.payments {
  padding: 56px 0;
  background: var(--background);
}

.payments .lede {
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 24px;
}

.pay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 880px) {
  .pay-grid { grid-template-columns: 1fr; }
}

.pay-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
}

.pay-card .pay-name {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--text-strong);
}

.pay-card .pay-meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.pay-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.pay-card .pay-status {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

/* ============ Strategy boundaries ============ */
.strategy {
  padding: 56px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.strategy .split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}
@media (max-width: 880px) {
  .strategy .split { grid-template-columns: 1fr; }
}

.strategy .img {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.strategy .img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.strategy ol {
  padding-left: 0;
  list-style: none;
  counter-reset: strat;
  margin: 16px 0 0;
}
.strategy ol li {
  counter-increment: strat;
  padding: 14px 0 14px 48px;
  border-bottom: 1px solid var(--border);
  position: relative;
  color: var(--text);
}
.strategy ol li::before {
  content: counter(strat, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.strategy ol li:last-child { border-bottom: none; }
.strategy ol li strong {
  display: block;
  color: var(--text-strong);
  font-weight: 600;
  margin-bottom: 2px;
}
.strategy ol li span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* ============ Fresh reporting (card feed) ============ */
.feed {
  padding: 56px 0;
  background: var(--background);
}

.feed .meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}
.feed .meta-strip strong {
  color: var(--text-strong);
  font-weight: 600;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 880px) {
  .feed-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .feed-grid { grid-template-columns: 1fr; }
}

.feed-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.feed-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-elev);
  transform: translateY(-2px);
  text-decoration: none;
}

.feed-card .img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.feed-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

.feed-card .body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.feed-card .cat {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 6px;
}
.feed-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.3;
}
.feed-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 14px;
}
.feed-card .when {
  margin-top: auto;
  font-size: 12px;
  color: var(--muted-2);
}

/* ============ Responsible play ledger ============ */
.responsible {
  padding: 56px 0;
  background: var(--surface-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.responsible .split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: start;
}
@media (max-width: 880px) {
  .responsible .split { grid-template-columns: 1fr; }
}

.responsible .img {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.responsible .img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.responsible .checks {
  list-style: none;
  padding: 0;
  margin: 0;
}
.responsible .checks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.responsible .checks li:last-child { border-bottom: none; }
.responsible .checks .glyph {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}
.responsible .checks strong {
  display: block;
  color: var(--text-strong);
  margin-bottom: 2px;
}
.responsible .checks span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ============ FAQ accordion ============ */
.faq {
  padding: 56px 0;
  background: var(--background);
}

.faq h2 { margin-bottom: 8px; }
.faq .lede { color: var(--muted); max-width: 60ch; margin-bottom: 24px; }

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  margin-bottom: 10px;
  padding: 0;
  overflow: hidden;
}
.faq details[open] { border-color: var(--primary); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-weight: 600;
  color: var(--text-strong);
  font-size: 16px;
  position: relative;
  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: 500;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
  transition: transform 200ms ease;
}
.faq details[open] summary::after {
  content: "−";
}
.faq details .answer {
  padding: 0 20px 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* ============ Audit transparency ============ */
.audit {
  padding: 56px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.audit h2 { margin-bottom: 8px; }
.audit .lede { color: var(--muted); max-width: 60ch; margin-bottom: 24px; }

.audit-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  overflow-x: auto;
}

.audit-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.audit-table th, .audit-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.audit-table th {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}
.audit-table tr:last-child td,
.audit-table tr:last-child th { border-bottom: none; }

/* ============ Final CTA band ============ */
.cta-band {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; font-size: clamp(28px, 2.8vw, 40px); }
.cta-band p { color: rgba(255,255,255,0.92); max-width: 60ch; margin: 0 auto 22px; }
.cta-band .cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--primary-strong);
}
.cta-band .btn-primary:hover {
  background: #ECE8FF;
  color: var(--primary-strong);
}
.cta-band .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.cta-band .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  padding: 56px 0 28px;
}
.site-footer h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid li {
  margin: 0;
  padding: 4px 0;
  font-size: 14px;
}
.footer-grid a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
}
.footer-grid a:hover { color: #fff; text-decoration: underline; }

.site-footer .brand-block p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  max-width: 36ch;
  margin-bottom: 18px;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.social-row a:hover { background: rgba(255,255,255,0.1); text-decoration: none; }

.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

/* ============ Mobile sticky CTA bar ============ */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: none;
}

.mobile-sticky-cta .btn {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 700;
}

.mobile-sticky-cta .small-note {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 6px;
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .mobile-sticky-cta { display: block; }
  /* offset page bottom padding so content isn't covered */
  body { padding-bottom: 78px; }
}

/* ============ Article reading styles ============ */
.article-hero {
  padding: 56px 0 28px;
  background: linear-gradient(180deg, var(--background) 0%, var(--surface-3) 100%);
  border-bottom: 1px solid var(--border);
}
.article-hero .meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.article-hero .meta .cat {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
}
.article-hero h1 {
  font-size: clamp(32px, 4vw, 50px);
  max-width: 22ch;
  margin-bottom: 14px;
}
.article-hero .standfirst {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.6;
  margin: 0;
}

.article-hero img {
  width: 100%;
  border-radius: 18px;
  margin-top: 28px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--border);
}

.article-body {
  padding: 48px 0 64px;
  background: var(--background);
}

.article-body .inner {
  max-width: var(--reading-width);
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}

.article-body h2 {
  margin-top: 1.6em;
  margin-bottom: 0.4em;
  font-size: clamp(22px, 2vw, 30px);
}

.article-body h3 {
  margin-top: 1.4em;
  margin-bottom: 0.3em;
  font-size: clamp(18px, 1.6vw, 22px);
}

.article-body p {
  margin-bottom: 1em;
  color: var(--text);
}

.article-body figure {
  margin: 28px -40px;
}
@media (max-width: 720px) {
  .article-body figure { margin: 24px 0; }
}
.article-body figure img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.article-body figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  text-align: left;
}

.article-body ul, .article-body ol {
  padding-left: 1.4em;
  margin: 0 0 1em;
}
.article-body li {
  margin: 0.4em 0;
}

.article-body blockquote {
  border-left: 4px solid var(--accent);
  margin: 24px 0;
  padding: 4px 18px;
  font-style: normal;
  color: var(--text-strong);
  font-size: 18px;
  background: var(--surface-2);
  border-radius: 6px;
}

.article-body blockquote cite {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  font-style: normal;
}

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  margin: 24px 0;
}

.toc h4 {
  margin-top: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.toc ol {
  padding-left: 1.4em;
  margin: 0;
}
.toc li { margin: 0.3em 0; font-size: 14px; }
.toc a { color: var(--text); }
.toc a:hover { color: var(--primary); }

.related-rail {
  padding: 48px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 720px) { .related-grid { grid-template-columns: 1fr; } }

.related-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 220ms ease, transform 220ms ease;
}
.related-card:hover { border-color: var(--primary); transform: translateY(-2px); text-decoration: none; }
.related-card .img-wrap { aspect-ratio: 16 / 10; overflow: hidden; }
.related-card img { width: 100%; height: 100%; object-fit: cover; }
.related-card h3 { margin: 12px 16px 8px; font-size: 16px; }
.related-card p { margin: 0 16px 16px; font-size: 13px; color: var(--muted); }

/* breadcrumbs */
.breadcrumbs {
  padding: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span.sep { margin: 0 6px; opacity: 0.5; }

/* section anchor offset for sticky header */
section[id] {
  scroll-margin-top: 80px;
}

/* utility */
.text-center { text-align: center; }
.muted { color: var(--muted); }
.small-note { font-size: 13px; color: var(--muted); }

/* Keep table labels above scroll */
.table-scroll {
  overflow-x: auto;
  border-radius: 18px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}