:root {
  color-scheme: dark;
  --ink: #f6f2e8;
  --muted: #c7d1cf;
  --deep: #10191d;
  --deep-2: #16252a;
  --line: #718a8d;
  --signal: #ffd36f;
  --signal-strong: #ffdf92;
  --teal: #8cd8cc;
  --paper: #f3f1e9;
  --paper-2: #e5e9e3;
  --paper-ink: #172327;
  --paper-muted: #42555a;
  --error: #ffe0d8;
  --error-line: #ff8e78;
  --max: 88rem;
  --edge: clamp(1rem, 4vw, 4rem);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--deep);
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--deep);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea,
[tabindex="-1"] {
  scroll-margin: 1rem;
}

:focus-visible {
  outline: 3px solid var(--signal-strong);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border: 2px solid currentColor;
  background: var(--signal);
  color: #11191c;
  font-weight: 800;
  transform: translateY(-180%);
}

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

.site-header,
.primary-nav,
main > section,
.site-footer {
  padding-inline: var(--edge);
}

.site-header {
  display: grid;
  grid-template-columns: minmax(16rem, 0.7fr) minmax(20rem, 1.3fr);
  gap: 2rem;
  align-items: center;
  max-width: var(--max);
  margin-inline: auto;
  padding-block: 1.25rem;
  border-bottom: 1px solid #52676b;
}

.brand-lockup {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.brand-mark {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 2px solid var(--signal);
  border-radius: 50%;
  color: var(--signal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.brand-name,
.brand-context {
  display: block;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-context {
  color: var(--muted);
  font-size: 0.9rem;
}

.prototype-notice {
  margin: 0;
  padding: 0.75rem 1rem;
  border-left: 3px double var(--signal);
  color: var(--ink);
  font-size: 1rem;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  align-items: center;
  max-width: var(--max);
  margin-inline: auto;
  padding-block: 0.55rem;
  border-bottom: 1px solid #394e52;
}

.primary-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 720;
  letter-spacing: 0.06em;
  text-decoration-thickness: 1px;
  text-transform: uppercase;
}

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

.overview {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.55fr);
  gap: clamp(2rem, 6vw, 7rem);
  max-width: var(--max);
  margin-inline: auto;
  padding-block: clamp(4rem, 8vw, 8rem) clamp(4rem, 7vw, 7rem);
}

.overview-copy {
  max-width: 53rem;
}

.section-kicker,
.diagram-label {
  margin: 0 0 0.85rem;
  color: var(--teal);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  margin-block: 0;
  line-height: 1.12;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 13ch;
  font-size: clamp(3.2rem, 7.3vw, 7.2rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.1rem, 4.3vw, 4.4rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
}

h4 {
  font-size: 1.12rem;
}

p {
  margin-block: 0;
}

.service-definition {
  max-width: 43rem;
  margin-top: 2.1rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.5;
}

.service-definition + p,
.boundary-short {
  max-width: 44rem;
  margin-top: 1.15rem;
  color: var(--muted);
}

.boundary-short {
  padding-left: 1rem;
  border-left: 3px dashed var(--teal);
}

.request-origin {
  align-self: start;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 50% 50% 12% 12% / 12% 12% 8% 8%;
  background: #18282d;
}

.request-origin::before {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  margin-bottom: 2rem;
  border: 4px double var(--signal);
  border-radius: 50%;
  content: "";
}

.origin-index {
  color: var(--signal);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.request-origin h2 {
  margin-top: 0.55rem;
  font-family: inherit;
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.request-origin p {
  margin-top: 1rem;
  color: var(--muted);
}

.action-context {
  align-self: end;
}

.opening-action {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid #516469;
}

.opening-action p {
  max-width: 57rem;
  color: var(--muted);
}

.primary-action,
.secondary-action,
.reset-action {
  display: inline-flex;
  min-height: 48px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 0;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.primary-action {
  border-color: var(--signal);
  background: var(--signal);
  color: #11191c;
}

.primary-action:hover {
  background: var(--signal-strong);
}

.secondary-action,
.reset-action {
  border-color: currentColor;
  background: transparent;
  color: inherit;
}

.process-section {
  max-width: var(--max);
  margin-inline: auto;
  padding-block: clamp(4rem, 8vw, 8rem);
  border-top: 1px solid #354a4e;
}

.section-intro {
  max-width: 62rem;
  margin-bottom: 3rem;
}

.section-intro > p:last-child,
.section-intro > [data-content-id] > p:last-child {
  max-width: 50rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.thread-field {
  position: relative;
  padding: clamp(1rem, 2.5vw, 2.5rem);
  overflow: clip;
  border: 1px solid var(--line);
  background: #111d21;
}

.field-heading {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.65fr);
  gap: 2rem;
  align-items: start;
}

.field-heading h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.diagram-notice {
  padding: 0.75rem 1rem;
  border: 1px dashed var(--signal);
  color: var(--ink);
  font-weight: 700;
}

.interaction-instruction {
  position: relative;
  z-index: 3;
  max-width: 48rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.thread-canvas {
  position: relative;
  isolation: isolate;
  min-height: 48rem;
  margin-top: 1rem;
  background: #111d21;
}

.thread-arcs {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.edge path {
  fill: none;
  stroke: #91a4a5;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.radial-guides circle {
  fill: none;
  stroke: #354b50;
  stroke-dasharray: 2 10;
  stroke-linecap: round;
  stroke-width: 1.5;
}

#arrow-solid path {
  fill: #91a4a5;
}

.edge-dash path {
  stroke: var(--teal);
  stroke-dasharray: 11 7;
}

.edge-dot path {
  stroke: var(--signal);
  stroke-dasharray: 3 8;
  stroke-linecap: round;
}

.edge-converge path {
  stroke: #d6b8ff;
  stroke-dasharray: 14 6 3 6;
}

.junction {
  fill: #111d21;
  stroke: var(--signal);
  stroke-width: 4;
}

.edge-label,
.junction-label {
  position: absolute;
  z-index: 1;
  padding: 0.12rem 0.3rem;
  background: #111d21;
  color: #d9e1de;
  font-size: 0.875rem;
  font-weight: 750;
  line-height: 1.3;
}

.junction-label {
  color: var(--signal-strong);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.edge-label-1 { left: 51%; top: 22%; }
.edge-label-2 { left: 10%; top: 7%; }
.edge-label-3 { left: 10%; top: 43%; }
.edge-label-4 { right: 0; top: 43%; }
.edge-label-5 { right: 12%; top: 7%; }
.edge-label-6 { left: 40%; top: 56%; }
.edge-label-7 { right: 0; top: 56%; }
.junction-label-clarify { left: 65%; top: 2%; }
.junction-label-scope { left: 64%; top: 58%; }

.thread-field[data-active="1"] [data-edge="1"] path,
.thread-field[data-active="2"] [data-edge="1"] path,
.thread-field[data-active="3"] [data-edge="2"] path,
.thread-field[data-active="4"] [data-edge="3"] path,
.thread-field[data-active="5"] [data-edge="4"] path,
.thread-field[data-active="6"] [data-edge="5"] path,
.thread-field[data-active="7"] [data-edge="6"] path,
.thread-field[data-active="8"] [data-edge="7"] path {
  stroke-width: 5;
}

.thread-node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: min(13.5rem, 19%);
  min-height: 7.2rem;
  padding: 0.85rem 1rem;
  border: 2px solid #82999b;
  border-radius: 0.2rem;
  background: #17262b;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transform: translate(-50%, -50%);
}

.thread-node::after {
  display: none;
  margin-top: 0.6rem;
  color: var(--signal);
  content: "Pinned emphasis";
  font-size: 0.875rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thread-node[aria-pressed="true"] {
  border-style: double;
  border-width: 5px;
  background: #24383d;
}

.thread-node[aria-pressed="true"]::after {
  display: block;
}

.thread-node > span,
.thread-node::after {
  background-color: inherit;
}

.thread-node:hover {
  border-color: var(--signal);
}

.node-number {
  color: var(--signal);
  font-size: 0.875rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.node-title {
  margin-top: 0.25rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.node-note {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.node-1 { left: 50%; top: 36%; }
.node-2 { left: 50%; top: 12%; }
.node-3 { left: 15%; top: 31%; }
.node-4 { left: 30%; top: 70%; }
.node-5 { left: 70%; top: 70%; }
.node-6 { left: 85%; top: 31%; }
.node-7 { left: 50%; top: 89%; }
.node-8 { left: 89%; top: 87%; }

.node-inspector {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(11rem, 0.35fr) minmax(13rem, 0.35fr) minmax(18rem, 1fr);
  gap: 1rem;
  align-items: baseline;
  min-height: 4.5rem;
  padding-top: 1.1rem;
  border-top: 3px double var(--signal);
}

.inspector-label {
  color: var(--signal);
  font-size: 0.875rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.node-inspector > span:last-child {
  color: var(--muted);
}

.dependency-path {
  display: grid;
  grid-template-columns: minmax(16rem, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 6vw, 6rem);
  margin-top: 1.5rem;
  padding: clamp(1.5rem, 4vw, 4rem);
  border: 1px solid #63787a;
  background: #17262b;
}

.path-heading {
  align-self: start;
}

.path-heading h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.path-heading > p:last-child {
  margin-top: 1rem;
  color: var(--muted);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: path;
}

.process-list > li {
  position: relative;
  padding: 0 0 2.25rem 3rem;
  border-left: 2px solid #8ea0a1;
  counter-increment: path;
}

.process-list > li::before {
  position: absolute;
  top: 0;
  left: -1.05rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 2px solid var(--signal);
  border-radius: 50%;
  background: #17262b;
  color: var(--signal);
  content: counter(path, decimal-leading-zero);
  font-size: 0.875rem;
  font-weight: 850;
}

.process-list > li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.process-list h4 {
  padding-top: 0.2rem;
}

.process-list h4 + p,
.relationship-note {
  margin-top: 0.65rem;
}

.process-list h4 + p {
  color: var(--muted);
}

.relationship-note {
  padding: 0.75rem 0.9rem;
  border-left: 3px dashed var(--teal);
  background: #1c2f34;
  color: var(--ink);
}

.nested-questions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.nested-questions li {
  padding: 0.85rem;
  border: 1px dotted #8ea0a1;
}

.nested-questions strong,
.nested-questions span {
  display: block;
}

.nested-questions span {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.scope-section {
  max-width: none;
  padding-block: clamp(4rem, 8vw, 8rem);
  background: var(--paper);
  color: var(--paper-ink);
}

.scope-section > * {
  max-width: var(--max);
  margin-inline: auto;
}

.section-intro.light .section-kicker {
  color: #245e59;
}

.section-intro.light > p:last-child,
.section-intro.light > [data-content-id] > p:last-child {
  color: var(--paper-muted);
}

.question-field {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-block: 0;
  border-top: 2px solid #364d51;
  border-left: 2px solid #364d51;
}

.question-field > div {
  position: relative;
  min-height: 13rem;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  border-right: 2px solid #364d51;
  border-bottom: 2px solid #364d51;
}

.question-field > div::before {
  display: block;
  width: 2.4rem;
  margin-bottom: 1.8rem;
  border-top: 5px double #2d6761;
  content: "";
}

.question-field dt {
  font-size: 1.2rem;
  font-weight: 850;
}

.question-field dd {
  margin: 0.75rem 0 0;
  color: var(--paper-muted);
}

.boundaries-section {
  display: grid;
  grid-template-columns: minmax(15rem, 0.55fr) minmax(0, 1.45fr);
  gap: 2rem clamp(2rem, 7vw, 8rem);
  max-width: var(--max);
  margin-inline: auto;
  padding-block: clamp(4rem, 8vw, 8rem);
}

.boundaries-heading {
  align-self: start;
}

.boundary-thread {
  display: grid;
  gap: 0;
}

.boundary-thread p {
  position: relative;
  padding: 1.35rem 1.5rem 1.35rem 3rem;
  border-left: 2px dashed var(--signal);
  color: var(--muted);
}

.boundary-thread p::before {
  position: absolute;
  top: 1.55rem;
  left: -0.48rem;
  width: 0.75rem;
  height: 0.75rem;
  border: 2px solid var(--signal);
  border-radius: 50%;
  background: var(--deep);
  content: "";
}

.boundary-thread p + p {
  border-top: 1px solid #42575a;
}

.boundary-action {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  padding-top: 2rem;
  border-top: 3px double #6b7e80;
}

.boundary-action p {
  max-width: 58rem;
  color: var(--muted);
}

.next-step-section {
  display: grid;
  grid-template-columns: minmax(10rem, 0.35fr) minmax(0, 1.65fr);
  gap: clamp(2rem, 7vw, 8rem);
  max-width: none;
  padding-block: clamp(4rem, 8vw, 8rem);
  background: var(--signal);
  color: #152024;
}

.next-step-section > * {
  max-width: var(--max);
}

.next-step-marker {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 9rem;
  padding: 1rem;
  border: 3px double #152024;
  font-size: 0.875rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.next-step-section .section-kicker {
  color: #23514d;
}

.next-step-section h2 {
  max-width: 15ch;
}

.next-step-section h2 + p {
  max-width: 55rem;
  margin-top: 1.25rem;
  font-size: 1.12rem;
}

.request-section {
  max-width: var(--max);
  margin-inline: auto;
  padding-block: clamp(4rem, 8vw, 8rem);
}

.request-heading {
  max-width: 65rem;
}

.request-heading > p:not(.section-kicker) {
  max-width: 56rem;
  margin-top: 1rem;
  color: var(--muted);
}

.sensitive-note {
  padding: 0.85rem 1rem;
  border: 1px dashed var(--signal);
}

form {
  margin-top: 3rem;
}

fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin: 0;
  padding: 2rem 0;
  border: 0;
  border-top: 3px double #697d7f;
}

fieldset + fieldset {
  margin-top: 1rem;
}

legend {
  padding: 0 1rem 0 0;
  color: var(--teal);
  font-size: 1.2rem;
  font-weight: 850;
}

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

.field label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 800;
}

.field label span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.field-help {
  margin: -0.1rem 0 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 0.9rem;
  border: 2px solid #5b7074;
  border-radius: 0;
  background: #f7f5ef;
  color: #152024;
}

textarea {
  min-height: 7.5rem;
  resize: vertical;
}

input:hover,
textarea:hover {
  border-color: var(--signal);
}

[aria-invalid="true"] {
  border-color: var(--error-line);
  border-style: double;
  border-width: 4px;
}

.field-error {
  margin-top: 0.45rem;
  color: var(--error);
  font-weight: 750;
}

.field-error::before {
  content: "Error — ";
}

.error-summary {
  margin-bottom: 2rem;
  padding: 1.25rem;
  border: 3px double var(--error-line);
  background: #3a211f;
  color: #fff3ef;
}

.error-summary p {
  font-weight: 850;
}

.error-summary ul {
  margin-bottom: 0;
}

.request-preview {
  margin-block: 2rem;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 3px double var(--teal);
  background: #192b30;
}

.request-preview h3 {
  margin-bottom: 1rem;
}

.request-preview dl {
  display: grid;
  grid-template-columns: minmax(11rem, 0.35fr) minmax(0, 1fr);
  gap: 0.65rem 1.5rem;
  margin: 0;
}

.request-preview dt {
  color: var(--teal);
  font-weight: 800;
}

.request-preview dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.form-actions button {
  cursor: pointer;
}

.request-confirmation {
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border-left: 4px double var(--teal);
  color: var(--muted);
}

.request-confirmation[data-preview-state="ready"] {
  border: 3px double var(--teal);
  background: #1b3034;
  color: var(--ink);
  font-weight: 750;
}

.request-status {
  min-height: 1px;
  margin-top: 0.5rem;
  color: var(--teal);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max);
  margin-inline: auto;
  padding-block: 2rem;
  border-top: 1px solid #53676a;
  color: var(--muted);
}

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

[hidden] {
  display: none !important;
}

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

@media (max-width: 66rem) {
  .site-header,
  .overview,
  .field-heading,
  .opening-action,
  .boundary-action,
  .dependency-path,
  .boundaries-section,
  .next-step-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .overview {
    gap: 2.5rem;
  }

  .opening-action,
  .boundary-action {
    align-items: start;
  }

  .opening-action .primary-action,
  .boundary-action .secondary-action {
    justify-self: start;
  }

  .field-heading {
    gap: 1rem;
  }

  .thread-canvas {
    display: grid;
    gap: 0;
    min-height: 0;
    margin-top: 2rem;
    padding-left: 1.2rem;
  }

  .thread-arcs {
    display: none;
  }

  .edge-label,
  .junction-label {
    display: none;
  }

  .thread-node {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    min-height: 44px;
    margin: 0 0 1rem;
    padding: 1rem 1rem 1rem 1.25rem;
    transform: none;
  }

  .thread-node:not(:last-of-type)::before {
    position: absolute;
    top: 100%;
    left: 1.8rem;
    width: 0;
    height: 1rem;
    border-left: 3px dashed var(--teal);
    content: "";
  }

  .thread-node:nth-of-type(2n):not(:last-of-type)::before {
    border-left-style: dotted;
    border-left-color: var(--signal);
  }

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

  .path-heading {
    padding-bottom: 1.5rem;
    border-bottom: 3px double #64797b;
  }

  .next-step-marker {
    width: min(100%, 18rem);
    min-height: 6rem;
  }
}

@media (max-width: 42rem) {
  :root {
    --edge: 1rem;
  }

  .site-header {
    gap: 1rem;
  }

  .brand-context {
    font-size: 0.875rem;
  }

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

  .primary-nav a {
    padding-right: 0.5rem;
  }

  .overview {
    padding-block: 3.25rem;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .request-origin {
    border-radius: 0.2rem;
  }

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

  .thread-field,
  .dependency-path {
    padding: 1rem;
  }

  .diagram-notice {
    font-size: 0.92rem;
  }

  .process-list > li {
    padding-left: 2rem;
  }

  .nested-questions,
  .question-field,
  fieldset,
  .request-preview dl {
    grid-template-columns: minmax(0, 1fr);
  }

  .question-field > div {
    min-height: 0;
  }

  .request-preview dd + dt {
    margin-top: 0.75rem;
  }

  .site-footer {
    align-items: flex-start;
  }
}

@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) {
  body,
  body * {
    color: CanvasText !important;
  }

  a,
  a:visited {
    color: LinkText !important;
  }

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

  .thread-field,
  .dependency-path,
  .scope-section,
  .next-step-section,
  .request-origin,
  .thread-node,
  .relationship-note,
  .request-preview,
  .error-summary {
    background: Canvas;
    color: CanvasText;
  }

  .thread-node,
  .diagram-notice,
  .question-field,
  .question-field > div,
  input,
  textarea,
  .primary-action,
  .secondary-action,
  .reset-action {
    border-color: CanvasText;
  }

  .primary-action {
    border-color: HighlightText !important;
    background: Highlight !important;
    color: HighlightText !important;
    forced-color-adjust: none;
  }

  .primary-action * {
    color: HighlightText !important;
  }

  .edge path,
  .junction,
  .radial-guides circle {
    stroke: CanvasText;
  }

  #arrow-solid path {
    fill: CanvasText;
  }

  :focus-visible {
    outline-color: Highlight !important;
  }

  .primary-action:focus-visible {
    outline-color: CanvasText !important;
  }
}
