/* Shared public-site typography and surfaces follow the review workspace. */
.home-page { --ivory: #f6f7f8; --editorial-teal: #245e70; --deep-teal: #183d49; }
.site-nav a[aria-current="page"], .home-menu a[aria-current="page"] { background: var(--lime); color: var(--forest); }
.home-page .site-footer { border-top: 1px solid var(--line); gap: 12px 30px; }
.home-page .footer-links { flex-wrap: wrap; row-gap: 0; }
.site-footer a { font-size: .88rem; }
.workspace-mount { padding: clamp(10px,1.5vw,24px); border: 1px solid #cbd7db; background: #ebeff0; }
.workspace-mount::before, .workspace-mount::after { content: none; }
.home-page .workbench { border-color: #c0ced3; }
.home-page .bench-title p { max-width: 56ch; }
.home-proof .text-link, .watch-pilot .text-link { display: inline-block; }
.home-page .watch-pilot { background: #e8f0f2; }
.home-page .watch-pilot .pilot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.home-page .watch-pilot .pilot-links > a { white-space: nowrap; }
.home-page .home-label, .home-page .ui-label { font-size: .75rem; }
.chapter-lead { padding-block: clamp(40px,5.2vw,80px); background: var(--paper); border-bottom: 1px solid var(--line); }
.chapter-spread { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: clamp(30px,6vw,88px); align-items: center; }
.chapter-copy h1, .utility-intro h1 { font: 500 clamp(2.95rem,5.1vw,5.1rem)/1.025 var(--font); letter-spacing: -.055em; }
.chapter-copy h1 em { display: block; }
.chapter-kicker, .case-meta { color: var(--forest); font: 500 .88rem/1.45 var(--font); }
.chapter-kicker { margin-bottom: .8rem; }
.chapter-copy > p:not(.chapter-kicker) { max-width: 47ch; margin: 16px 0 18px; font-size: clamp(1rem,1.32vw,1.22rem); line-height: 1.55; color: var(--muted); }
.chapter-copy .button { background: var(--deep-teal); }
.chapter-section, .chapter-band { padding-block: clamp(36px,5.1vw,78px); }
.chapter-band { background: #edf3f4; border-top: 1px solid var(--line); }
.section-caption { margin-bottom: 24px; }
.section-copy h2, .section-caption h2, .assignment-intro h2 { font: 500 clamp(1.85rem,3vw,3rem)/1.1 var(--font); letter-spacing: -.04em; }
.section-copy p:not(.chapter-kicker), .section-notes p:not(.reference-note), .assignment-content > p { color: var(--muted); line-height: 1.55; margin-block: 12px; font-size: 1rem; }
.section-notes > :first-child, .assignment-content > :first-child { margin-top: 0; }
.evidence-spread, .chapter-band .chapter-spread { align-items: start; }
.evidence-sheet { border: 1px solid #bbcbd2; background: white; border-radius: 6px; overflow: clip; min-width: 0; }
.evidence-sheet figcaption, .sheet-caption { display: flex; flex-wrap: wrap; gap: 3px 10px; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 11px clamp(15px,2vw,24px); background: #f0f4f5; }
.evidence-sheet figcaption strong, .sheet-caption strong { font: 500 1rem/1.4 var(--font); }
.evidence-sheet figcaption span, .sheet-caption span, .case-meta { font: .78rem/1.5 var(--mono); color: var(--muted); }
.record-lines { margin: 0; }
.record-lines > div { display: grid; grid-template-columns: minmax(87px,.34fr) minmax(0,1fr); gap: 12px; padding: 12px clamp(15px,2vw,24px); }
.record-lines > div + div { border-top: 1px solid var(--line); }
.record-lines dt { color: var(--muted); font-size: .88rem; }
.record-lines dd { margin: 0; color: var(--ink); font-size: .97rem; line-height: 1.5; }
.record-lines dd strong { font-weight: 600; }
.record-focus { background: var(--lime); box-shadow: inset 3px 0 var(--forest); }
.sheet-inset { padding: 15px clamp(15px,2vw,24px) 0; }
.evaluation-table { width: 100%; border-collapse: collapse; margin-top: 9px; font-size: .95rem; }
.evaluation-table caption { text-align: left; font-size: 1.14rem; font-weight: 500; margin-bottom: 9px; }
.evaluation-table th, .evaluation-table td { text-align: left; padding: 8px 5px; border-bottom: 1px solid var(--line); font-weight: 400; }
.evaluation-table thead th { font-size: .83rem; color: var(--muted); }
.evaluation-table :is(th,td):last-child { text-align: right; font-variant-numeric: tabular-nums; }
.evaluation-table tbody tr:first-child { background: var(--lime); }
.sheet-note, .reference-note { font-size: .89rem; line-height: 1.5; color: var(--muted); margin-block: 13px; }
.record-detail { border-top: 1px solid var(--line); }
.record-detail summary { color: var(--forest); font-weight: 500; font-size: .94rem; padding: 12px 0; cursor: pointer; }
.record-detail > p { font-size: .95rem; margin: 0 0 13px; line-height: 1.55; }
.delivery-log { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; padding: 0; list-style: none; border-block: 1px solid var(--line); }
.delivery-log li { padding: clamp(16px,2vw,28px); }
.delivery-log li + li { border-left: 1px solid var(--line); }
.delivery-log li:first-child { background: #eef4f5; }
.delivery-log h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.delivery-log p { margin: 8px 0; color: var(--muted); }
.delivery-log strong { display: block; font-size: .96rem; font-weight: 500; line-height: 1.5; }
.assignment-record { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); gap: clamp(20px,5vw,65px); border-top: 1px solid #c6d3d7; padding-top: clamp(20px,3vw,40px); margin-top: clamp(26px,3vw,42px); }
.assignment-intro h2 { font-size: clamp(1.5rem,2.3vw,2.1rem); }
.assignment-content { min-width: 0; }
.assignment-content .record-detail[open] { background: white; border: 1px solid var(--line); border-radius: 6px; }
.assignment-content .record-detail[open] summary { padding-inline: 14px; border-bottom: 1px solid var(--line); }
.record-links { display: flex; flex-wrap: wrap; gap: 12px 18px; padding: 12px 15px; border-top: 1px solid var(--line); }
.record-links a, .case-permalink > .workflow-book { color: var(--forest); font-size: .9rem; }
.record-lines ins { color: var(--forest); text-underline-offset: 3px; }
.record-lines del { color: #81574d; }
.case-permalink { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; }
.case-permalink > .workflow-book { font-weight: 500; }
.section-jump { padding-block: 18px; margin-block: 14px; border-block: 1px solid var(--line); }
.section-jump h2 { font-size: 1.15rem; margin-bottom: 6px; }
.utility-intro { background: var(--paper); padding-block: clamp(32px,4vw,66px); border-bottom: 1px solid var(--line); }
.utility-intro .page-updated { color: var(--muted); text-align: left; }
.utility-page .page-body { padding-block: clamp(28px,4.4vw,66px); }
.utility-page .prose { width: min(72ch,calc(100% - 36px)); }
.utility-page .trust-card, .utility-page .page-note { box-shadow: none; border-radius: 6px; }
.utility-page .trust-card { border-color: var(--line); }
.utility-page .trust-grid, .utility-page .contact-grid { margin-block: 18px; }
.utility-page .page-note { background: var(--paper); color: var(--ink); }
.utility-page .page-note p { color: var(--muted); }
.utility-page .page-note a { color: var(--forest); }
.utility-page .centred-lead { max-width: 65ch; text-align: left; margin-inline: 0; }
.utility-page .contact-grid { max-width: none; }
@media (max-width: 800px) {
  .chapter-spread, .assignment-record { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .chapter-copy > p:not(.chapter-kicker) { max-width: 57ch; }
}
@media (max-width: 620px) {
  .delivery-log { grid-template-columns: minmax(0,1fr); }
  .delivery-log li + li { border-left: 0; border-top: 1px solid var(--line); }
  .chapter-lead, .chapter-section, .chapter-band { padding-block: 32px; }
  .chapter-copy h1, .utility-intro h1 { font-size: clamp(2.6rem,9vw,3.5rem); }
  .record-lines > div { grid-template-columns: minmax(0,1fr); gap: 3px; padding-block: 10px; }
  .evidence-sheet figcaption, .sheet-caption { align-items: start; }
  .home-page .site-footer { align-items: start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.security-data { margin-block: clamp(26px,4vw,50px); }
.security-data h2 { margin-bottom: 14px; font-size: clamp(1.5rem,2vw,2rem); }
.security-data .record-lines { max-width: 78ch; border-block: 1px solid var(--line); margin-bottom: 12px; }
@media (min-width: 801px) { .workflow-picker, .workflow-intro .shell, .platform-page .platform-spread { scroll-margin-top: 16px; } }
.decision-trace { padding-inline: clamp(15px,2vw,24px); }
