*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--background);
  min-width: 0;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
img { width: 100%; object-fit: cover; }
a { color: var(--primary-ink); text-underline-offset: 2px; }
.prose a { text-decoration: underline; }
h1, h2, h3, h4, .display, .kicker, .brand-name, .score, .ticker {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
h1, h2, h3, h4 { color: var(--text); margin: 0 0 0.6em; line-height: 1.18; }
h1 { font-size: clamp(32px, 4.2vw, 56px); font-weight: 700; }
h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 400;
  background: var(--primary); color: #fff; padding: 8px 12px;
}
.skip-link:focus { top: 12px; }
.container {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
  min-width: 0;
}
.band { padding: 56px 0; }
.band-paper { background: var(--surface); }
.band-field { background: var(--background); }
.band-leaf { background: var(--surface-2); }
.band-ink { background: var(--ticker-bg); color: var(--ticker-fg); }
.band-ink h2, .band-ink h3, .band-ink p { color: inherit; }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
section[id] { scroll-margin-top: 128px; }

/* Header / split-brand nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 320;
  background: rgba(243, 248, 240, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}
.brand-mark {
  width: 36px; height: 36px; flex: 0 0 36px;
  display: grid; place-items: center;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.brand-name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-tag {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 2px solid var(--primary);
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--radius-control);
}
.btn:hover, .header-cta:hover { background: var(--primary-ink); border-color: var(--primary-ink); }
.btn-ghost,
.header-cta-ghost {
  background: transparent;
  color: var(--primary-ink);
  border-color: var(--primary);
}
.btn-ghost:hover, .header-cta-ghost:hover {
  background: var(--surface-2);
  color: var(--primary-ink);
}
.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-accent:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.menubar {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: var(--menubar-h);
  overflow: hidden;
}
.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 12px;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--primary-ink);
  box-shadow: inset 0 -2px 0 var(--primary);
}
.main-nav a.cta { color: #fff; background: var(--primary); box-shadow: none; }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 10px 9px;
  flex-direction: column;
  justify-content: space-between;
  z-index: 330;
  position: relative;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(31, 48, 32, 0.42);
}
.mobile-drawer.open,
.mobile-drawer.is-open { display: block; }
.drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(86vw, 360px);
  background: var(--drawer-bg);
  border-left: 1px solid var(--border);
  padding: 20px 20px 120px;
  overflow: auto;
  z-index: 2;
}
.drawer-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 48px;
  padding: 0;
  list-style: none;
}
.drawer-nav a {
  display: block;
  padding: 12px 8px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.drawer-nav a[aria-current="page"] { color: var(--primary-ink); }

/* Ticker signature */
.ticker {
  background: var(--ticker-bg);
  color: var(--ticker-fg);
  overflow: hidden;
  border-bottom: 2px solid var(--primary);
}
.ticker-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 36px;
  white-space: nowrap;
  animation: ticker 36s linear infinite;
}
.ticker b {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C8E6B8;
}
.ticker span { font-size: 13px; letter-spacing: 0.04em; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-inner { animation: none; }
}

/* Hero editorial-lead */
.hero,
#hero {
  padding: 28px 0 36px;
  background:
    linear-gradient(180deg, #E6F2DF 0%, #F6FBF3 100%);
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 28px;
  align-items: stretch;
}
.hero-copy, .hero-media, .hero-grid > * { min-width: 0; }
.kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  font-weight: 700;
  margin-bottom: 10px;
}
.hero-lede {
  font-size: 18px;
  max-width: 62ch;
  color: var(--text);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.hero-media figure { margin: 0; }
.hero-media img,
.page-hero img,
.collage img,
.inline-image-row img,
.essay-grid img,
.card img,
.news-card > img,
.hub-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 2px solid var(--ink);
  background: var(--surface-2);
}
.cutline {
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 8px;
  margin-top: 8px;
}

/* Headline feed */
.feed-list { list-style: none; padding: 0; margin: 0; }
.feed-list li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  min-width: 0;
}
.feed-list time {
  font-family: var(--font-score);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.feed-list a { text-decoration: none; color: inherit; font-weight: 700; }
.feed-list p { color: var(--muted); font-size: 15px; margin: 4px 0 0; }

/* Compliance / hairline */
.compliance {
  padding: 14px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}
.compliance strong { color: var(--text); }

/* Topic matrix / highlights */
.matrix {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 24px;
}
.matrix-lead, .matrix-grid, .matrix > * { min-width: 0; }
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.topic-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px;
  min-width: 0;
}
.topic-cell h3 { margin-bottom: 6px; }

/* Decision ledger / tables */
.ledger, .data-table-wrap { overflow-x: auto; min-width: 0; }
.data-table, .ledger table {
  min-width: 560px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.data-table th, .data-table td,
.ledger th, .ledger td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: 15px;
}
.data-table th, .ledger th {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--surface-2);
}

/* Collage / photo essay */
.essay-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 10px;
}
.essay-grid .wide { grid-row: span 2; }
.essay-grid figure { margin: 0; min-width: 0; }

/* Methodology rail */
.method {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 28px;
}
.method ol { list-style: none; padding: 0; counter-reset: step; }
.method li {
  counter-increment: step;
  padding: 14px 0 14px 52px;
  position: relative;
  border-bottom: 1px solid var(--border);
  min-width: 0;
}
.method li::before,
.step-num {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 14px;
  font-family: var(--font-score);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
}
.step-card .step-num { position: static; display: block; margin-bottom: 8px; }

/* Digest */
.digest {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 28px;
}
.digest > * { min-width: 0; }
.rail {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px;
}
.rail h3 { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; }

/* Checklist */
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.check-item {
  background: var(--surface);
  border-left: 4px solid var(--primary);
  border: 1px solid var(--border);
  border-left-width: 4px;
  padding: 16px;
  min-width: 0;
}

/* FAQ */
.faq-grid, .community { display: grid; gap: 8px; }
.faq, .q-item, details.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0 16px;
}
.faq summary, .q-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker,
.q-item summary::-webkit-details-marker { display: none; }
.q-body, .faq p { padding-bottom: 14px; }

/* Cards / verify aliases */
.card, .data-card, .step-card, .loose-card, .hub-card, .news-card,
.comparison-card, .pricing-card, .testimonial-card, .cta-card, .feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: var(--radius);
  min-width: 0;
}
.card-grid, .hub-grid, .stat-grid, .data-grid, .step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 16px;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.inline-image-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin: 28px 0;
}
.inline-image-row > * { min-width: 0; }
.page-hero { padding: 28px 0 12px; }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: center;
}
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: inherit; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; }
.figure-block { margin: 28px 0; }
.figure-block figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* Footer */
.site-footer {
  background: #1F3020;
  color: #E6F2DF;
  padding: 48px 0 28px;
  margin-bottom: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.site-footer a { color: #E6F2DF; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h2 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer .fine {
  margin-top: 28px;
  border-top: 1px solid rgba(203, 224, 196, 0.25);
  padding-top: 16px;
  font-size: 13px;
  color: #C4D6BE;
}

/* Sticky PLAY NOW */
.mobile-sticky {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 260;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: #1F3020;
  border-top: 2px solid var(--primary);
}
.mobile-sticky .btn,
.mobile-sticky a {
  display: flex;
  width: 100%;
  min-height: 48px;
  white-space: nowrap;
}

.disclaimer {
  font-size: 14px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 16px;
  margin: 24px 0;
}

/* Page interiors */
.article-shell { padding: 12px 0 64px; }
.split-doc {
  display: grid;
  grid-template-columns: minmax(0, 7.2fr) minmax(0, 4.8fr);
  gap: 32px;
  align-items: start;
}
.side-note {
  position: sticky;
  top: 140px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px;
}
.side-note a { display: block; margin: 8px 0; }

.colophon {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 20px;
}

/* Mobile */
@media (max-width: 899px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-cta { display: none; }
  .hero-grid,
  .matrix,
  .method,
  .digest,
  .page-hero-grid,
  .split-doc,
  .inline-image-row,
  .colophon,
  .footer-grid,
  .check-grid,
  .grid-2,
  .grid-3,
  .essay-grid,
  .matrix-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .essay-grid .wide { grid-row: auto; }
  .feed-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .hero, #hero {
    min-height: 480px;
    padding: 20px 0 28px;
  }
  .hero > .container > .figure-block,
  .hero figure { max-height: 240px; overflow: hidden; }
  .hero img { height: 100%; max-height: 240px; object-fit: cover; }
  .hero-lede { font-size: 16px; line-height: 1.5; }
  .mobile-sticky { display: block; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .site-footer { margin-bottom: 0; }
  .side-note { position: static; }
  .hero-trust { display: none !important; }
}
@media (max-width: 430px) {
  body { font-size: 17px; }
  .brand-tag { display: none; }
  h1 { font-size: 32px; line-height: 1.1; }
}

@media (min-width: 900px) {
  .mobile-drawer { display: none !important; }
}
