:root {
  --color-ink: #18222d;
  --color-ink-soft: #46515d;
  --color-paper: #f4efe6;
  --color-paper-bright: #fbf8f2;
  --color-panel: rgba(255, 250, 244, 0.88);
  --color-panel-strong: #fffaf4;
  --color-clay: #b85c38;
  --color-clay-deep: #8f3f21;
  --color-sage: #5f7467;
  --color-wheat: #d8b36a;
  --color-line: rgba(24, 34, 45, 0.12);
  --color-line-strong: rgba(24, 34, 45, 0.2);
  --color-shadow: rgba(24, 34, 45, 0.1);
  --color-shadow-strong: rgba(24, 34, 45, 0.16);
  --radius-card: 26px;
  --radius-pill: 999px;
  --radius-panel: 34px;
  --content-width: 1160px;
  --reading-width: 760px;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-label: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
}

/* Third directional pass: Diagnostics and Field Notes */

body.page-diagnostics,
body.page-notes {
  background: #f8f4ec;
}

body.page-diagnostics .site-header,
body.page-notes .site-header {
  background: rgba(248, 244, 236, 0.92);
  border-bottom: 1px solid rgba(24, 34, 45, 0.12);
  backdrop-filter: blur(14px);
}

.page-diagnostics .wordmark-main,
.page-diagnostics .hero-copy h1,
.page-diagnostics .section-head h2,
.page-diagnostics .diagnostic-card h3,
.page-diagnostics .cluster-card h3,
.page-diagnostics .resource-side-card h2,
.page-notes .wordmark-main,
.page-notes .hero-copy h1,
.page-notes .featured-note h2,
.page-notes .note-row h3,
.page-notes .article-head h1,
.page-notes .article-section h2,
.page-notes .widget h3 {
  font-family: var(--font-body);
}

.page-diagnostics .wordmark-main,
.page-notes .wordmark-main {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.page-diagnostics .nav-link,
.page-diagnostics .nav-panel-toggle,
.page-notes .nav-link,
.page-notes .nav-panel-toggle {
  border-radius: 0;
  padding: 0.8rem 0.4rem;
  color: var(--color-ink);
}

.page-diagnostics .nav-link:hover,
.page-diagnostics .nav-link.is-active,
.page-notes .nav-link:hover,
.page-notes .nav-link.is-active {
  background: none;
  transform: none;
  border-bottom: 2px solid currentColor;
}

.page-diagnostics .btn-primary,
.page-diagnostics .btn-secondary,
.page-notes .btn-primary,
.page-notes .btn-secondary {
  border-radius: 0;
  box-shadow: none;
}

.page-diagnostics .btn-primary,
.page-notes .btn-primary {
  background: #111;
  color: #fffaf4;
}

.page-diagnostics .btn-secondary,
.page-notes .btn-secondary {
  background: transparent;
  color: var(--color-ink);
}

.resource-hero {
  padding: 2.4rem 0 0;
}

.resource-hero-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 2rem;
  align-items: end;
  border-top: 1px solid rgba(24, 34, 45, 0.08);
  padding-top: 2rem;
}

.resource-hero .hero-copy,
.resource-hero .hero-art {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.page-diagnostics .hero-copy h1,
.page-notes .hero-copy h1 {
  margin-top: 0.45rem;
  max-width: 10ch;
  font-size: clamp(4.2rem, 8vw, 6.7rem);
  line-height: 0.89;
  letter-spacing: -0.09em;
  font-weight: 900;
}

.page-diagnostics .lead,
.page-notes .lead,
.article-dek {
  max-width: 24ch;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--color-ink);
}

.resource-side {
  display: grid;
  gap: 1rem;
  align-items: end;
}

.resource-side-card,
.diagnostic-card,
.cluster-card,
.featured-note,
.widget {
  border: 1px solid rgba(24, 34, 45, 0.12);
  background: #fffdf8;
}

.resource-side-card {
  padding: 1.4rem;
}

.resource-side-card h2 {
  margin: 0.45rem 0 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.page-diagnostics .secondary-link,
.page-notes .secondary-link,
.page-diagnostics .card-footer-link,
.page-notes .card-footer-link,
.widget-links a {
  color: var(--color-ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28rem;
}

.resource-index {
  justify-self: end;
  font-family: var(--font-body);
  font-size: clamp(7rem, 18vw, 11rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.08em;
  color: rgba(24, 34, 45, 0.12);
}

.resource-section {
  padding: 0;
}

.resource-frame {
  padding: 1.8rem 0 0;
  border-top: 1px solid rgba(24, 34, 45, 0.12);
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 1rem;
  align-items: end;
}

.section-intro {
  max-width: 38ch;
  color: var(--color-ink-soft);
}

.tight-list {
  display: grid;
  gap: 0.55rem;
  padding-left: 1rem;
  margin: 0;
}

.compact-steps {
  padding-left: 1.2rem;
}

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

.diagnostic-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.35rem;
}

.diagnostic-card h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.diagnostic-card p,
.diagnostic-card li,
.cluster-card p,
.note-row-body p,
.note-row-link,
.widget p,
.widget li {
  color: var(--color-ink-soft);
}

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

.cluster-card {
  min-height: 170px;
  padding: 1.25rem;
}

.cluster-card h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.utility-band {
  margin-top: 2rem;
  background: #111;
}

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

.utility-band-cell {
  padding: 1.6rem 0;
  color: rgba(255, 250, 244, 0.78);
}

.utility-band-cell:first-child {
  padding-right: 1.4rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.utility-band-cell:last-child {
  padding-left: 1.4rem;
}

.utility-band-cell .section-label {
  color: var(--color-clay);
}

.utility-band-cell ul {
  margin: 0.75rem 0 0;
}

.page-diagnostics .cta-banner,
.page-notes .cta-banner {
  border-radius: 0;
  box-shadow: none;
  background: #101010;
}

.page-diagnostics .cta-banner h2,
.page-notes .cta-banner h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  font-weight: 900;
}

.page-diagnostics .cta-banner .btn-primary,
.page-notes .cta-banner .btn-primary {
  background: var(--color-clay);
}

.page-diagnostics .cta-banner .btn-secondary,
.page-notes .cta-banner .btn-secondary {
  color: #fffaf4;
  border-color: rgba(255, 255, 255, 0.28);
}

.page-note-article .cta-banner {
  grid-template-columns: 1fr;
  align-items: start;
}

.page-note-article .cta-banner .button-row {
  display: flex;
  flex-wrap: wrap;
}

.featured-note {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 1rem;
  padding: 1.4rem;
}

.featured-note-copy h2 {
  margin: 0.45rem 0 0.85rem;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 0.93;
  letter-spacing: -0.08em;
  font-weight: 900;
}

.featured-note-side {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding-left: 1.2rem;
  border-left: 1px solid rgba(24, 34, 45, 0.12);
}

.topic-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.15rem 0 1rem;
}

.topic-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(24, 34, 45, 0.12);
  background: #fffdf8;
  padding: 0.6rem 0.8rem;
  font-family: var(--font-label);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.note-list {
  display: grid;
}

.note-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(180px, 0.52fr);
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(24, 34, 45, 0.12);
}

.note-row-meta {
  display: grid;
  gap: 0.45rem;
}

.note-row-index {
  font-family: var(--font-body);
  font-size: 2.4rem;
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.08em;
  color: rgba(24, 34, 45, 0.28);
}

.note-row-body h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.note-row-link {
  display: grid;
  gap: 0.35rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(24, 34, 45, 0.12);
}

.note-row-link span {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-clay-deep);
}

.note-row-link a {
  color: var(--color-ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28rem;
}

.article-shell {
  padding: 0;
}

.article-head {
  padding: 2rem 0 1.2rem;
  border-top: 1px solid rgba(24, 34, 45, 0.12);
}

.article-head h1 {
  margin: 0.45rem 0 0.9rem;
  max-width: 11ch;
  font-size: clamp(4.4rem, 8vw, 6.8rem);
  line-height: 0.89;
  letter-spacing: -0.09em;
  font-weight: 900;
}

.article-dek {
  max-width: 48ch;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.05rem;
}

.page-note-article .pill {
  border-radius: 0;
  background: #fffdf8;
  border-color: rgba(24, 34, 45, 0.12);
}

.article-section-wrap {
  padding: 0 0 2rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.55fr);
  gap: 1.4rem;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-section {
  padding: 1.3rem 0;
  border-top: 1px solid rgba(24, 34, 45, 0.12);
}

.article-section h2 {
  margin: 0.45rem 0 0.7rem;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  font-weight: 900;
}

.article-section p,
.article-section li {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-ink);
}

.article-checklist,
.article-steps {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.2rem;
}

.article-callout {
  margin-top: 1rem;
  padding: 1.2rem 1.2rem 1.2rem 1rem;
  border: 1px solid rgba(24, 34, 45, 0.12);
  border-left: 4px solid var(--color-clay);
  background: #fffdf8;
}

.article-callout strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-callout p {
  margin: 0;
}

.topic-ladder {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.topic-ladder-step,
.route-card {
  border: 1px solid rgba(24, 34, 45, 0.12);
  background: #fffdf8;
}

.topic-ladder-step {
  display: grid;
  gap: 0.65rem;
  padding: 1.25rem;
}

.topic-ladder-step strong,
.route-card h3 {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2.7vw, 2rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.topic-ladder-step p,
.route-card p,
.route-card li {
  color: var(--color-ink-soft);
}

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

.route-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.35rem;
}

.route-card.route-card--primary {
  background: #fff9f2;
  border-color: rgba(184, 92, 56, 0.2);
}

.article-rail {
  position: sticky;
  top: 5.8rem;
  display: grid;
  gap: 1rem;
}

.widget {
  padding: 1.2rem;
}

.widget h3 {
  margin: 0.45rem 0 0.55rem;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.widget-links {
  display: grid;
  gap: 0.6rem;
  padding-left: 1rem;
  margin: 0;
}

@media (max-width: 1100px) {
  .diagnostic-grid,
  .cluster-grid,
  .featured-note,
  .note-row,
  .utility-band-grid,
  .article-layout,
  .topic-ladder,
  .route-grid {
    grid-template-columns: 1fr;
  }

  .utility-band-cell:first-child {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 1.2rem;
  }

  .utility-band-cell:last-child {
    padding-left: 0;
    padding-top: 1.2rem;
  }

  .note-row-link,
  .featured-note-side {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(24, 34, 45, 0.12);
    padding-top: 1rem;
  }
}

@media (max-width: 960px) {
  .resource-hero-grid,
  .split-head {
    grid-template-columns: 1fr;
  }

  .article-rail {
    position: static;
  }
}

@media (max-width: 760px) {
  .page-diagnostics .hero-copy h1,
  .page-notes .hero-copy h1,
  .article-head h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .resource-index {
    font-size: clamp(5.6rem, 28vw, 8rem);
  }

  .note-row-meta {
    grid-template-columns: auto auto;
    align-items: center;
  }
}

/* P6C-R: contemporary Diagnostics and Field Notes body grammar */
.page-v2-shell .resource-page,
.page-v2-shell .field-note-page { width: 100%; margin: 0; }
.resource-hero-v3,
.resource-section-v3,
.resource-band-v3,
.resource-cta-v3,
.field-note-head,
.field-note-body { padding: 0; border-bottom: 1px solid var(--surface-line); }
.resource-hero-v3__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr); min-height: 520px; }
.resource-hero-v3__copy { min-width: 0; padding: clamp(4rem, 8vw, 7rem) var(--shell-gutter); }
.resource-hero-v3__copy h1,
.field-note-head h1 { max-width: 11ch; margin: 0 0 1.4rem; font-family: var(--shell-sans); font-size: clamp(3.2rem, 6vw, 5.8rem); line-height: .94; letter-spacing: -.065em; }
.resource-hero-v3__copy > p:not(.eyebrow) { max-width: 44ch; color: var(--surface-muted); }
.resource-hero-v3__side { min-height: 100%; padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; position: relative; }
.resource-hero-v3__side h2 { max-width: 15ch; color: var(--surface-fg); font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1; }
.resource-hero-v3__side ul,
.resource-hero-v3__side ol { max-width: 32ch; color: var(--surface-muted); }
.resource-hero-v3__side a { margin-top: 1.5rem; color: var(--surface-fg); }
.resource-hero-v3__index { align-self: flex-end; margin-top: auto; font-size: clamp(6rem, 15vw, 10rem); line-height: .8; color: color-mix(in srgb, var(--surface-fg) 12%, transparent); }
.resource-section-v3 > .shell-frame { padding: clamp(4rem, 8vw, 7rem) var(--shell-gutter); }
.resource-heading-v3 { width: 100%; max-width: none; margin-bottom: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.3fr) minmax(0, 1.2fr); gap: 2rem; align-items: start; }
.resource-heading-v3 > div { grid-column: 1 / span 2; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.3fr); gap: 2rem; align-items: start; }
.resource-heading-v3 > div > .section-index { grid-column: 1; grid-row: 1; }
.resource-heading-v3 > div > .eyebrow { grid-column: 1; grid-row: 2; }
.resource-heading-v3 > div > h2 { grid-column: 2; grid-row: 1 / span 2; max-width: 15ch; margin: 0; color: var(--surface-fg); font-size: clamp(2.3rem, 4.5vw, 4.7rem); line-height: .95; letter-spacing: -.055em; }
.resource-heading-v3 > p:last-child { grid-column: 3; color: var(--surface-muted); }
.resource-heading-v3--compact > div { grid-column: 1 / -1; }
.resource-heading-v3--compact > div > h2 { grid-column: 2; }
.resource-card-grid { display: grid; border-top: 1px solid var(--surface-line); border-left: 1px solid var(--surface-line); }
.resource-card-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.resource-card-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.resource-card-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.resource-card-v3 { min-width: 0; min-height: 220px; padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 1rem; border-right: 1px solid var(--surface-line); border-bottom: 1px solid var(--surface-line); background: var(--surface-bg); }
.resource-card-v3 h3 { margin: 0; color: var(--surface-fg); font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1; }
.resource-card-v3 p, .resource-card-v3 li { color: var(--surface-muted); }
.resource-card-v3 a { margin-top: auto; color: var(--surface-fg); font-weight: 700; }
.resource-card-v3--accent { border-top: 5px solid var(--rust); }
.resource-band-v3 { background: var(--forest); color: var(--surface-fg); }
.resource-band-v3__grid, .resource-cta-v3__inner { padding: clamp(4rem, 8vw, 7rem) var(--shell-gutter); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(2rem, 6vw, 6rem); }
.resource-band-v3 h2, .resource-cta-v3 h2 { max-width: 15ch; margin: 0; color: var(--surface-fg); font-size: clamp(2.5rem, 5vw, 5rem); line-height: .94; letter-spacing: -.06em; }
.resource-band-v3 p, .resource-band-v3 li { color: var(--surface-muted); }
.resource-cta-v3 { background: var(--rust); color: var(--surface-fg); }
.resource-cta-v3__actions { align-self: end; }
.resource-cta-v3 a { color: var(--surface-fg); }
.resource-page .actions, .field-note-page .actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.note-feature-v3 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); border: 1px solid var(--surface-line); background: var(--surface-bg); }
.note-feature-v3 > * { padding: clamp(2rem, 4vw, 4rem); }
.note-feature-v3 aside { background: #d9d9d2; border-left: 1px solid var(--surface-line); }
.note-feature-v3 h2 { max-width: 12ch; margin: 0 0 1rem; color: var(--surface-fg); font-size: clamp(2rem, 4vw, 4rem); line-height: .95; letter-spacing: -.055em; }
.note-feature-v3 p, .note-feature-v3 li { color: var(--surface-muted); }
.note-feature-v3 a, .note-archive-v3 a { color: var(--surface-fg); font-weight: 700; }
.note-archive-v3 { border-top: 1px solid var(--surface-line); }
.note-archive-v3 article { display: grid; grid-template-columns: 120px minmax(0, 1fr) 220px; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--surface-line); }
.note-archive-v3 h3 { margin: 0 0 .6rem; color: var(--surface-fg); font-size: clamp(1.5rem, 2.5vw, 2.4rem); line-height: 1; }
.note-archive-v3 p { margin: 0; color: var(--surface-muted); }
.note-archive-v3__meta { display: grid; align-content: start; gap: .35rem; color: var(--surface-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.field-note-head > .shell-frame, .field-note-body > .shell-frame { padding: clamp(4rem, 8vw, 7rem) var(--shell-gutter); }
.field-note-dek { max-width: 52ch; color: var(--surface-muted); font-size: clamp(1.15rem, 2vw, 1.5rem); }
.field-note-meta { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; margin-top: 2rem; color: var(--surface-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.field-note-body__grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(260px, .9fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.field-note-reading { max-width: 72ch; }
.field-note-reading > section { padding: 0 0 3rem; margin-bottom: 3rem; border-bottom: 1px solid var(--surface-line); }
.field-note-reading h2 { margin: 0 0 1rem; color: var(--surface-fg); font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1; letter-spacing: -.04em; }
.field-note-reading p, .field-note-reading li { color: var(--surface-muted); line-height: 1.7; }
.field-note-related { position: sticky; top: 2rem; padding: 1.5rem; background: #d9d9d2; border: 1px solid var(--surface-line); }
.field-note-related h2 { margin-top: 0; color: var(--surface-fg); font-size: 1.2rem; }
.field-note-related a { display: grid; gap: .35rem; padding: 1rem 0; border-top: 1px solid var(--surface-line); color: var(--surface-fg); font-weight: 700; }
.field-note-related a span { color: var(--surface-muted); font-weight: 400; }
.field-note-callout, .field-note-cta { padding: 1.5rem; background: #d9d9d2; border-left: 4px solid var(--rust); }
.field-note-cta { background: var(--forest); border-left: 0; }
.field-note-cta, .field-note-cta h2, .field-note-cta p, .field-note-cta a { color: #fbfbf6; }
.field-note-cta a { font-weight: 700; }
@media (max-width: 900px) {
  .resource-hero-v3__inner, .note-feature-v3, .resource-band-v3__grid, .resource-cta-v3__inner, .field-note-body__grid { grid-template-columns: 1fr; }
  .resource-hero-v3__side { min-height: 360px; }
  .resource-heading-v3 { grid-template-columns: 1fr; }
  .resource-heading-v3 > div { grid-column: 1; }
  .resource-heading-v3 > p:last-child { grid-column: 1; }
  .note-feature-v3 aside { border-left: 0; border-top: 1px solid var(--surface-line); }
  .field-note-related { position: static; }
}
@media (max-width: 640px) {
  .resource-hero-v3__copy h1, .field-note-head h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .resource-card-grid--two, .resource-card-grid--three, .resource-card-grid--four { grid-template-columns: 1fr; }
  .resource-heading-v3 > div { grid-template-columns: 1fr; gap: .75rem; }
  .resource-heading-v3 > div > .section-index, .resource-heading-v3 > div > .eyebrow, .resource-heading-v3 > div > h2 { grid-column: 1; grid-row: auto; }
  .resource-heading-v3 > div > h2 { font-size: clamp(2.4rem, 12vw, 4rem); }
  .note-archive-v3 article { grid-template-columns: 1fr; gap: .75rem; }
}

/* P6B route convergence. The route families use the same outer-surface /
   inner-frame ownership as Home; their content-specific grids remain local. */
.page-v2-shell main.p2b-page,
.page-v2-shell main.p2c-page,
.page-v2-shell main.offer-v2-shell {
  width: 100%;
  margin: 0;
}

.page-v2-shell .p2b-page .page-hero > .shell-frame,
.page-v2-shell .p2c-page .page-hero > .shell-frame,
.page-v2-shell .offer-v2-shell .offer-v2-hero > .shell-frame {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr);
}

/* The outer hero surface is full-width; only its inner frame owns the split.
   This neutralizes the legacy section grid so the frame cannot be trapped in
   its first track. */
.page-v2-shell .p2b-page .page-hero,
.page-v2-shell .p2c-page .page-hero,
.page-v2-shell .offer-v2-shell .offer-v2-hero,
.page-v2-shell .p2b-page .page-band,
.page-v2-shell .offer-v2-shell .offer-v2-band,
.page-v2-shell .p2b-page .cta-section,
.page-v2-shell .offer-v2-shell .offer-v2-cta {
  display: block;
  grid-template-columns: none;
}

.page-v2-shell .p2b-page .page-hero-copy,
.page-v2-shell .p2b-page .page-hero-side,
.page-v2-shell .p2c-page .page-hero-copy,
.page-v2-shell .p2c-page .page-hero-side,
.page-v2-shell .offer-v2-shell .offer-v2-hero-copy,
.page-v2-shell .offer-v2-shell .offer-v2-hero-side {
  min-width: 0;
}

.page-v2-shell .p2b-page .page-hero h1,
.page-v2-shell .p2c-page .page-hero h1,
.page-v2-shell .offer-v2-shell .offer-v2-hero h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 5.2vw, 5rem);
}

.page-v2-shell .p2b-page .page-band,
.page-v2-shell .p2c-page .page-band,
.page-v2-shell .p2b-page .content-section,
.page-v2-shell .p2c-page .content-section,
.page-v2-shell .offer-v2-shell .offer-v2-section {
  padding: 0;
}

.page-v2-shell .p2b-page .page-band > .shell-frame {
  padding: 1.2rem var(--shell-gutter);
  display: grid;
  grid-template-columns: 0.8fr 3.2fr;
  gap: 2rem;
}

.page-v2-shell .p2b-page .content-section > .shell-frame,
.page-v2-shell .p2c-page .content-section > .shell-frame,
.page-v2-shell .offer-v2-shell .offer-v2-section > .shell-frame {
  padding: clamp(4rem, 8vw, 7rem) var(--shell-gutter);
}

.page-v2-shell .p2b-page .cta-section > .shell-frame,
.page-v2-shell .offer-v2-shell .offer-v2-cta > .shell-frame {
  padding: clamp(3rem, 7vw, 5.5rem) var(--shell-gutter);
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: clamp(2rem, 6vw, 6rem);
}

.page-v2-shell .p2b-page .argument-heading,
.page-v2-shell .p2c-page .argument-heading,
.page-v2-shell .offer-v2-shell .argument-heading {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.3fr) minmax(0, 1.2fr);
}

.page-v2-shell .p2b-page .argument-heading h2,
.page-v2-shell .p2c-page .argument-heading h2,
.page-v2-shell .offer-v2-shell .argument-heading h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--surface-fg, var(--shell-ink));
  font-family: var(--shell-sans);
  font-size: clamp(2.3rem, 4.6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.page-v2-shell .p2b-page .argument-heading > p:last-child,
.page-v2-shell .p2c-page .argument-heading > p:last-child,
.page-v2-shell .offer-v2-shell .argument-heading > p:last-child {
  color: var(--surface-muted, var(--shell-ink-soft));
}

.page-v2-shell .p2b-page .argument-heading .section-rail,
.page-v2-shell .p2c-page .argument-heading .section-rail,
.page-v2-shell .offer-v2-shell .argument-heading .offer-v2-rail {
  border-top-color: var(--surface-line, var(--shell-line));
}

.page-v2-shell .p2b-page .surface--dark .argument-heading h2,
.page-v2-shell .offer-v2-shell .surface--dark .argument-heading h2 {
  color: var(--surface-fg);
}

.page-v2-shell .p2b-page .surface--dark .argument-heading > p:last-child,
.page-v2-shell .offer-v2-shell .surface--dark .argument-heading > p:last-child {
  color: var(--surface-muted);
}

.page-v2-shell .p2b-page .surface--dark .brief-block h3,
.page-v2-shell .p2b-page .surface--dark .brief-block p,
.page-v2-shell .p2b-page .surface--dark .sequence h3,
.page-v2-shell .p2b-page .surface--dark .sequence p {
  color: var(--surface-fg);
}

.page-v2-shell .p2b-page .surface--dark .brief-block p,
.page-v2-shell .p2b-page .surface--dark .sequence p {
  color: var(--surface-muted);
}

.page-v2-shell .offer-v2-shell .offer-v2-band > .shell-frame {
  padding: 1.2rem var(--shell-gutter);
  display: grid;
  grid-template-columns: 0.8fr 3.2fr;
  gap: 2rem;
}

.page-v2-shell .offer-v2-shell .offer-v2-hero-copy {
  border-right: 1px solid var(--shell-line);
}

.page-v2-shell .offer-v2-shell .offer-v2-rail {
  min-height: 2.4rem;
  padding-top: 0.65rem;
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.6rem;
}

.page-v2-shell .offer-v2-shell .offer-v2-cta > .shell-frame {
  color: var(--paper-light);
}

@media (max-width: 900px) {
  .page-v2-shell .p2b-page .page-hero > .shell-frame,
  .page-v2-shell .p2c-page .page-hero > .shell-frame,
  .page-v2-shell .offer-v2-shell .offer-v2-hero > .shell-frame,
  .page-v2-shell .p2b-page .cta-section > .shell-frame,
  .page-v2-shell .offer-v2-shell .offer-v2-cta > .shell-frame {
    grid-template-columns: 1fr;
  }

  .page-v2-shell .p2b-page .argument-heading,
  .page-v2-shell .p2c-page .argument-heading,
  .page-v2-shell .offer-v2-shell .argument-heading {
    grid-template-columns: 1fr 2fr;
  }

  .page-v2-shell .p2b-page .argument-heading > p:last-child,
  .page-v2-shell .p2c-page .argument-heading > p:last-child,
  .page-v2-shell .offer-v2-shell .argument-heading > p:last-child {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .page-v2-shell .p2b-page .page-band > .shell-frame,
  .page-v2-shell .offer-v2-shell .offer-v2-band > .shell-frame,
  .page-v2-shell .p2b-page .argument-heading,
  .page-v2-shell .p2c-page .argument-heading,
  .page-v2-shell .offer-v2-shell .argument-heading,
  .page-v2-shell .offer-v2-shell .offer-v2-four,
  .page-v2-shell .offer-v2-shell .offer-v2-three {
    grid-template-columns: 1fr;
  }

  .page-v2-shell .p2b-page .argument-heading > p:last-child,
  .page-v2-shell .p2c-page .argument-heading > p:last-child,
  .page-v2-shell .offer-v2-shell .argument-heading > p:last-child {
    grid-column: auto;
  }
}

/* P2A home family. These rules are deliberately scoped so the shared P1
   shell and other page-family compositions remain unchanged. */
main.home-v2 {
  width: 100%;
  margin: 0;
}

main.home-v2 .page-grid,
main.home-v2 .starting-grid,
main.home-v2 .operator-grid,
main.home-v2 .output-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
}

main.home-v2 .hero {
  min-height: 660px;
  border-bottom: 1px solid var(--shell-line);
}

main.home-v2 .hero-copy {
  padding: clamp(4rem, 8vw, 7rem) var(--shell-gutter) clamp(3rem, 7vw, 6rem);
  border-right: 1px solid var(--shell-line);
}

main.home-v2 .eyebrow,
main.home-v2 .board-head,
main.home-v2 .route-marker,
main.home-v2 .narrow-label,
main.home-v2 .fit-label,
main.home-v2 .wireframe-note {
  font-family: var(--shell-mono);
  font-size: 0.69rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

main.home-v2 .eyebrow {
  margin: 0 0 1.1rem;
  color: var(--rust);
  font-weight: 700;
}

main.home-v2 h1,
main.home-v2 h2,
main.home-v2 h3,
main.home-v2 p {
  margin-top: 0;
}

main.home-v2 h1 {
  max-width: 11ch;
  margin-bottom: 1.5rem;
  color: var(--shell-ink);
  font-family: var(--shell-sans);
  font-size: clamp(3.5rem, 6.8vw, 6.4rem);
  line-height: 0.93;
  letter-spacing: -0.065em;
  font-weight: 760;
}

main.home-v2 .hero-turn {
  max-width: 22ch;
  margin-bottom: 1.4rem;
  font-size: clamp(1.5rem, 2.7vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

main.home-v2 .hero-dek {
  max-width: 55ch;
  color: var(--shell-ink-soft);
}

main.home-v2 .actions,
main.home-v2 .button-row {
  margin-top: 2.2rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

main.home-v2 .button {
  min-height: 50px;
  padding: 0.78rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
}

main.home-v2 .button-primary {
  background: var(--forest);
  color: var(--paper-light);
  border-color: var(--forest);
}

main.home-v2 .button-light {
  width: 100%;
  background: var(--paper-light);
  color: var(--shell-ink);
}

main.home-v2 .button:hover {
  transform: translateY(-2px);
}

main.home-v2 .button:focus-visible,
main.home-v2 a:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

main.home-v2 .text-link {
  font-size: 0.86rem;
  font-weight: 700;
}

main.home-v2 .path-board {
  min-width: 0;
  padding: clamp(2rem, 4vw, 3.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--forest);
  color: var(--paper-light);
}

main.home-v2 .board-head {
  padding-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--shell-line-light);
}

main.home-v2 .board-status {
  color: var(--acid);
  text-align: right;
}

main.home-v2 .path {
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

main.home-v2 .path li {
  position: relative;
  min-height: 72px;
  border-bottom: 1px solid var(--shell-line-light);
}

main.home-v2 .path li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--shell-line-light);
}

main.home-v2 .path li::after {
  content: "";
  position: absolute;
  left: 0.76rem;
  top: 1.45rem;
  width: 0.48rem;
  height: 0.48rem;
  border: 1px solid var(--paper-light);
  background: var(--forest);
  border-radius: 50%;
}

main.home-v2 .path-trigger {
  min-height: 72px;
  padding: 0.7rem 0 0.8rem 3.6rem;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 1rem;
  color: inherit;
  text-decoration: none;
}

main.home-v2 .path-trigger:focus-visible {
  outline-offset: -3px;
}

main.home-v2 .path .is-active {
  color: var(--acid);
  background: rgba(248, 246, 239, 0.035);
}

main.home-v2 .path .is-active::after {
  background: var(--rust);
  border-color: var(--rust);
  box-shadow: 0 0 0 6px rgba(201, 87, 53, 0.16);
}

main.home-v2 .path-id {
  position: absolute;
  left: 0;
  top: 1.06rem;
  transform: translateX(-155%);
  font-family: var(--shell-mono);
  font-size: 0.62rem;
  color: rgba(248, 246, 239, 0.52);
}

main.home-v2 .path strong {
  font-size: 1rem;
}

main.home-v2 .path small {
  grid-column: 1;
  color: rgba(248, 246, 239, 0.66);
}

main.home-v2 .path-state {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--shell-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

main.home-v2 .board-detail {
  min-height: 174px;
  padding-top: 1.2rem;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  border-top: 1px solid var(--shell-line-light);
}

main.home-v2 .board-detail-label,
main.home-v2 .board-detail-action {
  font-family: var(--shell-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

main.home-v2 .board-detail-label {
  margin-bottom: 0.55rem;
  color: var(--acid);
}

main.home-v2 .board-detail strong {
  max-width: 33ch;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

main.home-v2 .board-detail p {
  max-width: 50ch;
  margin: 0;
  font-size: 0.76rem;
  color: rgba(248, 246, 239, 0.68);
}

main.home-v2 .board-detail-action {
  margin-top: 0.8rem;
  color: rgba(248, 246, 239, 0.52);
}

main.home-v2 .symptom-ledger {
  padding: 0;
  border-bottom: 1px solid var(--shell-line);
}

main.home-v2 .symptom-ledger > .home-frame {
  padding: 1.4rem var(--shell-gutter);
  display: grid;
  grid-template-columns: 1.2fr 4fr;
  gap: 2rem;
}

main.home-v2 .symptom-ledger .eyebrow {
  margin: 0;
}

main.home-v2 .symptom-ledger ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

main.home-v2 .symptom-ledger li {
  padding: 0 1rem;
  border-left: 1px solid var(--shell-line);
  font-size: 0.82rem;
  line-height: 1.35;
}

main.home-v2 .section-pad {
  padding: clamp(4.5rem, 9vw, 8rem) var(--shell-gutter);
  border-bottom: 1px solid var(--shell-line);
}

.argument-heading {
  /* Full-frame note / argument / support anatomy, shared with the Audit. */
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.3fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

main.home-v2 .section-rail {
  min-height: 2.4rem;
  padding-top: 0.65rem;
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.6rem;
  border-top: 1px solid var(--shell-line);
}

main.home-v2 .section-index {
  font-family: var(--shell-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--shell-ink-soft);
}

main.home-v2 .argument-heading .eyebrow {
  margin: 0;
}

main.home-v2 .argument-heading h2 {
  margin-bottom: 0;
  max-width: 15ch;
  font-size: clamp(2.4rem, 4.8vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

main.home-v2 .argument-heading > p:last-child {
  color: var(--shell-ink-soft);
}

main.home-v2 .starting-grid {
  border: 1px solid var(--shell-line);
}

main.home-v2 .primary-route {
  padding: clamp(2rem, 4vw, 3.5rem);
  border-right: 1px solid var(--shell-line);
  background: var(--paper-light);
}

main.home-v2 .route-marker {
  margin-bottom: 4rem;
  display: flex;
  justify-content: space-between;
  color: var(--rust);
}

main.home-v2 .route-condition {
  margin-bottom: 0.6rem;
  color: var(--shell-ink-soft);
  font-size: 0.84rem;
}

main.home-v2 .primary-route h3 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

main.home-v2 .deliverable-line {
  margin: 2rem 0;
  padding: 1.1rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem 1rem;
  border-top: 1px solid var(--shell-line);
  border-bottom: 1px solid var(--shell-line);
  list-style-position: inside;
  font-size: 0.82rem;
}

main.home-v2 .narrow-routes {
  display: flex;
  flex-direction: column;
}

main.home-v2 .narrow-label {
  margin: 0;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--shell-line);
  color: var(--rust);
}

main.home-v2 .narrow-route {
  min-height: 170px;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  border-bottom: 1px solid var(--shell-line);
}

main.home-v2 .narrow-route h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

main.home-v2 .narrow-route a {
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 750;
}

main.home-v2 .routing-note {
  margin: auto 0 0;
  padding: 1.5rem;
  color: var(--shell-ink-soft);
  font-size: 0.78rem;
}

main.home-v2 .review-section {
  background: var(--forest);
  color: var(--paper-light);
}

main.home-v2 .review-section .section-rail {
  border-top-color: var(--shell-line-light);
}

main.home-v2 .review-section .section-index,
main.home-v2 .review-section .argument-heading > p:last-child {
  color: rgba(248, 246, 239, 0.68);
}

main.home-v2 .review-map {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--shell-line-light);
  border-left: 1px solid var(--shell-line-light);
  list-style: none;
}

main.home-v2 .review-map li {
  min-height: 235px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--shell-line-light);
  border-bottom: 1px solid var(--shell-line-light);
}

main.home-v2 .review-number {
  font-family: var(--shell-mono);
  font-size: 0.68rem;
  color: var(--acid);
}

main.home-v2 .review-map h3 {
  margin: auto 0 0.7rem;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

main.home-v2 .review-map p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(248, 246, 239, 0.64);
}

main.home-v2 .review-bottom {
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  font-size: 0.83rem;
}

main.home-v2 .review-bottom p {
  margin: 0;
}

main.home-v2 .review-principle {
  color: var(--acid);
  text-align: right;
}

main.home-v2 .output-grid {
  gap: clamp(2rem, 5vw, 5rem);
}

main.home-v2 .output-list {
  border-top: 1px solid var(--shell-line);
}

main.home-v2 .output-list article {
  padding: 1.35rem 0;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  border-bottom: 1px solid var(--shell-line);
}

main.home-v2 .output-list article > span {
  font-family: var(--shell-mono);
  font-size: 0.66rem;
  color: var(--rust);
}

main.home-v2 .output-list h3 {
  margin-bottom: 0.25rem;
  font-size: 1.35rem;
}

main.home-v2 .output-list p {
  margin: 0;
  color: var(--shell-ink-soft);
  font-size: 0.86rem;
}

main.home-v2 .input-note {
  padding: 2rem;
  align-self: start;
  background: #ddd9cb;
  border-left: 5px solid var(--acid);
}

main.home-v2 .input-note h3 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

main.home-v2 .input-note ul {
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--shell-line);
  list-style: none;
}

main.home-v2 .input-note li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--shell-line);
  font-size: 0.82rem;
}

main.home-v2 .operator-section {
  background: var(--surface-bg);
}

main.home-v2 .operator-grid {
  border-top: 1px solid var(--shell-line);
  border-left: 1px solid var(--shell-line);
}

main.home-v2 .operator-statement {
  min-height: 430px;
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--shell-line);
  border-bottom: 1px solid var(--shell-line);
  background: var(--paper-light);
}

main.home-v2 .operator-answer {
  max-width: 25ch;
  margin-bottom: 1.5rem;
  font-size: clamp(1.8rem, 3.7vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

main.home-v2 .operator-statement > p:not(.operator-answer) {
  max-width: 58ch;
  color: var(--shell-ink-soft);
}

main.home-v2 .operator-statement .text-link {
  margin-top: auto;
  align-self: flex-start;
}

main.home-v2 .operator-range article {
  min-height: 107px;
  padding: 1.2rem 1.5rem;
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  align-items: start;
  border-right: 1px solid var(--shell-line);
  border-bottom: 1px solid var(--shell-line);
}

main.home-v2 .operator-range span {
  font-family: var(--shell-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust);
}

main.home-v2 .operator-range p {
  margin: 0;
  font-size: 0.84rem;
}

main.home-v2 .fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  border-top: 1px solid var(--shell-line);
  border-left: 1px solid var(--shell-line);
}

main.home-v2 .fit-grid > * {
  min-height: 330px;
  padding: 1.6rem;
  border-right: 1px solid var(--shell-line);
  border-bottom: 1px solid var(--shell-line);
}

main.home-v2 .fit-label {
  color: var(--rust);
}

main.home-v2 .fit-label.is-fit {
  color: var(--forest);
}

main.home-v2 .fit-grid ul {
  margin: 3rem 0 0;
  padding-left: 1.1rem;
}

main.home-v2 .fit-grid li {
  margin-bottom: 0.7rem;
  font-size: 0.86rem;
}

main.home-v2 .operator-note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--acid);
}

main.home-v2 .operator-note .eyebrow {
  color: var(--shell-ink);
}

main.home-v2 .operator-note > p:last-child {
  max-width: 29ch;
  margin: auto 0 0;
  font-size: 1.22rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

main.home-v2 .apply-section {
  padding: 0;
}

main.home-v2 .apply-section > .home-frame {
  padding: clamp(3rem, 7vw, 6rem) var(--shell-gutter);
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: clamp(2rem, 6vw, 6rem);
}

main.home-v2 .apply-section .eyebrow {
  color: var(--paper-light);
}

main.home-v2 .apply-section h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.4rem, 4.8vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

main.home-v2 .apply-action {
  align-self: end;
}

main.home-v2 .apply-action p {
  color: rgba(248, 246, 239, 0.78);
  font-size: 0.86rem;
}

@media (max-width: 900px) {
  main.home-v2 .page-grid,
  main.home-v2 .starting-grid,
  main.home-v2 .operator-grid,
  main.home-v2 .output-grid,
  main.home-v2 .apply-section > .home-frame {
    grid-template-columns: 1fr;
  }

  main.home-v2 .hero-copy,
  main.home-v2 .primary-route,
  main.home-v2 .operator-statement {
    border-right: 0;
    border-bottom: 1px solid var(--shell-line);
  }

  main.home-v2 .argument-heading {
    grid-template-columns: 1fr 2fr;
  }

  main.home-v2 .argument-heading > p:last-child {
    grid-column: 2;
  }

  main.home-v2 .symptom-ledger > .home-frame {
    grid-template-columns: 1fr;
  }

  main.home-v2 .symptom-ledger ul {
    grid-template-columns: repeat(2, 1fr);
  }

  main.home-v2 .symptom-ledger li {
    padding: 0.7rem 0;
    border-left: 0;
    border-top: 1px solid var(--shell-line);
  }

  main.home-v2 .review-map {
    grid-template-columns: repeat(2, 1fr);
  }

  main.home-v2 .fit-grid {
    grid-template-columns: 1fr 1fr;
  }

  main.home-v2 .operator-note {
    grid-column: 1 / -1;
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  main.home-v2 .hero {
    min-height: 0;
  }

  main.home-v2 h1 {
    font-size: clamp(3.2rem, 15vw, 4.7rem);
  }

  main.home-v2 .hero-copy {
    padding-top: 4rem;
  }

  main.home-v2 .path-board {
    min-height: 680px;
  }

  main.home-v2 .symptom-ledger ul,
  main.home-v2 .argument-heading,
  main.home-v2 .review-map,
  main.home-v2 .review-bottom,
  main.home-v2 .fit-grid {
    grid-template-columns: 1fr;
  }

  main.home-v2 .argument-heading > p:last-child {
    grid-column: auto;
  }

  main.home-v2 .argument-heading h2 {
    max-width: 15ch;
  }

  main.home-v2 .deliverable-line {
    grid-template-columns: 1fr;
  }

  main.home-v2 .narrow-route {
    align-items: flex-start;
    flex-direction: column;
  }

  main.home-v2 .operator-range article {
    grid-template-columns: 1fr;
  }

  main.home-v2 .review-map li {
    min-height: 160px;
  }

  main.home-v2 .review-principle {
    text-align: left;
  }

  main.home-v2 .fit-grid > * {
    min-height: 260px;
  }

  main.home-v2 .operator-note {
    grid-column: auto;
  }
}

/* P2B offer/owner families. Shared anatomy stays visible, while the route
   variants keep their own dominant argument and contrast treatment. */
body.page-audit-v2,
body.page-about-v2 {
  background: var(--paper);
}

body.page-audit-v2 .p2b-page,
body.page-about-v2 .p2b-page {
  width: min(100%, var(--shell-max));
  margin-inline: auto;
}

body.page-audit-v2 .page-hero,
body.page-about-v2 .page-hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr);
  border-bottom: 1px solid var(--shell-line);
}

body.page-audit-v2 .page-hero-copy,
body.page-about-v2 .page-hero-copy {
  min-height: 570px;
  padding: clamp(3.5rem, 7vw, 6.5rem) var(--shell-gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--shell-line);
}

body.page-audit-v2 .page-hero h1,
body.page-about-v2 .page-hero h1 {
  max-width: 12ch;
  margin: 0 0 1.4rem;
  color: var(--shell-ink);
  font-family: var(--shell-sans);
  font-size: clamp(3.2rem, 6.2vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  font-weight: 760;
}

body.page-audit-v2 .hero-dek,
body.page-about-v2 .hero-dek {
  max-width: 52ch;
  color: var(--shell-ink-soft);
}

body.page-audit-v2 .actions,
body.page-about-v2 .actions {
  margin-top: 2.2rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

body.page-audit-v2 .button,
body.page-about-v2 .button {
  min-height: 50px;
  padding: 0.78rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
}

body.page-audit-v2 .button-primary,
body.page-about-v2 .button-primary {
  background: var(--forest);
  color: var(--paper-light);
  border-color: var(--forest);
}

body.page-audit-v2 .button-light,
body.page-about-v2 .button-light {
  background: var(--paper-light);
  color: var(--shell-ink);
}

body.page-audit-v2 .button:hover,
body.page-about-v2 .button:hover {
  transform: translateY(-2px);
}

body.page-audit-v2 a:focus-visible,
body.page-about-v2 a:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

body.page-audit-v2 .page-hero-side,
body.page-about-v2 .page-hero-side {
  padding: clamp(2rem, 4vw, 3.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--forest);
  color: var(--paper-light);
}

body.page-about-v2 .page-hero-side.is-paper {
  background: #ddd9cb;
  color: var(--shell-ink);
}

body.page-audit-v2 .hero-side-label,
body.page-about-v2 .hero-side-label,
body.page-audit-v2 .page-label,
body.page-about-v2 .page-label,
body.page-audit-v2 .mini-label,
body.page-about-v2 .mini-label,
body.page-audit-v2 .sequence-number,
body.page-about-v2 .sequence-number,
body.page-audit-v2 .route-label,
body.page-about-v2 .route-label {
  font-family: var(--shell-mono);
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.page-audit-v2 .hero-side-label,
body.page-about-v2 .hero-side-label,
body.page-audit-v2 .page-label,
body.page-about-v2 .page-label,
body.page-audit-v2 .route-label,
body.page-about-v2 .route-label,
body.page-audit-v2 .mini-label,
body.page-about-v2 .mini-label {
  color: var(--rust);
}

body.page-audit-v2 .page-hero-side:not(.is-paper) .hero-side-label,
body.page-audit-v2 .page-hero-side:not(.is-paper) .page-label {
  color: var(--acid);
}

body.page-audit-v2 .page-hero-side h2,
body.page-about-v2 .page-hero-side h2 {
  margin: 0.8rem 0 1rem;
  color: inherit;
  font-family: var(--shell-sans);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

body.page-audit-v2 .orientation-list,
body.page-about-v2 .orientation-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.page-audit-v2 .orientation-list li {
  padding: 0.8rem 0;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.8rem;
  border-bottom: 1px solid var(--shell-line-light);
}

body.page-audit-v2 .orientation-list span,
body.page-about-v2 .sequence-number {
  color: var(--acid);
}

body.page-audit-v2 .page-band {
  padding: 1.2rem var(--shell-gutter);
  display: grid;
  grid-template-columns: 0.8fr 3.2fr;
  gap: 2rem;
  border-bottom: 1px solid var(--shell-line);
}

body.page-audit-v2 .page-band p {
  margin: 0;
}

body.page-audit-v2 .page-band-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

body.page-audit-v2 .page-band-items > * {
  padding: 0 1rem;
  border-left: 1px solid var(--shell-line);
  color: var(--shell-ink-soft);
  font-size: 0.82rem;
}

body.page-audit-v2 .content-section,
body.page-about-v2 .content-section {
  padding: clamp(4rem, 8vw, 7rem) var(--shell-gutter);
  border-bottom: 1px solid var(--shell-line);
}

body.page-audit-v2 .content-section.is-dark,
body.page-about-v2 .content-section.is-dark {
  background: var(--forest);
  color: var(--paper-light);
}

body.page-audit-v2 .content-section.is-muted,
body.page-about-v2 .content-section.is-muted {
  background: #ddd9cb;
}

body.page-audit-v2 .content-heading,
body.page-about-v2 .content-heading {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 0.8fr 2.3fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

body.page-audit-v2 .content-heading h2,
body.page-about-v2 .content-heading h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--shell-ink);
  font-family: var(--shell-sans);
  font-size: clamp(2.3rem, 4.6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

body.page-audit-v2 .content-section.is-dark .content-heading h2,
body.page-about-v2 .content-section.is-dark .content-heading h2 {
  color: var(--paper-light);
}

body.page-audit-v2 .content-heading > p:last-child,
body.page-about-v2 .content-heading > p:last-child {
  color: var(--shell-ink-soft);
}

body.page-audit-v2 .content-section.is-dark .content-heading > p:last-child,
body.page-about-v2 .content-section.is-dark .content-heading > p:last-child {
  color: rgba(248, 246, 239, 0.68);
}

body.page-audit-v2 .section-rail,
body.page-about-v2 .section-rail {
  min-height: 2.4rem;
  padding-top: 0.65rem;
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.6rem;
  border-top: 1px solid var(--shell-line);
}

body.page-audit-v2 .section-rail.is-dark,
body.page-about-v2 .section-rail.is-dark {
  border-top-color: var(--shell-line-light);
}

body.page-audit-v2 .section-index,
body.page-about-v2 .section-index {
  font-family: var(--shell-mono);
  font-size: 0.66rem;
  color: var(--shell-ink-soft);
}

body.page-audit-v2 .section-rail.is-dark .section-index,
body.page-about-v2 .section-rail.is-dark .section-index {
  color: rgba(248, 246, 239, 0.55);
}

body.page-audit-v2 .decision-split,
body.page-about-v2 .decision-split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
  border: 1px solid var(--shell-line);
}

body.page-audit-v2 .decision-split > *,
body.page-about-v2 .decision-split > * {
  padding: clamp(1.8rem, 4vw, 3.2rem);
}

body.page-audit-v2 .decision-split > * + *,
body.page-about-v2 .decision-split > * + * {
  border-left: 1px solid var(--shell-line);
}

body.page-audit-v2 .decision-primary,
body.page-about-v2 .decision-primary {
  background: var(--paper-light);
}

body.page-audit-v2 .decision-primary h3,
body.page-about-v2 .decision-primary h3 {
  max-width: 12ch;
  margin: 0.7rem 0 1rem;
  color: var(--shell-ink);
  font-family: var(--shell-sans);
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

body.page-audit-v2 .decision-secondary,
body.page-about-v2 .decision-secondary {
  background: #ddd9cb;
}

body.page-audit-v2 .rule-list,
body.page-about-v2 .rule-list {
  margin: 1.4rem 0 0;
  padding: 0;
  border-top: 1px solid var(--shell-line);
  list-style: none;
}

body.page-audit-v2 .rule-list li,
body.page-about-v2 .rule-list li {
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--shell-line);
  font-size: 0.84rem;
}

body.page-audit-v2 .content-section.is-dark .section-rail,
body.page-about-v2 .content-section.is-dark .section-rail,
body.page-audit-v2 .content-section.is-dark .rule-list,
body.page-about-v2 .content-section.is-dark .rule-list {
  border-color: var(--shell-line-light);
}

body.page-audit-v2 .sequence,
body.page-about-v2 .sequence {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--shell-line-light);
  border-left: 1px solid var(--shell-line-light);
  list-style: none;
}

body.page-audit-v2 .sequence li,
body.page-about-v2 .sequence li {
  min-height: 230px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--shell-line-light);
  border-bottom: 1px solid var(--shell-line-light);
}

body.page-audit-v2 .sequence h3,
body.page-about-v2 .sequence h3 {
  margin: auto 0 0.5rem;
  color: var(--paper-light);
  font-family: var(--shell-sans);
  font-size: 1.45rem;
}

body.page-audit-v2 .sequence p,
body.page-about-v2 .sequence p {
  margin: 0;
  color: rgba(248, 246, 239, 0.68);
  font-size: 0.8rem;
}

body.page-about-v2 .content-section:not(.is-dark) .sequence {
  border-color: var(--shell-line);
}

body.page-about-v2 .content-section:not(.is-dark) .sequence li {
  border-color: var(--shell-line);
}

body.page-about-v2 .content-section:not(.is-dark) .sequence-number {
  color: var(--rust);
}

body.page-about-v2 .content-section:not(.is-dark) .sequence h3 {
  color: var(--shell-ink);
}

body.page-about-v2 .content-section:not(.is-dark) .sequence p {
  color: var(--shell-ink-soft);
}

/* P3A narrow-offer family. The common structure keeps scope, triage, and
   routing visible while each offer retains its own failure language. */
body.page-offer-v2 {
  background: var(--paper);
}

body.page-offer-v2 .offer-v2-shell {
  width: min(100%, var(--shell-max));
  margin-inline: auto;
}

body.page-offer-v2 .offer-v2-hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr);
  border-bottom: 1px solid var(--shell-line);
}

body.page-offer-v2 .offer-v2-hero-copy {
  min-height: 570px;
  padding: clamp(3.5rem, 7vw, 6.5rem) var(--shell-gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--shell-line);
}

body.page-offer-v2 .offer-v2-hero h1 {
  max-width: 12ch;
  margin: 0 0 1.4rem;
  color: var(--shell-ink);
  font-family: var(--shell-sans);
  font-size: clamp(3.2rem, 6.2vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  font-weight: 760;
}

body.page-offer-v2 .offer-v2-dek {
  max-width: 52ch;
  color: var(--shell-ink-soft);
}

body.page-offer-v2 .offer-v2-actions {
  margin-top: 2.2rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

body.page-offer-v2 .offer-v2-button {
  min-height: 50px;
  padding: 0.78rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
}

body.page-offer-v2 .offer-v2-button-primary {
  background: var(--forest);
  color: var(--paper-light);
  border-color: var(--forest);
}

body.page-offer-v2 .offer-v2-button-light {
  background: var(--paper-light);
  color: var(--shell-ink);
}

body.page-offer-v2 .offer-v2-button:hover {
  transform: translateY(-2px);
}

body.page-offer-v2 .offer-v2-hero-side {
  padding: clamp(2rem, 4vw, 3.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--paper-light);
}

body.page-offer-v2 .offer-v2-rust {
  background: var(--rust);
}

body.page-offer-v2 .offer-v2-forest {
  background: var(--forest);
}

body.page-offer-v2 .offer-v2-side-label,
body.page-offer-v2 .offer-v2-label,
body.page-offer-v2 .offer-v2-rail,
body.page-offer-v2 .offer-v2-four > article > span,
body.page-offer-v2 .offer-v2-three > article > span {
  font-family: var(--shell-mono);
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.page-offer-v2 .offer-v2-side-label,
body.page-offer-v2 .offer-v2-label {
  color: var(--rust);
}

body.page-offer-v2 .offer-v2-hero-side .offer-v2-side-label {
  color: var(--acid);
}

body.page-offer-v2 .offer-v2-hero-side h2 {
  margin: 0.8rem 0 1rem;
  color: inherit;
  font-family: var(--shell-sans);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

body.page-offer-v2 .offer-v2-orientation {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

body.page-offer-v2 .offer-v2-orientation li {
  padding: 0.8rem 0;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.8rem;
  border-bottom: 1px solid var(--shell-line-light);
}

body.page-offer-v2 .offer-v2-orientation li span,
body.page-offer-v2 .offer-v2-four > article > span,
body.page-offer-v2 .offer-v2-three > article > span {
  color: var(--acid);
}

body.page-offer-v2 .offer-v2-band {
  padding: 1.2rem var(--shell-gutter);
  display: grid;
  grid-template-columns: 0.8fr 3.2fr;
  gap: 2rem;
  border-bottom: 1px solid var(--shell-line);
}

body.page-offer-v2 .offer-v2-band-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

body.page-offer-v2 .offer-v2-band-items p {
  margin: 0;
  padding: 0 1rem;
  border-left: 1px solid var(--shell-line);
  color: var(--shell-ink-soft);
  font-size: 0.82rem;
}

body.page-offer-v2 .offer-v2-section {
  padding: clamp(4rem, 8vw, 7rem) var(--shell-gutter);
  border-bottom: 1px solid var(--shell-line);
}

body.page-offer-v2 .offer-v2-dark {
  background: var(--forest);
  color: var(--paper-light);
}

body.page-offer-v2 .offer-v2-muted {
  background: #ddd9cb;
}

body.page-offer-v2 .offer-v2-heading {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 0.8fr 2.3fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

body.page-offer-v2 .offer-v2-heading h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--shell-ink);
  font-family: var(--shell-sans);
  font-size: clamp(2.3rem, 4.6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

body.page-offer-v2 .offer-v2-dark .offer-v2-heading h2 {
  color: var(--paper-light);
}

body.page-offer-v2 .offer-v2-heading > p:last-child {
  color: var(--shell-ink-soft);
}

body.page-offer-v2 .offer-v2-dark .offer-v2-heading > p:last-child {
  color: rgba(248, 246, 239, 0.68);
}

body.page-offer-v2 .offer-v2-rail {
  min-height: 2.4rem;
  padding-top: 0.65rem;
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.6rem;
  border-top: 1px solid var(--shell-line);
}

body.page-offer-v2 .offer-v2-rail span {
  color: var(--shell-ink-soft);
}

body.page-offer-v2 .offer-v2-dark .offer-v2-rail {
  border-color: var(--shell-line-light);
}

body.page-offer-v2 .offer-v2-dark .offer-v2-rail span {
  color: rgba(248, 246, 239, 0.55);
}

body.page-offer-v2 .offer-v2-decision,
body.page-offer-v2 .offer-v2-four,
body.page-offer-v2 .offer-v2-three {
  display: grid;
  border-top: 1px solid var(--shell-line);
  border-left: 1px solid var(--shell-line);
}

body.page-offer-v2 .offer-v2-decision {
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
}

body.page-offer-v2 .offer-v2-decision > * {
  padding: clamp(1.8rem, 4vw, 3.2rem);
}

body.page-offer-v2 .offer-v2-decision > * + * {
  border-left: 1px solid var(--shell-line);
}

body.page-offer-v2 .offer-v2-decision h3,
body.page-offer-v2 .offer-v2-four h3,
body.page-offer-v2 .offer-v2-three h3 {
  margin: 0.7rem 0 0.5rem;
  color: var(--shell-ink);
  font-family: var(--shell-sans);
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

body.page-offer-v2 .offer-v2-decision p,
body.page-offer-v2 .offer-v2-four p,
body.page-offer-v2 .offer-v2-three p {
  color: var(--shell-ink-soft);
  font-size: 0.86rem;
}

body.page-offer-v2 .offer-v2-rule-list {
  margin: 0 0 1.2rem;
  padding: 0;
  border-top: 1px solid var(--shell-line);
  list-style: none;
}

body.page-offer-v2 .offer-v2-rule-list li {
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--shell-line);
  font-size: 0.84rem;
}

body.page-offer-v2 .offer-v2-four {
  grid-template-columns: repeat(4, 1fr);
}

body.page-offer-v2 .offer-v2-three {
  grid-template-columns: repeat(3, 1fr);
}

body.page-offer-v2 .offer-v2-four > article,
body.page-offer-v2 .offer-v2-three > article {
  min-height: 205px;
  padding: 1.4rem;
  border-right: 1px solid var(--shell-line);
  border-bottom: 1px solid var(--shell-line);
}

body.page-offer-v2 .offer-v2-dark .offer-v2-four,
body.page-offer-v2 .offer-v2-dark .offer-v2-four > article {
  border-color: var(--shell-line-light);
}

body.page-offer-v2 .offer-v2-dark .offer-v2-four h3,
body.page-offer-v2 .offer-v2-dark .offer-v2-four p {
  color: var(--paper-light);
}

body.page-offer-v2 .offer-v2-dark .offer-v2-four p {
  color: rgba(248, 246, 239, 0.68);
}

body.page-offer-v2 .offer-v2-cta {
  padding: clamp(3rem, 7vw, 5.5rem) var(--shell-gutter);
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: clamp(2rem, 6vw, 6rem);
  background: var(--rust);
  color: var(--paper-light);
}

body.page-offer-v2 .offer-v2-cta .offer-v2-label {
  color: var(--paper-light);
}

body.page-offer-v2 .offer-v2-cta h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--paper-light);
  font-family: var(--shell-sans);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.97;
  letter-spacing: -0.06em;
}

body.page-offer-v2 .offer-v2-cta > div:last-child {
  align-self: end;
}

body.page-offer-v2 .offer-v2-cta > div:last-child p {
  color: rgba(248, 246, 239, 0.78);
  font-size: 0.85rem;
}

body.page-offer-v2 .offer-v2-cta-link {
  display: inline-block;
  margin: 1rem 0 0 1rem;
  color: var(--paper-light);
}

/* P4 campaign bridge: contextual, brief, and intentionally transport-free. */
body.page-campaign-v2 {
  background: var(--paper);
}

body.page-campaign-v2 .campaign-v2-shell {
  width: min(100%, var(--shell-max));
  margin-inline: auto;
}

body.page-campaign-v2 .campaign-v2-hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr);
  border-bottom: 1px solid var(--shell-line);
}

body.page-campaign-v2 .campaign-v2-hero-copy {
  min-height: 520px;
  padding: clamp(3.5rem, 8vw, 7rem) var(--shell-gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--shell-line);
}

body.page-campaign-v2 .campaign-v2-hero h1 {
  max-width: 11ch;
  margin: 0.5rem 0 1.2rem;
  color: var(--shell-ink);
  font-family: var(--shell-sans);
  font-size: clamp(3.2rem, 6.4vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

body.page-campaign-v2 .campaign-v2-hero-copy > p:last-child {
  max-width: 48ch;
  color: var(--shell-ink-soft);
}

body.page-campaign-v2 .campaign-v2-side {
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ddd9cb;
  color: var(--shell-ink);
}

body.page-campaign-v2 .campaign-v2-label {
  color: var(--rust);
  font-family: var(--shell-mono);
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.page-campaign-v2 .campaign-v2-side h2,
body.page-campaign-v2 .campaign-v2-decision h3 {
  margin: 0.8rem 0 1rem;
  color: inherit;
  font-family: var(--shell-sans);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

body.page-campaign-v2 .campaign-v2-side p:last-child,
body.page-campaign-v2 .campaign-v2-decision p:not(.campaign-v2-label) {
  color: var(--shell-ink-soft);
}

body.page-campaign-v2 .campaign-v2-section {
  padding: clamp(3rem, 7vw, 6rem) var(--shell-gutter);
}

body.page-campaign-v2 .campaign-v2-decision {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr);
  border: 1px solid var(--shell-line);
}

body.page-campaign-v2 .campaign-v2-decision > * {
  padding: clamp(1.8rem, 4vw, 3.2rem);
}

body.page-campaign-v2 .campaign-v2-decision > * + * {
  border-left: 1px solid var(--shell-line);
}

body.page-campaign-v2 .campaign-v2-decision ol {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: campaign-facts;
}

body.page-campaign-v2 .campaign-v2-decision li {
  padding: 1rem 0 1rem 2.6rem;
  position: relative;
  border-top: 1px solid var(--shell-line);
  counter-increment: campaign-facts;
}

body.page-campaign-v2 .campaign-v2-decision li::before {
  content: "0" counter(campaign-facts);
  position: absolute;
  left: 0;
  color: var(--rust);
  font-family: var(--shell-mono);
  font-size: 0.7rem;
}

body.page-campaign-v2 .campaign-v2-decision li span {
  display: block;
  margin-top: 0.25rem;
  color: var(--shell-ink-soft);
  font-size: 0.82rem;
}

body.page-campaign-v2 .campaign-v2-note {
  margin-top: 1.6rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--rust);
  background: #ddd9cb;
  color: var(--shell-ink-soft);
  font-size: 0.84rem;
}

body.page-campaign-v2 .campaign-v2-button {
  min-height: 50px;
  margin-top: 1.2rem;
  padding: 0.78rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: var(--paper-light);
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
}

body.page-campaign-v2 .campaign-v2-button:hover {
  transform: translateY(-2px);
}

body.page-campaign-v2 a:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  body.page-campaign-v2 .campaign-v2-hero,
  body.page-campaign-v2 .campaign-v2-decision {
    grid-template-columns: 1fr;
  }

  body.page-campaign-v2 .campaign-v2-hero-copy {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--shell-line);
  }

  body.page-campaign-v2 .campaign-v2-decision > * + * {
    border-top: 1px solid var(--shell-line);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  body.page-campaign-v2 .campaign-v2-hero h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }
}

body.page-offer-v2 a:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  body.page-offer-v2 .offer-v2-hero,
  body.page-offer-v2 .offer-v2-decision,
  body.page-offer-v2 .offer-v2-cta {
    grid-template-columns: 1fr;
  }

  body.page-offer-v2 .offer-v2-hero-copy {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--shell-line);
  }

  body.page-offer-v2 .offer-v2-heading {
    grid-template-columns: 1fr 2fr;
  }

  body.page-offer-v2 .offer-v2-heading > p:last-child {
    grid-column: 2;
  }

  body.page-offer-v2 .offer-v2-decision > * + * {
    border-top: 1px solid var(--shell-line);
    border-left: 0;
  }

  body.page-offer-v2 .offer-v2-four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  body.page-offer-v2 .offer-v2-hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  body.page-offer-v2 .offer-v2-band,
  body.page-offer-v2 .offer-v2-heading,
  body.page-offer-v2 .offer-v2-four,
  body.page-offer-v2 .offer-v2-three {
    grid-template-columns: 1fr;
  }

  body.page-offer-v2 .offer-v2-heading > p:last-child {
    grid-column: auto;
  }

  body.page-offer-v2 .offer-v2-band-items {
    grid-template-columns: 1fr;
  }

  body.page-offer-v2 .offer-v2-band-items p {
    padding: 0.7rem 0;
    border-top: 1px solid var(--shell-line);
    border-left: 0;
  }
}

body.page-audit-v2 .four-column,
body.page-about-v2 .four-column,
body.page-audit-v2 .two-column {
  display: grid;
  border-top: 1px solid var(--shell-line);
  border-left: 1px solid var(--shell-line);
}

body.page-audit-v2 .four-column,
body.page-about-v2 .four-column {
  grid-template-columns: repeat(4, 1fr);
}

body.page-audit-v2 .two-column {
  grid-template-columns: repeat(2, 1fr);
}

body.page-audit-v2 .four-column > *,
body.page-about-v2 .four-column > *,
body.page-audit-v2 .two-column > * {
  padding: clamp(1.4rem, 3vw, 2.3rem);
  border-right: 1px solid var(--shell-line);
  border-bottom: 1px solid var(--shell-line);
}

body.page-audit-v2 .content-section.is-dark .four-column,
body.page-about-v2 .content-section.is-dark .four-column,
body.page-audit-v2 .content-section.is-dark .four-column > *,
body.page-about-v2 .content-section.is-dark .four-column > * {
  border-color: var(--shell-line-light);
}

body.page-audit-v2 .output-card h3,
body.page-about-v2 .brief-block h3 {
  margin: 0.5rem 0 0.8rem;
  color: var(--shell-ink);
  font-family: var(--shell-sans);
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

body.page-audit-v2 .content-section.is-dark .brief-block h3,
body.page-about-v2 .content-section.is-dark .brief-block h3 {
  color: var(--paper-light);
}

body.page-audit-v2 .output-card p,
body.page-about-v2 .brief-block p {
  color: var(--shell-ink-soft);
  font-size: 0.86rem;
}

body.page-audit-v2 .content-section.is-dark .brief-block p,
body.page-about-v2 .content-section.is-dark .brief-block p {
  color: rgba(248, 246, 239, 0.68);
}

body.page-audit-v2 .cta-section,
body.page-about-v2 .cta-section {
  padding: clamp(3rem, 7vw, 5.5rem) var(--shell-gutter);
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: clamp(2rem, 6vw, 6rem);
  background: var(--rust);
  color: var(--paper-light);
}

body.page-audit-v2 .cta-section .page-label,
body.page-about-v2 .cta-section .page-label {
  color: var(--paper-light);
}

body.page-audit-v2 .cta-section h2,
body.page-about-v2 .cta-section h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--paper-light);
  font-family: var(--shell-sans);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.97;
  letter-spacing: -0.06em;
}

body.page-audit-v2 .cta-section-side,
body.page-about-v2 .cta-section-side {
  align-self: end;
}

body.page-audit-v2 .cta-section-side p,
body.page-about-v2 .cta-section-side p {
  color: rgba(248, 246, 239, 0.78);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  body.page-audit-v2 .page-hero,
  body.page-about-v2 .page-hero,
  body.page-audit-v2 .decision-split,
  body.page-about-v2 .decision-split,
  body.page-audit-v2 .cta-section,
  body.page-about-v2 .cta-section {
    grid-template-columns: 1fr;
  }

  body.page-audit-v2 .page-hero-copy,
  body.page-about-v2 .page-hero-copy {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--shell-line);
  }

  body.page-audit-v2 .content-heading,
  body.page-about-v2 .content-heading {
    grid-template-columns: 1fr 2fr;
  }

  body.page-audit-v2 .content-heading > p:last-child,
  body.page-about-v2 .content-heading > p:last-child {
    grid-column: 2;
  }

  body.page-audit-v2 .decision-split > * + *,
  body.page-about-v2 .decision-split > * + * {
    border-left: 0;
    border-top: 1px solid var(--shell-line);
  }

  body.page-audit-v2 .four-column,
  body.page-about-v2 .four-column,
  body.page-audit-v2 .sequence {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  body.page-audit-v2 .page-hero h1,
  body.page-about-v2 .page-hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  body.page-audit-v2 .page-band,
  body.page-audit-v2 .content-heading,
  body.page-about-v2 .content-heading,
  body.page-audit-v2 .two-column,
  body.page-audit-v2 .four-column,
  body.page-about-v2 .four-column,
  body.page-audit-v2 .sequence,
  body.page-about-v2 .sequence {
    grid-template-columns: 1fr;
  }

  body.page-audit-v2 .content-heading > p:last-child,
  body.page-about-v2 .content-heading > p:last-child {
    grid-column: auto;
  }

  body.page-audit-v2 .page-band-items {
    grid-template-columns: 1fr;
  }

  body.page-audit-v2 .page-band-items > * {
    padding: 0.7rem 0;
    border-left: 0;
    border-top: 1px solid var(--shell-line);
  }

  body.page-audit-v2 .sequence li,
  body.page-about-v2 .sequence li {
    min-height: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  main.home-v2 .button:hover {
    transform: none;
  }
}

/* P2D legal family. Quiet reading surface with a stable summary rail. */
body.page-legal-v2 {
  background: var(--paper);
}

body.page-legal-v2 .legal-v2-shell {
  width: min(100%, var(--shell-max));
  margin-inline: auto;
}

body.page-legal-v2 .legal-v2-head {
  padding: clamp(4rem, 9vw, 8rem) var(--shell-gutter) clamp(3rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--shell-line);
}

body.page-legal-v2 .legal-v2-head h1 {
  max-width: 10ch;
  margin: 0.5rem 0 1.4rem;
  color: var(--shell-ink);
  font-family: var(--shell-sans);
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

body.page-legal-v2 .legal-v2-lead {
  max-width: 58ch;
  margin: 0;
  color: var(--shell-ink-soft);
  font-size: 1.05rem;
}

body.page-legal-v2 .legal-v2-status {
  max-width: 70ch;
  margin: 2rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--rust);
  background: #ddd9cb;
  color: var(--shell-ink-soft);
  font-size: 0.86rem;
}

body.page-legal-v2 .legal-v2-status strong {
  color: var(--shell-ink);
}

body.page-legal-v2 .legal-v2-section {
  padding: clamp(3rem, 7vw, 6rem) var(--shell-gutter);
}

body.page-legal-v2 .legal-v2-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

body.page-legal-v2 .legal-v2-rail {
  position: sticky;
  top: 1.5rem;
  align-self: start;
}

body.page-legal-v2 .legal-v2-rail nav {
  display: grid;
  margin-top: 0.8rem;
  border-top: 1px solid var(--shell-line);
}

body.page-legal-v2 .legal-v2-rail a {
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--shell-line);
  color: var(--shell-ink-soft);
  font-size: 0.8rem;
  text-decoration: none;
}

body.page-legal-v2 .legal-v2-rail a:hover {
  color: var(--rust);
}

body.page-legal-v2 .legal-v2-copy > section {
  padding: 0 0 clamp(2.6rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--shell-line);
}

body.page-legal-v2 .legal-v2-copy > section + section {
  padding-top: clamp(2.6rem, 5vw, 4.5rem);
}

body.page-legal-v2 .legal-v2-copy .section-label {
  color: var(--rust);
}

body.page-legal-v2 .legal-v2-copy h2 {
  max-width: 18ch;
  margin: 0.65rem 0 1rem;
  color: var(--shell-ink);
  font-family: var(--shell-sans);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

body.page-legal-v2 .legal-v2-copy p {
  max-width: 65ch;
  color: var(--shell-ink-soft);
}

body.page-legal-v2 .legal-v2-copy a {
  color: var(--shell-ink);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

body.page-legal-v2 .legal-v2-copy a:hover {
  color: var(--rust);
}

body.page-legal-v2 a:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  body.page-legal-v2 .legal-v2-head {
    padding-top: 3.5rem;
  }

  body.page-legal-v2 .legal-v2-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  body.page-legal-v2 .legal-v2-rail {
    position: static;
  }

  body.page-legal-v2 .legal-v2-rail nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }
}

/* P2C intake/confirmation family. This owns screening and receipt anatomy;
   it does not create a local form or provider transport. */
body.page-apply-v2,
body.page-thank-you-v2 {
  background: var(--paper);
}

body.page-apply-v2 .p2c-page,
body.page-thank-you-v2 .p2c-page {
  width: min(100%, var(--shell-max));
  margin-inline: auto;
}

body.page-apply-v2 .page-hero,
body.page-thank-you-v2 .page-hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr);
  border-bottom: 1px solid var(--shell-line);
}

body.page-apply-v2 .page-hero-copy,
body.page-thank-you-v2 .page-hero-copy {
  min-height: 570px;
  padding: clamp(3.5rem, 7vw, 6.5rem) var(--shell-gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--shell-line);
}

body.page-apply-v2 .page-hero h1,
body.page-thank-you-v2 .page-hero h1 {
  max-width: 12ch;
  margin: 0 0 1.4rem;
  color: var(--shell-ink);
  font-family: var(--shell-sans);
  font-size: clamp(3.2rem, 6.2vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  font-weight: 760;
}

body.page-apply-v2 .hero-dek,
body.page-thank-you-v2 .hero-dek {
  max-width: 52ch;
  color: var(--shell-ink-soft);
}

body.page-apply-v2 .page-hero-side,
body.page-thank-you-v2 .page-hero-side {
  padding: clamp(2rem, 4vw, 3.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--forest);
  color: var(--paper-light);
}

body.page-apply-v2 .hero-side-label,
body.page-thank-you-v2 .hero-side-label,
body.page-apply-v2 .route-label,
body.page-thank-you-v2 .route-label,
body.page-apply-v2 .mini-label,
body.page-thank-you-v2 .mini-label,
body.page-apply-v2 .sequence-number,
body.page-thank-you-v2 .sequence-number,
body.page-apply-v2 .provider-status {
  font-family: var(--shell-mono);
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.page-apply-v2 .hero-side-label,
body.page-thank-you-v2 .hero-side-label,
body.page-apply-v2 .route-label,
body.page-thank-you-v2 .route-label {
  color: var(--acid);
}

body.page-apply-v2 .content-section,
body.page-thank-you-v2 .content-section {
  padding: clamp(4rem, 8vw, 7rem) var(--shell-gutter);
  border-bottom: 1px solid var(--shell-line);
}

body.page-apply-v2 .content-section.is-muted,
body.page-thank-you-v2 .content-section.is-muted {
  background: #ddd9cb;
}

body.page-apply-v2 .content-heading,
body.page-thank-you-v2 .content-heading {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 0.8fr 2.3fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

body.page-apply-v2 .content-heading h2,
body.page-thank-you-v2 .content-heading h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--shell-ink);
  font-family: var(--shell-sans);
  font-size: clamp(2.3rem, 4.6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

body.page-apply-v2 .content-heading > p:last-child,
body.page-thank-you-v2 .content-heading > p:last-child {
  color: var(--shell-ink-soft);
}

body.page-apply-v2 .section-rail,
body.page-thank-you-v2 .section-rail {
  min-height: 2.4rem;
  padding-top: 0.65rem;
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.6rem;
  border-top: 1px solid var(--shell-line);
}

body.page-apply-v2 .section-index,
body.page-thank-you-v2 .section-index {
  font-family: var(--shell-mono);
  font-size: 0.66rem;
  color: var(--shell-ink-soft);
}

body.page-apply-v2 .screening-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 2.6fr);
  gap: clamp(2rem, 5vw, 5rem);
}

body.page-apply-v2 .side-rail {
  align-self: start;
  border-top: 1px solid var(--shell-line);
}

body.page-apply-v2 .side-rail.is-sticky {
  position: sticky;
  top: 1.5rem;
}

body.page-apply-v2 .summary-nav {
  display: block;
  margin: 0;
  padding: 0;
}

body.page-apply-v2 .summary-nav a,
body.page-apply-v2 .summary-nav span {
  padding: 0.8rem 0;
  display: block;
  border-bottom: 1px solid var(--shell-line);
  color: var(--shell-ink);
  font-size: 0.8rem;
  text-decoration: none;
}

body.page-apply-v2 .summary-nav a:hover,
body.page-apply-v2 .summary-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

body.page-apply-v2 .form-group {
  margin-bottom: 2.5rem;
  padding: 1.8rem;
  border: 1px solid var(--shell-line);
  background: var(--paper-light);
}

body.page-apply-v2 .form-group-head {
  margin-bottom: 1.6rem;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
}

body.page-apply-v2 .form-group-head h2 {
  margin: 0 0 0.7rem;
  color: var(--shell-ink);
  font-family: var(--shell-sans);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

body.page-apply-v2 .form-group-head p,
body.page-apply-v2 .field-placeholder small {
  color: var(--shell-ink-soft);
}

body.page-apply-v2 .sequence-number {
  color: var(--rust);
}

body.page-apply-v2 .field-placeholder {
  margin-top: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--shell-line);
}

body.page-apply-v2 .field-placeholder span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
}

body.page-apply-v2 .field-placeholder small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
}

body.page-apply-v2 .provider-handoff {
  padding: 1.8rem;
  border-left: 5px solid var(--acid);
  background: var(--surface-bg);
}

body.page-apply-v2 .provider-handoff h2 {
  margin: 0.6rem 0 0.8rem;
  color: var(--shell-ink);
  font-family: var(--shell-sans);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

body.page-apply-v2 .provider-handoff p:not(.route-label):not(.provider-status) {
  color: var(--surface-muted);
}

body.page-apply-v2 .provider-handoff .button-primary {
  margin-top: 0.8rem;
  padding: 0.78rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--forest);
  color: var(--paper-light);
  border: 1px solid var(--forest);
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
}

body.page-apply-v2 .provider-handoff .button-primary:hover,
body.page-apply-v2 .provider-handoff .button-primary:focus-visible {
  background: var(--rust);
  border-color: var(--rust);
}

body.page-apply-v2 .provider-status {
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--shell-line);
  color: var(--rust);
  line-height: 1.55;
}

body.page-apply-v2 .application-form-intro {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.4rem;
  border-left: 5px solid var(--acid);
  background: var(--surface-bg);
}

body.page-apply-v2 .application-form-intro p:last-child {
  max-width: 68ch;
  margin: 0.35rem 0 0;
  color: var(--surface-muted);
}

body.page-apply-v2 .application-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

body.page-apply-v2 .application-field {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  color: var(--shell-ink);
  font-size: 0.82rem;
  font-weight: 700;
}

body.page-apply-v2 .application-field--wide {
  grid-column: 1 / -1;
}

body.page-apply-v2 .application-field b {
  color: var(--rust);
}

body.page-apply-v2 .application-field input,
body.page-apply-v2 .application-field select,
body.page-apply-v2 .application-field textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.7rem 0.78rem;
  border: 1px solid var(--shell-line);
  border-radius: 0;
  background: var(--paper);
  color: var(--shell-ink);
  font: inherit;
  font-weight: 500;
}

body.page-apply-v2 .application-field textarea {
  min-height: 7rem;
  resize: vertical;
}

body.page-apply-v2 .application-field input:focus-visible,
body.page-apply-v2 .application-field select:focus-visible,
body.page-apply-v2 .application-field textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--acid) 72%, transparent);
  outline-offset: 2px;
}

body.page-apply-v2 .application-field [aria-invalid="true"] {
  border-color: var(--rust);
  background: #fff5ef;
}

body.page-apply-v2 .application-field small,
body.page-apply-v2 .application-submit-panel > small {
  min-height: 1.15em;
  color: #a22f17;
  font-size: 0.75rem;
  font-weight: 600;
}

body.page-apply-v2 .application-submit-panel {
  padding: clamp(1.5rem, 3vw, 2.3rem);
  border: 1px solid var(--shell-line);
  border-top: 5px solid var(--forest);
  background: var(--paper-light);
}

body.page-apply-v2 .application-submit-panel > p:first-of-type {
  max-width: 66ch;
  margin: 0 0 1.25rem;
  color: var(--shell-ink-soft);
  font-size: 0.85rem;
}

body.page-apply-v2 .application-submit-panel a {
  color: inherit;
  text-underline-offset: 0.2em;
}

body.page-apply-v2 .application-submit-panel .cf-turnstile {
  margin-bottom: 0.8rem;
}

body.page-apply-v2 .application-submit-panel .button-primary {
  margin-top: 1rem;
  padding: 0.86rem 1.05rem;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: var(--paper-light);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

body.page-apply-v2 .application-submit-panel .button-primary:hover,
body.page-apply-v2 .application-submit-panel .button-primary:focus-visible {
  border-color: var(--rust);
  background: var(--rust);
}

body.page-apply-v2 .application-submit-panel .button-primary:disabled {
  cursor: wait;
  opacity: 0.64;
}

body.page-apply-v2 .application-status {
  min-height: 1.3em;
  margin: 0.9rem 0 0;
  color: var(--forest);
  font-weight: 650;
}

body.page-apply-v2 .application-status[data-state="error"] {
  color: #a22f17;
}

body.page-apply-v2 .application-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

body.page-thank-you-v2 .three-column {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--shell-line);
  border-left: 1px solid var(--shell-line);
}

body.page-thank-you-v2 .three-column > * {
  padding: clamp(1.4rem, 3vw, 2.3rem);
  border-right: 1px solid var(--shell-line);
  border-bottom: 1px solid var(--shell-line);
}

body.page-thank-you-v2 .brief-block h3 {
  margin: 0.5rem 0 0.8rem;
  color: var(--shell-ink);
  font-family: var(--shell-sans);
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

body.page-thank-you-v2 .brief-block p,
body.page-thank-you-v2 .decision-secondary p {
  color: var(--shell-ink-soft);
  font-size: 0.86rem;
}

body.page-thank-you-v2 .mini-label {
  color: var(--rust);
}

body.page-thank-you-v2 .decision-split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
  border: 1px solid var(--shell-line);
}

body.page-thank-you-v2 .decision-split > * {
  padding: clamp(1.8rem, 4vw, 3.2rem);
}

body.page-thank-you-v2 .decision-split > * + * {
  border-left: 1px solid var(--shell-line);
}

body.page-thank-you-v2 .decision-primary {
  background: var(--paper-light);
}

body.page-thank-you-v2 .decision-primary h3 {
  max-width: 12ch;
  margin: 0.7rem 0 1rem;
  color: var(--shell-ink);
  font-family: var(--shell-sans);
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

body.page-thank-you-v2 .decision-secondary {
  background: #ddd9cb;
}

body.page-thank-you-v2 .decision-secondary .text-link {
  color: var(--shell-ink);
  font-size: 0.86rem;
  font-weight: 700;
}

body.page-apply-v2 .receipt-board,
body.page-thank-you-v2 .receipt-board {
  border-top: 1px solid var(--shell-line-light);
}

body.page-apply-v2 .receipt-row,
body.page-thank-you-v2 .receipt-row {
  padding: 1rem 0;
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  border-bottom: 1px solid var(--shell-line-light);
}

body.page-apply-v2 .receipt-row span,
body.page-thank-you-v2 .receipt-row span {
  font-family: var(--shell-mono);
  font-size: 0.66rem;
  color: var(--acid);
}

@media (max-width: 900px) {
  body.page-apply-v2 .page-hero,
  body.page-thank-you-v2 .page-hero,
  body.page-apply-v2 .screening-layout,
  body.page-thank-you-v2 .decision-split {
    grid-template-columns: 1fr;
  }

  body.page-apply-v2 .page-hero-copy,
  body.page-thank-you-v2 .page-hero-copy {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--shell-line);
  }

  body.page-apply-v2 .content-heading,
  body.page-thank-you-v2 .content-heading {
    grid-template-columns: 1fr 2fr;
  }

  body.page-apply-v2 .content-heading > p:last-child,
  body.page-thank-you-v2 .content-heading > p:last-child {
    grid-column: 2;
  }

  body.page-apply-v2 .side-rail.is-sticky {
    position: static;
  }

  body.page-thank-you-v2 .three-column {
    grid-template-columns: repeat(2, 1fr);
  }

  body.page-thank-you-v2 .decision-split > * + * {
    border-left: 0;
    border-top: 1px solid var(--shell-line);
  }
}

@media (max-width: 640px) {
  body.page-apply-v2 .page-hero h1,
  body.page-thank-you-v2 .page-hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  body.page-apply-v2 .content-heading,
  body.page-thank-you-v2 .content-heading,
  body.page-thank-you-v2 .three-column {
    grid-template-columns: 1fr;
  }

  body.page-apply-v2 .content-heading > p:last-child,
  body.page-thank-you-v2 .content-heading > p:last-child {
    grid-column: auto;
  }

  body.page-apply-v2 .form-group-head,
  body.page-thank-you-v2 .receipt-row {
    grid-template-columns: 1fr;
  }

  body.page-apply-v2 .application-field-grid {
    grid-template-columns: 1fr;
  }

  body.page-apply-v2 .application-field--wide {
    grid-column: auto;
  }
}

.form-boundary-note {
  max-width: 42rem;
  margin: 0 auto 1rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--color-clay);
  color: var(--color-ink-soft);
  font-family: var(--font-label);
  font-size: 0.72rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* P1 v2 shell: paper / forest / rust / acid grammar. Page families keep their
   own composition; this layer only owns the document frame and shell rhythm. */
:root {
  --paper: #f1ede3;
  --paper-light: #f8f6ef;
  --forest: #183d32;
  --rust: #c95735;
  --acid: #c8d86a;
  --shell-ink: #18231f;
  --shell-ink-soft: #47514c;
  --shell-line: rgba(24, 35, 31, 0.2);
  --shell-line-light: rgba(248, 246, 239, 0.22);
  --shell-max: 1240px;
  --shell-gutter: clamp(1.2rem, 4vw, 4rem);
  --shell-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shell-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

body.page-v2-shell {
  min-width: 0;
  background: var(--paper);
  color: var(--shell-ink);
  font-family: var(--shell-sans);
}

.page-v2-shell .identity {
  display: inline-flex;
  flex-direction: column;
  flex: 0 1 auto;
  line-height: 1.1;
  text-decoration: none;
}

.page-v2-shell .identity-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.page-v2-shell .identity-role,
.page-v2-shell .wireframe-note,
.page-v2-shell .wireframe-header nav,
.page-v2-shell .wireframe-footer .footer-links {
  font-family: var(--shell-mono);
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-v2-shell .identity-role {
  margin-top: 0.26rem;
  color: var(--shell-ink-soft);
}

.page-v2-shell .wireframe-header nav,
.page-v2-shell .wireframe-footer .footer-links {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.8rem);
}

.page-v2-shell .wireframe-header nav a,
.page-v2-shell .wireframe-footer a {
  color: inherit;
  text-decoration: none;
}

.page-v2-shell .wireframe-header nav a:hover,
.page-v2-shell .wireframe-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.page-v2-shell .wireframe-header nav a:focus-visible,
.page-v2-shell .wireframe-footer a:focus-visible,
.page-v2-shell .wireframe-header .identity:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

.page-v2-shell .wireframe-header nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

.page-v2-shell .wireframe-header .nav-action {
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--shell-ink);
}

.page-v2-shell .wireframe-footer .footer-links {
  flex-wrap: wrap;
  align-items: start;
  line-height: 1.6;
}

.page-v2-shell .wireframe-footer .footer-links--utility {
  justify-content: end;
}

.page-v2-shell .wireframe-note {
  grid-column: 1 / -1;
  margin: 0.6rem 0 0;
  color: var(--shell-ink-soft);
}

.page-v2-shell .page-v2-thanks {
  width: min(100%, var(--shell-max));
  margin-inline: auto;
}

.page-v2-shell .page-v2-thanks .hero {
  min-height: 0;
  display: grid;
  border-bottom: 1px solid var(--shell-line);
}

.page-v2-shell .page-v2-thanks .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
}

.page-v2-shell .page-v2-thanks .hero-copy {
  padding: clamp(4rem, 8vw, 7rem) var(--shell-gutter) clamp(3rem, 7vw, 6rem);
  border-right: 1px solid var(--shell-line);
}

.page-v2-shell .page-v2-thanks .hero-copy h1 {
  max-width: 11ch;
  margin: 0 0 1.5rem;
  color: var(--shell-ink);
  font-family: var(--shell-sans);
  font-size: clamp(3.5rem, 6.8vw, 6.4rem);
  line-height: 0.93;
  letter-spacing: -0.065em;
  font-weight: 760;
}

.page-v2-shell .page-v2-thanks .hero-copy .lead {
  max-width: 55ch;
  color: var(--shell-ink-soft);
}

.page-v2-shell .page-v2-thanks .hero-art {
  padding: clamp(2rem, 4vw, 3.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--forest);
  color: var(--paper-light);
}

.page-v2-shell .page-v2-thanks .section-tag {
  color: var(--rust);
  font-family: var(--shell-mono);
  font-size: 0.69rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-v2-shell .page-v2-thanks .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.2rem 0 0;
}

.page-v2-shell .page-v2-thanks .btn {
  min-height: 50px;
  padding: 0.78rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
}

.page-v2-shell .page-v2-thanks .btn-primary {
  background: var(--rust);
  color: var(--paper-light);
  border-color: var(--rust);
}

.page-v2-shell .page-v2-thanks .btn-secondary {
  color: var(--shell-ink);
}

.page-v2-shell .page-v2-thanks .btn:focus-visible,
.page-v2-shell .page-v2-thanks a:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

.page-v2-shell .page-v2-thanks .legal-note {
  max-width: 55ch;
  margin-top: 2rem;
  color: var(--shell-ink-soft);
  font-size: 0.82rem;
}

.page-v2-shell .page-v2-thanks .thank-you-board {
  border-top: 1px solid var(--shell-line-light);
}

.page-v2-shell .page-v2-thanks .thank-you-step {
  padding: 1.1rem 0;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  border-bottom: 1px solid var(--shell-line-light);
}

.page-v2-shell .page-v2-thanks .thank-you-step > span {
  color: var(--acid);
  font-family: var(--shell-mono);
  font-size: 0.7rem;
}

.page-v2-shell .page-v2-thanks .thank-you-step strong {
  display: block;
  margin-bottom: 0.35rem;
}

.page-v2-shell .page-v2-thanks .thank-you-step p {
  margin: 0;
  color: rgba(248, 246, 239, 0.68);
  font-size: 0.82rem;
}

@media (max-width: 760px) {
  .page-v2-shell .wireframe-header nav {
    width: 100%;
    gap: 0.75rem 1.05rem;
    flex-wrap: wrap;
    line-height: 1.45;
  }

  .page-v2-shell .wireframe-header nav a {
    min-height: 2rem;
    display: inline-flex;
    align-items: center;
  }

  .page-v2-shell .page-v2-thanks .hero-grid {
    grid-template-columns: 1fr;
  }

  .page-v2-shell .page-v2-thanks .hero-copy {
    border-right: 0;
  }

  .page-v2-shell .page-v2-thanks .hero-art {
    min-height: 0;
  }

  .page-v2-shell .wireframe-footer .footer-links--utility {
    justify-content: start;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background:
    radial-gradient(circle at top left, rgba(216, 179, 106, 0.3), transparent 32%),
    radial-gradient(circle at 90% 12%, rgba(95, 116, 103, 0.18), transparent 24%),
    linear-gradient(180deg, #fffaf3 0%, var(--color-paper) 36%, #efe7d8 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  display: inline-block;
  padding: 0.14rem 0.45rem;
  border-radius: 999px;
  background: rgba(24, 34, 45, 0.08);
  font-family: var(--font-label);
  font-size: 0.82rem;
}

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.wrap {
  width: min(calc(100% - 2.5rem), var(--content-width));
  margin: 0 auto;
}

.reading-wrap {
  width: min(calc(100% - 2.5rem), var(--reading-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(251, 248, 242, 0.78);
  border-bottom: 1px solid rgba(24, 34, 45, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
}

.wordmark-kicker,
.section-tag,
.card-tag,
.eyebrow,
.section-label,
.anchor-chip {
  font-family: var(--font-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.wordmark-kicker,
.section-tag,
.card-tag,
.section-label {
  color: var(--color-clay-deep);
}

.wordmark-main {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Presentation cleanup: hide internal scaffold labels so the prototype reads like a real site. */

.wordmark-kicker,
.section-tag,
.section-label,
.card-tag,
.nav-panel-label,
.footer-bottom > span:first-child {
  display: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--color-line-strong);
  background: rgba(255, 255, 255, 0.6);
  color: var(--color-ink);
  border-radius: var(--radius-pill);
  padding: 0.7rem 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nav-link,
.nav-panel-toggle {
  padding: 0.7rem 1rem;
  color: var(--color-ink-soft);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.nav-link {
  border-radius: var(--radius-pill);
}

.nav-item {
  position: relative;
}

.nav-item--has-panel::after {
  content: "";
  position: absolute;
  inset: 100% 0 auto;
  height: 0.85rem;
}

.nav-link-row {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-panel-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-panel-toggle::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 160ms ease;
}

.nav-item.is-open .nav-panel-toggle::before,
.nav-item:focus-within .nav-panel-toggle::before,
.nav-item:hover .nav-panel-toggle::before {
  transform: rotate(-135deg) translateY(-1px);
}

.nav-link:hover,
.nav-link.is-active {
  background: rgba(184, 92, 56, 0.12);
  color: var(--color-ink);
  transform: translateY(-1px);
}

.nav-panel {
  position: absolute;
  right: 0;
  left: auto;
  top: calc(100% - 0.1rem);
  width: min(760px, calc(100vw - 2rem));
  padding-top: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-item.is-open .nav-panel,
.nav-item:hover .nav-panel,
.nav-item:focus-within .nav-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-panel-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(24, 34, 45, 0.12);
  background: rgba(255, 250, 244, 0.98);
  box-shadow: 0 24px 40px -28px rgba(24, 34, 45, 0.38);
}

.nav-panel-section {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.nav-panel-label,
.footer-heading {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-clay-deep);
}

.nav-panel-link {
  color: var(--color-ink);
  font-weight: 700;
  line-height: 1.4;
}

.nav-panel-link.is-featured {
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.nav-panel-note {
  margin: 0;
  color: var(--color-ink-soft);
  line-height: 1.65;
}

.nav-panel-list {
  display: grid;
  gap: 0.5rem;
  padding-left: 1rem;
  margin: 0;
  color: var(--color-ink-soft);
  line-height: 1.6;
}

.hero {
  padding: 4.6rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 2rem;
  align-items: stretch;
}

.hero-copy,
.hero-art,
.panel,
.legal-card,
.section-panel {
  border: 1px solid rgba(24, 34, 45, 0.08);
  background: var(--color-panel);
  border-radius: var(--radius-panel);
  box-shadow: 0 22px 50px -32px var(--color-shadow-strong);
}

.hero-copy {
  padding: 2.2rem;
}

.hero-copy h1,
.page-title {
  margin: 0.35rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.65rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-copy p,
.lead,
.legal-lead,
.section-intro {
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--color-ink-soft);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-clay), #cf764b);
  color: #fffaf4;
  box-shadow: 0 16px 30px -20px rgba(143, 63, 33, 0.75);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--color-line-strong);
  color: var(--color-ink);
}

.btn-quiet {
  color: var(--color-clay-deep);
  padding-inline: 0;
}

.meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.pill,
.anchor-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(24, 34, 45, 0.1);
  border-radius: var(--radius-pill);
  color: var(--color-ink-soft);
}

.hero-art,
.placeholder-board,
.diagram-board,
.portrait-board {
  position: relative;
  overflow: hidden;
}

.hero-art {
  padding: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.48)),
    linear-gradient(135deg, rgba(95, 116, 103, 0.16), rgba(184, 92, 56, 0.1));
}

.placeholder-board {
  display: grid;
  gap: 1rem;
  min-height: 100%;
}

.board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.board-header strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.signal-grid,
.card-grid,
.stat-grid,
.principle-grid,
.summary-grid,
.legal-index,
.field-grid,
.service-grid {
  display: grid;
  gap: 1rem;
}

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

.signal-card,
.service-card,
.info-card,
.step-card,
.principle-card,
.summary-card,
.legal-index a,
.field-group,
.legal-anchor-card {
  padding: 1.1rem;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(24, 34, 45, 0.1);
  box-shadow: 0 16px 24px -22px rgba(24, 34, 45, 0.38);
}

.signal-card strong,
.service-card h3,
.info-card h3,
.principle-card h3,
.summary-card h3 {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.path-rail,
.risk-ladder,
.flow-ladder {
  display: grid;
  gap: 0.7rem;
}

.path-node,
.ladder-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(24, 34, 45, 0.05);
}

.path-node.is-hot,
.ladder-step.is-hot {
  background: rgba(184, 92, 56, 0.14);
  border: 1px solid rgba(184, 92, 56, 0.18);
}

.path-node span:last-child,
.ladder-step span:last-child {
  color: var(--color-clay-deep);
  font-weight: 700;
}

.section {
  padding: 1.75rem 0;
}

.section-frame {
  padding: 1.7rem;
  border-radius: var(--radius-panel);
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(24, 34, 45, 0.08);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.section-head h2,
.section-head h3,
.content-block h2,
.legal-card h2,
.legal-card h3 {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  line-height: 1.02;
}

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

.service-card {
  display: grid;
  gap: 1rem;
}

.service-card ul,
.info-card ul,
.legal-index ul,
.split-list ul,
.content-block ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-ink-soft);
  line-height: 1.75;
}

.service-card p,
.info-card p,
.summary-card p,
.content-block p,
.legal-card p,
.field-note {
  margin: 0;
  color: var(--color-ink-soft);
  line-height: 1.75;
}

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

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(95, 116, 103, 0.1);
  border: 1px solid rgba(95, 116, 103, 0.12);
}

.stat strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.55rem;
  font-family: var(--font-display);
}

.step-list,
.principle-grid,
.summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.step-card,
.principle-card {
  display: grid;
  gap: 0.4rem;
}

.step-card .step-number {
  width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(184, 92, 56, 0.12);
  color: var(--color-clay-deep);
  font-family: var(--font-label);
  font-size: 0.8rem;
}

.faq-grid {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border-radius: 20px;
  border: 1px solid rgba(24, 34, 45, 0.1);
  background: rgba(255, 255, 255, 0.75);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 1.15rem 1rem;
}

.cta-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.7rem;
  border-radius: var(--radius-panel);
  background: linear-gradient(135deg, rgba(24, 34, 45, 0.95), rgba(95, 116, 103, 0.92));
  color: #fffaf4;
  box-shadow: 0 22px 50px -36px rgba(24, 34, 45, 0.75);
}

.cta-banner p,
.cta-banner .section-tag {
  color: rgba(255, 250, 244, 0.8);
}

.cta-banner .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fffaf4;
}

.page-shell {
  padding-bottom: 4rem;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: 1rem;
}

.form-card,
.sidebar-card {
  padding: 1.35rem;
  border-radius: var(--radius-panel);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(24, 34, 45, 0.1);
}

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

.field-group {
  display: grid;
  gap: 0.45rem;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.field-group label {
  font-weight: 700;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(24, 34, 45, 0.15);
  background: rgba(255, 255, 255, 0.86);
  color: var(--color-ink);
}

.field-group textarea {
  min-height: 130px;
  resize: vertical;
}

.field-group.is-wide {
  grid-column: 1 / -1;
}

.checklist {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  line-height: 1.65;
  color: var(--color-ink-soft);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--color-clay);
}

.legal-shell {
  padding: 4rem 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: 1.1rem;
}

.legal-index {
  position: sticky;
  top: 6.4rem;
  align-self: start;
}

.legal-index a {
  display: block;
}

.legal-card {
  padding: 1.7rem;
}

.legal-card + .legal-card {
  margin-top: 1rem;
}

.legal-note {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(184, 92, 56, 0.1);
  color: var(--color-ink-soft);
}

.footer {
  border-top: 1px solid rgba(24, 34, 45, 0.08);
  background: rgba(255, 250, 244, 0.54);
}

.footer-shell {
  display: grid;
  gap: 1.35rem;
  padding: 1.7rem 0 2rem;
}

.footer-lead {
  display: grid;
  gap: 0.5rem;
  max-width: 52rem;
}

.footer-lead h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.footer-lead p,
.footer-column p,
.footer-bottom {
  color: var(--color-ink-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid rgba(24, 34, 45, 0.08);
  background: rgba(255, 255, 255, 0.62);
}

.footer-column a {
  color: var(--color-ink);
  line-height: 1.45;
}

.footer-column a:hover,
.footer-mini-links a:hover {
  color: var(--color-clay-deep);
}

.footer-bottom,
.footer-mini-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-mini-links {
  justify-content: flex-start;
}

@media (max-width: 960px) {
  .hero-grid,
  .service-grid,
  .stats-band,
  .split-grid,
  .step-list,
  .principle-grid,
  .summary-grid,
  .form-layout,
  .legal-layout,
  .footer-grid,
  .nav-panel-grid {
    grid-template-columns: 1fr;
  }

  .legal-index {
    position: static;
  }
}

@media (max-width: 760px) {
  .wrap,
  .reading-wrap {
    width: min(calc(100% - 1.25rem), var(--content-width));
  }

  .header-inner {
    align-items: start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding-top: 0.65rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-item,
  .nav-link-row,
  .nav-link,
  .nav-panel {
    width: 100%;
  }

  .nav-link-row {
    justify-content: space-between;
  }

  .nav-link,
  .nav-panel-toggle {
    width: 100%;
    text-align: left;
  }

  .nav-panel-toggle {
    width: 2.6rem;
    justify-content: center;
    flex: 0 0 2.6rem;
  }

  .nav-item--has-panel::after {
    display: none;
  }

  .nav-panel {
    position: static;
    padding-top: 0.4rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    display: none;
  }

  .nav-item:hover .nav-panel,
  .nav-item:focus-within .nav-panel {
    display: none;
  }

  .nav-item.is-open .nav-panel {
    display: block;
  }

  .hero-copy,
  .hero-art,
  .section-frame,
  .form-card,
  .sidebar-card,
  .legal-card {
    padding: 1.2rem;
    border-radius: 24px;
  }

  .hero-copy h1,
  .page-title {
    font-size: clamp(2.15rem, 12vw, 3.2rem);
  }

  .signal-grid,
  .field-grid,
  .cta-banner {
    grid-template-columns: 1fr;
  }
}

/* Directional override pass: editorial home + technical service pages */

body.page-home {
  background: #f8f4ec;
}

body.page-home .site-header {
  background: rgba(248, 244, 236, 0.92);
  border-bottom: 1px solid rgba(24, 34, 45, 0.12);
  backdrop-filter: blur(14px);
}

.page-home .wordmark-main,
.page-home .wordmark-kicker,
.page-home .hero-copy h1,
.page-home .section-head h2,
.page-home .home-section-head h2,
.page-home .service-card h3,
.page-home .fit-panel h2,
.page-home .faq-panel h2,
.page-home .cta-banner h2 {
  font-family: var(--font-body);
}

.page-home .wordmark-main {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.page-home .nav-link,
.page-home .nav-panel-toggle {
  border-radius: 0;
  padding: 0.8rem 0.4rem;
  color: var(--color-ink);
}

.page-home .nav-link:hover,
.page-home .nav-link.is-active {
  background: none;
  transform: none;
  border-bottom: 2px solid var(--color-ink);
}

.page-home .hero {
  padding: 2.4rem 0 0;
}

.page-home .hero-grid {
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.7fr);
  gap: 2rem;
  align-items: end;
  border-top: 1px solid rgba(24, 34, 45, 0.08);
  padding-top: 2rem;
}

.page-home .hero-copy,
.page-home .hero-art {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.page-home .hero-copy h1 {
  margin-top: 0.5rem;
  max-width: 10ch;
  font-size: clamp(4.8rem, 10vw, 8.75rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.09em;
  text-wrap: balance;
}

.page-home .home-actions {
  display: grid;
  grid-template-columns: minmax(320px, auto) auto;
  gap: 2rem;
  align-items: center;
  margin-top: 1.8rem;
  padding: 1.8rem 0 1.5rem;
  border-bottom: 1px solid rgba(24, 34, 45, 0.12);
}

.page-home .home-actions .btn-primary {
  justify-content: flex-start;
  min-height: 84px;
  border-radius: 0;
  background: #111;
  color: #fffaf4;
  padding-inline: 1.75rem;
  box-shadow: none;
}

.page-home .secondary-link {
  max-width: 22ch;
  color: var(--color-ink);
  font-size: 1.25rem;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35rem;
}

.page-home .hero-side {
  display: grid;
  gap: 1rem;
  align-items: end;
}

.page-home .hero-side .lead {
  max-width: 18ch;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--color-ink);
}

.page-home .hero-index {
  justify-self: end;
  font-family: var(--font-body);
  font-size: clamp(9rem, 24vw, 16rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.08em;
  color: rgba(24, 34, 45, 0.14);
}

.page-home .section {
  padding: 0;
}

.page-home .home-section {
  padding: 2rem 0 0;
}

.page-home .section-frame {
  padding: 1.8rem 0 0;
  border: 0;
  border-top: 1px solid rgba(24, 34, 45, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-home .home-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.15rem;
}

.page-home .home-section-head h2,
.page-home .fit-panel h2,
.page-home .faq-panel h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  font-weight: 900;
}

.page-home .home-section-copy {
  display: grid;
  gap: 0.3rem;
  justify-items: start;
}

.page-home .section-micro {
  font-family: var(--font-label);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.page-home .home-section-copy p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--color-ink);
}

.page-home .service-grid {
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-home .service-card {
  min-height: 100%;
  display: grid;
  gap: 1.1rem;
  padding: 1.35rem;
  border-radius: 0;
  border: 1px solid rgba(24, 34, 45, 0.16);
  border-right: 0;
  background: #fbf8f2;
  box-shadow: none;
}

.page-home .service-card:last-child {
  border-right: 1px solid rgba(24, 34, 45, 0.16);
}

.page-home .card-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.page-home .card-number {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 5.7rem;
  line-height: 0.82;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.page-home .card-arrow {
  font-size: 2rem;
  line-height: 1;
}

.page-home .service-card h3 {
  margin: 0;
  max-width: 11ch;
  font-size: 2.05rem;
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.95;
  text-transform: uppercase;
}

.page-home .service-card p,
.page-home .service-card li {
  color: var(--color-ink);
}

.page-home .card-footer-link {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(24, 34, 45, 0.12);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3rem;
}

.page-home .band-dark {
  margin-top: 1.35rem;
  background: #0d0d0d;
  color: #fbf8f2;
}

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

.page-home .band-cell {
  padding: 1.8rem 1.35rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.page-home .band-cell:last-child {
  border-right: 0;
}

.page-home .band-cell ul,
.page-home .band-cell li,
.page-home .band-steps,
.page-home .band-steps li {
  color: rgba(255, 248, 242, 0.82);
  line-height: 1.7;
}

.page-home .band-cell .section-label {
  color: rgba(255, 248, 242, 0.72);
}

.page-home .band-steps {
  margin: 0;
  padding-left: 1.4rem;
}

.page-home .faq-section {
  padding-top: 1.35rem;
}

.page-home .faq-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.75rem;
}

.page-home .fit-panel,
.page-home .faq-panel {
  position: relative;
  padding-bottom: 2rem;
}

.page-home .fit-panel {
  border-right: 1px solid rgba(24, 34, 45, 0.12);
  padding-right: 1.75rem;
}

.page-home .fit-panel p {
  max-width: 30ch;
  color: var(--color-ink);
  line-height: 1.8;
}

.page-home .ghost-number {
  position: absolute;
  right: 0.7rem;
  bottom: -1rem;
  font-family: var(--font-body);
  font-size: clamp(7rem, 16vw, 12rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  color: rgba(24, 34, 45, 0.05);
}

.page-home .faq-item {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  background: transparent;
}

.page-home .faq-item summary,
.page-home .faq-item p {
  padding-left: 0;
  padding-right: 0;
  color: var(--color-ink);
}

.page-home .home-final {
  padding: 1.5rem 0 0;
}

.page-home .cta-banner {
  border-radius: 0;
  background: #101010;
  box-shadow: none;
  padding: 2rem 2.1rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.page-home .cta-banner h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  font-weight: 900;
}

.page-home .cta-banner .btn-primary {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  padding: 0;
  font-size: 2rem;
  box-shadow: none;
}

body.page-service {
  background: #f7f4ee;
}

body.page-service .site-header {
  background: rgba(7, 7, 7, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fffaf4;
}

.page-service .wordmark-main,
.page-service .hero-copy h1,
.page-service .section-head h2,
.page-service .audit-problem-label h2,
.page-service .mechanism-copy h2,
.page-service .fit-card h2,
.page-service .cta-banner h2 {
  font-family: var(--font-body);
}

.page-service .wordmark-main {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.page-service .wordmark-kicker,
.page-service .section-tag,
.page-service .card-tag {
  color: var(--color-clay);
}

.page-service .nav-link,
.page-service .nav-panel-toggle {
  border-radius: 0;
  background: none;
  color: rgba(255, 250, 244, 0.72);
}

.page-service .nav-link:hover,
.page-service .nav-link.is-active {
  background: none;
  border-bottom: 2px solid var(--color-clay);
  color: #fffaf4;
  transform: none;
}

.page-service .nav-panel {
  background: transparent;
}

.page-service .nav-panel-grid {
  background: rgba(10, 10, 10, 0.98);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 40px -28px rgba(0, 0, 0, 0.68);
}

.page-service .nav-panel-link,
.page-service .nav-panel-link.is-featured {
  color: #fffaf4;
}

.page-service .nav-panel-note,
.page-service .nav-panel-list {
  color: rgba(255, 250, 244, 0.74);
}

.page-service .nav-panel-label {
  color: var(--color-clay);
}

.page-service .hero {
  padding: 3rem 0 2.2rem;
  background: #060606;
}

.page-service .hero-copy,
.page-service .hero-art {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.page-service .hero-copy h1 {
  max-width: 10.5ch;
  font-size: clamp(3.8rem, 7vw, 6.3rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  font-weight: 900;
  color: #fffaf4;
}

.page-service .hero-copy .lead,
.page-service .hero-copy p,
.page-service .meta-strip .pill {
  color: rgba(255, 250, 244, 0.78);
}

.page-service .lead {
  max-width: 20ch;
  font-size: 1.35rem;
}

.page-service .btn-primary {
  border-radius: 0;
  background: var(--color-clay);
  box-shadow: none;
}

.page-service .btn-secondary {
  border-radius: 0;
  background: transparent;
  color: #fffaf4;
  border-color: rgba(255, 255, 255, 0.28);
}

.page-service .pill {
  border-radius: 0;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
}

.page-service .section {
  padding: 0;
}

.page-service .section-frame {
  padding: 1.9rem 0;
  border: 0;
  border-top: 1px solid rgba(24, 34, 45, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-service .section-head h2,
.page-service .audit-problem-label h2,
.page-service .mechanism-copy h2,
.page-service .fit-card h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(2.15rem, 4vw, 3.2rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
  font-weight: 900;
}

.page-service .audit-map {
  display: grid;
  gap: 0.9rem;
  align-items: start;
}

.page-service .map-node {
  position: relative;
  padding: 0.95rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.02);
  color: #fffaf4;
  text-transform: uppercase;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.page-service .map-node::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.88rem;
  width: 1px;
  height: 0.82rem;
  background: rgba(255, 255, 255, 0.28);
}

.page-service .map-node:last-of-type::after {
  display: none;
}

.page-service .map-leak-label {
  justify-self: end;
  margin-top: 0.2rem;
  color: var(--color-clay);
  font-family: var(--font-label);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.page-service .audit-problem-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) repeat(5, minmax(0, 1fr));
  gap: 0;
  align-items: start;
}

.page-service .audit-problem-label {
  padding-right: 1rem;
}

.page-service .audit-problem-item,
.page-service .review-item,
.page-service .deliverable-item,
.page-service .mechanism-item {
  padding: 0 1rem 0 0;
  margin-right: 1rem;
  border-right: 1px solid rgba(24, 34, 45, 0.12);
}

.page-service .audit-problem-item:last-child,
.page-service .review-item:last-child,
.page-service .deliverable-item:last-child,
.page-service .mechanism-item:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.page-service .audit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  font-size: 1.55rem;
  line-height: 1;
}

.page-service .audit-problem-item p,
.page-service .review-item p,
.page-service .deliverable-item p,
.page-service .mechanism-item p {
  color: var(--color-ink);
}

.page-service .mechanism-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 1.3rem;
  align-items: start;
}

.page-service .mechanism-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 1.55rem;
  background: #faf8f3;
  border: 1px solid rgba(24, 34, 45, 0.09);
}

.page-service .mechanism-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0f0f0f;
  color: #fbf8f2;
  font-size: 1.55rem;
}

.page-service .mechanism-item strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.page-service .review-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
}

.page-service .review-item strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.45;
}

.page-service .audit-section-head {
  margin-bottom: 1.15rem;
}

.page-service .deliverable-head {
  margin-top: 1.6rem;
}

.page-service .deliverable-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.page-service .deliverable-num {
  display: block;
  font-family: var(--font-body);
  font-size: 3rem;
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.page-service .deliverable-rule {
  width: 56px;
  height: 3px;
  margin: 0.45rem 0 0.85rem;
  background: var(--color-clay);
}

.page-service .fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.4rem 0 0.4rem;
}

.page-service .fit-card {
  padding: 1.4rem;
  border: 1px solid rgba(24, 34, 45, 0.08);
  background: linear-gradient(180deg, rgba(240, 248, 242, 0.95), rgba(248, 252, 249, 0.95));
}

.page-service .fit-card-bad {
  background: linear-gradient(180deg, rgba(255, 245, 242, 0.96), rgba(255, 249, 247, 0.96));
}

.page-service .fit-card .checklist li {
  color: var(--color-ink);
}

.page-service .audit-final-banner {
  border-radius: 0;
  box-shadow: none;
  background: #101010;
}

.page-service .audit-final-banner h2 {
  max-width: 18ch;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .page-home .service-grid,
  .page-home .band-grid,
  .page-service .audit-problem-row,
  .page-service .review-strip,
  .page-service .deliverable-strip,
  .page-service .mechanism-strip {
    grid-template-columns: 1fr;
  }

  .page-home .service-card,
  .page-service .audit-problem-item,
  .page-service .review-item,
  .page-service .deliverable-item,
  .page-service .mechanism-item,
  .page-home .band-cell {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
    border-bottom: 1px solid rgba(24, 34, 45, 0.12);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }

  .page-home .service-card:last-child,
  .page-home .band-cell:last-child,
  .page-service .audit-problem-item:last-child,
  .page-service .review-item:last-child,
  .page-service .deliverable-item:last-child,
  .page-service .mechanism-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 960px) {
  .page-home .hero-grid,
  .page-home .home-section-head,
  .page-home .faq-split,
  .page-service .mechanism-grid,
  .page-service .fit-grid {
    grid-template-columns: 1fr;
  }

  .page-home .fit-panel {
    border-right: 0;
    padding-right: 0;
    border-bottom: 1px solid rgba(24, 34, 45, 0.12);
    margin-bottom: 1.2rem;
    padding-bottom: 1.6rem;
  }

  .page-home .home-actions {
    grid-template-columns: 1fr;
  }

  .page-service .hero {
    padding-top: 2.2rem;
  }
}

@media (max-width: 760px) {
  .page-home .hero-copy h1 {
    font-size: clamp(3.8rem, 18vw, 5.8rem);
  }

  .page-home .hero-index {
    font-size: clamp(7rem, 34vw, 11rem);
  }

  .page-home .cta-banner,
  .page-service .audit-final-banner {
    padding: 1.4rem;
  }

  .page-home .cta-banner .btn-primary {
    width: 72px;
    height: 72px;
  }

  .page-service .hero-copy h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }
}

/* Second directional pass: intake, about, legal, and confirmation surfaces */

.page-service .fit-card-bad .checklist li::before {
  background: #ff6423;
}

body.page-apply,
body.page-about,
body.page-legal {
  background: #f8f4ec;
}

body.page-apply .site-header,
body.page-about .site-header,
body.page-legal .site-header {
  background: rgba(248, 244, 236, 0.92);
  border-bottom: 1px solid rgba(24, 34, 45, 0.12);
  backdrop-filter: blur(14px);
}

.page-apply .wordmark-main,
.page-apply .hero-copy h1,
.page-apply .form-card h2,
.page-apply .form-block-head h3,
.page-apply .screening-card h2,
.page-about .wordmark-main,
.page-about .hero-copy h1,
.page-about .section-head h2,
.page-about .service-card h3,
.page-about .step-card h3,
.page-about .cta-banner h2,
.page-legal .wordmark-main,
.page-legal .page-title,
.page-legal .legal-card h2,
.page-thanks .wordmark-main,
.page-thanks .hero-copy h1 {
  font-family: var(--font-body);
}

.page-apply .wordmark-main,
.page-about .wordmark-main,
.page-legal .wordmark-main,
.page-thanks .wordmark-main {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.page-apply .nav-link,
.page-apply .nav-panel-toggle,
.page-about .nav-link,
.page-about .nav-panel-toggle,
.page-legal .nav-link,
.page-legal .nav-panel-toggle,
.page-thanks .nav-link,
.page-thanks .nav-panel-toggle {
  border-radius: 0;
  padding: 0.8rem 0.4rem;
}

.page-apply .nav-link,
.page-apply .nav-panel-toggle,
.page-about .nav-link,
.page-about .nav-panel-toggle,
.page-legal .nav-link,
.page-legal .nav-panel-toggle {
  color: var(--color-ink);
}

.page-apply .nav-link:hover,
.page-apply .nav-link.is-active,
.page-about .nav-link:hover,
.page-about .nav-link.is-active,
.page-legal .nav-link:hover,
.page-legal .nav-link.is-active,
.page-thanks .nav-link:hover,
.page-thanks .nav-link.is-active {
  background: none;
  transform: none;
  border-bottom: 2px solid currentColor;
}

.page-apply .hero {
  padding: 2.6rem 0 1.2rem;
}

.page-apply .hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1.5rem;
  align-items: stretch;
}

.page-apply .hero-copy,
.page-apply .hero-art {
  padding: 2rem;
  border-radius: 0;
  border: 1px solid rgba(24, 34, 45, 0.12);
  background: #fffdf8;
  box-shadow: none;
}

.page-apply .hero-copy h1 {
  margin-top: 0.45rem;
  max-width: 10ch;
  font-size: clamp(3.7rem, 8vw, 6.2rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.page-apply .lead,
.page-about .lead,
.page-legal .legal-lead {
  color: var(--color-ink);
}

.page-apply .pill {
  border-radius: 0;
  background: #fff;
  color: var(--color-ink);
}

.page-apply .btn-primary,
.page-about .btn-primary {
  border-radius: 0;
  background: #111;
  box-shadow: none;
}

.page-apply .btn-secondary,
.page-about .btn-secondary {
  border-radius: 0;
  background: transparent;
  border-color: rgba(24, 34, 45, 0.16);
}

.page-apply .route-board {
  display: grid;
  gap: 0.9rem;
  height: 100%;
}

.page-apply .route-line {
  display: grid;
  gap: 0.7rem;
}

.page-apply .route-card {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(24, 34, 45, 0.12);
  background: #fff;
}

.page-apply .route-card strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-apply .route-card p,
.page-apply .route-note,
.page-apply .screening-card p,
.page-apply .screening-quiet,
.page-apply .field-note,
.page-apply .form-block-head p,
.page-apply .form-routing-note {
  margin: 0;
  line-height: 1.6;
}

.page-apply .route-card p,
.page-apply .route-note,
.page-apply .field-note,
.page-apply .form-block-head p,
.page-apply .form-routing-note {
  color: var(--color-ink-soft);
}

.page-apply .route-card.is-primary {
  background: #111;
  border-color: #111;
  color: #fffaf4;
}

.page-apply .route-card.is-primary p {
  color: rgba(255, 250, 244, 0.76);
}

.page-apply .route-card.is-signal {
  border-left: 4px solid #ff6423;
}

.page-apply .route-card.is-decline {
  background: #f1ece4;
}

.page-apply .route-note {
  padding-top: 0.9rem;
  border-top: 1px solid rgba(24, 34, 45, 0.12);
  font-size: 0.95rem;
}

.page-apply .apply-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: 1rem;
  align-items: start;
}

.page-apply .screening-card,
.page-apply .form-card {
  border-radius: 0;
  border: 1px solid rgba(24, 34, 45, 0.12);
  background: #fffdf8;
  box-shadow: none;
}

.page-apply .screening-card {
  padding: 1.6rem;
  background: #111;
  color: #fffaf4;
  align-self: start;
}

.page-apply .screening-card .section-label {
  color: #ff6423;
}

.page-apply .screening-card h2 {
  margin: 0.4rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.page-apply .screening-card p,
.page-apply .screening-card .section-intro,
.page-apply .screening-card .legal-note {
  color: rgba(255, 250, 244, 0.78);
}

.page-apply .screening-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.page-apply .screening-step:first-of-type {
  margin-top: 1rem;
}

.page-apply .screening-number {
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: #ff6423;
}

.page-apply .screening-step strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-apply .screening-quiet {
  margin-top: 1rem;
  font-size: 0.96rem;
}

.page-apply .screening-card .legal-note {
  margin-top: 1rem;
  border-radius: 0;
  border-left: 4px solid #ff6423;
  background: rgba(255, 255, 255, 0.04);
}

.page-apply .form-card {
  padding: 0;
  overflow: hidden;
}

.page-apply .form-block {
  padding: 1.5rem;
  border-top: 1px solid rgba(24, 34, 45, 0.12);
}

.page-apply .form-block:first-child {
  border-top: 0;
}

.page-apply .form-card h2 {
  margin: 0.4rem 0 0.3rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.page-apply .form-block-head {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.page-apply .form-block-head h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.page-apply .field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem 1rem;
}

.page-apply .field-group label {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

.page-apply .field-group input,
.page-apply .field-group select,
.page-apply .field-group textarea {
  border-radius: 0;
  padding: 1rem 0.95rem;
  border-color: rgba(24, 34, 45, 0.16);
  background: #fff;
}

.page-apply .field-group textarea {
  min-height: 130px;
}

.page-apply .form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  padding: 1.5rem;
  border-top: 1px solid rgba(24, 34, 45, 0.12);
}

.page-apply .form-actions .btn-secondary {
  color: var(--color-ink);
}

.page-apply .form-routing-note {
  max-width: 28ch;
  font-size: 0.95rem;
}

.page-about .hero {
  padding: 2.4rem 0 0;
}

.page-about .hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 2rem;
  align-items: end;
  border-top: 1px solid rgba(24, 34, 45, 0.08);
  padding-top: 2rem;
}

.page-about .hero-copy,
.page-about .hero-art {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.page-about .hero-copy h1 {
  margin-top: 0.45rem;
  max-width: 11ch;
  font-size: clamp(4rem, 8vw, 6.8rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.09em;
}

.page-about .hero-art {
  display: grid;
  gap: 1rem;
}

.page-about .about-index {
  justify-self: end;
  font-family: var(--font-body);
  font-size: clamp(7rem, 18vw, 12rem);
  font-weight: 900;
  line-height: 0.82;
  color: rgba(24, 34, 45, 0.08);
}

.page-about .about-principles {
  display: grid;
  border-top: 1px solid rgba(24, 34, 45, 0.12);
}

.page-about .about-principle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(24, 34, 45, 0.12);
}

.page-about .about-principle span {
  font-family: var(--font-label);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  color: var(--color-clay-deep);
}

.page-about .about-principle strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.97rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.page-about .about-principle p {
  margin: 0;
  color: var(--color-ink-soft);
  line-height: 1.6;
}

.page-about .service-card,
.page-about .step-card {
  border-radius: 0;
  border: 1px solid rgba(24, 34, 45, 0.12);
  background: #fffdf8;
  box-shadow: none;
}

.page-about .section-frame {
  border-radius: 0;
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-top: 1px solid rgba(24, 34, 45, 0.12);
  border-bottom: 1px solid rgba(24, 34, 45, 0.12);
  padding: 1.5rem 0;
}

.page-about .section-head h2,
.page-about .service-card h3,
.page-about .step-card h3 {
  font-weight: 800;
  letter-spacing: -0.05em;
}

.page-about .service-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
}

.page-about .about-band {
  margin: 1rem 0;
  background: #111;
  color: #fffaf4;
}

.page-about .about-band-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.page-about .about-band-cell {
  padding: 2rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.page-about .about-band-cell:last-child {
  border-right: 0;
}

.page-about .about-band-cell .section-label {
  color: #ff6423;
}

.page-about .about-band-cell ul,
.page-about .about-band-cell li {
  color: rgba(255, 250, 244, 0.8);
  line-height: 1.7;
}

.page-about .step-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-about .step-card {
  padding: 1.15rem;
}

.page-about .step-card .step-number {
  width: auto;
  height: auto;
  padding: 0.2rem 0.45rem;
  border-radius: 0;
  background: #111;
  color: #fffaf4;
}

.page-about .cta-banner {
  border-radius: 0;
  background: #111;
  box-shadow: none;
}

.page-legal .legal-shell {
  padding: 2.5rem 0 4rem;
}

.page-legal .reading-wrap {
  width: min(100%, 860px);
  margin: 0;
}

.page-legal .page-title {
  margin-top: 0.45rem;
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.page-legal .legal-layout {
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 0.72fr);
  gap: 2rem;
}

.page-legal .legal-index {
  display: grid;
  gap: 0;
  top: 6rem;
  padding-top: 0.3rem;
  border-top: 1px solid rgba(24, 34, 45, 0.12);
}

.page-legal .legal-index a {
  padding: 0.85rem 0;
  border: 0;
  border-bottom: 1px solid rgba(24, 34, 45, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: padding-left 160ms ease, color 160ms ease;
}

.page-legal .legal-index a:hover {
  padding-left: 0.35rem;
  color: var(--color-clay-deep);
}

.page-legal .legal-card {
  padding: 1.3rem 0 1.4rem;
  border: 0;
  border-top: 1px solid rgba(24, 34, 45, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-legal .legal-card:last-child {
  border-bottom: 1px solid rgba(24, 34, 45, 0.12);
}

.page-legal .legal-card h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.page-legal .legal-card p {
  max-width: 62ch;
}

.page-legal .legal-note {
  border-radius: 0;
  border-left: 4px solid #ff6423;
  background: #fff7ef;
}

.page-legal .footer {
  background: transparent;
}

body.page-thanks {
  background: #111;
  color: #fffaf4;
  display: flex;
  flex-direction: column;
}

body.page-thanks .site-header {
  background: rgba(17, 17, 17, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.page-thanks .wordmark-main,
.page-thanks .wordmark-kicker,
.page-thanks .section-tag {
  color: #fffaf4;
}

.page-thanks .nav-link,
.page-thanks .nav-panel-toggle {
  color: rgba(255, 250, 244, 0.8);
}

.page-thanks .hero {
  padding: 2.8rem 0 3rem;
  width: 100%;
}

.page-thanks .page-shell {
  flex: 1;
  padding-bottom: 0;
}

.page-thanks .hero-copy,
.page-thanks .hero-art {
  padding: 2rem;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
}

.page-thanks .hero-copy h1 {
  margin-top: 0.45rem;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.page-thanks .lead,
.page-thanks .legal-note,
.page-thanks .thank-you-step p {
  color: rgba(255, 250, 244, 0.8);
}

.page-thanks .button-row .btn-primary {
  border-radius: 0;
  background: #ff6423;
  box-shadow: none;
}

.page-thanks .button-row .btn-secondary {
  border-radius: 0;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
  color: #fffaf4;
}

.page-thanks .legal-note {
  margin-top: 1.2rem;
  border-radius: 0;
  border-left: 4px solid #ff6423;
  background: transparent;
  padding-left: 1rem;
}

.page-thanks .thank-you-board {
  display: grid;
  gap: 0;
}

.page-thanks .thank-you-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.page-thanks .thank-you-step:first-child {
  padding-top: 0;
  border-top: 0;
}

.page-thanks .thank-you-step span {
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: #ff6423;
}

.page-thanks .thank-you-step strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.97rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fffaf4;
}

.page-thanks .footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.page-thanks .footer-lead h2,
.page-thanks .footer-lead p,
.page-thanks .footer-column a,
.page-thanks .footer-bottom,
.page-thanks .footer-mini-links a {
  color: rgba(255, 250, 244, 0.74);
}

.page-thanks .footer-column {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.page-thanks .nav-panel {
  background: transparent;
}

.page-thanks .nav-panel-grid {
  background: rgba(15, 15, 15, 0.98);
  border-color: rgba(255, 255, 255, 0.12);
}

.page-thanks .nav-panel-link,
.page-thanks .nav-panel-link.is-featured {
  color: #fffaf4;
}

.page-thanks .nav-panel-note,
.page-thanks .nav-panel-list {
  color: rgba(255, 250, 244, 0.74);
}

.page-thanks .nav-panel-label {
  color: var(--color-clay);
}

@media (max-width: 960px) {
  .page-apply .hero-grid,
  .page-apply .apply-layout,
  .page-about .hero-grid,
  .page-about .about-band-grid,
  .page-about .step-list,
  .page-legal .legal-layout {
    grid-template-columns: 1fr;
  }

  .page-legal .legal-index {
    position: static;
  }

  .page-apply .form-card {
    order: 1;
  }

  .page-apply .screening-card {
    order: 2;
  }
}

@media (max-width: 760px) {
  .page-apply .hero-copy,
  .page-apply .hero-art,
  .page-about .hero-copy,
  .page-about .hero-art,
  .page-thanks .hero-copy,
  .page-thanks .hero-art {
    padding: 1.35rem;
  }

  .page-apply .field-grid,
  .page-about .service-grid {
    grid-template-columns: 1fr;
  }

  .page-apply .hero-copy h1,
  .page-about .hero-copy h1,
  .page-legal .page-title,
  .page-thanks .hero-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .page-about .about-index {
    font-size: 5rem;
  }

  .page-about .about-band-cell {
    padding: 1.2rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .page-about .about-band-cell:last-child {
    border-bottom: 0;
  }

  .page-apply .form-actions {
    align-items: start;
  }

}

/* Final v2 visual polish overrides. Kept last so older page-family rules
   cannot reintroduce the rounded, cream-card treatment. */
:root {
  --paper: #e8e7e1;
  --paper-light: #f4f3ee;
}

/* Semantic surfaces are the color contract for page sections. A section's
   markup names its foreground/background pairing; its children consume the
   local tokens rather than guessing from the surrounding page color. */
.surface {
  --surface-bg: var(--paper);
  --surface-fg: var(--shell-ink);
  --surface-muted: var(--shell-ink-soft);
  --surface-line: var(--shell-line);
  --surface-accent: var(--rust);
  background: var(--surface-bg);
  color: var(--surface-fg);
}

.surface--light {
  --surface-bg: var(--paper);
  --surface-fg: var(--shell-ink);
  --surface-muted: var(--shell-ink-soft);
  --surface-line: var(--shell-line);
  --surface-accent: var(--rust);
}

.surface--muted {
  --surface-bg: #d9d9d2;
  --surface-fg: var(--shell-ink);
  --surface-muted: #3f4b45;
  --surface-line: rgba(24, 35, 31, 0.24);
  --surface-accent: var(--rust);
}

.surface--dark {
  --surface-bg: var(--forest);
  --surface-fg: #fbfbf6;
  --surface-muted: #e0e8df;
  --surface-line: rgba(251, 251, 246, 0.26);
  --surface-accent: #f1b091;
}

.surface--rust {
  --surface-bg: var(--rust);
  --surface-fg: #fffdf8;
  --surface-muted: #fff1e9;
  --surface-line: rgba(255, 253, 248, 0.26);
  --surface-accent: var(--paper-light);
}

body.page-apply-v2 .provider-handoff .route-label {
  color: var(--surface-accent);
}

body.page-apply-v2 .provider-handoff h2 {
  color: var(--surface-fg);
}

main.home-v2 .hero-copy {
  border-radius: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(232, 231, 225, 0.68), rgba(232, 231, 225, 0.8)),
    url("/images/operating-map-texture.png");
  background-position: right center;
  background-size: cover;
  box-shadow: none;
}

main.home-v2 .eyebrow { margin-bottom: 0.7rem; }
main.home-v2 h1 { margin-bottom: 1.1rem; }
main.home-v2 .starting-section .argument-heading > p:last-child { line-height: 1.34; }

main.home-v2 .review-section {
  background-color: var(--surface-bg);
  background-image:
    linear-gradient(rgba(24, 61, 50, 0.78), rgba(24, 61, 50, 0.86)),
    url("/images/operating-map-texture.png");
  background-position: right center;
  background-size: cover;
}

main.home-v2 .surface .section-rail,
main.home-v2 .surface .review-map {
  border-color: var(--surface-line);
}

main.home-v2 .surface .argument-heading h2,
main.home-v2 .surface .review-map h3 {
  color: var(--surface-fg);
}

main.home-v2 .surface .section-index,
main.home-v2 .surface .argument-heading > p:last-child,
main.home-v2 .surface .review-map p {
  color: var(--surface-muted);
}

main.home-v2 .surface .argument-heading .eyebrow {
  color: var(--surface-accent);
}

main.home-v2 .surface--dark .review-map li {
  border-color: var(--surface-line);
}

main.home-v2 .review-map li {
  display: grid;
  grid-template-rows: auto minmax(3.6rem, auto) 1fr;
  align-content: start;
}

main.home-v2 .review-map h3 { margin: 1.5rem 0 0; align-self: start; }
main.home-v2 .review-map p { margin-top: 0.7rem; }
main.home-v2 .fit-grid > * { min-height: 0; }
main.home-v2 .operator-note { justify-content: flex-start; gap: 1.1rem; }
main.home-v2 .operator-note > p:last-child { margin: 0; }

.page-v2-shell .wireframe-footer .identity-name {
  color: var(--footer-fg);
}

.page-v2-shell .wireframe-footer .identity-role {
  color: var(--footer-muted);
}

.page-v2-shell .footer-brand p {
  max-width: 23ch;
  margin: 1.1rem 0 0;
  color: var(--footer-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.page-v2-shell .footer-routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.page-v2-shell .footer-routes a {
  display: grid;
  gap: 0.35rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(244, 243, 238, 0.18);
}

.page-v2-shell .footer-routes strong { font-size: 0.92rem; }

.page-v2-shell .footer-routes span {
  color: var(--footer-muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.page-v2-shell .footer-utility {
  display: grid;
  align-content: start;
  gap: 1.4rem;
}

.page-v2-shell .footer-apply {
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--acid);
  color: var(--acid);
  font-weight: 800;
  line-height: 1.25;
}

.page-v2-shell .wireframe-footer .footer-links--utility {
  justify-content: start;
  gap: 1rem;
  color: var(--footer-muted);
}

@media (max-width: 760px) {
  .page-v2-shell .footer-routes { grid-template-columns: 1fr; }
}

/* P6D: universal shallow navigation and grouped deep-routing registry */
.page-v2-shell .wireframe-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .35rem 1.35rem;
}
.page-v2-shell .wireframe-header nav a {
  padding: .55rem 0;
  color: var(--shell-ink);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.page-v2-shell .wireframe-header nav a[aria-current="page"]:not(.nav-action) { border-bottom: 2px solid currentColor; }
.page-v2-shell .wireframe-header nav .nav-action { padding: .65rem .85rem; border: 1px solid var(--shell-ink); }
.page-v2-shell .wireframe-footer > .shell-frame { display: block; }
.page-v2-shell .footer-brand { padding-bottom: 2.5rem; }
.page-v2-shell .footer-brand .identity { display: inline-flex; }
.page-v2-shell .footer-registry { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.page-v2-shell .footer-group { min-width: 0; }
.page-v2-shell .footer-group h2 { margin: 0 0 1rem; color: var(--footer-muted); font-family: var(--shell-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.page-v2-shell .footer-group a { display: grid; gap: .35rem; padding: .85rem 0; border-top: 1px solid rgba(244, 243, 238, .18); color: var(--footer-fg); }
.page-v2-shell .footer-group a:last-child { border-bottom: 1px solid rgba(244, 243, 238, .18); }
.page-v2-shell .footer-group strong { font-size: .85rem; line-height: 1.2; }
.page-v2-shell .footer-group span { color: var(--footer-muted); font-size: .72rem; line-height: 1.4; }
.page-v2-shell .footer-utility { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(244, 243, 238, .22); }
@media (max-width: 900px) {
  .page-v2-shell .footer-registry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .page-v2-shell .wireframe-header nav { width: 100%; justify-content: flex-start; gap: .25rem .8rem; }
  .page-v2-shell .wireframe-header nav a { font-size: .62rem; }
  .page-v2-shell .footer-registry { grid-template-columns: 1fr; gap: 1.8rem; }
  .page-v2-shell .footer-utility { margin-top: 1.8rem; }
}

/* Canonical P6A frame primitives. Outer surfaces own viewport bleed; inner
   frames own width, gutters, and centering. */
.page-v2-shell .shell-bleed {
  width: 100%;
  margin-inline: 0;
  box-sizing: border-box;
}

.page-v2-shell .shell-frame {
  width: min(100%, var(--shell-max));
  margin-inline: auto;
  box-sizing: border-box;
}

.page-v2-shell .home-frame {
  width: min(100%, var(--shell-max));
  margin-inline: auto;
  box-sizing: border-box;
}

.page-v2-shell .wireframe-header,
.page-v2-shell .wireframe-footer {
  display: block;
}

.page-v2-shell .wireframe-header {
  min-height: 0;
  padding: 0;
  background: rgba(225, 224, 217, 0.96);
  border-bottom: 1px solid var(--shell-line);
}

.page-v2-shell .wireframe-header > .shell-frame {
  min-height: 88px;
  padding: 1.2rem var(--shell-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.page-v2-shell .wireframe-footer {
  --footer-fg: #f4f3ee;
  --footer-muted: #c8d1c9;
  margin-top: 0;
  padding: 0;
  background: #12261f;
  color: var(--footer-fg);
  border-top: 4px solid var(--rust);
}

.page-v2-shell .wireframe-footer > .shell-frame {
  padding: clamp(2.8rem, 6vw, 5rem) var(--shell-gutter);
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(360px, 1.7fr) minmax(180px, 0.7fr);
  gap: clamp(2rem, 5vw, 5rem);
}

@media (max-width: 760px) {
  .page-v2-shell .wireframe-header > .shell-frame {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.2rem;
  }

  .page-v2-shell .wireframe-header > .shell-frame nav {
    width: 100%;
  }

  .page-v2-shell .wireframe-footer > .shell-frame {
    grid-template-columns: 1fr;
  }
}

/* P6C learning, support, legal, and campaign families. These routes retain
   their own reading/route anatomy while using the shared frame primitives. */
.page-v2-shell main.page-shell,
.page-v2-shell main.legal-v2-shell,
.page-v2-shell main.campaign-v2-shell {
  width: 100%;
  max-width: none;
  margin: 0;
}

.page-v2-shell main.page-shell .wrap {
  width: min(100%, var(--shell-max));
  margin-inline: auto;
  padding-inline: var(--shell-gutter);
  box-sizing: border-box;
}

.page-v2-shell .page-shell > .resource-hero,
.page-v2-shell .page-shell > .resource-section,
.page-v2-shell .page-shell > .article-shell,
.page-v2-shell .page-shell > .article-section-wrap {
  width: 100%;
  box-sizing: border-box;
}

.page-v2-shell .page-shell > .resource-hero,
.page-v2-shell .page-shell > .resource-section,
.page-v2-shell .page-shell > .article-shell,
.page-v2-shell .page-shell > .article-section-wrap {
  background: var(--surface-bg, var(--paper));
  color: var(--surface-fg, var(--shell-ink));
}

.page-v2-shell .page-shell > .utility-band {
  width: 100%;
  background: var(--forest);
  color: var(--paper-light);
}

.page-v2-shell .page-shell .resource-frame,
.page-v2-shell .page-shell .article-head,
.page-v2-shell .page-shell .article-layout {
  width: min(100%, var(--shell-max));
  margin-inline: auto;
  box-sizing: border-box;
}

.page-v2-shell .page-shell .resource-frame,
.page-v2-shell .page-shell .article-head,
.page-v2-shell .page-shell .article-layout {
  padding-inline: var(--shell-gutter);
}

.page-v2-shell .legal-v2-shell .legal-v2-head,
.page-v2-shell .legal-v2-shell .legal-v2-section {
  width: 100%;
  padding: 0;
}

.page-v2-shell .legal-v2-shell .legal-v2-head > .shell-frame,
.page-v2-shell .legal-v2-shell .legal-v2-section > .shell-frame {
  padding-inline: var(--shell-gutter);
}

.page-v2-shell .legal-v2-shell .legal-v2-head > .shell-frame {
  padding-block: clamp(4rem, 9vw, 8rem) clamp(3rem, 7vw, 5.5rem);
}

.page-v2-shell .legal-v2-shell .legal-v2-section > .shell-frame {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.page-v2-shell .campaign-v2-shell .campaign-v2-hero {
  display: block;
  width: 100%;
  padding: 0;
}

.page-v2-shell .campaign-v2-shell .campaign-v2-hero > .shell-frame {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr);
}

.page-v2-shell .campaign-v2-shell .campaign-v2-section {
  width: 100%;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.page-v2-shell .campaign-v2-shell .campaign-v2-decision {
  width: min(100%, var(--shell-max));
  margin-inline: auto;
}

@media (max-width: 900px) {
  .page-v2-shell .campaign-v2-shell .campaign-v2-hero > .shell-frame {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-v2-shell .legal-v2-shell .legal-v2-head > .shell-frame,
  .page-v2-shell .legal-v2-shell .legal-v2-section > .shell-frame,
  .page-v2-shell main.page-shell .wrap,
  .page-v2-shell .page-shell .resource-frame,
  .page-v2-shell .page-shell .article-head,
  .page-v2-shell .page-shell .article-layout {
    padding-inline: var(--shell-gutter);
  }
}
