/* ==========================================================================
   RevXForge — Shared Stylesheet
   One centralized stylesheet for every page (header, navigation, dropdowns,
   buttons, typography, layout, sections, cards, forms, footer, backgrounds,
   modal, responsive and accessibility rules). Loaded via a single <link> on
   every HTML page — do not duplicate these rules back into page <head> tags.
   ========================================================================== */

/* ── 1. CSS Variables ─────────────────────────────────────────────────── */
:root {
  --brand-bg: #ffffff;
  --brand-fg: #111111;
  --brand-accent: #cd3e2d;
  --brand-accent-2: #942d20;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --canvas: #fafaf9;
  --panel: #f4f3f1;
  --panel-border: #e5e3df;
  --text-primary: #111111;
  --text-secondary: #4a4845;
  --text-muted: #7a7673;
  --accent: var(--brand-accent);
  --accent-hover: var(--brand-accent-2);
  --accent-subtle: rgba(205, 62, 45, 0.08);
  --accent-border: rgba(205, 62, 45, 0.25);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 9rem;

  --container: 1200px;
  --container-narrow: 760px;
}

/* ── 2. Reset / Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: clip; }
body {
  background: var(--canvas);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ── 3. Typography ────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  color: var(--text-primary);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
h4 { font-size: 1rem; font-weight: 600; }
p { max-width: 68ch; color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ── 4. Container / Layout ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.container--narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ── 5. Header ────────────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--brand-bg, #ffffff);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
}
#nav.scrolled { border-color: rgba(0,0,0,0.08); box-shadow: 0 2px 24px rgba(0,0,0,0.06); }
#nav-inner {
  max-width: 1360px; margin: 0 auto; padding: 0 2rem; height: 68px;
  display: flex; align-items: center; gap: 1.5rem;
}
#nav-brand { display: flex; align-items: center; gap: 0.9rem; flex-shrink: 0; }
#nav-logo-link {
  display: flex; align-items: center; gap: 0.6rem; text-decoration: none; flex-shrink: 0;
  border-radius: 6px;
}
#nav-logo-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
#nav-logo {
  height: 44px; width: auto; max-width: 66px; object-fit: contain; display: block; flex-shrink: 0;
}
#nav-wordmark {
  font-family: var(--font-display, 'Space Grotesk', system-ui, sans-serif);
  font-size: 1.25rem; font-weight: 700; color: var(--brand-fg, #111111);
  letter-spacing: -0.02em; white-space: nowrap;
}
#nav-wordmark span { color: var(--brand-accent, #cd3e2d); }
#nav-divider { width: 1px; height: 22px; background: rgba(0,0,0,0.12); flex-shrink: 0; }
#nav-parent-tag {
  font-size: 0.8rem; color: var(--text-muted, #7a7673); white-space: nowrap;
  display: block;
}
#nav-parent-tag a {
  color: var(--text-secondary, #4a4845); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid transparent; transition: color 0.15s ease, border-color 0.15s ease;
}
#nav-parent-tag a:hover, #nav-parent-tag a:focus-visible { color: var(--brand-accent, #cd3e2d); border-bottom-color: currentColor; }

/* ── 6. Navigation ────────────────────────────────────────────────────── */
#nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; flex: 1; }
#nav-links > li { position: relative; }
#nav-links > li > a, #nav-links > li > button.nav-parent {
  display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.5rem 0.75rem;
  font-size: 0.875rem; font-weight: 500; color: var(--brand-fg, #111111);
  text-decoration: none; border-radius: 6px; border: none; background: none; cursor: pointer;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif); white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease; line-height: 1;
}
#nav-links > li > a:hover, #nav-links > li > button.nav-parent:hover {
  color: var(--brand-accent, #cd3e2d); background: rgba(205, 62, 45, 0.06);
}
#nav-links > li > a.nav-active { color: var(--brand-accent, #cd3e2d); }
#nav-cta {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 40px; padding: 0.25rem 0.25rem 0.25rem 1.05rem;
  font-size: 0.855rem; font-weight: 600; letter-spacing: 0.01em;
  color: #ffffff; background: linear-gradient(135deg, var(--brand-accent, #cd3e2d), var(--brand-accent-2, #942d20));
  border-radius: 999px; text-decoration: none;
  white-space: nowrap; flex-shrink: 0; font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  box-shadow: 0 6px 18px -6px rgba(205, 62, 45, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.22); margin-left: auto;
}
/* white arrow chip drawn in CSS so the nav markup stays identical on every page */
#nav-cta::after, #nav-mobile-cta::after {
  content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='%23cd3e2d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
  transition: transform 0.25s var(--ease-out);
}
#nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -6px rgba(205, 62, 45, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
#nav-cta:hover::after, #nav-mobile-cta:hover::after { transform: translateX(2px); }
#nav-cta:focus-visible, #nav-mobile-cta:focus-visible { outline: 2px solid var(--brand-accent, #cd3e2d); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  #nav-cta:hover, #nav-cta:hover::after, #nav-mobile-cta:hover::after { transform: none; }
}
#nav-hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer;
  padding: 6px; margin-left: auto; border-radius: 6px; transition: background 0.15s ease;
}
#nav-hamburger:hover { background: rgba(0,0,0,0.05); }
#nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--brand-fg, #111111); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
#nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
#nav-mobile-panel {
  display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--brand-bg, #ffffff); overflow-y: auto; padding: 1.5rem 1.5rem 2rem;
  flex-direction: column; gap: 0.25rem; border-top: 1px solid rgba(0,0,0,0.07);
}
#nav-mobile-panel.open { display: flex; }
.nav-mobile-link, .nav-mobile-parent {
  display: block; width: 100%; text-align: left; padding: 0.75rem 0.75rem; font-size: 1rem; font-weight: 500;
  color: var(--brand-fg, #111111); text-decoration: none; border-radius: 8px; border: none; background: none;
  cursor: pointer; font-family: var(--font-body, 'Inter', system-ui, sans-serif); transition: color 0.15s ease, background 0.15s ease;
}
.nav-mobile-link:hover, .nav-mobile-parent:hover { color: var(--brand-accent, #cd3e2d); background: rgba(205, 62, 45, 0.06); }
.nav-mobile-link.nav-active { color: var(--brand-accent, #cd3e2d); }
.nav-mobile-group { display: flex; flex-direction: column; }
.nav-mobile-parent { display: flex; align-items: center; justify-content: space-between; }
.nav-mobile-children { display: none; flex-direction: column; padding-left: 1rem; border-left: 2px solid rgba(205, 62, 45, 0.15); margin-left: 0.75rem; margin-top: 0.25rem; margin-bottom: 0.25rem; gap: 0; }
.nav-mobile-children.open { display: flex; }
.nav-mobile-children a { display: block; padding: 0.6rem 0.75rem; font-size: 0.9rem; font-weight: 500; color: var(--brand-fg, #111111); text-decoration: none; border-radius: 6px; font-family: var(--font-body, 'Inter', system-ui, sans-serif); transition: color 0.15s ease, background 0.15s ease; }
.nav-mobile-children a:hover { color: var(--brand-accent, #cd3e2d); background: rgba(205, 62, 45, 0.06); }
.nav-mobile-children a.nav-active { color: var(--brand-accent, #cd3e2d); }
#nav-mobile-cta { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 52px; padding: 0.35rem 0.35rem 0.35rem 1.35rem; font-size: 0.95rem; font-weight: 600; color: #ffffff; background: linear-gradient(135deg, var(--brand-accent, #cd3e2d), var(--brand-accent-2, #942d20)); border-radius: 999px; text-decoration: none; margin-top: 1rem; font-family: var(--font-body, 'Inter', system-ui, sans-serif); box-shadow: 0 10px 24px -8px rgba(205, 62, 45, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
#nav-mobile-cta::after { width: 40px; height: 40px; background-size: 15px; }
#nav-mobile-tag { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--text-muted, #7a7673); padding: 0.5rem 0.75rem 1rem; border-bottom: 1px solid rgba(0,0,0,0.07); margin-bottom: 0.5rem; }
#nav-mobile-tag img { height: 28px; width: auto; max-width: 42px; object-fit: contain; flex-shrink: 0; }
#nav-mobile-tag a { color: var(--text-secondary, #4a4845); font-weight: 600; text-decoration: none; }
#nav-mobile-tag a:hover, #nav-mobile-tag a:focus-visible { color: var(--brand-accent, #cd3e2d); }

/* ── 7. Dropdowns ─────────────────────────────────────────────────────── */
.nav-chevron { width: 14px; height: 14px; opacity: 0.5; transition: transform 0.2s ease, opacity 0.2s ease; flex-shrink: 0; }
.nav-dropdown-wrap:hover .nav-chevron, .nav-dropdown-wrap.open .nav-chevron { transform: rotate(180deg); opacity: 0.8; }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-6px);
  min-width: 200px; background: var(--brand-bg, #ffffff); border: 1px solid rgba(0,0,0,0.09);
  border-radius: 10px; box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  padding: 0.5rem; list-style: none; margin: 0; opacity: 0; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.nav-dropdown-wrap:hover .nav-dropdown, .nav-dropdown-wrap.open .nav-dropdown {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-dropdown li a {
  display: block; padding: 0.55rem 0.9rem; font-size: 0.855rem; font-weight: 500;
  color: var(--brand-fg, #111111); text-decoration: none; border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease; white-space: nowrap;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
}
.nav-dropdown li a:hover { color: var(--brand-accent, #cd3e2d); background: rgba(205, 62, 45, 0.06); }
.nav-dropdown li a.nav-active { color: var(--brand-accent, #cd3e2d); }

/* ── 8. Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out), transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
  text-decoration: none;
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  text-shadow: none;
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(205,62,45,0.28);
}
.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--panel-border);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}
@media (pointer: coarse) {
  .btn { min-height: 44px; }
}

/* ── 9. Hero Sections ─────────────────────────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--space-xl) + 3rem) var(--space-lg);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  z-index: 0;
}
.page-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(250,250,249,0.97) 0%, rgba(250,250,249,0.88) 40%, rgba(250,250,249,0.6) 70%, rgba(250,250,249,0.35) 100%);
  z-index: 1;
}
.page-hero.no-image .page-hero-scrim { background: var(--canvas); }
.page-hero.no-image { min-height: auto; padding-block: calc(var(--space-xl) + 2rem) var(--space-lg); }
.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.page-hero-inner {
  max-width: 720px;
}
.page-hero-kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: 2px;
}
.page-hero-inner h1 {
  margin-bottom: 1.5rem;
}
.page-hero-inner .hero-body {
  margin-bottom: 2rem;
  max-width: 62ch;
}
.page-hero-inner .hero-body p { font-size: 1.05rem; }
.page-hero-inner .hero-body p + p {
  margin-top: 1rem;
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
/* The ghost CTA is otherwise fully transparent, so on a hero photo it depended
   entirely on the diagonal scrim being opaque exactly where the button sits —
   not guaranteed on every image/viewport height. Giving it its own solid
   backdrop keeps both hero CTAs legible regardless of the photo behind them. */
.page-hero-actions .btn--ghost {
  background: rgba(255,255,255,0.92);
  border-color: rgba(17,17,17,0.14);
  backdrop-filter: blur(2px);
}
.page-hero-actions .btn--ghost:hover {
  background: rgba(255,255,255,1);
}

/* ── 10. Common Sections ──────────────────────────────────────────────── */
section { padding-block: var(--space-xl); }
section:nth-child(even) { background: var(--panel); }

.section-header { margin-bottom: var(--space-lg); max-width: 720px; }
.section-header h2 { margin-bottom: 0.75rem; }

.copy-block { max-width: 760px; }
.copy-block p { margin-bottom: 1.1rem; font-size: 1.02rem; }
.copy-block p:last-child { margin-bottom: 0; }

.policy-callout {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--accent-subtle);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.policy-callout p {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  max-width: none;
}
.policy-callout p + p { margin-top: 0.6rem; font-weight: 400; }

.split-band { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); align-items: stretch; }
.split-image-col { border-radius: var(--radius-lg); overflow: hidden; min-height: 320px; }
.split-image-col img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.split-image-col:hover img { transform: scale(1.045); }
.split-content-col { display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; }
.split-content-col p { max-width: none; }
.split-band.reverse .split-image-col { order: 2; }

.simple-list { max-width: 760px; }
.simple-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.85rem;
  font-size: 1rem;
  color: var(--text-secondary);
}
.simple-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.simple-list li strong { color: var(--text-primary); }

.next-links {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--panel-border);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}
.next-links a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.next-links a:hover { color: var(--accent-hover); }

/* Marquee (homepage capability strip) */
.marquee-section { padding-block: 1.25rem; background: var(--text-primary); overflow: hidden; }
.marquee-track { display: flex; gap: 0; animation: marqueeScroll 32s linear infinite; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item { display: inline-flex; align-items: center; gap: 1.5rem; padding-inline: 2rem; color: rgba(255,255,255,0.72); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.marquee-item::after { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* Closing CTA band */
/* `section` prefix ties specificity with `section:nth-child(even)` above so this
   always wins regardless of the section's position in the page (fixes washed-out
   sections where the even/odd zebra rule was silently overriding the intended background). */
section.closing-cta-section {
  background: var(--text-primary);
  color: #fff;
  text-align: center;
  padding-block: var(--space-2xl);
}
.closing-cta-inner { max-width: 680px; margin-inline: auto; }
.closing-cta-section .kicker { color: rgba(255,255,255,0.5); }
.closing-cta-section h2 { color: #fff; margin-bottom: 1.25rem; }
.closing-cta-section p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; max-width: 58ch; margin-inline: auto; }
.closing-cta-section .btn--ghost { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.25); }
.closing-cta-section .btn--ghost:hover { border-color: #fff; color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* ── 11. Cards ────────────────────────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pillars-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.pillar-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s var(--ease-out);
}
.pillar-card:hover { border-color: var(--accent-border); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.pillar-card:hover::before { opacity: 1; }
.pillar-number {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}
.pillar-card h3 { margin-bottom: 0.75rem; font-size: 1.05rem; font-weight: 600; }
.pillar-card p { font-size: 0.9rem; color: var(--text-secondary); max-width: none; line-height: 1.65; }

/* Benchmarks page — "Reference Point" and "Segment-First" feature sections.
   All rules are scoped to bm-* classes so no other page is affected. */
section.bm-ref-section,
section.bm-seg-section { position: relative; overflow: clip; }
section.bm-ref-section {
  background:
    radial-gradient(ellipse 60% 70% at 0% 0%, rgba(205, 62, 45, 0.07), transparent 70%),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(205, 62, 45, 0.05), transparent 70%),
    var(--panel);
}
section.bm-seg-section {
  background:
    radial-gradient(ellipse 55% 60% at 100% 0%, rgba(205, 62, 45, 0.06), transparent 70%),
    var(--canvas);
}
.bm-ref-section .container,
.bm-seg-section .container { position: relative; }

.bm-header { margin-bottom: 1.75rem; }
.bm-header h2 { margin-bottom: 0; letter-spacing: -0.01em; }
.bm-header-rule {
  display: block;
  width: 48px; height: 3px;
  margin-bottom: 1.25rem;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
}

/* Reference Point: intro row, target-vs-reference comparison, disclosure checklist */
.bm-ref-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.bm-ref-head .bm-header { margin-bottom: 0; }
.bm-ref-lead { max-width: 58ch; font-size: 1.05rem; line-height: 1.75; color: var(--text-secondary); margin: 0; }

.bm-ref-compare {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.bm-ref-side {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--panel-border);
  overflow: hidden;
}
.bm-ref-side p { max-width: none; font-size: 0.98rem; line-height: 1.7; color: var(--text-secondary); margin: 0 0 1.5rem; }
.bm-ref-side .bm-ref-question {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 600; line-height: 1.35; letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.bm-ref-side--target { background: var(--canvas); }
.bm-ref-side--target .bm-ref-question { color: var(--text-secondary); }
.bm-ref-side--ref {
  background: linear-gradient(135deg, rgba(205, 62, 45, 0.06), #fff 55%), #fff;
  border-color: var(--accent-border);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 20px 44px -20px rgba(17, 17, 17, 0.18);
}
.bm-ref-side--ref::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover) 60%, transparent);
}
.bm-ref-tag {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.bm-ref-tag svg { width: 14px; height: 14px; }
.bm-ref-tag--no { color: var(--text-secondary); background: rgba(17, 17, 17, 0.05); border: 1px solid var(--panel-border); }
.bm-ref-tag--yes { color: var(--accent); background: var(--accent-subtle); border: 1px solid var(--accent-border); }
.bm-ref-target-figure {
  margin-top: auto;
  display: flex; align-items: baseline; gap: 0.6rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--panel-border);
}
.bm-ref-target-figure span {
  font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; line-height: 1;
  color: rgba(17, 17, 17, 0.28);
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
}
.bm-ref-target-figure small { font-size: 0.85rem; color: var(--text-secondary); }

.bm-ref-visual {
  position: relative;
  margin-top: auto;
  padding: 1.25rem 1.25rem 1rem;
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.bm-ref-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(17, 17, 17, 0.06) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  pointer-events: none;
}
.bm-ref-visual svg { position: relative; width: 100%; height: auto; }
.bm-curve-line { stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.4s var(--ease-out) 0.3s; }
.bm-ref-side.in .bm-curve-line { stroke-dashoffset: 0; }
.bm-marker-pulse { transform-box: fill-box; transform-origin: center; animation: bmPulse 2.4s var(--ease-out) infinite; }
@keyframes bmPulse {
  0%   { transform: scale(1);   opacity: 0.35; }
  70%  { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}

.bm-ref-disclosure {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #111111;
  color: #fff;
  border-radius: var(--radius-lg);
}
.bm-ref-disclosure .bm-card-icon { margin-bottom: 1rem; background: rgba(205, 62, 45, 0.16); border-color: rgba(205, 62, 45, 0.45); }
.bm-ref-section .bm-ref-disclosure h3 { color: #fff; font-size: 1.2rem; line-height: 1.3; margin: 0 0 0.5rem; }
.bm-ref-disclosure p { max-width: none; font-size: 0.95rem; line-height: 1.65; color: rgba(255, 255, 255, 0.7); margin: 0; }
.bm-ref-checklist {
  list-style: none; margin: 0; padding: 0;
  counter-reset: bmdisc;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.5rem;
}
.bm-ref-checklist li {
  counter-increment: bmdisc;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}
.bm-ref-checklist li::before {
  content: counter(bmdisc, decimal-leading-zero);
  font-size: 0.75rem; font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.bm-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
}
.bm-card-icon svg { width: 22px; height: 22px; }

/* Segment-First: heading + lead, labelled chart beside two driver stats */
.bm-seg-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.bm-seg-head .bm-header { margin-bottom: 0; }
.bm-seg-lead { max-width: 58ch; margin: 0; font-size: 1.05rem; line-height: 1.75; color: var(--text-secondary); }
.bm-seg-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.25rem;
}
.bm-seg-chart {
  margin: 0;
  display: flex; flex-direction: column;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 24px 50px -24px rgba(17, 17, 17, 0.18);
}
.bm-seg-chart-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}
.bm-seg-chart-title { font-weight: 600; color: var(--text-primary); }
.bm-seg-legend { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--text-secondary); }
.bm-seg-key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--accent); }
.bm-seg-key--avg { width: 18px; height: 0; border-radius: 0; background: none; border-top: 2px dashed #111111; margin-left: 0.5rem; }
.bm-seg-chart figcaption {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--panel-border);
  font-size: 1rem; line-height: 1.6; font-style: italic;
  color: var(--text-primary);
}
.bm-seg-visual {
  position: relative;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--canvas), var(--panel));
  border: 1px solid var(--panel-border);
}
.bm-seg-drivers { display: grid; gap: 1.25rem; }
.bm-seg-driver {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.bm-seg-driver::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent);
}
.bm-seg-driver-label {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.bm-seg-driver-stat {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem;
  font-size: clamp(1.9rem, 3.6vw, 2.5rem); font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.bm-seg-driver-stat > span[aria-hidden] { color: var(--accent); font-weight: 500; }
.bm-seg-driver-stat small { font-size: 0.95rem; font-weight: 500; letter-spacing: 0; color: var(--text-secondary); }
.bm-seg-driver p { max-width: none; margin: 0; font-size: 0.95rem; line-height: 1.65; color: var(--text-secondary); }
.bm-seg-people { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.9rem; }
.bm-seg-people-row { display: inline-flex; gap: 4px; }
.bm-seg-people-row i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); opacity: 0.85; }
.bm-seg-people-row:first-child i { background: #111111; opacity: 0.6; }
.bm-seg-people-vs { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; color: var(--text-secondary); }
.bm-seg-visual svg { width: 100%; height: auto; }
.bm-bar {
  transform-box: fill-box;
  transform-origin: bottom;
  transform: scaleY(0.08);
  transition: transform 0.9s var(--ease-out);
}
.bm-seg-chart.in .bm-bar { transform: scaleY(1); }
.bm-seg-chart.in .bm-bar:nth-child(2) { transition-delay: 0.08s; }
.bm-seg-chart.in .bm-bar:nth-child(3) { transition-delay: 0.16s; }
.bm-seg-chart.in .bm-bar:nth-child(4) { transition-delay: 0.24s; }
.bm-seg-chart.in .bm-bar:nth-child(5) { transition-delay: 0.32s; }
.bm-seg-chart.in .bm-bar:nth-child(6) { transition-delay: 0.40s; }
.bm-avg-line { opacity: 0; transition: opacity 0.6s var(--ease-out) 0.8s; }
.bm-seg-chart.in .bm-avg-line { opacity: 0.7; }

@media (max-width: 960px) {
  .bm-ref-head, .bm-ref-compare, .bm-ref-disclosure { grid-template-columns: 1fr; }
  .bm-seg-head, .bm-seg-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .bm-ref-checklist { grid-template-columns: 1fr; }
  .bm-ref-visual, .bm-seg-visual { padding: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .bm-curve-line { stroke-dashoffset: 0; }
  .bm-bar { transform: none; }
  .bm-avg-line { opacity: 0.7; }
  .bm-marker-pulse { animation: none; }
}

/* Evidence Hierarchy: tiered visual on the left, copy card on the right */
section.bm-ev-section {
  position: relative;
  background:
    radial-gradient(ellipse 45% 65% at 0% 50%, rgba(205, 62, 45, 0.06), transparent 70%),
    linear-gradient(180deg, var(--panel), #f7f6f4);
  border-block: 1px solid var(--panel-border);
}
.bm-ev-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.bm-ev-visual {
  position: relative;
  padding: 2rem 2rem 2rem 3.25rem;
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 18px 40px -18px rgba(17, 17, 17, 0.14);
}
.bm-ev-rail {
  position: absolute;
  left: 1.5rem; top: 2rem; bottom: 2rem;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), rgba(205, 62, 45, 0.12));
}
.bm-ev-rail::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -2px;
  width: 9px; height: 9px;
  border-right: 2px solid rgba(205, 62, 45, 0.35);
  border-bottom: 2px solid rgba(205, 62, 45, 0.35);
  transform: translateX(-50%) rotate(45deg);
}
.bm-ev-visual svg { width: 100%; height: auto; }
.bm-tier {
  transform-box: fill-box;
  transform-origin: center;
  transform: scaleX(0.6);
  transition: transform 0.8s var(--ease-out);
}
.bm-ev-visual.in .bm-tier { transform: scaleX(1); }
.bm-ev-visual.in .bm-tier:nth-child(2) { transition-delay: 0.08s; }
.bm-ev-visual.in .bm-tier:nth-child(3) { transition-delay: 0.16s; }
.bm-ev-visual.in .bm-tier:nth-child(4) { transition-delay: 0.24s; }
.bm-ev-visual.in .bm-tier:nth-child(5) { transition-delay: 0.32s; }

.bm-ev-card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.25rem) clamp(1.75rem, 3.5vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 12px 32px -16px rgba(17, 17, 17, 0.12);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.bm-ev-card::before {
  content: '';
  position: absolute;
  left: -1px; top: 1.5rem; bottom: 1.5rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--accent), rgba(205, 62, 45, 0.15));
}
.bm-ev-card:hover { border-color: var(--accent-border); box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 20px 44px -18px rgba(17, 17, 17, 0.18); }
.bm-ev-card p { max-width: none; font-size: 1.04rem; line-height: 1.8; color: var(--text-primary); }

/* False Precision: centred composition, range-vs-point strip above the copy */
section.bm-fp-section {
  position: relative;
  background:
    radial-gradient(ellipse 60% 55% at 50% 100%, rgba(205, 62, 45, 0.06), transparent 70%),
    var(--canvas);
}
.bm-fp-header { max-width: 760px; margin-inline: auto; text-align: center; }
.bm-fp-header .bm-header-rule { margin-inline: auto; }
.bm-fp-duel {
  max-width: 980px;
  margin: 0 auto 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.bm-fp-side {
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--panel-border);
  background: var(--panel);
}
.bm-fp-side--honest {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(205, 62, 45, 0.06), #fff 55%), #fff;
  border-color: var(--accent-border);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 24px 50px -24px rgba(17, 17, 17, 0.2);
}
.bm-fp-side--honest::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover) 60%, transparent);
}
.bm-fp-tag {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-secondary); background: rgba(17, 17, 17, 0.05); border: 1px solid var(--panel-border);
  margin-bottom: 1.5rem;
}
.bm-fp-tag svg { width: 14px; height: 14px; }
.bm-fp-tag--yes { color: var(--accent); background: var(--accent-subtle); border-color: var(--accent-border); }
.bm-fp-figure { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.bm-fp-figure span {
  font-size: clamp(2.6rem, 5.5vw, 3.75rem); font-weight: 700; line-height: 1;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}
.bm-fp-side--false .bm-fp-figure span { color: rgba(17, 17, 17, 0.4); }
.bm-fp-side--honest .bm-fp-figure span { color: var(--accent); }
.bm-fp-figure small { font-size: 0.85rem; color: var(--text-secondary); }
.bm-fp-chart { width: 100%; height: auto; max-height: 70px; margin-bottom: 1.25rem; }
.bm-fp-range { stroke-dasharray: 130; stroke-dashoffset: 130; transition: stroke-dashoffset 1s var(--ease-out) 0.4s; }
.bm-fp-side.in .bm-fp-range { stroke-dashoffset: 0; }
.bm-fp-side p { max-width: none; margin: auto 0 0; font-size: 0.98rem; line-height: 1.7; color: var(--text-secondary); }
.bm-fp-vs {
  align-self: center;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #111111; color: #fff;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
}
.bm-fp-rule {
  max-width: 980px;
  margin-inline: auto;
  display: flex; align-items: center; gap: 1.25rem;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
  background: #111111;
  border-radius: var(--radius-lg);
}
.bm-fp-rule .bm-card-icon { flex-shrink: 0; background: rgba(205, 62, 45, 0.16); border-color: rgba(205, 62, 45, 0.45); }
.bm-fp-rule p { max-width: none; margin: 0; font-size: 1rem; line-height: 1.7; color: rgba(255, 255, 255, 0.78); }
.bm-fp-rule strong { color: #fff; }

@media (max-width: 760px) {
  .bm-fp-duel { grid-template-columns: 1fr; }
  .bm-fp-vs { justify-self: center; margin-block: -0.25rem; }
}
@media (max-width: 600px) {
  .bm-fp-rule { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .bm-fp-range { stroke-dashoffset: 0; }
}

@media (max-width: 960px) {
  .bm-ev-layout { grid-template-columns: 1fr; }
  .bm-ev-visual { order: 2; max-width: 520px; }
}
@media (max-width: 600px) {
  .bm-ev-visual { padding: 1.25rem 1.25rem 1.25rem 2.5rem; }
  .bm-ev-rail { left: 1.1rem; top: 1.25rem; bottom: 1.25rem; }
  .bm-ev-card p { font-size: 1rem; line-height: 1.7; }
  .bm-fp-header { text-align: left; }
  .bm-fp-header .bm-header-rule { margin-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bm-tier { transform: none; }
}

/* Benchmarks closing CTA: full-bleed image section (no card) */
section.closing-cta-section.bm-cta-section {
  position: relative;
  overflow: clip;
  isolation: isolate;
  background: #111111;
  text-align: left;
  padding-block: 0;
  min-height: clamp(520px, 62vh, 680px);
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(205, 62, 45, 0.45);
}
.bm-cta-bg {
  position: absolute; inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: 70% 50%;
  background-repeat: no-repeat;
  transform: scale(1.03);
  transition: transform 1.6s var(--ease-out);
}
.bm-cta-section:hover .bm-cta-bg { transform: scale(1.06); }
.bm-cta-overlay {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.92) 0%, rgba(17, 17, 17, 0.78) 38%, rgba(17, 17, 17, 0.35) 70%, rgba(17, 17, 17, 0.15) 100%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.35) 0%, transparent 25%, transparent 75%, rgba(17, 17, 17, 0.5) 100%),
    radial-gradient(ellipse 45% 60% at 0% 100%, rgba(205, 62, 45, 0.22), transparent 70%);
}
.bm-cta-container { position: relative; width: 100%; padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.bm-cta-content { max-width: 680px; }

.closing-cta-section .bm-cta-kicker {
  display: inline-flex; align-items: center; gap: 0.65rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.78);
}
.bm-cta-kicker::before {
  content: '';
  width: 28px; height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.bm-cta-section h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.bm-cta-section .bm-cta-content p {
  max-width: 62ch;
  margin-inline: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
}
.bm-cta-section .bm-cta-content p strong { color: #fff; font-weight: 600; }

.bm-cta-row { justify-content: flex-start; gap: 0.9rem; }
.bm-cta-row .btn { border-radius: var(--radius-md); }
.bm-cta-row .btn--primary { box-shadow: 0 10px 28px -10px rgba(205, 62, 45, 0.7); }
.bm-cta-row .btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(205, 62, 45, 0.85);
}
.bm-cta-arrow { width: 16px; height: 16px; transition: transform 0.2s var(--ease-out); }
.bm-cta-row .btn--primary:hover .bm-cta-arrow { transform: translateX(3px); }
.closing-cta-section .bm-cta-row .btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.closing-cta-section .bm-cta-row .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

@media (min-width: 601px) {
  .bm-cta-row { flex-wrap: nowrap; width: max-content; max-width: calc(100vw - 3rem); }
  .bm-cta-row .btn { white-space: nowrap; }
}
@media (max-width: 960px) {
  section.closing-cta-section.bm-cta-section { min-height: 0; }
  .bm-cta-bg { background-position: 60% 50%; }
  .bm-cta-overlay {
    background:
      linear-gradient(90deg, rgba(17, 17, 17, 0.88) 0%, rgba(17, 17, 17, 0.7) 60%, rgba(17, 17, 17, 0.45) 100%),
      radial-gradient(ellipse 60% 50% at 0% 100%, rgba(205, 62, 45, 0.2), transparent 70%);
  }
}
@media (min-width: 601px) and (max-width: 960px) {
  .bm-cta-row .btn--lg { padding: 0.9rem 1.15rem; font-size: 0.92rem; }
}
@media (max-width: 600px) {
  .bm-cta-bg { background-position: 35% 50%; }
  .bm-cta-overlay {
    background:
      linear-gradient(180deg, rgba(17, 17, 17, 0.6) 0%, rgba(17, 17, 17, 0.82) 45%, rgba(17, 17, 17, 0.9) 100%),
      radial-gradient(ellipse 80% 40% at 0% 100%, rgba(205, 62, 45, 0.22), transparent 70%);
  }
  .bm-cta-row { flex-direction: column; align-items: stretch; }
  .bm-cta-row .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
  .bm-cta-section .bm-cta-content p { font-size: 1rem; line-height: 1.7; margin-bottom: 2rem; }
}
/* Closing CTA: three next-step path cards */
.bm-cta-section .bm-cta-content p { margin-bottom: 2.25rem; }
.bm-cta-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.bm-cta-path {
  display: flex; flex-direction: column;
  padding: 1.5rem 1.5rem 1.35rem;
  border-radius: var(--radius-md);
  background: rgba(17, 17, 17, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, background 0.25s;
}
.bm-cta-path:hover, .bm-cta-path:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(17, 17, 17, 0.7);
  color: #fff;
}
.bm-cta-path--featured {
  background: linear-gradient(160deg, rgba(205, 62, 45, 0.32), rgba(17, 17, 17, 0.6) 70%);
  border-color: rgba(205, 62, 45, 0.6);
  box-shadow: 0 14px 36px -16px rgba(205, 62, 45, 0.7);
}
.bm-cta-path--featured:hover, .bm-cta-path--featured:focus-visible {
  border-color: var(--accent);
  background: linear-gradient(160deg, rgba(205, 62, 45, 0.42), rgba(17, 17, 17, 0.65) 70%);
}
.bm-cta-path-num {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.9rem;
}
.bm-cta-path--featured .bm-cta-path-num { color: #fff; }
.bm-cta-section .bm-cta-path h3 { font-size: 1.15rem; color: #fff; margin: 0 0 0.5rem; }
.bm-cta-section .bm-cta-path p {
  font-size: 0.92rem; line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 1.25rem;
}
.bm-cta-path-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; font-size: 0.92rem;
}
.bm-cta-path:hover .bm-cta-arrow, .bm-cta-path:focus-visible .bm-cta-arrow { transform: translateX(3px); }
@media (max-width: 960px) {
  .bm-cta-paths { grid-template-columns: 1fr; max-width: 560px; }
}

@media (prefers-reduced-motion: reduce) {
  .bm-cta-bg, .bm-cta-section:hover .bm-cta-bg { transform: none; }
  .bm-cta-path, .bm-cta-path:hover { transform: none; }
}

/* Benchmarks FAQ: two-column accordion. Answers stay visible until the
   script adds .is-ready, so content is never hidden without JS. */
section.faq-section.bm-faq-section {
  background:
    radial-gradient(ellipse 45% 60% at 0% 0%, rgba(205, 62, 45, 0.05), transparent 70%),
    var(--panel);
}
.bm-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.bm-faq-header { position: sticky; top: 104px; margin-bottom: 0; }
.bm-faq-header h2 { letter-spacing: -0.01em; }
.bm-faq-header::after {
  content: '';
  display: block;
  width: 48px; height: 3px;
  margin-top: 1.25rem;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
}

.faq-list.bm-faq-list { max-width: none; border-top: 1px solid var(--panel-border); }
.faq-item.bm-faq-item {
  position: relative;
  padding: 0;
  border-bottom: 1px solid var(--panel-border);
}
.faq-item.bm-faq-item:first-child { padding-top: 0; }
.bm-faq-item::before {
  content: '';
  position: absolute;
  left: 0; top: -1px; bottom: -1px;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease-out);
}
.bm-faq-item.is-open::before { transform: scaleY(1); }
.faq-item h3.bm-faq-q { margin: 0; font-size: inherit; }

.bm-faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.5rem 0.25rem 1.5rem 1.25rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.bm-faq-trigger:hover { color: var(--accent); }
.bm-faq-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.bm-faq-item.is-open .bm-faq-trigger { color: var(--text-primary); }

.bm-faq-icon {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  color: var(--text-secondary);
  background: #fff;
  border: 1px solid var(--panel-border);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
  transition: color 0.25s var(--ease-out), background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.35s var(--ease-out);
}
.bm-faq-icon svg { width: 14px; height: 14px; }
.bm-faq-icon-v { transform-origin: center; transform-box: fill-box; transition: transform 0.35s var(--ease-out); }
.bm-faq-trigger:hover .bm-faq-icon { color: var(--accent); border-color: var(--accent-border); }
.bm-faq-item.is-open .bm-faq-icon {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(180deg);
}
.bm-faq-item.is-open .bm-faq-icon-v { transform: scaleY(0); }

.bm-faq-panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}
.bm-faq-list.is-ready .bm-faq-item:not(.is-open) .bm-faq-panel { grid-template-rows: 0fr; }
.bm-faq-panel-inner { overflow: hidden; min-height: 0; }
.faq-item.bm-faq-item .bm-faq-panel-inner p {
  max-width: 64ch;
  padding: 0 3.5rem 1.6rem 1.25rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  opacity: 1;
  transition: opacity 0.3s var(--ease-out);
}
.bm-faq-list.is-ready .bm-faq-item:not(.is-open) .bm-faq-panel-inner p { opacity: 0; }

@media (max-width: 960px) {
  .bm-faq-layout { grid-template-columns: 1fr; gap: 2rem; }
  .bm-faq-header { position: static; }
}
@media (max-width: 600px) {
  .bm-faq-trigger { padding: 1.25rem 0 1.25rem 1rem; gap: 1rem; }
  .bm-faq-icon { width: 30px; height: 30px; }
  .faq-item.bm-faq-item .bm-faq-panel-inner p { padding: 0 0.5rem 1.35rem 1rem; font-size: 0.97rem; }
}

/* Benchmarks categories explorer: tab list + detail panel + CTA strip.
   Without JS (.is-ready absent) every panel shows stacked and the
   tab list / progress / step controls are hidden. */
section.bm-cat-section {
  position: relative;
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(205, 62, 45, 0.05), transparent 70%),
    var(--canvas);
}
.bm-cat-header { margin-bottom: clamp(2rem, 4vw, 3rem); }
.bm-cat-header h2 { letter-spacing: -0.01em; }

.bm-cat-explorer {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: stretch;
}
.bm-cat-explorer:not(.is-ready) { grid-template-columns: minmax(0, 1fr); }
.bm-cat-explorer:not(.is-ready) .bm-cat-nav,
.bm-cat-explorer:not(.is-ready) .bm-cat-progress,
.bm-cat-explorer:not(.is-ready) .bm-cat-steps { display: none; }
.bm-cat-explorer:not(.is-ready) .bm-cat-panels { display: grid; gap: 1rem; }

/* Tab list with vertical progress track */
.bm-cat-nav { position: relative; padding-left: 1.25rem; }
.bm-cat-track {
  position: absolute;
  left: 0; top: 0.5rem; bottom: 0.5rem;
  width: 3px;
  border-radius: 3px;
  background: var(--panel-border);
  overflow: hidden;
}
.bm-cat-track-fill {
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-hover));
  transform-origin: top;
  transform: scaleY(var(--bm-cat-fill, 0.1667));
  transition: transform 0.5s var(--ease-out);
}
.bm-cat-tablist { display: flex; flex-direction: column; gap: 0.4rem; }
.bm-cat-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 0.9rem 1rem;
  text-align: left;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.bm-cat-tab:hover { background: rgba(255, 255, 255, 0.7); color: var(--text-primary); transform: translateX(3px); }
.bm-cat-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bm-cat-tab[aria-selected="true"] {
  background: #fff;
  border-color: var(--accent-border);
  color: var(--text-primary);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 10px 26px -14px rgba(17, 17, 17, 0.18);
  transform: none;
}
.bm-cat-tab-icon {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  color: var(--text-muted);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.bm-cat-tab-icon svg { width: 19px; height: 19px; }
.bm-cat-tab:hover .bm-cat-tab-icon { color: var(--accent); }
.bm-cat-tab[aria-selected="true"] .bm-cat-tab-icon { color: #fff; background: var(--accent); border-color: var(--accent); }
.bm-cat-tab-name {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}
.bm-cat-tab-seen {
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--panel-border);
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.bm-cat-tab.is-seen .bm-cat-tab-seen { background: var(--accent-border); border-color: var(--accent-border); }
.bm-cat-tab[aria-selected="true"] .bm-cat-tab-seen { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); }

/* Detail stage */
.bm-cat-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: calc(var(--radius-lg) + 4px);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 24px 56px -28px rgba(17, 17, 17, 0.2);
  overflow: hidden;
}
.bm-cat-stage::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(205, 62, 45, 0.08), transparent 70%);
  pointer-events: none;
}
.bm-cat-explorer:not(.is-ready) .bm-cat-stage { padding: 0; background: none; border: 0; box-shadow: none; }
.bm-cat-explorer:not(.is-ready) .bm-cat-stage::after { display: none; }
.bm-cat-explorer:not(.is-ready) .bm-cat-panel {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
}

.bm-cat-progress { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.bm-cat-seg {
  height: 4px;
  border-radius: 4px;
  background: var(--panel-border);
  transition: background 0.35s var(--ease-out);
}
.bm-cat-seg.is-seen { background: var(--accent-border); }
.bm-cat-seg.is-active { background: var(--accent); }

.bm-cat-panels { position: relative; flex: 1; display: flex; flex-direction: column; }
.bm-cat-panel { position: relative; display: flex; flex-direction: column; flex: 1; }
.bm-cat-panel[hidden] { display: none; }
.bm-cat-panel:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: var(--radius-md); }
.bm-cat-explorer.is-ready .bm-cat-panel.is-active { animation: bmCatIn 0.45s var(--ease-out); }
@keyframes bmCatIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.bm-cat-panel-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.bm-cat-panel-icon {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px;
  border-radius: 16px;
  color: var(--accent);
  background: linear-gradient(145deg, rgba(205, 62, 45, 0.12), rgba(205, 62, 45, 0.04));
  border: 1px solid var(--accent-border);
}
.bm-cat-panel-icon svg { width: 28px; height: 28px; }
.bm-cat-panel-head h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.01em; }

.bm-cat-rows { display: grid; gap: 0.75rem; }
.bm-cat-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.25rem;
  background: var(--canvas);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.bm-cat-row:hover { border-color: var(--accent-border); background: #fff; }
.bm-cat-row-mark {
  width: 10px; height: 10px;
  margin-top: 0.45em;
  border-radius: 3px;
  background: var(--accent);
}
.bm-cat-row-mark--seg {
  background: transparent;
  border: 2px solid var(--accent);
}
.bm-cat-row p { max-width: none; font-size: 1.02rem; line-height: 1.6; color: var(--text-primary); }
.bm-cat-row p strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.bm-cat-steps {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: clamp(1.25rem, 3vw, 2rem);
}
.bm-cat-step {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.6rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: #fff;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.bm-cat-step svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease-out); }
.bm-cat-step:hover { color: var(--accent); border-color: var(--accent-border); background: var(--accent-subtle); }
.bm-cat-step--next { margin-left: auto; }
.bm-cat-step--next:hover svg { transform: translateX(3px); }
.bm-cat-step--prev:hover svg { transform: translateX(-3px); }
.bm-cat-step:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* CTA strip (reuses the page's existing CTAs) */
.bm-cat-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding: clamp(1.1rem, 2.5vw, 1.5rem) clamp(1.1rem, 2.5vw, 1.75rem);
  border: 1px dashed var(--accent-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, var(--accent-subtle), transparent 80%);
}
.bm-cat-cta .btn { border-radius: var(--radius-md); }
.bm-cat-cta .btn--primary { box-shadow: 0 10px 24px -12px rgba(205, 62, 45, 0.7); }
.bm-cat-cta .btn--primary:hover { transform: translateY(-2px); }
.bm-cat-cta .btn--ghost { background: #fff; }
.bm-cat-cta .btn--ghost:hover { transform: translateY(-2px); }
.bm-cat-cta-arrow { width: 16px; height: 16px; transition: transform 0.2s var(--ease-out); }
.bm-cat-cta .btn--primary:hover .bm-cat-cta-arrow { transform: translateX(3px); }

@media (max-width: 960px) {
  .bm-cat-explorer { grid-template-columns: minmax(0, 1fr); }
  .bm-cat-nav { padding-left: 0; margin-inline: -1.5rem; }
  .bm-cat-track { display: none; }
  .bm-cat-tablist {
    flex-direction: row;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.25rem 1.5rem 0.75rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    scroll-padding-inline: 1.5rem;
  }
  .bm-cat-tablist::-webkit-scrollbar { display: none; }
  .bm-cat-tab {
    width: auto;
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 0.6rem 0.9rem 0.6rem 0.6rem;
    border-color: var(--panel-border);
    background: #fff;
    border-radius: 999px;
  }
  .bm-cat-tab:hover { transform: none; }
  .bm-cat-tab-icon { width: 30px; height: 30px; border-radius: 50%; }
  .bm-cat-tab-icon svg { width: 16px; height: 16px; }
  .bm-cat-tab-name { font-size: 0.92rem; white-space: nowrap; }
  .bm-cat-tab-seen { width: 8px; height: 8px; }
}
@media (max-width: 600px) {
  .bm-cat-panel-icon { width: 48px; height: 48px; border-radius: 12px; }
  .bm-cat-panel-icon svg { width: 22px; height: 22px; }
  .bm-cat-row { padding: 0.95rem 1rem; gap: 0.8rem; }
  .bm-cat-row p { font-size: 0.98rem; }
  .bm-cat-steps { flex-wrap: wrap; }
  .bm-cat-step { font-size: 0.82rem; }
  .bm-cat-cta { flex-direction: column; align-items: stretch; }
  .bm-cat-cta .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
}
@media (prefers-reduced-motion: reduce) {
  .bm-cat-explorer.is-ready .bm-cat-panel.is-active { animation: none; }
}

/* Benchmarks "How to Read" guided flow: sticky intro + scroll-linked
   timeline that ends in the diagnostic-bridge image. Without JS
   (.is-ready absent) every step shows at full strength. */
section.bm-read-section {
  position: relative;
  background:
    radial-gradient(ellipse 50% 50% at 100% 100%, rgba(205, 62, 45, 0.06), transparent 70%),
    var(--panel);
}
.bm-read-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.bm-read-intro { position: sticky; top: 112px; }
.bm-read-intro h2 { letter-spacing: -0.01em; margin-bottom: 1.25rem; }
.bm-read-lead {
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-primary);
  max-width: 36ch;
}
.bm-read-dots { display: flex; gap: 8px; margin-top: 2rem; }
.bm-read-dot {
  width: 28px; height: 4px;
  border-radius: 4px;
  background: var(--panel-border);
  transition: background 0.35s var(--ease-out), width 0.35s var(--ease-out);
}
.bm-read-dot.is-done { background: var(--accent-border); }
.bm-read-dot.is-active { background: var(--accent); width: 44px; }

/* Timeline */
.bm-read-flow { position: relative; --bm-node: 48px; }
.bm-read-line {
  position: absolute;
  left: calc(var(--bm-node) / 2 - 1px);
  top: calc(var(--bm-node) / 2);
  bottom: calc(var(--bm-node) / 2);
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--panel-border) 0 6px, transparent 6px 11px);
}
.bm-read-line-fill {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-hover));
  transform-origin: top;
  transform: scaleY(1);
}
.bm-read-layout.is-ready .bm-read-line-fill {
  transform: scaleY(var(--bm-read-fill, 0));
  transition: transform 0.15s linear;
}
.bm-read-steps { position: relative; display: flex; flex-direction: column; gap: 1.25rem; }
.bm-read-step {
  position: relative;
  display: grid;
  grid-template-columns: var(--bm-node) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  cursor: pointer;
}
.bm-read-node {
  position: relative;
  z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--bm-node); height: var(--bm-node);
  border-radius: 50%;
  color: var(--accent);
  background: #fff;
  border: 1.5px solid var(--accent-border);
  box-shadow: 0 0 0 6px var(--panel);
  transition: color 0.3s var(--ease-out), background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.bm-read-node svg { width: 20px; height: 20px; }
.bm-read-card {
  position: relative;
  padding: clamp(1.15rem, 2.5vw, 1.6rem) clamp(1.15rem, 2.5vw, 1.75rem);
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 10px 28px -18px rgba(17, 17, 17, 0.16);
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.bm-read-card::before {
  content: '';
  position: absolute;
  left: -7px; top: calc(var(--bm-node) / 2 - 6px);
  width: 12px; height: 12px;
  background: #fff;
  border-left: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
  transform: rotate(45deg);
  transition: border-color 0.3s var(--ease-out);
}
.bm-read-card p { max-width: none; font-size: 1.02rem; line-height: 1.75; color: var(--text-secondary); transition: color 0.3s var(--ease-out); }

.bm-read-step:hover .bm-read-card { border-color: var(--accent-border); transform: translateX(4px); }
.bm-read-step:hover .bm-read-card::before { border-color: var(--accent-border); }
.bm-read-step:hover .bm-read-node { transform: scale(1.06); }

/* Scroll states (JS) */
.bm-read-layout.is-ready .bm-read-step .bm-read-card { opacity: 0.72; }
.bm-read-layout.is-ready .bm-read-step.is-done .bm-read-card { opacity: 0.9; }
.bm-read-step.is-done .bm-read-node { color: var(--accent); border-color: var(--accent); background: #fff; }
.bm-read-layout.is-ready .bm-read-step.is-active .bm-read-card,
.bm-read-layout.is-ready .bm-read-step:hover .bm-read-card { opacity: 1; }
.bm-read-step.is-active .bm-read-node {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px var(--panel), 0 0 0 10px var(--accent-subtle);
}
.bm-read-step.is-active .bm-read-card {
  border-color: var(--accent-border);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 22px 44px -22px rgba(205, 62, 45, 0.35);
}
.bm-read-step.is-active .bm-read-card::before { border-color: var(--accent-border); }
.bm-read-step.is-active .bm-read-card p { color: var(--text-primary); }

/* Destination: flow ends in the diagnostic-bridge image */
.bm-read-dest {
  position: relative;
  display: grid;
  grid-template-columns: var(--bm-node) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  margin-top: 1.25rem;
}
.bm-read-node--dest { color: var(--text-muted); border-style: dashed; }
.bm-read-node--dest svg { width: 18px; height: 18px; }
.bm-read-dest.is-reached .bm-read-node--dest,
.bm-read-layout:not(.is-ready) .bm-read-node--dest {
  color: #fff;
  background: var(--accent);
  border-style: solid;
  border-color: var(--accent);
  animation: bmReadNudge 1.8s var(--ease-in-out) infinite;
}
@keyframes bmReadNudge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}
.bm-read-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111;
  border: 1px solid var(--panel-border);
  box-shadow: 0 24px 56px -28px rgba(17, 17, 17, 0.45);
  transition: box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.bm-read-media::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, transparent 55%, rgba(17, 17, 17, 0.35));
  pointer-events: none;
}
.bm-read-img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.8s var(--ease-out); }
.bm-read-dest:hover .bm-read-img { transform: scale(1.04); }
.bm-read-dest.is-reached .bm-read-media {
  border-color: var(--accent-border);
  box-shadow: 0 28px 60px -26px rgba(205, 62, 45, 0.45);
}

@media (max-width: 960px) {
  .bm-read-layout { grid-template-columns: minmax(0, 1fr); }
  .bm-read-intro { position: static; }
  .bm-read-lead { max-width: 60ch; }
  .bm-read-dots { display: none; }
}
@media (max-width: 600px) {
  .bm-read-flow { --bm-node: 38px; }
  .bm-read-node svg { width: 17px; height: 17px; }
  .bm-read-step, .bm-read-dest { gap: 0.85rem; }
  .bm-read-card p { font-size: 0.98rem; line-height: 1.7; }
  .bm-read-step:hover .bm-read-card { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bm-read-dest.is-reached .bm-read-node--dest,
  .bm-read-layout:not(.is-ready) .bm-read-node--dest { animation: none; }
}

/* Benchmarks interactive toolkit section: journey stepper, tabbed tools
   (browse / quiz / estimate), "Need help?" accordion and an inline lead
   form that posts to the same endpoint as the contact modal. */
section.bm-kit-section {
  position: relative;
  background:
    radial-gradient(ellipse 50% 45% at 0% 0%, rgba(205, 62, 45, 0.07), transparent 70%),
    radial-gradient(ellipse 45% 50% at 100% 100%, rgba(205, 62, 45, 0.05), transparent 70%),
    var(--canvas);
  border-top: 1px solid var(--panel-border);
}
.bm-kit-header { margin-inline: auto; text-align: center; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.bm-kit-header h2 { letter-spacing: -0.01em; }
.bm-kit-header p { margin-inline: auto; font-size: 1.05rem; }

/* Journey stepper */
.bm-kit-journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 820px;
  margin: 0 auto clamp(1.75rem, 3vw, 2.5rem);
}
.bm-kit-step { position: relative; }
.bm-kit-step + .bm-kit-step::before {
  content: '';
  position: absolute;
  top: 19px; right: calc(50% + 26px); left: calc(-50% + 26px);
  height: 2px;
  border-radius: 2px;
  background: var(--panel-border);
  transition: background 0.4s var(--ease-out);
}
.bm-kit-step.is-active + .bm-kit-step::before { background: var(--panel-border); }
.bm-kit-step.is-done + .bm-kit-step::before,
.bm-kit-step.is-done + .bm-kit-step.is-active::before { background: var(--accent); }
.bm-kit-step > button {
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  width: 100%;
  padding: 0 0.5rem;
  text-align: center;
  border-radius: var(--radius-md);
}
.bm-kit-step > button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.bm-kit-step-num {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-muted);
  background: #fff;
  border: 1.5px solid var(--panel-border);
  transition: color 0.3s var(--ease-out), background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.bm-kit-step-num svg { position: absolute; width: 16px; height: 16px; opacity: 0; transition: opacity 0.25s var(--ease-out); }
.bm-kit-step.is-active .bm-kit-step-num {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-subtle);
}
.bm-kit-step.is-done .bm-kit-step-num { color: var(--accent); border-color: var(--accent); }
.bm-kit-step.is-done:not(.is-active) .bm-kit-step-num > span { opacity: 0; }
.bm-kit-step.is-done:not(.is-active) .bm-kit-step-num svg { opacity: 1; }
.bm-kit-step-text { display: flex; flex-direction: column; gap: 0.1rem; }
.bm-kit-step-text strong { font-family: var(--font-display); font-size: 0.98rem; color: var(--text-primary); }
.bm-kit-step-text span { font-size: 0.82rem; color: var(--text-muted); }
.bm-kit-step:not(.is-active):not(.is-done) .bm-kit-step-text strong { color: var(--text-secondary); }
.bm-kit-step > button:hover .bm-kit-step-num { border-color: var(--accent-border); }

/* Shell */
.bm-kit-shell {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: start;
}
.bm-kit-main {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: calc(var(--radius-lg) + 4px);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 28px 60px -30px rgba(17, 17, 17, 0.22);
  overflow: hidden;
}
.bm-kit-main::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover) 60%, transparent);
}
.bm-kit-stage.is-active, .bm-kit-view.is-active { animation: bmKitIn 0.35s var(--ease-out); }
@keyframes bmKitIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.bm-kit-tabs {
  position: relative;
  display: flex; gap: 0.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--panel-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.bm-kit-tabs::-webkit-scrollbar { display: none; }
.bm-kit-tab {
  flex-shrink: 0;
  padding: 0.8rem 1rem;
  font-size: 0.95rem; font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.2s var(--ease-out);
}
.bm-kit-tab:hover { color: var(--text-primary); }
.bm-kit-tab[aria-selected="true"] { color: var(--accent); }
.bm-kit-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--radius-sm); }
.bm-kit-tab-ink {
  position: absolute; left: 0; bottom: -1px;
  height: 2px; width: 0;
  border-radius: 2px;
  background: var(--accent);
  transition: transform 0.3s var(--ease-out), width 0.3s var(--ease-out);
}

/* Browse */
.bm-kit-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.bm-kit-chip {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.7rem 0.8rem;
  text-align: left;
  font-size: 0.92rem; font-weight: 600; line-height: 1.3;
  color: var(--text-primary);
  background: var(--canvas);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.bm-kit-chip:hover { border-color: var(--accent-border); background: #fff; transform: translateY(-1px); }
.bm-kit-chip[aria-pressed="true"] { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); }
.bm-kit-chip-icon {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 9px;
  color: var(--accent);
  background: var(--accent-subtle);
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.bm-kit-chip-icon svg { width: 17px; height: 17px; }
.bm-kit-chip[aria-pressed="true"] .bm-kit-chip-icon { color: #fff; background: var(--accent); }
.bm-kit-chip-icon.is-lg { width: 48px; height: 48px; border-radius: 13px; }
.bm-kit-chip-icon.is-lg svg { width: 24px; height: 24px; }
.bm-kit-detail { margin-top: 1.1rem; }
.bm-kit-card {
  padding: 1.35rem 1.4rem;
  background: linear-gradient(160deg, rgba(205, 62, 45, 0.05), #fff 55%);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  animation: bmKitIn 0.3s var(--ease-out);
}
.bm-kit-card h3 { font-size: 1.25rem; margin-bottom: 0.9rem; }
.bm-kit-card h3:focus, .bm-kit-qtitle:focus, .bm-kit-lead-head h3:focus, .bm-kit-done h3:focus { outline: none; }
.bm-kit-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.45rem 1rem; margin-bottom: 1.2rem; }
.bm-kit-dl dt { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); padding-top: 0.1rem; }
.bm-kit-dl dd { font-size: 0.97rem; color: var(--text-primary); }
.bm-kit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.bm-kit-actions .btn { border-radius: var(--radius-md); padding: 0.7rem 1.15rem; font-size: 0.9rem; }
.bm-kit-actions .btn--primary:hover { transform: translateY(-1px); }
.bm-kit-link {
  padding: 0.7rem 0.4rem;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bm-kit-link:hover { color: var(--accent-hover); }
.bm-kit-eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.4rem; }

/* Quiz */
.bm-kit-qprog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 1.25rem; }
.bm-kit-qprog span { height: 4px; border-radius: 4px; background: var(--panel-border); transition: background 0.3s var(--ease-out); }
.bm-kit-qprog span.is-done { background: var(--accent-border); }
.bm-kit-qprog span.is-active { background: var(--accent); }
.bm-kit-qstep { animation: bmKitIn 0.3s var(--ease-out); }
.bm-kit-qtitle { font-size: 1.3rem; margin-bottom: 1rem; }
.bm-kit-qopts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.bm-kit-qopt {
  padding: 0.95rem 1rem;
  text-align: left;
  font-size: 0.95rem; font-weight: 500; line-height: 1.4;
  color: var(--text-primary);
  background: var(--canvas);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.bm-kit-qopt:hover { border-color: var(--accent-border); background: #fff; transform: translateY(-1px); }
.bm-kit-qopt.is-picked { border-color: var(--accent); background: var(--accent-subtle); }
.bm-kit-textbtn, .bm-kit-back {
  margin-top: 1rem;
  padding: 0.35rem 0;
  font-size: 0.875rem; font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s var(--ease-out);
}
.bm-kit-textbtn:hover, .bm-kit-back:hover { color: var(--accent); }
.bm-kit-result-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.bm-kit-result-head h3 { margin: 0; font-size: 1.4rem; }

/* Estimator */
.bm-kit-metrics { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.bm-kit-metric {
  padding: 0.5rem 0.95rem;
  font-size: 0.875rem; font-weight: 600;
  color: var(--text-secondary);
  background: var(--canvas);
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.bm-kit-metric:hover { color: var(--accent); border-color: var(--accent-border); }
.bm-kit-metric[aria-checked="true"] { color: #fff; background: var(--accent); border-color: var(--accent); }
.bm-kit-calc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1rem; }
.bm-kit-field label { display: block; margin-bottom: 0.35rem; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }
.bm-kit-inputbox {
  display: flex; align-items: center;
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.bm-kit-inputbox:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); }
.bm-kit-inputbox input {
  flex: 1; min-width: 0;
  padding: 0.75rem 0.85rem;
  font: inherit; font-size: 1rem;
  color: var(--text-primary);
  background: transparent;
  border: 0; outline: none;
}
.bm-kit-affix { padding-left: 0.85rem; font-size: 0.95rem; font-weight: 600; color: var(--text-muted); }
.bm-kit-affix:last-child { padding-left: 0; padding-right: 0.85rem; }
.bm-kit-formula {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  max-width: none;
  font-size: 0.85rem;
}
.bm-kit-formula span {
  padding: 0.15rem 0.5rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-subtle);
  border-radius: 999px;
}
#bm-kit-result { margin-top: 1.25rem; }
.bm-kit-out {
  padding: 1.35rem 1.4rem;
  color: #fff;
  background: var(--text-primary);
  background-image: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(205, 62, 45, 0.35), transparent 70%);
  border-radius: var(--radius-lg);
  animation: bmKitIn 0.3s var(--ease-out);
}
.bm-kit-out.is-empty { background: var(--canvas); background-image: none; border: 1px dashed var(--panel-border); animation: none; }
.bm-kit-out-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); }
.bm-kit-out.is-empty .bm-kit-out-label { color: var(--text-muted); }
.bm-kit-out-value { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 2.75rem); font-weight: 700; line-height: 1.1; color: #fff; margin: 0.2rem 0 0.6rem; }
.bm-kit-out.is-empty .bm-kit-out-value { color: var(--panel-border); }
.bm-kit-out-note { max-width: none; font-size: 0.92rem; line-height: 1.6; color: rgba(255, 255, 255, 0.78); margin-bottom: 1.1rem; }
.bm-kit-out.is-empty .bm-kit-out-note { color: var(--text-secondary); margin-bottom: 0; }
.bm-kit-out .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.bm-kit-out .btn--ghost:hover { border-color: #fff; color: #fff; }

/* Lead stage */
.bm-kit-back { margin: 0 0 0.75rem; }
.bm-kit-lead-head h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-bottom: 0.4rem; }
.bm-kit-lead-head p { font-size: 0.97rem; margin-bottom: 1.25rem; }
.bm-kit-form { display: grid; gap: 0.95rem; }
.bm-kit-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.95rem 1rem; }
.bm-kit-form input, .bm-kit-form select, .bm-kit-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  font: inherit; font-size: 0.97rem;
  color: var(--text-primary);
  background: var(--canvas);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.bm-kit-form textarea { resize: vertical; min-height: 120px; }
.bm-kit-form input:focus, .bm-kit-form select:focus, .bm-kit-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}
.bm-kit-submit { width: 100%; border-radius: var(--radius-md); box-shadow: 0 12px 28px -14px rgba(205, 62, 45, 0.7); }
#bm-kit-status:empty { display: none; }
#bm-kit-status { margin-bottom: 1rem; }
.bm-kit-done { text-align: center; padding: 1.5rem 0.5rem; animation: bmKitIn 0.35s var(--ease-out); }
.bm-kit-done-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-bottom: 1rem;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 0 0 8px var(--accent-subtle);
}
.bm-kit-done-icon svg { width: 24px; height: 24px; }
.bm-kit-done h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.bm-kit-done p { margin: 0 auto 1.25rem; }
.bm-kit-done .btn { border-radius: var(--radius-md); }

/* Need help */
.bm-kit-help {
  padding: clamp(1.25rem, 2.5vw, 1.6rem);
  background: linear-gradient(180deg, #fff, var(--canvas));
  border: 1px solid var(--panel-border);
  border-radius: calc(var(--radius-lg) + 4px);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 18px 40px -26px rgba(17, 17, 17, 0.2);
}
.bm-kit-help-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.bm-kit-help-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-subtle);
}
.bm-kit-help-badge svg { width: 19px; height: 19px; }
.bm-kit-help-head h3 { font-size: 1.15rem; }
.bm-kit-acc { border-top: 1px solid var(--panel-border); }
.bm-kit-acc-item { border-bottom: 1px solid var(--panel-border); }
.bm-kit-acc-trigger {
  display: flex; align-items: center; gap: 0.7rem;
  width: 100%;
  padding: 0.9rem 0.1rem;
  text-align: left;
  font-size: 0.93rem; font-weight: 600;
  color: var(--text-primary);
  transition: color 0.2s var(--ease-out);
}
.bm-kit-acc-trigger:hover { color: var(--accent); }
.bm-kit-acc-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-sm); }
.bm-kit-acc-icon { flex-shrink: 0; display: inline-flex; color: var(--accent); }
.bm-kit-acc-icon svg { width: 18px; height: 18px; }
.bm-kit-acc-title { flex: 1; }
.bm-kit-acc-toggle {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  color: var(--text-secondary);
  border: 1px solid var(--panel-border);
  background: #fff;
  transition: transform 0.3s var(--ease-out), color 0.3s var(--ease-out), background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.bm-kit-acc-toggle svg { width: 11px; height: 11px; }
.bm-kit-acc-v { transform-box: fill-box; transform-origin: center; transition: transform 0.3s var(--ease-out); }
.bm-kit-acc-item.is-open .bm-kit-acc-toggle { color: #fff; background: var(--accent); border-color: var(--accent); transform: rotate(180deg); }
.bm-kit-acc-item.is-open .bm-kit-acc-v { transform: scaleY(0); }
.bm-kit-acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease-out); }
.bm-kit-acc-item.is-open .bm-kit-acc-panel { grid-template-rows: 1fr; }
.bm-kit-acc-inner { overflow: hidden; min-height: 0; }
.bm-kit-acc-inner p { max-width: none; padding: 0 0 0.6rem 1.75rem; font-size: 0.9rem; line-height: 1.6; }
.bm-kit-acc-cta {
  margin: 0 0 1rem 1.75rem;
  font-size: 0.875rem; font-weight: 600;
  color: var(--accent);
  transition: color 0.2s var(--ease-out);
}
.bm-kit-acc-cta span { display: inline-block; transition: transform 0.2s var(--ease-out); }
.bm-kit-acc-cta:hover { color: var(--accent-hover); }
.bm-kit-acc-cta:hover span { transform: translateX(3px); }
.bm-kit-acc-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-sm); }
.bm-kit-contact { display: grid; gap: 0.15rem; margin-top: 1rem; }
.bm-kit-contact a {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 0;
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease-out);
}
.bm-kit-contact a svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.bm-kit-contact a:hover { color: var(--accent); }

@media (max-width: 960px) {
  .bm-kit-shell { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .bm-kit-header { text-align: left; }
  .bm-kit-header p { margin-inline: 0; font-size: 1rem; }
  .bm-kit-step-text span { display: none; }
  .bm-kit-step-num { width: 34px; height: 34px; font-size: 0.9rem; }
  .bm-kit-step + .bm-kit-step::before { top: 16px; }
  .bm-kit-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .bm-kit-tab { padding: 0.7rem 0.3rem; font-size: 0.82rem; line-height: 1.25; white-space: normal; text-align: center; }
  .bm-kit-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bm-kit-chip { font-size: 0.86rem; padding: 0.6rem; gap: 0.5rem; }
  .bm-kit-dl { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
  .bm-kit-dl dd { margin-bottom: 0.55rem; }
  .bm-kit-qopts, .bm-kit-calc, .bm-kit-row { grid-template-columns: minmax(0, 1fr); }
  .bm-kit-actions { flex-direction: column; align-items: stretch; }
  .bm-kit-actions .btn { width: 100%; white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .bm-kit-stage.is-active, .bm-kit-view.is-active, .bm-kit-card, .bm-kit-qstep, .bm-kit-out, .bm-kit-done { animation: none; }
}

/* Benchmarks hero, light theme (matches the homepage and research hub): copy on a
   warm light canvas beside the dark comparison card. */
.bm-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: flex;
  align-items: center;
  min-height: min(720px, 88vh);
  padding-block: calc(68px + clamp(2.5rem, 5vw, 4rem)) clamp(3rem, 6vw, 4.5rem);
  background: linear-gradient(180deg, #ffffff 0%, var(--canvas) 70%, #f4f1ee 100%);
}
.bm-hero-overlay {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 45% 60% at 0% 0%, rgba(205, 62, 45, 0.1), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(17, 17, 17, 0.07) 1px, transparent 0) 0 0 / 22px 22px;
}
.bm-hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205, 62, 45, 0.6), transparent);
}
.bm-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.bm-hero .rsr-record-wrap { padding-inline: clamp(0rem, 3vw, 2.5rem); }
.bm-hero .rsr-record {
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(205, 62, 45, 0.3), transparent 70%),
    var(--text-primary);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 50px 90px -30px rgba(17, 17, 17, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.bm-hero-kicker {
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding: 0.42rem 0.9rem 0.42rem 0.75rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-hover);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
}
.bm-hero-kicker-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(205, 62, 45, 0.15);
}
.bm-hero h1 {
  color: var(--text-primary);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 1.35rem;
  max-width: 17ch;
  text-wrap: balance;
}
.bm-hero-body { margin-bottom: 2.1rem; }
.bm-hero-body p {
  max-width: 60ch;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.75;
  color: var(--text-secondary);
}
.bm-hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.bm-hero-actions .btn { border-radius: var(--radius-md); }
.bm-hero-actions .btn--primary { box-shadow: 0 12px 30px -10px rgba(205, 62, 45, 0.8); }
.bm-hero-actions .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(205, 62, 45, 0.9); }
.bm-hero-arrow { width: 16px; height: 16px; transition: transform 0.2s var(--ease-out); }
.bm-hero-actions .btn--ghost {
  color: var(--text-primary);
  background: #fff;
  border: 1.5px solid var(--panel-border);
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.06);
}
.bm-hero-actions .btn--ghost:hover { color: var(--text-primary); border-color: var(--accent-border); transform: translateY(-2px); }
.bm-hero .btn--ghost .rsr-btn-icon { color: var(--accent); background: var(--accent-subtle); border-color: var(--accent-border); }
.bm-hero .btn--ghost:hover .rsr-btn-icon { color: #fff; }
.bm-hero .btn:focus-visible { outline: 3px solid var(--accent-hover); outline-offset: 3px; }
/* the copy column is narrow beside the card here; let the two buttons stack */
@media (min-width: 961px) and (max-width: 1200px) {
  section.bm-hero .bm-hero-actions { flex-wrap: wrap; }
}

/* Comparison card (desktop only): reuses the research hero's .rsr-record
   shell; each track shows a segment band and a "you" marker. */
.bm-hero-content { max-width: 720px; }
.bm-compare-seg { margin: 1rem 0 1.4rem; font-size: 0.85rem; line-height: 1.5; color: rgba(255, 255, 255, 0.7); }
.bm-compare-rows { display: grid; gap: 1.15rem; margin: 0; padding: 0; list-style: none; }
.bm-compare-rows li { display: grid; gap: 0.55rem; }
.bm-compare-label { font-size: 0.85rem; font-weight: 600; color: #fff; }
.bm-compare-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}
.bm-compare-track::before {
  content: '';
  position: absolute; top: 0; bottom: 0;
  left: var(--lo); right: calc(100% - var(--hi));
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}
.bm-compare-track::after {
  content: '';
  position: absolute; top: 50%; left: var(--you);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 0 0 4px rgba(205, 62, 45, 0.3), 0 0 14px rgba(205, 62, 45, 0.8);
  transform: translate(-50%, -50%);
}
.bm-compare-legend {
  display: flex; align-items: center; gap: 0.45rem;
  margin-top: 1.5rem; padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem; color: rgba(255, 255, 255, 0.6);
}
.bm-compare-key { width: 18px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.32); }
.bm-compare-key--you { width: 10px; height: 10px; margin-left: 0.9rem; background: var(--accent); border: 2px solid #fff; }

@media (max-width: 960px) {
  .bm-hero { min-height: 0; padding-top: calc(68px + 3rem); }
  .bm-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .bm-hero h1 { max-width: 20ch; }
}
@media (max-width: 600px) {
  .bm-hero { padding-bottom: 3rem; }
}

/* Research hub hero: dark full-bleed research image with a directional
   overlay; mirrors the benchmarks hero (spacing, hierarchy, CTAs). */
.rs-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: flex;
  align-items: center;
  min-height: min(720px, 88vh);
  padding-block: calc(68px + clamp(2.5rem, 5vw, 4rem)) clamp(3rem, 6vw, 4.5rem);
  background: #0f1216;
}
.rs-hero-bg {
  position: absolute; inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: 62% 55%;
  background-repeat: no-repeat;
  transform: scale(1.04);
  animation: rsHeroDrift 24s var(--ease-in-out) infinite alternate;
}
@keyframes rsHeroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}
.rs-hero-overlay {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 14, 18, 0.95) 0%, rgba(12, 14, 18, 0.86) 36%, rgba(12, 14, 18, 0.5) 66%, rgba(12, 14, 18, 0.25) 100%),
    linear-gradient(180deg, rgba(12, 14, 18, 0.3) 0%, transparent 30%, transparent 70%, rgba(12, 14, 18, 0.55) 100%),
    radial-gradient(ellipse 40% 55% at 8% 100%, rgba(205, 62, 45, 0.28), transparent 70%),
    radial-gradient(ellipse 35% 45% at 85% 20%, rgba(205, 62, 45, 0.12), transparent 70%);
}
.rs-hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205, 62, 45, 0.6), transparent);
}
.rs-hero-content { max-width: 700px; }
.rs-hero-kicker {
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding: 0.42rem 0.9rem 0.42rem 0.75rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}
.rs-hero-kicker-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(205, 62, 45, 0.3), 0 0 12px rgba(205, 62, 45, 0.8);
}
.rs-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 1.35rem;
  max-width: 17ch;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.rs-hero-body { margin-bottom: 2.1rem; }
.rs-hero-body p {
  max-width: 60ch;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}
.rs-hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.rs-hero-actions .btn { border-radius: var(--radius-md); }
.rs-hero-actions .btn--primary { box-shadow: 0 12px 30px -10px rgba(205, 62, 45, 0.8); }
.rs-hero-actions .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(205, 62, 45, 0.9); }
.rs-hero-arrow { width: 16px; height: 16px; transition: transform 0.2s var(--ease-out); }
.rs-hero-actions .btn--primary:hover .rs-hero-arrow { transform: translateX(3px); }
.rs-hero-actions .btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.3);
}
.rs-hero-actions .btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.14); border-color: #fff; transform: translateY(-2px); }
.rs-hero .btn:focus-visible { outline-color: #fff; }
.rs-hero-trust {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem;
  margin-top: 1.6rem;
  font-size: 0.875rem; font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}
.rs-hero-trust li { display: inline-flex; align-items: center; gap: 0.45rem; }
.rs-hero-trust svg {
  width: 18px; height: 18px; padding: 3px;
  border-radius: 50%;
  color: #fff;
  background: rgba(205, 62, 45, 0.55);
}
@media (min-width: 601px) {
  .rs-hero-actions { flex-wrap: nowrap; width: max-content; max-width: calc(100vw - 3rem); }
  .rs-hero-actions .btn { flex: 0 0 auto; white-space: nowrap; }
}
@media (min-width: 601px) and (max-width: 1200px) {
  .rs-hero-actions .btn--lg { padding: 0.95rem 1.35rem; font-size: 0.95rem; }
}
@media (min-width: 601px) and (max-width: 720px) {
  .rs-hero-actions { flex-wrap: wrap; width: auto; }
  .rs-hero-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 960px) {
  .rs-hero { min-height: 0; padding-top: calc(68px + 3rem); }
  .rs-hero-bg { background-position: 70% 55%; }
  .rs-hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 14, 18, 0.92) 0%, rgba(12, 14, 18, 0.8) 60%, rgba(12, 14, 18, 0.58) 100%),
      radial-gradient(ellipse 60% 50% at 0% 100%, rgba(205, 62, 45, 0.25), transparent 70%);
  }
  .rs-hero h1 { max-width: 20ch; }
}
@media (max-width: 600px) {
  .rs-hero { padding-bottom: 3rem; }
  .rs-hero-bg { background-position: 70% 50%; }
  .rs-hero-overlay {
    background:
      linear-gradient(180deg, rgba(12, 14, 18, 0.72) 0%, rgba(12, 14, 18, 0.86) 40%, rgba(12, 14, 18, 0.93) 100%),
      radial-gradient(ellipse 80% 40% at 0% 100%, rgba(205, 62, 45, 0.25), transparent 70%);
  }
  .rs-hero-actions { flex-direction: column; align-items: stretch; }
  .rs-hero-actions .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
  .rs-hero-trust { gap: 0.5rem 1rem; font-size: 0.82rem; }
}
@media (prefers-reduced-motion: reduce) {
  .rs-hero-bg { animation: none; }
}

/* Research hub hero: copy beside a glass "research record" card that shows
   the disclosures every finding on the hub carries. The heading and pill CTA
   rules are shared via .rs-hero--split (research, reports) and .bm-hero. */
/* Research hero, light theme (matches the homepage): copy on a warm light canvas,
   the photo as a rounded panel on the right, the dark record card floating over its edge. */
.rs-hero--research,
.rs-hero--contact,
.rs-hero--founders,
.rs-hero--playbooks,
.rs-hero--diagnostic,
.rs-hero--calculators,
.rs-hero--topics,
.rs-hero--reports { background: linear-gradient(180deg, #ffffff 0%, var(--canvas) 70%, #f4f1ee 100%); }
.rs-hero--research .rs-hero-bg {
  inset: calc(68px + 1.5rem) 1.5rem 1.5rem 57%;
  border-radius: 28px;
  filter: saturate(0.85);
  box-shadow: 0 40px 80px -40px rgba(17, 17, 17, 0.45);
  animation: none;
  transform: none;
}
.rs-hero--research .rs-hero-overlay {
  background:
    radial-gradient(ellipse 45% 60% at 0% 0%, rgba(205, 62, 45, 0.1), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(17, 17, 17, 0.07) 1px, transparent 0) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 60%);
  mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 60%);
}
.rs-hero--research .rs-hero-kicker,
.rs-hero--contact .rs-hero-kicker,
.rs-hero--founders .rs-hero-kicker,
.rs-hero--playbooks .rs-hero-kicker,
.rs-hero--diagnostic .rs-hero-kicker,
.rs-hero--calculators .rs-hero-kicker,
.rs-hero--topics .rs-hero-kicker,
.rs-hero--reports .rs-hero-kicker {
  color: var(--accent-hover);
  background: var(--accent-subtle);
  border-color: var(--accent-border);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.rs-hero--research .rs-hero-kicker-dot,
.rs-hero--contact .rs-hero-kicker-dot,
.rs-hero--founders .rs-hero-kicker-dot,
.rs-hero--playbooks .rs-hero-kicker-dot,
.rs-hero--diagnostic .rs-hero-kicker-dot,
.rs-hero--calculators .rs-hero-kicker-dot,
.rs-hero--topics .rs-hero-kicker-dot,
.rs-hero--reports .rs-hero-kicker-dot { box-shadow: 0 0 0 4px rgba(205, 62, 45, 0.15); }
.rs-hero--research h1,
.rs-hero--contact h1,
.rs-hero--founders h1,
.rs-hero--playbooks h1,
.rs-hero--diagnostic h1,
.rs-hero--calculators h1,
.rs-hero--topics h1,
.rs-hero--reports h1 { color: var(--text-primary); text-shadow: none; text-wrap: balance; }
.rs-hero--research .rs-hero-body p,
.rs-hero--contact .rs-hero-body p,
.rs-hero--founders .rs-hero-body p,
.rs-hero--playbooks .rs-hero-body p,
.rs-hero--diagnostic .rs-hero-body p,
.rs-hero--calculators .rs-hero-body p,
.rs-hero--topics .rs-hero-body p,
.rs-hero--reports .rs-hero-body p { color: var(--text-secondary); }
.rs-hero--research .rs-hero-actions .btn--ghost,
.rs-hero--contact .rs-hero-actions .btn--ghost,
.rs-hero--founders .rs-hero-actions .btn--ghost,
.rs-hero--playbooks .rs-hero-actions .btn--ghost,
.rs-hero--diagnostic .rs-hero-actions .btn--ghost,
.rs-hero--calculators .rs-hero-actions .btn--ghost,
.rs-hero--topics .rs-hero-actions .btn--ghost,
.rs-hero--reports .rs-hero-actions .btn--ghost {
  color: var(--text-primary);
  background: #fff;
  border: 1.5px solid var(--panel-border);
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.06);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.rs-hero--research .rs-hero-actions .btn--ghost:hover,
.rs-hero--contact .rs-hero-actions .btn--ghost:hover,
.rs-hero--founders .rs-hero-actions .btn--ghost:hover,
.rs-hero--playbooks .rs-hero-actions .btn--ghost:hover,
.rs-hero--diagnostic .rs-hero-actions .btn--ghost:hover,
.rs-hero--calculators .rs-hero-actions .btn--ghost:hover,
.rs-hero--topics .rs-hero-actions .btn--ghost:hover,
.rs-hero--reports .rs-hero-actions .btn--ghost:hover { color: var(--text-primary); border-color: var(--accent-border); }
.rs-hero--research .btn--ghost .rsr-btn-icon,
.rs-hero--contact .btn--ghost .rsr-btn-icon,
.rs-hero--founders .btn--ghost .rsr-btn-icon,
.rs-hero--playbooks .btn--ghost .rsr-btn-icon,
.rs-hero--diagnostic .btn--ghost .rsr-btn-icon,
.rs-hero--calculators .btn--ghost .rsr-btn-icon,
.rs-hero--topics .btn--ghost .rsr-btn-icon,
.rs-hero--reports .btn--ghost .rsr-btn-icon { color: var(--accent); background: var(--accent-subtle); border-color: var(--accent-border); }
.rs-hero--research .btn--ghost:hover .rsr-btn-icon,
.rs-hero--contact .btn--ghost:hover .rsr-btn-icon,
.rs-hero--founders .btn--ghost:hover .rsr-btn-icon,
.rs-hero--playbooks .btn--ghost:hover .rsr-btn-icon,
.rs-hero--diagnostic .btn--ghost:hover .rsr-btn-icon,
.rs-hero--calculators .btn--ghost:hover .rsr-btn-icon,
.rs-hero--topics .btn--ghost:hover .rsr-btn-icon,
.rs-hero--reports .btn--ghost:hover .rsr-btn-icon { color: #fff; }
.rs-hero--research .btn:focus-visible,
.rs-hero--contact .btn:focus-visible,
.rs-hero--founders .btn:focus-visible,
.rs-hero--playbooks .btn:focus-visible,
.rs-hero--diagnostic .btn:focus-visible,
.rs-hero--calculators .btn:focus-visible,
.rs-hero--topics .btn:focus-visible,
.rs-hero--reports .btn:focus-visible { outline: 3px solid var(--accent-hover); outline-offset: 3px; }
.rs-hero--research .rs-hero-trust,
.rs-hero--contact .rs-hero-trust,
.rs-hero--founders .rs-hero-trust,
.rs-hero--playbooks .rs-hero-trust,
.rs-hero--diagnostic .rs-hero-trust,
.rs-hero--calculators .rs-hero-trust,
.rs-hero--topics .rs-hero-trust,
.rs-hero--reports .rs-hero-trust { color: var(--text-secondary); }
.rs-hero--research .rs-hero-trust svg,
.rs-hero--contact .rs-hero-trust svg,
.rs-hero--founders .rs-hero-trust svg,
.rs-hero--playbooks .rs-hero-trust svg,
.rs-hero--diagnostic .rs-hero-trust svg,
.rs-hero--calculators .rs-hero-trust svg,
.rs-hero--topics .rs-hero-trust svg,
.rs-hero--reports .rs-hero-trust svg { background: var(--accent); }
/* Reports, topics, calculators, diagnostic, playbooks and founder-education heroes: same light theme, no photo. */
.rs-hero--contact .rs-hero-overlay,
.rs-hero--founders .rs-hero-overlay,
.rs-hero--playbooks .rs-hero-overlay,
.rs-hero--diagnostic .rs-hero-overlay,
.rs-hero--calculators .rs-hero-overlay,
.rs-hero--topics .rs-hero-overlay,
.rs-hero--reports .rs-hero-overlay {
  background:
    radial-gradient(ellipse 45% 60% at 0% 0%, rgba(205, 62, 45, 0.1), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(17, 17, 17, 0.07) 1px, transparent 0) 0 0 / 22px 22px;
}
.rs-hero--contact .rsr-record,
.rs-hero--founders .rsr-record,
.rs-hero--playbooks .rsr-record,
.rs-hero--diagnostic .rsr-record,
.rs-hero--calculators .rsr-record,
.rs-hero--topics .rsr-record,
.rs-hero--reports .rsr-record {
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(205, 62, 45, 0.3), transparent 70%),
    var(--text-primary);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 50px 90px -30px rgba(17, 17, 17, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.rs-hero--reports .rp-cover-wrap::before {
  inset: 0 clamp(0rem, 3vw, 2.5rem);
  background: #fff;
  border-color: var(--panel-border);
  box-shadow: 0 30px 60px -36px rgba(17, 17, 17, 0.35);
}
.rs-hero--research .rsr-record {
  background: linear-gradient(160deg, rgba(28, 30, 35, 0.92), rgba(15, 17, 21, 0.88));
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 50px 90px -30px rgba(17, 17, 17, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
@media (min-width: 961px) {
  .rs-hero--research .rsr-hero-grid,
.rs-hero--contact .rsr-hero-grid,
.rs-hero--founders .rsr-hero-grid,
.rs-hero--playbooks .rsr-hero-grid,
.rs-hero--diagnostic .rsr-hero-grid,
.rs-hero--calculators .rsr-hero-grid,
.rs-hero--topics .rsr-hero-grid,
.rs-hero--reports .rsr-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .rs-hero--research .rsr-record-wrap,
.rs-hero--contact .rsr-record-wrap,
.rs-hero--founders .rsr-record-wrap,
.rs-hero--playbooks .rsr-record-wrap,
.rs-hero--diagnostic .rsr-record-wrap,
.rs-hero--calculators .rsr-record-wrap,
.rs-hero--topics .rsr-record-wrap,
.rs-hero--reports .rsr-record-wrap { padding-inline: clamp(0rem, 3vw, 2.5rem); }
}
@media (max-width: 960px) {
  /* the record card is hidden at this width, so the photo goes too and the hero is plain light */
  .rs-hero--research .rs-hero-bg { display: none; }
}
.rsr-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.rs-hero--split .rs-hero-content { max-width: 720px; }
.rs-hero--split h1,
.bm-hero h1 {
  max-width: none;
  font-size: clamp(2.15rem, 4.4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}
.rsr-h1-accent {
  position: relative;
  display: inline-block;
  padding-bottom: 0.12em;
  background: linear-gradient(95deg, #ff8a72 0%, var(--accent) 55%, #e2553f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}
.rsr-h1-accent::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(205, 62, 45, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease-out) 0.5s;
}
.reveal.in .rsr-h1-accent::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .rsr-h1-accent::after { transform: scaleX(1); transition: none; }
}
.rs-hero--split .rs-hero-actions,
.ct-hero .rs-hero-actions,
.bm-hero .bm-hero-actions { flex-wrap: nowrap; align-items: center; width: auto; max-width: none; gap: 0.75rem; }
.rs-hero--split .rs-hero-actions .btn,
.ct-hero .rs-hero-actions .btn,
.bm-hero .bm-hero-actions .btn {
  flex: 0 0 auto;
  gap: 0.65rem;
  min-height: 52px;
  border-radius: 999px;
  font-size: 0.92rem;
  white-space: nowrap;
}
.rs-hero--split .rs-hero-actions .btn--primary,
.ct-hero .rs-hero-actions .btn--primary,
.bm-hero .bm-hero-actions .btn--primary {
  padding: 0.375rem 0.375rem 0.375rem 1.4rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
}
.rs-hero--split .rs-hero-actions .btn--ghost,
.ct-hero .rs-hero-actions .btn--ghost,
.bm-hero .bm-hero-actions .btn--ghost { padding: 0.375rem 1.4rem 0.375rem 0.375rem; }
.rsr-btn-icon {
  display: inline-grid; place-items: center; flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  transition: transform 0.3s var(--ease-out), background 0.2s var(--ease-out);
}
.rsr-btn-icon svg { width: 18px; height: 18px; }
.btn--primary .rsr-btn-icon { color: var(--accent); background: #fff; }
.btn--ghost .rsr-btn-icon { color: #fff; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); }
.rs-hero--split .btn--primary:hover .rsr-btn-icon,
.ct-hero .btn--primary:hover .rsr-btn-icon,
.bm-hero .btn--primary:hover .rsr-btn-icon { transform: rotate(-45deg); }
.rs-hero--split .btn--primary:hover .rs-hero-arrow,
.ct-hero .btn--primary:hover .rs-hero-arrow,
.bm-hero .btn--primary:hover .bm-hero-arrow { transform: none; }
.rs-hero--split .btn--ghost:hover .rsr-btn-icon,
.ct-hero .btn--ghost:hover .rsr-btn-icon,
.bm-hero .btn--ghost:hover .rsr-btn-icon { background: var(--accent); border-color: var(--accent); }
@media (max-width: 760px) {
  .rs-hero--split .rs-hero-actions,
  .ct-hero .rs-hero-actions,
  .bm-hero .bm-hero-actions { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .rs-hero--split .rs-hero-actions .btn,
  .ct-hero .rs-hero-actions .btn,
  .bm-hero .bm-hero-actions .btn { white-space: normal; justify-content: space-between; text-align: left; }
  .rs-hero--split .rs-hero-actions .btn--ghost,
  .ct-hero .rs-hero-actions .btn--ghost,
  .bm-hero .bm-hero-actions .btn--ghost { justify-content: flex-start; }
}
.rsr-record {
  position: relative;
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  color: #fff;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  animation: rsrFloat 7s var(--ease-in-out) infinite alternate;
}
.rsr-record::before {
  content: '';
  position: absolute; left: 1.9rem; right: 1.9rem; top: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
@keyframes rsrFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}
.rsr-record-head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.rsr-record-stamp {
  white-space: nowrap;
  padding: 0.3rem 0.60rem;
  color: #fff;
  background: rgba(205, 62, 45, 0.22);
  border: 1px solid rgba(205, 62, 45, 0.55);
  border-radius: 999px;
}
.rsr-record-q {
  margin: 1.1rem 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}
.rsr-record-rows { margin: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.rsr-record-rows div {
  display: grid; grid-template-columns: 5.5rem 1fr; gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}
.rsr-record-rows dt { color: rgba(255, 255, 255, 0.5); font-weight: 500; }
.rsr-record-rows dd { margin: 0; color: rgba(255, 255, 255, 0.9); display: flex; align-items: center; gap: 0.5rem; }
.rsr-record-rows dd::before {
  content: ''; flex: none;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(205, 62, 45, 0.8);
}
.rsr-record-bars {
  display: flex; align-items: flex-end; gap: 0.5rem;
  height: 64px; margin-top: 1.4rem;
}
.rsr-record-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08));
}
.rsr-record-bars span:last-child { background: linear-gradient(180deg, var(--accent), rgba(205, 62, 45, 0.35)); }
@media (max-width: 960px) {
  .rsr-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .rsr-record-wrap { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rsr-record { animation: none; }
}
/* Playbooks hero card: a text-free run sheet — progress bar over ordered steps (done, active, queued). */
.pb-run-progress { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; margin-bottom: 1.4rem; }
.pb-run-progress span { display: block; height: 100%; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, var(--accent), #ff7a5c); box-shadow: 0 0 12px rgba(205, 62, 45, 0.7); }
.pb-run-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.pb-run-steps::before { content: ''; position: absolute; left: 17px; top: 18px; bottom: 18px; border-left: 2px dashed rgba(255, 255, 255, 0.16); }
.pb-run-steps li {
  position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 0.9rem;
  padding: 0.75rem 0.9rem 0.75rem 0; border-radius: 12px;
}
.pb-run-dot {
  position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: #1c1b1a; border: 1.5px solid rgba(255, 255, 255, 0.22);
}
.pb-run-dot svg { width: 16px; height: 16px; }
.pb-run-lines { display: grid; gap: 0.45rem; }
.pb-run-lines b { display: block; height: 7px; width: var(--w); border-radius: 99px; background: rgba(255, 255, 255, 0.28); }
.pb-run-lines b + b { height: 5px; background: rgba(255, 255, 255, 0.12); }
.pb-run-steps .is-done .pb-run-dot { color: #fff; background: rgba(63, 143, 90, 0.9); border-color: rgba(63, 143, 90, 1); }
.pb-run-steps .is-done .pb-run-lines b:first-child { background: rgba(255, 255, 255, 0.4); }
.pb-run-steps .is-active { background: rgba(205, 62, 45, 0.12); box-shadow: inset 0 0 0 1px rgba(205, 62, 45, 0.45); padding-left: 0; }
.pb-run-steps .is-active .pb-run-dot { color: #fff; background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(205, 62, 45, 0.22); animation: pbPulse 2.4s ease-in-out infinite; }
.pb-run-steps .is-active .pb-run-lines b:first-child { background: rgba(255, 255, 255, 0.75); }
.pb-run-steps .is-active .pb-run-lines b + b { background: rgba(255, 255, 255, 0.3); }
.pb-run-steps li:not(.is-done):not(.is-active) { opacity: 0.55; }
@keyframes pbPulse { 50% { box-shadow: 0 0 0 9px rgba(205, 62, 45, 0.08); } }
@media (prefers-reduced-motion: reduce) { .pb-run-steps .is-active .pb-run-dot { animation: none; } }
/* Founder Education hero card: a text-free learning track, segmented progress over four topic tiles. */
.fe-track-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; margin-bottom: 1.25rem; }
.fe-track-steps span { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); }
.fe-track-steps .is-done { background: #3f8f5a; }
.fe-track-steps .is-active { background: linear-gradient(90deg, var(--accent) 55%, rgba(255, 255, 255, 0.12) 55%); box-shadow: 0 0 10px rgba(205, 62, 45, 0.5); }
.fe-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.fe-tile {
  position: relative; display: grid; gap: 0.5rem; padding: 1rem;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px;
}
.fe-tile-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 0.35rem; border-radius: 12px; color: rgba(255, 255, 255, 0.75); background: rgba(255, 255, 255, 0.08); }
.fe-tile-icon svg { width: 20px; height: 20px; }
.fe-tile b { display: block; height: 6px; width: 70%; border-radius: 99px; background: rgba(255, 255, 255, 0.3); }
.fe-tile b + b { width: 90%; height: 4px; background: rgba(255, 255, 255, 0.12); }
.fe-tile-badge { position: absolute; top: 0.85rem; right: 0.85rem; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.fe-tile-badge svg { width: 14px; height: 14px; }
.fe-tile.is-done .fe-tile-badge { color: #fff; background: #3f8f5a; }
.fe-tile.is-done .fe-tile-icon { color: #fff; }
.fe-tile.is-active { background: rgba(205, 62, 45, 0.12); border-color: rgba(205, 62, 45, 0.5); box-shadow: 0 16px 34px -18px rgba(205, 62, 45, 0.7); }
.fe-tile.is-active .fe-tile-icon { color: #fff; background: var(--accent); }
.fe-tile.is-active .fe-tile-badge svg { width: 24px; height: 24px; transform: rotate(-90deg); }
.fe-ring-bg, .fe-ring { fill: none; stroke-width: 3; }
.fe-ring-bg { stroke: rgba(255, 255, 255, 0.15); }
.fe-ring { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 55 100; }
.fe-tile.is-active b:first-of-type { background: rgba(255, 255, 255, 0.7); }
.fe-tile:not(.is-done):not(.is-active) { opacity: 0.55; }
/* Methodology hero reuses the playbooks run sheet with stage icons; tighter rows fit five stages. */
.pb-run-steps--tight { gap: 0.35rem; }
.pb-run-steps--tight li { padding-block: 0.55rem; }
.pb-run-steps .is-done .pb-run-dot svg { width: 15px; height: 15px; }
/* Diagnostic hero card: a health-score ring over the four areas, the weakest flagged. */
.dg-hero-score { position: relative; width: 132px; margin: 1.25rem auto 1.1rem; }
.dg-hero-score svg { display: block; width: 100%; transform: rotate(-90deg); filter: drop-shadow(0 0 6px rgba(205, 62, 45, 0.45)); }
.dg-hero-score circle { fill: none; stroke-width: 7; }
.dg-hero-ring-bg { stroke: rgba(255, 255, 255, 0.1); }
.dg-hero-ring { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: var(--score) 100; }
.dg-hero-score p { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; max-width: none; }
.dg-hero-score b { font-family: var(--font-display); font-size: 2.3rem; line-height: 1; letter-spacing: -0.03em; color: #fff; }
.dg-hero-score span { font-size: 0.75rem; color: rgba(255, 255, 255, 0.55); }
.dg-hero-areas { display: grid; gap: 0.7rem; margin: 0; padding: 1rem 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.dg-hero-areas li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); align-items: center; column-gap: 0.75rem; row-gap: 0.3rem; font-size: 0.82rem; color: rgba(255, 255, 255, 0.75); }
.dg-hero-areas i { height: 6px; border-radius: 99px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.45) var(--w), rgba(255, 255, 255, 0.1) var(--w)); }
.dg-hero-areas .is-flag { color: #fff; font-weight: 600; }
.dg-hero-areas .is-flag i { background: linear-gradient(90deg, var(--accent) var(--w), rgba(255, 255, 255, 0.1) var(--w)); box-shadow: 0 0 10px rgba(205, 62, 45, 0.5); }
.dg-hero-areas em {
  grid-column: 2; justify-self: start;
  padding: 0.15rem 0.5rem; border-radius: 99px;
  font-style: normal; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: rgba(205, 62, 45, 0.25); border: 1px solid rgba(205, 62, 45, 0.6);
}

/* Diagnostic "What You Get at the End": copy + flag legend beside a sample report with
   the five areas, the constraint row expanded. Background shared with fw-use-section. */
.dg-out-section .container {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.dg-out-section .section-header { margin-bottom: 0; }
.dg-out-section .section-header h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
.dg-out-section .section-header > p { font-size: 1.05rem; line-height: 1.75; }
/* Status dot colours: shared by the legend and the report rows. */
.dg-out-section .is-ok { --dot: #3f8f5a; }
.dg-out-section .is-watch { --dot: #d08a1f; }
.dg-out-section .is-risk { --dot: var(--accent); }
.dg-out-legend { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.dg-out-legend li {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.35rem 0.8rem; border-radius: 99px;
  font-size: 0.82rem; font-weight: 600; color: var(--text-primary);
  background: #fff; border: 1px solid var(--panel-border);
}
.dg-out-legend li::before, .dg-out-rows em::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }
.dg-out-goal {
  margin-top: 1.5rem; padding-left: 1rem; border-left: 3px solid var(--accent);
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--text-primary);
}
.dg-out-report {
  background: #fff; border: 1px solid var(--panel-border); border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -35px rgba(17, 17, 17, 0.35);
  overflow: hidden;
}
.dg-out-head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.4rem; border-bottom: 1px solid var(--panel-border); background: var(--canvas);
}
.dg-out-score { font-size: 0.85rem; color: var(--text-muted); }
.dg-out-score b { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-primary); margin-right: 0.15rem; }
.dg-out-rows { margin: 0; padding: 0.4rem 0; list-style: none; }
.dg-out-rows > li {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem 1rem;
  padding: 0.8rem 1.4rem;
  font-weight: 600; color: var(--text-primary);
}
.dg-out-rows > li + li { border-top: 1px solid var(--panel-border); }
.dg-out-rows em {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-style: normal; font-size: 0.8rem; font-weight: 600; color: var(--text-secondary);
}
.dg-out-rows .is-open { background: var(--accent-subtle); box-shadow: inset 3px 0 0 var(--accent); }
.dg-out-rows .is-open em { color: var(--accent); }
.dg-out-detail {
  flex-basis: 100%; display: grid; gap: 0.4rem;
  margin-top: 0.35rem; padding: 0.9rem 1rem;
  background: #fff; border: 1px solid var(--accent-border); border-radius: var(--radius-md);
  font-weight: 400;
}
.dg-out-detail .tp-why-label { color: var(--accent); }
.dg-out-detail p:not(.tp-why-label) { font-size: 0.92rem; line-height: 1.55; }
.dg-out-detail p:nth-child(2) { color: var(--text-primary); font-style: italic; }
.dg-out-next { padding-top: 0.5rem; border-top: 1px dashed var(--panel-border); }
.dg-out-next::before { content: '\2192  '; color: var(--accent); font-weight: 700; }
@media (max-width: 900px) {
  .dg-out-section .container { grid-template-columns: minmax(0, 1fr); }
}

/* Diagnostic "A Diagnostic, Not a Grade": three struck "stamps" for what it isn't,
   then a dark statement card for what it is. */
section.dg-grade-section { background: var(--panel); }
.dg-grade-section .section-header { margin-inline: auto; text-align: center; }
.dg-grade-section .section-header h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; }
.dg-grade-section .section-header p { margin-inline: auto; font-size: 1.05rem; }
.dg-grade-stamps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
  max-width: 980px; margin: 0 auto 1.25rem; padding: 0; list-style: none;
}
.dg-grade-stamps li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 1.4rem 1.2rem; text-align: center;
  background: #fff; border: 1px solid var(--panel-border); border-radius: var(--radius-lg);
}
.dg-grade-stamps span {
  position: relative; display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 2px solid var(--accent); border-radius: 6px;
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent);
  transform: rotate(-3deg);
}
/* Strike bar across each stamp. */
.dg-grade-stamps span::after {
  content: ''; position: absolute; left: -6%; right: -6%; top: 50%; height: 2px;
  background: var(--text-primary); transform: rotate(-6deg);
}
.dg-grade-stamps small { font-size: 0.85rem; line-height: 1.5; color: var(--text-secondary); }
.dg-grade-is {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 980px; margin: 0 auto;
  padding: clamp(1.6rem, 3.5vw, 2.5rem);
  border-radius: var(--radius-lg); color: #fff;
  background:
    radial-gradient(ellipse 60% 90% at 0% 0%, rgba(205, 62, 45, 0.3), transparent 70%),
    var(--text-primary);
}
.dg-grade-is .tp-why-label { color: var(--accent); }
.dg-grade-statement { margin-top: 0.5rem; font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; color: #fff; }
.dg-grade-basis { display: grid; gap: 0.6rem; }
.dg-grade-basis p { max-width: none; }
.dg-grade-basis-lead { font-size: 0.92rem; color: rgba(255, 255, 255, 0.6); }
.dg-grade-basis .is-yes, .dg-grade-basis .is-no {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.75rem 1rem; border-radius: var(--radius-md); line-height: 1.4;
}
.dg-grade-basis .is-yes { color: #fff; font-weight: 600; background: rgba(205, 62, 45, 0.2); border: 1px solid rgba(205, 62, 45, 0.55); }
.dg-grade-basis .is-no { color: rgba(255, 255, 255, 0.5); border: 1px dashed rgba(255, 255, 255, 0.18); }
.dg-grade-basis .is-yes::before, .dg-grade-basis .is-no::before {
  flex: none; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  font-size: 0.75rem; font-weight: 700;
}
.dg-grade-basis .is-yes::before { content: '\2713'; color: #fff; background: var(--accent); }
.dg-grade-basis .is-no::before { content: '\2715'; color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.08); }
@media (max-width: 760px) {
  .dg-grade-stamps, .dg-grade-is { grid-template-columns: minmax(0, 1fr); }
}

/* Diagnostic "Why Pipeline and Capacity Get Confused": reuses the tp-assign sticky layout;
   one symptom forks into the assumed fix (struck) and the actual issue (lit). */
.dg-mix { display: grid; }
.dg-mix-symptom, .dg-mix-path {
  display: flex; flex-direction: column; gap: 0.45rem;
  padding: clamp(1.25rem, 2.5vw, 1.6rem);
  border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--panel-border);
}
.dg-mix-symptom { justify-self: center; align-items: center; text-align: center; min-width: min(100%, 320px); }
.dg-mix-symptom .tp-why-label { color: var(--accent); }
.dg-mix-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; line-height: 1.3; color: var(--text-primary); }
.dg-mix-path > p:last-child { line-height: 1.6; }
/* Fork connector: stem down from the symptom, then a bar across to both branch centres. */
.dg-mix-fork { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-top: 2.75rem; }
.dg-mix-fork::before {
  content: ''; position: absolute; left: 50%; top: 0; height: 1.4rem; border-left: 2px solid var(--panel-border);
}
.dg-mix-fork::after {
  content: ''; position: absolute; top: 1.4rem; height: 1.35rem;
  left: calc(25% - 0.25rem); right: calc(25% - 0.25rem);
  border: 2px solid var(--panel-border); border-bottom: 0; border-radius: 12px 12px 0 0;
}
.dg-mix-path.is-wrong { background: var(--canvas); border-style: dashed; }
.dg-mix-path.is-wrong .dg-mix-title { color: var(--text-muted); text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.dg-mix-path.is-right {
  color: #fff; border-color: transparent;
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(205, 62, 45, 0.32), transparent 70%),
    var(--text-primary);
  box-shadow: 0 24px 50px -28px rgba(17, 17, 17, 0.5);
}
.dg-mix-path.is-right .tp-why-label { color: rgba(255, 255, 255, 0.55); }
.dg-mix-path.is-right .dg-mix-title { color: #fff; }
.dg-mix-path.is-right > p:last-child { color: rgba(255, 255, 255, 0.72); }
.dg-mix-note {
  max-width: none; margin-top: 1rem;
  padding: 1rem 1.25rem; border-left: 3px solid var(--accent);
  background: var(--accent-subtle); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  line-height: 1.65; color: var(--text-primary);
}
@media (max-width: 600px) {
  .dg-mix-fork { grid-template-columns: minmax(0, 1fr); padding-top: 1.5rem; }
  .dg-mix-fork::after { display: none; }
}

/* Diagnostic "Who Should Take This": a stage track with the fit range lit, then fit / too-early cards. */
section.dg-who-section { background: var(--panel); }
.dg-who-section .section-header { margin-inline: auto; text-align: center; }
.dg-who-section .section-header h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; }
.dg-who-section .section-header p { margin-inline: auto; font-size: 1.05rem; line-height: 1.75; }
.dg-stage {
  display: grid; grid-template-columns: 1fr 1.6fr 1fr;
  max-width: 920px; margin: 0 auto clamp(2rem, 4vw, 2.75rem); padding: 0; list-style: none;
}
.dg-stage li {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  padding-top: 1.6rem; text-align: center;
  font-size: 0.85rem; color: var(--text-muted);
}
/* Track segment + node above each label. */
.dg-stage li::before { content: ''; position: absolute; top: 0.45rem; left: 0; right: 0; height: 4px; background: var(--panel-border); }
.dg-stage li:first-child::before { border-radius: 99px 0 0 99px; }
.dg-stage li:last-child::before { border-radius: 0 99px 99px 0; }
.dg-stage li::after {
  content: ''; position: absolute; top: 0; left: 50%; width: 14px; height: 14px; margin-left: -7px;
  border-radius: 50%; background: #fff; border: 2px solid var(--panel-border);
}
.dg-stage .is-fit { color: var(--text-primary); font-weight: 600; font-size: 0.95rem; }
.dg-stage .is-fit::before { background: linear-gradient(90deg, rgba(205, 62, 45, 0.35), var(--accent), rgba(205, 62, 45, 0.35)); }
.dg-stage .is-fit::after { background: var(--accent); border-color: #fff; box-shadow: 0 0 0 4px var(--accent-border); }
.dg-stage em {
  padding: 0.2rem 0.65rem; border-radius: 99px;
  font-style: normal; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: var(--accent);
}
.dg-who-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1rem; max-width: 920px; margin: 0 auto; }
.dg-who-early {
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  border-radius: var(--radius-lg); border: 1px dashed var(--accent-border);
  background: var(--canvas);
}
.dg-who-early p:not(.tp-why-label) { line-height: 1.65; }
.dg-who-early .ca-cta-link { align-self: flex-start; margin-top: auto; color: var(--text-primary); }
.dg-who-early .ca-cta-link:hover { color: var(--accent); }
.dg-who-early .ca-cta-link:focus-visible { outline-color: var(--accent); }
@media (max-width: 760px) {
  .dg-who-grid { grid-template-columns: minmax(0, 1fr); }
  .dg-stage { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dg-stage li { font-size: 0.78rem; }
}


/* Diagnostic closing CTA: reuses the tp-cta card; bottom row is a three-step route
   (diagnostic -> framework -> playbook) instead of two alternative paths. */
.dg-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 0.5rem; }
.dg-cta-actions .ca-cta-link { margin-top: 0; }
.tp-cta-paths.dg-route-wrap { display: block; }
.tp-cta-section .dg-route-wrap .tp-cta-paths-title { margin-bottom: 1rem; }
.dg-route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.dg-route li { position: relative; }
/* Arrow between steps, centred in the gap. */
.dg-route li + li::before {
  content: '\2192'; position: absolute; left: -1.4rem; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-weight: 700;
}
.dg-route a {
  display: flex; flex-direction: column; gap: 0.35rem; height: 100%;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  color: #fff; text-decoration: none;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.dg-route a:hover { border-color: var(--accent); background: rgba(205, 62, 45, 0.12); transform: translateY(-2px); }
.dg-route a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.dg-route li:first-child a { background: var(--accent); border-color: var(--accent); }
.dg-route li:first-child .tp-path-desc { color: rgba(255, 255, 255, 0.88); }
.dg-route-num {
  display: grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: 0.4rem; border-radius: 50%;
  font-size: 0.75rem; font-weight: 700; color: #fff; background: rgba(255, 255, 255, 0.12);
}
@media (max-width: 900px) {
  .dg-route { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .dg-route li + li::before { content: '\2193'; left: 50%; top: -1.3rem; transform: translateX(-50%); }
}

/* Calculators hero card: a sample readout (inputs, result, meter) with the formula shown. */
.ca-hero-inputs { margin: 1.1rem 0 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.ca-hero-inputs div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.875rem;
}
.ca-hero-inputs dt { color: rgba(255, 255, 255, 0.55); }
.ca-hero-inputs dd { margin: 0; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.ca-hero-result { display: flex; align-items: baseline; gap: 0.6rem; margin-top: 1.25rem; }
.ca-hero-value {
  font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3rem); font-weight: 700; line-height: 1;
  letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums;
}
.ca-hero-verdict { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.ca-hero-meter { height: 6px; margin-top: 0.9rem; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.ca-hero-meter span {
  display: block; width: var(--w); height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, rgba(205, 62, 45, 0.5), var(--accent));
}
.ca-hero-formula {
  display: flex; flex-direction: column; gap: 0.3rem;
  margin-top: 1.25rem; padding: 0.75rem 0.9rem;
  border: 1px dashed rgba(255, 255, 255, 0.2); border-radius: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.82rem; color: rgba(255, 255, 255, 0.85);
}
.ca-hero-formula span {
  font-family: inherit; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
}


/* Calculators "What These Tools Are Not": reuses the tp-assign sticky layout; a dark
   "not" card with crossed items beside a "single-purpose" card with checks. */
.ca-not-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ca-not-card {
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--panel-border);
}
.ca-not-card--no {
  color: #fff; border-color: transparent;
  background:
    radial-gradient(ellipse 80% 70% at 0% 0%, rgba(205, 62, 45, 0.28), transparent 70%),
    var(--text-primary);
}
.ca-not-card--no .tp-why-label { color: var(--accent); }
.ca-not-card--yes .tp-why-label { color: var(--text-primary); }
.ca-not-list { display: grid; gap: 0.85rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.ca-not-list li {
  position: relative; padding-left: 2.1rem;
  font-weight: 500; line-height: 1.45; color: var(--text-primary);
}
.ca-not-list li::before {
  content: ''; position: absolute; left: 0; top: -0.05rem;
  width: 1.45rem; height: 1.45rem; border-radius: 50%;
  background: var(--accent-subtle) no-repeat center / 0.75rem;
  border: 1px solid var(--accent-border);
}
/* Check mark for "is", cross for "not" (inline SVG so no extra assets). */
.ca-not-card--yes .ca-not-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5 9.5 3.5' fill='none' stroke='%23cd3e2d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ca-not-card--no .ca-not-list li { color: rgba(255, 255, 255, 0.85); text-decoration: line-through; text-decoration-color: rgba(205, 62, 45, 0.8); text-decoration-thickness: 2px; }
.ca-not-card--no .ca-not-list li::before {
  background-color: rgba(205, 62, 45, 0.18); border-color: rgba(205, 62, 45, 0.5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3 3 9' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.ca-not-warn {
  grid-column: 1 / -1;
  display: flex; align-items: flex-start; gap: 0.9rem; max-width: none;
  padding: 1.1rem 1.35rem;
  border: 1px dashed var(--accent-border); border-radius: var(--radius-lg);
  background: var(--accent-subtle);
  line-height: 1.65; color: var(--text-primary);
}
.ca-not-warn-icon {
  flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 0.9rem;
}
@media (max-width: 600px) {
  .ca-not-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Calculators "Mobile-Friendly": dark band, centred heading, the CSS phone in the
   middle with the three rules (and the why) as callouts wired to it. */
section.ca-mobile-section {
  overflow: clip; color: #fff;
  background:
    radial-gradient(ellipse 35% 55% at 50% 60%, rgba(205, 62, 45, 0.28), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--text-primary);
}
.ca-mob-head { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.ca-mob-head h2 { margin: 0.9rem 0 1rem; color: #fff; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
.ca-mob-head p { margin-inline: auto; color: rgba(255, 255, 255, 0.72); font-size: clamp(1.02rem, 1.4vw, 1.12rem); line-height: 1.75; }
.ca-mob-stage {
  display: grid; grid-template-columns: minmax(0, 1fr) 290px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
.ca-mob-side { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); }
.ca-mob-side li {
  position: relative;
  padding: 1.25rem 1.35rem;
  color: rgba(255, 255, 255, 0.66); font-size: 0.95rem; line-height: 1.6;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}
.ca-mob-side li > span { display: block; margin-bottom: 0.4rem; font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: var(--accent); }
.ca-mob-side strong { display: block; margin-bottom: 0.3rem; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; color: #fff; }
/* Dashed connector from each callout toward the phone, ending in a dot. */
.ca-mob-side li::after {
  content: ''; position: absolute; top: 50%; width: clamp(1.5rem, 4vw, 3.5rem);
  border-top: 1.5px dashed rgba(205, 62, 45, 0.6);
}
.ca-mob-side li::before {
  content: ''; position: absolute; top: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
}
.is-left li { text-align: right; }
.is-left li::after { left: 100%; }
.is-left li::before { left: calc(100% + clamp(1.5rem, 4vw, 3.5rem) - 4px); }
.is-right li::after { right: 100%; }
.is-right li::before { right: calc(100% + clamp(1.5rem, 4vw, 3.5rem) - 4px); }
.ca-mob-side li.ca-mob-quote {
  background: none; border: 0; border-left: 2px solid var(--accent); border-radius: 0;
  padding: 0.25rem 0 0.25rem 1.1rem;
  font-size: 1.02rem; font-style: italic; color: rgba(255, 255, 255, 0.72);
}
.ca-mob-quote strong { display: inline; margin: 0; font-family: inherit; font-size: inherit; font-style: normal; }
.ca-mob-side li.ca-mob-quote::before, .ca-mob-side li.ca-mob-quote::after { display: none; }
.ca-mob-stage .ca-phone { transform: none; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 60px -10px rgba(205, 62, 45, 0.45); }
@media (max-width: 960px) {
  .ca-mob-stage { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .ca-mob-stage .ca-phone { order: -1; }
  .is-left li { text-align: left; }
  .ca-mob-side li::before, .ca-mob-side li::after { display: none; }
}

.ca-phone {
  justify-self: center;
  width: min(100%, 290px);
  padding: 10px;
  border-radius: 40px;
  background: var(--text-primary);
  box-shadow: 0 50px 90px -40px rgba(17, 17, 17, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(-4deg);
}
.ca-phone-screen {
  position: relative;
  display: flex; flex-direction: column; gap: 0.6rem;
  padding: 2.4rem 1.1rem 1.2rem;
  border-radius: 31px;
  background: var(--canvas);
}
.ca-phone-notch { position: absolute; top: 10px; left: 50%; width: 76px; height: 18px; margin-left: -38px; border-radius: 99px; background: var(--text-primary); }
.ca-phone-title { margin-bottom: 0.2rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--text-primary); }
.ca-phone-field {
  display: flex; flex-direction: column; gap: 0.15rem;
  padding: 0.55rem 0.75rem;
  background: #fff; border: 1px solid var(--panel-border); border-radius: 10px;
}
.ca-phone-field span, .ca-phone-result span { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.ca-phone-field b { font-size: 0.95rem; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.ca-phone-result {
  display: flex; flex-direction: column; gap: 0.15rem;
  margin-top: 0.3rem; padding: 0.9rem 0.85rem;
  border-radius: 12px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  box-shadow: 0 14px 30px -14px rgba(205, 62, 45, 0.8);
}
.ca-phone-result span { color: rgba(255, 255, 255, 0.75); }
.ca-phone-result b { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; letter-spacing: -0.02em; }
.ca-phone-result small { font-size: 0.75rem; color: rgba(255, 255, 255, 0.85); }
.ca-phone-foot { margin-top: 0.2rem; text-align: center; font-size: 0.72rem; color: var(--text-muted); }

/* Calculators closing CTA: reuses the topics tp-cta card; adds the three candidate causes
   and a quiet text link back to the tool library. */
.ca-cta-causes { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.ca-cta-causes li {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-display); font-weight: 600; color: #fff;
}
.ca-cta-causes li::before {
  content: '?'; flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  font-size: 0.85rem; color: var(--accent); background: rgba(205, 62, 45, 0.16); border: 1px solid rgba(205, 62, 45, 0.4);
}
.ca-cta-link {
  display: inline-flex; gap: 0.4rem; margin-top: 1.5rem;
  color: #fff; font-weight: 600; text-decoration: none;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 0.15rem;
}
.ca-cta-link span { transition: transform 0.2s var(--ease-out); }
.ca-cta-link:hover span { transform: translateX(4px); }
.ca-cta-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Topics hero card: one topic with its six content types as linked chips. */
.tp-hero-map {
  position: relative;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem;
  margin: 0; padding: 0 0 0 1.1rem; list-style: none;
  border-left: 1px dashed rgba(205, 62, 45, 0.55);
}
.tp-hero-map li {
  position: relative;
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 0.8rem;
  font-size: 0.85rem; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
}
.tp-hero-map li::before {
  content: ''; flex: none;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(205, 62, 45, 0.8);
}
.tp-hero-map-note {
  margin-top: 1.25rem; padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem; color: rgba(255, 255, 255, 0.6);
}
/* Reports hero card: a report "cover" with two sheets fanned behind it. */
.rp-cover-wrap { position: relative; }
.rp-cover-wrap::before {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: rotate(4deg) translate(14px, 10px);
}
.rp-cover-title {
  margin: 1.1rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}
.rp-cover-chart { display: block; width: 100%; height: 70px; margin-bottom: 1.25rem; }

section.rs-note-section {
  position: relative;
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(205, 62, 45, 0.07), transparent 70%),
    var(--canvas);
}
/* "Who Publishes This Research": heading + paragraph on the left,
   a dark "publisher disclosure" label restating it on the right. */
.rs-note-layout {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.rs-note-head h2 {
  margin-bottom: 1.4rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.rs-note-head p {
  max-width: 54ch;
  font-size: clamp(1.02rem, 1.4vw, 1.12rem);
  line-height: 1.8;
  color: var(--text-secondary);
}
.rs-note-head p a {
  color: var(--text-primary);
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1.5px no-repeat;
  transition: color 0.25s var(--ease-out), background-size 0.3s var(--ease-out);
}
.rs-note-head p a:hover { color: #fff; background-size: 100% 100%; }
.rs-note-head p a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.rs-note-label {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  color: #fff;
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(205, 62, 45, 0.3), transparent 70%),
    var(--text-primary);
  border-radius: 20px;
  box-shadow: 0 34px 64px -30px rgba(17, 17, 17, 0.55);
}
.rs-note-label-head {
  display: flex; align-items: center; gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 3px solid var(--accent);
}
.rs-note-label-head strong { display: block; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; }
.rs-note-label-head span:not(.rs-note-badge) { font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); }
.rs-note-badge {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px;
  color: #fff;
  background: var(--accent);
  border-radius: 14px;
  box-shadow: 0 12px 26px -10px rgba(205, 62, 45, 0.8);
}
.rs-note-badge svg { width: 24px; height: 24px; }
.rs-note-rows { margin: 0; }
.rs-note-rows div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}
.rs-note-rows div:last-child { border-bottom: 0; padding-bottom: 0; }
.rs-note-rows dt { color: rgba(255, 255, 255, 0.55); }
.rs-note-rows dd { margin: 0; text-align: right; font-weight: 600; color: #fff; }
.rs-note-rows dd.is-no {
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(205, 62, 45, 0.3);
  border: 1px solid rgba(205, 62, 45, 0.7);
  border-radius: 999px;
}
@media (max-width: 900px) {
  .rs-note-layout { grid-template-columns: minmax(0, 1fr); }
}

/* Research hub "Who Should Use": heading row, then three audience cards,
   each ending in where that reader should go next. Middle card is dark. */
section.rs-ed-section {
  position: relative;
  background:
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(205, 62, 45, 0.07), transparent 70%),
    var(--panel);
  border-block: 1px solid var(--panel-border);
}
.rs-ed-mast {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.rs-ed-mast h2 {
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.rs-ed-section .rs-head-meta { margin-top: 0; }
.rs-ed-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.rs-ed-card {
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  box-shadow: 0 24px 50px -36px rgba(17, 17, 17, 0.35);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.rs-ed-card:hover { transform: translateY(-4px); border-color: var(--accent-border); box-shadow: 0 34px 60px -34px rgba(17, 17, 17, 0.4); }
.rs-ed-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.rs-ed-mark {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: 14px;
  transition: color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.rs-ed-mark svg { width: 24px; height: 24px; }
.rs-ed-card:hover .rs-ed-mark { color: #fff; background: var(--accent); }
.rs-ed-num {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 700; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px #d9d6d1;
}
.rs-ed-card h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.2rem, 1.8vw, 1.35rem);
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.rs-ed-card p { max-width: none; margin-bottom: 1.5rem; font-size: 0.95rem; line-height: 1.75; color: var(--text-secondary); }
.rs-ed-route {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem;
  margin-top: auto; padding-top: 1.1rem;
  border-top: 1px dashed var(--panel-border);
  font-size: 0.9rem;
}
.rs-ed-route span {
  flex-basis: 100%;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted);
}
.rs-ed-route strong { font-weight: 600; color: var(--text-primary); }
.rs-ed-route a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.6rem 0.45rem 0.9rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.rs-ed-route a svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease-out); }
.rs-ed-route a:hover { color: #fff; background: var(--accent); }
.rs-ed-route a:hover svg { transform: translateX(2px); }
.rs-ed-route a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* dark middle card */
.rs-ed-card--dark {
  color: #fff;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(205, 62, 45, 0.3), transparent 70%),
    var(--text-primary);
  border-color: var(--text-primary);
  box-shadow: 0 34px 60px -30px rgba(17, 17, 17, 0.6);
}
.rs-ed-card--dark h3 { color: #fff; }
.rs-ed-card--dark p { color: rgba(255, 255, 255, 0.7); }
.rs-ed-card--dark .rs-ed-mark { color: #fff; background: rgba(205, 62, 45, 0.3); border-color: rgba(205, 62, 45, 0.6); }
.rs-ed-card--dark .rs-ed-num { -webkit-text-stroke-color: rgba(255, 255, 255, 0.25); }
.rs-ed-card--dark .rs-ed-route { border-top-color: rgba(255, 255, 255, 0.16); }
.rs-ed-card--dark .rs-ed-route span { color: rgba(255, 255, 255, 0.5); }
.rs-ed-card--dark .rs-ed-route a { color: #fff; background: var(--accent); border-color: var(--accent); }
.rs-ed-card--dark .rs-ed-route a:hover { background: var(--accent-hover); }
.rs-ed-card--dark .rs-ed-route a:focus-visible { outline-color: #fff; }
@media (max-width: 960px) {
  .rs-ed-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .rs-ed-card:hover { transform: none; }
}

/* Research hub "Why Most Revenue Research Isn't Research": lead-paragraph
   split with an offset accent frame on the image. */
section.rs-why-section {
  position: relative;
  background:
    radial-gradient(ellipse 50% 70% at 100% 0%, rgba(205, 62, 45, 0.06), transparent 65%),
    var(--canvas);
}
.rs-why-section .split-band {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.rs-why-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 16ch;
  text-wrap: balance;
  padding-bottom: 1.25rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover)) 0 100% / 56px 3px no-repeat;
}
.rs-why-section .copy-block p:first-child {
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  line-height: 1.75;
  color: var(--text-primary);
}
.rs-why-section .copy-block p + p {
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent-border);
  line-height: 1.8;
}
.rs-why-section .split-image-col {
  position: relative;
  min-height: 420px;
  border-radius: 20px;
  box-shadow: 16px 16px 0 -1px var(--accent-subtle), 16px 16px 0 0 var(--accent-border), 0 30px 60px -30px rgba(17, 17, 17, 0.35);
}
.rs-why-section .split-image-col img { position: absolute; inset: 0; }
.rs-why-section .split-image-col::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(200deg, transparent 45%, rgba(205, 62, 45, 0.18));
}

/* Research hub "Why" (--loop): heading beside the copy, then a full-width
   "citation loop vs real finding" comparison. */
.rs-why-head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.5rem, 5vw, 4.5rem); align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.rs-why-eyebrow {
  margin-bottom: 0.9rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.rs-why--loop h2 { max-width: 15ch; margin-bottom: 0; }
.rs-why--loop h2 span { color: var(--accent); }
.rs-why--loop .copy-block strong { color: var(--accent); font-weight: 600; }
.rs-why-compare {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
.rs-loop, .rs-real {
  display: flex; flex-direction: column;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border-radius: 20px;
}
.rs-loop {
  color: var(--text-muted);
  background: #fff;
  border: 1.5px dashed var(--panel-border);
}
.rs-real {
  color: #fff;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(205, 62, 45, 0.32), transparent 70%),
    var(--text-primary);
  box-shadow: 0 40px 70px -35px rgba(17, 17, 17, 0.55);
}
.rs-why-vs {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: 52px; height: 52px;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent);
  background: #fff;
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  box-shadow: 0 0 0 8px var(--canvas), 0 10px 24px -8px rgba(205, 62, 45, 0.35);
}
.rs-loop-head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.rs-loop .rs-loop-head { color: var(--text-secondary); }
.rs-real .rs-loop-head { color: rgba(255, 255, 255, 0.6); }
.rs-loop-tag {
  padding: 0.28rem 0.6rem;
  white-space: nowrap;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
}
.rs-loop-tag--bad {
  color: var(--text-muted);
  background: transparent;
  border: 1px dashed var(--text-muted);
}
.rs-loop-svg { display: block; width: 100%; max-width: 400px; height: auto; margin: auto; overflow: visible; }
.rs-loop-node rect { fill: var(--panel); stroke: var(--panel-border); }
.rs-loop-svg text { font-family: var(--font-body); font-size: 12px; font-weight: 600; text-anchor: middle; fill: var(--text-secondary); }
.rs-loop-svg .rs-loop-center { font-style: italic; font-weight: 500; fill: var(--text-muted); }
.rs-loop-foot {
  max-width: none; margin-top: 1.25rem; padding-top: 1rem;
  border-top: 1px dashed var(--panel-border);
  font-size: 0.875rem; color: var(--text-muted);
}
.rs-real-stat {
  margin-bottom: 1rem;
  font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 600; line-height: 1.3;
  color: #fff;
}
.rs-real-stat em { font-style: normal; color: #ff8a72; }
.rs-real-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.rs-real-list li {
  display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); align-items: center; gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem; font-weight: 500; color: rgba(255, 255, 255, 0.9);
}
.rs-real-list span {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: rgba(255, 255, 255, 0.55);
}
.rs-real-list span::before {
  content: ''; flex: none;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(205, 62, 45, 0.8);
}
@media (max-width: 900px) {
  .rs-why-head, .rs-why-compare { grid-template-columns: minmax(0, 1fr); }
  .rs-why-head { align-items: start; }
  .rs-why-compare { gap: 0.75rem; }
  .rs-why-vs { position: static; transform: none; justify-self: center; }
}

/* Research hub "What Each Study Includes": sticky heading on the left,
   the six parts as a numbered timeline on the right. */
section.rs-steps-section {
  position: relative;
  overflow: clip;
  color: #fff;
  background:
    radial-gradient(ellipse 50% 60% at 0% 0%, rgba(205, 62, 45, 0.22), transparent 65%),
    radial-gradient(ellipse 40% 50% at 100% 100%, rgba(205, 62, 45, 0.12), transparent 70%),
    var(--text-primary);
}
.rs-steps-layout {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}
.rs-steps-section .section-header h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.rs-steps-section .rs-steps-head { position: sticky; top: calc(68px + 2rem); max-width: none; margin: 0; }
.rs-steps-kicker {
  display: inline-flex; align-items: center; gap: 0.55rem; margin-bottom: 1.1rem; padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  border-radius: 99px; background: rgba(205,62,45,0.12); border: 1px solid rgba(205,62,45,0.35);
}
.rs-steps-kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(205,62,45,0.2); }
.rs-steps-section .rs-steps-head h2 { margin: 0 0 1.4rem; max-width: 12ch; }
.rs-steps-section .rs-steps-head h2 span {
  position: relative; display: inline-block; color: var(--accent);
  background: linear-gradient(90deg, #ff6a50, var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.rs-steps-section .rs-steps-head h2 span::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -0.1em; height: 0.09em; border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), rgba(205,62,45,0));
}
.rs-steps-section .rs-steps-head p { margin: 0; max-width: 36ch; font-size: 1.05rem; line-height: 1.7; color: rgba(255, 255, 255, 0.68); }
.rs-steps-count {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin-top: 2rem; padding: 0.9rem 1.25rem;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px;
}
.rs-steps-count strong { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: #fff; }
.rs-steps-count span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.35; color: rgba(255,255,255,0.55); }
.rs-study-list { position: relative; margin: 0; padding: 0; list-style: none; }
/* the timeline rail behind the number badges */
.rs-study-list::before {
  content: ''; position: absolute; left: 25px; top: 28px; bottom: 28px; width: 1px;
  background: linear-gradient(180deg, var(--accent), rgba(255, 255, 255, 0.14) 30%, rgba(255, 255, 255, 0.14) 70%, var(--accent));
}
.rs-study-list li {
  position: relative;
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem);
  padding: 1.1rem clamp(0.75rem, 2vw, 1.25rem) 1.1rem 0;
  border-radius: 16px;
  transition: background 0.3s var(--ease-out);
}
.rs-study-list li + li { margin-top: 0.5rem; }
.rs-study-list li:hover { background: rgba(255, 255, 255, 0.04); }
.rs-study-num {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  color: #fff;
  background: #1c1b1a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.rs-study-list li:hover .rs-study-num {
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(205, 62, 45, 0.18);
}
.rs-study-list h3 { margin: 0.35rem 0 0.4rem; font-size: 1.15rem; color: #fff; }
.rs-study-list p { margin: 0; max-width: 58ch; font-size: 0.95rem; line-height: 1.65; color: rgba(255, 255, 255, 0.66); }
@media (max-width: 900px) {
  .rs-steps-layout { grid-template-columns: minmax(0, 1fr); }
  .rs-steps-section .rs-steps-head { position: static; }
}
@media (max-width: 600px) {
  .rs-study-list li { grid-template-columns: 40px minmax(0, 1fr); padding-right: 0; }
  .rs-study-num { width: 40px; height: 40px; font-size: 0.8rem; }
  .rs-study-list::before { left: 19.5px; }
}

/* Research hub "Editorial Rule": heading beside a raised rule card. */
section.rs-rule-section { background: var(--panel); }
.rs-rule-section .container {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.rs-rule-section .section-header { margin-bottom: 0; }
.rs-rule-section .section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 10ch;
  text-wrap: balance;
}
.rs-rule-section .copy-block {
  max-width: none;
  position: relative;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: #fff;
  border: 1px solid var(--panel-border);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: 0 24px 50px -30px rgba(17, 17, 17, 0.3);
}
.rs-rule-section .copy-block p {
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  line-height: 1.8;
  color: var(--text-primary);
}


/* Research hub "Where Our Data Comes From": heading beside the lead, then the
   five source types (left) next to the attribution rule (right). */
section.rs-src-section {
  position: relative;
  background:
    radial-gradient(ellipse 45% 70% at 0% 0%, rgba(205, 62, 45, 0.08), transparent 70%),
    var(--panel);
}
.rs-src-head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.5rem, 5vw, 4.5rem); align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.rs-src-head h2 {
  margin: 0; max-width: 16ch;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.06; letter-spacing: -0.02em;
}
.rs-src-head h2 span { display: block; color: var(--accent); }
.rs-src-lead { max-width: none; font-size: clamp(1.06rem, 1.5vw, 1.2rem); line-height: 1.75; color: var(--text-primary); }
.rs-rule-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
}
.rs-rule-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.rs-src-body {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem); align-items: stretch;
}
.rs-src-card {
  padding: clamp(1.4rem, 2.5vw, 2rem);
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  box-shadow: 0 30px 60px -36px rgba(17, 17, 17, 0.35);
}
.rs-src-card-head {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-secondary);
}
.rs-src-card-head span:last-child { color: var(--accent); }
.rs-src-list { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.rs-src-list li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 0.9rem;
  padding: 0.7rem 0.9rem 0.7rem 0.7rem;
  background: var(--canvas);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.rs-src-list li:hover { border-color: var(--accent-border); transform: translateX(4px); }
.rs-src-icon {
  display: grid; place-items: center; width: 40px; height: 40px;
  color: var(--accent); background: var(--accent-subtle); border-radius: 10px;
}
.rs-src-icon svg { width: 20px; height: 20px; }
.rs-src-name { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); }
.rs-src-tag {
  padding: 0.22rem 0.6rem;
  font-size: 0.7rem; font-weight: 600; white-space: nowrap;
  color: var(--text-secondary); background: #fff;
  border: 1px solid var(--panel-border); border-radius: 999px;
}
.rs-src-tag--ours { color: #fff; background: var(--text-primary); border-color: var(--text-primary); }
.rs-src-rule { display: flex; flex-direction: column; gap: 1.25rem; }
.rs-src-rule > p {
  max-width: none; margin: 0;
  padding-left: 1.25rem; border-left: 3px solid var(--accent);
  font-size: 1.02rem; line-height: 1.8; color: var(--text-secondary);
}
.rs-words { display: grid; gap: 0.75rem; flex: 1; }
.rs-words-card { padding: 1.4rem 1.6rem; border-radius: var(--radius-lg); }
.rs-words-card--never { background: transparent; border: 1px dashed #cfccc7; }
.rs-words-card--always {
  color: #fff;
  background:
    radial-gradient(ellipse 60% 90% at 100% 0%, rgba(205, 62, 45, 0.35), transparent 70%),
    var(--text-primary);
  box-shadow: 0 24px 50px -28px rgba(17, 17, 17, 0.55);
}
.rs-words-label {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.rs-words-label svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; }
.rs-words-card--never .rs-words-label { color: var(--text-muted); }
.rs-words-card--never .rs-words-label svg { color: var(--text-muted); background: #e9e7e3; }
.rs-words-card--always .rs-words-label { color: rgba(255, 255, 255, 0.7); }
.rs-words-card--always .rs-words-label svg { color: #fff; background: var(--accent); }
.rs-words-phrase {
  margin: 0.8rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.rs-words-card--never .rs-words-phrase { color: var(--text-muted); }
.rs-words-card--never s { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 55% / 100% 2px no-repeat; }
.rs-words-card--always .rs-words-phrase { color: #fff; }
.rs-words-phrase mark { padding: 0 0.2em; color: #fff; background: rgba(205, 62, 45, 0.45); border-radius: 4px; }
.rs-words-note { font-size: 0.875rem; }
.rs-words-card--never .rs-words-note { color: var(--text-muted); }
.rs-words-card--always .rs-words-note { color: rgba(255, 255, 255, 0.65); }
@media (max-width: 900px) {
  .rs-src-head, .rs-src-body { grid-template-columns: minmax(0, 1fr); }
  .rs-src-head { align-items: start; }
}
@media (max-width: 420px) {
  .rs-src-list li { grid-template-columns: 36px minmax(0, 1fr); }
  .rs-src-tag { grid-column: 2; justify-self: start; }
  .rs-src-icon { width: 36px; height: 36px; grid-row: span 2; }
}
@media (prefers-reduced-motion: reduce) {
  .rs-src-list li:hover { transform: none; }
}

/* Research hub "Research Pillars": icon + outlined number cards; the title
   still runs into its sentence. */
section.rs-pillars-section {
  position: relative;
  background:
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(205, 62, 45, 0.07), transparent 70%),
    var(--canvas);
}
.rs-pillars-section .section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.rs-pillars-section .pillars-grid { gap: 1.1rem; }
.rs-pillars-section .pillar-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 1.6rem 1.75rem 1.9rem;
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.rs-pillars-section .pillar-card::before {
  opacity: 1;
  top: 0; left: 0; right: auto; bottom: auto;
  width: 0; height: 3px;
  border-radius: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transition: width 0.45s var(--ease-out);
}
.rs-pillars-section .pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border);
  box-shadow: 0 24px 48px -28px rgba(17, 17, 17, 0.35);
}
.rs-pillars-section .pillar-card:hover::before { width: 100%; }
.rs-pillar-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.4rem;
}
.rs-pillar-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: 14px;
  transition: color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.rs-pillar-icon svg { width: 22px; height: 22px; }
.rs-pillars-section .pillar-card:hover .rs-pillar-icon { color: #fff; background: var(--accent); }
.rs-pillar-num {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 700; line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px #d6d3ce;
  transition: -webkit-text-stroke-color 0.3s var(--ease-out);
}
.rs-pillars-section .pillar-card:hover .rs-pillar-num { -webkit-text-stroke-color: var(--accent); }
.rs-pillars-section .pillar-card h3,
.rs-pillars-section .pillar-card p { display: inline; }
.rs-pillars-section .pillar-card h3 { margin: 0 0.3em 0 0; font-size: 1.1rem; color: var(--text-primary); }
.rs-pillars-section .pillar-card p { font-size: 0.97rem; line-height: 1.75; color: var(--text-secondary); }
@media (prefers-reduced-motion: reduce) {
  .rs-pillars-section .pillar-card:hover { transform: none; }
}

@media (max-width: 900px) {
  .rs-why-section .split-band { grid-template-columns: minmax(0, 1fr); }
  .rs-why-section .split-image-col { min-height: 260px; margin-right: 16px; }
  .rs-rule-section .container { grid-template-columns: minmax(0, 1fr); }
  .rs-rule-section .section-header h2 { max-width: 20ch; }
}
@media (max-width: 600px) {
  .rs-why-section .split-image-col { box-shadow: 10px 10px 0 -1px var(--accent-subtle), 10px 10px 0 0 var(--accent-border); margin-right: 10px; }
}
.rs-rule-section .copy-block a,
.rp-chapter .copy-block a {
  color: var(--text-primary);
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1.5px no-repeat;
  transition: color 0.25s var(--ease-out), background-size 0.3s var(--ease-out);
}
.rs-rule-section .copy-block a:hover,
.rp-chapter .copy-block a:hover { color: #fff; background-size: 100% 100%; }

/* Reports page. All rules scoped to rp-* classes. */

/* "Why Reports Are Dated": dark premium band; copy beside a superseded
   2023 edition handing off to the current 2026 one. */
section.rp-dated-section {
  position: relative;
  overflow: clip;
  color: #fff;
  background:
    radial-gradient(ellipse 45% 70% at 100% 50%, rgba(205, 62, 45, 0.24), transparent 70%),
    radial-gradient(ellipse 40% 60% at 0% 0%, rgba(255, 255, 255, 0.05), transparent 70%),
    linear-gradient(180deg, #121214, #0b0b0d);
}
section.rp-dated-section::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205, 62, 45, 0.7), transparent);
}
.rp-dated-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.rp-dated-section .section-header { margin-bottom: 1.75rem; }
.rp-dated-section h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 16ch;
  text-wrap: balance;
}
.rp-dated-section .copy-block { max-width: 60ch; padding-left: 1.4rem; border-left: 2px solid rgba(205, 62, 45, 0.6); }
.rp-dated-section .copy-block p { font-size: clamp(1.02rem, 1.3vw, 1.1rem); line-height: 1.9; color: rgba(255, 255, 255, 0.72); }
.rp-dated-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr);
  align-items: center;
  gap: 0.9rem;
}
.rp-ed {
  position: relative;
  display: flex; flex-direction: column;
  padding: 1.4rem 1.3rem 1.5rem;
  border-radius: 18px;
}
.rp-ed--old {
  transform: rotate(-4deg);
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.025);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  filter: grayscale(1);
}
.rp-ed--new {
  padding-top: 2.6rem;
  color: #fff;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(205, 62, 45, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.rp-ed--new::before {
  content: '';
  position: absolute; left: 1.3rem; right: 1.3rem; top: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.rp-ed-year {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.rp-ed--old .rp-ed-year { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(205, 62, 45, 0.7); }
.rp-ed--new .rp-ed-year {
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.6));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rp-ed-label {
  margin-top: 0.4rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0.6;
}
.rp-ed-lines { display: grid; gap: 0.45rem; margin-top: 1.4rem; }
.rp-ed-lines i { display: block; height: 6px; border-radius: 3px; background: currentColor; opacity: 0.18; }
.rp-ed-lines i:nth-child(2) { width: 80%; }
.rp-ed-lines i:nth-child(3) { width: 55%; }
.rp-ed--new .rp-ed-lines i:first-child { background: var(--accent); opacity: 0.8; }
.rp-ed-stamp {
  position: absolute; top: -14px; right: 1rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.75rem 0.4rem 0.5rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(205, 62, 45, 0.9);
}
.rp-ed-stamp svg { width: 16px; height: 16px; }
.rp-ed-link {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(205, 62, 45, 0.5);
  border-radius: 50%;
}
.rp-ed-link svg { width: 18px; height: 18px; }
@media (max-width: 960px) {
  .rp-dated-grid { grid-template-columns: minmax(0, 1fr); }
  .rp-dated-visual { max-width: 520px; }
}
@media (max-width: 480px) {
  .rp-dated-visual { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .rp-ed-link { justify-self: center; transform: rotate(90deg); }
  .rp-ed--old { transform: rotate(-2deg); }
}

/* "Access and Format": copy beside an open report window, with the email
   gate it doesn't have shown ghosted and crossed out. */
section.rp-access-section {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(ellipse 45% 70% at 100% 40%, rgba(205, 62, 45, 0.09), transparent 70%),
    var(--panel);
}
.rp-access-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.rp-access-section .section-header { margin-bottom: 1.6rem; }
.rp-access-section h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  padding-bottom: 1.1rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover)) 0 100% / 56px 3px no-repeat;
}
.rp-access-section .copy-block { max-width: 62ch; }
.rp-access-section .copy-block p { font-size: clamp(1.02rem, 1.3vw, 1.1rem); line-height: 1.9; color: var(--text-secondary); }
.rp-access-visual { position: relative; display: grid; gap: 1rem; }
.rp-access-window {
  position: relative;
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  box-shadow: 0 40px 70px -40px rgba(17, 17, 17, 0.45), 0 2px 6px rgba(17, 17, 17, 0.04);
}
.rp-access-bar {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--panel-border);
}
.rp-access-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e2dfda; }
.rp-access-bar i:first-child { background: var(--accent); }
.rp-access-bar span { flex: 1; height: 18px; margin-left: 0.75rem; border-radius: 999px; background: var(--panel); }
.rp-access-page { display: grid; gap: 0.6rem; padding: 1.5rem 1.5rem 1.75rem; }
.rp-access-h { width: 62%; height: 14px; margin-bottom: 0.4rem; border-radius: 4px; background: var(--text-primary); }
.rp-access-l { height: 7px; border-radius: 4px; background: #e7e4df; }
.rp-access-l--short { width: 70%; }
.rp-access-chart {
  display: flex; align-items: flex-end; gap: 0.45rem;
  height: 84px; margin: 0.6rem 0;
  padding: 0.75rem;
  background: var(--canvas);
  border-radius: 10px;
}
.rp-access-chart b { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: #d9d6d1; }
.rp-access-chart b:last-child { background: var(--accent); }
.rp-access-lock {
  position: absolute; top: -18px; right: -14px;
  display: grid; place-items: center;
  width: 56px; height: 56px;
  color: #fff;
  background: var(--accent);
  border: 4px solid var(--panel);
  border-radius: 50%;
  box-shadow: 0 14px 28px -10px rgba(205, 62, 45, 0.8);
}
.rp-access-lock svg { width: 24px; height: 24px; }
.rp-access-gate {
  position: relative;
  display: flex; gap: 0.6rem;
  padding: 0.9rem;
  border: 1px dashed #cfccc7;
  border-radius: 14px;
  opacity: 0.6;
}
.rp-access-field { flex: 1; height: 38px; border-radius: 8px; background: #fff; border: 1px solid var(--panel-border); }
.rp-access-btn { width: 30%; height: 38px; border-radius: 8px; background: #cfccc7; }
.rp-access-x { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--accent); }
@media (max-width: 960px) {
  .rp-access-grid { grid-template-columns: minmax(0, 1fr); }
  .rp-access-visual { max-width: 480px; }
}
@media (max-width: 600px) {
  .rp-access-lock { right: -6px; }
}

/* "How to Use a Report": heading beside where you'd cite it, a don't/do
   citation comparison, then the Benchmarks alternative. */
section.rp-cite-section {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(ellipse 45% 70% at 0% 50%, rgba(205, 62, 45, 0.08), transparent 70%),
    var(--canvas);
}
.rp-use-head {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 5vw, 4.5rem); align-items: end;
  margin-bottom: clamp(2.25rem, 4.5vw, 3rem);
}
.rp-cite-section h2 {
  margin-top: 0.9rem;
  font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.06; letter-spacing: -0.025em;
  max-width: 16ch; text-wrap: balance;
}
.rp-use-where { padding-left: 1.25rem; border-left: 2px solid var(--accent); }
.rp-use-where p { margin-bottom: 0.75rem; color: var(--text-primary); font-size: 1.05rem; line-height: 1.6; }
.rp-use-where ul { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.rp-use-where li {
  padding: 0.35rem 0.8rem; border-radius: 99px;
  font-size: 0.85rem; font-weight: 600; color: var(--text-primary);
  background: #fff; border: 1px solid var(--panel-border);
}
.rp-use-cite {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  overflow: hidden;
  background: #fff; border: 1px solid var(--panel-border); border-radius: 22px;
  box-shadow: 0 40px 80px -45px rgba(17, 17, 17, 0.4);
}
.rp-use-side { display: flex; flex-direction: column; gap: 0.85rem; padding: clamp(1.5rem, 4vw, 2.25rem); }
.rp-use-side.is-no { background: var(--panel); border-right: 1px dashed var(--panel-border); }
.rp-use-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.rp-use-label b { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; font-size: 0.72rem; letter-spacing: 0; }
.is-no .rp-use-label { color: var(--text-muted); }
.is-no .rp-use-label b { color: var(--accent); background: #fff; border: 1px solid var(--accent-border); }
.is-yes .rp-use-label { color: #2e6e45; }
.is-yes .rp-use-label b { color: #fff; background: #3f8f5a; }
.rp-use-sample {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  max-width: none; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--text-primary);
}
.is-no .rp-use-sample s { color: var(--text-muted); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.rp-use-slot {
  padding: 0.3rem 0.75rem; border-radius: 8px;
  font-size: 0.9em; color: var(--text-primary);
  background: rgba(17, 17, 17, 0.06); border: 1.5px dashed rgba(17, 17, 17, 0.3);
}
.rp-use-slot.is-date { color: var(--accent); background: var(--accent-subtle); border-color: var(--accent-border); }
.rp-use-sep { color: var(--text-muted); }
.rp-use-side small { font-size: 0.92rem; line-height: 1.6; color: var(--text-secondary); }
.rp-use-alt {
  display: flex; align-items: center; gap: 1.1rem;
  margin-top: clamp(1.25rem, 2.5vw, 1.5rem);
  padding: 1.15rem 1.4rem;
  background: var(--text-primary); border-radius: var(--radius-lg);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.rp-use-alt:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -28px rgba(205, 62, 45, 0.7); }
.rp-use-alt:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.rp-use-alt-ico {
  display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 12px;
  color: var(--accent); background: rgba(205, 62, 45, 0.16); border: 1px solid rgba(205, 62, 45, 0.45);
}
.rp-use-alt-ico svg { width: 1.3rem; height: 1.3rem; }
.rp-use-alt-copy { flex: 1; display: grid; gap: 0.25rem; font-size: 0.92rem; line-height: 1.55; color: rgba(255, 255, 255, 0.66); }
.rp-use-alt-copy b { font-family: var(--font-display); font-size: 1.05rem; color: #fff; }
.rp-use-alt-go { flex: none; font-weight: 700; color: var(--accent); white-space: nowrap; }
.rp-use-alt:hover .rp-use-alt-go span { display: inline-block; transform: translateX(3px); }
@media (max-width: 960px) {
  .rp-use-head, .rp-use-cite { grid-template-columns: minmax(0, 1fr); }
  .rp-use-side.is-no { border-right: 0; border-bottom: 1px dashed var(--panel-border); }
}
@media (max-width: 560px) {
  .rp-use-alt { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .rp-use-alt:hover { transform: none; } }

/* "From Report to Action": dark centred band; the paragraph's own path
   (report -> diagnostic -> framework/playbook) drawn as a flow beneath. */
section.rp-act-section {
  position: relative;
  overflow: clip;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(ellipse 55% 60% at 50% 100%, rgba(205, 62, 45, 0.28), transparent 70%),
    radial-gradient(ellipse 35% 50% at 0% 0%, rgba(255, 255, 255, 0.05), transparent 70%),
    linear-gradient(180deg, #121214, #0b0b0d);
}
section.rp-act-section::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205, 62, 45, 0.7), transparent);
}
.rp-act-head { margin: 0 auto 1.5rem; }
.rp-act-head h2 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  padding-bottom: 1.1rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover)) 50% 100% / 56px 3px no-repeat;
}
.rp-act-copy { max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.rp-act-copy p { font-size: clamp(1.02rem, 1.35vw, 1.12rem); line-height: 1.9; color: rgba(255, 255, 255, 0.72); }
.rp-act-copy a {
  color: #fff;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1.5px no-repeat;
  transition: background-size 0.3s var(--ease-out);
}
.rp-act-copy a:hover { background-size: 100% 100%; }
.rp-act-copy a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 2px; }
.rp-act-flow {
  display: flex; align-items: flex-start; justify-content: center;
  max-width: 880px;
  margin: 0 auto;
}
.rp-act-node {
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  flex: none;
  width: 170px;
}
.rp-act-ico {
  display: grid; place-items: center;
  width: 72px; height: 72px;
  color: #fff;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.rp-act-ico svg { width: 28px; height: 28px; }
.rp-act-node--end .rp-act-ico {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(205, 62, 45, 0.18), 0 20px 40px -14px rgba(205, 62, 45, 0.9);
}
.rp-act-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}
.rp-act-node--end .rp-act-label { color: #fff; }
.rp-act-link {
  position: relative;
  flex: 1;
  height: 2px;
  margin-top: 35px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 6px, transparent 6px 12px);
  overflow: hidden;
}
.rp-act-link i {
  position: absolute; top: 0; left: -40%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: rpActFlow 2.6s var(--ease-in-out) infinite;
}
.rp-act-link + .rp-act-node + .rp-act-link i { animation-delay: 1.3s; }
@keyframes rpActFlow { to { left: 100%; } }
@media (max-width: 640px) {
  .rp-act-flow { flex-direction: column; align-items: center; }
  .rp-act-link { flex: none; width: 2px; height: 36px; margin: 0.6rem 0; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0 6px, transparent 6px 12px); }
  .rp-act-link i { display: none; }
  .rp-act-node { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .rp-act-link i { animation: none; display: none; }
}

/* "What Separates a Report From a Blog Post": heading beside the lead, then the
   detail paragraph next to a blog-post vs report comparison table. */
section.rp-vs-section {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(ellipse 45% 70% at 100% 50%, rgba(205, 62, 45, 0.08), transparent 70%),
    var(--canvas);
}
.rp-vs-head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.5rem, 5vw, 4.5rem); align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.rp-vs-section h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 16ch;
  text-wrap: balance;
}
.rp-vs-lead { max-width: none; font-size: clamp(1.06rem, 1.5vw, 1.2rem); line-height: 1.75; color: var(--text-primary); }
.rp-vs-body {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center;
}
.rp-vs-copy p {
  max-width: none;
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent);
  font-size: 1rem; line-height: 1.85; color: var(--text-secondary);
}
.rp-vs-table {
  padding: 0.5rem clamp(1rem, 2.5vw, 1.75rem) 0.75rem;
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  box-shadow: 0 30px 60px -36px rgba(17, 17, 17, 0.35);
}
.rp-vs-row {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center; gap: 0.75rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--panel-border);
  font-size: 0.9rem;
}
.rp-vs-row:last-child { border-bottom: 0; }
.rp-vs-row--head {
  padding: 1rem 0 0.9rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.rp-vs-attr { display: flex; align-items: center; gap: 0.7rem; font-weight: 600; color: var(--text-primary); }
.rp-vs-icon {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px;
  color: var(--accent); background: var(--accent-subtle); border-radius: 10px;
}
.rp-vs-icon svg { width: 18px; height: 18px; }
.rp-vs-cell { display: inline-flex; align-items: center; gap: 0.45rem; }
.rp-vs-cell--blog { color: var(--text-muted); }
.rp-vs-cell--report { font-weight: 600; color: var(--text-primary); }
.rp-vs-row:not(.rp-vs-row--head) .rp-vs-cell--blog::before,
.rp-vs-row:not(.rp-vs-row--head) .rp-vs-cell--report::before {
  content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: center / 10px no-repeat;
}
.rp-vs-row:not(.rp-vs-row--head) .rp-vs-cell--blog::before {
  border: 1px dashed #cfccc7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.5 5h5' stroke='%237a7673' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
.rp-vs-row:not(.rp-vs-row--head) .rp-vs-cell--report::before {
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.3 5.2l1.8 1.8 3.6-4' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.rp-vs-row--head .rp-vs-cell--blog { color: var(--text-muted); }
.rp-vs-row--head .rp-vs-cell--report { color: var(--accent); }
@media (max-width: 900px) {
  .rp-vs-head, .rp-vs-body { grid-template-columns: minmax(0, 1fr); }
  .rp-vs-head { align-items: start; }
}
@media (max-width: 520px) {
  .rp-vs-row { grid-template-columns: minmax(0, 1fr) auto auto; font-size: 0.82rem; }
  .rp-vs-icon { display: none; }
}

/* Reports "What Every Report Contains": centred heading, then a report-style
   contents page (left) beside a dark "before publication" checklist (right). */
section.rp-build-section {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(205, 62, 45, 0.08), transparent 70%),
    var(--canvas);
}
.rp-build-head { max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.rp-build-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.rp-build-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1rem, 2.5vw, 1.75rem); align-items: start;
}
.rp-toc-label {
  display: block; margin-bottom: 0.35rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.rp-toc {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--panel-border);
  border-top: 4px solid var(--accent);
  border-radius: 20px;
  box-shadow: 0 30px 60px -34px rgba(17, 17, 17, 0.4);
}
.rp-toc-head { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--panel-border); }
.rp-build-icon {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px;
  color: #fff;
  background: var(--accent);
  border-radius: 14px;
  box-shadow: 0 12px 26px -10px rgba(205, 62, 45, 0.8);
}
.rp-build-icon svg { width: 22px; height: 22px; }
.rp-build-lead { margin: 0; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--text-primary); }
.rp-contains-list { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.rp-contains-list li {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--panel-border);
  font-size: clamp(0.98rem, 1.3vw, 1.05rem); line-height: 1.5; color: var(--text-primary);
}
.rp-contains-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.rp-toc-num { flex: none; width: 2rem; font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--accent); }
.rp-check {
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  color: #fff;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(205, 62, 45, 0.3), transparent 70%),
    var(--text-primary);
  border-radius: 20px;
  box-shadow: 0 34px 60px -30px rgba(17, 17, 17, 0.6);
}
.rp-check .rp-toc-label { color: #ff8a72; margin-bottom: 1.5rem; }
.rp-check-list { position: relative; display: grid; gap: 1.5rem; margin: 0; padding: 0; list-style: none; counter-reset: rpcheck; }
/* rail joining each step number to the next */
.rp-check-list li:not(:last-child)::after { content: ''; position: absolute; left: 17px; top: 36px; bottom: -1.5rem; width: 1px; background: rgba(255, 255, 255, 0.16); }
.rp-check-list li {
  position: relative;
  display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 1rem; align-items: start;
  font-size: 0.98rem; line-height: 1.65; color: rgba(255, 255, 255, 0.82);
  counter-increment: rpcheck;
}
.rp-check-list li::before {
  content: counter(rpcheck);
  display: grid; place-items: center;
  width: 36px; height: 36px;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 700;
  color: #fff; background: #1c1b1a;
  border: 1px solid rgba(205, 62, 45, 0.7);
  border-radius: 50%;
}
.rp-check-list li > span { padding-top: 0.4rem; }
.rp-check-list a {
  color: #fff;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1.5px no-repeat;
  transition: background-size 0.3s var(--ease-out);
}
.rp-check-list a:hover { background-size: 100% 100%; }
.rp-check-list a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 2px; }
@media (max-width: 900px) {
  .rp-build-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Single-paragraph "chapter": heading left, text right on a hairline. */
section.rp-chapter { background: var(--canvas); }
section.rp-chapter + section.rp-chapter { border-top: 1px solid var(--panel-border); }
.rp-chapter .container {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}
.rp-chapter .section-header { margin-bottom: 0; position: sticky; top: 104px; }
.rp-chapter .section-header h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 14ch;
  text-wrap: balance;
  padding-bottom: 1.25rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover)) 0 100% / 56px 3px no-repeat;
}
.rp-chapter .copy-block {
  max-width: none;
  padding: 0.25rem 0 0.25rem clamp(1.5rem, 3vw, 2.5rem);
  border-left: 1px solid var(--panel-border);
  position: relative;
}
.rp-chapter .copy-block::before {
  content: '';
  position: absolute; left: -1px; top: 0;
  width: 2px; height: 4rem;
  background: var(--accent);
}
.rp-chapter .copy-block p {
  font-size: clamp(1.05rem, 1.45vw, 1.17rem);
  line-height: 1.85;
  color: var(--text-secondary);
}
.rp-chapter .copy-block p::first-line { color: var(--text-primary); font-weight: 500; }

/* Playbooks detour graphic: plan blocked, fallback route around it (used in .pb-real). */
.pb-detour { max-width: 340px; margin-top: 2rem; }
.pb-detour svg { display: block; width: 100%; height: auto; overflow: visible; }
.pb-detour-plan { stroke: rgba(255, 255, 255, 0.25); stroke-width: 2; stroke-dasharray: 5 6; }
.pb-detour-block rect { fill: rgba(255, 255, 255, 0.06); stroke: rgba(255, 255, 255, 0.3); stroke-width: 1.5; }
.pb-detour-block path { stroke: rgba(255, 255, 255, 0.45); stroke-width: 2; stroke-linecap: round; }
.pb-detour-route { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(205, 62, 45, 0.6)); stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.4s var(--ease-out) 0.3s; }
.pb-detour.in .pb-detour-route { stroke-dashoffset: 0; }
.pb-detour-start { fill: #fff; }
.pb-detour-end circle { fill: #3f8f5a; }
.pb-detour-end path { stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .pb-detour-route { transition: none; stroke-dashoffset: 0; } }

/* "Current Report Series": dark band of numbered series cards. */
section.rp-series-section {
  position: relative;
  overflow: clip;
  color: #fff;
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(205, 62, 45, 0.22), transparent 65%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(205, 62, 45, 0.12), transparent 70%),
    var(--text-primary);
}
.rp-series-section .kicker { color: var(--accent); }
.rp-series-section .section-header h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.rp-series-section .pillars-grid { gap: 1rem; }
.rp-series-section .pillar-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1.5rem;
  align-content: start;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}
.rp-series-section .pillar-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.rp-series-section .pillar-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(205, 62, 45, 0.55);
  box-shadow: 0 24px 50px -30px rgba(205, 62, 45, 0.6);
}
.rp-series-section .pillar-number {
  grid-row: span 2;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
  transition: color 0.35s var(--ease-out), -webkit-text-stroke-color 0.35s var(--ease-out);
}
.rp-series-section .pillar-card:hover .pillar-number { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.rp-series-section .pillar-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 0.6rem; }
.rp-series-section .pillar-card p { color: rgba(255, 255, 255, 0.66); font-size: 0.97rem; }

/* Reports "Reports We Publish": dark band, heading beside the intro, then a
   bento of the five planned reports (annual report featured on the left). */
section.rp-shelf-section {
  position: relative;
  overflow: clip;
  color: #fff;
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(205, 62, 45, 0.22), transparent 65%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(205, 62, 45, 0.12), transparent 70%),
    var(--text-primary);
}
.rp-shelf-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1.5rem clamp(2rem, 5vw, 4rem); align-items: end;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
}
.rp-shelf-section .rs-kpill { color: #fff; background: rgba(205, 62, 45, 0.16); border-color: rgba(205, 62, 45, 0.45); }
.rp-shelf-head h2 { margin: 0; color: #fff; font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.06; letter-spacing: -0.02em; }
.rp-shelf-aside { display: flex; align-items: flex-end; gap: 1.5rem; }
.rp-shelf-aside p { margin: 0; max-width: 46ch; font-size: 1rem; line-height: 1.65; color: rgba(255, 255, 255, 0.68); }
.rp-shelf-count { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.rp-shelf-count strong { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: #fff; }
.rp-shelf-count span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.35; color: rgba(255, 255, 255, 0.55); }
.rp-shelf-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.rp-shelf-card {
  display: flex; flex-direction: column;
  padding: clamp(1.4rem, 2.2vw, 1.75rem);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.rp-shelf-card:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(205, 62, 45, 0.55); transform: translateY(-3px); }
.rp-shelf-card--feature {
  grid-row: span 2;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(205, 62, 45, 0.28), transparent 70%),
    rgba(255, 255, 255, 0.05);
  border-color: rgba(205, 62, 45, 0.4);
}
.rp-shelf-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.rp-shelf-num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
  transition: color 0.3s var(--ease-out), -webkit-text-stroke-color 0.3s var(--ease-out);
}
.rp-shelf-card:hover .rp-shelf-num { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.rp-shelf-status {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
  color: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}
.rp-shelf-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid #ff8a72; }
.rp-shelf-card h3 { margin-bottom: 0.6rem; font-size: 1.15rem; line-height: 1.3; color: #fff; }
.rp-shelf-card--feature h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); }
.rp-shelf-card p { max-width: none; margin: 0; font-size: 0.93rem; line-height: 1.7; color: rgba(255, 255, 255, 0.66); }
.rp-shelf-cover {
  display: grid; gap: 0.55rem;
  margin-bottom: 1.5rem; padding: 1.1rem 1.1rem 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
}
.rp-shelf-cover-tag { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #ff8a72; }
.rp-shelf-cover-line { display: block; height: 8px; width: 70%; border-radius: 99px; background: rgba(255, 255, 255, 0.3); }
.rp-shelf-cover-line--s { width: 45%; height: 6px; background: rgba(255, 255, 255, 0.14); }
.rp-shelf-cover svg { display: block; width: calc(100% + 2.2rem); max-width: none; height: 70px; margin: 0.5rem -1.1rem 0; }
.rp-shelf-card--feature .rp-shelf-cover { flex: 1; min-height: 160px; align-content: start; grid-template-rows: auto auto auto 1fr; }
.rp-shelf-card--feature .rp-shelf-cover svg { align-self: end; }
@media (max-width: 1024px) {
  .rp-shelf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-shelf-card--feature { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .rp-shelf-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 640px) {
  .rp-shelf-grid { grid-template-columns: minmax(0, 1fr); }
  .rp-shelf-aside { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .rp-shelf-count { padding-left: 0; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rp-shelf-card:hover { transform: none; }
}

/* FAQ: sticky header beside a ruled question list. */
section.faq-section.rp-faq-section { background: var(--canvas); border-top: 1px solid var(--panel-border); }
.rp-faq-section .container {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.rp-faq-section .section-header { margin-bottom: 0; position: sticky; top: 104px; }
.rp-faq-section .section-header h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); letter-spacing: -0.02em; }
.rp-faq-section .faq-list { max-width: none; border-top: 1px solid var(--panel-border); }
section.rp-faq-section .faq-item {
  padding: 1.6rem 0 1.6rem 1.25rem;
  border-bottom: 1px solid var(--panel-border);
  position: relative;
}
section.rp-faq-section .faq-item::before {
  content: '';
  position: absolute; left: 0; top: 1.6rem; bottom: 1.6rem;
  width: 2px;
  background: var(--accent-border);
  transition: background 0.25s var(--ease-out);
}
section.rp-faq-section .faq-item:hover::before { background: var(--accent); }
section.rp-faq-section .faq-item h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
section.rp-faq-section .faq-item p { font-size: 1rem; line-height: 1.75; color: var(--text-secondary); }

/* Reports FAQ (--acc): numbered card accordion. Scoped with the modifier so
   the other pages sharing rp-faq-section keep their layout. */
section.faq-section.rp-faq--acc {
  background:
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(205, 62, 45, 0.07), transparent 70%),
    var(--canvas);
  border-top: 0;
}
.rp-faq--acc .section-header .kicker { color: var(--accent); }
.rp-faq--acc .section-header h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  padding-bottom: 1.1rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover)) 0 100% / 56px 3px no-repeat;
}
.rp-faq--acc .faq-list { display: grid; gap: 0.75rem; border-top: 0; }
section.rp-faq--acc details.rp-faq-item {
  padding: 0;
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
section.rp-faq--acc details.rp-faq-item::before { display: none; }
section.rp-faq--acc details.rp-faq-item:hover { border-color: var(--accent-border); }
section.rp-faq--acc details.rp-faq-item[open] {
  border-color: var(--accent-border);
  box-shadow: 0 24px 48px -30px rgba(17, 17, 17, 0.35);
}
section.rp-faq--acc details.rp-faq-item summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.1rem;
  padding: 1.25rem 1.4rem;
  text-align: left;
  cursor: pointer;
  list-style: none;
}
section.rp-faq--acc details.rp-faq-item summary::-webkit-details-marker { display: none; }
section.rp-faq--acc details.rp-faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 16px; }
.rp-faq-num {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: color 0.3s var(--ease-out);
}
.rp-faq-item[open] .rp-faq-num { color: var(--accent); }
section.rp-faq--acc details.rp-faq-item h3 { margin: 0; font-size: 1.08rem; line-height: 1.4; }
.rp-faq-toggle {
  position: relative;
  width: 34px; min-width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--panel);
  transition: background 0.3s var(--ease-out), transform 0.35s var(--ease-out);
}
.rp-faq-toggle::before,
.rp-faq-toggle::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 12px; height: 2px;
  border-radius: 1px;
  background: var(--text-primary);
  transform: translate(-50%, -50%);
  transition: background 0.3s var(--ease-out);
}
.rp-faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.rp-faq-item[open] .rp-faq-toggle { background: var(--accent); transform: rotate(45deg); }
.rp-faq-item[open] .rp-faq-toggle::before,
.rp-faq-item[open] .rp-faq-toggle::after { background: #fff; }
section.rp-faq--acc details.rp-faq-item p {
  margin: 0;
  padding: 0 1.4rem 1.4rem calc(1.4rem + 1.1rem + 1.4rem);
  font-size: 1rem; line-height: 1.8;
  color: var(--text-secondary);
}
@media (max-width: 900px) {
  section.rp-faq--acc details.rp-faq-item p { padding-left: 1.4rem; }
}

/* Closing CTA: photo backdrop under the dark band. */
section.closing-cta-section.rp-cta-section {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.82), rgba(17, 17, 17, 0.92)),
    radial-gradient(ellipse 60% 70% at 50% 100%, rgba(205, 62, 45, 0.35), transparent 70%),
    url('https://revxforge.com/assets/benchmarks-hero-bg.jpg') center / cover;
  background-blend-mode: normal;
}
.rp-cta-section .kicker { color: var(--accent); }
.rp-cta-section h2 {
  margin-bottom: 2rem;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.rp-cta-section .cta-row { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0.75rem; max-width: 440px; }
.rp-cta-section .cta-row .btn {
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 0.4rem 0.4rem 0.4rem 1.4rem;
  border-radius: 999px;
  text-align: left;
  white-space: normal;
  line-height: 1.3;
}
.rp-cta-section .cta-row .btn--ghost { justify-content: flex-start; padding: 0.4rem 1.4rem 0.4rem 0.4rem; color: #fff; border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.05); }
.rp-cta-section .cta-row .btn--ghost:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.1); }
.rp-cta-section .cta-row .btn--ghost:hover .rsr-btn-icon { background: var(--accent); border-color: var(--accent); }
.rp-cta-section .btn--primary { background: linear-gradient(135deg, var(--accent), var(--accent-hover)); box-shadow: 0 12px 30px -10px rgba(205, 62, 45, 0.8); }
.rp-cta-section .cta-row .btn:hover { transform: translateY(-2px); }
.rp-cta-section .btn--primary:hover .rsr-btn-icon { transform: rotate(-45deg); }
.rp-cta-section .btn--primary:hover .rs-hero-arrow { transform: none; }
/* Reports closing "Why We Publish Even Findings That Don't Flatter a Trend":
   centred heading + pull quote, two unflattering findings stamped "as measured",
   three commitments, then the CTAs. */
.rp-flat { text-align: center; }
.rp-flat-head { max-width: 920px; margin: 0 auto clamp(2rem, 4vw, 2.75rem); }
.rp-cta-section .rp-flat-head h2 { margin: 1rem auto 1.5rem; max-width: 26ch; }
.rp-flat-quote {
  max-width: 34ch; margin: 0 auto;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}
.rp-flat-findings {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem;
  max-width: 820px; margin: 0 auto;
}
.rp-flat-card {
  position: relative; text-align: left;
  padding: 1.25rem 1.35rem 1.15rem;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-lg);
}
.rp-flat-stamp {
  position: absolute; top: 0.9rem; right: 0.9rem;
  padding: 0.2rem 0.55rem; border-radius: 6px;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.5);
  transform: rotate(-4deg);
}
.rp-flat-spark { display: block; width: 100%; height: 60px; margin: 1.75rem 0 0.85rem; color: var(--accent); overflow: visible; }
.rp-flat-metric { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; max-width: none; font-weight: 600; color: #fff; }
.rp-flat-metric b { font-size: 0.85rem; color: #ff8a73; white-space: nowrap; }
.rp-flat-cap { grid-column: 1 / -1; max-width: none; margin-top: 0.25rem; font-size: 0.92rem; color: rgba(255, 255, 255, 0.6); }
.rp-flat-rules {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
  max-width: 980px; margin: clamp(2rem, 4vw, 2.75rem) auto 0; text-align: left;
}
.rp-flat-rules li {
  display: grid; gap: 0.3rem; padding-top: 1rem;
  border-top: 2px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem; line-height: 1.6; color: rgba(255, 255, 255, 0.66);
}
.rp-flat-rules li:first-child { border-top-color: var(--accent); }
.rp-flat-rules span { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: var(--accent); }
.rp-flat-rules b { font-family: var(--font-display); font-size: 1.1rem; color: #fff; }
.rp-flat-why { max-width: 52ch; margin: clamp(1.75rem, 3.5vw, 2.25rem) auto 0; color: rgba(255, 255, 255, 0.8); font-size: 1.02rem; line-height: 1.7; }
.rp-cta-section .cta-row.rp-flat-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; max-width: none; margin-top: 1.5rem; }
.rp-cta-section p.rp-flat-related { max-width: none; margin-top: 1.25rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.6); }
@media (max-width: 860px) {
  .rp-flat-rules { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .rp-flat-findings { grid-template-columns: minmax(0, 1fr); }
  .rp-cta-section .cta-row.rp-flat-actions { flex-direction: column; align-items: stretch; }
}

@media (max-width: 900px) {
  .rp-chapter .container,
  .rp-faq-section .container { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .rp-chapter .section-header,
  .rp-faq-section .section-header { position: static; }
  .rp-chapter .section-header h2 { max-width: 22ch; }
}
@media (max-width: 600px) {
  .rp-chapter .copy-block { padding-left: 1.25rem; }
  .rp-series-section .pillar-card { grid-template-columns: minmax(0, 1fr); padding: 1.5rem; }
  .rp-series-section .pillar-number { grid-row: auto; margin-bottom: 1rem; }
}

/* Topics page. All rules scoped to tp-* classes so no other page is affected. */

/* "Why This Hub Exists": heading beside two cards contrasting format-first and topic-first navigation. */
section.tp-why-section { background: var(--panel); }
section.tp-assign-section { background: var(--canvas); }
section.tp-search-section { background: var(--panel); }
.tp-why-section .container,
.tp-assign-section .container,
.tp-search-section .container {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.tp-why-section .section-header,
.tp-assign-section .section-header,
.tp-search-section .section-header { margin-bottom: 0; }
.tp-why-section .section-header h2,
.tp-assign-section .section-header h2,
.tp-search-section .section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.tp-why-section .section-header p,
.tp-assign-section .section-header p,
.tp-search-section .section-header p { font-size: 1.05rem; line-height: 1.75; color: var(--text-secondary); }
.tp-why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.tp-why-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tp-why-card:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -28px rgba(17, 17, 17, 0.35); }
.tp-why-card h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; }
.tp-why-card > p:not(.tp-why-label) { color: var(--text-secondary); line-height: 1.65; }
.tp-why-label {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
}
.tp-why-label span {
  padding: 0.2rem 0.6rem; border-radius: 99px;
  background: var(--accent); color: #fff; letter-spacing: 0.06em;
}
/* Mini map: the key item fans out to the items below it. */
.tp-why-flow {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin: auto 0 0; padding: 1rem 0 0; list-style: none;
  border-top: 1px dashed var(--panel-border);
}
.tp-why-flow li {
  padding: 0.3rem 0.7rem; border-radius: 99px;
  font-size: 0.82rem; color: var(--text-secondary);
  background: var(--panel); border: 1px solid var(--panel-border);
}
.tp-why-flow li.is-key { flex-basis: 100%; padding: 0 0 0.2rem; border: 0; background: none; font-weight: 600; color: var(--text-primary); }
.tp-why-flow li.is-key::after { content: ' \2192'; color: var(--accent); }

.tp-why-card--hub {
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(205, 62, 45, 0.3), transparent 70%),
    var(--text-primary);
}
.tp-why-card--hub > p:not(.tp-why-label) { color: rgba(255, 255, 255, 0.72); }
.tp-why-card--hub .tp-why-label { color: rgba(255, 255, 255, 0.55); }
.tp-why-card--hub .tp-why-flow { border-top-color: rgba(255, 255, 255, 0.15); }
.tp-why-card--hub .tp-why-flow li { color: rgba(255, 255, 255, 0.8); background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.tp-why-card--hub .tp-why-flow li.is-key { color: #fff; background: none; }

/* "How Topics Are Assigned": a three-step worked example joined by a rail. */
.tp-assign-section .container, .tp-search-section .container { align-items: start; }
.tp-assign-section .section-header, .tp-search-section .section-header { position: sticky; top: 104px; }
.tp-assign-steps { position: relative; display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.tp-assign-steps::before {
  content: ''; position: absolute; left: calc(clamp(1.25rem, 2.5vw, 1.75rem) + 18px); top: 2rem; bottom: 2rem;
  width: 2px; background: var(--accent-border);
}
.tp-assign-steps > li {
  position: relative;
  display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 1rem; row-gap: 0.4rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
}
.tp-assign-steps > li > :not(.tp-assign-num) { grid-column: 2; }
.tp-assign-steps > li > p:not(.tp-why-label) { color: var(--text-secondary); line-height: 1.65; }
.tp-assign-num {
  grid-row: 1 / span 3; align-self: start;
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  font-size: 0.8rem; font-weight: 700; color: var(--accent);
  background: var(--accent-subtle); border: 1px solid var(--accent-border);
}
.tp-assign-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.35rem 0 0; padding: 0; list-style: none; }
.tp-assign-tags li {
  display: inline-flex; align-items: baseline; gap: 0.4rem;
  padding: 0.3rem 0.75rem; border-radius: 99px;
  font-size: 0.82rem; color: var(--text-secondary);
  background: var(--panel); border: 1px solid var(--panel-border);
}
.tp-assign-tags small { font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
.tp-assign-tags .is-link { border-style: dashed; background: transparent; }

.tp-assign-steps > li.is-result {
  color: #fff; border-color: transparent;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(205, 62, 45, 0.3), transparent 70%),
    var(--text-primary);
}
.tp-assign-steps > li.is-result > p:not(.tp-why-label) { color: rgba(255, 255, 255, 0.72); }
.is-result .tp-why-label { color: rgba(255, 255, 255, 0.55); }
.is-result .tp-assign-num { color: #fff; background: var(--accent); border-color: var(--accent); }
.is-result .tp-assign-tags li { color: rgba(255, 255, 255, 0.8); background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); }
.is-result .tp-assign-tags .is-home { color: #fff; background: var(--accent); border-color: var(--accent); }
.is-result .tp-assign-tags .is-link { background: transparent; }

/* "A Living Structure": centred header over one publish fanning out to its section and its topic. */
section.tp-live-section { background: var(--canvas); }
.tp-live-section .section-header { margin-inline: auto; text-align: center; }
.tp-live-section .section-header h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
.tp-live-section .section-header p { font-size: 1.05rem; line-height: 1.75; color: var(--text-secondary); }
.tp-live-flow {
  display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: center;
  max-width: 880px; margin: 0 auto;
}
.tp-live-source, .tp-live-dest {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: #fff; border: 1px solid var(--panel-border); border-radius: var(--radius-lg);
}
.tp-live-source { border-color: var(--accent-border); box-shadow: 0 22px 46px -28px rgba(205, 62, 45, 0.45); }
.tp-live-source .tp-why-label { justify-content: flex-start; color: var(--accent); }
.tp-live-title { font-size: 1.15rem; font-weight: 600; line-height: 1.3; color: var(--text-primary); }
.tp-live-source .tp-type { color: var(--accent); background: var(--accent-subtle); }
.tp-live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.tp-live-dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--accent); animation: tpLivePulse 1.8s ease-out infinite;
}
@keyframes tpLivePulse { from { opacity: 0.8; transform: scale(0.6); } to { opacity: 0; transform: scale(1.6); } }
.tp-live-arrow { align-self: stretch; width: 100%; height: 100%; min-height: 120px; color: var(--accent); }
.tp-live-dests { display: grid; gap: 1rem; }
.tp-live-dest .tp-why-label { width: 100%; }
.tp-live-dest.is-hub {
  border-color: transparent;
  background:
    radial-gradient(ellipse 80% 90% at 100% 0%, rgba(205, 62, 45, 0.3), transparent 70%),
    var(--text-primary);
}
.tp-live-dest.is-hub .tp-why-label { color: rgba(255, 255, 255, 0.55); }
.tp-live-dest.is-hub .tp-live-title { color: #fff; }
.tp-live-note {
  max-width: 62ch; margin: clamp(2rem, 4vw, 3rem) auto 0;
  text-align: center; font-size: 1.05rem; line-height: 1.75; color: var(--text-secondary);
}
.tp-live-note strong { color: var(--text-primary); box-shadow: inset 0 -0.45em 0 var(--accent-subtle); }
@media (max-width: 600px) {
  .tp-live-flow { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .tp-live-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-live-dot::after { animation: none; }
}

/* "If You're Not Sure Which Topic Applies": dark band, copy + CTA beside a question that funnels
   through three possible topics into the Diagnostic. */
section.tp-unsure-section {
  color: #fff;
  background:
    radial-gradient(ellipse 45% 70% at 100% 0%, rgba(205, 62, 45, 0.22), transparent 70%),
    var(--text-primary);
}
.tp-unsure-section .container {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.tp-unsure-section .section-header { margin-bottom: 0; }
.tp-unsure-section .kicker { color: var(--accent); }
.tp-unsure-section .section-header h2 {
  color: #fff; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance;
}
.tp-unsure-section .section-header p { font-size: 1.05rem; line-height: 1.75; color: rgba(255, 255, 255, 0.72); margin-bottom: 1.75rem; }
.tp-unsure-section .section-header strong { color: #fff; }
.tp-unsure-card {
  display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}
.tp-unsure-card .tp-why-label { color: rgba(255, 255, 255, 0.5); }
.tp-unsure-q { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: #fff; }
.tp-unsure-text { color: rgba(255, 255, 255, 0.68); line-height: 1.65; }
.tp-unsure-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.tp-unsure-topics a {
  position: relative; display: block; padding: 0.6rem 0.5rem; text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.25); border-radius: var(--radius-md);
  font-size: 0.88rem; color: rgba(255, 255, 255, 0.85); text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
/* Each candidate topic drops a line into the Diagnostic row below. */
.tp-unsure-topics a::after {
  content: ''; position: absolute; left: 50%; top: 100%; height: 1rem;
  border-left: 1px dashed rgba(205, 62, 45, 0.6);
}
.tp-unsure-topics a:hover { border-color: var(--accent); background: rgba(205, 62, 45, 0.15); color: #fff; }
.tp-unsure-topics a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tp-unsure-route {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.85rem 1rem; border-radius: var(--radius-md);
  background: var(--accent); color: #fff;
}
.tp-unsure-route p { font-size: 0.92rem; line-height: 1.4; color: #fff; }
.tp-unsure-route-icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.tp-unsure-route-icon svg { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .tp-unsure-section .container { grid-template-columns: minmax(0, 1fr); }
}

/* "Built for How People Actually Search": a mock search-history card, one query per resource. */
.tp-search-card {
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px -30px rgba(17, 17, 17, 0.3);
  overflow: hidden;
}
.tp-search-head {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.9rem clamp(1.25rem, 2.5vw, 1.75rem);
  border-bottom: 1px solid var(--panel-border);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
}
.tp-search-dots { display: inline-flex; gap: 0.35rem; }
.tp-search-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--panel-border); }
.tp-search-dots i:first-child { background: var(--accent); }
.tp-search-list {
  position: relative;
  margin: 0; padding: 0.75rem clamp(0.75rem, 1.5vw, 1rem); list-style: none;
}
/* Dashed rail through the icons: one journey, several queries. */
.tp-search-list::before {
  content: ''; position: absolute;
  left: calc(clamp(0.75rem, 1.5vw, 1rem) + 2rem); top: 1.75rem; bottom: 1.75rem;
  border-left: 2px dashed var(--accent-border);
}
.tp-search-list a {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-primary); text-decoration: none;
  transition: background 0.2s ease;
}
.tp-search-list a:hover { background: var(--panel); }
.tp-search-list a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tp-search-icon {
  width: 34px; height: 34px; padding: 8px; border-radius: 50%;
  color: var(--accent); background: #fff; border: 1px solid var(--accent-border);
}
.tp-search-list a:hover .tp-search-icon { color: #fff; background: var(--accent); border-color: var(--accent); }
.tp-search-q { font-weight: 500; }
.tp-search-q::before { content: '\201C'; color: var(--text-muted); }
.tp-search-q::after { content: '\201D'; color: var(--text-muted); }
.tp-search-card .tp-type { color: var(--accent); background: var(--accent-subtle); }
.tp-search-foot {
  margin: 0;
  padding: 1.1rem clamp(1.25rem, 2.5vw, 1.75rem);
  border-top: 1px solid var(--panel-border);
  background: var(--canvas);
  color: var(--text-secondary); line-height: 1.65;
}

@media (max-width: 900px) {
  .tp-why-section .container, .tp-assign-section .container, .tp-search-section .container { grid-template-columns: minmax(0, 1fr); }
  .tp-assign-section .section-header, .tp-search-section .section-header { position: static; }
}
@media (max-width: 600px) {
  .tp-why-grid { grid-template-columns: minmax(0, 1fr); }
  .tp-assign-steps::before { display: none; }
  .tp-assign-steps > li { grid-template-columns: minmax(0, 1fr); }
  .tp-assign-steps > li > :not(.tp-assign-num) { grid-column: 1; }
  .tp-assign-num { grid-row: auto; margin-bottom: 0.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-why-card, .tp-why-card:hover { transition: none; transform: none; }
}

/* "Topic Clusters": dark band with symptom chips and a tabbed explorer. */
section.tp-clusters-section {
  position: relative;
  overflow: clip;
  color: #fff;
  background:
    radial-gradient(ellipse 50% 60% at 0% 0%, rgba(205, 62, 45, 0.22), transparent 65%),
    radial-gradient(ellipse 40% 50% at 100% 100%, rgba(205, 62, 45, 0.12), transparent 70%),
    var(--text-primary);
}
.tp-clusters-section .kicker { color: var(--accent); }
.tp-clusters-section .section-header h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.tp-clusters-section .section-header p { color: rgba(255, 255, 255, 0.68); font-size: 1.05rem; max-width: 60ch; }

.tp-symptoms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}
.tp-symptoms-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 0.4rem;
}
.tp-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.tp-chip:hover { background: rgba(205, 62, 45, 0.18); border-color: var(--accent); color: #fff; transform: translateY(-1px); }
.tp-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tp-chip--alt { border-style: dashed; color: #fff; }

.tp-explorer { scroll-margin-top: 104px; }
.tp-explorer.is-ready {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}
.tp-tablist { display: flex; flex-direction: column; gap: 0.35rem; }
.tp-tablist[hidden] { display: none; }
.tp-tab {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.tp-tab::before {
  content: '';
  position: absolute; left: 0; top: 0.75rem; bottom: 0.75rem;
  width: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.3s var(--ease-out);
}
.tp-tab:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }
.tp-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tp-tab[aria-selected="true"] { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.12); color: #fff; }
.tp-tab[aria-selected="true"]::before { transform: scaleY(1); }
.tp-tab-num { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: rgba(255, 255, 255, 0.35); }
.tp-tab[aria-selected="true"] .tp-tab-num { color: var(--accent); }
.tp-tab-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.tp-tab-count {
  min-width: 1.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  text-align: center;
}

.tp-panels { display: grid; gap: 1rem; }
.tp-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(205, 62, 45, 0.22), transparent 70%),
    rgba(255, 255, 255, 0.04);
}
.tp-panel:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.is-ready .tp-panel:not([hidden]) { animation: tp-panel-in 0.45s var(--ease-out); }
@keyframes tp-panel-in { from { opacity: 0; transform: translateY(8px); } }
.tp-panel-num {
  position: absolute; top: 1rem; right: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
  pointer-events: none;
}
.tp-panel h3 { position: relative; color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -0.01em; margin-bottom: 0.75rem; }
.tp-panel > p { position: relative; color: rgba(255, 255, 255, 0.7); font-size: 1rem; line-height: 1.75; max-width: 58ch; margin-bottom: 1.75rem; }
.tp-resources { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.tp-resources a {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(17, 17, 17, 0.35);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.tp-resources a::after {
  content: '→';
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.tp-resources a:hover { border-color: rgba(205, 62, 45, 0.6); background: rgba(205, 62, 45, 0.1); }
.tp-resources a:hover::after { color: var(--accent); transform: translateX(4px); }
.tp-resources a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tp-type {
  justify-self: start;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  background: rgba(205, 62, 45, 0.16);
  color: #f0a59b;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* "How This Hub Connects": a dark "Topics hub" layer bar over the six content-type cards it pulls from. */
section.tp-connect-section { background: var(--panel); }
.tp-connect-section .section-header { margin-inline: auto; text-align: center; }
.tp-connect-section .section-header h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
.tp-connect-section .section-header p { margin-inline: auto; font-size: 1.05rem; line-height: 1.75; }
.tp-connect-layer {
  position: relative;
  display: flex; align-items: center; gap: 1rem;
  max-width: 560px; margin: 0 auto 1.5rem;
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(ellipse 70% 120% at 100% 0%, rgba(205, 62, 45, 0.35), transparent 70%),
    var(--text-primary);
}
.tp-connect-layer p { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; line-height: 1.5; }
.tp-connect-layer strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.15rem; }
.tp-connect-layer-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent); }
.tp-connect-layer-icon svg { width: 22px; height: 22px; }
.tp-hubs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.tp-hub {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  transition: border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.tp-hub::after {
  content: '→';
  position: absolute; right: 1.25rem; top: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.tp-hub:hover { border-color: var(--accent-border); transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(17, 17, 17, 0.3); }
.tp-hub:hover::after { color: var(--accent); transform: translateX(4px); }
.tp-hub:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tp-hub-name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.tp-hub-desc { color: var(--text-secondary); font-size: 0.9rem; }
/* Wide screens: one row of six, each card wired up to the layer bar by a rail. */
@media (min-width: 1100px) {
  .tp-connect-layer::after {
    content: ''; position: absolute; left: 50%; top: 100%; height: 1.5rem;
    border-left: 2px solid var(--accent-border);
  }
  .tp-connect-section .tp-hubs { position: relative; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 0; padding-top: 1.5rem; }
  /* Rail spans first to last card centre: half a column = (100% - 5 gaps) / 12. */
  .tp-connect-section .tp-hubs::before {
    content: ''; position: absolute; top: 0;
    left: calc((100% - 3.75rem) / 12); right: calc((100% - 3.75rem) / 12);
    border-top: 2px solid var(--accent-border);
  }
  .tp-connect-section .tp-hub::before {
    content: ''; position: absolute; left: 50%; bottom: 100%; height: 1.5rem;
    border-left: 2px solid var(--accent-border);
    transition: border-color 0.2s var(--ease-out);
  }
  .tp-connect-section .tp-hub:hover::before { border-color: var(--accent); }
  .tp-connect-section .tp-hub { padding: 1.1rem 1.1rem 2.4rem; }
  .tp-connect-section .tp-hub::after { top: auto; bottom: 0.9rem; right: auto; left: 1.1rem; }
}

/* FAQ: native <details> accordion inside the shared rp-faq layout. */
.rp-faq-section details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
}
.rp-faq-section details.faq-item summary::-webkit-details-marker { display: none; }
.rp-faq-section details.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
section.rp-faq-section details.faq-item h3 { margin: 0; transition: color 0.2s var(--ease-out); }
.rp-faq-section details.faq-item summary:hover h3 { color: var(--accent); }
section.rp-faq-section details.faq-item p { margin-top: 0.75rem; }
section.rp-faq-section details.faq-item[open]::before { background: var(--accent); }
.tp-faq-icon {
  flex: none;
  position: relative;
  width: 32px; height: 32px;
  border: 1px solid var(--panel-border);
  border-radius: 50%;
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.3s var(--ease-out);
}
.tp-faq-icon::before,
.tp-faq-icon::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  margin: -0.75px 0 0 -6px;
  background: var(--text-primary);
  transition: transform 0.3s var(--ease-out), background 0.25s var(--ease-out);
}
.tp-faq-icon::after { transform: rotate(90deg); }
details[open] .tp-faq-icon { background: var(--accent); border-color: var(--accent); transform: rotate(180deg); }
details[open] .tp-faq-icon::before,
details[open] .tp-faq-icon::after { background: #fff; }
details[open] .tp-faq-icon::after { transform: rotate(0deg); }

@media (max-width: 900px) {
  .tp-explorer.is-ready { grid-template-columns: minmax(0, 1fr); }
  /* Tabs become a horizontal scroller above the panel. */
  .tp-tablist { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.25rem; scrollbar-width: none; }
  .tp-tablist::-webkit-scrollbar { display: none; }
  .tp-tab { width: auto; flex: none; scroll-snap-align: start; grid-template-columns: auto auto auto; }
  .tp-tab::before { top: auto; bottom: 0; left: 0.75rem; right: 0.75rem; width: auto; height: 2px; transform: scaleX(0); }
  .tp-tab[aria-selected="true"]::before { transform: scaleX(1); }
  .tp-hubs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .tp-resources a { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0.4rem; }
  .tp-type { grid-column: 1 / -1; }
  .tp-resources a::after { grid-row: 2; grid-column: 2; }
  .tp-hubs { grid-template-columns: minmax(0, 1fr); }
  .tp-chip { font-size: 0.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .is-ready .tp-panel:not([hidden]) { animation: none; }
}

/* Topics closing CTA: dark card with the copy beside two "pick your path" links. */
section.closing-cta-section.tp-cta-section {
  text-align: left;
  padding-block: var(--space-xl);
  background: var(--canvas);
  color: var(--text-primary);
}
.tp-cta {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 80% at 100% 100%, rgba(205, 62, 45, 0.35), transparent 70%),
    radial-gradient(ellipse 40% 60% at 0% 0%, rgba(205, 62, 45, 0.15), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--text-primary);
  box-shadow: 0 40px 80px -40px rgba(17, 17, 17, 0.55);
}
.tp-cta-section .kicker { color: var(--accent); }
.tp-cta-copy h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 18ch;
  text-wrap: balance;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover)) 0 100% / 56px 3px no-repeat;
}
.tp-cta-section .tp-cta-copy p {
  margin: 0;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  line-height: 1.8;
}

.tp-cta-paths { display: flex; flex-direction: column; gap: 0.75rem; }
.tp-cta-section .tp-cta-paths-title {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}
.tp-path {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.35rem 3.5rem 1.35rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.tp-path:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.tp-path:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.tp-path--primary { background: var(--accent); border-color: var(--accent); box-shadow: 0 18px 40px -16px rgba(205, 62, 45, 0.8); }
.tp-path--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.tp-path-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.tp-path--primary .tp-path-label { color: rgba(255, 255, 255, 0.8); }
.tp-path-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.tp-path-desc { font-size: 0.9rem; line-height: 1.55; color: rgba(255, 255, 255, 0.68); }
.tp-path--primary .tp-path-desc { color: rgba(255, 255, 255, 0.88); }
.tp-path-arrow {
  position: absolute; right: 1.35rem; top: 50%;
  width: 20px; height: 20px;
  margin-top: -10px;
  transition: transform 0.25s var(--ease-out);
}
.tp-path:hover .tp-path-arrow { transform: translateX(4px); }
.tp-path-or {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.tp-path-or::before,
.tp-path-or::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.12); }

/* "One structure, two readers": the same grouping serves a person and a crawler. */
.tp-cta-readers { display: flex; flex-direction: column; gap: 0.75rem; }
.tp-cta-section .tp-cta-readers-lead { margin: 0 0 0.25rem; font-size: 0.95rem; line-height: 1.6; color: rgba(255, 255, 255, 0.68); }
.tp-cta-reader {
  display: flex; align-items: flex-start; gap: 0.9rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}
.tp-cta-section .tp-cta-reader p { margin: 0; font-size: 0.92rem; line-height: 1.55; color: rgba(255, 255, 255, 0.72); }
.tp-cta-reader strong { display: block; margin-bottom: 0.15rem; font-family: var(--font-display); font-size: 1.02rem; color: #fff; }
.tp-cta-reader-icon {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  color: var(--accent); background: rgba(205, 62, 45, 0.16); border: 1px solid rgba(205, 62, 45, 0.4);
}
.tp-cta-reader-icon svg { width: 18px; height: 18px; }

/* Paths: a full-width row under copy + readers, split by a vertical "or". */
.tp-cta-paths { grid-column: 1 / -1; padding-top: clamp(1.5rem, 3vw, 2rem); border-top: 1px solid rgba(255, 255, 255, 0.12); }
@media (min-width: 901px) {
  .tp-cta-paths { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; column-gap: 1.25rem; }
  .tp-cta-section .tp-cta-paths-title { grid-column: 1 / -1; }
  .tp-path-or { flex-direction: column; }
  .tp-path-or::before, .tp-path-or::after { width: 1px; height: auto; }
}

@media (max-width: 900px) {
  .tp-cta { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  section.closing-cta-section.tp-cta-section { padding-block: var(--space-lg); }
  .tp-cta { border-radius: var(--radius-lg); padding: 1.75rem 1.25rem; }
  .tp-path { padding: 1.2rem 3rem 1.2rem 1.25rem; }
  .tp-path-arrow { right: 1.1rem; }
}

/* Frameworks page: reuses rs-/rp-/tp- sections; only the hero tone and the
   library cards (title runs into its lowercase sentence) need their own rules. */
.rs-hero--frameworks .rs-hero-bg,
.rs-hero--editorial .rs-hero-bg,
.rs-hero--methodology .rs-hero-bg,
.rs-hero--sources .rs-hero-bg { filter: brightness(0.6) saturate(0.85); background-position: 70% 50%; }

/* Contact hero: light theme (shared rules above) on a faint grid, with a
   decorative message-card illustration on the right. */
.rs-hero.ct-hero {
  min-height: 0;
  padding-block: calc(68px + clamp(3rem, 6vw, 5rem)) clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(ellipse 45% 60% at 0% 0%, rgba(205, 62, 45, 0.1), transparent 70%),
    radial-gradient(ellipse 40% 55% at 85% 40%, rgba(205, 62, 45, 0.08), transparent 70%),
    linear-gradient(rgba(17, 17, 17, 0.04) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, #ffffff 0%, var(--canvas) 70%, #f4f1ee 100%);
}
.ct-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.ct-hero .rs-hero-actions { flex-wrap: wrap; width: auto; max-width: none; }
.ct-hero-art svg { display: block; width: 100%; max-width: 440px; height: auto; margin-left: auto; overflow: visible; }
.ct-hero-art .ct-card-front { filter: drop-shadow(0 30px 40px rgba(17, 17, 17, 0.35)); }
.ct-hero-art .ct-card-back { filter: drop-shadow(0 20px 30px rgba(17, 17, 17, 0.12)); }
.ct-envelope { animation: ctFloat 6s var(--ease-in-out) infinite alternate; }
@keyframes ctFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}
@media (max-width: 900px) {
  .ct-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .ct-hero-art { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-envelope { animation: none; }
}

/* Contact FAQ: a chat thread in a window card, echoing the hero illustration.
   Questions are right-hand visitor bubbles, answers left-hand reply bubbles. */
section.faq-section.ct-faq-section {
  background:
    radial-gradient(ellipse 45% 60% at 100% 0%, rgba(205, 62, 45, 0.07), transparent 70%),
    var(--canvas);
  border-top: 1px solid var(--panel-border);
}
.ct-faq-section .section-header { margin-inline: auto; text-align: center; margin-bottom: 2.5rem; }
.ct-faq-section .section-header h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; }
.faq-list.ct-thread {
  max-width: 860px;
  margin-inline: auto;
  gap: 1.75rem;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) clamp(1.75rem, 4vw, 2.5rem);
  background:
    radial-gradient(circle at 1px 1px, rgba(17, 17, 17, 0.06) 1px, transparent 0) 0 0 / 22px 22px,
    #fff;
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  box-shadow: 0 40px 80px -45px rgba(17, 17, 17, 0.4);
  overflow: hidden;
}
.ct-thread-bar {
  display: flex; gap: 0.45rem;
  margin: 0 calc(-1 * clamp(1.25rem, 4vw, 2.5rem));
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  background: var(--text-primary);
}
.ct-thread-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.ct-thread-bar span:first-child { background: var(--accent); }
.ct-thread .ct-qa {
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: 0;
  border: 0;
}
.ct-thread .ct-qa h3 {
  align-self: flex-end;
  max-width: min(78%, 540px);
  margin: 0;
  padding: 0.85rem 1.2rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #fff;
  background: var(--accent);
  border-radius: 18px 18px 4px 18px;
  box-shadow: 0 12px 28px -14px rgba(205, 62, 45, 0.8);
}
.ct-thread .ct-qa p {
  position: relative;
  align-self: flex-start;
  max-width: min(82%, 600px);
  margin-left: 46px;
  padding: 0.95rem 1.2rem;
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text-secondary);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 18px 18px 18px 4px;
}
/* Reply avatar: the brand mark as a small dark disc with a red dot. */
.ct-thread .ct-qa p::before {
  content: '';
  position: absolute; left: -46px; bottom: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0 5px, transparent 6px), var(--text-primary);
}
@media (max-width: 600px) {
  .ct-faq-section .section-header { text-align: left; }
  .ct-thread .ct-qa h3 { max-width: 90%; }
  .ct-thread .ct-qa p { max-width: none; margin-left: 38px; }
  .ct-thread .ct-qa p::before { left: -38px; width: 28px; height: 28px; }
}

/* Research hub "Related Reading": dark head band (title + two CTAs) over a
   white panel of link tiles grouped by what the reader wants to do. */
section.closing-cta-section.rs-read-section {
  text-align: left;
  color: var(--text-primary);
  padding-block: var(--space-xl);
  background:
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--canvas);
}
.rs-read {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--panel-border);
  box-shadow: 0 40px 80px -45px rgba(17, 17, 17, 0.45);
}
.rs-read-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 1.75rem 3rem;
  padding: clamp(2rem, 4.5vw, 3rem) clamp(1.5rem, 4.5vw, 3rem);
  color: #fff;
  background:
    radial-gradient(ellipse 50% 90% at 0% 100%, rgba(205, 62, 45, 0.4), transparent 70%),
    radial-gradient(ellipse 40% 70% at 100% 0%, rgba(205, 62, 45, 0.14), transparent 70%),
    var(--text-primary);
}
.rs-read-section .rs-kpill { color: #fff; background: rgba(205, 62, 45, 0.16); border-color: rgba(205, 62, 45, 0.45); }
.rs-read-section .rs-read-head h2 {
  margin: 0;
  color: #fff;
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.rs-read-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.rs-read-actions .btn {
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 1.4rem;
  border-radius: 999px;
  text-align: left;
  white-space: normal;
}
.rs-read-btn-text { display: grid; gap: 0.3rem; line-height: 1.2; }
.rs-read-btn-text small {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.7;
}
.rs-read-actions .btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  box-shadow: 0 12px 30px -10px rgba(205, 62, 45, 0.8);
}
.rs-read-actions .btn:hover { transform: translateY(-2px); }
.rs-read-actions .btn--primary:hover .rsr-btn-icon { transform: rotate(-45deg); }
.rs-read-section .rs-read-actions .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.05); }
.rs-read-section .rs-read-actions .btn--ghost:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.1); }
.rs-read-section .rs-read-actions .btn--ghost:hover .rsr-btn-icon { background: var(--accent); border-color: var(--accent); }
.rs-read-actions .btn:focus-visible { outline-color: #fff; }
.rs-read-body {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4.5vw, 3rem) clamp(2rem, 4.5vw, 3rem);
}
.rs-read-group h3 {
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
}
.rs-read-group h3::after { content: ''; flex: 1; height: 1px; background: var(--panel-border); }
.rs-read-group ul { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.rs-read-tile {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.9rem 1rem 0.9rem 1.1rem;
  background: var(--canvas);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.rs-read-tile span { display: grid; gap: 0.2rem; min-width: 0; }
.rs-read-tile strong { font-size: 0.98rem; font-weight: 600; color: var(--text-primary); }
.rs-read-tile small { font-size: 0.82rem; line-height: 1.45; color: var(--text-muted); }
.rs-read-tile svg {
  flex: none; width: 30px; height: 30px; padding: 8px;
  color: var(--accent); background: #fff;
  border: 1px solid var(--panel-border); border-radius: 50%;
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.rs-read-tile:hover { background: #fff; border-color: var(--accent-border); transform: translateY(-2px); }
.rs-read-tile:hover svg { color: #fff; background: var(--accent); border-color: var(--accent); transform: translateX(2px); }
.rs-read-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 960px) {
  .rs-read-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  section.closing-cta-section.rs-read-section { padding-block: var(--space-lg); }
  .rs-read { border-radius: var(--radius-lg); }
  .rs-read-actions, .rs-read-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .rs-read-tile:hover, .rs-read-tile:hover svg, .rs-read-actions .btn:hover { transform: none; }
}

/* Sources "Types of Sources We May Use": band background and heading underline;
   the grouped card layout lives in sources.html. */
section.src-cat-section {
  background:
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(205, 62, 45, 0.07), transparent 70%),
    var(--panel);
  border-block: 1px solid var(--panel-border);
}
.src-cat-section .section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 11ch;
  text-wrap: balance;
  padding-bottom: 1.25rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover)) 0 100% / 56px 3px no-repeat;
}

/* Methodology "Evidence Hierarchy": the five source levels as a descending
   staircase of tiers. Each tier steps in further and its strength bar shrinks;
   the last (illustrative) tier is dashed. Numbers are CSS counters. */
section.mt-hier-section {
  position: relative;
  background:
    radial-gradient(ellipse 45% 60% at 100% 0%, rgba(205, 62, 45, 0.07), transparent 70%),
    var(--canvas);
  border-bottom: 1px solid var(--panel-border);
}
.mt-hier-section .container {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.mt-hier-head { position: sticky; top: 104px; }
.mt-hier-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 11ch;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover)) 0 100% / 56px 3px no-repeat;
}
.mt-hier-intro {
  font-size: clamp(1.05rem, 1.4vw, 1.15rem);
  line-height: 1.75;
  color: var(--text-primary);
}
.mt-hier-body { position: relative; padding-left: 1.5rem; }
/* Strong-to-weak spine down the left edge. */
.mt-hier-body::before {
  content: '';
  position: absolute; left: 0; top: 0.5rem; bottom: 0.5rem;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), rgba(205, 62, 45, 0.08));
}
.mt-tiers { counter-reset: mt-tier; display: flex; flex-direction: column; gap: 0.75rem; }
.mt-tier {
  --step: 0;
  counter-increment: mt-tier;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1.25rem;
  align-items: center;
  margin-left: calc(var(--step) * clamp(0px, 3vw, 2.5rem));
  padding: 1.3rem 1.5rem 1.6rem;
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.mt-tier:nth-child(2) { --step: 1; }
.mt-tier:nth-child(3) { --step: 2; }
.mt-tier:nth-child(4) { --step: 3; }
.mt-tier:nth-child(5) { --step: 4; }
.mt-tier::before {
  content: counter(mt-tier);
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
}
.mt-tier::after {
  content: '';
  position: absolute; left: 1.5rem; bottom: 0.7rem;
  width: calc((100% - 3rem) * 0.01 * var(--strength-n, 100));
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
  opacity: 0.75;
}
.mt-tier:nth-child(2)::after { --strength-n: 80; }
.mt-tier:nth-child(3)::after { --strength-n: 60; opacity: 0.55; }
.mt-tier:nth-child(4)::after { --strength-n: 40; opacity: 0.4; }
.mt-tier:nth-child(5)::after { --strength-n: 20; opacity: 0.3; }
.mt-tier p { font-size: 1rem; line-height: 1.7; color: var(--text-secondary); }
.mt-tier:first-child { border-color: var(--accent-border); box-shadow: 0 20px 44px -26px rgba(205, 62, 45, 0.55); }
.mt-tier:first-child::before { color: #fff; background: var(--accent); border-color: var(--accent); }
.mt-tier:first-child p { color: var(--text-primary); }
.mt-tier:last-child { background: transparent; border-style: dashed; border-color: rgba(17, 17, 17, 0.25); box-shadow: none; }
.mt-tier:last-child::before { background: transparent; border-style: dashed; }
.mt-tier:hover { border-color: var(--accent-border); transform: translateX(4px); box-shadow: 0 18px 40px -26px rgba(17, 17, 17, 0.35); }
@media (max-width: 900px) {
  .mt-hier-section .container { grid-template-columns: minmax(0, 1fr); }
  .mt-hier-head { position: static; }
  .mt-hier-head h2 { max-width: 20ch; }
}
@media (max-width: 600px) {
  .mt-tier { margin-left: 0; padding: 1.1rem 1.1rem 1.4rem; column-gap: 0.9rem; align-items: start; }
  .mt-tier::before { width: 36px; height: 36px; font-size: 0.95rem; }
  .mt-tier::after { left: 1.1rem; width: calc((100% - 2.2rem) * 0.01 * var(--strength-n, 100)); }
}
@media (prefers-reduced-motion: reduce) {
  .mt-tier { transition: none; }
  .mt-tier:hover { transform: none; }
}

/* Diagnostic "What the Diagnostic Measures": section background (table styles under .dg-mx). */
section.dg-measures-section {
  background:
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--canvas);
}
.dg-measures-section .section-header h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; }

/* Diagnostic form: dark band, explanatory copy left, form on a raised white card. */
section.dg-form-section {
  position: relative;
  overflow: clip;
  color: #fff;
  background:
    radial-gradient(ellipse 50% 60% at 0% 0%, rgba(205, 62, 45, 0.24), transparent 65%),
    radial-gradient(ellipse 40% 50% at 100% 100%, rgba(205, 62, 45, 0.14), transparent 70%),
    var(--text-primary);
}
.dg-form-section .contact-layout { align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.dg-form-section .kicker { color: var(--accent); }
.dg-form-section .contact-info h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover)) 0 100% / 56px 3px no-repeat;
}
.dg-form-section .contact-info p { max-width: 56ch; color: rgba(255, 255, 255, 0.72); line-height: 1.8; }
.dg-form-section .contact-info p a { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.dg-form-section .contact-detail a { color: rgba(255, 255, 255, 0.85); }
.dg-form-section .contact-detail a:hover { color: #fff; }
.dg-form-section .contact-detail svg {
  width: 34px; height: 34px; padding: 8px;
  border-radius: 50%;
  background: rgba(205, 62, 45, 0.18);
}
.dg-form-section .contact-form-wrap {
  color: var(--text-primary);
  background: #fff;
  border: 0;
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.dg-form-section .contact-form-wrap .btn--primary { padding-block: 1rem; box-shadow: 0 12px 30px -10px rgba(205, 62, 45, 0.8); }


/* Editorial Standards: the seven standards as a numbered rulebook. The numbers
   are CSS counters, so the page markup carries no extra text. */
.es-page { counter-reset: es-rule; }
section.es-rule {
  counter-increment: es-rule;
  padding-block: clamp(3rem, 6vw, 4.5rem);
  background: var(--canvas);
  border-top: 1px solid var(--panel-border);
}
section.es-rule:nth-child(even) { background: #fff; }
.es-rule .container {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.es-rule .section-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1.25rem;
  align-items: start;
  margin-bottom: 0;
}
.es-rule .section-header::before {
  content: counter(es-rule, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent-border);
  transition: color 0.35s var(--ease-out), -webkit-text-stroke-color 0.35s var(--ease-out);
}
.es-rule:hover .section-header::before { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.es-rule .section-header h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.es-rule .copy-block {
  max-width: none;
  position: relative;
  padding-left: clamp(1.25rem, 3vw, 2.25rem);
  border-left: 1px solid var(--panel-border);
}
.es-rule .copy-block::before {
  content: '';
  position: absolute; left: -1px; top: 0;
  width: 2px; height: 2.5rem;
  background: var(--accent-border);
  transition: height 0.45s var(--ease-out), background 0.25s var(--ease-out);
}
.es-rule:hover .copy-block::before { height: 100%; background: var(--accent); }
.es-rule .copy-block p {
  font-size: clamp(1.02rem, 1.35vw, 1.1rem);
  line-height: 1.85;
  color: var(--text-secondary);
}
.es-rule .copy-block a {
  color: var(--text-primary);
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1.5px no-repeat;
  transition: color 0.25s var(--ease-out), background-size 0.3s var(--ease-out);
}
.es-rule .copy-block a:hover { color: #fff; background-size: 100% 100%; }
@media (max-width: 900px) {
  .es-rule .container { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .es-rule .copy-block { border-left: 0; padding-left: 0; }
  .es-rule .copy-block::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .es-rule .section-header::before,
  .es-rule .copy-block::before { transition: none; }
}
/* Editorial Standards "Our AI Use Policy": dark band; heading over a text-free
   AI-draft -> page -> human-check flow, beside a glass policy card. */
section.rs-rule-section.es-ai-section {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(205, 62, 45, 0.22), transparent 65%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(205, 62, 45, 0.1), transparent 70%),
    #111;
}
.es-ai-section .section-header h2 { color: #fff; }
.es-ai-section .copy-block {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  border-left-color: var(--accent);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}
.es-ai-section .copy-block p { color: rgba(255, 255, 255, 0.78); }
.es-ai-section .copy-block a { color: #fff; }
.es-ai-flow {
  display: flex;
  align-items: center;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  max-width: 300px;
}
.es-ai-node {
  flex: none;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
}
.es-ai-node svg { width: 20px; height: 20px; }
.es-ai-node.is-ai { color: rgba(255, 255, 255, 0.7); border: 1.5px dashed rgba(255, 255, 255, 0.35); }
.es-ai-node.is-human { color: #fff; background: var(--accent); box-shadow: 0 10px 24px -8px rgba(205, 62, 45, 0.9); }
.es-ai-link { flex: 1; height: 0; border-top: 1.5px dashed rgba(255, 255, 255, 0.3); }
.es-ai-link.is-solid { border-top: 1.5px solid var(--accent); }
.es-ai-doc {
  flex: none;
  display: grid; gap: 6px; align-content: center;
  width: 58px; height: 72px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
}
.es-ai-doc i { display: block; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.25); }
.es-ai-doc i:nth-child(2) { width: 75%; background: var(--accent); }
.es-ai-doc i:nth-child(4) { width: 55%; }
.es-ai-section:hover .es-ai-node.is-human { transform: scale(1.08); }
.es-ai-node.is-human { transition: transform 0.35s var(--ease-out); }
@media (max-width: 900px) { .es-ai-flow { margin-top: 1.25rem; } }
@media (prefers-reduced-motion: reduce) { .es-ai-node.is-human { transition: none; } }
/* Editorial Standards "Related Pages": pill actions beside the shared .mtl-links cards. */
.es-cta-section .fw-cta { align-items: center; }
.es-cta-section .fw-cta-actions { gap: 0.9rem; }
.es-cta-section .fw-cta-actions .btn {
  gap: 0.75rem; min-height: 56px; border-radius: 999px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s ease, border-color 0.25s ease;
}
.es-cta-section .fw-cta-actions .btn--primary {
  padding: 0.4rem 0.4rem 0.4rem 1.6rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  box-shadow: 0 14px 34px -12px rgba(205, 62, 45, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.es-cta-section .fw-cta-actions .btn--primary:hover .rsr-btn-icon { transform: rotate(-45deg); }
.es-cta-section .fw-cta-actions .btn--primary:hover .rs-hero-arrow { transform: none; }
.es-cta-section .fw-cta-actions .btn--ghost {
  padding: 0.4rem 1.6rem 0.4rem 0.4rem; color: #fff;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.2);
}
.es-cta-section .fw-cta-actions .btn--ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.45); }
.es-cta-section .fw-cta-actions .btn--ghost:hover .rsr-btn-icon { background: var(--accent); border-color: var(--accent); }
.es-cta-section .fw-cta-actions .btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 600px) {
  .es-cta-section .fw-cta-actions .btn { justify-content: space-between; text-align: left; }
  .es-cta-section .fw-cta-actions .btn--ghost { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .es-cta-section .fw-cta-actions .btn, .es-cta-section .rsr-btn-icon { transition: none; }
  .es-cta-section .fw-cta-actions .btn:hover { transform: none; }
}
/* Sources "Why a Standalone Sources Page": grid-paper band and
   long heading over the inline-vs-index comparison (layout in sources.html). */
section.rs-rule-section.src-why-section {
  background:
    radial-gradient(ellipse 45% 70% at 100% 100%, rgba(205, 62, 45, 0.07), transparent 70%),
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--panel);
}
.src-why-section .container { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.src-why-section .section-header h2 { max-width: 16ch; font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
@media (max-width: 900px) {
  .src-why-section .container { grid-template-columns: minmax(0, 1fr); }
  .src-why-section .section-header h2 { max-width: 22ch; }
}
/* Sources "Related Pages": band background; the grouped link tiles live in sources.html. */
section.rp-chapter.src-related-section {
  background:
    radial-gradient(ellipse 45% 70% at 0% 0%, rgba(205, 62, 45, 0.07), transparent 70%),
    var(--panel);
}
/* Second image split on a page: image on the left, frame offset mirrored. */
.rs-why-section--flip .split-band { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.rs-why-section--flip .split-image-col {
  order: -1;
  box-shadow: -16px 16px 0 -1px var(--accent-subtle), -16px 16px 0 0 var(--accent-border), 0 30px 60px -30px rgba(17, 17, 17, 0.35);
}
section.rs-why-section--flip { background: radial-gradient(ellipse 50% 70% at 0% 100%, rgba(205, 62, 45, 0.06), transparent 65%), var(--panel); }
@media (max-width: 900px) {
  .rs-why-section--flip .split-band { grid-template-columns: minmax(0, 1fr); }
  .rs-why-section--flip .split-image-col { order: 0; margin: 0 0 0 16px; }
}
@media (max-width: 600px) {
  .rs-why-section--flip .split-image-col { box-shadow: -10px 10px 0 -1px var(--accent-subtle), -10px 10px 0 0 var(--accent-border); margin-left: 10px; }
}
.fw-library-section .pillar-card { display: block; }
.fw-library-section .pillar-number { display: block; margin-bottom: 1.25rem; }
.fw-library-section .pillar-card h3,
.fw-library-section .pillar-card p { display: inline; }
.fw-library-section .pillar-card h3 { margin: 0 0.3em 0 0; font-size: 1.12rem; }
.fw-library-section .pillar-card p { line-height: 1.75; }

/* "How to Use a Framework Correctly": centred blueprint sheet with corner brackets. */
section.fw-use-section,
section.dg-out-section {
  background:
    linear-gradient(rgba(205, 62, 45, 0.05) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(205, 62, 45, 0.05) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--canvas);
  border-block: 1px solid var(--panel-border);
}
.fw-use-section .section-header { margin-inline: auto; text-align: center; margin-bottom: 2.5rem; }
.fw-use-section .section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
  padding-bottom: 1.25rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover)) 50% 100% / 56px 3px no-repeat;
}
.fw-use-card {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: #fff;
  border: 1px dashed var(--accent-border);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px -35px rgba(17, 17, 17, 0.3);
}
.fw-use-card::before,
.fw-use-card::after {
  content: '';
  position: absolute;
  width: 28px; height: 28px;
  border: 0 solid var(--accent);
}
.fw-use-card::before { top: -6px; left: -6px; border-width: 3px 0 0 3px; }
.fw-use-card::after { bottom: -6px; right: -6px; border-width: 0 3px 3px 0; }
.fw-use-card p {
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  line-height: 1.85;
  color: var(--text-secondary);
}
.fw-use-card p::first-line { color: var(--text-primary); font-weight: 500; }

/* "Built From Evidence": heading over stacked evidence layers, text in a card. */
section.fw-evidence-section {
  position: relative;
  overflow: clip;
  background: radial-gradient(ellipse 45% 70% at 0% 100%, rgba(205, 62, 45, 0.07), transparent 70%), var(--panel);
}
.fw-evidence-section .container {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.fw-evidence-section .section-header { margin-bottom: 0; }
.fw-evidence-section .section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 13ch;
  text-wrap: balance;
  margin-bottom: 2rem;
}
.fw-evidence-stack { position: relative; width: 190px; height: 92px; }
.fw-evidence-stack span {
  position: absolute; left: 0;
  width: 150px; height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--accent-border);
  background: #fff;
  transition: transform 0.4s var(--ease-out);
}
.fw-evidence-stack span:nth-child(1) { top: 0; transform: translateX(40px); opacity: 0.5; }
.fw-evidence-stack span:nth-child(2) { top: 24px; transform: translateX(20px); opacity: 0.8; }
.fw-evidence-stack span:nth-child(3) { top: 48px; background: var(--accent); border-color: var(--accent); box-shadow: 0 14px 30px -14px rgba(205, 62, 45, 0.8); }
.fw-evidence-section:hover .fw-evidence-stack span:nth-child(1) { transform: translateX(28px); }
.fw-evidence-section:hover .fw-evidence-stack span:nth-child(2) { transform: translateX(14px); }
.fw-evidence-card {
  max-width: none;
  padding: clamp(1.75rem, 4vw, 3rem);
  background: #fff;
  border: 1px solid var(--panel-border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px -30px rgba(17, 17, 17, 0.3);
}
.fw-evidence-card p { font-size: clamp(1.05rem, 1.45vw, 1.17rem); line-height: 1.85; color: var(--text-secondary); }
.fw-evidence-card a {
  display: inline-flex; align-items: center; gap: 0.35em;
  padding: 0.05em 0.6em;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.fw-evidence-card a::after { content: '→'; transition: transform 0.2s var(--ease-out); }
.fw-evidence-card a:hover { color: #fff; background: var(--accent); }
.fw-evidence-card a:hover::after { transform: translateX(3px); }
.fw-evidence-card a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }


/* "Next Step": dark band, heading + actions left, guidance in a glass panel right. */
section.closing-cta-section.fw-cta-section {
  position: relative;
  overflow: clip;
  text-align: left;
  background:
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(205, 62, 45, 0.3), transparent 70%),
    radial-gradient(ellipse 40% 60% at 100% 0%, rgba(205, 62, 45, 0.14), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--text-primary);
}
.fw-cta {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.fw-cta-section .kicker { color: var(--accent); }
.fw-cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 14ch;
  text-wrap: balance;
  margin-bottom: 2rem;
}
.fw-cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.fw-cta-actions .btn { border-radius: var(--radius-md); }
.fw-cta-actions .btn--primary { box-shadow: 0 12px 30px -10px rgba(205, 62, 45, 0.8); }
.fw-cta-actions .btn--primary:hover { transform: translateY(-2px); }
.fw-cta-actions .btn--primary:hover .rs-hero-arrow { transform: translateX(3px); }
.fw-cta-actions .btn:focus-visible { outline-color: #fff; }
.fw-cta-body {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.fw-cta-section .fw-cta-body p {
  margin: 0;
  max-width: none;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.75);
}
/* Frameworks page variant: centred heading and actions over an elevated glass card holding the copy. */
.fw-cta--premium .fw-cta { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.fw-cta--premium .fw-cta-head { display: flex; flex-direction: column; align-items: center; }
.fw-cta--premium .kicker {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem; border-radius: 99px;
  background: rgba(205, 62, 45, 0.12); border: 1px solid rgba(205, 62, 45, 0.35);
}
.fw-cta--premium .kicker::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.fw-cta-section.fw-cta--premium h2 { max-width: 22ch; margin: 1.25rem auto 0; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.fw-cta--premium .fw-cta-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
.fw-cta--premium .fw-cta-actions { gap: 1rem; }
.fw-cta--premium .fw-cta-actions .btn {
  gap: 0.75rem; min-height: 56px; border-radius: 999px; font-size: 0.95rem; letter-spacing: 0.005em;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s ease, border-color 0.25s ease;
}
.fw-cta--premium .fw-cta-actions .btn--primary {
  padding: 0.4rem 0.4rem 0.4rem 1.6rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  box-shadow: 0 14px 34px -12px rgba(205, 62, 45, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.fw-cta--premium .fw-cta-actions .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(205, 62, 45, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.fw-cta--premium .fw-cta-actions .btn--primary:hover .rsr-btn-icon { transform: rotate(-45deg); }
.fw-cta--premium .fw-cta-actions .btn--primary:hover .rs-hero-arrow { transform: none; }
.fw-cta--premium .fw-cta-actions .btn--ghost {
  padding: 0.4rem 1.6rem 0.4rem 0.4rem; color: #fff;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.fw-cta--premium .fw-cta-actions .btn--ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.45); }
.fw-cta--premium .fw-cta-actions .btn--ghost:hover .rsr-btn-icon { background: var(--accent); border-color: var(--accent); }
.fw-cta--premium .fw-cta-actions .btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.fw-cta--premium .fw-cta-body {
  position: relative; isolation: isolate; width: 100%; max-width: 860px; text-align: left;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 4.5vw, 3.5rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 20px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.fw-cta--premium .fw-cta-body::before {
  content: ''; position: absolute; top: -1px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.fw-cta--premium .fw-cta-body::after {
  content: ''; position: absolute; inset: 15% 10% -10%; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(205, 62, 45, 0.28), transparent 70%); filter: blur(40px);
}
.fw-cta-section.fw-cta--premium .fw-cta-body p { font-size: clamp(1.02rem, 1.4vw, 1.14rem); line-height: 1.95; color: rgba(255, 255, 255, 0.78); }
.fw-cta--premium .fw-cta-body strong { color: #fff; font-weight: 600; }
@media (max-width: 600px) {
  .fw-cta--premium .fw-cta-actions { flex-direction: column; width: 100%; }
  .fw-cta--premium .fw-cta-actions .btn { width: 100%; white-space: normal; text-align: left; line-height: 1.3; }
  .fw-cta--premium .fw-cta-actions .btn--primary { justify-content: space-between; }
  .fw-cta--premium .fw-cta-actions .btn--ghost { justify-content: flex-start; }
  .fw-cta--premium .fw-cta-body { border-radius: 14px; }
}

@media (max-width: 900px) {
  .fw-evidence-section .container,
  .fw-cta { grid-template-columns: minmax(0, 1fr); }
  .fw-evidence-section .section-header h2 { max-width: 20ch; }
  .fw-evidence-stack { display: none; }
}
@media (max-width: 600px) {
  .fw-use-section .section-header { text-align: left; }
  .fw-use-section .section-header h2 { background-position: 0 100%; }
  .fw-cta-actions { align-items: stretch; }
  .fw-cta-actions .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; line-height: 1.3; }
}
@media (prefers-reduced-motion: reduce) {
  .fw-evidence-stack span { transition: none; }
  .fw-cta--premium .fw-cta-actions .btn, .fw-cta--premium .rsr-btn-icon { transition: none; }
  .fw-cta--premium .fw-cta-actions .btn:hover { transform: none; }
}

/* ── 12. Forms ────────────────────────────────────────────────────────── */
/* Shared by the Contact page, the Diagnostic lead form and the contact modal. */
section.contact-section { background: var(--canvas); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: start; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 1.5rem; max-width: 46ch; }
.contact-detail { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; font-size: 0.9375rem; color: var(--text-secondary); }
.contact-detail svg { color: var(--accent); flex-shrink: 0; }
.contact-form-wrap { background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius-lg); padding: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.825rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text-primary); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.7rem 1rem; background: var(--canvas);
  border: 1.5px solid var(--panel-border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.9375rem; color: var(--text-primary);
  transition: border-color 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(205,62,45,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-status { padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 500; margin-bottom: 1rem; display: none; }
.form-status.success { background: rgba(22, 163, 74, 0.1); border: 1px solid rgba(22, 163, 74, 0.3); color: #166534; display: block; }
.form-status.error { background: rgba(205,62,45,0.08); border: 1px solid var(--accent-border); color: var(--accent); display: block; }

/* ── 13. Diagnostic ───────────────────────────────────────────────────── */
/* The Diagnostic page's lead-capture panel reuses the Forms + Common Sections
   rules above (.contact-layout, .contact-form-wrap, .policy-callout, .pillars-grid) —
   no page-specific overrides needed. */

/* ── 14. Calculators ──────────────────────────────────────────────────── */
/* The Calculators page reuses Cards (.pillars-grid.cols-2) and Common Sections —
   no page-specific overrides needed. */

/* ── 15. Tables ───────────────────────────────────────────────────────── */
/* No tabular content in the current content set. Add rules here if/when a
   page introduces a real data table. */

/* ── 16. FAQ ──────────────────────────────────────────────────────────── */
section.faq-section { background: var(--panel); }
.faq-list { max-width: 820px; display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--panel-border);
  padding-block: 1.5rem;
}
.faq-item:first-child { padding-top: 0; }
.faq-item h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}
.faq-item p { max-width: none; font-size: 0.95rem; }

/* ── 17. Modal / Contact Popup ────────────────────────────────────────── */
.contact-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; opacity: 0; pointer-events: none; transition: opacity 0.2s var(--ease-out); }
.contact-modal.open { opacity: 1; pointer-events: auto; }
.contact-modal-overlay { position: absolute; inset: 0; background: rgba(17,17,17,0.6); }
.contact-modal-panel {
  position: relative; background: var(--canvas); border-radius: var(--radius-lg);
  max-width: 580px; width: 100%; max-height: 88vh; overflow-y: auto;
  padding: 2rem; box-shadow: 0 24px 64px rgba(0,0,0,0.32);
  transform: translateY(16px) scale(0.98); transition: transform 0.22s var(--ease-out);
}
.contact-modal.open .contact-modal-panel { transform: translateY(0) scale(1); }
.contact-modal-close {
  position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--panel);
  border: 1px solid var(--panel-border); color: var(--text-secondary); cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.contact-modal-close:hover { color: var(--accent); border-color: var(--accent-border); }
.contact-modal-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.contact-modal-panel h2 { margin-bottom: 0.5rem; padding-right: 2rem; }
.contact-modal-panel > p { margin-bottom: 1.25rem; }
.contact-modal-panel .contact-detail { margin-bottom: 0.5rem; }
.contact-modal-panel form { margin-top: 1.25rem; }
body.contact-modal-open { overflow: hidden; }
/* Revenue assessment popup (research.html) — reuses the contact-modal shell */
.as-progress-label { font-size: 0.825rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.5rem; }
.as-progress { height: 4px; background: var(--panel); border-radius: 2px; overflow: hidden; margin-bottom: 1.5rem; }
.as-progress span { display: block; height: 100%; width: 25%; background: var(--accent); transition: width 0.2s var(--ease-out); }
.as-step { border: 0; padding: 0; margin: 0; }
.as-step legend { font-weight: 600; font-size: 1.05rem; color: var(--text-primary); margin-bottom: 1rem; }
.as-option { display: flex; align-items: center; gap: 0.6rem; padding: 0.75rem 1rem; margin-bottom: 0.5rem; border: 1px solid var(--panel-border); border-radius: var(--radius-sm); cursor: pointer; transition: border-color 0.15s ease; }
.as-option:hover, .as-option:has(input:checked) { border-color: var(--accent); }
.as-option input { accent-color: var(--accent); }
.as-nav { display: flex; justify-content: space-between; gap: 0.75rem; margin-top: 1.5rem; }
.as-nav .btn:disabled { opacity: 0.5; cursor: not-allowed; }
/* Pipeline coverage calculator popup (calculators.html) — reuses the contact-modal shell and .form-group */
.pcc-error { font-size: 0.8rem; color: var(--accent); margin: 0.35rem 0 0; min-height: 0; }
.pcc-error:empty { display: none; }
.pcc-result { border: 1px solid var(--panel-border); background: var(--panel); border-radius: var(--radius-sm); padding: 1.25rem; margin-bottom: 1rem; }
.pcc-result dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 0 0 1rem; }
.pcc-result dt { font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); }
.pcc-result dd { margin: 0.25rem 0 0; font-size: 1.15rem; font-weight: 700; color: var(--text-primary); }
.pcc-verdict { font-size: 0.9rem; margin-bottom: 1rem; }
.pcc-reset { width: 100%; justify-content: center; }
@media (max-width: 600px) { .pcc-result dl { grid-template-columns: 1fr; } }
/* Revenue diagnostic popup (diagnostic.html) — reuses .as-* steps and the .dg-out-* sample-result card */
.dgx-area { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.35rem; }
.dgx-result .is-ok { --dot: #3f8f5a; }
.dgx-result .is-watch { --dot: #d08a1f; }
.dgx-result .is-risk { --dot: var(--accent); }
.dgx-result .dg-out-report { box-shadow: none; }
.dgx-result .dg-out-head:focus { outline: none; }
.dgx-note { font-size: 0.8rem; color: var(--text-secondary); margin: 0.75rem 0 0; }
@media (max-width: 600px) { .dgx-result .dg-out-rows > li { padding: 0.75rem 1rem; } .dgx-result .as-nav { flex-direction: column-reverse; } .dgx-result .as-nav .btn { justify-content: center; } }

/* ── 18. Footer ───────────────────────────────────────────────────────── */
#footer { background: var(--brand-fg, #111111); color: var(--brand-bg, #ffffff); font-family: var(--font-body, 'Inter', system-ui, sans-serif); padding: 4rem 2rem 2rem; position: relative; overflow: hidden; }
#footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--brand-accent, #cd3e2d); }
#footer-inner { max-width: 1280px; margin: 0 auto; }
#footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
#footer-brand { display: flex; flex-direction: column; gap: 1rem; }
#footer-wordmark { font-family: var(--font-display, 'Space Grotesk', system-ui, sans-serif); font-size: 1.4rem; font-weight: 700; color: var(--brand-bg, #ffffff); text-decoration: none; letter-spacing: -0.02em; display: inline-block; }
#footer-wordmark span { color: var(--brand-accent, #cd3e2d); }
#footer-tagline { font-size: 0.875rem; line-height: 1.65; color: rgba(255,255,255,0.55); max-width: 260px; margin: 0; }
#footer-contact { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.25rem; }
.footer-contact-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.855rem; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.15s ease; }
a.footer-contact-item:hover { color: var(--brand-accent, #cd3e2d); }
.footer-contact-item svg { flex-shrink: 0; opacity: 0.6; }
.footer-col h4 { font-family: var(--font-display, 'Space Grotesk', system-ui, sans-serif); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin: 0 0 1rem 0; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a { font-size: 0.875rem; color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.15s ease; font-weight: 500; }
.footer-col ul li a:hover { color: var(--brand-accent, #cd3e2d); }
#footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 2rem; gap: 1.5rem; flex-wrap: wrap; }
#footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); margin: 0; }
#footer-legal { font-size: 0.8rem; color: rgba(255,255,255,0.3); display: flex; gap: 1rem; flex-wrap: wrap; }
#footer-legal a { color: rgba(255,255,255,0.3); text-decoration: none; }
#footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ── 18b. Floating Book-a-Call CTA (site-wide, fixed to viewport) ────── */
/* Lives as a direct child of <body>, not inside the footer, so it stays
   pinned to the viewport at all scroll positions instead of scrolling away
   with page content. z-index sits above the header (1000) but below the
   contact modal (2000) so an open modal still takes visual precedence. */
#floating-book-call {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1500;
  max-width: calc(100vw - 2rem);
  gap: 0.7rem;
  min-height: 52px;
  padding: 0.375rem 1.35rem 0.375rem 0.375rem;
  border-radius: 999px;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  box-shadow: 0 14px 34px -10px rgba(205,62,45,0.75), 0 4px 14px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.25);
}
/* white icon chip, matching the pill CTAs used across the site */
#floating-book-call svg {
  box-sizing: content-box;
  flex: none;
  padding: 10px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  transition: transform 0.3s var(--ease-out);
}
/* soft pulse ring so the button reads as live without moving the label */
#floating-book-call::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  animation: fbcPulse 2.8s var(--ease-out) infinite;
}
@keyframes fbcPulse {
  0%   { box-shadow: 0 0 0 0 rgba(205,62,45,0.45); }
  70%  { box-shadow: 0 0 0 14px rgba(205,62,45,0); }
  100% { box-shadow: 0 0 0 0 rgba(205,62,45,0); }
}
#floating-book-call:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px rgba(205,62,45,0.85), 0 6px 18px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.25);
}
#floating-book-call:hover svg { transform: rotate(-10deg) scale(1.05); }
#floating-book-call:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 480px) {
  #floating-book-call {
    right: 1rem;
    bottom: 1rem;
    min-height: 46px;
    padding: 0.3rem 1.05rem 0.3rem 0.3rem;
    font-size: 0.85rem;
  }
  #floating-book-call svg { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  #floating-book-call::before { animation: none; }
  #floating-book-call:hover, #floating-book-call:hover svg { transform: none; }
}

/* ── 19. Background / Image Utilities ─────────────────────────────────── */
.page-env {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 15% 10%, rgba(205,62,45,0.035) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 90%, rgba(205,62,45,0.025) 0%, transparent 55%);
  animation: envDrift 60s ease-in-out infinite alternate;
}
@keyframes envDrift {
  from { opacity: 0.7; }
  to   { opacity: 1; }
}
main { position: relative; z-index: 1; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }
.reveal.in.reveal-delay-1 { transition-delay: 0.08s; }
.reveal.in.reveal-delay-2 { transition-delay: 0.16s; }
.reveal.in.reveal-delay-3 { transition-delay: 0.24s; }
.reveal.in.reveal-delay-4 { transition-delay: 0.32s; }
.reveal.in.reveal-delay-5 { transition-delay: 0.40s; }
.reveal.in.reveal-delay-6 { transition-delay: 0.48s; }

/* ── 20. Responsive Breakpoints ───────────────────────────────────────── */
/* Most breakpoints live next to the component they modify (standard practice —
   keeps a component's base + responsive rules easy to read together). This
   section covers ones that don't belong to a single component above. */
@media (max-width: 1100px) { #nav-parent-tag { display: none; } #nav-divider { display: none; } }
@media (max-width: 960px) {
  #nav-links, #nav-cta { display: none; }
  #nav-hamburger { display: flex; }
}
@media (min-width: 961px) { #nav-mobile-panel { display: none !important; } }
@media (max-width: 480px) { #nav-logo { height: 34px; max-width: 50px; } #nav-wordmark { font-size: 1.1rem; } }

@media (max-width: 1024px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pillars-grid, .pillars-grid.cols-2 { grid-template-columns: 1fr; } }

@media (max-width: 768px) {
  .split-band { grid-template-columns: 1fr; }
  .split-image-col { min-height: 220px; }
  .split-band.reverse .split-image-col { order: 0; }
}

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) { .contact-modal-panel { padding: 1.5rem 1.25rem; max-height: 85vh; } }

@media (max-width: 900px) { #footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; } #footer-brand { grid-column: 1 / -1; } #footer-tagline { max-width: 100%; } }
@media (max-width: 520px) { #footer-top { grid-template-columns: 1fr; gap: 2rem; } #footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; } }

/* ── 21. Accessibility / Focus States ─────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* Pause all animation/transition when the tab is hidden (perf + a11y). */
body.paused *, body.paused *::before, body.paused *::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .page-env { animation: none; }
  .marquee-track { animation: none; }
}

/* Reports page section headings (all but the hero): one type scale.
   #main raises specificity over the per-section rules. */
#main.rp-main > section:not(.rs-hero) h2 {
  max-width: 18ch;
  padding-bottom: 0;
  background: none;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
#main.rp-main > section:not(.rs-hero) .kicker {
  margin-bottom: 1.1rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--accent);
}
/* Centred sections keep the heading centred. */
#main.rp-main > .rp-build-section h2,
#main.rp-main > .rp-act-section h2 { margin-inline: auto; }

/* ── Research page: slightly smaller main headings ─────────────────────── */
.page-research .rs-hero h1 { font-size: clamp(1.9rem, 3.9vw, 3rem); }
.page-research .rs-why-section h2,
.page-research .rs-steps-section .section-header h2,
.page-research .rs-rule-section .section-header h2,
.page-research .rs-pillars-section .section-header h2,
.page-research .rs-ed-mast h2,
.page-research .rs-note-head h2,
.page-research .rs-read-section .rs-read-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.page-research .bm-faq-header h2 { font-size: clamp(1.45rem, 2.6vw, 2.05rem); }

/* ── Research page: shared heading treatment (pill kicker, accent phrase, count) ── */
.rs-kpill {
  display: inline-flex; align-items: center; gap: 0.55rem; margin-bottom: 1.1rem; padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  border-radius: 99px; background: var(--accent-subtle); border: 1px solid var(--accent-border);
}
.rs-kpill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(205,62,45,0.15); }
.rs-accent {
  position: relative; display: inline-block; color: var(--accent);
  background: linear-gradient(90deg, #e2523b, var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.rs-accent::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -0.1em; height: 0.09em; border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), rgba(205,62,45,0));
}
.rs-head-count { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.rs-head-count strong { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--text-primary); }
.rs-head-count span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.35; color: var(--text-secondary); }
.rs-head-meta { display: flex; align-items: center; gap: 1.25rem; margin-top: 1.25rem; }
.rs-head-meta p { margin: 0; max-width: 26ch; font-size: 0.98rem; line-height: 1.55; color: var(--text-secondary); }
.rs-head-meta .rs-head-count { padding-left: 1.25rem; border-left: 1px solid var(--panel-border); }

/* pillars: title left, line + count right, divider under */
.rs-pillars-section .rs-head2 {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end;
  max-width: none; padding-bottom: clamp(1.5rem, 3vw, 2rem); border-bottom: 1px solid var(--panel-border);
}
.rs-pillars-section .rs-head2 h2 { margin: 0; }
.rs-head2-aside { display: flex; align-items: flex-end; gap: 1.5rem; }
.rs-head2-aside p { margin: 0; max-width: 34ch; font-size: 1rem; line-height: 1.6; color: var(--text-secondary); }
.rs-head2-aside .rs-head-count { padding-left: 1.5rem; border-left: 1px solid var(--panel-border); }

/* "Who it's for" mast and FAQ header */
.rs-ed-mast h2 { margin-bottom: 0; }
.rs-faq-head h2 { margin-bottom: 0; }
.bm-faq-header.rs-faq-head::after { display: none; }

@media (max-width: 900px) { .rs-pillars-section .rs-head2 { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 600px) {
  .rs-head2-aside { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .rs-head2-aside .rs-head-count { padding-left: 0; border-left: 0; }
}

/* ── Benchmarks page: slightly smaller main headings ───────────────────── */
.page-benchmarks .bm-hero h1 { font-size: clamp(1.85rem, 3.75vw, 2.95rem); }
.page-benchmarks section h2 { font-size: clamp(1.4rem, 2.6vw, 2.05rem); }
.page-benchmarks .bm-cta-section h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }

/* ── Benchmarks page: heading treatment (reuses .rs-kpill / .rs-accent) ── */
.page-benchmarks .bm-fp-header .rs-kpill { margin-inline: auto; }
.page-benchmarks .bm-read-intro-inner .rs-kpill { margin-bottom: 1.1rem; }
/* dark closing banner: pill reads on the photo */
.closing-cta-section .bm-cta-kicker.rs-kpill { background: rgba(205,62,45,0.16); border-color: rgba(205,62,45,0.45); color: #fff; }
.closing-cta-section .bm-cta-kicker.rs-kpill::before { width: 8px; height: 8px; border-radius: 50%; }
@media (max-width: 600px) { .page-benchmarks .bm-fp-header .rs-kpill { margin-inline: 0; } }

/* ── Main inner pages (body.page-std): one consistent heading scale ─────────
   :not(#_) adds id-level specificity so this scale wins over the many
   section-specific heading sizes; the contact pop-up sits outside <section>. */
.page-std section h1:not(#_) { font-size: clamp(1.85rem, 3.4vw, 3rem); line-height: 1.08; }
.page-std section h2:not(#_) { font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.12; }
.page-std .es-rule h2:not(#_) { font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.2; }

/* ── Reports page: pill labels (beats the #main.rp-main kicker rule's spacing) ── */
#main.rp-main > section:not(.rs-hero) .kicker.rs-kpill { display: inline-flex; margin-bottom: 1.1rem; font-size: 0.72rem; letter-spacing: 0.1em; }

/* ── Topics: "If you're not sure" diagnostic CTA ─────────────────────── */
.tp-unsure-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 1.75rem; }
.tp-unsure-btn.btn {
  gap: 0.9rem; min-height: 56px; padding: 0.45rem 0.45rem 0.45rem 1.5rem; border-radius: 999px;
  font-size: 0.98rem; font-weight: 600;
  background: linear-gradient(135deg, #e2523b 0%, var(--accent) 55%, var(--accent-hover) 100%);
  box-shadow: 0 14px 34px rgba(205,62,45,0.42), inset 0 1px 0 rgba(255,255,255,0.22);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.tp-unsure-btn.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(205,62,45,0.55), inset 0 1px 0 rgba(255,255,255,0.22); }
.tp-unsure-btn.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.tp-unsure-btn .rsr-btn-icon { width: 44px; height: 44px; box-shadow: 0 4px 12px rgba(0,0,0,0.18); }
.tp-unsure-btn:hover .rsr-btn-icon { transform: translateX(3px); }
.tp-unsure-note { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.62); }
.tp-unsure-note svg { width: 16px; height: 16px; color: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .tp-unsure-btn.btn, .tp-unsure-btn.btn:hover, .tp-unsure-btn:hover .rsr-btn-icon { transform: none; transition: none; }
}

/* Pill labels: don't stretch inside flex columns; drop the old short bar where the accent underline replaces it */
.split-content-col > .rs-kpill { align-self: flex-start; margin-bottom: -0.1rem; }
.fw-use-section .section-header h2:has(.rs-accent),
.rs-why-section h2:has(.rs-accent),
.tp-cta-copy h2:has(.rs-accent),
.dg-form-section .contact-info h2:has(.rs-accent),
.rp-chapter .section-header h2:has(.rs-accent),
.mt-hier-head h2:has(.rs-accent),
.src-cat-section .section-header h2:has(.rs-accent) { background: none; padding-bottom: 0.25rem; }

/* Frameworks: let the first heading use its column's full width (was capped at 16ch) */
#why-a-framework-and-a-playbook-are-not-the-same--heading,
#a-playbook-assumes-you-already-know-the-problem-heading,
#built-to-survive-contact-with-a-real-team-heading,
#sequencing-matters-more-than-people-expect-heading,
#who-this-track-is-actually-for-heading,
#from-fundamentals-to-application-heading,
#why-plain-language-isn-t-a-compromise-heading,
#the-evidence-hierarchy-heading,
#our-ai-use-policy-heading,
#what-happens-when-standards-aren-t-met-heading,
#why-a-standalone-sources-page-in-addition-to-inl-heading,
#categories-of-sources-referenced-heading,
#how-sources-are-vetted-for-inclusion-heading,
#updates-to-this-index-heading,
#how-to-use-this-page-responsibly-heading,
#a-note-on-source-independence-heading { max-width: none; }

/* Shared: dark link cards for closing "related pages" CTAs (methodology, editorial standards). */
.mtl-links { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; width: 100%; max-width: 1080px; text-align: left; }
.mtl-links li { grid-column: span 2; }
.mtl-links li:nth-child(n+4) { grid-column: span 3; }
.mtl-links a { position: relative; display: flex; flex-direction: column; gap: 0.45rem; height: 100%; padding: 1.3rem 3.4rem 1.3rem 1.4rem; border-radius: 18px; color: #fff; text-decoration: none; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.mtl-links a:hover { transform: translateY(-2px); background: rgba(205, 62, 45, 0.12); border-color: rgba(205, 62, 45, 0.55); }
.mtl-links a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.mtl-links strong { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: #fff; }
.mtl-links span { font-size: 0.95rem; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }
.mtl-arrow { position: absolute; top: 1.2rem; right: 1.2rem; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.mtl-arrow::after { content: ''; width: 7px; height: 7px; margin-left: -3px; border: solid #fff; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.mtl-links a:hover .mtl-arrow { background: var(--accent); border-color: var(--accent); transform: rotate(-45deg); }
@media (max-width: 900px) { .mtl-links { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .mtl-links li, .mtl-links li:nth-child(n+4) { grid-column: auto; } .mtl-links li:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .mtl-links { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .mtl-links a, .mtl-arrow { transition: none; } .mtl-links a:hover { transform: none; } }

/* Shared: light hero variant (no photo) — dark copy on the warm canvas, with a white side card. Used by editorial-standards and sources. */
.rs-hero.rs-hero--light { min-height: min(640px, 82vh); color: var(--text-primary); background: radial-gradient(ellipse 45% 60% at 100% 0%, rgba(205, 62, 45, 0.12), transparent 70%), radial-gradient(ellipse 40% 55% at 0% 100%, rgba(205, 62, 45, 0.08), transparent 70%), var(--canvas); border-bottom: 1px solid var(--panel-border); }
.rs-hero--light .rs-hero-kicker { color: var(--accent); background: #fff; border-color: var(--accent-border); -webkit-backdrop-filter: none; backdrop-filter: none; }
.rs-hero.rs-hero--light h1 { color: var(--text-primary); text-shadow: none; }
.rs-hero--light .rs-hero-body p { color: var(--text-secondary); }
.rs-hero--light .rs-hero-actions .btn--ghost { color: var(--text-primary); background: #fff; border-color: rgba(17, 17, 17, 0.18); -webkit-backdrop-filter: none; backdrop-filter: none; }
.rs-hero--light .rs-hero-actions .btn--ghost:hover { color: var(--text-primary); background: #fff; border-color: var(--text-primary); }
.rs-hero--light .btn--ghost .rsr-btn-icon { color: var(--text-primary); background: var(--canvas); border-color: rgba(17, 17, 17, 0.12); }
.rs-hero--light .btn--ghost:hover .rsr-btn-icon { color: #fff; }
.rs-hero.rs-hero--light .btn:focus-visible { outline-color: var(--accent); }
.rs-hero--light .rs-hero-trust { color: var(--text-secondary); }
.rs-hero--light .rs-hero-trust svg { color: #fff; background: var(--accent); }
.lh-card { position: relative; padding: clamp(1.4rem, 2.5vw, 1.8rem); border-radius: 20px; background: #fff; border: 1px solid var(--panel-border); box-shadow: 0 40px 80px -40px rgba(17, 17, 17, 0.35); }
.lh-card::before { content: ''; position: absolute; left: 1.8rem; right: 1.8rem; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.lh-card-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-secondary); }
.lh-stamp { padding: 0.3rem 0.6rem; border-radius: 999px; white-space: nowrap; color: var(--accent); background: var(--accent-subtle); border: 1px solid var(--accent-border); }
.lh-checks { display: grid; }
.lh-checks li { display: flex; align-items: center; gap: 0.75rem; padding: 0.62rem 0; border-top: 1px solid var(--panel-border); font-size: 0.92rem; font-weight: 600; color: var(--text-primary); }
.lh-checks i { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #3f8f5a; }
.lh-checks i::after { content: ''; position: absolute; left: 7.5px; top: 4.5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 960px) { .rs-hero.rs-hero--light { min-height: 0; } .lh-card-wrap { display: none; } }

/* Playbooks "A Playbook Assumes You Already Know the Problem": heading beside
   the lead, then a Diagnose → Decide → Execute path with the playbook step marked. */
.pb-when-head {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 5vw, 4.5rem); align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.pb-when-head h2 { margin-top: 0.9rem; margin-bottom: 0; }
.pb-when-lead {
  font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.75;
  color: var(--text-primary);
  padding-left: 1.25rem; border-left: 2px solid var(--accent);
}
.pb-when-path {
  position: relative;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
/* Dashed rail tying the three steps together behind the numbers. */
.pb-when-path::before {
  content: ''; position: absolute; left: 2rem; right: 2rem; top: 2.6rem;
  border-top: 2px dashed var(--accent-border);
}
.pb-when-step {
  position: relative;
  display: flex; flex-direction: column; gap: 0.6rem;
  padding: 1.6rem 1.5rem 1.75rem;
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px -36px rgba(17, 17, 17, 0.35);
}
.pb-when-num {
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  color: var(--accent); background: #fff; border: 1.5px solid var(--accent-border);
}
.pb-when-tag {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  margin-top: 0.4rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
}
.pb-when-tag em {
  font-style: normal; letter-spacing: 0.06em;
  padding: 0.15rem 0.55rem; border-radius: 99px;
  color: #fff; background: var(--accent);
}
.pb-when-step h3 { font-size: 1.2rem; }
.pb-when-step p { font-size: 0.97rem; line-height: 1.7; }
.pb-when-link {
  margin-top: auto; padding-top: 0.4rem;
  font-weight: 600; font-size: 0.92rem; color: var(--accent);
}
.pb-when-link:hover, .pb-when-link:focus-visible { color: var(--accent-hover); text-decoration: underline; }
.pb-when-step.is-here {
  background: linear-gradient(180deg, rgba(205, 62, 45, 0.05), #fff 60%);
  border-color: var(--accent-border);
  box-shadow: inset 0 3px 0 var(--accent), 0 30px 60px -34px rgba(205, 62, 45, 0.45);
}
.pb-when-step.is-here .pb-when-num { color: #fff; background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-subtle); }
.pb-when-step.is-here .pb-when-tag { color: var(--accent); }
.pb-when-eg {
  margin-top: 0.3rem; padding: 0.85rem 1rem;
  font-size: 0.9rem !important; line-height: 1.65 !important;
  background: var(--panel); border-radius: var(--radius-md);
}
.pb-when-eg strong { color: var(--text-primary); }
.pb-when-notes {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--panel-border);
}
.pb-when-notes p { max-width: none; line-height: 1.75; }
.pb-when-notes strong { color: var(--text-primary); }
.pb-when-notes a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) {
  .pb-when-head, .pb-when-notes { grid-template-columns: minmax(0, 1fr); }
  .pb-when-path { grid-template-columns: minmax(0, 1fr); }
  .pb-when-path::before { left: calc(1.5rem + 1.125rem); right: auto; top: 2rem; bottom: 2rem; border-top: 0; border-left: 2px dashed var(--accent-border); }
}

/* Playbooks "Our Playbooks": dark band, heading beside a count, then the five
   playbooks as an indexed list — number, title, description per row. */
.pb-lib-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  gap: clamp(1.5rem, 5vw, 4rem); align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.pb-lib-head h2 {
  margin-top: 0.9rem; color: #fff;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -0.02em;
}
.pb-lib-count { color: rgba(255, 255, 255, 0.66); line-height: 1.65; }
.pb-lib-count b {
  display: block; margin-bottom: 0.35rem;
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--accent);
}
.pb-lib-list { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.pb-lib-row {
  position: relative;
  display: grid; grid-template-columns: 5rem minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(1rem, 3vw, 2.5rem); align-items: baseline;
  padding: clamp(1.4rem, 3vw, 2rem) 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.3s var(--ease-out);
}
/* Accent bar that grows on hover/focus. */
.pb-lib-row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent); transform: scaleY(0); transform-origin: top;
  transition: transform 0.35s var(--ease-out);
}
.pb-lib-row:hover { background: rgba(255, 255, 255, 0.04); }
.pb-lib-row:hover::before { transform: scaleY(1); }
.pb-lib-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 0.9; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
  transition: color 0.3s var(--ease-out), -webkit-text-stroke-color 0.3s var(--ease-out);
}
.pb-lib-row:hover .pb-lib-num { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.pb-lib-row h3 { color: #fff; font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.pb-lib-row p { max-width: none; color: rgba(255, 255, 255, 0.66); font-size: 0.97rem; line-height: 1.75; }
@media (max-width: 960px) {
  .pb-lib-head { grid-template-columns: minmax(0, 1fr); }
  .pb-lib-row { grid-template-columns: 3.5rem minmax(0, 1fr); row-gap: 0.6rem; }
  .pb-lib-row p { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .pb-lib-row::before, .pb-lib-num { transition: none; }
}

/* Playbooks "What Every Playbook Covers": heading beside a contents-page sheet
   listing the seven sections, dotted leaders running to a Fit/Run/Check tag. */
.pb-toc {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.pb-toc-side h2 {
  margin: 0.9rem 0 1.25rem; max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -0.02em;
  padding-bottom: 1.25rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover)) 0 100% / 56px 3px no-repeat;
}
.pb-toc-side p { font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.75; }
.pb-toc-sheet {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2.75rem);
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  /* stacked-pages look behind the sheet */
  box-shadow: 8px 8px 0 -1px #fff, 8px 8px 0 0 var(--panel-border), 16px 16px 0 -1px #fff, 16px 16px 0 0 var(--panel-border), 0 40px 70px -40px rgba(17, 17, 17, 0.4);
  transform: rotate(-0.6deg);
}
.pb-toc-title {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding-bottom: 0.9rem; margin-bottom: 0.4rem;
  border-bottom: 2px solid var(--text-primary);
}
.pb-toc-title span:first-child { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; }
.pb-toc-title span:last-child { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.pb-toc-list li {
  display: flex; align-items: baseline; gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--panel-border);
}
.pb-toc-list li:last-child { border-bottom: 0; }
.pb-toc-n { flex: none; min-width: 1.6rem; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--accent); }
/* label grows; its ::after is the dotted leader up to the tag */
.pb-toc-label { flex: 1; display: flex; align-items: baseline; gap: 0.75rem; font-weight: 500; color: var(--text-primary); line-height: 1.45; transition: color 0.2s; }
.pb-toc-label::after { content: ''; flex: 1; min-width: 1.5rem; border-bottom: 2px dotted var(--panel-border); }
.pb-toc-tag {
  flex: none;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border-radius: 99px;
  color: var(--text-secondary); background: var(--panel);
}
.pb-toc-tag.is-run { color: var(--accent); background: var(--accent-subtle); }
.pb-toc-tag.is-check { color: #fff; background: var(--accent); }
.pb-toc-list li:hover .pb-toc-label { color: var(--accent); }
@media (max-width: 960px) {
  .pb-toc { grid-template-columns: minmax(0, 1fr); }
  .pb-toc-sheet { transform: none; margin-right: 16px; }
}

/* Playbooks "Built to Survive Contact With a Real Team": dark band; heading
   beside the lead, four friction tiles, then the answer row with the detour. */
section.pb-real {
  position: relative; overflow: clip; color: #fff;
  background:
    radial-gradient(ellipse 45% 70% at 0% 0%, rgba(205, 62, 45, 0.22), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--text-primary);
}
.pb-real-head {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 5vw, 4.5rem); align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.pb-real-head h2 {
  margin-top: 0.9rem; max-width: 15ch; color: #fff;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance;
}
.pb-real-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.75; color: rgba(255, 255, 255, 0.75);
  padding-left: 1.25rem; border-left: 2px solid var(--accent);
}
.pb-real-label {
  margin-bottom: 1rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.pb-real-friction {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
}
.pb-real-friction li {
  padding: 1.5rem 1.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.pb-real-friction li:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(205, 62, 45, 0.55); }
.pb-real-ico {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: 1.1rem;
  border-radius: 12px; color: var(--accent);
  background: rgba(205, 62, 45, 0.12); border: 1px solid rgba(205, 62, 45, 0.35);
}
.pb-real-ico svg { width: 1.3rem; height: 1.3rem; }
.pb-real-friction h3 { color: #fff; font-size: 1.08rem; margin-bottom: 0.4rem; }
.pb-real-friction p { color: rgba(255, 255, 255, 0.62); font-size: 0.93rem; line-height: 1.65; }
.pb-real-answer {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 5vw, 4rem); align-items: center;
  margin-top: clamp(1.5rem, 3vw, 2rem);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 20px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.pb-real-answer::before {
  content: ''; position: absolute; left: 12%; right: 12%; top: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.pb-real-answer .pb-detour { margin-top: 0; }
.pb-real-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pb-real-chips li {
  padding: 0.55rem 1rem; border-radius: 99px;
  font-weight: 600; font-size: 0.95rem; color: #fff;
  background: rgba(205, 62, 45, 0.16); border: 1px solid rgba(205, 62, 45, 0.5);
}
.pb-real-close { margin-top: 1.1rem; max-width: none; color: rgba(255, 255, 255, 0.62); font-style: italic; line-height: 1.7; }
@media (max-width: 960px) {
  .pb-real-head, .pb-real-answer { grid-template-columns: minmax(0, 1fr); }
  .pb-real-friction { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-real-answer .pb-detour { max-width: 260px; }
}
@media (max-width: 560px) {
  .pb-real-friction { grid-template-columns: minmax(0, 1fr); }
}

/* Playbooks "Sequencing Matters More Than People Expect": two sprint lanes
   (playbooks overlapping vs run in order with a reassess gate), then the rule. */
section.pb-order {
  background:
    radial-gradient(ellipse 50% 70% at 100% 100%, rgba(205, 62, 45, 0.06), transparent 65%),
    var(--panel);
}
.pb-order-head { max-width: 720px; margin: 0 auto clamp(2.25rem, 4vw, 3rem); text-align: center; }
.pb-order-head h2 {
  margin: 0.9rem auto 1.1rem; max-width: 16ch;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance;
  padding-bottom: 1.25rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover)) 50% 100% / 56px 3px no-repeat;
}
.pb-order-head p { margin-inline: auto; font-size: clamp(1.05rem, 1.5vw, 1.15rem); line-height: 1.75; }
.pb-order-board {
  --name: 10.5rem; --result: 9.5rem;
  display: grid; gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -38px rgba(17, 17, 17, 0.35);
}
.pb-order-scale, .pb-order-lane {
  display: grid; grid-template-columns: var(--name) minmax(0, 1fr) var(--result);
  gap: 1.25rem; align-items: center;
}
.pb-order-scale > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pb-order-scale div span {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted);
  padding-left: 0.5rem; border-left: 1px dashed var(--panel-border);
}
.pb-order-lane { padding: 1rem 0; border-top: 1px solid var(--panel-border); }
.pb-order-lane-name { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; }
.pb-order-mark {
  display: grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  font-size: 0.8rem; font-weight: 700;
}
.is-bad .pb-order-mark { color: var(--accent); background: #fff; border: 1.5px solid var(--accent-border); }
.is-good .pb-order-mark { color: #fff; background: #3f8f5a; }
.pb-order-track {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 0.45rem;
  background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), var(--panel-border) calc(25% - 1px) 25%);
}
.pb-order-bar {
  grid-column: var(--from) / var(--to);
  padding: 0.5rem 0.8rem; border-radius: 99px;
  font-size: 0.8rem; font-weight: 600; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pb-order-bar.is-a { grid-row: 1; color: #fff; background: linear-gradient(90deg, var(--accent), #e8654f); }
.pb-order-bar.is-b { grid-row: 2; color: #fff; background: var(--text-primary); }
/* Overlapping lane: both bars in the same window, visibly clashing. */
.is-bad .pb-order-bar { opacity: 0.85; }
.is-bad .pb-order-track::after {
  content: ''; position: absolute; left: 0; width: 50%; top: -0.35rem; bottom: -0.35rem;
  border: 1.5px dashed var(--accent); border-radius: 12px; pointer-events: none;
}
.is-good .pb-order-bar.is-b { margin-left: 0.6rem; }
.pb-order-gate {
  position: absolute; left: calc((var(--at) - 1) * 25%); top: 50%; transform: translate(-50%, -50%);
  padding: 0.2rem 0.55rem; border-radius: 6px;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); background: #fff; border: 1.5px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-subtle); z-index: 1;
}
.pb-order-result {
  justify-self: start;
  padding: 0.4rem 0.8rem; border-radius: 99px;
  font-size: 0.82rem; font-weight: 700;
}
.is-bad .pb-order-result { color: var(--accent); background: var(--accent-subtle); border: 1px dashed var(--accent-border); }
.is-good .pb-order-result { color: #2e6e45; background: rgba(63, 143, 90, 0.12); border: 1px solid rgba(63, 143, 90, 0.35); }
.pb-order-rule {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
  margin-top: clamp(1.5rem, 3vw, 2rem);
}
.pb-order-rule li {
  display: flex; align-items: flex-start; gap: 0.85rem;
  padding: 1.1rem 1.2rem;
  font-weight: 500; color: var(--text-primary); line-height: 1.5;
  background: #fff; border: 1px solid var(--panel-border); border-radius: var(--radius-md);
}
.pb-order-rule li span {
  display: grid; place-items: center; flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  color: #fff; background: var(--accent);
}
@media (max-width: 960px) {
  .pb-order-scale { display: none; }
  .pb-order-lane { grid-template-columns: minmax(0, 1fr); gap: 0.85rem; }
  .pb-order-track { background: none; }
  .pb-order-bar { white-space: normal; }
  .pb-order-rule { grid-template-columns: minmax(0, 1fr); }
}

/* Playbooks "Entering India or Exporting?": copy beside a routing map —
   RevXForge (general GTM) forks to IndiGTM and ExportGTM inside the MOTM family. */
section.pb-route { background: var(--canvas); }
.pb-route .container {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.pb-route-copy h2 {
  margin: 0.9rem 0 1.25rem; max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance;
  padding-bottom: 1.25rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover)) 0 100% / 56px 3px no-repeat;
}
.pb-route-copy p { font-size: clamp(1.05rem, 1.5vw, 1.15rem); line-height: 1.8; }
.pb-route-map {
  position: relative; margin: 0;
  padding: 2.5rem clamp(1rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem);
  border: 1.5px dashed var(--panel-border); border-radius: 20px;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(205, 62, 45, 0.06), transparent 70%), var(--panel);
}
.pb-route-family {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  padding: 0.3rem 0.9rem; border-radius: 99px; white-space: nowrap;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-secondary); background: var(--canvas); border: 1px solid var(--panel-border);
}
.pb-route-node {
  display: grid; gap: 0.3rem; text-align: center;
  padding: 1.15rem 1rem;
  background: #fff; border: 1px solid var(--panel-border); border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -30px rgba(17, 17, 17, 0.35);
}
.pb-route-node b { font-family: var(--font-display); font-size: 1.15rem; color: var(--text-primary); }
.pb-route-node > span:last-child { font-size: 0.9rem; line-height: 1.5; color: var(--text-secondary); }
.pb-route-tag {
  justify-self: center;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted);
}
.pb-route-node.is-here {
  max-width: 300px; margin-inline: auto;
  border-color: var(--accent-border);
  box-shadow: inset 0 3px 0 var(--accent), 0 26px 50px -30px rgba(205, 62, 45, 0.45);
}
.pb-route-node.is-here .pb-route-tag { color: #fff; background: var(--accent); padding: 0.15rem 0.6rem; border-radius: 99px; }
/* Fork: stem down from RevXForge, then a bar out to both children. */
.pb-route-fork {
  position: relative; height: 2.75rem; margin-inline: 25%;
  border-bottom: 2px solid var(--accent-border);
}
.pb-route-fork::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: -2px; border-left: 2px solid var(--accent-border);
}
.pb-route-fork::after {
  content: ''; position: absolute; left: -1px; right: -1px; bottom: -1.25rem; height: 1.25rem;
  border-left: 2px solid var(--accent-border); border-right: 2px solid var(--accent-border);
}
.pb-route-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
@media (max-width: 960px) {
  .pb-route .container { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .pb-route-pair { grid-template-columns: minmax(0, 1fr); }
  .pb-route-fork, .pb-route-fork::after { display: none; }
  .pb-route-pair { margin-top: 1rem; }
}

/* Playbooks "From Playbook Back to Evidence": a playbook step traced right
   through Benchmarks to the Research Hub, then the "directional" flag note. */
section.pb-proof {
  background: radial-gradient(ellipse 45% 70% at 0% 100%, rgba(205, 62, 45, 0.07), transparent 70%), var(--panel);
}
.pb-proof-head { max-width: 680px; margin: 0 auto clamp(2.25rem, 4vw, 3rem); text-align: center; }
.pb-proof-head h2 {
  margin: 0.9rem auto 1rem;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance;
}
.pb-proof-head p { margin-inline: auto; font-size: clamp(1.05rem, 1.5vw, 1.15rem); line-height: 1.75; }
.pb-proof-chain {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  max-width: 1080px; margin-inline: auto;
}
.pb-proof-chain > li { position: relative; display: flex; }
/* Arrow connector into each step after the first. */
.pb-proof-chain > li + li::before {
  content: '→'; position: absolute; top: 50%; left: calc(-1 * clamp(1.75rem, 4vw, 3rem) / 2);
  transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  font-weight: 700; color: var(--accent); background: #fff; border: 1.5px solid var(--accent-border);
  z-index: 1;
}
.pb-proof-step {
  flex: 1; display: flex; flex-direction: column; gap: 0.5rem;
  padding: 1.6rem 1.5rem;
  background: #fff; border: 1px solid var(--panel-border); border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px -36px rgba(17, 17, 17, 0.35);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
a.pb-proof-step:hover { border-color: var(--accent-border); transform: translateY(-3px); box-shadow: 0 30px 60px -34px rgba(205, 62, 45, 0.45); }
a.pb-proof-step:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.pb-proof-step.is-start { color: #fff; background: var(--text-primary); border-color: var(--text-primary); }
.pb-proof-ico {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 0.5rem;
  border-radius: 12px; color: var(--accent);
  background: var(--accent-subtle); border: 1px solid var(--accent-border);
}
.pb-proof-ico svg { width: 20px; height: 20px; }
.is-start .pb-proof-ico { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); }
.pb-proof-kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.pb-proof-step h3 { font-size: 1.2rem; }
.is-start h3 { color: #fff; }
.pb-proof-step p { font-size: 0.95rem; line-height: 1.65; }
.is-start p { color: rgba(255, 255, 255, 0.68); }
.pb-proof-go { margin-top: auto; padding-top: 0.5rem; font-weight: 600; font-size: 0.92rem; color: var(--accent); }
a.pb-proof-step:hover .pb-proof-go { text-decoration: underline; text-underline-offset: 3px; }
.pb-proof-flag {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.75rem;
  max-width: none; margin-top: clamp(1.75rem, 3vw, 2.25rem);
  text-align: center; color: var(--text-primary); font-weight: 500;
}
.pb-proof-badge {
  padding: 0.25rem 0.7rem; border-radius: 6px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #8a5a00; background: rgba(230, 170, 40, 0.16); border: 1px dashed rgba(180, 120, 0, 0.5);
}
@media (max-width: 860px) {
  .pb-proof-chain { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .pb-proof-chain > li + li::before { content: '↓'; top: calc(-1 * clamp(1.75rem, 4vw, 3rem) / 2); left: 50%; }
}
@media (prefers-reduced-motion: reduce) {
  a.pb-proof-step:hover { transform: none; }
}

/* Playbooks "Choosing Where to Start": the closing CTA's copy as a router —
   what the Diagnostic points to → which playbook to open first. */
.pb-start-sub { max-width: 46ch; margin: 1.1rem auto 0; color: rgba(255, 255, 255, 0.72); font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.7; }
.pb-start-sub a, .pb-start-then i a { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.pb-start-map { display: grid; gap: 0.85rem; width: 100%; max-width: 920px; text-align: left; }
.pb-start-map li {
  display: grid; grid-template-columns: minmax(0, 1fr) 2.5rem minmax(0, 1.2fr);
  align-items: center; gap: 1rem;
  padding: 1.1rem 1.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.pb-start-map li:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(205, 62, 45, 0.55); }
.pb-start-map small {
  display: block; margin-bottom: 0.3rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.pb-start-if { font-weight: 600; color: #fff; line-height: 1.4; }
.pb-start-arrow {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  font-weight: 700; color: #fff; background: var(--accent);
  box-shadow: 0 0 0 5px rgba(205, 62, 45, 0.18);
}
.pb-start-then b { display: flex; align-items: baseline; gap: 0.6rem; font-family: var(--font-display); font-size: 1.12rem; color: #fff; line-height: 1.3; }
.pb-start-then em { font-style: normal; font-size: 0.85rem; color: var(--accent); }
.pb-start-then i { display: block; margin-top: 0.45rem; font-style: normal; font-size: 0.88rem; line-height: 1.55; color: rgba(255, 255, 255, 0.62); }
.fw-cta-section p.pb-start-related { margin: 0; max-width: none; color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; }
.pb-start-related a { color: #fff; }
@media (max-width: 720px) {
  .pb-start-map li { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .pb-start-arrow { width: 2rem; height: 2rem; transform: rotate(90deg); }
}

/* Founder Education "Who This Track Is Actually For": heading beside the lead,
   "most content assumes" vs "written for a founder who" cards, then the starting numbers. */
.fe-for-head {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 5vw, 4.5rem); align-items: end;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
}
.rs-why-section.fe-for h2 { margin: 0.9rem 0 0; max-width: 15ch; }
.fe-for-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.75; color: var(--text-primary);
  padding-left: 1.25rem; border-left: 2px solid var(--accent);
}
.fe-for-compare {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1rem, 2.5vw, 1.5rem); align-items: stretch;
}
.fe-for-card { padding: clamp(1.5rem, 3.5vw, 2.25rem); border-radius: var(--radius-lg); }
.fe-for-label {
  display: block; margin-bottom: 1.1rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.fe-for-card ul { display: grid; gap: 0.85rem; }
.fe-for-card li { position: relative; padding-left: 2.1rem; line-height: 1.55; }
.fe-for-card li::before {
  position: absolute; left: 0; top: 0.05em;
  display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  font-size: 0.72rem; font-weight: 700;
}
.fe-for-card.is-not { background: var(--panel); border: 1px dashed var(--panel-border); }
.fe-for-card.is-not .fe-for-label { color: var(--text-muted); }
.fe-for-card.is-not li { color: var(--text-muted); text-decoration: line-through; text-decoration-color: rgba(122, 118, 115, 0.45); }
.fe-for-card.is-not li::before { content: '✕'; color: var(--text-muted); background: #fff; border: 1px solid var(--panel-border); }
.fe-for-card.is-you {
  background: #fff; border: 1px solid var(--accent-border);
  box-shadow: inset 0 3px 0 var(--accent), 0 30px 60px -34px rgba(205, 62, 45, 0.4);
}
.fe-for-card.is-you .fe-for-label { color: var(--accent); }
.fe-for-card.is-you li { font-weight: 500; color: var(--text-primary); font-size: 1.04rem; }
.fe-for-card.is-you li::before { content: '✓'; color: #fff; background: var(--accent); }
.fe-for-note { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px dashed var(--panel-border); font-size: 0.95rem; }
.fe-for-numbers {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.25rem;
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  padding: 1.25rem 1.5rem;
  background: var(--text-primary); border-radius: var(--radius-lg);
}
.fe-for-numbers p { margin: 0; max-width: 32ch; color: rgba(255, 255, 255, 0.7); line-height: 1.55; }
.fe-for-numbers p strong { color: #fff; }
.fe-for-numbers ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fe-for-numbers li {
  padding: 0.4rem 0.85rem; border-radius: 99px;
  font-size: 0.88rem; font-weight: 600; color: #fff;
  background: rgba(205, 62, 45, 0.16); border: 1px solid rgba(205, 62, 45, 0.5);
}
@media (max-width: 960px) {
  .fe-for-head, .fe-for-compare { grid-template-columns: minmax(0, 1fr); }
}

/* Founder Education "What We Cover": dark bento — fundamentals featured left,
   leadership and GTM stacked right, two compact cards along the bottom. */
.fe-cover {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-areas: "a b" "a c" "d e";
  gap: clamp(0.85rem, 2vw, 1.25rem);
}
.fe-cover .is-a { grid-area: a; } .fe-cover .is-b { grid-area: b; } .fe-cover .is-c { grid-area: c; }
.fe-cover .is-d { grid-area: d; } .fe-cover .is-e { grid-area: e; }
.fe-cover-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 0.85rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.fe-cover-card:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(205, 62, 45, 0.55); }
.fe-cover-card.is-a {
  justify-content: flex-end; min-height: 100%;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(205, 62, 45, 0.28), transparent 70%), rgba(255, 255, 255, 0.05);
  border-color: rgba(205, 62, 45, 0.4);
}
.fe-cover-num {
  font-family: var(--font-display); font-weight: 700; line-height: 0.9; letter-spacing: -0.02em;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
  transition: color 0.3s var(--ease-out), -webkit-text-stroke-color 0.3s var(--ease-out);
}
.fe-cover-card:hover .fe-cover-num { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.is-a .fe-cover-num { position: absolute; top: clamp(1.5rem, 3vw, 2.25rem); left: clamp(1.75rem, 4vw, 2.75rem); font-size: clamp(4rem, 8vw, 6.5rem); }
.fe-cover-card h3 { color: #fff; font-size: 1.2rem; }
.is-a h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.fe-cover-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.fe-cover-tags li {
  padding: 0.3rem 0.7rem; border-radius: 99px;
  font-size: 0.78rem; font-weight: 600; color: #fff;
  background: rgba(205, 62, 45, 0.16); border: 1px solid rgba(205, 62, 45, 0.45);
}
.fe-cover-card p { max-width: none; color: rgba(255, 255, 255, 0.66); font-size: 0.95rem; line-height: 1.7; }
.is-a p { font-size: 1.02rem; line-height: 1.8; }
.is-a.fe-cover-card { padding-top: clamp(7rem, 14vw, 10rem); }
.fe-cover-card.is-mini { flex-direction: row; align-items: center; gap: 1.25rem; }
.fe-cover-card.is-mini h3 { margin-bottom: 0.3rem; }
@media (max-width: 860px) {
  .fe-cover { grid-template-columns: minmax(0, 1fr); grid-template-areas: "a" "b" "c" "d" "e"; }
}

/* Founder Education "Built Around Real Founder Decisions": the article recipe
   as a left-to-right flow (decision → mechanism → evidence → tool), filler struck out. */
.fe-dec-intro {
  max-width: 50ch; margin: -1rem auto clamp(2rem, 4vw, 2.75rem);
  text-align: center; font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.7;
}
.fe-dec-flow {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  max-width: 1100px; margin-inline: auto;
}
.fe-dec-step {
  position: relative;
  display: flex; flex-direction: column; gap: 0.45rem;
  padding: 1.5rem 1.35rem 1.6rem;
  background: #fff; border: 1px solid var(--panel-border); border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px -36px rgba(17, 17, 17, 0.35);
}
/* Chevron connector into the next step. */
.fe-dec-step + .fe-dec-step::before {
  content: ''; position: absolute; top: 2.15rem; left: calc(-1 * clamp(1rem, 2.5vw, 1.5rem) / 2 - 0.4rem);
  width: 0.8rem; height: 0.8rem;
  border-top: 2px solid var(--accent); border-right: 2px solid var(--accent);
  transform: rotate(45deg);
}
.fe-dec-n {
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 0.5rem;
  border-radius: 50%;
  font-family: var(--font-display); font-weight: 700;
  color: var(--accent); background: var(--accent-subtle); border: 1.5px solid var(--accent-border);
}
.fe-dec-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.fe-dec-step h3 { font-size: 1.15rem; }
.fe-dec-step p { font-size: 0.95rem; line-height: 1.6; }
.fe-dec-step a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.fe-dec-step.is-q { background: var(--text-primary); border-color: var(--text-primary); }
.is-q .fe-dec-n { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.25); }
.is-q .fe-dec-tag { color: rgba(255, 255, 255, 0.55); }
.is-q h3 { color: #fff; }
.is-q p { color: rgba(255, 255, 255, 0.7); }
.fe-dec-step.is-go { border-color: var(--accent-border); box-shadow: inset 0 3px 0 var(--accent), 0 30px 60px -34px rgba(205, 62, 45, 0.4); }
.is-go .fe-dec-n { color: #fff; background: var(--accent); border-color: var(--accent); }
.fe-dec-no {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.75rem;
  max-width: none; margin-top: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500; color: var(--text-primary);
}
.fe-dec-no s {
  padding: 0.3rem 0.8rem; border-radius: 99px;
  font-size: 0.85rem; font-weight: 600; color: var(--text-muted);
  background: #fff; border: 1px dashed var(--panel-border);
  text-decoration-color: var(--accent); text-decoration-thickness: 2px;
}
@media (max-width: 960px) {
  .fe-dec-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fe-dec-step:nth-child(3)::before { display: none; }
}
@media (max-width: 560px) {
  .fe-dec-flow { grid-template-columns: minmax(0, 1fr); }
  .fe-dec-step + .fe-dec-step::before { display: block; top: calc(-1 * clamp(1rem, 2.5vw, 1.5rem) / 2 - 0.55rem); left: 50%; transform: translateX(-50%) rotate(135deg); }
}
@media (max-width: 960px) { .fe-dec-intro { text-align: left; margin-inline: 0; } }

/* Founder Education "Why Plain Language Isn't a Compromise": heading beside the
   lead, a jargon → plain swap, three definition rules, then the closing line. */
section.fe-plain {
  background: radial-gradient(ellipse 50% 70% at 100% 0%, rgba(205, 62, 45, 0.06), transparent 65%), var(--panel);
}
.fe-plain-head {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 5vw, 4.5rem); align-items: end;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
}
.fe-plain-head h2 {
  margin-top: 0.9rem; max-width: 15ch;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance;
}
.fe-plain-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.75; color: var(--text-primary);
  padding-left: 1.25rem; border-left: 2px solid var(--accent);
}
.fe-plain-swap {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.3fr);
  align-items: stretch; margin: 0;
  background: #fff; border: 1px solid var(--panel-border); border-radius: 20px;
  box-shadow: 0 30px 60px -38px rgba(17, 17, 17, 0.35);
  overflow: hidden;
}
.fe-plain-side { padding: clamp(1.5rem, 4vw, 2.5rem); }
.fe-plain-label {
  display: block; margin-bottom: 0.75rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.fe-plain-side p { max-width: none; font-family: var(--font-display); font-weight: 700; line-height: 1.25; }
.fe-plain-side.is-jargon { background: var(--canvas); }
.is-jargon .fe-plain-label { color: var(--text-muted); }
.is-jargon p {
  font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--text-muted);
  text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px;
}
.is-plain .fe-plain-label { color: var(--accent); }
.is-plain p { font-size: clamp(1.3rem, 2.6vw, 1.85rem); color: var(--text-primary); }
.fe-plain-arrow {
  align-self: center; display: grid; place-items: center;
  width: 3rem; height: 3rem; margin-inline: -1.5rem; z-index: 1; border-radius: 50%;
  font-weight: 700; color: #fff; background: var(--accent);
  box-shadow: 0 0 0 6px #fff, 0 10px 24px -8px rgba(205, 62, 45, 0.7);
}
.fe-plain-rules {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.25rem);
  margin-top: clamp(1.25rem, 2.5vw, 1.5rem);
}
.fe-plain-rules li {
  padding: 1.35rem 1.35rem 1.5rem;
  background: #fff; border: 1px solid var(--panel-border); border-radius: var(--radius-lg);
}
.fe-plain-rules span { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--accent); }
.fe-plain-rules h3 { margin: 0.5rem 0 0.4rem; font-size: 1.1rem; }
.fe-plain-rules p { font-size: 0.95rem; line-height: 1.65; }
.fe-plain-close {
  max-width: 62ch; margin: clamp(2rem, 4vw, 2.75rem) auto 0;
  text-align: center; font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.75;
}
.fe-plain-close strong { color: var(--text-primary); box-shadow: inset 0 -0.45em 0 var(--accent-subtle); }
@media (max-width: 960px) {
  .fe-plain-head { grid-template-columns: minmax(0, 1fr); }
  .fe-plain-rules { grid-template-columns: minmax(0, 1fr); }
  .fe-plain-close { text-align: left; margin-inline: 0; }
}
@media (max-width: 640px) {
  .fe-plain-swap { grid-template-columns: minmax(0, 1fr); }
  .fe-plain-arrow { justify-self: center; margin: -1.5rem 0; transform: rotate(90deg); }
}

/* Founder Education "From Fundamentals to Application": heading beside the lead,
   then a "you are here" start and five linked next stops along a rail. */
.fe-ramp-head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.5rem, 5vw, 4.5rem); align-items: end;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
}
.rs-why-section.fe-ramp h2 { margin: 0.9rem 0 0; max-width: 13ch; }
.fe-ramp-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.12rem); line-height: 1.75; color: var(--text-primary);
  padding-left: 1.25rem; border-left: 2px solid var(--accent);
}
.fe-ramp-start {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1.25rem; padding: 0.5rem 1rem 0.5rem 0.75rem; border-radius: 99px;
  font-weight: 600; color: #fff; background: var(--text-primary);
}
.fe-ramp-start b { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.fe-ramp-dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(205, 62, 45, 0.3); }
.fe-ramp-stops {
  position: relative;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.6vw, 1rem);
}
/* Rail running behind the top of the stops, continuing from the start pill. */
.fe-ramp-stops::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0;
  height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-border));
}
.fe-ramp-stops a {
  position: relative; height: 100%;
  display: flex; flex-direction: column; gap: 0.45rem;
  padding: 1.6rem 1.2rem 1.3rem;
  background: #fff; border: 1px solid var(--panel-border); border-top: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 24px 50px -36px rgba(17, 17, 17, 0.35);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.fe-ramp-stops a::before {
  content: ''; position: absolute; top: -6px; left: 1.2rem;
  width: 0.75rem; height: 0.75rem; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent);
}
.fe-ramp-stops a:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -34px rgba(205, 62, 45, 0.45); }
.fe-ramp-stops a:hover::before { background: var(--accent); }
.fe-ramp-stops a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.fe-ramp-verb { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.fe-ramp-stops h3 { font-size: 1.05rem; line-height: 1.25; }
.fe-ramp-stops p { font-size: 0.9rem; line-height: 1.6; }
.fe-ramp-go { margin-top: auto; padding-top: 0.5rem; font-weight: 700; color: var(--accent); transition: transform 0.2s var(--ease-out); }
.fe-ramp-stops a:hover .fe-ramp-go { transform: translateX(4px); }
@media (max-width: 1024px) {
  .fe-ramp-stops { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.5rem; }
  .fe-ramp-stops::before { display: none; }
  .fe-ramp-stops a { border-top: 3px solid var(--accent); border-radius: var(--radius-lg); }
}
@media (max-width: 760px) {
  .fe-ramp-head { grid-template-columns: minmax(0, 1fr); }
  .fe-ramp-stops { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .fe-ramp-stops a:hover { transform: none; }
  .fe-ramp-stops a:hover .fe-ramp-go { transform: none; }
}

/* Founder Education "What This Track Deliberately Doesn't Cover": heading beside
   the lead, crossed-out later-stage topics, and a now → hire → after timeline. */
section.fe-out { background: var(--panel); }
.fe-out-head {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 5vw, 4.5rem); align-items: end;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
}
.fe-out-head h2 {
  margin-top: 0.9rem; max-width: 16ch;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance;
}
.fe-out-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.75; color: var(--text-primary);
  padding-left: 1.25rem; border-left: 2px solid var(--accent);
}
.fe-out-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.5rem); }
.fe-out-card {
  display: flex; flex-direction: column; gap: 1.1rem;
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  background: #fff; border: 1px solid var(--panel-border); border-radius: 20px;
  box-shadow: 0 30px 60px -38px rgba(17, 17, 17, 0.35);
}
.fe-out-label {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.fe-out-label::before {
  content: '✕'; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  font-size: 0.75rem; letter-spacing: 0; color: var(--accent); background: var(--accent-subtle); border: 1px solid var(--accent-border);
}
.fe-out-topics { display: grid; gap: 0.6rem; }
.fe-out-topics li {
  padding: 0.85rem 1rem; border-radius: var(--radius-md);
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--text-muted);
  background: var(--canvas); border: 1px dashed var(--panel-border);
  text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px;
}
.fe-out-card > p { margin-top: auto; font-size: 0.95rem; line-height: 1.65; }
.fe-out-card.is-dark {
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(205, 62, 45, 0.25), transparent 70%), var(--text-primary);
  border-color: var(--text-primary);
}
.is-dark .fe-out-label::before { background: rgba(205, 62, 45, 0.16); border-color: rgba(205, 62, 45, 0.5); }
.fe-out-line { position: relative; display: grid; gap: 1.1rem; padding-left: 1.75rem; }
.fe-out-line::before {
  content: ''; position: absolute; left: 0.45rem; top: 0.5rem; bottom: 0.5rem;
  border-left: 2px dashed rgba(255, 255, 255, 0.2);
}
.fe-out-line li { position: relative; display: grid; gap: 0.2rem; }
.fe-out-line li::before {
  content: ''; position: absolute; left: -1.75rem; top: 0.3rem;
  width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--text-primary); border: 2px solid rgba(255, 255, 255, 0.35);
}
.fe-out-line li.is-now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(205, 62, 45, 0.25); }
.fe-out-line b { font-family: var(--font-display); color: #fff; font-size: 1.05rem; }
.fe-out-line li.is-now b { color: var(--accent); }
.fe-out-line span { color: rgba(255, 255, 255, 0.66); font-size: 0.95rem; line-height: 1.6; }
@media (max-width: 900px) {
  .fe-out-head, .fe-out-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Founder Education "Where to Start": closing CTA copy as three question cards,
   the pipeline one featured with the target ÷ win-rate formula. */
.fe-start-doors {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(0.85rem, 2vw, 1.25rem); width: 100%; max-width: 1080px; text-align: left;
}
.fe-start-doors li { display: flex; }
.fe-start-doors a {
  flex: 1; display: flex; flex-direction: column; gap: 0.85rem;
  padding: clamp(1.4rem, 3vw, 1.9rem);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.fe-start-doors a:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.08); border-color: rgba(205, 62, 45, 0.55); }
.fe-start-doors a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.fe-start-doors .is-feature a {
  background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(205, 62, 45, 0.28), transparent 70%), rgba(255, 255, 255, 0.06);
  border-color: rgba(205, 62, 45, 0.45);
}
.fe-start-q { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.25; color: #fff; }
.fe-start-a { color: rgba(255, 255, 255, 0.7); font-size: 0.97rem; line-height: 1.65; }
.fe-start-a b { color: #fff; }
.fe-start-eq { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
.fe-start-eq i {
  padding: 0.35rem 0.7rem; border-radius: var(--radius-md);
  font-style: normal; font-size: 0.85rem; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
}
.fe-start-eq i.is-out { background: var(--accent); border-color: var(--accent); }
.fe-start-eq em { font-style: normal; font-weight: 700; color: var(--accent); }
.fe-start-go { margin-top: auto; padding-top: 0.4rem; font-weight: 600; font-size: 0.92rem; color: var(--accent); }
.fe-start-doors a:hover .fe-start-go { text-decoration: underline; text-underline-offset: 3px; }
.fw-cta-section p.fe-start-related { margin: 0; max-width: none; color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; }
.fe-start-related a { color: #fff; }
@media (max-width: 900px) {
  .fe-start-doors { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}
@media (prefers-reduced-motion: reduce) { .fe-start-doors a:hover { transform: none; } }

/* Calculators "Our B2B Revenue Calculators": the live calculator as a spotlight
   card with its formula, the four coming-soon tools in a muted grid below. */
section.ca-lib {
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(205, 62, 45, 0.08), transparent 65%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(205, 62, 45, 0.05), transparent 70%),
    var(--canvas);
}
.ca-lib-head {
  display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}
.ca-lib-head h2 { margin-top: 0.9rem; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; }
.ca-lib-count { padding: 0.5rem 1rem; border-radius: 99px; background: #fff; border: 1px solid var(--panel-border); font-size: 0.9rem; }
.ca-lib-count b { color: var(--accent); font-family: var(--font-display); }
.ca-lib-live {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  padding: clamp(1.75rem, 4.5vw, 3rem);
  color: #fff; border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(205, 62, 45, 0.35), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 36px 36px,
    var(--text-primary);
  box-shadow: 0 50px 90px -50px rgba(17, 17, 17, 0.6);
}
.ca-lib-live-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 0.85rem; }
.ca-lib-live h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; }
.ca-lib-live p { color: rgba(255, 255, 255, 0.72); font-size: 1.02rem; line-height: 1.75; }
.ca-lib-status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.3rem 0.8rem; border-radius: 99px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.ca-lib-status.is-live { color: #8fe0a9; background: rgba(63, 143, 90, 0.18); border: 1px solid rgba(63, 143, 90, 0.55); }
.ca-lib-status.is-live span { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #5fd08a; box-shadow: 0 0 0 4px rgba(95, 208, 138, 0.2); }
.ca-lib-num { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--accent); }
.ca-lib-formula {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-lg);
}
.ca-lib-formula-label { display: block; margin-bottom: 1rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.ca-lib-eq { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
.ca-lib-eq i { font-style: normal; font-weight: 600; font-size: 0.95rem; color: #fff; }
.ca-lib-eq i.is-out { padding: 0.45rem 0.85rem; border-radius: var(--radius-md); background: var(--accent); }
.ca-lib-eq em { font-style: normal; font-weight: 700; font-size: 1.2rem; color: var(--accent); }
.ca-lib-frac { display: inline-grid; text-align: center; }
.ca-lib-frac i { padding: 0.35rem 0.6rem; }
.ca-lib-frac i:first-child { border-bottom: 2px solid rgba(255, 255, 255, 0.6); }
.ca-lib-soon-label {
  margin: clamp(2rem, 4vw, 2.75rem) 0 1rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted);
}
.ca-lib-soon { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.85rem, 2vw, 1.25rem); }
.ca-lib-card {
  display: flex; flex-direction: column; gap: 0.6rem;
  padding: 1.4rem 1.3rem;
  background: #fff; border: 1px dashed var(--panel-border); border-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease-out);
}
.ca-lib-card:hover { border-color: var(--accent-border); }
.ca-lib-card h3 { font-size: 1.08rem; line-height: 1.3; }
.ca-lib-card p { font-size: 0.9rem; line-height: 1.65; }
.ca-lib-f { margin-top: auto; padding: 0.7rem 0.85rem; border-radius: var(--radius-md); background: var(--panel); font-size: 0.82rem !important; }
.ca-lib-f strong { color: var(--text-primary); }
@media (max-width: 1024px) { .ca-lib-soon { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .ca-lib-live { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .ca-lib-soon { grid-template-columns: minmax(0, 1fr); } }

/* Calculators: "Open the calculator" CTA on the live spotlight card — white pill,
   calculator icon, two-line label, red arrow disc that slides on hover. */
.btn.ca-lib-cta {
  gap: 0.85rem; margin-top: 0.75rem;
  padding: 0.45rem 0.45rem 0.45rem 0.5rem;
  border-radius: 999px;
  color: var(--text-primary); background: #fff;
  box-shadow: 0 18px 40px -16px rgba(205, 62, 45, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  text-align: left;
}
.ca-lib-cta-ico, .ca-lib-cta-arrow {
  display: grid; place-items: center; flex: none; width: 2.9rem; height: 2.9rem; border-radius: 50%;
}
.ca-lib-cta-ico { color: var(--accent); background: var(--accent-subtle); border: 1px solid var(--accent-border); }
.ca-lib-cta-ico svg { width: 20px; height: 20px; }
.ca-lib-cta-text { display: grid; gap: 0.3rem; padding-right: 0.5rem; font-size: 1.02rem; font-weight: 700; line-height: 1.1; }
.ca-lib-cta-text small { font-size: 0.78rem; font-weight: 500; color: var(--text-muted); }
.ca-lib-cta-arrow {
  color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  box-shadow: 0 8px 18px -8px rgba(205, 62, 45, 0.9);
  transition: transform 0.25s var(--ease-out);
}
.ca-lib-cta-arrow svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease-out); }
.btn.ca-lib-cta:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 24px 50px -16px rgba(205, 62, 45, 0.85), 0 0 0 1px #fff inset; }
.btn.ca-lib-cta:hover .ca-lib-cta-arrow { transform: translateX(3px); }
.btn.ca-lib-cta:hover .ca-lib-cta-arrow svg { transform: translateX(2px); }
.btn.ca-lib-cta:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .btn.ca-lib-cta:hover, .btn.ca-lib-cta:hover .ca-lib-cta-arrow, .btn.ca-lib-cta:hover .ca-lib-cta-arrow svg { transform: none; }
}

/* Calculators "A Worked Example: Required Pipeline": the sum as an equation,
   then 3x vs 4x coverage as $2M blocks with the gap marked, then the caveat. */
.ca-ex {
  max-width: 920px; margin-inline: auto;
  padding: clamp(1.5rem, 4.5vw, 3rem);
  background: #fff; border: 1px solid var(--panel-border); border-radius: 24px;
  box-shadow: 0 40px 80px -45px rgba(17, 17, 17, 0.4);
}
.ca-ex-formula {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 0.85rem;
  max-width: none; margin-bottom: clamp(1.5rem, 3vw, 2rem);
  font-family: var(--font-display); font-weight: 600; color: var(--text-primary); text-align: center;
}
.ca-ex-formula span {
  padding: 0.25rem 0.7rem; border-radius: 99px;
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-subtle);
}
.ca-ex-eq {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.2fr);
  align-items: center; gap: clamp(0.5rem, 2vw, 1rem);
}
.ca-ex-eq em { font-style: normal; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--accent); }
.ca-ex-term {
  display: grid; gap: 0.35rem; text-align: center;
  padding: clamp(1rem, 2.5vw, 1.4rem) 0.75rem;
  background: var(--canvas); border: 1px solid var(--panel-border); border-radius: var(--radius-lg);
}
.ca-ex-term small { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.ca-ex-term b { font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1; color: var(--text-primary); }
.ca-ex-term.is-out { background: var(--text-primary); border-color: var(--text-primary); box-shadow: 0 20px 40px -22px rgba(205, 62, 45, 0.8); }
.ca-ex-term.is-out small { color: rgba(255, 255, 255, 0.6); }
.ca-ex-term.is-out b { color: #fff; }
.ca-ex-bars { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); padding-top: clamp(1.5rem, 3vw, 2rem); border-top: 1px dashed var(--panel-border); }
.ca-ex-bars-title { max-width: none; margin-bottom: 1.1rem; color: var(--text-primary); font-weight: 500; }
.ca-ex-bars-title strong { color: var(--accent); }
.ca-ex-row {
  display: grid; grid-template-columns: 10rem minmax(0, 1fr) 13rem;
  align-items: center; gap: 1rem; padding: 0.55rem 0;
}
.ca-ex-row-name { font-weight: 600; font-size: 0.92rem; color: var(--text-primary); }
.ca-ex-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.ca-ex-track i {
  display: grid; place-items: center; height: 2.1rem; border-radius: 6px;
  font-style: normal; font-size: 0.78rem; font-weight: 700;
  background: rgba(17, 17, 17, 0.75);
}
.ca-ex-track i.is-gap {
  color: var(--accent); background: repeating-linear-gradient(135deg, var(--accent-subtle) 0 6px, transparent 6px 12px);
  border: 1.5px dashed var(--accent);
}
.ca-ex-track.is-full i { background: linear-gradient(90deg, var(--accent), #e8654f); }
.ca-ex-row-val { font-size: 0.88rem; font-weight: 600; color: #2e6e45; }
.ca-ex-row-val.is-short { color: var(--accent); }
.ca-ex-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem;
  margin-top: clamp(1.5rem, 3vw, 2rem); padding: 1rem 1.25rem;
  background: var(--panel); border-radius: var(--radius-md);
}
.ca-ex-foot p { max-width: none; font-weight: 600; color: var(--text-primary); }
.ca-ex-note {
  padding: 0.3rem 0.75rem; border-radius: 6px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #8a5a00; background: rgba(230, 170, 40, 0.16); border: 1px dashed rgba(180, 120, 0, 0.5);
}
@media (max-width: 760px) {
  .ca-ex-eq { grid-template-columns: minmax(0, 1fr); }
  .ca-ex-eq em { justify-self: center; line-height: 1; }
  .ca-ex-row { grid-template-columns: minmax(0, 1fr); gap: 0.45rem; padding: 0.75rem 0; }
}

/* Calculators "How Our Calculators Work": heading beside the lead, five rule
   cards (three "we do", two "we don't"), then the privacy banner. */
.ca-how-head {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 5vw, 4.5rem); align-items: end;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
}
.rs-why-section.ca-how h2 { margin: 0.9rem 0 0; max-width: 14ch; }
.ca-how-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.75; color: var(--text-primary);
  padding-left: 1.25rem; border-left: 2px solid var(--accent);
}
.ca-how-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(0.85rem, 2vw, 1.25rem); }
.ca-how-grid li {
  grid-column: span 2;
  display: flex; flex-direction: column; gap: 0.45rem;
  padding: 1.5rem 1.4rem 1.6rem;
  background: #fff; border: 1px solid var(--panel-border); border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px -36px rgba(17, 17, 17, 0.35);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.ca-how-grid li:nth-child(n + 4) { grid-column: span 3; }
.ca-how-grid li:hover { border-color: var(--accent-border); transform: translateY(-3px); }
.ca-how-ico {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 0.6rem;
  border-radius: 12px; color: var(--accent); background: var(--accent-subtle); border: 1px solid var(--accent-border);
}
.ca-how-ico svg { width: 1.35rem; height: 1.35rem; }
.ca-how-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #2e6e45; }
.ca-how-grid h3 { font-size: 1.15rem; }
.ca-how-grid p { font-size: 0.95rem; line-height: 1.65; }
.ca-how-grid li.is-dont { background: var(--canvas); border-style: dashed; box-shadow: none; }
.is-dont .ca-how-tag { color: var(--accent); }
.is-dont .ca-how-ico { color: var(--text-secondary); background: #fff; border-color: var(--panel-border); }
.ca-how-privacy {
  display: flex; align-items: center; gap: 1rem;
  margin-top: clamp(1.25rem, 2.5vw, 1.5rem);
  padding: 1.15rem 1.5rem;
  background: var(--text-primary); border-radius: var(--radius-lg);
}
.ca-how-lock {
  display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  color: #8fe0a9; background: rgba(63, 143, 90, 0.18); border: 1px solid rgba(63, 143, 90, 0.55);
}
.ca-how-lock svg { width: 1.25rem; height: 1.25rem; }
.ca-how-privacy p { max-width: none; color: rgba(255, 255, 255, 0.72); line-height: 1.6; }
.ca-how-privacy strong { color: #fff; }
@media (max-width: 960px) {
  .ca-how-head { grid-template-columns: minmax(0, 1fr); }
  .ca-how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ca-how-grid li, .ca-how-grid li:nth-child(n + 4) { grid-column: auto; }
}
@media (max-width: 560px) {
  .ca-how-grid { grid-template-columns: minmax(0, 1fr); }
  .ca-how-privacy { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .ca-how-grid li:hover { transform: none; } }

/* Calculators "Why a Calculator Beats a Benchmark": head-to-head table with a
   VS badge, then the example question sorted into "calculator problem". */
section.ca-vs { background: var(--panel); }
.ca-vs-head { max-width: 860px; margin: 0 auto clamp(2.25rem, 4vw, 3rem); text-align: center; }
.ca-vs-head h2 {
  margin: 0.9rem auto 1rem; max-width: 24ch;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance;
}
.ca-vs-head p { margin-inline: auto; font-size: clamp(1.02rem, 1.4vw, 1.12rem); line-height: 1.75; }
.ca-vs-table {
  max-width: 980px; margin-inline: auto; overflow: hidden;
  background: #fff; border: 1px solid var(--panel-border); border-radius: 24px;
  box-shadow: 0 40px 80px -45px rgba(17, 17, 17, 0.4);
}
.ca-vs-row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) 3.5rem minmax(0, 1fr); align-items: stretch; }
.ca-vs-row + .ca-vs-row { border-top: 1px solid var(--panel-border); }
.ca-vs-row > [role="cell"], .ca-vs-col {
  display: flex; align-items: center;
  padding: 1.35rem clamp(1rem, 2.5vw, 1.75rem);
}
.ca-vs-row [role="cell"] { font-size: 1.02rem; line-height: 1.55; color: var(--text-secondary); }
.ca-vs-row [role="cell"].is-calc { color: var(--text-primary); font-weight: 500; background: rgba(205, 62, 45, 0.04); }
.ca-vs-rowname {
  display: flex; align-items: center; padding-left: clamp(1rem, 2.5vw, 1.75rem);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted);
}
.ca-vs-row.is-head { background: var(--canvas); }
.ca-vs-col { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 1.5rem); color: var(--text-secondary); }
.ca-vs-col.is-calc { color: #fff; background: var(--accent); }
.ca-vs-badge {
  align-self: center; justify-self: center; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  color: #fff; background: var(--text-primary); box-shadow: 0 0 0 5px #fff;
}
.ca-vs-gap { justify-self: center; border-left: 1px dashed var(--panel-border); }
.ca-vs-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ca-vs-chips i {
  padding: 0.3rem 0.75rem; border-radius: 99px; font-style: normal; font-size: 0.85rem; font-weight: 600;
  color: var(--text-secondary); background: var(--panel); border: 1px solid var(--panel-border);
}
.is-calc .ca-vs-chips i { color: var(--accent); background: var(--accent-subtle); border-color: var(--accent-border); }
.ca-vs-case {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  max-width: 980px; margin: clamp(1.25rem, 2.5vw, 1.5rem) auto 0;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--text-primary); border-radius: 20px;
}
.ca-vs-label { display: block; margin-bottom: 0.5rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.ca-vs-q p { max-width: none; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.3; color: #fff; }
.ca-vs-q small { display: block; margin-top: 0.6rem; font-size: 0.92rem; line-height: 1.6; color: rgba(255, 255, 255, 0.62); }
.ca-vs-pick { display: grid; gap: 0.6rem; min-width: 15rem; }
.ca-vs-opt {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.75rem 1rem; border-radius: var(--radius-md); font-weight: 600; font-size: 0.95rem;
}
.ca-vs-opt b { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; font-size: 0.75rem; }
.ca-vs-opt.is-no { color: rgba(255, 255, 255, 0.45); border: 1px dashed rgba(255, 255, 255, 0.2); text-decoration: line-through; }
.ca-vs-opt.is-no b { border: 1px solid rgba(255, 255, 255, 0.25); }
.ca-vs-opt.is-yes { color: #fff; background: var(--accent); box-shadow: 0 14px 30px -12px rgba(205, 62, 45, 0.8); transition: background 0.2s var(--ease-out); }
.ca-vs-opt.is-yes b { color: var(--accent); background: #fff; }
.ca-vs-opt.is-yes > span { margin-left: auto; transition: transform 0.2s var(--ease-out); }
.ca-vs-opt.is-yes:hover { background: var(--accent-hover); }
.ca-vs-opt.is-yes:hover > span { transform: translateX(3px); }
.ca-vs-opt.is-yes:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 760px) {
  .ca-vs-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ca-vs-rowname { grid-column: 1 / -1; padding-top: 1rem; }
  .ca-vs-row.is-head .ca-vs-rowname, .ca-vs-badge, .ca-vs-gap { display: none; }
  .ca-vs-row > [role="cell"] { padding-top: 0.5rem; align-items: flex-start; }
  .ca-vs-case { grid-template-columns: minmax(0, 1fr); }
  .ca-vs-pick { min-width: 0; }
}

/* Diagnostic "The Question This Diagnostic Actually Answers": the founder's
   symptom quote forking into the four constraints it can really be. */
.dg-q-head {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 5vw, 4.5rem); align-items: end;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
}
.rs-why-section.dg-q h2 { margin: 0.9rem 0 0; max-width: 20ch; }
.dg-q-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.75; color: var(--text-primary);
  padding-left: 1.25rem; border-left: 2px solid var(--accent);
}
.dg-q-map {
  display: grid; grid-template-columns: minmax(0, 4fr) 3rem minmax(0, 7fr);
  align-items: center; gap: clamp(0.75rem, 2vw, 1.25rem);
}
.dg-q-label {
  display: block; margin-bottom: 0.9rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted);
}
.dg-q-symptom blockquote {
  position: relative; margin: 0;
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 3.5vw, 2.25rem);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em;
  color: #fff; background: var(--text-primary);
  border-radius: 24px 24px 24px 6px;
  box-shadow: 0 40px 70px -40px rgba(17, 17, 17, 0.6);
}
/* Speech-bubble tail. */
.dg-q-symptom blockquote::after {
  content: ''; position: absolute; left: 0; bottom: -14px;
  border-top: 14px solid var(--text-primary); border-right: 18px solid transparent;
}
.dg-q-fork { align-self: stretch; position: relative; }
.dg-q-fork::before {
  content: ''; position: absolute; left: 0; right: 50%; top: 50%; border-top: 2px dashed var(--accent-border);
}
.dg-q-fork::after {
  content: ''; position: absolute; left: 50%; right: 0; top: 12%; bottom: 12%;
  border: 2px dashed var(--accent-border); border-right: 0; border-radius: 10px 0 0 10px;
}
.dg-q-causes ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.75rem, 2vw, 1rem); }
.dg-q-causes li {
  display: flex; flex-direction: column; gap: 0.35rem;
  padding: 1.2rem 1.25rem 1.3rem;
  background: #fff; border: 1px solid var(--accent-border); border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px -36px rgba(205, 62, 45, 0.45);
}
.dg-q-tag {
  align-self: flex-start; margin-bottom: 0.3rem;
  padding: 0.2rem 0.6rem; border-radius: 99px;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; background: var(--accent);
}
.dg-q-causes h3 { font-size: 1.05rem; line-height: 1.3; }
.dg-q-causes p { font-size: 0.9rem; line-height: 1.6; }
.dg-q-causes li.is-some { background: var(--canvas); border: 1px dashed var(--panel-border); box-shadow: none; }
.is-some .dg-q-tag { color: var(--text-secondary); background: var(--panel); }
.is-some h3 { color: var(--text-secondary); }
.dg-q-close {
  max-width: 64ch; margin: clamp(2rem, 4vw, 2.75rem) auto 0;
  text-align: center; font-size: clamp(1.05rem, 1.5vw, 1.15rem); line-height: 1.75;
}
.dg-q-close strong { color: var(--text-primary); box-shadow: inset 0 -0.45em 0 var(--accent-subtle); }
@media (max-width: 960px) {
  .dg-q-head, .dg-q-map { grid-template-columns: minmax(0, 1fr); }
  .dg-q-fork { height: 2rem; }
  .dg-q-fork::before { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed var(--accent-border); }
  .dg-q-fork::after { display: none; }
  .dg-q-symptom blockquote { margin-bottom: 0.5rem; }
  .dg-q-close { text-align: left; margin-inline: 0; }
}
@media (max-width: 520px) {
  .dg-q-causes ul { grid-template-columns: minmax(0, 1fr); }
}

/* Diagnostic "What the Diagnostic Measures": a five-row scorecard table —
   area, what it captures (chips), why it matters; rows become cards on mobile. */
.dg-mx {
  max-width: 1080px; margin-inline: auto; overflow: hidden;
  background: #fff; border: 1px solid var(--panel-border); border-radius: 24px;
  box-shadow: 0 40px 80px -45px rgba(17, 17, 17, 0.4);
}
.dg-mx-row {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4.5fr);
  align-items: center; gap: clamp(1rem, 2.5vw, 2rem);
  padding: 1.15rem clamp(1.25rem, 3vw, 2rem);
  transition: background 0.25s var(--ease-out);
}
.dg-mx-row + .dg-mx-row { border-top: 1px solid var(--panel-border); }
.dg-mx-row:not(.is-head):hover { background: rgba(205, 62, 45, 0.035); }
.dg-mx-row.is-head {
  padding-block: 0.85rem; background: var(--text-primary);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7);
}
.dg-mx-row.is-head span:last-child { color: var(--accent); }
.dg-mx-area {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto;
  column-gap: 0.85rem; align-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--text-primary);
}
.dg-mx-ico {
  grid-row: span 2; display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border-radius: 12px; color: var(--accent); background: var(--accent-subtle); border: 1px solid var(--accent-border);
  transition: color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.dg-mx-ico svg { width: 1.3rem; height: 1.3rem; }
.dg-mx-row:hover .dg-mx-ico { color: #fff; background: var(--accent); }
.dg-mx-area small { font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); line-height: 1; }
.dg-mx-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.dg-mx-chips b {
  padding: 0.3rem 0.75rem; border-radius: 99px;
  font-size: 0.85rem; font-weight: 600; color: var(--text-primary);
  background: var(--panel); border: 1px solid var(--panel-border);
}
.dg-mx-why { position: relative; padding-left: 1rem; font-size: 0.95rem; line-height: 1.6; color: var(--text-secondary); border-left: 2px solid var(--accent-border); }
@media (max-width: 860px) {
  .dg-mx { background: none; border: 0; box-shadow: none; overflow: visible; display: grid; gap: 0.85rem; }
  .dg-mx-row.is-head { display: none; }
  .dg-mx-row {
    grid-template-columns: minmax(0, 1fr); gap: 0.85rem; padding: 1.25rem;
    background: #fff; border: 1px solid var(--panel-border); border-radius: var(--radius-lg);
  }
  .dg-mx-row + .dg-mx-row { border-top: 1px solid var(--panel-border); }
}

/* Diagnostic "How the Assessment Works": the explainer as fact chips, the six
   inputs, a three-step behind-the-scenes flow and a privacy line; form gets a header. */
.dg-form-section .contact-layout:has(.dg-how-facts) { align-items: start; }
.dg-how-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; margin-bottom: 1.75rem; }
.dg-how-facts li {
  display: grid; gap: 0.2rem;
  padding: 0.85rem 0.9rem; border-radius: var(--radius-md);
  font-size: 0.8rem; line-height: 1.4; color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
}
.dg-how-facts b { font-family: var(--font-display); font-size: 1.15rem; color: #fff; }
.dg-how-block { margin-bottom: 1.5rem; }
.dg-how-label { display: block; margin-bottom: 0.6rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.dg-form-section .contact-info p.dg-how-sub { margin-bottom: 0.7rem; font-size: 0.92rem; line-height: 1.5; }
.dg-how-inputs { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.dg-how-inputs li {
  padding: 0.35rem 0.8rem; border-radius: 99px;
  font-size: 0.85rem; font-weight: 600; color: #fff;
  background: rgba(205, 62, 45, 0.16); border: 1px solid rgba(205, 62, 45, 0.5);
}
.dg-how-flow { position: relative; display: grid; gap: 0.55rem; }
.dg-how-flow::before { content: ''; position: absolute; left: 0.85rem; top: 0.9rem; bottom: 0.9rem; border-left: 2px dashed rgba(255, 255, 255, 0.18); }
.dg-how-flow li { position: relative; display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; line-height: 1.45; color: rgba(255, 255, 255, 0.8); }
.dg-how-flow li span {
  display: grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  font-size: 0.78rem; font-weight: 700; color: #fff; background: var(--text-primary); border: 1.5px solid var(--accent);
}
.dg-how-flow li:last-child span { background: var(--accent); }
.dg-how-flow a { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.dg-form-section .contact-info p.dg-how-privacy {
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.5rem;
  font-size: 0.9rem; color: rgba(255, 255, 255, 0.62);
}
.dg-how-privacy svg { flex: none; width: 1.1rem; height: 1.1rem; color: #8fe0a9; }
.dg-how-formhead {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--panel-border);
}
.dg-how-formhead p { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--text-primary); }
.dg-how-formhead span { font-size: 0.78rem; font-weight: 600; color: var(--accent); }
@media (max-width: 520px) {
  .dg-how-facts { grid-template-columns: minmax(0, 1fr); }
}

/* Diagnostic "What You Get at the End": centred intro + legend over a sample
   report screen — score ring, five flagged area tiles, then the flag → issue → next step strip. */
section.dg-rep {
  background:
    linear-gradient(rgba(205, 62, 45, 0.05) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(205, 62, 45, 0.05) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--canvas);
  border-block: 1px solid var(--panel-border);
}
.dg-rep .is-ok { --dot: #3f8f5a; --tint: rgba(63, 143, 90, 0.08); }
.dg-rep .is-watch { --dot: #d08a1f; --tint: rgba(208, 138, 31, 0.09); }
.dg-rep .is-risk { --dot: var(--accent); --tint: var(--accent-subtle); }
.dg-rep-head { max-width: 760px; margin: 0 auto clamp(2rem, 4vw, 2.75rem); text-align: center; }
.dg-rep-head h2 { margin: 0.9rem 0 1rem; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; }
.dg-rep-head p { margin-inline: auto; font-size: clamp(1.02rem, 1.4vw, 1.12rem); line-height: 1.75; }
.dg-rep-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.25rem; }
.dg-rep-legend li, .dg-rep-areas em {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.82rem; font-weight: 600; color: var(--text-primary);
}
.dg-rep-legend li { padding: 0.35rem 0.85rem; border-radius: 99px; background: #fff; border: 1px solid var(--panel-border); }
.dg-rep-legend li::before, .dg-rep-areas em::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }
.dg-rep-screen {
  max-width: 1000px; margin-inline: auto; overflow: hidden;
  background: #fff; border: 1px solid var(--panel-border); border-radius: 22px;
  box-shadow: 0 50px 100px -55px rgba(17, 17, 17, 0.5);
}
.dg-rep-bar {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.75rem 1.25rem; background: var(--panel); border-bottom: 1px solid var(--panel-border);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted);
}
.dg-rep-dots { display: flex; gap: 5px; }
.dg-rep-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--panel-border); }
.dg-rep-top {
  display: grid; grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 2.5rem); align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.dg-rep-score { position: relative; display: grid; justify-items: center; text-align: center; }
.dg-rep-ring {
  width: 170px; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--score) * 1%), var(--panel) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 16px), #000 calc(100% - 15px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 16px), #000 calc(100% - 15px));
}
.dg-rep-score p { position: absolute; top: 85px; transform: translateY(-50%); font-family: var(--font-display); line-height: 1; }
.dg-rep-score p b { font-size: 3rem; color: var(--text-primary); }
.dg-rep-score p span { font-size: 1rem; color: var(--text-muted); }
.dg-rep-score small { margin-top: 0.75rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.dg-rep-areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.dg-rep-areas li {
  display: flex; flex-direction: column; gap: 0.35rem;
  padding: 0.85rem 1rem; border-radius: var(--radius-md);
  background: var(--tint); border: 1px solid transparent; border-left: 3px solid var(--dot);
}
.dg-rep-areas li:last-child { grid-column: 1 / -1; }
.dg-rep-areas span { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text-primary); }
.dg-rep-areas em { font-style: normal; font-size: 0.8rem; color: var(--text-secondary); }
.dg-rep-areas li.is-open { border-color: var(--accent-border); border-left-color: var(--accent); box-shadow: 0 14px 30px -18px rgba(205, 62, 45, 0.6); }
.dg-rep-areas li.is-open em { color: var(--accent); }
.dg-rep-detail {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr) minmax(0, 1.3fr);
  background: var(--text-primary);
}
.dg-rep-detail li { position: relative; padding: clamp(1.25rem, 3vw, 1.75rem); }
.dg-rep-detail li + li { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.dg-rep-detail li + li::before {
  content: '→'; position: absolute; left: -0.8rem; top: 1.4rem;
  display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  font-size: 0.8rem; font-weight: 700; color: #fff; background: var(--accent);
}
.dg-rep-step { display: block; margin-bottom: 0.5rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.dg-rep-detail p { max-width: none; font-size: 0.93rem; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
.dg-rep-detail p b { color: #fff; font-family: var(--font-display); font-size: 1.05rem; }
.dg-rep-detail .dg-rep-quote { font-style: italic; color: #fff; }
.dg-rep-detail a { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.dg-rep-goal {
  max-width: none; margin-top: clamp(1.5rem, 3vw, 2rem);
  text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--text-primary);
}
@media (max-width: 860px) {
  .dg-rep-top { grid-template-columns: minmax(0, 1fr); }
  .dg-rep-detail { grid-template-columns: minmax(0, 1fr); }
  .dg-rep-detail li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .dg-rep-detail li + li::before { left: 50%; top: -0.8rem; transform: translateX(-50%) rotate(90deg); }
}
@media (max-width: 480px) {
  .dg-rep-areas { grid-template-columns: minmax(0, 1fr); }
}

/* Topics "Why This Hub Exists Separately": homepage vs hub, the two ways to
   navigate, and a topic × format grid — one column (by format) vs one row (this hub). */
section.tp-hub-section { background: var(--panel); }
.tp-hub-head {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 5vw, 4.5rem); align-items: end;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
}
.tp-hub-head h2 { margin-top: 0.9rem; max-width: 18ch; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
.tp-hub-lead { font-size: clamp(1.05rem, 1.5vw, 1.15rem); line-height: 1.75; color: var(--text-primary); padding-left: 1.25rem; border-left: 2px solid var(--accent); }
.tp-hub-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.tp-hub-copy { display: grid; gap: 1.25rem; }
.tp-hub-label { display: block; margin-bottom: 0.4rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.tp-hub-vs { display: grid; overflow: hidden; background: #fff; border: 1px solid var(--panel-border); border-radius: var(--radius-lg); }
.tp-hub-vs > div { padding: 1.1rem 1.25rem; }
.tp-hub-vs > div + div { border-top: 1px dashed var(--panel-border); }
.tp-hub-vs p { font-size: 0.95rem; line-height: 1.6; }
.tp-hub-vs .is-hub { background: rgba(205, 62, 45, 0.04); }
.tp-hub-vs .is-hub .tp-hub-label { color: var(--accent); }
.tp-hub-vs .is-hub p { color: var(--text-primary); }
.tp-hub-modes { display: grid; gap: 0.75rem; }
.tp-hub-modes li { display: flex; gap: 0.9rem; align-items: flex-start; }
.tp-hub-swatch { flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; border-radius: 4px; }
.is-format .tp-hub-swatch { background: rgba(17, 17, 17, 0.14); border: 1.5px solid rgba(17, 17, 17, 0.35); }
.is-topic .tp-hub-swatch { background: var(--accent); }
.tp-hub-modes h3 { font-size: 1.02rem; margin-bottom: 0.2rem; }
.tp-hub-modes p { font-size: 0.92rem; line-height: 1.6; }
.tp-hub-grid {
  position: relative; margin: 0;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 1.75rem);
  background: #fff; border: 1px solid var(--panel-border); border-radius: 22px;
  box-shadow: 0 40px 80px -45px rgba(17, 17, 17, 0.4);
}
.tp-hub-matrix { display: grid; grid-template-columns: 7rem repeat(5, minmax(0, 1fr)); gap: 6px; align-items: center; }
.tp-hub-matrix b { font-size: 0.72rem; font-weight: 700; color: var(--text-secondary); }
.tp-hub-matrix > b:nth-child(-n + 6) { text-align: center; font-size: 0.66rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); padding-bottom: 0.25rem; }
.tp-hub-matrix > b.is-col { color: var(--text-primary); }
.tp-hub-matrix > b.is-row { color: var(--accent); }
.tp-hub-matrix i { display: block; height: 2.4rem; border-radius: 8px; background: var(--canvas); border: 1px solid var(--panel-border); }
.tp-hub-matrix i.is-col { background: rgba(17, 17, 17, 0.1); border-color: rgba(17, 17, 17, 0.3); }
.tp-hub-matrix i.is-row { background: linear-gradient(135deg, var(--accent), #e8654f); border-color: var(--accent); box-shadow: 0 10px 20px -12px rgba(205, 62, 45, 0.8); }
.tp-hub-tag {
  display: inline-flex; margin: 1rem 0.5rem 0 0;
  padding: 0.3rem 0.75rem; border-radius: 99px;
  font-size: 0.75rem; font-weight: 700;
}
.tp-hub-tag.is-row-tag { color: #fff; background: var(--accent); }
.tp-hub-tag.is-col-tag { color: var(--text-secondary); background: var(--panel); border: 1px solid var(--panel-border); }
.tp-hub-grid figcaption { margin-top: 0.85rem; font-size: 0.88rem; line-height: 1.6; color: var(--text-secondary); }
@media (max-width: 960px) {
  .tp-hub-head, .tp-hub-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .tp-hub-matrix { grid-template-columns: 5rem repeat(5, minmax(0, 1fr)); gap: 4px; }
  /* shortcut: column heads shrink to their first letter on tiny phones; use abbreviations in markup if that reads poorly. */
  .tp-hub-matrix > b:nth-child(-n + 6) { font-size: 0; }
  .tp-hub-matrix > b:nth-child(-n + 6)::first-letter { font-size: 0.7rem; }
  .tp-hub-matrix i { height: 1.9rem; }
}

/* Contact "What Can We Help With?": clickable reason tiles that pre-fill the
   form's reason select, then "what happens next" as three steps. */
.ct-help-hint { margin: 0 0 1rem; font-size: 0.92rem; color: var(--text-muted); }
.ct-help-reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin-bottom: 1.75rem; }
.ct-help-reasons li.is-wide { grid-column: 1 / -1; }
.ct-help-reasons button {
  width: 100%; height: 100%;
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto;
  column-gap: 0.75rem; row-gap: 0.15rem; align-items: center;
  padding: 0.9rem 1rem; text-align: left;
  background: #fff; border: 1px solid var(--panel-border); border-radius: var(--radius-md);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.ct-help-reasons button:hover { border-color: var(--accent-border); transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(205, 62, 45, 0.6); }
.ct-help-reasons button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ct-help-reasons button[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent), 0 16px 30px -22px rgba(205, 62, 45, 0.7); }
.ct-help-ico {
  grid-row: span 2; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 10px;
  color: var(--accent); background: var(--accent-subtle); border: 1px solid var(--accent-border);
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.ct-help-ico svg { width: 1.15rem; height: 1.15rem; }
.ct-help-reasons button[aria-pressed="true"] .ct-help-ico { color: #fff; background: var(--accent); }
.ct-help-reasons b { font-family: var(--font-display); font-size: 0.98rem; color: var(--text-primary); line-height: 1.25; }
.ct-help-reasons small { font-size: 0.82rem; line-height: 1.45; color: var(--text-secondary); }
.ct-help-next {
  margin-bottom: 1.5rem; padding: 1.25rem 1.35rem;
  background: var(--panel); border-radius: var(--radius-lg);
}
.ct-help-next ol { position: relative; display: grid; gap: 0.7rem; }
.ct-help-next ol::before { content: ''; position: absolute; left: 0.8rem; top: 0.8rem; bottom: 0.8rem; border-left: 2px dashed var(--accent-border); }
.ct-help-next li { position: relative; display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.93rem; line-height: 1.55; color: var(--text-secondary); }
.ct-help-next li span {
  display: grid; place-items: center; flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  font-size: 0.75rem; font-weight: 700; color: var(--accent); background: #fff; border: 1.5px solid var(--accent);
}
.ct-help-next li:first-child span { color: #fff; background: var(--accent); }
@media (max-width: 520px) {
  .ct-help-reasons { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .ct-help-reasons button:hover { transform: none; } }
