/* cricbaba — Lilac Research / Blue Trust Platform / quiet-modern */
:root {
  --paper: #F8F6FF;
  --paper-deep: #EFEAFB;
  --surface: #FFFFFF;
  --ink: #24203D;
  --ink-soft: #4A4466;
  --muted: #6B6488;
  --line: rgba(36, 32, 61, 0.12);
  --line-strong: rgba(36, 32, 61, 0.22);
  --primary: #6657D9;
  --primary-ink: #FFFFFF;
  --primary-soft: rgba(102, 87, 217, 0.12);
  --accent: #D94F8A;
  --accent-soft: rgba(217, 79, 138, 0.12);
  --ok: #1F7A4C;
  --warn: #9A5B12;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(36, 32, 61, 0.08);
  --shadow-soft: 0 4px 16px rgba(36, 32, 61, 0.06);
  --header-h: 72px;
  --sticky-cta-h: 64px;
  --font: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --max: 1180px;
  --measure: 68ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--sticky-cta-h) + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
}
html { overflow-x: hidden; }
body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-underline-offset: 2px; }
a:hover { color: #5144b8; }
p, li, td, th, dd, dt { overflow-wrap: break-word; word-break: normal; hyphens: auto; }
h1, h2, h3, h4 {
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.28rem); }
p { margin: 0 0 1em; color: var(--ink-soft); max-width: var(--measure); }
.prose a { text-decoration: underline; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.wrap-wide {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
}

/* Header — compact-left sticky */
.site-header {
  position: sticky;
  top: 0;
  z-index: 250;
  background: rgba(248, 246, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  min-height: var(--header-h);
}
.site-header.is-scrolled { box-shadow: var(--shadow-soft); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--primary), #4d3fc0);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex: 0 0 auto;
  box-shadow: 0 6px 16px rgba(102, 87, 217, 0.28);
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; line-height: 1.1; }
.brand-tag { font-size: 0.72rem; color: var(--muted); font-weight: 500; white-space: nowrap; }

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.main-nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}
.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--primary);
  background: var(--primary-soft);
}
.header-cta {
  display: none;
  text-decoration: none;
  background: var(--primary);
  color: var(--primary-ink) !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.62rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(102, 87, 217, 0.25);
}
.header-cta:hover { filter: brightness(1.05); }

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  position: relative;
  z-index: 300;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle span { transition: transform .2s ease, opacity .2s ease; }

@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(36, 32, 61, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 260;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 360px);
  height: 100dvh;
  background: var(--surface);
  border-left: 1px solid var(--line);
  z-index: 270;
  transform: translateX(105%);
  transition: transform .22s ease;
  padding: calc(var(--header-h) + 1rem) 1.25rem 1.5rem;
  overflow: auto;
  box-shadow: -12px 0 40px rgba(36, 32, 61, 0.12);
  visibility: hidden;
  pointer-events: none;
}
.mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.mobile-drawer a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.mobile-drawer a:hover,
.mobile-drawer a[aria-current="page"] {
  border-color: rgba(102, 87, 217, 0.35);
  background: var(--primary-soft);
  color: var(--primary);
}
.drawer-cta {
  margin-top: 1rem;
  display: block;
  text-align: center;
  text-decoration: none !important;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  white-space: nowrap;
}

/* Masthead edition */
.edition-masthead {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--paper));
  padding: 0.7rem 0;
}
.edition-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}
.verify-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-soft);
  color: #9b2f5f;
  border: 1px solid rgba(217, 79, 138, 0.28);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.verify-stamp::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}

/* Hero split-screen */
.hero {
  padding: 1.6rem 0 2.2rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem; }
}
.framed-media {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 4px);
  padding: 0.7rem;
  box-shadow: var(--shadow);
  min-width: 0;
}
.framed-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--paper-deep);
}
.frame-caption {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}
.hero-copy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.hero-lede { font-size: 1.05rem; color: var(--ink-soft); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.78rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(102, 87, 217, 0.28);
}
.btn-accent {
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(217, 79, 138, 0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--ink) !important;
  border-color: var(--line-strong);
}
.btn:focus-visible, .main-nav a:focus-visible, .nav-toggle:focus-visible,
[role="tab"]:focus-visible, [data-filter]:focus-visible {
  outline: 3px solid rgba(102, 87, 217, 0.45);
  outline-offset: 2px;
}

@media (max-width: 899px) {
  .hero { padding: 0.75rem 0 1rem; min-height: 0 !important; max-height: none; }
  .hero .framed-media { padding: 0.45rem; }
  .hero .framed-media img { aspect-ratio: 16 / 9; max-height: 200px; object-fit: cover; }
  .hero-copy { padding: 0.95rem 1rem; }
  .hero-grid { gap: 0.7rem; }
  .hero .kicker { margin-bottom: 0.4rem; font-size: 0.72rem; }
  .hero h1, .hero #hero-h { font-size: 1.45rem !important; line-height: 1.15 !important; margin-bottom: 0.45rem; }
  .hero-lede { font-size: 0.92rem !important; line-height: 1.45 !important; margin-bottom: 0.6rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-top: 0.5rem; gap: 0.5rem; }
  .hero-actions .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding: 0.7rem 0.9rem; font-size: 0.88rem; }
  .edition-masthead { padding: 0.45rem 0; }
  .edition-row { font-size: 0.72rem; gap: 0.35rem 0.6rem; }
  .table-wrap { max-width: 100%; }
  table { min-width: 480px; }
  h1 { font-size: 1.55rem; }
}

/* Sections */
.section {
  padding: 2.4rem 0;
}
.section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
.section-alt { background: var(--paper-deep); }
.section-surface { background: var(--surface); border-block: 1px solid var(--line); }
.section-head {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  max-width: 760px;
}
.section-head p { margin: 0; }

/* Ledger strip */
.ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 800px) {
  .ledger { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.ledger-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  min-width: 0;
  box-shadow: var(--shadow-soft);
}
.ledger-item strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.ledger-item span {
  display: block;
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
}

/* Tabbed evidence desk */
.desk {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
}
.desk-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.7rem;
  background: linear-gradient(180deg, var(--paper), #fff);
  border-bottom: 1px solid var(--line);
}
.desk-tabs [role="tab"],
[data-filter] {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.desk-tabs [role="tab"][aria-selected="true"],
[data-filter].is-active {
  background: var(--accent-soft);
  border-color: rgba(217, 79, 138, 0.4);
  color: #9b2f5f;
}
.desk-panel {
  padding: clamp(1rem, 2vw, 1.4rem);
  min-width: 0;
}
.desk-panel[hidden] { display: none !important; }
.desk-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--primary-soft);
  color: #3f34a0;
  border: 1px solid rgba(102, 87, 217, 0.22);
  white-space: nowrap;
}
.chip-pink {
  background: var(--accent-soft);
  color: #9b2f5f;
  border-color: rgba(217, 79, 138, 0.25);
}
.chip-ok {
  background: rgba(31, 122, 76, 0.1);
  color: var(--ok);
  border-color: rgba(31, 122, 76, 0.22);
}

/* Cards / modular */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 760px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.card, .loose-card, .data-card, .step-card, .hub-card, .news-card {
  background: var(--surface);
  border: 1px solid rgba(102, 87, 217, 0.18);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow-soft);
  min-width: 0;
}
.loose-card {
  background: linear-gradient(135deg, rgba(102, 87, 217, 0.08) 0%, rgba(248, 246, 255, 0.9) 100%);
  border: 2px solid rgba(102, 87, 217, 0.22);
}
.card h3, .loose-card h3, .data-card h3, .step-card h3 { margin-bottom: 0.45rem; }
.card p:last-child, .loose-card p:last-child { margin-bottom: 0; }
.card img, .news-card img, .inline-image-row img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 0.8rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--paper-deep);
}

/* Decision nodes */
.nodes {
  display: grid;
  gap: 0.9rem;
}
.node {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  min-width: 0;
}
.node-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex: 0 0 auto;
}
.node p { margin: 0; }

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.95rem;
}
th, td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: var(--paper);
  color: var(--ink);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
tr:last-child td { border-bottom: 0; }
td { color: var(--ink-soft); }

/* Parallel bands */
.parallel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 900px) {
  .parallel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.band {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  min-width: 0;
  box-shadow: var(--shadow-soft);
}
.band h3 { color: var(--primary); }

/* Inline image row */
.inline-image-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  margin: 1.4rem 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem;
  min-width: 0;
}
@media (min-width: 800px) {
  .inline-image-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .inline-image-row.reverse { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .inline-image-row.reverse .inline-copy { order: -1; }
}
.inline-image-row img { margin: 0; border-radius: 12px; }
.inline-copy { min-width: 0; padding: 0.35rem 0.45rem; }
.inline-copy p:last-child { margin-bottom: 0; }

/* Disclosure / affiliate panel */
.route-panel {
  background: linear-gradient(145deg, #fff 0%, #f3efff 100%);
  border: 1px solid rgba(102, 87, 217, 0.28);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  box-shadow: var(--shadow);
}
.route-panel .btn { margin-top: 0.4rem; }
.disclosure {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: none;
}

/* FAQ */
.faq-grid {
  display: grid;
  gap: 0.75rem;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  min-width: 0;
}
.faq-item h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.faq-item p { margin: 0; }

/* News cards */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 800px) {
  .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.news-card a.card-link {
  color: inherit;
  text-decoration: none;
  display: block;
}
.news-meta {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

/* Page hero (child) */
.page-hero {
  padding: 1.6rem 0 1.2rem;
}
.page-hero-grid {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 900px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; }
}
.page-hero .framed-media img { aspect-ratio: 16 / 9; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
  font-weight: 600;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }

.article-body {
  padding: 0.5rem 0 2.5rem;
}
.article-body .section { padding: 1.6rem 0; }
.content-stack {
  display: grid;
  gap: 1rem;
}
.note {
  border-left: 4px solid var(--primary);
  background: var(--primary-soft);
  padding: 0.9rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-soft);
}
.note strong { color: var(--ink); }

/* Footer */
.site-footer {
  background: #1d1933;
  color: #d7d2ef;
  padding: 2.6rem 0 2rem;
  margin-top: 1rem;
}
.site-footer a { color: #ebe7ff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; }
}
@media (min-width: 600px) and (max-width: 799px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand p { color: #b7b0d6; max-width: 36ch; }
.footer-col h2 {
  color: #fff;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.footer-col a { font-weight: 500; font-size: 0.95rem; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #a89fc8;
}
.footer-legal { max-width: 70ch; color: #a89fc8; font-size: 0.82rem; line-height: 1.55; }

/* Mobile sticky CTA — single full-width PLAY NOW */
.mobile-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 240;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: rgba(248, 246, 255, 0.96);
  border-top: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.mobile-sticky-cta a {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  background: var(--accent);
  color: #fff !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.98rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(217, 79, 138, 0.3);
}
@media (min-width: 1024px) {
  .mobile-sticky-cta { display: none; }
  body { padding-bottom: 0; }
}

/* Utilities */
.muted { color: var(--muted); }
.ink { color: var(--ink); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack-sm > * + * { margin-top: 0.65rem; }
.two-col {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.checklist li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45rem;
  width: 0.7rem; height: 0.7rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.related-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}
.related-links a {
  display: block;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.related-links a:hover {
  border-color: rgba(102, 87, 217, 0.35);
  background: var(--primary-soft);
  color: var(--primary);
}

/* Filter desk chips row */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

/* Colophon */
.colophon {
  font-size: 0.92rem;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.colophon p { max-width: none; }

/* Grid safety */
.hero-grid > *,
.page-hero-grid > *,
.card-grid > *,
.parallel > *,
.inline-image-row > *,
.footer-grid > *,
.two-col > *,
.news-grid > * {
  min-width: 0;
}
media, img, svg, video, canvas {
  max-width: 100%;
}
