:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --ink: #1b241f;
  --ink-strong: #101813;
  --body-copy: #344139;
  --muted: #5c6a61;
  --muted-strong: #435147;
  --canvas: #f5f3ec;
  --canvas-soft: #fbfaf5;
  --surface: #fffefa;
  --surface-alt: #f6f8f3;
  --line: #d7dece;
  --line-strong: #bdc9ba;
  --green: #215d40;
  --green-dark: #174c34;
  --green-soft: #edf6ee;
  --blue: #2b4f7a;
  --blue-soft: #eef4fa;
  --gold: #b88722;
  --gold-soft: #fff7df;
  --red: #9f3f31;
  --red-soft: #fff1ed;
  --radius-card: 8px;
  --radius-control: 6px;
  --shadow-card: 0 1px 0 rgba(16, 24, 19, 0.04),
    0 14px 36px rgba(35, 47, 38, 0.055);
  --shadow-lift: 0 1px 0 rgba(16, 24, 19, 0.05),
    0 20px 46px rgba(35, 47, 38, 0.11);
  --focus-ring: 0 0 0 3px rgba(33, 93, 64, 0.18);
  background: var(--canvas);
  color: var(--ink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--body-copy);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  border-bottom: 1px solid #d9ddd2;
  background: #ffffff;
}

.topbar > a {
  color: #1f2721;
  flex: 0 0 auto;
  font-weight: 800;
  text-decoration: none;
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: flex-end;
}

.topbar nav a {
  color: #30455f;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.topbar > a {
  display: inline-grid;
  gap: 2px;
  line-height: 1.05;
}

.topbar > a small {
  color: #68756c;
  font-size: 0.72rem;
  font-weight: 700;
}

.site-orientation {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #d9ddd2;
  background: #f7fafc;
  padding: 10px 24px;
  color: #3a473d;
  font-size: 0.94rem;
  line-height: 1.45;
}

.site-orientation strong {
  color: #1f2721;
  white-space: nowrap;
}

a {
  color: #215d40;
}

.shell {
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px;
}

.panel {
  background: #ffffff;
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  padding: 32px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #52675a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-size: 2rem;
  line-height: 1.15;
}

h2 {
  margin-top: 0;
}

p {
  max-width: 680px;
  line-height: 1.6;
}

dl {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
}

dt {
  font-weight: 700;
}

dd {
  margin: 4px 0 0;
}

.messages {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.message {
  margin: 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: #edf5ee;
  border: 1px solid #cbdccb;
}

.message.error {
  background: #fff0ed;
  border-color: #e6bbb2;
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
}

button,
.button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #245c40;
  border-radius: 6px;
  background: #245c40;
  color: #ffffff;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary {
  background: #ffffff;
  color: #245c40;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.stats-grid div,
.empty,
.details,
.preview,
.dashboard-grid article {
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
}

.stats-grid strong {
  display: block;
  font-size: 1.7rem;
}

.stat-link {
  display: block;
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  color: inherit;
  text-decoration: none;
}

.stats-grid span,
.muted {
  color: #68756c;
}

.two-column,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.section-gap {
  margin-top: 28px;
}

.list {
  display: grid;
  gap: 10px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.tabs a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #bdc8ba;
  border-radius: 6px;
  background: #ffffff;
  text-decoration: none;
}

.tabs a.active {
  border-color: #245c40;
  background: #e8f1e9;
}

.review-list {
  display: grid;
  gap: 14px;
}

.review-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
  gap: 20px;
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
}

.review-card h2 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.review-card h3 {
  margin: 14px 0 8px;
  font-size: 0.95rem;
}

.compact-actions {
  margin: 10px 0 14px;
}

.compact-actions .button {
  min-height: 34px;
  padding: 6px 10px;
}

.source-excerpt {
  margin: 12px 0;
  padding: 12px;
  border-left: 4px solid #bdc8ba;
  background: #f7f7f3;
}

.source-excerpt p {
  margin: 6px 0 0;
}

.inline-review {
  display: grid;
  gap: 10px;
  align-self: start;
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #f7f7f3;
  padding: 14px;
}

.inline-review h3 {
  margin: 0;
}

.bulk-review {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(240px, 1.2fr) minmax(150px, 0.5fr) auto;
  gap: 10px;
  align-items: start;
  margin-bottom: 18px;
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.list-item {
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.list-item h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.list-item p {
  margin: 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
}

.compact-table {
  margin-bottom: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 11px 12px;
  border-bottom: 1px solid #e5e8df;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f1f4ec;
}

.form-grid,
.form-stack {
  display: grid;
  gap: 16px;
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-stack {
  align-self: start;
}

.span-2 {
  grid-column: span 2;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 38px;
  border: 1px solid #bdc8ba;
  border-radius: 6px;
  padding: 8px 10px;
  font: inherit;
}

textarea {
  min-height: 110px;
}

.checkbox-label {
  display: flex;
  grid-template-columns: none;
  gap: 10px;
  align-items: center;
}

.checkbox-label input {
  width: auto;
  min-height: auto;
}

pre {
  white-space: pre-wrap;
  line-height: 1.5;
}

.article-preview {
  display: grid;
  gap: 18px;
  max-width: 920px;
}

.article-hero,
.article-section,
.evidence-item {
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
}

.article-hero,
.article-section {
  padding: 24px;
}

.article-hero h1 {
  font-size: 2.4rem;
}

.notice {
  color: #715b1d;
}

.snapshot-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.snapshot-list div {
  border-top: 1px solid #e5e8df;
  padding-top: 10px;
}

.evidence-item {
  margin-top: 12px;
  padding: 16px;
}

.evidence-item h3 {
  margin: 0 0 8px;
}

.trace {
  color: #52675a;
  font-size: 0.9rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 10px;
  padding: 4px 9px;
  border-radius: 6px;
  font-weight: 700;
}

.status-pill.ready {
  background: #e8f1e9;
  color: #245c40;
}

.status-pill.blocked {
  background: #fff0ed;
  color: #8b2f22;
}

.issue-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.issue-list li {
  border-left: 4px solid #d1a223;
  padding: 7px 0 7px 10px;
}

.issue-list li.blocker {
  border-left-color: #b84b3a;
}

.issue-list strong {
  display: block;
  text-transform: capitalize;
}

.site-hero,
.public-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid #d9ddd2;
}

.site-hero h1,
.public-hero h1 {
  font-size: 2.5rem;
}

.site-hero-stats,
.public-meta {
  display: grid;
  gap: 10px;
}

.site-hero-stats div,
.public-meta div {
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
}

.site-hero-stats strong,
.public-meta strong {
  display: block;
  color: #2b4f7a;
  font-size: 1.65rem;
}

.site-hero-stats span,
.public-meta span {
  color: #68756c;
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.site-card {
  display: grid;
  gap: 10px;
  min-height: 150px;
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  color: inherit;
  text-decoration: none;
}

.site-card strong {
  font-size: 1.25rem;
}

.site-card span {
  line-height: 1.45;
}

.site-card small {
  color: #2b4f7a;
  font-weight: 700;
}

.search-panel,
.review-strip,
.collection-note,
.support-section {
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
}

.search-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.search-panel input[type="search"] {
  min-height: 48px;
  border-color: #8aa997;
  font-size: 1.02rem;
}

.search-results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.search-results > .muted {
  grid-column: 1 / -1;
  margin: 0;
}

.search-summary {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #f6f8f3;
  padding: 11px 13px;
}

.search-summary strong {
  color: #13231a;
}

.search-summary span {
  color: #52675a;
  font-size: 0.9rem;
}

.search-result,
.quick-link {
  display: grid;
  gap: 6px;
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #f7fafc;
  padding: 13px;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.home-search .search-results {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-result span,
.quick-link span {
  color: #52675a;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.search-result span {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: space-between;
}

.search-result span b,
.search-result span i {
  font-style: normal;
}

.search-result span b {
  color: #245c40;
}

.search-result span i {
  color: #68756c;
}

.search-result strong,
.quick-link strong {
  color: #1f2721;
}

.search-result small,
.quick-link small {
  color: #2b4f7a;
  font-weight: 700;
}

.search-result em {
  color: #52675a;
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.4;
}

.search-result mark {
  border-radius: 3px;
  background: #fff2b8;
  color: inherit;
  padding: 0 2px;
}

.search-result:hover,
.search-result:focus {
  border-color: #8ea4bb;
  box-shadow: 0 12px 26px rgba(23, 35, 27, 0.08);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.58fr);
  gap: 30px;
  align-items: start;
  margin-bottom: 36px;
  padding-bottom: 30px;
  border-bottom: 1px solid #d9ddd2;
}

.home-hero-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.home-hero h1 {
  margin-bottom: 0;
  max-width: 780px;
  font-size: 4rem;
  line-height: 0.98;
}

.home-lede {
  margin: 0;
  max-width: 760px;
  color: #3a473d;
  font-size: 1.16rem;
}

.home-search,
.home-corpus-card,
.home-review-card {
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
}

.home-search {
  display: grid;
  gap: 14px;
}

.home-search input[type="search"] {
  min-height: 56px;
  border-color: #789680;
  background: #fbfcfa;
  font-size: 1.04rem;
}

.home-query-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-query-chips button {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid #c9d3c6;
  border-radius: 6px;
  padding: 4px 9px;
  background: #f7fafc;
  color: #30455f;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
}

.home-query-chips button:hover,
.home-query-chips button:focus {
  border-color: #8aa997;
  background: #eef7f1;
  color: #174c34;
}

.home-corpus-card {
  display: grid;
  gap: 16px;
}

.home-corpus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-corpus-grid div {
  min-height: 82px;
  padding: 14px;
  border-left: 4px solid #d1a223;
  background: #f7fafc;
}

.home-corpus-grid strong {
  display: block;
  color: #2b4f7a;
  font-size: 1.75rem;
  line-height: 1;
}

.home-corpus-grid span {
  display: block;
  margin-top: 7px;
  color: #52675a;
  font-size: 0.86rem;
  font-weight: 700;
}

.home-evidence-signal {
  display: grid;
  gap: 5px;
  border-top: 1px solid #e5e8df;
  padding-top: 14px;
}

.home-evidence-signal span,
.home-entry-card span,
.home-list-link span {
  color: #52675a;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-evidence-signal strong,
.home-evidence-signal a {
  color: #1f2721;
  font-size: 1.08rem;
}

.home-evidence-signal small {
  color: #68756c;
  line-height: 1.45;
}

.home-entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-entry-card {
  display: grid;
  gap: 9px;
  align-content: start;
  min-height: 210px;
  border: 1px solid #d9ddd2;
  border-top: 4px solid #2b4f7a;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.home-entry-card:nth-child(3n + 2) {
  border-top-color: #245c40;
}

.home-entry-card:nth-child(3n) {
  border-top-color: #d1a223;
}

.home-entry-card strong {
  color: #1f2721;
  font-size: 1.22rem;
  line-height: 1.18;
}

.home-entry-card em,
.home-list-link em {
  color: #3f4a42;
  font-style: normal;
  line-height: 1.45;
}

.home-entry-card small,
.home-list-link small {
  color: #2b4f7a;
  font-weight: 800;
  line-height: 1.35;
}

.home-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.home-link-list {
  display: grid;
  gap: 10px;
}

.home-list-link {
  display: grid;
  gap: 6px;
  border: 1px solid #d9ddd2;
  border-left: 4px solid #789680;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.home-list-link:nth-child(2n) {
  border-left-color: #b84b3a;
}

.home-list-link strong {
  color: #1f2721;
  font-size: 1.05rem;
}

.home-method-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.74fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  border-top: 1px solid #d9ddd2;
  border-bottom: 1px solid #d9ddd2;
  padding: 28px 0;
}

.home-method-band h2,
.home-method-band p,
.home-review-card h2,
.home-review-card p {
  margin-bottom: 0;
}

.home-method-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-method-steps li {
  display: grid;
  gap: 7px;
  align-content: start;
  min-height: 140px;
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
}

.home-method-steps strong {
  color: #30455f;
}

.home-method-steps span {
  color: #3f4a42;
  line-height: 1.45;
}

.home-review-card {
  display: grid;
  gap: 12px;
  align-content: start;
  background: #f7fafc;
}

.growth-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 38px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.growth-hero h1 {
  max-width: 860px;
  margin-bottom: 16px;
  font-size: 4.1rem;
  line-height: 0.98;
}

.growth-lede {
  max-width: 820px;
  margin: 0 0 20px;
  color: var(--body-copy);
  font-size: 1.12rem;
  line-height: 1.72;
}

.growth-brief,
.growth-panel,
.trust-bridge,
.digest-form,
.guide-card,
.standard-card,
.guide-route-card,
.guide-point-card,
.guide-warning,
.digest-grid > div {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.growth-brief {
  display: grid;
  gap: 12px;
  align-content: center;
  border-top: 4px solid var(--gold);
  padding: 24px;
}

.growth-brief h2,
.growth-brief p,
.trust-bridge h2,
.trust-bridge p,
.growth-panel h2,
.growth-panel p {
  margin-bottom: 0;
}

.growth-panel,
.trust-bridge {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px;
}

.growth-panel {
  background: var(--surface-alt);
}

.growth-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.growth-path li {
  display: grid;
  gap: 7px;
  align-content: start;
  min-height: 148px;
  border-left: 4px solid var(--blue);
  background: var(--surface);
  padding: 15px;
}

.growth-path li:nth-child(2n) {
  border-left-color: var(--green);
}

.growth-path li:nth-child(4n) {
  border-left-color: var(--gold);
}

.growth-path strong {
  color: var(--ink-strong);
  font-size: 1.08rem;
}

.growth-path span {
  color: var(--body-copy);
  line-height: 1.45;
}

.guide-grid,
.standard-grid,
.guide-route-grid,
.guide-point-grid,
.digest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.guide-card,
.standard-card,
.guide-route-card {
  display: grid;
  gap: 9px;
  align-content: start;
  min-height: 196px;
  padding: 17px;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.guide-card {
  border-top: 4px solid var(--blue);
}

.standard-card {
  border-top: 4px solid var(--green);
}

.guide-card:nth-child(2n) {
  border-top-color: var(--green);
}

.guide-card:nth-child(4n) {
  border-top-color: var(--gold);
}

.standard-card:nth-child(2n) {
  border-top-color: var(--blue);
}

.standard-card:nth-child(4n) {
  border-top-color: var(--gold);
}

.guide-card span,
.standard-card span,
.guide-route-card span,
.guide-point-card span,
.digest-grid span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.guide-card strong,
.standard-card strong,
.guide-route-card strong {
  color: var(--ink-strong);
  font-size: 1.2rem;
  line-height: 1.18;
}

.guide-card em,
.standard-card em,
.guide-route-card span {
  color: var(--body-copy);
  font-style: normal;
  line-height: 1.45;
  text-transform: none;
}

.guide-card small,
.standard-card small {
  color: var(--blue);
  font-weight: 800;
  line-height: 1.35;
}

.guide-route-grid,
.guide-point-grid,
.digest-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-route-card {
  min-height: 150px;
  border-left: 4px solid var(--green);
}

.guide-point-card,
.digest-grid > div {
  display: grid;
  gap: 9px;
  align-content: start;
  min-height: 154px;
  padding: 18px;
}

.guide-point-card p,
.digest-grid p {
  margin: 0;
}

.guide-warning {
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  border-left: 5px solid var(--red);
  background: var(--red-soft);
  padding: 24px;
}

.guide-warning h2 {
  margin-bottom: 0;
}

.guide-warning ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.standards-hero .growth-brief {
  border-top-color: var(--green);
}

.standard-roadmap {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-alt);
  padding: 24px;
}

.standard-roadmap h2 {
  margin-bottom: 0;
}

.standard-roadmap ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.standard-roadmap li {
  display: grid;
  gap: 6px;
  border-left: 4px solid var(--green);
  background: var(--surface);
  padding: 14px 15px;
}

.standard-roadmap li:nth-child(2n) {
  border-left-color: var(--blue);
}

.standard-roadmap li:nth-child(3n) {
  border-left-color: var(--gold);
}

.standard-roadmap strong {
  color: var(--ink-strong);
}

.standard-roadmap span {
  color: var(--body-copy);
  line-height: 1.45;
}

.coa-hero .growth-brief {
  border-top-color: var(--blue);
}

.coa-preview,
.coa-empty,
.coa-record-card,
.coa-info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.coa-preview {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  background: var(--surface-alt);
  padding: 24px;
}

.coa-preview h2,
.coa-preview p {
  margin-bottom: 0;
}

.coa-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.coa-stat-grid div {
  min-height: 82px;
  border-left: 4px solid var(--blue);
  background: var(--surface);
  padding: 13px;
}

.coa-stat-grid div:nth-child(2n) {
  border-left-color: var(--green);
}

.coa-stat-grid div:nth-child(4n) {
  border-left-color: var(--gold);
}

.coa-stat-grid strong {
  display: block;
  color: var(--blue);
  font-size: 1.4rem;
  line-height: 1.05;
}

.coa-stat-grid span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.coa-empty {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.coa-empty.compact {
  background: var(--surface-alt);
}

.coa-empty h3,
.coa-empty p {
  margin: 0;
}

.coa-empty ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
}

.coa-record-grid,
.coa-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.coa-record-card {
  display: grid;
  gap: 9px;
  align-content: start;
  min-height: 154px;
  border-left: 4px solid var(--blue);
  padding: 17px;
  color: inherit;
  text-decoration: none;
}

.coa-record-card span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.coa-record-card strong {
  color: var(--ink-strong);
  font-size: 1.18rem;
}

.coa-record-card em {
  color: var(--body-copy);
  font-style: normal;
}

.coa-record-card small {
  color: var(--blue);
  font-weight: 800;
}

.coa-info-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
}

.coa-info-card dl {
  display: grid;
  gap: 9px;
  margin: 0;
}

.coa-info-card dl div {
  display: grid;
  gap: 3px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}

.coa-info-card dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.coa-info-card dd {
  margin: 0;
  color: var(--body-copy);
}

.coa-document-list {
  display: grid;
  gap: 8px;
}

.coa-document-list a {
  display: grid;
  gap: 4px;
  border-left: 4px solid var(--green);
  background: var(--surface-alt);
  padding: 11px 12px;
  color: inherit;
  text-decoration: none;
}

.coa-document-list span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.digest-hero {
  align-items: start;
}

.digest-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
}

.digest-stats div {
  min-height: 88px;
  border-left: 4px solid var(--gold);
  background: var(--surface);
  padding: 15px;
}

.digest-stats strong {
  display: block;
  color: var(--blue);
  font-size: 1.72rem;
  line-height: 1;
}

.digest-stats span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.3;
}

.digest-form {
  display: grid;
  gap: 12px;
  align-content: start;
  border-top: 4px solid var(--green);
  padding: 24px;
}

.digest-form h2 {
  margin-bottom: 4px;
}

.digest-form label {
  color: var(--ink-strong);
  font-size: 0.86rem;
  font-weight: 800;
}

.digest-form input,
.digest-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--canvas-soft);
  color: var(--ink);
  font: inherit;
  padding: 8px 10px;
}

.digest-form input:focus,
.digest-form select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: var(--focus-ring);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.collection-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #d9ddd2;
}

.collection-hero-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.collection-hero h1 {
  margin-bottom: 0;
  font-size: 3.2rem;
  line-height: 1;
}

.collection-hero p {
  margin: 0;
  color: #3a473d;
  font-size: 1.08rem;
}

.collection-stat-card,
.collection-insight-card,
.collection-page-card {
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
}

.collection-stat-card {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.collection-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.collection-stat-grid div {
  min-height: 78px;
  padding: 13px;
  border-left: 4px solid #245c40;
  background: #f7fafc;
}

.collection-stat-grid div:nth-child(2n) {
  border-left-color: #2b4f7a;
}

.collection-stat-grid div:nth-child(3n) {
  border-left-color: #d1a223;
}

.collection-stat-grid strong {
  display: block;
  color: #2b4f7a;
  font-size: 1.58rem;
  line-height: 1;
}

.collection-stat-grid span {
  display: block;
  margin-top: 7px;
  color: #52675a;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.3;
}

.collection-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.collection-insight-card {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 150px;
  border-top: 4px solid #2b4f7a;
  padding: 18px;
}

.collection-insight-card:nth-child(2) {
  border-top-color: #245c40;
}

.collection-insight-card:nth-child(3) {
  border-top-color: #d1a223;
}

.collection-insight-card span,
.collection-page-card span {
  color: #52675a;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.collection-insight-card p {
  margin: 0;
  color: #3f4a42;
}

.collection-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.collection-card-grid > .muted {
  grid-column: 1 / -1;
  margin: 0;
}

.collection-page-card {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 168px;
  padding: 16px;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.collection-page-card strong {
  color: #1f2721;
  font-size: 1.18rem;
  line-height: 1.2;
}

.collection-page-card em {
  color: #3f4a42;
  font-style: normal;
  line-height: 1.42;
}

.collection-page-card small {
  color: #2b4f7a;
  font-weight: 800;
  line-height: 1.35;
}

.collection-method-strip {
  display: grid;
  grid-template-columns: minmax(240px, 0.74fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  border-top: 1px solid #d9ddd2;
  border-bottom: 1px solid #d9ddd2;
  padding: 28px 0;
}

.collection-method-strip h2,
.collection-method-strip p {
  margin-bottom: 0;
}

.collection-method-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.collection-method-list li {
  display: grid;
  gap: 7px;
  align-content: start;
  min-height: 146px;
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
}

.collection-method-list strong {
  color: #30455f;
}

.collection-method-list span {
  color: #3f4a42;
  line-height: 1.45;
}

.quick-grid,
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.review-strip {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  background: #f7fafc;
}

.review-strip h2,
.review-strip p {
  margin: 0;
}

.collection-note {
  margin-bottom: 22px;
  background: #f7fafc;
}

.collection-note p {
  margin: 0;
  max-width: none;
}

.support-page {
  display: grid;
  gap: 24px;
}

.support-section h2,
.method-grid h2 {
  font-size: 1.25rem;
}

.method-grid div {
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
}

.method-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #30455f;
  color: #ffffff;
  font-weight: 800;
}

.az-list {
  display: grid;
  gap: 14px;
}

.az-group {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
}

.az-group h3 {
  margin: 0;
  color: #30455f;
}

.term-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.term-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid #bdc8ba;
  border-radius: 999px;
  background: #f7fafc;
  color: #215d40;
  font-weight: 700;
  text-decoration: none;
}

.term-chip small {
  color: #5d6a61;
  font-size: 0.78rem;
  font-weight: 700;
}

.dictionary-use-strip {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: start;
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
}

.dictionary-use-strip ol,
.dictionary-source-path ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.dictionary-use-strip li,
.dictionary-source-path li {
  line-height: 1.5;
}

.dictionary-use-strip strong,
.dictionary-source-path strong {
  display: block;
  color: #13231a;
}

.dictionary-use-strip span,
.dictionary-source-path span {
  color: #3f4a42;
}

.dictionary-category-grid,
.dictionary-featured-grid,
.dictionary-reader-card-grid,
.dictionary-lens-grid {
  display: grid;
  gap: 12px;
}

.dictionary-category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dictionary-featured-grid,
.dictionary-reader-card-grid,
.dictionary-lens-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dictionary-category-card,
.dictionary-featured-card,
.dictionary-reader-card,
.dictionary-lens-card {
  min-width: 0;
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.dictionary-category-card span,
.dictionary-featured-card span,
.dictionary-reader-card span,
.dictionary-lens-card span {
  color: #52675a;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dictionary-category-card strong,
.dictionary-featured-card strong,
.dictionary-reader-card strong,
.dictionary-lens-card strong {
  display: block;
  margin: 7px 0;
  color: #1f2721;
  font-size: 1.14rem;
  line-height: 1.2;
}

.dictionary-category-card small,
.dictionary-featured-card small {
  display: block;
  margin: 10px 0 0;
  color: #2b4f7a;
  font-weight: 800;
}

.dictionary-category-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.dictionary-category-card div a,
.dictionary-inline-link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid #b9c7d8;
  border-radius: 6px;
  padding: 2px 7px;
  background: #f7fafc;
  color: #30455f;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.dictionary-featured-card:hover,
.dictionary-featured-card:focus {
  border-color: #8ea4bb;
  box-shadow: 0 14px 30px rgba(23, 35, 27, 0.08);
}

.dictionary-reader-map {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
  gap: 24px;
  align-items: start;
  border-top: 1px solid #d9ddd2;
  border-bottom: 1px solid #d9ddd2;
  padding: 24px 0;
}

.dictionary-reader-map h2 {
  font-size: 2rem;
}

.dictionary-reader-card,
.dictionary-lens-card {
  border-top: 4px solid #2b4f7a;
}

.dictionary-reader-card:nth-child(2),
.dictionary-lens-card:nth-child(2) {
  border-top-color: #245c40;
}

.dictionary-reader-card:nth-child(3),
.dictionary-lens-card:nth-child(3) {
  border-top-color: #d1a223;
}

.dictionary-reader-card:nth-child(4),
.dictionary-lens-card:nth-child(4) {
  border-top-color: #b84b3a;
}

.dictionary-evidence-lens,
.dictionary-source-path {
  display: grid;
  gap: 16px;
}

.dictionary-lens-note {
  margin: 0;
  border-left: 3px solid #d9ddd2;
  padding-left: 14px;
  color: #3f4a42;
}

.check-list {
  display: grid;
  gap: 9px;
  line-height: 1.55;
}

.consumer-article {
  display: grid;
  gap: 34px;
}

.consumer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.45fr);
  gap: 28px;
  align-items: center;
  padding-bottom: 26px;
  border-bottom: 1px solid #d9ddd2;
}

.consumer-hero h1 {
  max-width: 840px;
  font-size: 3rem;
  text-wrap: balance;
}

.consumer-hero .lede {
  max-width: 760px;
  color: #30455f;
  font-size: 1.12rem;
}

.consumer-scorecard {
  display: grid;
  gap: 10px;
}

.consumer-scorecard div {
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
}

.consumer-scorecard strong {
  display: block;
  color: #2b4f7a;
  font-size: 1.75rem;
}

.consumer-scorecard span {
  color: #68756c;
}

.guide-snapshot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.guide-snapshot-card,
.related-page-card {
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
}

.guide-snapshot-card {
  border-top: 4px solid #2b4f7a;
}

.guide-snapshot-card:nth-child(2) {
  border-top-color: #245c40;
}

.guide-snapshot-card:nth-child(3) {
  border-top-color: #d1a223;
}

.guide-snapshot-card:nth-child(4) {
  border-top-color: #b84b3a;
}

.guide-snapshot-card span,
.related-page-card span {
  color: #52675a;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.guide-snapshot-card strong {
  display: block;
  margin-top: 6px;
  color: #2b4f7a;
  font-size: 1.65rem;
  line-height: 1;
}

.guide-snapshot-card p {
  margin: 9px 0 0;
  color: #3f4a42;
  line-height: 1.45;
}

.related-pages-section {
  display: grid;
  gap: 14px;
}

.related-graph-section {
  gap: 16px;
}

.related-graph-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
  gap: 16px;
  align-items: stretch;
}

.related-graph-current,
.related-graph-node {
  min-width: 0;
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
  overflow-wrap: anywhere;
}

.related-graph-current {
  display: grid;
  gap: 8px;
  border-left: 5px solid #245c40;
}

.related-graph-current span,
.related-graph-node span {
  color: #52675a;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.related-graph-current strong {
  color: #13231a;
  font-size: 1.45rem;
  line-height: 1.1;
}

.related-graph-current p,
.related-graph-current small {
  margin: 0;
  color: #3f4a42;
  line-height: 1.45;
}

.related-graph-current small {
  color: #2b4f7a;
  font-weight: 800;
}

.related-graph-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.related-graph-node {
  display: grid;
  gap: 7px;
  border-top: 4px solid #2b4f7a;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.related-graph-node:nth-child(2) {
  border-top-color: #245c40;
}

.related-graph-node:nth-child(3) {
  border-top-color: #d1a223;
}

.related-graph-node:nth-child(4) {
  border-top-color: #b84b3a;
}

.related-graph-node:hover,
.related-graph-node:focus {
  border-color: #8ea4bb;
  box-shadow: 0 12px 24px rgba(23, 35, 27, 0.08);
}

.related-graph-node strong {
  color: #1f2721;
  font-size: 1.05rem;
  line-height: 1.2;
}

.related-graph-node em {
  color: #3f4a42;
  font-style: normal;
  line-height: 1.35;
}

.related-graph-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.related-graph-metrics div,
.related-graph-metrics p {
  margin: 0;
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #f7fafc;
  padding: 12px;
}

.related-graph-metrics strong {
  display: block;
  color: #2b4f7a;
  font-size: 1.38rem;
  line-height: 1;
}

.related-graph-metrics span,
.related-graph-metrics p {
  color: #52675a;
  font-size: 0.88rem;
  font-weight: 700;
}

.related-graph-metrics p {
  grid-column: 1 / -1;
  background: #ffffff;
  line-height: 1.45;
}

.related-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.related-page-card {
  display: grid;
  gap: 8px;
  min-height: 205px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease,
    transform 0.16s ease;
  overflow-wrap: anywhere;
}

.related-page-card:focus,
.related-page-card:hover {
  border-color: #8ea4bb;
  box-shadow: 0 14px 30px rgba(23, 35, 27, 0.08);
  transform: translateY(-1px);
}

.related-page-card strong {
  color: #1f2721;
  font-size: 1.12rem;
  line-height: 1.2;
}

.related-page-card em {
  color: #3f4a42;
  font-style: normal;
  line-height: 1.42;
}

.related-page-reason {
  margin: 0;
  color: #3f4a42;
  font-size: 0.9rem;
  line-height: 1.4;
}

.related-page-reason b {
  color: #13231a;
}

.related-page-card small {
  color: #2b4f7a;
  font-weight: 800;
  line-height: 1.35;
}

.related-term-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.related-term-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid #b9c7d8;
  border-radius: 6px;
  background: #f7fafc;
  padding: 2px 7px;
  color: #30455f;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: none;
}

.plain-answer,
.journal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 24px;
  align-items: start;
}

.plain-answer {
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 24px;
}

.plain-answer h2 {
  font-size: 2rem;
}

.answer-card-list,
.benefit-grid {
  display: grid;
  gap: 12px;
}

.answer-card-list article,
.benefit-grid article,
.article-section {
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
}

.answer-card-list article {
  background: #f7fafc;
}

.answer-card-list span {
  display: block;
  color: #52675a;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.answer-card-list strong {
  display: block;
  margin: 6px 0;
  font-size: 1.1rem;
}

.benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-grid h3 {
  margin: 0 0 8px;
}

.evidence-bucket-summary {
  display: grid;
  gap: 16px;
}

.reader-table td:first-child {
  color: #13231a;
  font-weight: 800;
}

.reader-table td:nth-child(3) {
  color: #30455f;
  font-weight: 700;
}

.inline-citation {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-left: 4px;
  border: 1px solid #b9c7d8;
  border-radius: 6px;
  padding: 1px 7px;
  background: #f7fafc;
  color: #30455f;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.inline-citation:hover {
  color: #174c34;
}

.article-toc {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 8px;
  border-left: 3px solid #8aa997;
  padding-left: 12px;
}

.article-toc a {
  color: #30455f;
  font-weight: 700;
  text-decoration: none;
}

.article-body {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.rich-copy p {
  max-width: 850px;
  font-size: 1.02rem;
}

.evidence-review h3 {
  margin-top: 24px;
  font-size: 1.2rem;
}

.evidence-review p {
  max-width: 900px;
}

.article-quick-read {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  border-left: 4px solid #2b4f7a;
  background: #f7fafc;
  padding: 18px 20px;
}

.article-quick-read strong,
.article-lane span,
.article-source-list span {
  color: #52675a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.article-quick-read ul,
.article-guardrails ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.article-quick-read li,
.article-guardrails li,
.article-checklist li {
  line-height: 1.55;
}

.article-lane-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.article-lane {
  border-top: 4px solid #2b4f7a;
  padding-top: 12px;
}

.article-lane:nth-child(2) {
  border-top-color: #245c40;
}

.article-lane:nth-child(3) {
  border-top-color: #d1a223;
}

.article-lane:nth-child(4) {
  border-top-color: #b84b3a;
}

.article-lane strong {
  display: block;
  margin: 7px 0;
  color: #1f2721;
  font-size: 1.08rem;
}

.article-lane p,
.article-method-note {
  color: #3f4a42;
  line-height: 1.5;
}

.article-method-note {
  border-left: 3px solid #d9ddd2;
  padding-left: 14px;
}

.article-bucket-chapters {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.article-bucket-chapter {
  border-top: 1px solid #d9ddd2;
  padding-top: 18px;
}

.article-bucket-chapter h4 {
  margin: 0 0 10px;
  color: #13231a;
  font-size: 1.16rem;
}

.article-chapter-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.article-chapter-meta span {
  border: 1px solid #d9ddd2;
  border-radius: 999px;
  padding: 3px 9px;
  color: #52675a;
  font-size: 0.78rem;
  font-weight: 700;
}

.article-source-list {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.article-source-list li {
  border-left: 3px solid #d9ddd2;
  padding-left: 12px;
}

.article-source-list p {
  margin: 5px 0 0;
}

.article-guardrails,
.article-checklist {
  margin: 24px 0;
  border-left: 4px solid #8aa997;
  background: #f6f8f3;
  padding: 18px 20px;
}

.article-guardrails h3,
.article-checklist h3 {
  margin-top: 0;
}

.article-checklist ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.source-note-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 24px;
}

.source-note-list li {
  border-top: 1px solid #d9ddd2;
  padding-top: 12px;
}

.source-note-list span {
  display: block;
  color: #52675a;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.source-note-list p {
  margin: 6px 0;
}

.source-note-list small {
  display: block;
  color: #52675a;
  line-height: 1.45;
}

.dictionary-evidence-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.dictionary-evidence-tools {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}

.evidence-filter-chip {
  display: grid;
  gap: 4px;
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
  color: #30455f;
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
}

.evidence-filter-chip.is-active {
  border-color: #215d40;
  background: #eef7f1;
}

.source-note-list .evidence-filter-chip span {
  color: #215d40;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: none;
}

.evidence-filter-chip strong {
  color: #18251f;
}

.dictionary-evidence-group {
  display: grid;
  gap: 14px;
  scroll-margin-top: 24px;
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
}

.dictionary-evidence-group + .dictionary-evidence-group {
  margin-top: 16px;
}

.dictionary-evidence-group-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e5e8df;
  padding-bottom: 10px;
}

.dictionary-evidence-group-heading h3,
.dictionary-evidence-group-heading p {
  margin: 0;
}

.dictionary-evidence-row-list {
  display: grid;
  gap: 12px;
}

.source-note {
  border-top: 1px solid #d9ddd2;
  padding-top: 12px;
}

.dictionary-evidence-row-list .source-note:first-child {
  border-top: 0;
  padding-top: 0;
}

.back-to-evidence {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.dictionary-evidence-count {
  margin: 0;
  color: #52675a;
  font-weight: 700;
}

.dictionary-evidence-empty {
  margin: 0;
}

.safety-callout {
  border-color: #e2c069;
  background: #fffaf0;
}

.research-database {
  display: grid;
  gap: 18px;
  min-width: 0;
  border-top: 1px solid #d9ddd2;
  padding-top: 24px;
}

.research-database .public-section {
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
}

.research-intro {
  max-width: 820px;
  color: #30455f;
}

.public-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  min-width: 0;
}

.public-toc {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 7px;
  border-left: 3px solid #b9c7d8;
  padding-left: 12px;
}

.public-toc a {
  color: #30455f;
  font-size: 0.92rem;
  text-decoration: none;
}

.public-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.public-page,
.public-section {
  min-width: 0;
}

.public-section {
  border-top: 1px solid #d9ddd2;
  padding-top: 20px;
}

.article-section,
.public-section {
  overflow-x: auto;
}

.public-section h2 {
  font-size: 1.35rem;
}

.public-section p {
  max-width: 820px;
}

.public-section ul {
  line-height: 1.55;
}

.evidence-brief {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 0.7fr)) minmax(260px, 1.3fr);
  gap: 12px;
  align-items: stretch;
  margin: 0 0 28px;
}

.evidence-brief div,
.evidence-brief p {
  margin: 0;
  border: 1px solid #d9ddd2;
  border-radius: 8px;
  background: #ffffff;
  padding: 15px;
}

.evidence-brief span {
  display: block;
  color: #68756c;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.evidence-brief strong {
  display: block;
  margin-top: 6px;
  color: #2b4f7a;
}

.evidence-brief p {
  max-width: none;
  color: #30455f;
}

.evidence-sentence {
  color: inherit;
  text-decoration-color: #8aa997;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.evidence-sentence:hover,
.citation-link:hover {
  color: #174c34;
}

.source-title {
  display: block;
}

.citation-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.citation-link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid #b9c7d8;
  border-radius: 6px;
  padding: 2px 7px;
  background: #f7fafc;
  color: #30455f;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .topbar nav {
    justify-content: flex-start;
  }

  .site-hero,
  .public-hero,
  .consumer-hero,
  .plain-answer,
  .journal-layout,
  .home-hero,
  .home-method-band,
  .growth-hero,
  .growth-panel,
  .trust-bridge,
  .guide-warning,
  .standard-roadmap,
  .coa-preview,
  .collection-hero,
  .collection-method-strip,
  .dictionary-use-strip,
  .dictionary-reader-map,
  .related-graph-shell {
    grid-template-columns: 1fr;
  }

  .site-hero-stats,
  .public-meta,
  .consumer-scorecard,
  .home-corpus-grid,
  .collection-stat-grid,
  .related-graph-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .guide-snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-grid,
  .benefit-grid,
  .related-page-grid,
  .related-graph-paths,
  .article-lane-grid,
  .home-entry-grid,
  .growth-path,
  .guide-grid,
  .standard-grid,
  .coa-record-grid,
  .collection-card-grid,
  .dictionary-category-grid,
  .dictionary-featured-grid,
  .dictionary-reader-card-grid,
  .dictionary-lens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-header,
  .two-column,
  .split,
  .form-grid,
  .stats-grid,
  .bulk-review,
  .dashboard-grid,
  .snapshot-list,
  .review-card,
  .site-hero,
  .public-hero,
  .public-layout,
  .site-grid,
  .evidence-brief,
  .search-results,
  .quick-grid,
  .method-grid,
  .review-strip,
  .consumer-hero,
  .guide-snapshot,
  .plain-answer,
  .journal-layout,
  .benefit-grid,
  .related-page-grid,
  .related-graph-paths,
  .related-graph-metrics,
  .article-lane-grid,
  .home-entry-grid,
  .home-split,
  .home-method-steps,
  .growth-path,
  .guide-grid,
  .standard-grid,
  .guide-route-grid,
  .guide-point-grid,
  .digest-grid,
  .standard-roadmap,
  .coa-preview,
  .coa-record-grid,
  .coa-two-column,
  .collection-insight-grid,
  .collection-card-grid,
  .collection-method-list,
  .dictionary-category-grid,
  .dictionary-featured-grid,
  .dictionary-reader-card-grid,
  .dictionary-lens-grid {
    grid-template-columns: 1fr;
  }

  .page-header {
    display: grid;
  }

  .topbar {
    gap: 10px;
    padding: 14px 20px;
  }

  .topbar nav {
    justify-content: flex-start;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-search .search-results {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: auto;
  }

  .public-toc {
    position: static;
  }

  .article-toc {
    position: static;
  }

  .consumer-hero h1 {
    font-size: 2rem;
  }

  .growth-hero h1 {
    font-size: 3rem;
    line-height: 1;
  }

  .home-hero h1 {
    font-size: 3rem;
    line-height: 1;
  }

  .collection-hero h1 {
    font-size: 2.55rem;
  }
}

@media (max-width: 520px) {
  .shell {
    padding: 36px 18px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    justify-content: center;
    width: 100%;
  }

  .site-hero-stats,
  .public-meta,
  .consumer-scorecard,
  .guide-snapshot,
  .home-corpus-grid,
  .digest-stats,
  .coa-stat-grid,
  .collection-stat-grid {
    grid-template-columns: 1fr;
  }

  .search-panel,
  .plain-answer,
  .article-section,
  .home-search,
  .home-corpus-card,
  .home-review-card,
  .growth-brief,
  .growth-panel,
  .trust-bridge,
  .digest-form,
  .guide-warning,
  .standard-roadmap,
  .coa-preview,
  .coa-empty,
  .coa-info-card,
  .collection-stat-card {
    padding: 18px;
  }

  .consumer-hero h1,
  .site-hero h1,
  .public-hero h1,
  .home-hero h1,
  .collection-hero h1 {
    font-size: 1.95rem;
  }
}

/* Visual polish layer: shared rhythm, contrast, alignment, and proximity. */
::selection {
  background: #dcebdc;
  color: var(--ink-strong);
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  box-shadow: var(--focus-ring);
}

a {
  color: var(--green);
  text-decoration-color: rgba(33, 93, 64, 0.36);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--green-dark);
  text-decoration-color: currentColor;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  border-bottom: 1px solid rgba(189, 201, 186, 0.78);
  background: rgba(255, 254, 250, 0.94);
  box-shadow: 0 10px 28px rgba(28, 39, 32, 0.055);
  backdrop-filter: blur(12px);
}

.topbar > a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--ink-strong);
  font-size: 1.02rem;
  letter-spacing: 0;
}

.topbar > a::before {
  width: 13px;
  height: 13px;
  border: 3px solid var(--green);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--surface);
  content: "";
}

.topbar nav {
  gap: 6px;
}

.topbar nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  padding: 6px 9px;
  color: var(--muted-strong);
  font-size: 0.88rem;
}

.topbar nav a:hover,
.topbar nav a:focus-visible {
  border-color: var(--line);
  background: var(--surface-alt);
  color: var(--ink-strong);
  text-decoration: none;
}

.shell {
  max-width: 1240px;
  padding: 64px 32px 86px;
}

h1,
h2,
h3,
h4 {
  color: var(--ink-strong);
  letter-spacing: 0;
}

h1 {
  font-size: 2.35rem;
  line-height: 1.05;
  text-wrap: balance;
}

h2 {
  margin-bottom: 12px;
  font-size: 1.55rem;
  line-height: 1.16;
  text-wrap: balance;
}

h3 {
  line-height: 1.22;
}

p,
li,
dd,
td {
  color: var(--body-copy);
}

p {
  line-height: 1.68;
}

.muted,
.trace,
.stats-grid span,
.site-card span,
.public-meta span,
.site-hero-stats span {
  color: var(--muted);
}

.eyebrow {
  color: var(--green);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.page-header,
.site-hero,
.public-hero,
.home-hero,
.collection-hero,
.consumer-hero {
  border-bottom-color: var(--line);
}

.site-hero,
.public-hero,
.home-hero,
.collection-hero,
.consumer-hero {
  gap: 36px;
  margin-bottom: 42px;
  padding-bottom: 36px;
}

.site-hero,
.public-hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
}

.site-hero h1,
.public-hero h1 {
  max-width: 780px;
  font-size: 3.1rem;
  line-height: 1;
}

.home-hero {
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.52fr);
  align-items: stretch;
}

.home-hero-copy {
  gap: 20px;
}

.home-hero h1 {
  max-width: 820px;
  font-size: 5.15rem;
  line-height: 0.94;
}

.home-lede,
.collection-hero p,
.consumer-hero .lede,
.research-intro {
  color: var(--body-copy);
  font-size: 1.1rem;
  line-height: 1.7;
}

.collection-hero h1 {
  max-width: 820px;
  font-size: 3.7rem;
  line-height: 0.98;
}

.consumer-hero {
  align-items: stretch;
}

.consumer-hero h1 {
  max-width: 880px;
  font-size: 3.3rem;
  line-height: 1;
}

.consumer-hero-copy {
  align-self: center;
}

button,
.button {
  justify-content: center;
  min-height: 42px;
  border-color: var(--green);
  border-radius: var(--radius-control);
  background: var(--green);
  box-shadow: 0 1px 0 rgba(16, 24, 19, 0.08);
  font-weight: 800;
  line-height: 1;
  transition: background 0.16s ease, border-color 0.16s ease,
    box-shadow 0.16s ease, transform 0.16s ease;
}

button:hover,
.button:hover {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

.button.secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--green);
}

.button.secondary:hover {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green-dark);
}

:where(
    .panel,
    .empty,
    .details,
    .preview,
    .dashboard-grid article,
    .stat-link,
    .list-item,
    .form-grid,
    .form-stack,
    .article-hero,
    .article-section,
    .evidence-item,
    .site-card,
    .search-panel,
    .review-strip,
    .collection-note,
    .support-section,
    .search-result,
    .quick-link,
    .home-search,
    .home-corpus-card,
    .home-review-card,
    .home-entry-card,
    .home-list-link,
    .home-method-steps li,
    .collection-stat-card,
    .collection-insight-card,
    .collection-page-card,
    .collection-method-list li,
    .method-grid div,
    .az-group,
    .dictionary-use-strip,
    .dictionary-category-card,
    .dictionary-featured-card,
    .dictionary-reader-card,
    .dictionary-lens-card,
    .consumer-scorecard div,
    .guide-snapshot-card,
    .related-page-card,
    .related-graph-current,
    .related-graph-node,
    .related-graph-metrics div,
    .related-graph-metrics p,
    .plain-answer,
    .answer-card-list article,
    .benefit-grid article,
    .evidence-filter-chip,
    .dictionary-evidence-group,
    .research-database .public-section,
    .evidence-brief div,
    .evidence-brief p,
    .site-hero-stats div,
    .public-meta div,
    .stats-grid div
  ) {
  min-width: 0;
  border-color: var(--line);
  border-radius: var(--radius-card);
  background-color: var(--surface);
  box-shadow: var(--shadow-card);
}

:where(
    .site-card,
    .search-result,
    .quick-link,
    .home-entry-card,
    .home-list-link,
    .collection-page-card,
    .dictionary-featured-card,
    .dictionary-category-card,
    .related-page-card,
    .related-graph-node,
    .term-chip,
    .citation-link,
    .inline-citation
  ) {
  transition: border-color 0.16s ease, box-shadow 0.16s ease,
    background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

:where(
    .site-card,
    .search-result,
    .quick-link,
    .home-entry-card,
    .home-list-link,
    .collection-page-card,
    .dictionary-featured-card,
    .dictionary-category-card,
    .related-page-card,
    .related-graph-node
  ):hover,
:where(
    .site-card,
    .search-result,
    .quick-link,
    .home-entry-card,
    .home-list-link,
    .collection-page-card,
    .dictionary-featured-card,
    .dictionary-category-card,
    .related-page-card,
    .related-graph-node
  ):focus-visible {
  border-color: #9bb3a2;
  box-shadow: var(--shadow-lift);
  text-decoration: none;
  transform: translateY(-2px);
}

:where(
    .site-grid,
    .search-results,
    .quick-grid,
    .home-entry-grid,
    .home-split,
    .home-method-steps,
    .collection-insight-grid,
    .collection-card-grid,
    .collection-method-list,
    .method-grid,
    .dictionary-category-grid,
    .dictionary-featured-grid,
    .dictionary-reader-card-grid,
    .dictionary-lens-grid,
    .guide-snapshot,
    .related-page-grid,
    .related-graph-paths,
    .benefit-grid,
    .article-lane-grid
  ) {
  align-items: stretch;
}

:where(
    .site-grid,
    .quick-grid,
    .home-entry-grid,
    .collection-card-grid,
    .dictionary-category-grid,
    .dictionary-featured-grid,
    .dictionary-reader-card-grid,
    .dictionary-lens-grid,
    .guide-snapshot,
    .related-page-grid,
    .benefit-grid
  ) > * {
  height: 100%;
}

.section-gap {
  margin-top: 54px;
}

.section-heading {
  align-items: flex-end;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.section-heading p {
  margin: 0;
}

.section-heading > a,
.section-heading > span {
  color: var(--muted-strong);
  font-size: 0.92rem;
  font-weight: 800;
}

.stats-grid,
.site-grid,
.home-entry-grid,
.quick-grid,
.collection-card-grid,
.dictionary-category-grid,
.dictionary-featured-grid,
.dictionary-reader-card-grid,
.dictionary-lens-grid,
.guide-snapshot,
.related-page-grid,
.benefit-grid {
  gap: 16px;
}

.home-search,
.search-panel {
  gap: 16px;
  border-color: #c7d6ca;
  background: var(--surface);
}

input,
select,
textarea {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.16s ease, box-shadow 0.16s ease,
    background 0.16s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  background: #ffffff;
  outline: 0;
  box-shadow: var(--focus-ring);
}

.search-panel input[type="search"],
.home-search input[type="search"] {
  border: 1px solid #9eb9a7;
  background: #fffffb;
  color: var(--ink-strong);
  font-weight: 700;
}

.home-search input[type="search"] {
  min-height: 60px;
  padding: 12px 16px;
  font-size: 1.08rem;
}

.home-query-chips {
  gap: 7px;
}

.home-query-chips button {
  min-height: 32px;
  border-color: var(--line);
  background: var(--surface-alt);
  color: var(--muted-strong);
}

.home-query-chips button:hover,
.home-query-chips button:focus-visible {
  background: var(--green-soft);
  color: var(--green-dark);
  transform: none;
}

.search-result,
.quick-link {
  gap: 8px;
  background: var(--surface);
}

.search-summary {
  border-color: var(--line);
  background: var(--surface-alt);
}

.not-found-page {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(340px, 1fr);
  gap: 36px;
  align-items: start;
  min-height: 58vh;
  padding-top: 48px;
}

.not-found-copy h1 {
  max-width: 10ch;
  margin: 12px 0 18px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.98;
  color: var(--ink-strong);
}

.not-found-copy p {
  max-width: 52ch;
  color: var(--muted-strong);
  font-size: 1.14rem;
  line-height: 1.7;
}

.not-found-search {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.not-found-search input[type="search"] {
  min-height: 58px;
  padding: 12px 16px;
  border: 1px solid #9eb9a7;
  border-radius: 6px;
  background: #fffffb;
  color: var(--ink-strong);
  font-weight: 700;
  font-size: 1.05rem;
}

.not-found-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
}

.home-corpus-card,
.collection-stat-card,
.consumer-scorecard {
  align-content: start;
}

.home-corpus-grid div,
.collection-stat-grid div {
  border-radius: var(--radius-control);
  background: var(--surface-alt);
}

.home-corpus-grid strong,
.collection-stat-grid strong,
.consumer-scorecard strong,
.site-hero-stats strong,
.public-meta strong,
.stats-grid strong {
  color: var(--blue);
  font-weight: 850;
  letter-spacing: 0;
}

.home-entry-card,
.collection-page-card,
.related-page-card,
.site-card {
  align-content: start;
}

.home-entry-card {
  min-height: 230px;
  padding: 20px;
}

.home-entry-card strong,
.collection-page-card strong,
.site-card strong,
.related-page-card strong {
  color: var(--ink-strong);
}

.home-method-band,
.collection-method-strip,
.dictionary-reader-map,
.research-database {
  border-top-color: var(--line);
  border-bottom-color: var(--line);
}

.dictionary-use-strip,
.plain-answer,
.review-strip {
  padding: 28px;
}

.dictionary-reader-map h2,
.plain-answer h2 {
  font-size: 2.25rem;
  line-height: 1.05;
}

.plain-answer {
  gap: 32px;
}

.answer-card-list,
.benefit-grid,
.article-body,
.evidence-bucket-summary,
.public-content {
  gap: 20px;
}

.answer-card-list article,
.benefit-grid article {
  padding: 22px;
}

.benefit-grid article {
  display: grid;
  align-content: start;
}

.rich-copy p,
.evidence-review p,
.public-section p {
  max-width: 76ch;
}

.rich-copy p {
  font-size: 1.04rem;
  line-height: 1.72;
}

.article-quick-read,
.article-guardrails,
.article-checklist {
  border-radius: var(--radius-card);
  background: var(--surface-alt);
}

.article-toc,
.public-toc {
  top: 96px;
  gap: 9px;
  border-left-color: #8fb39b;
}

.article-toc a,
.public-toc a {
  border-radius: var(--radius-control);
  padding: 4px 7px;
  color: var(--muted-strong);
}

.article-toc a:hover,
.public-toc a:hover {
  background: var(--green-soft);
  color: var(--green-dark);
  text-decoration: none;
}

.table-wrap {
  border-color: var(--line);
  box-shadow: var(--shadow-card);
}

table {
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.94rem;
}

th,
td {
  padding: 13px 14px;
  border-bottom-color: #e4e8df;
}

th {
  background: #edf2e8;
  color: var(--ink-strong);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover td {
  background: #fbfcf7;
}

.reader-table td:first-child {
  color: var(--ink-strong);
}

.inline-citation,
.citation-link,
.dictionary-inline-link,
.dictionary-category-card div a,
.term-chip,
.related-term-chips span,
.article-chapter-meta span {
  border-color: #bdcddd;
  border-radius: var(--radius-control);
  background: var(--blue-soft);
  color: #244b73;
}

.inline-citation:hover,
.citation-link:hover,
.dictionary-inline-link:hover,
.dictionary-category-card div a:hover,
.term-chip:hover {
  border-color: #8aa997;
  background: var(--green-soft);
  color: var(--green-dark);
  text-decoration: none;
}

.status-pill.ready {
  background: var(--green-soft);
  color: var(--green-dark);
}

.status-pill.blocked {
  background: var(--red-soft);
  color: var(--red);
}

.message {
  background: var(--green-soft);
  border-color: #c7dac8;
}

.message.error {
  background: var(--red-soft);
  border-color: #e2b9b1;
}

.safety-callout {
  background: var(--gold-soft);
  border-color: #e7cf87;
}

.public-layout,
.journal-layout {
  gap: 34px;
}

.public-section {
  padding-top: 26px;
}

.public-section h2 {
  font-size: 1.55rem;
}

.evidence-brief {
  gap: 14px;
}

.evidence-sentence {
  text-decoration-color: rgba(33, 93, 64, 0.45);
}

@media (max-width: 980px) {
  .shell {
    padding: 52px 26px 72px;
  }

  .topbar {
    position: static;
    min-height: 0;
  }

  .home-hero h1 {
    font-size: 4rem;
  }

  .collection-hero h1,
  .consumer-hero h1,
  .site-hero h1,
  .public-hero h1 {
    font-size: 2.75rem;
  }

  .article-toc,
  .public-toc {
    top: 18px;
  }
}

@media (max-width: 760px) {
  .shell {
    padding: 44px 22px 64px;
  }

  .site-hero,
  .public-hero,
  .home-hero,
  .collection-hero,
  .consumer-hero {
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 28px;
  }

  .home-hero h1 {
    font-size: 3.25rem;
  }

  .collection-hero h1,
  .consumer-hero h1,
  .site-hero h1,
  .public-hero h1 {
    font-size: 2.35rem;
  }

  .dictionary-use-strip,
  .plain-answer,
  .review-strip {
    padding: 22px;
  }

  .not-found-page {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 20px;
  }

  .not-found-copy h1 {
    max-width: 12ch;
  }

  .section-gap {
    margin-top: 42px;
  }
}

@media (max-width: 520px) {
  .shell {
    padding: 36px 18px 54px;
  }

  .topbar {
    padding: 14px 16px;
  }

  .topbar nav a {
    min-height: 32px;
    padding: 5px 7px;
    font-size: 0.84rem;
  }

  .home-hero h1,
  .collection-hero h1,
  .consumer-hero h1,
  .site-hero h1,
  .public-hero h1 {
    font-size: 2.08rem;
    line-height: 1.03;
  }

  .home-lede,
  .collection-hero p,
  .consumer-hero .lede,
  .research-intro {
    font-size: 1rem;
  }

  .section-heading {
    gap: 8px;
  }

  table {
    min-width: 640px;
  }
}

.topbar {
  align-items: center;
}

.topbar > a {
  display: inline-grid;
  gap: 2px;
  min-width: max-content;
  line-height: 1.05;
}

.topbar > a span {
  color: var(--ink-strong);
  font-weight: 900;
}

.topbar > a small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.topbar nav {
  gap: 6px;
}

.topbar nav a {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 0.88rem;
}

.site-orientation {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  background: #f7fafc;
  padding: 10px 24px;
  color: var(--body-copy);
  font-size: 0.94rem;
  line-height: 1.45;
  text-align: center;
}

.site-orientation strong {
  color: var(--ink-strong);
  white-space: nowrap;
}

.landing-explainer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 34px;
}

.landing-explainer article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
}

.landing-explainer span {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-explainer p {
  margin: 0;
  color: var(--body-copy);
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .topbar {
    gap: 14px;
  }

  .topbar nav {
    justify-content: flex-start;
  }

  .landing-explainer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-orientation {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  .topbar > a {
    width: 100%;
  }

  .topbar nav {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .site-orientation {
    padding: 9px 16px;
    font-size: 0.88rem;
  }

  .topbar nav a {
    padding: 5px 7px;
  }
}

.home-corpus-card,
.home-search,
.table-wrap {
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 980px) {
  .home-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .home-hero {
    gap: 24px;
  }
}
