/* Protokol landing: ink blocks frame the offer and the pilot, paper carries the evidence.
   Shared fonts and colors come from product-tokens.css. No scripts, no inline styles (CSP). */
:root {
  /* Red that keeps 4.5:1 on ink; the paper red stays --signal. */
  --signal-bright: #e46d77;
  --on-deep-3: #8d887c;
  --line-deep: #34332b;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 24px }
body { margin: 0; background: var(--ground); color: var(--ink); font: 17px/1.55 var(--font-text); font-synthesis: none }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0 }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; font-weight: 400 }
a { color: inherit; text-underline-offset: 5px }
a:hover { text-decoration-thickness: 2px }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 5px }
.deep :focus-visible { outline-color: var(--signal-bright) }
.wrap { width: min(1180px, 100% - 64px); margin-inline: auto }
.deep { background: var(--deep); color: var(--on-deep) }
.paper { background: var(--ground) }

/* Header */
.head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; border-bottom: 1px solid var(--line-deep) }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 700 24px var(--font-display); text-decoration: none }
.mark { width: 36px; height: 36px; flex: none }
.mark-ground { fill: var(--on-deep) }
.mark-letters { fill: var(--deep) }
.mark-corner { fill: var(--signal) }
.head nav { display: flex; align-items: center; gap: 30px; font-size: 15px }
.head nav a { text-decoration: none; color: var(--on-deep-2) }
.head nav a:hover { color: var(--on-deep) }
.head nav .nav-cta { color: var(--on-deep); border: 1px solid var(--on-deep-3); padding: 9px 16px }
.head nav .nav-cta:hover { border-color: var(--on-deep) }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; padding-block: 88px 72px }
h1 { font-size: clamp(38px, 5vw, 66px); letter-spacing: -.03em }
h1 span { display: block; color: var(--signal-bright) }
.lead { margin-top: 28px; max-width: 34em; font-size: 19px; color: var(--on-deep-2) }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 40px }
.button { display: inline-flex; align-items: center; gap: 28px; padding: 17px 24px; text-decoration: none; font-size: 16px; font-weight: 700; background: var(--ink); color: var(--ground) }
.button:hover { background: var(--ink-2) }
.button-light { background: var(--on-deep); color: var(--deep) }
.button-light:hover { background: #fff }
.text-link { color: var(--on-deep); font-size: 16px }

/* Report sample: a document lying on the desk */
.report-sample { background: var(--ground); color: var(--ink); padding: 26px 28px 24px; border-top: 4px solid var(--signal) }
.report-sample figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--ink) }
.report-sample figcaption b { font: 700 19px var(--font-display) }
.report-sample figcaption span, .next span { font-size: 12px; color: var(--ink-3) }
.report-sample table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 4px }
.report-sample th, .report-sample td { text-align: left; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); font-weight: 400 }
.report-sample thead th { font-size: 12px; color: var(--ink-3); padding-top: 12px }
.report-sample tbody th { font-weight: 700 }
.report-sample td { font: 13px var(--font-data) }
.report-sample td:last-child, .report-sample th:last-child { padding-right: 0; width: 42% }
.rate { display: flex; align-items: center; gap: 10px }
.fill { display: block; height: 8px; background: var(--ink-2) }
.fill-40 { width: 60% } .fill-24 { width: 36% } .fill-11 { width: 16% }
.hot th, .hot .rate { color: var(--signal) }
.hot .fill { background: var(--signal) }
.rate-hidden { color: var(--ink-3) }
.next { margin-top: 16px; padding: 12px 14px; background: var(--ground-sunk); font-size: 14px; line-height: 1.45 }
.next span { display: block; margin-bottom: 4px }

/* Proof strip */
.proof { list-style: none; padding: 0 0 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px }
.proof li { border-top: 1px solid var(--line-deep); padding-top: 16px; font-size: 14px; color: var(--on-deep-2) }
.proof b { display: block; margin-bottom: 4px; font: 400 16px var(--font-data); color: var(--on-deep) }

/* Paper sections */
.paper section { padding-block: 96px 0 }
.paper section:last-of-type { padding-bottom: 96px }
h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.02em }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 32px }
.section-heading p { color: var(--ink-2); max-width: 36em }
.table-wrap { overflow-x: auto }
.journal table { width: 100%; border-collapse: collapse; text-align: left; font-size: 15px }
.journal th { font-weight: 400; color: var(--ink-3); font-size: 12px; padding: 0 18px 12px 0; border-bottom: 2px solid var(--ink) }
.journal td { padding: 20px 18px 20px 0; border-bottom: 1px solid var(--line) }
.journal td:last-child, .journal th:last-child { padding-right: 0 }
.actor { color: var(--signal); font-weight: 700 }
.scale { display: flex; align-items: center; gap: 14px; font: 12px var(--font-data) }
.bar { position: relative; display: block; width: 90px; height: 5px; background: var(--ground-sunk) }
.bar:before { content: ''; position: absolute; left: 0; top: 0; height: 5px; background: var(--ink-2) }
.bar:after { content: ''; position: absolute; left: 80%; top: -5px; width: 1px; height: 15px; background: var(--ink) }
.bar-96:before { width: 96%; background: var(--signal) }
.bar-01:before { width: 1% }
.bar-41:before { width: 41% }
.journal-note { margin-top: 15px; color: var(--ink-3); font-size: 13px }
.explanation { margin-top: 9px; font-size: 13px; color: var(--ink-3) }
summary { cursor: pointer; width: fit-content }
details p { max-width: 65ch; margin-top: 14px }

.process ol { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 36px; padding: 0; counter-reset: none }
.process li { border-top: 2px solid var(--ink); padding-top: 16px }
.process li:first-child { border-top-color: var(--signal) }
.process li > span { font: 12px var(--font-data); color: var(--ink-3) }
h3 { font-size: 26px; margin-top: 18px }
.process li p { font-size: 15px; color: var(--ink-2); margin-top: 10px }

.report-columns { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; margin-top: 36px }
.report-columns h3 { font-size: 20px; margin: 0 0 14px; font-family: var(--font-text); font-weight: 700 }
.report-columns ul { list-style: none; padding: 0; border-top: 1px solid var(--ink) }
.report-columns li { padding: 13px 0 13px 28px; border-bottom: 1px solid var(--line); position: relative; font-size: 16px }
.report-columns li:before { content: '+'; position: absolute; left: 4px; font: 16px var(--font-data); color: var(--ink-3) }
.honest li:before { content: '×'; color: var(--signal) }

.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px }
.roles > div { border-top: 1px solid var(--ink); padding-top: 18px }
.roles h3 { margin-top: 0; font-size: 22px }
.roles p { font-size: 15px; color: var(--ink-2); margin-top: 10px }

.spec { margin-top: 36px; border-top: 2px solid var(--ink) }
.spec > div { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; padding: 18px 0; border-bottom: 1px solid var(--line) }
.spec dt { font: 13px var(--font-data); color: var(--ink-3); padding-top: 3px }
.spec dd { font-size: 17px }

/* Pilot */
.pilot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding-block: 88px }
.pilot h2 { font-size: clamp(34px, 4.4vw, 56px) }
.pilot ol { list-style: none; padding: 0; counter-reset: step; border-top: 1px solid var(--line-deep) }
.pilot li { counter-increment: step; padding: 14px 0 14px 44px; border-bottom: 1px solid var(--line-deep); position: relative; color: var(--on-deep-2) }
.pilot li:before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; font: 13px/1.9 var(--font-data); color: var(--signal-bright) }
.contact-label { margin-top: 32px; font-size: 13px; color: var(--on-deep-3) }
.contact { font: 28px var(--font-data); margin-top: 8px; overflow-wrap: anywhere }

.employee { padding-block: 24px; border-bottom: 1px solid var(--line); font-size: 14px }
footer { padding-block: 28px 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; font-size: 12px; color: var(--ink-3) }
footer a { display: inline-block; margin-top: 10px }
footer b { color: var(--ink-2) }
.environment-notice { margin-top: 20px; padding: 15px; border: 1px solid var(--signal-bright); color: var(--signal-bright) }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.skip-link { position: fixed; top: -100px; left: 15px; background: var(--ground); color: var(--ink); padding: 10px; z-index: 10 }
.skip-link:focus { top: 10px }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-block: 64px 56px }
  .proof { grid-template-columns: repeat(2, 1fr); gap: 24px 32px }
  .process ol { grid-template-columns: repeat(2, 1fr) }
  .head nav a:not(.nav-cta) { display: none }
}
@media (max-width: 700px) {
  body { font-size: 16px }
  .wrap { width: calc(100% - 32px) }
  .head { padding-block: 16px }
  .brand { font-size: 21px }
  .mark { width: 32px; height: 32px }
  .head nav .nav-cta { padding: 8px 12px; font-size: 14px }
  .hero { padding-block: 44px 40px; gap: 40px }
  .lead { font-size: 17px; margin-top: 22px }
  .actions { margin-top: 30px; gap: 20px }
  .button { width: 100%; justify-content: space-between }
  .report-sample { padding: 20px 16px 18px }
  .report-sample figcaption { display: block }
  .report-sample figcaption span { display: block; margin-top: 4px }
  .report-sample td:last-child, .report-sample th:last-child { width: 38% }
  .proof { grid-template-columns: 1fr 1fr; padding-bottom: 44px }
  .paper section { padding-top: 64px }
  .paper section:last-of-type { padding-bottom: 64px }
  .section-heading { grid-template-columns: 1fr; gap: 16px }
  .journal table { min-width: 610px }
  .process ol, .roles, .report-columns { grid-template-columns: 1fr; gap: 28px }
  .spec > div { grid-template-columns: 1fr; gap: 4px }
  .pilot { grid-template-columns: 1fr; gap: 32px; padding-block: 56px }
  .contact { font-size: 21px }
  footer { grid-template-columns: 1fr; gap: 20px }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }
@media (forced-colors: active) { .fill, .bar:before, .mark-corner { forced-color-adjust: none } }
