/* Sorare — Editorial product journal
   Palette: LIGHT_COLOR_003_LILAC_RESEARCH
   Typography: TYPOGRAPHY_SYSTEM_015 (Inter + Noto Sans Devanagari)
   Visual treatment: photo-led-minimal, newspaper-authority
*/

:root {
  --primary: #6657D9;
  --accent: #B0306A;
  --accent-deep: #8C1F54;
  --accent-hover: #871F50;
  --footer-mute: #A8A4C2;
  --background: #F8F6FF;
  --surface: #FFFFFF;
  --surface-2: #ECE8FF;
  --surface-3: #F1ECFF;
  --text: #24203D;
  --text-2: #4A4569;
  --muted: #68627E;
  --muted-2: #8A85A2;
  --border: #D8D0FA;
  --border-strong: #B8ACEB;
  --success: #1F8A6B;
  --warn: #B5841A;
  --danger: #B3374B;
  --ink: #181534;
  --link: #4B3FB8;
  --shadow-sm: 0 1px 2px rgba(36, 32, 61, 0.06);
  --shadow-md: 0 4px 14px rgba(36, 32, 61, 0.08);
  --shadow-lg: 0 10px 32px rgba(36, 32, 61, 0.12);
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 20px;
  --container: 1280px;
  --gutter: 24px;
  --header-h: 68px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --d-fast: 140ms;
  --d-med: 240ms;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html { overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.1; }
h2 { font-size: clamp(24px, 2.6vw, 36px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
h4 { font-size: 18px; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
hr { border: none; border-top: 1px solid var(--border); margin: 2em 0; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 2px; }

/* ---------- Layout primitives ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(48px, 6vw, 88px) 0; }
.section--tight { padding: clamp(32px, 4vw, 56px) 0; }
.section--alt { background: var(--surface-2); }
.section--ink { background: var(--ink); color: #ECE8FF; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head .kicker { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-deep); font-weight: 700; margin-bottom: 6px; display: block; }
.section-head .lede { color: var(--text-2); max-width: 56ch; margin: 0; }
.eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); }
.divider { height: 1px; background: var(--border); margin: 0; }
.grid { display: grid; gap: 24px; }
.hide-mobile { display: initial; }
.show-mobile { display: none; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 0; top: -40px; background: var(--ink); color: #fff;
  padding: 10px 16px; z-index: 1000; font-weight: 600; border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { top: 0; }

/* ---------- Header / Top navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(248, 246, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--d-fast) var(--ease);
}
.site-header.has-shadow { box-shadow: 0 4px 16px rgba(36,32,61,0.06); }
html.drawer-open,
html.drawer-open body { overflow: hidden; }
.site-header__inner {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 16px;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 32px; height: 32px; border-radius: 8px; background: var(--primary); color: #fff; display: inline-grid; place-items: center; font-weight: 800; }
.brand__name { font-size: 19px; }
.brand__tag { display: block; font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; margin-top: -3px; }
.main-nav {
  display: flex; gap: 4px; align-items: center; justify-content: center; flex-wrap: nowrap;
}
.main-nav a {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  font-weight: 600; font-size: 14px; color: var(--text-2);
  white-space: nowrap;
}
.main-nav a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.main-nav a.is-active { background: var(--ink); color: #fff; }
.header-cta { display: inline-flex; align-items: center; gap: 10px; }
.header-cta .btn--ghost { display: none; }

/* Mobile drawer trigger */
.hamburger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--border);
  background: var(--surface); border-radius: 10px; padding: 0; align-items: center; justify-content: center;
  position: relative; z-index: 110;
}
.hamburger__bars { width: 22px; height: 16px; position: relative; }
.hamburger__bars span {
  display: block; position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform var(--d-fast) var(--ease), opacity var(--d-fast) var(--ease), top var(--d-fast) var(--ease);
}
.hamburger__bars span:nth-child(1) { top: 0; }
.hamburger__bars span:nth-child(2) { top: 7px; }
.hamburger__bars span:nth-child(3) { top: 14px; }
.hamburger[aria-expanded="true"] .hamburger__bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger__bars span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger__bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; white-space: nowrap; cursor: pointer;
  transition: background var(--d-fast) var(--ease), color var(--d-fast) var(--ease), transform var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease);
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #2c2755; color: #fff; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); color: #fff; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn--outline:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--lg { padding: 14px 24px; font-size: 16px; }
.btn--full { width: 100%; }

/* ---------- Hero: mosaic-newsroom ---------- */
.hero-mosaic { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(40px, 5vw, 64px); background: var(--background); position: relative; }
.hero-mosaic__grid {
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px;
}
.hero-mosaic__main {
  display: grid; grid-template-rows: auto 1fr; gap: 24px;
}
.hero-mosaic__lead {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
  display: grid; grid-template-rows: auto 1fr auto; gap: 18px;
}
.hero-mosaic__lead .eyebrow { margin-bottom: 4px; }
.hero-mosaic__lead h1 { font-size: clamp(34px, 4.5vw, 56px); margin-bottom: 8px; }
.hero-mosaic__lead h1 .accent { color: var(--accent); }
.hero-mosaic__lead .lede { font-size: 18px; color: var(--text-2); max-width: 60ch; line-height: 1.55; }
.hero-mosaic__lead .meta-row { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.hero-mosaic__lead .meta-row strong { color: var(--ink); font-weight: 700; }
.hero-mosaic__lead .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-mosaic__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.hero-mosaic__thumbs > li { display: block; min-width: 0; }
.hero-thumb {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  overflow: hidden; display: block; text-decoration: none; color: inherit;
  transition: transform var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease);
  position: relative;
}
.hero-thumb:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); text-decoration: none; }
.hero-thumb__media {
  aspect-ratio: 4 / 3; background: var(--surface-3); position: relative; overflow: hidden;
}
.hero-thumb__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms var(--ease); }
.hero-thumb:hover .hero-thumb__media img { transform: scale(1.04); }
.hero-thumb__caption { padding: 10px 12px 12px; }
.hero-thumb__caption .kicker { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-deep); font-weight: 700; }
.hero-thumb__caption h3,
.hero-thumb__caption .hero-thumb__title { font-size: 14px; margin: 4px 0 0; line-height: 1.35; color: var(--ink); font-weight: 700; display: block; }
.hero-thumb__caption .reveal { display: block; font-size: 12px; color: var(--muted); max-height: 0; overflow: hidden; transition: max-height var(--d-med) var(--ease), margin-top var(--d-med) var(--ease); }
.hero-thumb:hover .hero-thumb__caption .reveal,
.hero-thumb:focus-visible .hero-thumb__caption .reveal { max-height: 60px; margin-top: 6px; }

/* Hero side rail (editorial index) */
.hero-mosaic__rail {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  min-height: 100%;
}
.hero-mosaic__rail h2 { font-size: 16px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink); margin-bottom: 14px; }
.rail-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.rail-list li { padding: 14px 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.rail-list li:first-child { border-top: none; padding-top: 0; }
.rail-list .dateline { font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 0.06em; min-width: 64px; }
.rail-list a { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.rail-list a:hover { color: var(--accent); text-decoration: none; }
.rail-list .meta { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.trust-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-strip__item { padding: 18px 16px; display: flex; gap: 10px; align-items: center; border-right: 1px solid var(--border); }
.trust-strip__item:last-child { border-right: none; }
.trust-strip__item svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; }
.trust-strip__item p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--text-2); }
.trust-strip__item strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }

/* ---------- Hub grid (asymmetric) ---------- */
.hub-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; }
.hub-grid__main, .hub-grid__side { display: flex; flex-direction: column; gap: 18px; }
.hub-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: inherit;
  transition: border-color var(--d-fast) var(--ease), transform var(--d-fast) var(--ease);
}
a.hub-card:hover { border-color: var(--primary); transform: translateY(-2px); text-decoration: none; }
.hub-card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; color: var(--primary); }
.hub-card h3 { font-size: 19px; margin: 4px 0 0; }
.hub-card p { font-size: 14px; color: var(--text-2); margin: 0; line-height: 1.5; }
.hub-card .hub-card__cta { margin-top: auto; font-size: 13px; color: var(--primary); font-weight: 700; }

/* ---------- Section: dense list (key takeaways, latest reporting) ---------- */
.dense-list { list-style: none; padding: 0; margin: 0; }
.dense-list li {
  display: grid; grid-template-columns: 36px 1fr auto; gap: 16px; align-items: start;
  padding: 18px 0; border-top: 1px solid var(--border);
}
.dense-list li:first-child { border-top: none; padding-top: 0; }
.dense-list .num { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--accent); font-size: 14px; }
.dense-list .num::before { content: counter(li, decimal-leading-zero); }
.dense-list { counter-reset: li; }
.dense-list li { counter-increment: li; }
.dense-list .body strong { display: block; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.dense-list .body p { font-size: 14px; color: var(--text-2); margin: 0; }
.dense-list .time { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ---------- Two-column feature split ---------- */
.feature-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.feature-split__copy h2 { font-size: clamp(26px, 3vw, 38px); }
.feature-split__copy p { font-size: 16px; color: var(--text-2); }
.feature-split__media { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-3); border: 1px solid var(--border); }
.feature-split__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- App promo split (Sorare app) ---------- */
.app-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.app-split__steps { list-style: none; padding: 0; margin: 18px 0 0; counter-reset: step; }
.app-split__steps li { counter-increment: step; padding: 14px 0 14px 56px; position: relative; border-top: 1px solid var(--border); }
.app-split__steps li:first-child { border-top: none; }
.app-split__steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 14px;
  width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); color: var(--primary);
  font-weight: 800; font-size: 14px; display: grid; place-items: center;
}
.app-split__steps strong { display: block; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.app-split__steps p { margin: 0; font-size: 14px; color: var(--text-2); }
.app-split__visual { aspect-ratio: 4 / 5; max-width: 420px; border-radius: var(--r-xl); background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); padding: 24px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); margin: 0 auto; }
.app-split__visual .phone-mock {
  width: 220px; aspect-ratio: 9 / 19; border-radius: 32px; background: var(--ink); padding: 12px; box-shadow: var(--shadow-lg);
}
.app-split__visual .phone-screen { width: 100%; height: 100%; border-radius: 24px; background: linear-gradient(180deg, #1d1938, #2c2755); position: relative; overflow: hidden; }
.app-split__visual .phone-screen::before { content: ""; position: absolute; inset: 12px; border-radius: 16px; background: linear-gradient(180deg, rgba(217, 79, 138, 0.18), rgba(102, 87, 217, 0.18)); }
.app-split__visual .phone-screen::after { content: "S"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,0.5); font-size: 48px; font-weight: 800; }

/* ---------- Alternating analysis (zebra) ---------- */
.zebra { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.zebra--reverse .zebra__media { order: 2; }
.zebra__media { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface-3); }
.zebra__media img { width: 100%; height: 100%; object-fit: cover; }
.zebra__copy .eyebrow { margin-bottom: 8px; }
.zebra__copy h3 { font-size: clamp(20px, 2.4vw, 28px); margin-bottom: 8px; }
.zebra__copy p { font-size: 15px; color: var(--text-2); }
.zebra + .zebra { margin-top: 56px; }

/* ---------- Quote rail ---------- */
.quote-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
}
.quote-card .quote-mark { font-family: Georgia, serif; font-size: 40px; line-height: 0.6; color: var(--accent); }
.quote-card blockquote { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink); font-style: normal; }
.quote-card cite { font-size: 13px; color: var(--muted); font-style: normal; }
.quote-card cite strong { display: block; color: var(--text-2); }

/* ---------- Data table band (card rarities) ---------- */
.data-table-band { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.data-table th, .data-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.data-table th { background: var(--surface-2); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--surface-3); }
.rarity-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.rarity-pill--unique { background: rgba(217, 79, 138, 0.12); color: #b0306c; }
.rarity-pill--super { background: rgba(102, 87, 217, 0.14); color: #4339b8; }
.rarity-pill--rare { background: rgba(31, 138, 107, 0.12); color: #157652; }
.rarity-pill--limited { background: rgba(181, 132, 26, 0.14); color: #8c6516; }
.rarity-pill--common { background: var(--surface-2); color: var(--muted); }

/* ---------- Link shelf (toolkit) ---------- */
.link-shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.link-shelf a {
  padding: 20px 18px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink);
  background: var(--surface); transition: background var(--d-fast) var(--ease);
}
.link-shelf a:hover { background: var(--surface-2); text-decoration: none; }
.link-shelf .ls-kicker { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-weight: 700; }
.link-shelf .ls-title { font-weight: 700; font-size: 15px; }
.link-shelf .ls-arrow { font-size: 13px; color: var(--muted); }

/* ---------- Feed list (fresh reporting) ---------- */
.feed-list { list-style: none; padding: 0; margin: 0; }
.feed-list li { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; padding: 18px 0; border-top: 1px solid var(--border); align-items: start; }
.feed-list li:first-child { border-top: none; padding-top: 0; }
.feed-list .feed-date { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }
.feed-list .feed-title { font-size: 17px; font-weight: 700; color: var(--ink); }
.feed-list .feed-title a { color: inherit; }
.feed-list .feed-title a:hover { color: var(--accent); text-decoration: none; }
.feed-list .feed-dek { font-size: 14px; color: var(--text-2); margin-top: 4px; }
.feed-list .feed-byline { font-size: 12px; color: var(--muted); white-space: nowrap; }
.feed-list .feed-thumb { width: 110px; aspect-ratio: 4 / 3; border-radius: var(--r-md); background: var(--surface-3); overflow: hidden; border: 1px solid var(--border); display: none; }
.feed-list.has-thumbs li { grid-template-columns: 110px 110px 1fr auto; }
.feed-list.has-thumbs .feed-thumb { display: block; }
.feed-list.has-thumbs .feed-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Compliance band (responsible play) ---------- */
.compliance-band {
  background: var(--ink); color: #ECE8FF; padding: clamp(40px, 5vw, 64px) 0;
}
.compliance-band .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.compliance-band h3 { color: #fff; font-size: 16px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 10px; }
.compliance-band p { color: rgba(236, 232, 255, 0.78); font-size: 14px; line-height: 1.55; }
.compliance-band .compliance-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.08); display: grid; place-items: center; margin-bottom: 12px; }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); padding: 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 700; color: var(--ink); font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--accent); transition: transform var(--d-fast) var(--ease); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 20px; color: var(--text-2); font-size: 15px; max-width: 70ch; }
.faq details > div p { margin: 0 0 0.8em; }

/* ---------- Checklist band (transparency) ---------- */
.checklist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.checklist__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.checklist__item svg { width: 22px; height: 22px; color: var(--success); }
.checklist__item h3,
.checklist__item h4 { font-size: 15px; margin: 0; font-weight: 700; }
.checklist__item p { font-size: 13px; color: var(--text-2); margin: 0; }

/* ---------- Final CTA band ---------- */
.cta-band { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); padding: clamp(56px, 7vw, 88px) 0; text-align: center; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 12px; }
.cta-band p { font-size: 17px; color: var(--text-2); max-width: 56ch; margin: 0 auto 24px; }
.cta-band .cta-row { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta-band small { display: block; margin-top: 14px; font-size: 12px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9C3E8; padding: 56px 0 28px; }
.site-footer a { color: #C9C3E8; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; margin-bottom: 36px; }
.footer-grid h3,
.footer-grid h4 { color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 14px; font-weight: 700; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-grid li { font-size: 14px; }
.footer-brand p { font-size: 13px; color: rgba(236, 232, 255, 0.6); margin: 12px 0 0; max-width: 32ch; }
.footer-social { display: flex; gap: 8px; margin-top: 14px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; }
.footer-social a:hover { background: rgba(255,255,255,0.18); }
.footer-social svg { width: 16px; height: 16px; color: #fff; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 12px; color: var(--footer-mute); }
.footer-legal a { color: inherit; }
.footer-legal .footer-disclaimer { flex: 1 1 100%; font-size: 12px; color: var(--footer-mute); line-height: 1.5; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  background: var(--ink); color: #fff; border-radius: var(--r-lg);
  padding: 10px 12px; display: none; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg);
}
.mobile-sticky-cta .msc-copy { flex: 1; line-height: 1.2; }
.mobile-sticky-cta .msc-copy strong { display: block; font-size: 13px; }
.mobile-sticky-cta .msc-copy small { display: block; font-size: 11px; color: rgba(255,255,255,0.7); font-weight: 500; }
.mobile-sticky-cta .msc-btn {
  background: var(--accent); color: #fff; font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: 999px; white-space: nowrap;
  text-decoration: none;
}
.mobile-sticky-cta .msc-btn:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }
body.has-sticky-cta { padding-bottom: 76px; }

/* ---------- Mobile drawer ---------- */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(24, 21, 52, 0.5); opacity: 0; pointer-events: none;
  transition: opacity var(--d-med) var(--ease);
}
.mobile-drawer.is-open { opacity: 1; pointer-events: auto; }
.mobile-drawer__panel {
  position: absolute; right: 0; top: 0; height: 100dvh; width: min(86vw, 360px);
  background: var(--surface); padding: 20px 22px; transform: translateX(100%);
  transition: transform var(--d-med) var(--ease);
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}
.mobile-drawer.is-open .mobile-drawer__panel { transform: translateX(0); }
.mobile-drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.mobile-drawer__head .brand { font-size: 17px; }
.mobile-drawer__close { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; cursor: pointer; }
.mobile-drawer__close svg { width: 18px; height: 18px; color: var(--ink); }
.mobile-drawer nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.mobile-drawer nav li { border-top: 1px solid var(--border); }
.mobile-drawer nav li:first-child { border-top: none; }
.mobile-drawer nav a { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; }
.mobile-drawer nav a::after { content: "›"; color: var(--muted); font-size: 18px; }
.mobile-drawer__footer { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--border); }

/* ---------- Article / page content ---------- */
.page-hero { background: var(--surface-2); padding: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px); }
.page-hero .breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.page-hero .breadcrumb a { color: var(--text-2); }
.page-hero .breadcrumb a:hover { color: var(--accent); text-decoration: none; }
.page-hero h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 12px; }
.page-hero .lede { font-size: 18px; color: var(--text-2); max-width: 70ch; }
.page-hero .meta-row { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 14px; }
.page-hero .meta-row strong { color: var(--ink); }

.prose { max-width: 70ch; margin: 0 auto; font-size: 17px; line-height: 1.75; color: var(--text); }
.prose h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 1.6em 0 0.6em; scroll-margin-top: 90px; }
.prose h3 { font-size: clamp(18px, 1.8vw, 22px); margin: 1.4em 0 0.4em; scroll-margin-top: 90px; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1em; }
.prose a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.prose figure { margin: 1.4em 0; }
.prose figure img { border-radius: var(--r-md); border: 1px solid var(--border); }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.prose blockquote { margin: 1.4em 0; padding: 16px 22px; background: var(--surface-2); border-left: 4px solid var(--accent); border-radius: var(--r-sm); color: var(--text-2); font-size: 16px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.prose table th, .prose table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; }
.prose table th { background: var(--surface-2); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.prose .inline-image { margin: 1.6em 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); }
.prose .inline-image img { width: 100%; height: auto; display: block; }

/* Two-column side-by-side cards */
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 17px; margin: 0; }
.card p { font-size: 14px; color: var(--text-2); margin: 0; }
.card .meta { font-size: 12px; color: var(--muted); margin-top: auto; }

/* TOC */
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px 22px; margin: 0 0 24px; }
.toc h2 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 18px; font-size: 14px; }
.toc ol li { margin: 4px 0; }
.toc a { color: var(--text); }

/* In-content image (with caption) */
.figure-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; margin: 24px 0; }
.figure-card img { width: 100%; height: auto; display: block; }
.figure-card figcaption { font-size: 13px; color: var(--muted); padding: 10px 16px; background: var(--surface-2); }

/* Comparison table */
.compare-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.compare-table th { background: var(--surface-2); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .check { color: var(--success); font-weight: 800; }
.compare-table .cross { color: var(--muted); }

/* Steps */
.steps { counter-reset: step; padding: 0; margin: 24px 0; list-style: none; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 20px 56px; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px;
  border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800;
  display: grid; place-items: center; font-size: 16px;
}
.steps > li h3 { font-size: 18px; margin: 0 0 6px; }
.steps > li p { margin: 0; font-size: 15px; color: var(--text-2); }

/* Pull-quote */
.pull-quote { margin: 24px 0; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); position: relative; }
.pull-quote::before { content: "“"; position: absolute; left: 16px; top: 6px; font-size: 56px; color: var(--accent); font-family: Georgia, serif; line-height: 1; }
.pull-quote blockquote { margin: 0 0 0 32px; font-size: 18px; line-height: 1.55; color: var(--ink); }
.pull-quote cite { display: block; margin: 10px 0 0 32px; font-style: normal; font-size: 13px; color: var(--muted); }

/* Related post grid */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-mosaic__grid { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .feature-split, .app-split, .zebra, .zebra--reverse { grid-template-columns: 1fr; gap: 32px; }
  .zebra--reverse .zebra__media { order: 0; }
  .link-shelf { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); }
  .cards-4, .checklist { grid-template-columns: repeat(2, 1fr); }
  .cards-3, .quote-rail { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .feed-list li { grid-template-columns: 90px 1fr; }
  .feed-list li .feed-byline { display: none; }
  .feed-list.has-thumbs li { grid-template-columns: 90px 1fr; }
  .feed-list.has-thumbs .feed-thumb { display: none; }
}
@media (max-width: 899px) {
  .main-nav { display: none; }
  .header-cta .btn--ghost { display: none; }
  .hamburger { display: inline-flex; }
  .mobile-sticky-cta { display: flex; }
  body.has-sticky-cta { padding-bottom: 80px; }
  .trust-strip__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .trust-strip__item { border-right: none; border-bottom: 1px solid var(--border); min-width: 0; }
  .trust-strip__item p { min-width: 0; overflow-wrap: anywhere; }
  .trust-strip__item:nth-last-child(-n+2) { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-mosaic__thumbs { grid-template-columns: repeat(3, 1fr); }
  .hero-mosaic__lead { padding: 22px; }
  .app-split__visual { max-width: 320px; }
  .compliance-band .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .hero-mosaic__thumbs { grid-template-columns: 1fr; }
  .hero-thumb__caption .reveal { display: none; }
  .cards-2, .cards-3, .cards-4, .quote-rail, .checklist, .link-shelf { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .data-table { font-size: 13px; }
  .data-table th, .data-table td { padding: 10px 12px; }
  .zebra + .zebra { margin-top: 36px; }
  .feed-list li { grid-template-columns: 1fr; }
  .feed-list .feed-date { margin-bottom: 2px; }
}
@media (max-width: 430px) {
  .hero-mosaic__lead h1 { font-size: 30px; }
  .btn--lg { padding: 12px 18px; font-size: 15px; }
  .hero-mosaic__lead .cta-row { flex-direction: column; align-items: stretch; }
  .hero-mosaic__lead .cta-row .btn { width: 100%; }
  .nav-rail-spacer { display: none; }
  .mobile-sticky-cta .msc-copy strong { font-size: 12px; }
  .mobile-sticky-cta .msc-copy small { font-size: 10px; }
  .mobile-sticky-cta .msc-btn { font-size: 13px; padding: 9px 14px; }
  .app-split__visual { max-width: 280px; }
  .app-split__visual .phone-mock { width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

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