:root {
  color-scheme: light;
  --ink: #071b25;
  --ink-soft: #123744;
  --blueprint: #082a38;
  --blueprint-light: #164757;
  --paper: #f4f2e9;
  --paper-cool: #e8f1ef;
  --paper-warm: #fff2be;
  --white: #fffdf7;
  --signal: #f7cf4d;
  --signal-deep: #5c4300;
  --coral: #e85831;
  --error: #8b1e17;
  --error-bg: #fff0eb;
  --line-on-dark: #8db4bd;
  --muted-on-dark: #c7dadd;
  --focus-inner: #ffe36d;
  --focus-outer: #031117;
  --measure: 76rem;
  --wide: 96rem;
  --rule: 2px;
}

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

html {
  background: var(--ink);
  font-size: 100%;
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

[hidden] {
  display: none !important;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.12em;
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea {
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid var(--focus-inner);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--focus-outer);
}

h1,
h2,
h3,
h4,
p,
ol,
ul,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.12;
  text-wrap: balance;
}

p,
dd,
li,
label,
button,
a {
  overflow-wrap: anywhere;
}

section,
footer,
header,
nav {
  min-width: 0;
}

section {
  scroll-margin-top: 1rem;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  min-height: 44px;
  padding: 0.65rem 1rem;
  background: var(--white);
  color: var(--ink);
  border: 3px solid var(--ink);
  font-weight: 800;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: var(--ink);
  color: var(--white);
}

.prototype-notice {
  margin: 0;
  padding: 0.7rem clamp(1rem, 3vw, 3rem);
  background: var(--signal);
  color: var(--ink);
  border-bottom: var(--rule) solid var(--ink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.015em;
  text-align: center;
}

.header-rail {
  width: min(100%, var(--wide));
  margin: 0 auto;
  padding: 1.1rem clamp(1rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-lockup {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  min-width: 0;
}

.brand-name {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.055em;
}

.brand-context {
  padding-left: 1rem;
  border-left: var(--rule) solid var(--signal);
  color: var(--muted-on-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.drawing-index {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: 0;
  color: var(--muted-on-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.drawing-index span {
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line-on-dark);
}

.primary-nav {
  background: var(--blueprint-light);
  color: var(--white);
  border-block: var(--rule) solid var(--line-on-dark);
}

.primary-nav ul {
  width: min(100%, var(--wide));
  margin: 0 auto;
  padding: 0 clamp(0.5rem, 4vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.primary-nav li {
  border-inline-start: 1px solid var(--line-on-dark);
}

.primary-nav li:last-child {
  border-inline-end: 1px solid var(--line-on-dark);
}

.primary-nav a {
  min-height: 46px;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a:hover {
  background: var(--signal);
  color: var(--ink);
}

.blueprint-section {
  position: relative;
  padding: clamp(4rem, 8vw, 7.5rem) clamp(1rem, 4vw, 4rem);
}

.blueprint-section > * {
  width: min(100%, var(--wide));
  margin-inline: auto;
}

.section-coordinate {
  margin-bottom: 1.3rem;
  color: currentColor;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  opacity: 0.72;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: var(--rule) solid currentColor;
}

.section-heading-row h2 {
  max-width: 18ch;
  margin-bottom: 0;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  letter-spacing: -0.052em;
}

.eyebrow,
.mini-label,
.lane-code,
.boundary-label,
.record-code,
.gate-name,
.ownership-stamp,
.boundary-stamp,
.local-stamp,
.section-key {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 0.7rem;
}

.overview {
  overflow: hidden;
  background-color: var(--blueprint);
  color: var(--white);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
}

.blueprint-grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  margin: 0;
  background-image:
    linear-gradient(rgba(141, 180, 189, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 180, 189, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(141, 180, 189, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 180, 189, 0.05) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px, 18px 18px, 18px 18px;
  pointer-events: none;
}

.overview > *,
.scope > * {
  position: relative;
  z-index: 1;
}

.overview > .blueprint-grid,
.scope > .blueprint-grid {
  z-index: 0;
}

.overview-copy {
  position: relative;
  z-index: 1;
  max-width: var(--measure);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.overview h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.4rem, 6.7vw, 6.2rem);
  letter-spacing: -0.065em;
}

.service-definition {
  max-width: 54rem;
  margin-bottom: 0;
  color: var(--muted-on-dark);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 700;
}

.opening-blueprint {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: var(--rule) solid var(--white);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.28);
}

.opening-lane {
  min-width: 0;
  padding: clamp(1.4rem, 4vw, 3rem);
  color: var(--ink);
}

.opening-lane + .opening-lane {
  border-inline-start: var(--rule) solid var(--ink);
}

.buyer-lane {
  background: var(--paper-cool);
}

.specialist-lane {
  background: var(--paper-warm);
}

.opening-lane .lane-code {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 2.5rem;
}

.lane-code span {
  min-width: 2rem;
  padding: 0.2rem 0.35rem;
  border: 2px solid currentColor;
  text-align: center;
}

.opening-lane h2 {
  max-width: 14ch;
  margin-bottom: 1.2rem;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  letter-spacing: -0.045em;
}

.opening-lane p:not(.lane-code) {
  max-width: 45rem;
}

.responsibility-verb {
  margin: 2rem 0 0;
  padding-top: 1.2rem;
  border-top: var(--rule) solid currentColor;
}

.responsibility-verb strong {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.opening-boundary {
  grid-column: 1 / -1;
  padding: 1.2rem clamp(1.4rem, 4vw, 3rem);
  background: var(--ink);
  color: var(--white);
  border-top: 4px double var(--signal);
  border-bottom: 2px dashed var(--signal);
}

.opening-boundary .boundary-label {
  color: var(--signal);
}

.opening-boundary > p:last-child {
  margin-bottom: 0;
}

.ownership-note {
  color: var(--muted-on-dark);
  font-weight: 700;
}

.cta-qualifier {
  margin-top: 2.5rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 2rem;
  border: var(--rule) solid currentColor;
}

.cta-qualifier > p {
  max-width: 66rem;
  margin-bottom: 0;
  font-weight: 700;
}

.primary-action,
.secondary-action,
.reset-action {
  min-height: 50px;
  min-width: 44px;
  padding: 0.78rem 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: var(--rule) solid var(--ink);
  border-radius: 0;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.primary-action {
  background: var(--signal);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.overview .primary-action {
  border-color: var(--white);
  box-shadow: 5px 5px 0 var(--white);
}

.primary-action:hover,
.primary-action:active {
  background: var(--white);
}

.process {
  background: var(--paper);
  color: var(--ink);
}

.section-key {
  max-width: 32rem;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 0.8rem;
  text-align: right;
}

.solid-key,
.double-key,
.dashed-key {
  width: 2.5rem;
  height: 0;
  display: inline-block;
  border-top: 3px solid currentColor;
}

.double-key {
  border-top-style: double;
  border-top-width: 6px;
}

.dashed-key {
  border-top-style: dashed;
}

.section-intro {
  max-width: var(--measure);
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.step-spotlight {
  margin-bottom: 1.5rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--blueprint);
  color: var(--white);
  border: var(--rule) solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}

html:not(.js) .step-spotlight {
  display: none;
}

html:not(.js) [data-cta-id="cta.preview"] {
  display: none;
}

.spotlight-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.7fr);
  gap: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line-on-dark);
}

.spotlight-heading h3 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.spotlight-heading > p {
  margin-bottom: 0;
  color: var(--muted-on-dark);
}

.spotlight-controls {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.spotlight-controls button {
  min-height: 52px;
  padding: 0.7rem 0.85rem;
  background: transparent;
  color: var(--white);
  border: 2px solid var(--line-on-dark);
  border-radius: 0;
  font-weight: 800;
  cursor: pointer;
}

.spotlight-controls button span {
  display: block;
  color: var(--signal);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}

.spotlight-controls button[aria-pressed="true"] {
  background: var(--signal);
  color: var(--ink);
  border: 4px double var(--ink);
}

.spotlight-controls button[aria-pressed="true"] span {
  color: var(--ink);
}

.spotlight-controls button[aria-pressed="true"]::after {
  content: " · selected";
  font-size: 0.875rem;
  text-transform: uppercase;
}

.blueprint-sequence {
  margin-bottom: 0;
  padding: 0;
  list-style: none;
  counter-reset: handoff-step;
}

.blueprint-step {
  position: relative;
  margin: 0 0 2rem;
  border: var(--rule) solid var(--ink);
  background: var(--white);
  box-shadow: 8px 8px 0 rgba(7, 27, 37, 0.14);
}

.blueprint-step:last-child {
  margin-bottom: 0;
}

.blueprint-step.is-spotlit {
  outline: 4px double var(--coral);
  outline-offset: 5px;
  box-shadow: 12px 12px 0 var(--ink);
}

.step-title-row {
  min-width: 0;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  background: var(--ink);
  color: var(--white);
}

.step-title-row h3 {
  margin-bottom: 0;
  font-size: clamp(1.4rem, 3vw, 2.35rem);
}

.step-number {
  min-width: 3.2rem;
  padding-right: 1rem;
  border-right: var(--rule) solid var(--signal);
  color: var(--signal);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.25rem;
  font-weight: 900;
}

.gate-name {
  color: var(--muted-on-dark);
}

.blueprint-step.is-spotlit .step-title-row::after {
  content: "Spotlighted step";
  grid-column: 2 / -1;
  width: max-content;
  max-width: 100%;
  padding: 0.15rem 0.5rem;
  background: var(--signal);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.canonical-step {
  margin-bottom: 0;
  padding: 1.1rem clamp(1rem, 3vw, 2rem);
  background: #dedbd0;
  border-bottom: var(--rule) solid var(--ink);
  font-weight: 700;
}

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

.responsibility {
  min-width: 0;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.buyer-responsibility {
  background: var(--paper-cool);
  border-right: var(--rule) solid var(--ink);
}

.specialist-responsibility {
  background: var(--paper-warm);
}

.responsibility .lane-code {
  margin-bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.responsibility h4 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.responsibility > p:last-child {
  margin-bottom: 0;
}

.responsibility strong {
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.step-boundary {
  position: relative;
  padding: 1rem clamp(1rem, 3vw, 2rem) 1rem clamp(3.6rem, 7vw, 6rem);
  background: var(--blueprint);
  color: var(--white);
  border-top: 4px double var(--signal);
  border-bottom: 2px dashed var(--signal);
}

.step-boundary::before {
  content: "";
  position: absolute;
  left: clamp(1.25rem, 3vw, 2.5rem);
  top: 50%;
  width: 1.3rem;
  height: 1.3rem;
  border: 3px solid var(--signal);
  transform: translateY(-50%) rotate(45deg);
}

.step-boundary .boundary-label {
  margin-bottom: 0.35rem;
  color: var(--signal);
}

.step-boundary > p:last-child {
  margin-bottom: 0;
  color: var(--muted-on-dark);
  font-weight: 700;
}

.scope {
  background-color: var(--blueprint);
  color: var(--white);
}

.scope > .blueprint-grid {
  background-size: 36px 36px, 36px 36px, 18px 18px, 18px 18px;
}

.ownership-stamp,
.boundary-stamp,
.local-stamp {
  max-width: 20rem;
  margin-bottom: 0;
  padding: 0.5rem 0.7rem;
  border: 2px dashed currentColor;
  text-align: center;
}

.scope-register {
  margin-bottom: 0;
  border: var(--rule) solid var(--white);
}

.scope-row {
  display: grid;
  grid-template-columns: minmax(12rem, 0.9fr) minmax(0, 1.6fr) minmax(12rem, 0.8fr);
}

.scope-row + .scope-row {
  border-top: var(--rule) solid var(--white);
}

.scope-row dt,
.scope-row dd {
  margin: 0;
  padding: clamp(1rem, 2.5vw, 1.6rem);
}

.scope-row dt {
  background: var(--paper-cool);
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
}

.scope-row dd:not(.scope-owner) {
  border-inline: var(--rule) solid var(--white);
  color: var(--white);
  font-weight: 700;
}

.scope-owner {
  background: var(--signal);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.boundaries {
  background: var(--paper);
}

.boundary-register {
  margin-top: 2.5rem;
  border-top: 5px double var(--ink);
  border-bottom: 5px double var(--ink);
}

.boundary-record {
  padding: clamp(1.3rem, 3vw, 2.2rem);
  display: grid;
  grid-template-columns: minmax(10rem, 0.35fr) minmax(13rem, 0.55fr) minmax(0, 1.6fr);
  gap: 1.5rem;
  align-items: start;
  border-bottom: var(--rule) dashed var(--ink);
}

.boundary-record:last-child {
  border-bottom: 0;
}

.boundary-record:nth-child(even) {
  background: #e4e1d7;
}

.boundary-record .record-code {
  margin-bottom: 0;
  color: #3e555d;
}

.boundary-record h3 {
  margin-bottom: 0;
  font-size: 1.35rem;
}

.boundary-record > p:last-child {
  margin-bottom: 0;
}

.talk-qualifier {
  background: var(--ink);
  color: var(--white);
}

.secondary-action {
  background: var(--paper-cool);
  color: var(--ink);
  border-color: var(--white);
  box-shadow: 5px 5px 0 var(--signal);
}

.secondary-action:hover,
.secondary-action:active {
  background: var(--signal);
}

.human-next-step {
  background: var(--blueprint);
  color: var(--white);
}

.next-step-canonical {
  max-width: var(--measure);
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
}

.handoff-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: var(--rule) solid var(--white);
}

.handoff-side {
  min-width: 0;
  padding: clamp(1.3rem, 3vw, 2.2rem);
  color: var(--ink);
}

.handoff-side + .handoff-side {
  border-left: var(--rule) solid var(--ink);
}

.handoff-side h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.handoff-side > p:last-child {
  margin-bottom: 0;
}

.handoff-boundary {
  grid-column: 1 / -1;
  padding: 1.1rem clamp(1.3rem, 3vw, 2.2rem);
  background: var(--ink);
  border-top: 4px double var(--signal);
  border-bottom: 2px dashed var(--signal);
}

.handoff-boundary .boundary-label {
  color: var(--signal);
}

.handoff-boundary > p:last-child {
  margin-bottom: 0;
  color: var(--muted-on-dark);
}

.request {
  background: var(--paper);
}

.request-heading-row {
  margin-bottom: 1.5rem;
}

.request-note,
.sensitive-note {
  max-width: var(--measure);
  padding: 1rem 1.2rem;
  font-weight: 700;
}

.request-note {
  margin-bottom: 1rem;
  background: var(--ink);
  color: var(--white);
  border-left: 8px solid var(--signal);
}

.sensitive-note {
  margin-bottom: 2rem;
  background: var(--paper-warm);
  border: var(--rule) solid var(--ink);
}

#request-form {
  margin-top: 0;
}

.form-section {
  min-width: 0;
  margin: 0 0 2rem;
  padding: clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  border: var(--rule) solid var(--ink);
  border-radius: 0;
}

.form-section legend {
  padding: 0.4rem 0.8rem;
  background: var(--ink);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 900;
}

.form-section legend span {
  margin-right: 0.6rem;
  color: var(--signal);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #e5e2d8;
}

.field {
  min-width: 0;
}

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

.field-heading {
  min-height: 3.4rem;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
}

.field-heading label {
  font-weight: 900;
  line-height: 1.35;
}

.field-requirement {
  flex: 0 1 auto;
  padding: 0.14rem 0.38rem;
  border: 1px solid var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
  text-transform: uppercase;
}

.field-help {
  margin: -0.15rem 0 0.55rem;
  color: #314c55;
  font-size: 0.9rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0.72rem 0.8rem;
  background: var(--white);
  color: var(--ink);
  border: var(--rule) solid var(--ink);
  border-radius: 0;
  caret-color: var(--ink);
}

.field textarea {
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-width: 3px;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border: 4px double var(--error);
  background: var(--error-bg);
}

.field-error {
  margin: 0.45rem 0 0;
  padding: 0.45rem 0.6rem;
  background: var(--error-bg);
  color: var(--error);
  border-left: 5px solid var(--error);
  font-weight: 800;
}

.error-summary {
  margin-bottom: 2rem;
  padding: 1.2rem;
  background: var(--error-bg);
  color: var(--error);
  border: 4px double var(--error);
}

.error-summary h3 {
  margin-bottom: 0.6rem;
  font-size: 1.35rem;
}

.error-summary ul {
  margin-bottom: 0;
  padding-left: 1.4rem;
}

.error-summary a {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  font-weight: 900;
}

.request-preview {
  margin-bottom: 2rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--paper-cool);
  border: 5px double var(--ink);
}

.request-preview h3 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.request-preview > p {
  font-weight: 700;
}

.request-preview dl {
  margin-bottom: 0;
  display: grid;
  grid-template-columns: minmax(11rem, 0.45fr) minmax(0, 1fr);
  border-top: var(--rule) solid var(--ink);
}

.request-preview dt,
.request-preview dd {
  margin: 0;
  padding: 0.75rem;
  border-bottom: 1px solid var(--ink);
}

.request-preview dt {
  font-weight: 900;
}

.request-preview dd {
  white-space: pre-wrap;
  border-left: 1px solid var(--ink);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1rem;
}

.reset-action {
  background: transparent;
  color: var(--ink);
}

.reset-action:hover,
.reset-action:active {
  background: var(--ink);
  color: var(--white);
}

.request-confirmation {
  margin-top: 2rem;
  margin-bottom: 0;
  padding: 1.1rem 1.2rem;
  background: var(--white);
  border: 2px dashed var(--ink);
  font-weight: 800;
}

.request-confirmation[data-preview-state="ready"] {
  background: var(--paper-warm);
  border: 5px double var(--ink);
}

.site-footer {
  min-height: 8rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--ink);
  color: var(--white);
  border-top: 6px double var(--signal);
}

.site-footer p {
  margin-bottom: 0;
  font-weight: 800;
}

.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
}

@media (max-width: 62rem) {
  .boundary-record {
    grid-template-columns: minmax(9rem, 0.45fr) minmax(0, 1fr);
  }

  .boundary-record > p:last-child {
    grid-column: 1 / -1;
    padding-top: 1rem;
    border-top: 1px solid var(--ink);
  }

  .scope-row {
    grid-template-columns: minmax(10rem, 0.8fr) minmax(0, 1.5fr);
  }

  .scope-owner {
    grid-column: 1 / -1;
    border-top: 1px dashed var(--ink);
  }

  .scope-row dd:not(.scope-owner) {
    border-inline-end: 0;
  }

  .contact-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 45rem) {
  .brand-lockup,
  .section-heading-row,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-rail {
    gap: 0.75rem;
    padding-block: 0.8rem;
    flex-wrap: wrap;
  }

  .brand-lockup {
    gap: 0.45rem;
  }

  .brand-context {
    padding-left: 0;
    border-left: 0;
  }

  .drawing-index {
    justify-content: flex-start;
  }

  .drawing-index span:last-child {
    display: none;
  }

  .primary-nav ul {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .primary-nav li,
  .primary-nav li:last-child {
    border: 1px solid var(--line-on-dark);
  }

  .primary-nav li:last-child {
    grid-column: 2 / 4;
  }

  .primary-nav a {
    min-height: 48px;
    justify-content: center;
    text-align: center;
  }

  .blueprint-section {
    padding-block: 3rem;
  }

  .overview {
    padding-top: 2.5rem;
  }

  .opening-blueprint,
  .responsibility-pair,
  .handoff-pair,
  .form-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .opening-lane + .opening-lane,
  .buyer-responsibility,
  .handoff-side + .handoff-side {
    border-inline-start: 0;
    border-right: 0;
    border-top: var(--rule) solid var(--ink);
  }

  .opening-boundary,
  .handoff-boundary,
  .field-wide {
    grid-column: 1;
  }

  .cta-qualifier {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-qualifier .primary-action,
  .cta-qualifier .secondary-action {
    width: 100%;
  }

  .section-heading-row {
    gap: 1.25rem;
  }

  .section-key {
    justify-content: flex-start;
    text-align: left;
  }

  .spotlight-heading {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .step-title-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .gate-name {
    grid-column: 2;
  }

  .blueprint-step.is-spotlit .step-title-row::after {
    grid-column: 2;
  }

  .scope-row,
  .boundary-record {
    grid-template-columns: minmax(0, 1fr);
  }

  .scope-row dd:not(.scope-owner),
  .scope-owner,
  .boundary-record > p:last-child {
    grid-column: 1;
  }

  .scope-row dd:not(.scope-owner) {
    border-top: var(--rule) solid var(--white);
    border-inline: 0;
  }

  .scope-owner {
    border-top: var(--rule) dashed var(--ink);
  }

  .boundary-record h3,
  .boundary-record > p:last-child {
    padding-top: 0.9rem;
    border-top: 1px dashed var(--ink);
  }

  .field-heading {
    min-height: 0;
    flex-direction: column;
    gap: 0.4rem;
  }

  .field-requirement {
    text-align: left;
  }

  .request-preview dl {
    grid-template-columns: minmax(0, 1fr);
  }

  .request-preview dd {
    border-left: 0;
  }

  .request-preview dt {
    padding-bottom: 0.2rem;
    border-bottom: 0;
  }

  .request-preview dd {
    padding-top: 0.2rem;
  }
}

@media (max-width: 24rem) {
  .prototype-notice {
    text-align: left;
  }

  .drawing-index {
    display: none;
  }

  .opening-blueprint,
  .blueprint-step,
  .step-spotlight {
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.28);
  }

  .step-title-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-number {
    width: max-content;
    border-right: 0;
    border-bottom: var(--rule) solid var(--signal);
  }

  .gate-name,
  .blueprint-step.is-spotlit .step-title-row::after {
    grid-column: 1;
  }

  .step-boundary {
    padding-left: 1rem;
  }

  .step-boundary::before {
    display: none;
  }

  .form-actions > * {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  :root {
    --focus-inner: Highlight;
    --focus-outer: CanvasText;
  }

  body,
  .overview,
  .scope,
  .process,
  .boundaries,
  .human-next-step,
  .request,
  .opening-lane,
  .responsibility,
  .scope-row dt,
  .scope-owner,
  .boundary-record,
  .handoff-side,
  .request-note,
  .sensitive-note,
  .request-preview,
  .field input,
  .field textarea {
    background: Canvas;
    color: CanvasText;
    background-image: none;
  }

  .prototype-notice,
  .primary-nav,
  .step-spotlight,
  .step-title-row,
  .step-boundary,
  .talk-qualifier,
  .handoff-boundary,
  .site-header,
  .site-footer {
    background: Canvas;
    color: CanvasText;
  }

  .opening-lane + .opening-lane,
  .buyer-responsibility,
  .handoff-side + .handoff-side {
    border-color: CanvasText;
  }

  .spotlight-controls button[aria-pressed="true"],
  .primary-action,
  .secondary-action,
  .reset-action {
    forced-color-adjust: auto;
    border: 4px double CanvasText;
    background: ButtonFace;
    color: ButtonText;
    box-shadow: none;
  }

  .blueprint-step.is-spotlit {
    outline: 5px double Highlight;
  }

  .error-summary,
  .field-error,
  .field input[aria-invalid="true"],
  .field textarea[aria-invalid="true"] {
    background: Canvas;
    color: CanvasText;
    border-color: Highlight;
  }

  body * {
    color: CanvasText !important;
  }

  body a {
    color: LinkText !important;
  }

  body button,
  body input,
  body textarea {
    color: ButtonText !important;
  }
}
