:root {
  --bg: oklch(98% 0.006 80);
  --bg-alt: oklch(96% 0.008 80);
  --fg: oklch(20% 0.012 80);
  --muted: oklch(46% 0.02 80);
  --muted-light: oklch(60% 0.015 80);
  --border: oklch(89% 0.012 80);
  --card: oklch(99% 0.004 80);
  --accent: oklch(56% 0.16 35);
  --accent-fg: oklch(99% 0.01 35);
  --code-bg: oklch(22% 0.014 80);
  --code-fg: oklch(90% 0.02 80);
  --code-muted: oklch(60% 0.02 80);
  --code-accent: oklch(50% 0.14 35);
  --pros-bg: oklch(95% 0.03 145);
  --pros-border: oklch(85% 0.06 145);
  --pros-fg: oklch(35% 0.1 145);
  --cons-bg: oklch(95% 0.03 20);
  --cons-border: oklch(85% 0.06 20);
  --cons-fg: oklch(40% 0.1 20);
  --warn-bg: oklch(96% 0.035 85);
  --warn-border: oklch(84% 0.08 85);
  --warn-fg: oklch(40% 0.09 75);
  --info-bg: oklch(95% 0.025 245);
  --info-border: oklch(84% 0.055 245);
  --info-fg: oklch(38% 0.09 245);
}

:root[data-theme="dark"] {
  --bg: oklch(15% 0.012 80);
  --bg-alt: oklch(18% 0.014 80);
  --fg: oklch(93% 0.008 80);
  --muted: oklch(66% 0.02 80);
  --muted-light: oklch(52% 0.018 80);
  --border: oklch(28% 0.016 80);
  --card: oklch(19% 0.015 80);
  --accent: oklch(72% 0.15 35);
  --accent-fg: oklch(18% 0.03 35);
  --code-bg: oklch(11% 0.012 80);
  --code-fg: oklch(88% 0.02 80);
  --code-muted: oklch(55% 0.02 80);
  --code-accent: oklch(75% 0.13 35);
  --pros-bg: oklch(24% 0.04 145);
  --pros-border: oklch(34% 0.06 145);
  --pros-fg: oklch(80% 0.09 145);
  --cons-bg: oklch(24% 0.04 20);
  --cons-border: oklch(34% 0.06 20);
  --cons-fg: oklch(82% 0.08 20);
  --warn-bg: oklch(23% 0.04 80);
  --warn-border: oklch(38% 0.07 80);
  --warn-fg: oklch(83% 0.1 85);
  --info-bg: oklch(22% 0.035 245);
  --info-border: oklch(36% 0.06 245);
  --info-fg: oklch(80% 0.08 245);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: oklch(15% 0.012 80);
    --bg-alt: oklch(18% 0.014 80);
    --fg: oklch(93% 0.008 80);
    --muted: oklch(66% 0.02 80);
    --muted-light: oklch(52% 0.018 80);
    --border: oklch(28% 0.016 80);
    --card: oklch(19% 0.015 80);
    --accent: oklch(72% 0.15 35);
    --accent-fg: oklch(18% 0.03 35);
    --code-bg: oklch(11% 0.012 80);
    --code-fg: oklch(88% 0.02 80);
    --code-muted: oklch(55% 0.02 80);
    --code-accent: oklch(75% 0.13 35);
    --pros-bg: oklch(24% 0.04 145);
    --pros-border: oklch(34% 0.06 145);
    --pros-fg: oklch(80% 0.09 145);
    --cons-bg: oklch(24% 0.04 20);
    --cons-border: oklch(34% 0.06 20);
    --cons-fg: oklch(82% 0.08 20);
    --warn-bg: oklch(23% 0.04 80);
    --warn-border: oklch(38% 0.07 80);
    --warn-fg: oklch(83% 0.1 85);
    --info-bg: oklch(22% 0.035 245);
    --info-border: oklch(36% 0.06 245);
    --info-fg: oklch(80% 0.08 245);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  transition: background 0.2s ease, color 0.2s ease;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

a { color: inherit; }

/* header */
.preview-banner {
  background: var(--cons-bg);
  color: var(--cons-fg);
  border-bottom: 1px solid var(--cons-border);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
}
.brand { display: flex; flex-direction: column; text-decoration: none; }
.brand .name { font-family: "IBM Plex Serif", serif; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand .sub { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
nav.site-nav { display: flex; align-items: center; gap: 28px; }
nav.site-nav a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted); }
nav.site-nav a.active { color: var(--fg); font-weight: 600; border-bottom: 2px solid var(--accent); padding-bottom: 3px; }
.nav-divider { width: 1px; height: 18px; background: var(--border); }
.icon-btn {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  color: var(--muted);
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
}
.icon-btn:hover { color: var(--fg); border-color: var(--muted); }

main.container { padding-top: 0; padding-bottom: 3rem; min-height: 60vh; }

/* hero */
.hero { max-width: 1120px; margin: 0 auto; padding: 72px 28px 56px; }
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: "IBM Plex Serif", serif;
  font-weight: 600;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  max-width: 16ch;
}
.hero p.lede { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 46ch; margin: 0 0 32px; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 8px;
  text-decoration: none;
}
.btn-outline {
  display: inline-block; flex: 0 0 auto; color: var(--accent); border: 1px solid var(--accent);
  border-radius: 8px; padding: 11px 18px; text-decoration: none; font-weight: 600; font-size: 14px;
}
.hero-stat { font-family: "IBM Plex Mono", monospace; font-size: 13px; color: var(--muted); }

/* section labels */
.section-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}
section.block { padding: 0 0 56px; }
.section-heading-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }
.section-heading-row h2 { font-family: "IBM Plex Serif", serif; font-weight: 600; font-size: 26px; margin: 0; }
.section-heading-right { display: flex; align-items: baseline; gap: 14px; }
.link-arrow { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.weekly-new-pill { background: var(--accent); color: var(--accent-fg); }

/* featured card */
.featured-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  align-items: center;
  text-decoration: none;
  color: var(--fg);
}
.featured-card h2 { font-family: "IBM Plex Serif", serif; font-weight: 600; font-size: 32px; line-height: 1.2; margin: 0 0 12px; }
.featured-card .tagline { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 0 0 22px; }
.featured-stats { display: flex; flex-wrap: wrap; gap: 18px; font-family: "IBM Plex Mono", monospace; font-size: 12.5px; color: var(--muted); }
.featured-cta { margin-top: 26px; font-weight: 600; font-size: 14.5px; color: var(--accent); }
.featured-code {
  background: var(--code-bg);
  border-radius: 12px;
  padding: 24px 26px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  line-height: 1.85;
  color: var(--code-fg);
  overflow: hidden;
}
.featured-code .dim { color: var(--code-muted); }
.featured-code .accent { color: var(--code-accent); }

/* pills / badges */
.pill {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
}
.pill-sm { font-size: 11.5px; padding: 3px 9px; }
.pill-all {
  background: var(--accent);
  color: var(--accent-fg);
}
.pill-fork { font-size: 11px; color: var(--muted-light); font-family: "IBM Plex Mono", monospace; }

/* card grid */
.agent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.agent-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--fg);
  transition: border-color 0.15s ease;
}
.agent-card:hover { border-color: var(--accent); }
.agent-card .badges { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.agent-card h3 { font-family: "IBM Plex Serif", serif; font-weight: 600; font-size: 19px; margin: 0 0 8px; line-height: 1.3; }
.agent-card p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0 0 18px; flex: 1; }
.agent-card .stats {
  display: flex; flex-wrap: wrap; gap: 12px;
  font-family: "IBM Plex Mono", monospace; font-size: 11.5px; color: var(--muted-light);
  border-top: 1px solid var(--border); padding-top: 12px;
}
.score-inline { font-weight: 600; }
.score-excellent, .score-good { color: var(--pros-fg); }
.score-caution { color: var(--warn-fg); }
.score-danger { color: var(--cons-fg); }
.score-pending { color: var(--muted-light); }

.method-teaser {
  display: flex; justify-content: space-between; align-items: center; gap: 36px;
  margin-bottom: 56px; padding: 28px 32px !important; border: 1px solid var(--border);
  border-left: 4px solid var(--accent); border-radius: 12px; background: var(--card);
}
.method-teaser .section-label { margin-bottom: 8px; }
.method-teaser h2 { margin: 0 0 8px; font-family: "IBM Plex Serif", serif; font-size: 23px; }
.method-teaser p { margin: 0; color: var(--muted); max-width: 68ch; font-size: 14.5px; }

/* listing page */
.list-header { padding: 48px 0 8px; }
.list-header h1 { font-family: "IBM Plex Serif", serif; font-weight: 600; font-size: 36px; margin: 0 0 8px; }
.list-header .count { color: var(--muted); font-size: 14px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.publisher-filter-block { padding-bottom: 4px; }
.official-publisher-row { margin-top: 12px; }
.publisher-pill { background: transparent; color: var(--muted); border-color: var(--border); }
.publisher-pill span { font-family: var(--mono); opacity: .7; font-size: .82em; }
.publisher-pill.active, .publisher-pill:hover { background: #eaf2ff; color: #315f9b; border-color: #b8d0ee; }
.official-source-pill { background: #eaf2ff !important; color: #315f9b !important; border-color: #9ebfe6 !important; font-weight: 600; }
.list-filter-label { margin-top: 22px; }
.filter-controls { display: flex; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.search-input {
  flex: 1; min-width: 220px;
  padding: 10px 14px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--card); color: var(--fg); font-size: 14px; font-family: inherit;
}
.sort-select {
  padding: 10px 14px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--card); color: var(--fg); font-size: 14px; font-family: inherit;
}

.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 36px 0 12px; }
.page-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px; border-radius: 8px;
  border: 1px solid var(--border); color: var(--muted); text-decoration: none;
  font-size: 13.5px; font-family: "IBM Plex Mono", monospace;
}
.page-link:hover { border-color: var(--accent); color: var(--fg); }
.page-link.active { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.page-link.disabled { opacity: .4; pointer-events: none; }
.page-ellipsis { color: var(--muted-light); padding: 0 4px; font-family: "IBM Plex Mono", monospace; }

/* breadcrumb */
.breadcrumb { padding: 24px 0 0; font-size: 13.5px; color: var(--muted); }
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 8px; }

/* detail page */
.detail-layout { display: grid; grid-template-columns: 1fr 280px; gap: 48px; padding: 24px 0 24px; align-items: start; }
.detail-main { min-width: 0; overflow-wrap: anywhere; }
.detail-main .badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 20px; }
.detail-main h1 { font-family: "IBM Plex Serif", serif; font-weight: 600; font-size: 38px; margin: 0 0 12px; }
.detail-main .tagline { font-size: 17px; color: var(--muted); margin: 0 0 8px; }
.assessment-panel {
  margin-top: 28px; padding: 24px; border: 1px solid var(--border); border-top: 4px solid var(--muted);
  border-radius: 12px; background: var(--card);
}
.assessment-panel.assessment-excellent, .assessment-panel.assessment-good { border-top-color: var(--pros-fg); }
.assessment-panel.assessment-caution { border-top-color: var(--warn-fg); }
.assessment-panel.assessment-danger { border-top-color: var(--cons-fg); }
.assessment-summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.assessment-kicker { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.assessment-verdict { font-family: "IBM Plex Serif", serif; font-weight: 600; font-size: 24px; margin-top: 3px; }
.assessment-score { display: flex; align-items: baseline; gap: 5px; color: var(--accent); }
.assessment-score strong { font-family: "IBM Plex Serif", serif; font-size: 38px; line-height: 1; }
.assessment-score span { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--muted); }
.assessment-score { flex-wrap: wrap; }
.assessment-score-five { flex-basis: 100%; text-align: right; }
.dimension-radar { display: flex; justify-content: center; margin-top: 18px; color: var(--accent); }
.dimension-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 22px; }
.dimension-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 5px; font-size: 12px; color: var(--muted); }
.dimension-meta span:last-child { font-family: "IBM Plex Mono", monospace; }
.dimension-track { height: 5px; border-radius: 999px; overflow: hidden; background: var(--border); }
.dimension-track span { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.dimension-reason { margin: 7px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.assessment-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--muted); }
.assessment-stale-notice { margin-top: 14px; padding: 11px 14px; border: 1px solid var(--warn-border); border-radius: 8px; background: var(--warn-bg); color: var(--warn-fg); font-size: 12.5px; }
.assessment-cautions { margin-top: 16px; padding: 14px 16px; border-radius: 8px; background: var(--warn-bg); color: var(--warn-fg); font-size: 13px; }
.assessment-cautions ul { margin: 6px 0 0; padding-left: 18px; }
.assessment-evidence { margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.assessment-cap-reason { margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--muted); max-width: 46em; }
.assessment-cap-reason strong { color: var(--fg); }
.method-gate-note { margin-top: 16px; padding: 14px 16px; border: 1px dashed var(--border); border-radius: 8px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.method-gate-note strong { display: block; margin-bottom: 4px; color: var(--fg); }
.method-gate-note p { margin: 0; }
.assessment-evidence a { margin-left: 7px; color: var(--accent); }
.assessment-method-link { display: inline-block; margin-top: 16px; color: var(--accent); text-decoration: none; font-size: 13px; font-weight: 600; }
.detail-section { margin-top: 40px; }
.detail-section h2 { font-family: "IBM Plex Serif", serif; font-weight: 600; font-size: 21px; margin: 0 0 16px; }
.detail-section p { margin: 0 0 12px; }
.detail-section ol.step-list { margin: 0; padding-left: 20px; }
.detail-section ol.step-list li { margin-bottom: 8px; }
code.inline-code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9em;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1em 0.4em;
}
.code-block { position: relative; margin: 16px 0; }
.code-block pre {
  background: var(--code-bg);
  color: var(--code-fg);
  border-radius: 10px;
  padding: 16px 60px 16px 18px;
  overflow-x: auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}
.copy-btn {
  position: absolute; top: 10px; right: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--code-fg);
  border: none; border-radius: 6px;
  padding: 5px 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  cursor: pointer;
}
.copy-btn:hover { background: rgba(255, 255, 255, 0.22); }
.copy-btn.copied .copy-label::after { content: " ✓"; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 16px; }
.pros-cons .box { border-radius: 12px; padding: 20px 22px; border: 1px solid; }
.pros-cons .box.pros { background: var(--pros-bg); border-color: var(--pros-border); color: var(--pros-fg); }
.pros-cons .box.cons { background: var(--cons-bg); border-color: var(--cons-border); color: var(--cons-fg); }
.pros-cons .box-label { font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.pros-cons ul { margin: 0; padding-left: 18px; }
.pros-cons li { margin-bottom: 8px; }

.comparison-quote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; cursor: pointer; font-weight: 600; font-size: 15px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 18px; color: var(--muted); font-weight: 400; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-answer { padding: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* sidebar */
.sidebar-card { border: 1px solid var(--border); border-radius: 12px; padding: 20px; background: var(--card); position: sticky; top: 90px; }
.sidebar-card .label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.sidebar-card .repo-name { font-family: "IBM Plex Mono", monospace; font-weight: 600; color: var(--accent); font-size: 14.5px; word-break: break-all; margin-bottom: 16px; }
.source-official-row { margin: -6px 0 16px; }
.sidebar-stat { display: flex; justify-content: space-between; font-size: 13.5px; padding: 8px 0; border-top: 1px solid var(--border); }
.sidebar-stat .k { color: var(--muted); }
.sidebar-stat .v { font-weight: 600; }
.sidebar-cta {
  display: block; text-align: center; margin-top: 16px;
  background: var(--accent); color: var(--accent-fg); font-weight: 600;
  padding: 11px; border-radius: 8px; text-decoration: none; font-size: 14px;
}
.sidebar-agent-path .v { font-family: "IBM Plex Mono", monospace; font-weight: 500; font-size: 11.5px; max-width: 62%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.sidebar-repo-link { display: block; text-align: center; margin-top: 10px; font-size: 12.5px; color: var(--muted); text-decoration: none; }
.sidebar-repo-link:hover { color: var(--accent); }
.section-subtitle { margin: 0; color: var(--muted); font-size: 13.5px; }

.compat-card { position: static; margin-top: 20px; }
.compat-subsection { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.compat-subsection + .compat-subsection { margin-top: 12px; padding-top: 0; border-top: none; }
.compat-req-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.compat-tag { background: transparent; color: var(--muted); border-color: var(--border); }
.compat-tag-dep { font-family: "IBM Plex Mono", monospace; font-size: 11px; }

@media (max-width: 860px) {
  .detail-layout { grid-template-columns: 1fr; }
  .featured-card { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
}

.empty-state { color: var(--muted); padding: 3rem 0; }

.site-footer { border-top: 1px solid var(--border); }
.site-footer .container { padding: 36px 28px; display: flex; flex-direction: column; gap: 14px; }
.site-footer .name { font-family: "IBM Plex Serif", serif; font-weight: 700; font-size: 16px; }
.site-footer p { font-size: 13.5px; line-height: 1.7; color: var(--muted); max-width: 60ch; margin: 0; }
.footer-method-link { color: var(--accent); text-decoration: none; font-size: 13px; font-weight: 600; }

/* FARS methodology */
.method-page { max-width: 960px; margin: 0 auto; }
.method-hero { padding: 72px 0 64px; border-bottom: 1px solid var(--border); }
.method-hero h1 { max-width: 17ch; margin: 0 0 22px; font-family: "IBM Plex Serif", serif; font-size: 48px; line-height: 1.12; letter-spacing: -0.015em; }
.method-hero > p { max-width: 66ch; margin: 0; font-size: 18px; color: var(--muted); line-height: 1.75; }
.method-version { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; font-family: "IBM Plex Mono", monospace; font-size: 12px; }
.method-version strong { color: var(--accent); }
.method-version span { color: var(--muted); }
.method-section { padding: 56px 0; border-bottom: 1px solid var(--border); }
.method-section > h2, .method-two-col h2, .method-notes h2 { margin: 0 0 12px; font-family: "IBM Plex Serif", serif; font-size: 28px; }
.section-lede { max-width: 70ch; margin: 0 0 28px; color: var(--muted); }
.principle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.principle-card { position: relative; padding: 24px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); }
.principle-card > span { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--accent); }
.principle-card h3 { margin: 12px 0 7px; font-size: 16px; }
.principle-card p { margin: 0; font-size: 14px; color: var(--muted); }
.rubric-list { margin-top: 30px; border-top: 1px solid var(--border); }
.rubric-item { border-bottom: 1px solid var(--border); }
.rubric-item summary { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; padding: 20px 4px; cursor: pointer; list-style: none; }
.rubric-item summary::-webkit-details-marker { display: none; }
.rubric-number { font-family: "IBM Plex Mono", monospace; color: var(--muted); font-size: 12px; }
.rubric-name { font-family: "IBM Plex Serif", serif; font-size: 19px; font-weight: 600; }
.rubric-item summary strong { min-width: 42px; text-align: right; color: var(--accent); font-family: "IBM Plex Mono", monospace; }
.rubric-item summary strong::after { content: " pts"; font-size: 9px; color: var(--muted); }
.rubric-body { padding: 0 56px 24px; }
.rubric-body > p { margin: 0 0 16px; color: var(--muted); }
.rubric-question, .rubric-anchors { font-size: 13.5px; margin-top: 14px; }
.rubric-question > span, .rubric-anchors > span { display: block; margin-bottom: 5px; font-family: "IBM Plex Mono", monospace; color: var(--accent); font-size: 10.5px; text-transform: uppercase; }
.rubric-anchors ul { margin: 0; padding-left: 18px; color: var(--muted); }
.rubric-anchors li { margin: 4px 0; }
.method-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.score-bands { margin-top: 26px; }
.score-band { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--border); }
.score-band > strong { font-family: "IBM Plex Mono", monospace; font-size: 13px; }
.score-band > strong small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); }
.score-band h3 { margin: -3px 0 3px; font-size: 15px; }
.score-band p { margin: 0; font-size: 13px; color: var(--muted); }
.confidence-list { margin-top: 24px; }
.confidence-list > div { display: grid; grid-template-columns: 50px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); }
.confidence-list strong { color: var(--accent); }
.confidence-list p { margin: 0; color: var(--muted); font-size: 13px; }
.evidence-ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.evidence-ladder > div { padding: 22px; background: var(--card); }
.evidence-ladder span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); font-family: "IBM Plex Mono", monospace; font-weight: 600; }
.evidence-ladder h3 { font-size: 14px; margin: 16px 0 7px; }
.evidence-ladder p { font-size: 12.5px; color: var(--muted); margin: 0; }
.redline-section { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding-left: 28px; padding-right: 28px; background: var(--cons-bg); border: 1px solid var(--cons-border); border-radius: 14px; color: var(--cons-fg); }
.redline-mark { display: grid; place-items: center; width: 52px; height: 52px; border: 2px solid currentColor; border-radius: 50%; font-family: "IBM Plex Serif", serif; font-size: 30px; font-weight: 700; }
.redline-section h2 { margin-top: 0; }
.redline-section p { margin-bottom: 12px; }
.redline-section ul { margin: 0; padding-left: 20px; }
.redline-section li { margin: 8px 0; }
.workflow-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; counter-reset: workflow; }
.workflow-list > div { border-top: 2px solid var(--accent); padding-top: 16px; }
.workflow-list span { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--accent); }
.workflow-list h3 { font-size: 15px; margin: 9px 0 5px; }
.workflow-list p { margin: 0; color: var(--muted); font-size: 13px; }
.method-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; border-bottom: 0; }
.method-notes h2 { font-size: 22px; }
.method-notes p { color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  nav.site-nav { gap: 14px; }
  .method-two-col, .method-notes { grid-template-columns: 1fr; gap: 40px; }
  .evidence-ladder { grid-template-columns: 1fr 1fr; }
  .workflow-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .header-inner { align-items: flex-start; padding: 14px 18px; }
  .brand .sub { display: none; }
  nav.site-nav { flex-wrap: wrap; justify-content: flex-end; gap: 10px 14px; }
  .nav-divider { display: none; }
  .method-teaser { align-items: flex-start; flex-direction: column; }
  .dimension-list, .principle-grid, .evidence-ladder, .workflow-list, .method-notes { grid-template-columns: 1fr; }
  .method-hero { padding: 48px 0; }
  .method-hero h1 { font-size: 36px; }
  .rubric-body { padding-left: 4px; padding-right: 4px; }
  .redline-section { grid-template-columns: 1fr; }
}
