:root {
  --ink: #111110;
  --muted: #686862;
  --paper: #f4f4f0;
  --paper-dark: #e9e9e3;
  --line: #d5d5ce;
  --accent: #b9a7ff;
  --accent-dark: #7459d9;
  --pass: #7bd99a;
  --reject: #ff8066;
  --white: #fff;
  --shell: min(1180px, calc(100vw - 80px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 4px;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(244, 244, 240, 0.92);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
}

.nav {
  height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.wordmark {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.wordmark-mark {
  width: 13px;
  height: 13px;
  display: inline-block;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 3px var(--paper);
}

.nav-links {
  display: flex;
  gap: 34px;
  color: #454541;
  font-size: 14px;
}

.nav-links a,
.text-link,
.site-footer a {
  transition: opacity 160ms ease;
}

.nav-links a:hover,
.text-link:hover,
.site-footer a:hover {
  opacity: 0.55;
}

.nav > .button {
  justify-self: end;
}

.button {
  min-height: 50px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 0 20px;
  border: 1px solid var(--accent-dark);
  background: var(--accent);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.button-small {
  min-height: 40px;
  gap: 18px;
  padding: 0 15px;
  font-size: 13px;
}

.hero {
  padding-top: 128px;
}

.eyebrow,
.section-index,
.step-number,
.signal-labels,
.form-field label {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-dark);
}

h1 {
  max-width: 1080px;
  margin-bottom: 32px;
  font-size: clamp(4rem, 7.4vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.hero-copy {
  max-width: 750px;
  margin-bottom: 36px;
  color: #3e3e3a;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
}

.hero-note {
  max-width: 540px;
  margin: 24px 0 72px;
  color: var(--muted);
  font-size: 12px;
}

.signal-field {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-field svg {
  width: 100%;
  min-width: 760px;
  display: block;
}

.trace-lines path {
  stroke-dasharray: 8 5;
  animation: signal-flow 12s linear infinite;
}

@keyframes signal-flow {
  to {
    stroke-dashoffset: -130;
  }
}

.signal-nodes circle {
  fill: var(--paper);
  stroke: var(--accent-dark);
  stroke-width: 2;
}

.signal-labels {
  fill: var(--muted);
}

.signal-mobile-labels {
  display: none;
}

.section {
  padding: 160px 0;
  scroll-margin-top: 78px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10%;
}

.section-index {
  display: block;
  margin-bottom: 28px;
  color: var(--muted);
}

h2 {
  max-width: 570px;
  margin-bottom: 0;
  font-size: clamp(2.5rem, 4.2vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.problem-copy {
  max-width: 590px;
  padding-top: 44px;
  font-size: 18px;
}

.pov-conclusion {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-weight: 500;
}

.leverage-section {
  padding: 110px 0;
  background: var(--accent);
}

.leverage-layout {
  display: grid;
  gap: 30px;
}

.leverage-layout h2 {
  max-width: 900px;
}

.leverage-layout p {
  max-width: 640px;
  margin: 0;
  font-size: 15px;
}

.focus-section {
  background: var(--paper-dark);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #c4c4bc;
}

.focus-item {
  min-height: 330px;
  position: relative;
  padding: 28px 36px 44px 0;
  border-right: 1px solid #c4c4bc;
}

.focus-item:not(:first-child) {
  padding-left: 36px;
}

.focus-item:last-child {
  border-right: 0;
}

.focus-item .step-number {
  color: var(--accent-dark);
}

.focus-item h3 {
  margin-bottom: 20px;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.focus-item p {
  max-width: 325px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 14px;
}

.focus-item code {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  line-height: 1.6;
}

.focus-item small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.focus-item-primary {
  background: color-mix(in srgb, var(--accent) 24%, transparent);
}

.module-status {
  position: absolute;
  top: 28px;
  right: 28px;
  padding: 4px 7px;
  border: 1px solid color-mix(in srgb, var(--accent-dark) 45%, transparent);
  color: var(--accent-dark);
  font-family: "DM Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.module-status-next {
  border-color: #aaa9a3;
  color: var(--muted);
}

.integration-contract {
  display: grid;
  grid-template-columns: 0.8fr auto 1.4fr auto 1.2fr;
  align-items: center;
  gap: 24px;
  margin-top: 46px;
  padding: 24px 0;
  border-top: 1px solid #c4c4bc;
  border-bottom: 1px solid #c4c4bc;
  color: var(--muted);
  font-size: 12px;
}

.integration-contract strong {
  color: var(--ink);
  font-weight: 500;
}

.integration-contract > span:nth-child(2),
.integration-contract > span:nth-child(4) {
  color: var(--accent-dark);
  font-size: 18px;
}

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

.section-heading-wide {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 90px;
}

.section-heading-wide > p {
  max-width: 480px;
  margin: 0 0 8px 60px;
  color: var(--muted);
  font-size: 14px;
}

.evidence-section {
  padding-top: 140px;
  border-top: 1px solid var(--line);
}

.evidence-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 9%;
  margin-bottom: 72px;
}

.evidence-summary {
  max-width: 560px;
  padding-top: 42px;
}

.evidence-summary .lead {
  margin-bottom: 28px;
}

.evidence-boundary {
  width: fit-content;
  margin: 30px 0 0;
  padding: 8px 11px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.evidence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  border: 1px solid var(--ink);
  background: var(--ink);
}

.evidence-media {
  min-width: 0;
  align-self: start;
  margin: 0;
  border-right: 1px solid #3d3d39;
  background: #0d291c;
}

.evidence-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.09;
  display: block;
  object-fit: cover;
}

.evidence-media figcaption {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 16px;
  border-top: 1px solid #3d3d39;
  color: #a6a69f;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.audit-console {
  min-width: 0;
  padding: 22px;
  color: var(--white);
}

.audit-console-header,
.audit-sweep-header,
.audit-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #8e8e87;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.audit-live-readout {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 34px 0 20px;
}

.audit-live-readout > div {
  display: grid;
  gap: 4px;
}

.audit-live-readout strong,
.audit-sweep-header strong {
  font-size: 18px;
  font-weight: 500;
}

.audit-label {
  color: #8e8e87;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.audit-status {
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--pass) 65%, transparent);
  color: var(--pass);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.audit-status.is-rejected {
  border-color: color-mix(in srgb, var(--reject) 65%, transparent);
  color: var(--reject);
}

.audit-timeline {
  position: relative;
  height: 24px;
  display: flex;
  overflow: hidden;
  border: 1px solid #484843;
  background: #20201e;
}

.audit-timeline > span:not(.audit-segment):not(.audit-playhead) {
  align-self: center;
  padding-left: 8px;
  color: #8e8e87;
  font-family: "DM Mono", monospace;
  font-size: 8px;
}

.audit-segment {
  min-width: 1px;
}

.audit-segment.is-pass {
  background: color-mix(in srgb, var(--pass) 78%, #20201e);
}

.audit-segment.is-rejected {
  background: color-mix(in srgb, var(--reject) 78%, #20201e);
}

.audit-playhead {
  position: absolute;
  z-index: 2;
  top: -3px;
  bottom: -3px;
  width: 2px;
  background: var(--white);
  transform: translateX(-1px);
}

.audit-metrics {
  margin: 22px 0 30px;
}

.audit-metrics > div {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 7px 0;
  border-bottom: 1px solid #32322f;
}

.audit-metrics dt,
.audit-metrics dd {
  margin: 0;
  font-size: 11px;
}

.audit-metrics dt {
  color: #aaa9a3;
}

.audit-metrics dd {
  font-family: "DM Mono", monospace;
}

.audit-metric-emphasis {
  color: var(--accent);
}

.audit-matrix {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 5px;
  margin: 15px 0;
}

.audit-cell {
  height: 14px;
  border: 1px solid transparent;
  background: rgba(185, 167, 255, var(--audit-intensity));
}

.audit-cell.is-position-axis-complete {
  border-color: var(--pass);
}

.audit-cell.is-best {
  outline: 2px solid var(--white);
  outline-offset: 1px;
}

.audit-legend {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 14px;
}

.audit-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-box {
  width: 8px;
  height: 8px;
  display: inline-block;
  background: var(--accent);
}

.legend-outline {
  border: 1px solid var(--pass);
  background: transparent;
}

.legend-solid {
  outline: 1px solid var(--white);
  outline-offset: 1px;
}

.evidence-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.evidence-stats > div {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.evidence-stats > div:last-child {
  border-right: 0;
}

.evidence-stats strong {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.evidence-stats span {
  color: var(--muted);
  font-size: 11px;
}

.evidence-lessons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 72px;
  border-top: 1px solid var(--line);
}

.evidence-lessons article {
  min-height: 260px;
  padding: 26px 30px 36px 0;
  border-right: 1px solid var(--line);
}

.evidence-lessons article:not(:first-child) {
  padding-left: 30px;
}

.evidence-lessons article:last-child {
  border-right: 0;
}

.evidence-lessons .step-number {
  margin-bottom: 54px;
  color: var(--accent-dark);
}

.evidence-lessons h3 {
  max-width: 290px;
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.evidence-lessons p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.evidence-source {
  max-width: 900px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.process-section .section-index {
  color: #979790;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #3d3d39;
}

.process-step {
  min-height: 370px;
  padding: 28px 24px 44px 0;
  border-right: 1px solid #3d3d39;
}

.process-step:not(:first-child) {
  padding-left: 24px;
}

.process-step:last-child {
  border-right: 0;
}

.step-number {
  display: block;
  margin-bottom: 90px;
  color: var(--accent);
}

.process-step h3 {
  margin-bottom: 20px;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.process-step > p {
  max-width: 340px;
  color: #b6b6af;
  font-size: 13px;
}

.collection-note {
  max-width: 820px;
  margin: 34px 0 0;
  color: #898982;
  font-size: 13px;
}

.lead {
  max-width: 580px;
  margin-bottom: 42px;
  font-size: 19px;
}

.flow-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 56px;
  padding: 24px 28px;
  border: 1px solid #3d3d39;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flow-arrow,
.loop-mark {
  color: var(--accent);
  font-size: 18px;
}

.loop-mark {
  font-size: 22px;
}

.collaboration-section {
  padding: 140px 0;
  background: color-mix(in srgb, var(--accent) 14%, var(--paper));
}

.collaboration-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12%;
}

.collaboration-section .section-index {
  color: #4f3b9b;
}

.collaboration-section h2 {
  max-width: 700px;
  margin-bottom: 38px;
}

.collaboration-section .section-heading > p {
  max-width: 600px;
  margin-bottom: 14px;
  font-size: 17px;
}

.pilot-examples {
  margin-top: 38px;
  border-top: 1px solid rgba(17, 17, 16, 0.2);
}

.pilot-examples p {
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid rgba(17, 17, 16, 0.2);
  font-size: 13px;
}

.contact-form {
  display: grid;
  gap: 22px;
  padding: 38px;
  border: 1px solid rgba(17, 17, 16, 0.35);
  background: rgba(244, 244, 240, 0.35);
  scroll-margin-top: 100px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-field label span {
  margin-left: 6px;
  opacity: 0.55;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 16, 0.45);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.form-field input {
  height: 42px;
}

.form-field textarea {
  min-height: 120px;
  padding: 10px 0;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 1px 0 var(--ink);
}

.form-field textarea::placeholder {
  color: #5942a8;
}

.contact-submit {
  margin-top: 6px;
  cursor: pointer;
}

.contact-submit:hover {
  background: var(--ink);
}

.form-note {
  margin: -5px 0 0;
  color: #4f3b9b;
  font-size: 11px;
}

.site-footer {
  padding: 70px 0 34px;
  background: var(--ink);
  color: var(--white);
}

.site-footer .wordmark-mark {
  border-color: var(--white);
  box-shadow: inset 0 0 0 3px var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
}

.site-footer p {
  margin: 14px 0 0;
  color: #8e8e87;
  font-size: 13px;
}

.footer-meta {
  font-size: 13px;
}

.footer-meta p {
  margin: 0 0 7px;
}

.copyright {
  font-family: "DM Mono", monospace;
  font-size: 10px !important;
}

.faq-section {
  background: var(--paper);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 28px 0;
  list-style: none;
  cursor: pointer;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  transition: opacity 160ms ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  opacity: 0.6;
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 4px;
}

.faq-marker {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 0.45em;
  transition: transform 220ms ease;
}

.faq-marker::before,
.faq-marker::after {
  content: "";
  position: absolute;
  background: var(--accent-dark);
}

.faq-marker::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq-marker::after {
  top: 0;
  left: 50%;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item[open] .faq-marker {
  transform: rotate(45deg);
}

.faq-answer {
  max-width: 760px;
  padding: 0 40px 32px 0;
}

.faq-answer p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer p:first-child {
  color: var(--ink);
  font-weight: 500;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  :root {
    --shell: min(100% - 40px, 680px);
  }

  .nav {
    height: 68px;
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 92px;
  }

  h1 {
    font-size: clamp(3.3rem, 13vw, 5.4rem);
  }

  .hero-note {
    margin-bottom: 52px;
  }

  .signal-labels {
    display: none;
  }

  .signal-mobile-labels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 14px 10px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-family: "DM Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .signal-mobile-labels span:nth-child(2) {
    text-align: center;
  }

  .signal-mobile-labels span:last-child {
    text-align: right;
  }

  .section {
    padding: 105px 0;
  }

  .split-layout,
  .collaboration-grid,
  .evidence-intro,
  .evidence-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .evidence-grid {
    gap: 0;
  }

  .evidence-summary {
    padding-top: 0;
  }

  .evidence-media {
    border-right: 0;
    border-bottom: 1px solid #3d3d39;
  }

  .evidence-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .evidence-stats > div:nth-child(2) {
    border-right: 0;
  }

  .evidence-stats > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .evidence-lessons {
    grid-template-columns: 1fr;
  }

  .evidence-lessons article,
  .evidence-lessons article:not(:first-child) {
    min-height: 0;
    padding: 28px 0 46px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .evidence-lessons .step-number {
    margin-bottom: 30px;
  }

  .problem-copy {
    padding-top: 0;
  }

  .section-heading-wide {
    display: block;
    margin-bottom: 60px;
  }

  .section-heading-wide > p {
    margin: 24px 0 0;
  }

  .focus-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .focus-item,
  .focus-item:not(:first-child) {
    min-height: 0;
    padding: 28px 0 52px;
    border-right: 0;
    border-bottom: 1px solid #c4c4bc;
  }

  .process-step,
  .process-step:not(:first-child) {
    min-height: 0;
    padding: 28px 0 52px;
    border-right: 0;
    border-bottom: 1px solid #3d3d39;
  }

  .step-number {
    margin-bottom: 40px;
  }

  .flow-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .loop-mark {
    align-self: flex-end;
  }

  .integration-contract {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .integration-contract > span:nth-child(2),
  .integration-contract > span:nth-child(4) {
    transform: rotate(90deg);
    transform-origin: left center;
  }

  .collaboration-section {
    padding: 105px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    gap: 70px 20px;
  }

  .copyright {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  :root {
    --shell: calc(100% - 30px);
  }

  .button-small {
    min-height: 36px;
    gap: 9px;
    padding: 0 11px;
  }

  .hero {
    padding-top: 72px;
  }

  h1 {
    font-size: 3.45rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .signal-field {
    margin-right: -15px;
    margin-left: -15px;
  }

  .evidence-section {
    padding-top: 95px;
  }

  .evidence-intro {
    margin-bottom: 50px;
  }

  .evidence-grid {
    margin-right: -15px;
    margin-left: -15px;
  }

  .evidence-media figcaption {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }

  .audit-console {
    padding: 20px 15px 24px;
  }

  .audit-console-header,
  .audit-sweep-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .evidence-stats {
    margin-right: -15px;
    margin-left: -15px;
  }

  .evidence-stats > div {
    min-height: 108px;
    padding: 16px;
  }

  h2 {
    font-size: 2.65rem;
  }

  .problem-copy,
  .lead {
    font-size: 16px;
  }

  .contact-form {
    padding: 26px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* --- pipeline montage in the hero, and the results figures ------------- */
/* The montage replaced the signal-field diagram: it tells the same
   three-stage story with recorded footage instead of an abstraction. */

.hero-media {
  margin: 4.5rem 0 0;
}

.hero-media video {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-dark);
}

.hero-media figcaption {
  margin-top: 1rem;
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.results-section .section-heading {
  margin-bottom: 2.25rem;
}

.results-copy {
  max-width: 62ch;
  margin-bottom: 2.5rem;
}

.results-copy h3 {
  margin: 2.5rem 0 0.85rem;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.results-copy h3:first-child {
  margin-top: 0;
}

.results-copy p + p {
  margin-top: 1rem;
}

.results-figure.wide {
  margin: 0 0 2.5rem;
}

.pipeline-chain {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.6rem;
  counter-reset: step;
}

.pipeline-chain li {
  flex: 1 1 10rem;
  position: relative;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-dark);
  font-size: 0.92rem;
  line-height: 1.45;
}

.pipeline-chain li::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  margin-bottom: 0.4rem;
  color: var(--accent-dark);
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.results-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.results-figure figcaption {
  margin-top: 1.05rem;
  max-width: 78ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.results-figure figcaption strong {
  color: var(--ink);
  font-weight: 600;
}

.results-caveat {
  margin-top: 3rem;
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero-media video {
    /* Autoplay loops are motion the reader did not ask for. */
    animation: none;
  }
}
