/* AIDEWAY site. Document white, graphite ink, redaction black, red stamp ink. */

/* Self-hosted so the page makes no third-party requests. Both faces are SIL OFL. */
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("fonts/public-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
}

:root {
  --paper: #faf1ef;
  --paper-2: #f2e2df;
  --white: #ffffff;
  --bone: #e3dcca;
  --ink: #23161a;
  --ink-2: #533f44;
  --ink-3: #6d5c60;
  --bar: #120a0c;
  --red: #cc0101;
  --red-deep: #a80000;
  --red-tint: rgba(204, 1, 1, 0.08);
  --neut: #8f7d80;
  --band: #1f0d10;
  --band-ink: #f6e9e7;
  --band-ink-2: rgba(246, 233, 231, 0.72);
  --band-ink-3: rgba(246, 233, 231, 0.45);
  --band-2: #2c1418;
  --band-alt: #3a141b;
  --rule: rgba(35, 22, 26, 0.16);
  --rule-strong: rgba(35, 22, 26, 0.4);
  --spine: 8.5rem;
  --gutter: clamp(16px, 5vw, 72px);
  --section-padding: clamp(32px, 5vh, 64px);
  --measure: 62ch;
  --text: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --body-size: 1.125rem;
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height, 64px) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  /* Full-width sections measure this container, which excludes the scrollbar gutter. */
  container-type: inline-size;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--body-size);
  line-height: 1.55;
  font-feature-settings: "kern", "liga", "tnum";
  -webkit-font-smoothing: antialiased;
  caret-color: var(--red);
}

::selection {
  background: var(--red);
  color: var(--white);
}

* {
  scrollbar-color: var(--rule-strong) transparent;
  scrollbar-width: thin;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: var(--rule-strong);
}

a:hover {
  text-decoration-color: var(--red);
}

p {
  margin: 0 0 1em;
  max-width: var(--measure);
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 8px 12px;
  background: var(--bar);
  color: var(--paper);
  z-index: 10;
}

.skip:focus {
  left: 8px;
}

/* File header */

.file-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--gutter);
  background: var(--band);
  color: var(--band-ink);
  border-bottom: 1px solid rgba(246, 233, 231, 0.12);
}

.file-header nav a {
  color: var(--band-ink-2);
  text-decoration-color: transparent;
}

.file-header nav a:hover {
  color: var(--band-ink);
  text-decoration-color: var(--red);
}

/* Keep the vector wordmark proportional at the header size. */
.file-header .wordmark {
  display: block;
  width: 159px;
  height: auto;
}

.file-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9375rem;
  white-space: nowrap;
}

/* Page frame and spine */

.page {
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: var(--gutter);
  position: relative;
}



/* Hero: the dark band, a mesh held inside a hexagon, the mark in rings */

.hero {
  position: relative;
  isolation: isolate;
  width: 100cqw;
  margin-left: calc(50% - 50cqw);
  padding: var(--section-padding) max(var(--gutter), calc(50cqw - 620px + var(--gutter)));
  background: var(--band);
  color: var(--band-ink);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1240px;
  margin: 0 auto;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy > :not(h1) {
  max-width: 640px;
}

.hero .kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--band-ink-2);
}

.hero .kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
  flex: none;
}

/* One sentence per line, running the full width and over the mark. */
.hero h1 {
  font-size: clamp(2.5rem, 4.7vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
  margin-bottom: 0.4em;
}

.hero h1 .line {
  display: block;
  white-space: nowrap;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
}

/* Body copy: the first paragraph leads a little larger and brighter, the rest
   settle into a quieter tone with a comfortable measure. */
.hero .lede {
  font-size: var(--body-size);
  line-height: 1.62;
  max-width: 600px;
  color: var(--band-ink-2);
  margin: 0 0 1.05em;
  text-wrap: pretty;
}

.hero .lede:first-of-type {
  font-size: 1.3125rem;
  line-height: 1.5;
  color: var(--band-ink);
}

.hero .lede:last-of-type {
  margin-bottom: 30px;
}

.hero .lede strong {
  color: var(--band-ink);
  font-weight: 600;
}

/* Pilot status and a direct email invitation. */

.access {
  max-width: 560px;
  border-top: 1px solid rgba(246, 233, 231, 0.25);
  padding-top: 18px;
}

.access h2 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.access p {
  color: var(--band-ink-2);
  line-height: 1.62;
}

.access .btn,
.close-contact .btn {
  display: inline-block;
  text-decoration: none;
}

.btn {
  font: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  background: var(--red);
  color: var(--white);
  border: 0;
  border-radius: 3px;
  padding: 11px 18px;
  cursor: pointer;
}

.btn:hover {
  background: var(--red-deep);
}

.btn:focus-visible {
  outline: 2px solid var(--band-ink);
  outline-offset: 2px;
}

/* The systems diagram: the box at the center of the local facility perimeter */

/* On wide screens the pulse sits behind the copy, to the right, dimmed. */
.reactor {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: calc(max(var(--gutter), 50cqw - 620px + var(--gutter)) + 680px);
  right: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: clamp(72px, 11vh, 130px);
  opacity: 0.85;
  pointer-events: none;
}

/* The mark, glowing, with the circuit traces running into its sides. */
.hero .mesh {
  --copy-left: max(var(--gutter), 50cqw - 620px + var(--gutter));
  --copy-right: calc(var(--copy-left) + 660px);
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  display: block;
  /* Traces run at about a third of their strength only where they pass behind
     the copy column; the margin to its left and the field to its right stay full. */
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(var(--copy-left) - 40px), rgba(0, 0, 0, 0.32) var(--copy-left), rgba(0, 0, 0, 0.32) var(--copy-right), #000 calc(var(--copy-right) + 140px));
  mask-image: linear-gradient(90deg, #000 0, #000 calc(var(--copy-left) - 40px), rgba(0, 0, 0, 0.32) var(--copy-left), rgba(0, 0, 0, 0.32) var(--copy-right), #000 calc(var(--copy-right) + 140px));
}

.rx {
  --rx-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  width: min(100%, 72vh, 620px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.rx-mark {
  width: 56%;
  height: auto;
  filter: drop-shadow(0 0 22px rgba(204, 1, 1, 0.5));
}

/* Systems band: the diagram on its own, centered, under the hero */

.systems-band {
  width: 100cqw;
  margin-left: calc(50% - 50cqw);
  padding: clamp(40px, 6vh, 72px) var(--gutter) clamp(48px, 7vh, 88px);
  background: var(--band-alt);
  color: var(--band-ink);
  text-align: center;
}

.systems-band h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  margin: 0 auto 10px;
  max-width: 24ch;
}

.systems-band p {
  color: var(--band-ink-2);
  max-width: 56ch;
  margin: 0 auto 28px;
}

.systems-wrap {
  max-width: 760px;
  margin: 2.5rem auto;
}

.systems {
  --system-cycle: 3.6s;
  width: 100%;
  height: auto;
  display: block;
}

.systems .label {
  font-family: var(--text);
  font-size: 13px;
  fill: var(--band-ink);
}

.systems .label.small {
  font-size: 11px;
  fill: var(--band-ink-3);
  letter-spacing: 0.04em;
}

.systems .ic {
  color: var(--band-ink-2);
}

.systems .sys {
  fill: var(--band);
  stroke: rgba(246, 233, 231, 0.32);
  stroke-width: 1;
}

.systems .wire {
  fill: none;
  stroke: rgba(246, 233, 231, 0.22);
  stroke-width: 1;
}

.systems .wall {
  fill: none;
  stroke: rgba(246, 233, 231, 0.28);
  stroke-width: 1;
  stroke-dasharray: 4 5;
}

.systems .hex {
  fill: none;
  stroke: var(--red);
}

.systems .pk {
  fill: var(--red);
}

.systems .pk.pale {
  fill: var(--band-ink);
}

.systems .sys-highlight {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.5;
  opacity: 0;
}

/* Two numbers, face to face, on the dark band */

.faceoff {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 16px 24px;
  padding: 8px 0 22px;
  margin-bottom: 1.5rem;
  max-width: 820px;
}

.chart .rowglyph {
  color: var(--ink-3);
}

.chart .rowglyph.red {
  color: var(--red);
}

.faceoff .n {
  font-family: var(--display);
  font-stretch: 80%;
  font-weight: 600;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.faceoff .n.red {
  color: var(--red);
}

.faceoff .vs {
  font-family: var(--display);
  font-stretch: 80%;
  font-size: 0.9375rem;
  color: var(--ink-3);
  padding-bottom: 2.4rem;
}

.faceoff .bar {
  height: 6px;
  background: var(--paper-2);
  margin-top: 14px;
  position: relative;
}

.faceoff .bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: var(--ink);
}

.faceoff .bar i.red {
  background: var(--red);
}

.faceoff p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 0.9375rem;
  max-width: 28ch;
}

.faceoff > .src {
  grid-column: 1 / -1;
  margin-top: 8px;
}

/* Skyline: the buildings are the chart; lit windows are the adoption share */

.skyline-wrap {
  display: block;
  margin: 0 0 1.5rem;
  padding: 0 0 8px;
  max-width: 900px;
}

.skyline {
  width: 100%;
  height: auto;
  display: block;
  font-family: var(--text);
}

.skyline .ground { stroke: var(--rule-strong); stroke-width: 1.5; }
.skyline .bld { fill: var(--white); stroke: var(--ink); stroke-width: 1.5; }
.skyline .win { fill: var(--paper-2); }
.skyline .win.lit { fill: var(--red); }
.skyline .door { fill: var(--ink); }
.skyline .door-seam { stroke: var(--white); stroke-width: 1.5; }
.skyline .canopy { stroke: var(--ink); stroke-width: 2; }
.skyline .cross { stroke: var(--red); stroke-width: 4; stroke-linecap: round; }
.skyline .bridge { fill: var(--white); stroke: var(--ink); stroke-width: 1.5; }
.skyline .big { font-family: var(--display); font-stretch: 80%; font-weight: 600; font-size: 64px; letter-spacing: -0.03em; fill: var(--ink); font-variant-numeric: tabular-nums; }
.skyline .big.red { fill: var(--red); }
.skyline .cap { font-size: 18px; fill: var(--ink-2); }
.skyline .cap.small { font-size: 12px; fill: var(--ink-3); }

.skyline-wrap figcaption { margin-top: 10px; }

@media (max-width: 640px) {
  .skyline .cap { font-size: 28px; }
}

/* Illustrated workflow, with a stacked route on narrow screens. */
.workflow-demo { margin: 2.5rem 0; }
.workflow-demo-defs { position: absolute; }
.workflow-demo-wide, .workflow-demo-narrow { width: 100%; height: auto; overflow: visible; }
.workflow-demo-narrow { display: none; }
/* White workflow nodes use deeper icon colors for contrast. */
.workflow-demo { --demo-shell: var(--white); --demo-outline: #898395; }
.demo-kind-file { --node-inlay: #b52b83; }
.demo-kind-ai, .demo-kind-model { --node-inlay: #7153a3; }
.demo-kind-route { --node-inlay: #087f8c; }
.demo-kind-notify { --node-inlay: #e1444e; }
.demo-kind-data { --node-inlay: #326ca6; }
/* A narrow lower edge and soft shadow lift the white node faces off the grid. */
.demo-node {
  fill: var(--demo-shell);
  stroke: var(--demo-outline);
  stroke-width: 1.5;
  filter: drop-shadow(0 3px 0 #ddd7df) drop-shadow(0 4px 3px rgba(35, 22, 26, 0.14));
}
.demo-inlay { fill: var(--node-inlay); }
.demo-lab-file { fill: var(--demo-shell); }
.demo-lock-clear { fill: var(--demo-shell); stroke: var(--demo-shell); stroke-width: 8; }
.demo-lock { fill: var(--node-inlay); stroke: var(--demo-shell); stroke-width: 3; }
.demo-lock-key { stroke: var(--demo-shell); stroke-width: 3; stroke-linecap: round; }
.demo-icon {
  fill: none;
  stroke: var(--node-inlay);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.demo-model-wire { fill: none; stroke: var(--demo-outline); stroke-width: 1.5; stroke-dasharray: 4 5; }
.demo-model-port { fill: var(--demo-outline); }
.demo-ai-title { font-family: var(--text); }
.demo-ai-title { fill: var(--ink); font-size: 18px; font-weight: 400; }
.demo-wire { fill: none; stroke: var(--demo-outline); stroke-width: 1.5; marker-end: url(#demo-arrow); }
.workflow-demo marker path { fill: var(--demo-outline); }
.demo-port, .demo-input { fill: #c6c8d5; }
.demo-title { font-family: var(--text); text-anchor: middle; }
.demo-title { fill: var(--ink-2); font-size: 18px; font-weight: 400; }
.workflow-demo figcaption { margin-top: 1rem; color: var(--ink-3); font-size: 0.8125rem; }

/* One quiet sequence: input, both AI outputs, then clinician notification. */
.workflow-demo { --flow-cycle: 9s; --flow-play-state: paused; }
.workflow-demo.is-running { --flow-play-state: running; }
.demo-payload {
  offset-position: 0 0;
  offset-anchor: 0px 0px;
  offset-rotate: 0deg;
  offset-distance: 0%;
  opacity: 0;
  animation: workflow-flow var(--flow-cycle) linear infinite;
  animation-play-state: var(--flow-play-state);
}
.demo-payload:nth-child(2),
.demo-payload:nth-child(3) { animation-delay: calc(var(--flow-cycle) / 4); }
.demo-payload:nth-child(4) { animation-delay: calc(var(--flow-cycle) / 2); }
.demo-payload > use { transform: scale(.75); }
.demo-payload-pdf { --node-inlay: #d32030; }
.demo-payload-json { --node-inlay: #237a43; }
.demo-payload-sheet { fill: var(--white); stroke: var(--node-inlay); stroke-width: 2; stroke-linejoin: round; }
.demo-payload-detail { fill: none; stroke: var(--node-inlay); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.demo-payload-code { fill: none; stroke: var(--node-inlay); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Artwork responds when its incoming pulse reaches the end of the connection. */
.demo-kind-file, .demo-kind-ai, .demo-kind-model { --arrival-delay: 0s; }
.demo-kind-route, .demo-kind-data { --arrival-delay: calc(var(--flow-cycle) / 4); }
.demo-kind-notify { --arrival-delay: calc(var(--flow-cycle) / 2); }
.demo-kind-notify .demo-arrival { --arrival-scale: var(--notify-scale, 1.1); }
.demo-arrival {
  transform-box: fill-box;
  transform-origin: center;
  animation: workflow-arrival var(--flow-cycle) ease-in-out infinite;
  animation-delay: var(--arrival-delay);
  animation-play-state: var(--flow-play-state);
}
.demo-kind-file .demo-arrival { animation-name: workflow-start; }

@keyframes workflow-start {
  0%, 7%, 100% { transform: scale(1); }
  3% { transform: scale(1.1); }
}

@keyframes workflow-arrival {
  0%, 22%, 29%, 100% { transform: scale(1); }
  25% { transform: scale(var(--arrival-scale, 1.1)); }
}

/* Rejected results stop at the filter; storage receives every result. */
.workflow-demo.is-filtered-cycle {
  --filter-allow-opacity: 0;
  --filter-block-opacity: 1;
  --notify-scale: 1;
}
.workflow-demo.is-filtered-cycle .demo-payload:nth-child(4) { visibility: hidden; }
.demo-filter-feedback {
  opacity: 0;
  animation: workflow-filter var(--flow-cycle) linear infinite;
  animation-delay: calc(var(--flow-cycle) / 4);
  animation-play-state: var(--flow-play-state);
}
.demo-filter-badge { fill: var(--demo-shell); }
.demo-filter-allow, .demo-filter-block {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.demo-filter-allow { stroke: #57d48a; opacity: var(--filter-allow-opacity, 1); }
.demo-filter-block { stroke: #ff626b; opacity: var(--filter-block-opacity, 0); }

@keyframes workflow-filter {
  0%, 22%, 45%, 100% { opacity: 0; }
  25%, 40% { opacity: 1; }
}

@keyframes workflow-flow {
  0% { offset-distance: 0%; opacity: 0; }
  2% { opacity: 1; }
  22% { offset-distance: 100%; opacity: 1; }
  24%, 100% { offset-distance: 100%; opacity: 0; }
}

@media (max-width: 1000px) {
  .demo-title { font-size: 20px; }
}

@media (max-width: 640px) {
  .workflow-demo-wide { display: none; }
  .workflow-demo-narrow { display: block; max-width: 420px; margin-inline: auto; }
}

/* Slope chart */

.chartsheet .legend {
  display: flex;
  gap: 18px;
  font-size: 0.8125rem;
  color: var(--ink-2);
  margin: 8px 0 4px;
}

.chartsheet .legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: -1px;
}

.chartsheet .legend .r { background: var(--red); }
.chartsheet .legend .n { background: var(--neut); }

.chart-scroll {
  overflow-x: auto;
}

.chart {
  width: 100%;
  min-width: 600px;
  height: auto;
  display: block;
  font-family: var(--text);
}

.chart .axis { font-size: 13px; fill: var(--ink-3); }
.chart .val { font-size: 13px; font-weight: 600; fill: var(--ink); font-variant-numeric: tabular-nums; }
.chart .val .axis { font-weight: 400; }
.chart .tick { font-size: 11px; fill: var(--ink-3); }
.chart .grid { stroke: var(--rule); stroke-width: 1; }
.chart .gapmark { stroke: var(--rule-strong); stroke-width: 1; }
.chart .gap { font-size: 12px; fill: var(--ink-2); font-weight: 600; }
.chart .dot { stroke: var(--white); stroke-width: 2; }
.chart .dot.red { fill: var(--red); }
.chart .dot.neut { fill: var(--neut); }
.chart .slope { stroke-width: 2; stroke-linecap: round; }
.chartsheet .legend .p { background: var(--paper-2); border: 1px solid var(--rule-strong); }
.chart .seg.now { fill: var(--red); }
.chart .seg.soon { fill: var(--neut); }
.chart .seg.later { fill: var(--paper-2); }
.chart .inbar { font-size: 12px; font-weight: 600; fill: var(--white); font-variant-numeric: tabular-nums; }
.chart .inbar.dark { fill: var(--ink-2); }
.chart .slope.red { stroke: var(--red); }
.chart .slope.neut { stroke: var(--neut); }

/* Adoption sheet inside entry 01 */

.adoption-details > summary {
  padding: 16px 0;
  border-top: 1px solid var(--rule-strong);
  cursor: pointer;
  font-weight: 600;
}

.adoption-details > summary::marker {
  color: var(--red);
}

.adoption-details > summary:hover {
  color: var(--red);
}

.adoption-details > summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.adoption {
  border-top: 1px solid var(--rule-strong);
  padding: 16px 0 22px;
  margin-bottom: 2.5rem;
  max-width: 820px;
}

/* A figure block with no title keeps only the list's own rule. */
.adoption:not(:has(h3)) {
  border-top: 0;
  padding-top: 0;
}

.adoption h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.adoption h3 span {
  display: block;
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--ink-3);
  margin-top: 2px;
}

.adoption .gap {
  margin-top: 6px;
  border-top: 1px solid var(--rule-strong);
  max-width: none;
}

.adoption .gap li {
  grid-template-columns: 13rem 1fr 3.5rem;
  font-size: 1rem;
}

.adoption > .src {
  margin-top: 10px;
}

.adoption + .adoption {
  margin-top: -1rem;
}

.adoption .gap.reasons li {
  grid-template-columns: 16rem 1fr 3.5rem;
}

/* Chain of custody ledger */

.entry .custody .custody-h {
  font-size: 1.375rem;
  line-height: 1.2;
  max-width: none;
  margin-bottom: 6px;
}

.entry .custody {
  margin-top: 2.5rem;
}

.sub-h {
  font-size: 1.375rem;
  margin: 3rem 0 0.75rem;
}

.custody .sub {
  color: var(--ink-3);
  margin-bottom: 20px;
}

.routes {
  overflow: clip;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(24px, 4vw, 64px);
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--red);
  padding: 0 clamp(16px, 2.4vw, 32px) 28px;
}

.route {
  padding-top: 14px;
}

.route h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.route h3 span {
  margin-left: auto;
}

.route.local h3 {
  color: var(--red);
}

.route.local h3 .route-mark {
  display: block;
  width: 20px;
  height: auto;
  flex: none;
}

.route h3 span {
  font-family: var(--display);
  font-stretch: 75%;
  font-weight: 500;
  color: var(--ink-3);
  font-size: 0.875rem;
}

.route ol {
  --hop-shift: 0;
  border-top: 1px solid var(--rule);
}

.hop {
  display: grid;
  grid-template-columns: 2.2rem 1fr minmax(96px, 42%);
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 7px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
}

.hop .n {
  font-family: var(--display);
  font-stretch: 80%;
  font-weight: 500;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.hop .where {
  line-height: 1.3;
}

.hop .where small {
  display: block;
  color: var(--ink-3);
  font-size: 0.8125rem;
}

.hop .redact {
  justify-self: start;
  height: 18px;
  width: 100%;
  max-width: 128px;
  background: var(--bar);
  transform: translateX(calc(var(--shift, 0) * 1px));
  transition: transform 900ms var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

.route.cloud .hop.out .redact {
  --shift: 36;
}

.route.cloud .hop.out:nth-of-type(3) .redact { --shift: 48; --delay: 120ms; }
.route.cloud .hop.out:nth-of-type(4) .redact { --shift: 60; --delay: 240ms; }
.route.cloud .hop.out:nth-of-type(5) .redact { --shift: 72; --delay: 360ms; }
.route.cloud .hop.out:nth-of-type(6) .redact { --shift: 84; --delay: 480ms; }

body.is-loading .route.cloud .hop .redact {
  transform: none;
}

.hop.boundary {
  grid-template-columns: 1fr;
  min-height: 0;
  padding: 6px 0;
  color: var(--red);
  font-family: var(--display);
  font-stretch: 80%;
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  border-bottom: 1px dashed var(--red);
}

.hop.note {
  grid-template-columns: 2.2rem 1fr;
  color: var(--ink-2);
}

.hop.note .where strong {
  color: var(--ink-2);
  font-weight: 600;
}

.route .end {
  padding: 28px 0 0 2.2rem;
  color: var(--ink-3);
  font-size: 0.9375rem;
}

.route.local .end-block {
  display: grid;
  gap: 22px;
  justify-items: start;
  padding: 24px 0 0 2.2rem;
}

.route.local .end {
  padding: 0;
}

/* Stamp */

.stamp {
  display: inline-grid;
  gap: 2px;
  padding: 11px 18px 12px;
  border: 2px solid var(--red);
  background: var(--red);
  color: var(--white);
  font-family: var(--display);
  font-stretch: 78%;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: rotate(-1.6deg);
  text-decoration: none;
  line-height: 1.15;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.stamp b {
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 700;
}

.stamp:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
}

/* Entries */

.entry {
  display: grid;
  grid-template-columns: 1fr;
  padding-block: var(--section-padding);
  border-top: 1px solid var(--rule);
  transition: color 700ms var(--ease-out);
}

/* Entries rest at partial ink only when the script can ink them. */
html.js .entry {
  color: color-mix(in srgb, var(--ink) 72%, var(--paper));
}

html.js .entry.is-inked {
  color: var(--ink);
}

/* Even entries sit on a white sheet that runs edge to edge. */
.entry.sheet {
  background: var(--white);
  box-shadow: 0 0 0 100vmax var(--white);
  clip-path: inset(0 -100vmax);
}

/* Match the systems band, including readable text and diagram labels. */
#project {
  --paper: var(--band-alt);
  --ink: var(--band-ink);
  --ink-2: var(--band-ink-2);
  --ink-3: var(--band-ink-2);
  --rule: rgba(246, 233, 231, 0.16);
  position: relative;
  isolation: isolate;
  background: var(--band-alt);
  color: var(--band-ink);
  box-shadow: 0 0 0 100vmax var(--band-alt);
  clip-path: inset(0 -100vmax);
}

/* Give the pilot a white sheet and confine its grid to the workflow figure. */
#pilot {
  --paper: var(--white);
  background: var(--white);
  box-shadow: 0 0 0 100vmax var(--white);
  clip-path: inset(0 -100vmax);
}

.workflow-demo {
  position: relative;
  isolation: isolate;
}

.workflow-demo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--ink) 8%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 8%, transparent) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse closest-side, black 45%, transparent 100%);
  pointer-events: none;
}

#gap > .body > .intro,
#project > .body > p,
#pilot > .body > p {
  max-width: none;
}

/* Large figures lead the problem statement, with study context alongside. */
.pilot-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px clamp(32px, 5vw, 72px);
  padding-block: 28px 32px;
  margin-bottom: 32px;
  border-block: 1px solid var(--rule);
}

.pilot-figure .pilot-number {
  text-align: center;
  font-family: var(--display);
  font-stretch: 80%;
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--red);
  margin: 0 0 16px;
}

.pilot-number span {
  font-size: 0.55em;
}

.pilot-figure h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.pilot-figure p {
  margin: 0 0 12px;
  color: var(--ink-2);
}

@media (max-width: 640px) {
  .pilot-figures {
    grid-template-columns: 1fr;
  }
}

/* Crop the logo to its HH mark and keep it beside the pilot title. */
.pilot-heading {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
}

.entry .pilot-heading h2 {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}

.pilot-logo {
  display: block;
  flex-shrink: 0;
  width: clamp(64px, 7vw, 88px);
  aspect-ratio: 108 / 64;
  overflow: hidden;
}

.pilot-logo img {
  display: block;
  width: auto;
  max-width: none;
  height: 100%;
}

/* Four feature summaries replace the introduction's systems diagram. */
.project-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px clamp(32px, 5vw, 64px);
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
}

.project-features li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.project-features svg {
  width: 64px;
  height: 64px;
  fill: none;
  color: var(--bone);
}

.feature-solid { fill: currentColor; }
.feature-cut { fill: var(--band-alt); }
.feature-base { fill: var(--band-alt); }
.feature-base,
.feature-line {
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-features h3 {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.project-features p {
  margin: 0;
  color: var(--band-ink-2);
}

@media (max-width: 640px) {
  .project-features {
    grid-template-columns: 1fr;
  }
}

/* Pair the builder's mark with its background and the wider AURA initiative. */
.project-builder {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}

.builder-logo,
.builder-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.project-builder h3 {
  margin: 0 0 16px;
  font-size: 1.5rem;
}

.project-builder p {
  max-width: none;
}

.project-builder p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .project-builder {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .builder-logo {
    width: 120px;
  }
}

.entry > .no {
  display: none;
  font-family: var(--display);
  font-stretch: 75%;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--red);
  padding-right: 14px;
  text-align: right;
  padding-top: 0.9rem;
}

.entry > .body {
  min-width: 0;
}

.entry h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.625rem);
  line-height: 1.08;
  margin-bottom: 0.6em;
}

.entry .intro {
  font-size: 1.25rem;
  color: var(--ink-2);
  margin-bottom: 2rem;
}

.entry .is-inked .intro {
  color: var(--ink-2);
}

/* Figures condensed into a grid, several per row */

.figs.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(20px, 3vw, 44px);
  border-top: 1px solid var(--rule-strong);
}

.figs.grid .fig {
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 20px 0 24px;
  align-content: start;
}

.figs.grid .num {
  font-size: clamp(1.875rem, 2.6vw, 2.5rem);
}

.figs.grid .num .a {
  color: var(--ink);
}

.figs.grid .num .b {
  color: var(--red);
}

.figs.grid .num .vs {
  font-family: var(--text);
  font-stretch: 100%;
  font-weight: 500;
  font-size: 0.55em;
  color: var(--ink-3);
  letter-spacing: 0;
}

.figs.grid .num small {
  max-width: none;
}

.figs.grid .num .src {
  max-width: none;
}

.figs.grid .what {
  font-size: 0.9375rem;
  max-width: none;
}

/* Figures: number plus source in the margin */

.figs {
  border-top: 1px solid var(--rule-strong);
}

.fig {
  display: grid;
  grid-template-columns: minmax(160px, 0.4fr) 1fr;
  gap: 8px clamp(16px, 3vw, 40px);
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.fig .num {
  font-family: var(--display);
  font-stretch: 80%;
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--red);
}

.fig .num small,
.fig .num .src {
  text-wrap: balance;
}

.fig .num .src {
  font-family: var(--text);
  font-stretch: 100%;
  font-weight: 400;
  letter-spacing: 0;
  max-width: 24ch;
}

.fig .num small {
  display: block;
  font-family: var(--text);
  font-stretch: 100%;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0;
  color: var(--ink-3);
  margin-top: 6px;
  max-width: 22ch;
}

.fig .what {
  font-size: 1rem;
  max-width: 58ch;
}

.fig .what p {
  margin: 0;
}

.src {
  display: block;
  margin-top: 6px;
  font-size: 0.8125rem;
  color: var(--ink-3);
}


.finding {
  font-size: 1.25rem;
  line-height: 1.35;
  max-width: 40ch;
  margin: 2rem 0 0;
  padding-left: 18px;
  border-left: 1px solid var(--red);
}

.finding + .finding {
  margin-top: 1.25rem;
}

/* Incident log */

.log {
  border-top: 1px solid var(--rule-strong);
  max-width: 84ch;
}

.lr {
  display: grid;
  grid-template-columns: 5.5rem 1fr minmax(6rem, 0.28fr);
  gap: 6px clamp(16px, 2.5vw, 32px);
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
  align-items: start;
}

.lr time {
  font-family: var(--display);
  font-stretch: 80%;
  font-weight: 500;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
}

.lr .lt {
  max-width: 58ch;
}

.lr .lt b {
  font-weight: 600;
}

.lr .lt .src {
  display: inline;
  margin: 0;
}

.lr .scale {
  font-family: var(--display);
  font-stretch: 80%;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.05;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--red);
}

.lr .scale small {
  display: block;
  font-family: var(--text);
  font-stretch: 100%;
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin-top: 4px;
  white-space: normal;
}

.lr.newest time {
  color: var(--red);
}

/* Two-up text */

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px clamp(24px, 4vw, 56px);
  margin-top: 1rem;
}

.pair h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.pair p {
  font-size: 1rem;
}

/* Workflow walkthrough with node call-outs */

.steps {
  border-top: 1px solid var(--rule-strong);
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 16px clamp(24px, 4vw, 56px);
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
  transition: color 600ms var(--ease-out);
}

html.js .step {
  color: color-mix(in srgb, var(--ink) 72%, var(--paper));
}

html.js .step.is-inked {
  color: var(--ink);
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.step h3::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--display);
  font-stretch: 80%;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--red);
  margin-right: 12px;
  font-variant-numeric: tabular-nums;
}

.step p {
  font-size: 1rem;
  margin: 0;
  max-width: 54ch;
}

.callout {
  justify-self: stretch;
}

.callout svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
  color: currentColor;
}

.callout .node-box {
  fill: var(--paper);
  stroke: currentColor;
  stroke-width: 1.25;
}

.callout .node-box.red {
  stroke: var(--red);
}

.callout .port {
  fill: var(--paper);
  stroke: currentColor;
  stroke-width: 1.25;
}

.callout .wire {
  stroke: currentColor;
  stroke-width: 1.25;
  fill: none;
}

.callout .wire.ghost {
  stroke: var(--rule-strong);
  stroke-dasharray: 3 4;
}

.callout .label {
  font-family: var(--text);
  font-weight: 600;
  font-size: 13px;
  fill: currentColor;
}

.callout .label.small {
  font-weight: 400;
  font-size: 12px;
  fill: var(--ink-3);
}

.callout .label.red {
  fill: var(--red);
}

.callout .bar {
  fill: var(--bar);
}

.callout .ghost-node {
  fill: none;
  stroke: var(--rule-strong);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}

.also {
  margin-top: 2.5rem;
}

.also h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.75rem;
}

.also ul {
  columns: 2;
  column-gap: clamp(24px, 4vw, 56px);
  font-size: 0.9375rem;
  max-width: 78ch;
}

.also li {
  break-inside: avoid;
  padding: 7px 0;
  border-bottom: 1px solid var(--rule);
}

/* Use-case matrix */

.uses {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 clamp(16px, 2vw, 32px);
  border-top: 1px solid var(--rule-strong);
}

.uses > div {
  padding: 18px 0 6px;
}

.uses h3 {
  font-size: 1rem;
  color: var(--red);
  margin-bottom: 6px;
}

.uses li {
  font-size: 0.9375rem;
  padding: 7px 0;
  border-bottom: 1px solid var(--rule);
  line-height: 1.35;
}

.why {
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

/* Redacted record */

.record {
  margin-top: 2.5rem;
  border-top: 1px solid var(--rule-strong);
  max-width: 76ch;
}

.record caption,
.record .cap {
  text-align: left;
  padding: 12px 0 6px;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.record-rows {
  border-top: 1px solid var(--rule);
}

.rr {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.rr time {
  font-family: var(--display);
  font-stretch: 80%;
  font-weight: 500;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

.rr .redact {
  display: inline-block;
  vertical-align: -0.2em;
  height: 1em;
  background: var(--bar);
  border-radius: 1px;
}

.rr .redact.w6 { width: 6ch; }
.rr .redact.w8 { width: 8ch; }
.rr .redact.w10 { width: 10ch; }
.rr .redact.w14 { width: 14ch; }

.rr .tag {
  color: var(--red);
  font-weight: 600;
}

.rr.newest {
  font-weight: 600;
}

.rr.newest time {
  color: var(--red);
}

/* Exhibits (photos supplied later) */

.exhibit {
  margin: 2.5rem 0 0;
  max-width: 720px;
}

.exhibit .frame {
  aspect-ratio: var(--ratio, 3 / 2);
  max-width: 100%;
  border: 1px solid var(--rule-strong);
  background: var(--paper-2);
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--ink-3);
  font-size: 0.9375rem;
  overflow: hidden;
}

.exhibit .frame:not(:has(img)) {
  aspect-ratio: auto;
  min-height: 96px;
}

.exhibit .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exhibit figcaption {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.875rem;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule);
}

.exhibit figcaption b {
  font-family: var(--display);
  font-stretch: 78%;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

/* Adoption bars: geometry, not chart chrome */

.gap {
  margin-top: 1.5rem;
  border-top: 1px solid var(--rule-strong);
  max-width: 62ch;
}

.gap li {
  display: grid;
  grid-template-columns: 11rem 1fr 3.5rem;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
}

.gap .track {
  height: 14px;
  background: var(--paper-2);
}

.gap .track i {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--red);
}

.gap li.hi .track i {
  background: var(--red);
}

.gap .val {
  font-family: var(--display);
  font-stretch: 80%;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Ways to run */

.lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(24px, 4vw, 56px);
  border-top: 1px solid var(--rule-strong);
}

.lane {
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--rule);
}

.lane h3 {
  font-size: 1.125rem;
  margin-bottom: 0.4rem;
}

.lane h3 span {
  font-family: var(--display);
  font-stretch: 80%;
  font-weight: 600;
  color: var(--white);
  background: var(--red);
  padding: 2px 8px 3px;
  border-radius: 3px;
  margin-left: 10px;
  font-size: 0.875rem;
  vertical-align: middle;
}

.lane p {
  font-size: 0.9375rem;
  margin: 0;
}

/* Full-bleed red statement */

.band {
  --band-width: min(1600px, calc(100cqw - 2 * var(--gutter)));
  display: grid;
  grid-template-columns: 1fr;
  width: var(--band-width);
  margin-inline: calc((100% - var(--band-width)) / 2);
  padding-block: var(--section-padding);
  background: var(--red);
  color: var(--white);
  box-shadow: 0 0 0 100vmax var(--red);
  clip-path: inset(0 -100vmax);
}

.band > * {
  grid-column: 1;
}

.band h2 {
  font-size: clamp(0.75rem, 4.2vw, 3rem);
  line-height: 1.04;
  max-width: none;
  white-space: nowrap;
  margin-bottom: 0.8em;
  text-align: center;
}

.band-intro {
  max-width: 72ch;
  margin: 0 auto 24px;
  text-align: center;
  text-wrap: pretty;
}

/* Shared tracks align the three headings and their bullet lists. */
.band .reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px clamp(16px, 2vw, 32px);
  min-width: 0;
  margin: 16px 0 0;
  padding: 0 0 8px;
  list-style: none;

}

.band .reasons > li {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  padding-top: 24px;
  font-size: var(--body-size);
  line-height: 1.55;
}

.band .reasons h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-weight: 600;
  font-size: clamp(1.125rem, 1.7vw, 1.5rem);
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
  text-align: center;
}

/* Match each icon to the heading size and align them on one line. */
.reason-icon {
  flex: 0 0 1em;
  width: 1em;
  height: 1em;
  fill: currentColor;
  stroke: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reason-icon .icon-line {
  fill: none;
  stroke: currentColor;
}

.reason-icon .icon-cutout {
  fill: var(--red);
}

.reason-icon .icon-cutout-line {
  fill: none;
  stroke: var(--red);
}

.band .reason-points {
  margin: 0 auto;
  max-width: 36ch;
  padding-inline-start: 1.25em;
  list-style: disc;
  text-align: left;
  text-wrap: pretty;
  color: rgba(255, 255, 255, 0.9);
}

.band .reason-points li + li {
  margin-top: 12px;
}

.band ::selection {
  background: var(--white);
  color: var(--red);
}

/* Close */

.close {
  display: grid;
  grid-template-columns: 1fr;
  padding-block: var(--section-padding);
  background: var(--band);
  color: var(--band-ink);
  box-shadow: 0 0 0 100vmax var(--band);
  clip-path: inset(0 -100vmax);
  position: relative;
}

.close > * {
  grid-column: 1;
}

.close .lockup {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: 40px clamp(32px, 6vw, 80px);
  align-items: center;
}

.close-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.close-heart {
  width: 112px;
  height: auto;
}

.close-wordmark {
  width: 260px;
  max-width: 100%;
  height: auto;
}

.close h2 {
  font-size: 1.375rem;
  line-height: 1.3;
  color: var(--bone);
  margin: 4px 0 0;
}

.close .lines {
  margin: 0 0 24px;
  color: var(--bone);
  font-size: var(--body-size);
  max-width: 48ch;
}

.close-contact .btn,
.access .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.close-contact .btn svg,
.access .btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-band {
  background: var(--band);
}

.footer {
  padding: 24px var(--gutter) 40px;
  border-top: 1px solid rgba(246, 233, 231, 0.18);
  font-size: 0.875rem;
  color: var(--band-ink-2);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
}

/* Responsive */

@media (min-width: 901px) and (max-height: 840px) {
  .hero h1 {
    margin-bottom: 0.3em;
  }

  .hero .lede {
    margin-bottom: 20px;
  }
}

@media (max-width: 1000px) {
  .file-header nav {
    gap: 14px;
    font-size: 0.875rem;
  }
}

@media (max-width: 900px) {
  :root {
    --spine: 2.75rem;
  }

  .file-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .file-header nav {
    flex-wrap: wrap;
    gap: 0 20px;
  }

  .file-header nav a {
    padding-block: 8px;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .routes {
    grid-template-columns: 1fr;
  }

  .route.local {
    border-top: 1px solid var(--rule-strong);
    margin-top: 24px;
  }


  .pair,
  .lanes {
    grid-template-columns: 1fr;
  }

  .figs.grid {
    grid-template-columns: 1fr 1fr;
  }

  .step {
    grid-template-columns: 1fr;
  }

  .callout {
    max-width: 420px;
  }

  .also ul {
    columns: 1;
  }

  .close .lockup {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    gap: 24px;
  }

  .reactor {
    position: static;
    width: 100%;
    opacity: 1;
    justify-content: center;
    order: -1;
    pointer-events: auto;
  }

  .rx {
    width: min(100%, 360px);
  }

  .hero h1 .line {
    white-space: normal;
  }

  /* Stacked: the mark is at the top, the copy below it. */
  .hero .mesh {
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 36%, rgba(0, 0, 0, 0.28) 46%);
    mask-image: linear-gradient(180deg, #000 0, #000 36%, rgba(0, 0, 0, 0.28) 46%);
  }

  .systems-band {
    text-align: left;
  }

  .systems-band h2,
  .systems-band p {
    margin-left: 0;
  }


  .adoption .gap li,
  .adoption .gap.reasons li {
    grid-template-columns: 11rem 1fr 3.5rem;
  }

  .faceoff {
    grid-template-columns: 1fr;
  }

  .faceoff .vs {
    display: none;
  }

  .uses {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 640px) {
  .band .reasons {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  :root {
    --spine: 1.5rem;
  }

  .file-header > a {
    min-width: 0;
  }

  .rx {
    width: min(100%, 280px);
  }


  .hop {
    grid-template-columns: 2rem 1fr 72px;
  }

  .hop .redact {
    max-width: 56px;
  }

  .route.cloud .hop.out .redact { --shift: 6; }
  .route.cloud .hop.out:nth-of-type(3) .redact { --shift: 9; }
  .route.cloud .hop.out:nth-of-type(4) .redact { --shift: 12; }
  .route.cloud .hop.out:nth-of-type(5) .redact { --shift: 15; }
  .route.cloud .hop.out:nth-of-type(6) .redact { --shift: 18; }

  .fig,
  .figs.grid {
    grid-template-columns: 1fr;
  }


  .gap li,
  .adoption .gap li {
    grid-template-columns: 1fr 3rem;
  }

  .uses {
    grid-template-columns: 1fr;
  }

  .gap .track {
    grid-column: 1 / -1;
    order: 3;
  }

  .rr {
    grid-template-columns: 3.4rem 1fr;
  }

  .lr {
    grid-template-columns: 1fr auto;
  }

  .lr time {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
  }

  .lr .scale {
    grid-column: 2;
    grid-row: 1;
  }

  .lr .lt {
    grid-column: 1 / -1;
  }

}

@media (prefers-reduced-motion: reduce) {
  .systems .sys-highlight {
    visibility: hidden;
  }

  html {
    scroll-behavior: auto;
  }

  .hop .redact,
  .entry,
  .step {
    transition: none;
  }

  .systems .sys,
  .systems .a-sys {
    animation: none;
  }

  .demo-payload {
    animation: none;
    opacity: 0;
  }

  .demo-arrival,
  .demo-kind-file .demo-arrival {
    animation: none;
    transform: none;
  }

  .demo-filter-feedback {
    animation: none;
    opacity: 0;
  }
}
