:root {
  --graphite: #090c14;
  --graphite-2: #121827;
  --graphite-3: #263148;
  --bone: #090c14;
  --paper: #101624;
  --cobalt: #a78bfa;
  --cobalt-dark: #c4b5fd;
  --amber: #f0c77b;
  --green: #7ee7bd;
  --ink-muted: #abb5c9;
  --line: #2b364b;
  --line-dark: #354158;
  --danger: #b94835;
  --sans: 'Aptos', 'Segoe UI', Arial, sans-serif;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --mono: 'Cascadia Code', 'SFMono-Regular', Consolas, monospace;
  --shell: min(1280px, calc(100% - 48px));
  --reading: min(1080px, calc(100% - 48px));
  color-scheme: dark;
  font-family: var(--sans);
  color: #eff2fa;
  background: var(--bone);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

/* DPDPHQ’s evidence library is part of the same public face as the two
   landing pages. These late rules intentionally replace the old paper
   editorial surface with a restrained midnight/platinum system. */
body:not(.brand-page) {
  background:
    radial-gradient(circle at 80% -10%, rgb(124 58 237 / 0.17), transparent 30rem),
    radial-gradient(circle at 5% 22%, rgb(196 181 253 / 0.08), transparent 27rem), var(--bone);
  color: #eef1f8;
}
body:not(.brand-page) .site-header {
  border-bottom-color: rgb(196 181 253 / 0.2);
  background: rgb(9 12 20 / 0.88);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.035);
}
body:not(.brand-page) .wordmark > span,
body:not(.brand-page) .primary-nav a:hover,
body:not(.brand-page) .primary-nav a.active,
body:not(.brand-page) .site-main h1,
body:not(.brand-page) .site-main h2,
body:not(.brand-page) .site-main h3 {
  color: #f7f8fc;
}
body:not(.brand-page) .wordmark > b,
body:not(.brand-page) .primary-nav a::after,
body:not(.brand-page) .eyebrow,
body:not(.brand-page) .kicker,
body:not(.brand-page) .control-id,
body:not(.brand-page) .text-link,
body:not(.brand-page) .card-link {
  color: #d8cbff;
  background-color: transparent;
}
body:not(.brand-page)
  .site-main
  :is(
    article,
    section,
    aside,
    details,
    .card,
    .control-card,
    .source-card,
    .research-card,
    .pattern-card,
    .layer-card,
    .integration-category
  ) {
  border-color: rgb(196 181 253 / 0.17);
}
body:not(.brand-page)
  .site-main
  :is(
    article,
    .card,
    .control-card,
    .source-card,
    .research-card,
    .pattern-card,
    .layer-card,
    .integration-category
  ) {
  background-color: rgb(18 24 39 / 0.72);
}
body:not(.brand-page) .site-main :is(input, select, textarea, .command-search input) {
  border-color: rgb(196 181 253 / 0.34);
  background: #0b1020;
  color: #f5f7fb;
}
body:not(.brand-page) .site-main :is(p, li, small, .hero-deck, .integration-hero-lede) {
  color: #b9c3d6;
}
body:not(.brand-page) .site-footer,
body:not(.brand-page) .preview-rail {
  border-color: rgb(196 181 253 / 0.18);
  background: #070a11;
}
body:not(.brand-page) .command-palette,
body:not(.brand-page) .command-search,
body:not(.brand-page) .command-results,
body:not(.brand-page) .command-palette-footer {
  border-color: rgb(196 181 253 / 0.24);
  background: #0d1321;
  color: #eff2f8;
}
body:not(.brand-page) .integration-hero {
  background:
    radial-gradient(circle at 74% 22%, rgb(196 181 253 / 0.2), transparent 27rem),
    radial-gradient(circle at 20% 100%, rgb(124 58 237 / 0.18), transparent 26rem),
    linear-gradient(135deg, #070b15, #131327 55%, #201331);
}
body:not(.brand-page) .integration-system-visual {
  border-color: rgb(231 225 255 / 0.34);
  color: #eef0f7;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 0.1), transparent 38%),
    linear-gradient(135deg, #171428, #0b1020 68%, #211330);
  box-shadow:
    0 28px 70px rgb(0 0 0 / 0.44),
    inset 0 1px rgb(255 255 255 / 0.08);
}
body:not(.brand-page) .integration-system-topline,
body:not(.brand-page) .integration-system-caption {
  border-color: rgb(196 181 253 / 0.18);
  color: #bdc8dd;
}
body:not(.brand-page) .integration-system-inner > p,
body:not(.brand-page) .integration-system-cards strong {
  color: #f3f4fa;
}
body:not(.brand-page) .integration-system-inner > p em {
  color: #dbc8ff;
}
body:not(.brand-page) .integration-system-cards > div {
  border-color: rgb(196 181 253 / 0.28);
  border-left-color: #a78bfa;
  background: rgb(8 12 23 / 0.78);
  box-shadow: 0 12px 26px rgb(0 0 0 / 0.2);
}
body:not(.brand-page) .integration-system-cards span,
body:not(.brand-page) .integration-system-cards small {
  color: #c7b4eb;
}
body:not(.brand-page) .integration-system-route {
  border-color: #9176d0;
}
body:not(.brand-page) .integration-system-route span {
  background: #c4b5fd;
}
body:not(.brand-page) .integration-system-review {
  border-color: rgb(240 199 123 / 0.62);
  color: #fff8e9;
  background: linear-gradient(135deg, #332314, #181226 62%, #0d1120);
}
body:not(.brand-page) .integration-system-review span {
  color: #f0c77b;
}
body:not(.brand-page) .integration-system-review small {
  color: #d6cde2;
}
body:not(.brand-page) .integration-category {
  background: linear-gradient(145deg, rgb(24 31 50 / 0.92), rgb(10 15 27 / 0.92));
}
body:not(.brand-page) .integration-category::before {
  background: linear-gradient(90deg, #a78bfa, #f0c77b);
}
body:not(.brand-page) .integration-category li {
  background: rgb(255 255 255 / 0.045);
}
/* Public-dark final cascade: keep legacy engineering blocks accessible. */
body:not(.brand-page) .journey-row,
body:not(.brand-page) .journey-node-grid {
  border-color: #313e5a;
  background: #313e5a;
}
body:not(.brand-page) .journey-row-label {
  color: #f5f7ff;
  background: #151b2c;
}
body:not(.brand-page) .journey-row-label span {
  color: #9ef0cb;
}
body:not(.brand-page) .journey-node,
body:not(.brand-page) .journey-node:not(:last-child)::after {
  border-color: #313e5a;
  background: #101624;
}
body:not(.brand-page) .journey-node a,
body:not(.brand-page) .journey-node a:hover {
  color: #f2f4fb;
  background: #101624;
}
body:not(.brand-page) .journey-node p,
body:not(.brand-page) .journey-phase,
body:not(.brand-page) .journey-status {
  color: #bdc8dd;
}
body:not(.brand-page) .journey-node.phase-specialist a {
  background: #171428;
}
body:not(.brand-page) .phase-specialist .journey-phase {
  color: #f0c77b;
}
body:not(.brand-page) .decision-journey-graph.compact .journey-row-label {
  background: #3d2b70;
  border-bottom-color: #a78bfa;
}
body:not(.brand-page) .pointer-label {
  background: #4b338a;
}
body:not(.brand-page) .verification-pointer {
  border-color: #8f77dc;
  background: #101624;
}
body:not(.brand-page) .verification-pointer h2 {
  color: #f5f7ff;
}
body:not(.brand-page) .verification-pointer p {
  color: #c4cede;
}
body:not(.brand-page) .verification-pointer .text-link {
  color: #e2d8ff;
}
body:not(.brand-page) .local-badge {
  border-color: #7ee7bd;
  color: #9ef0cb;
}
body:not(.brand-page) .owner-note,
body:not(.brand-page) .site-main label {
  color: #eef1f8;
}
body:not(.brand-page) .button-quiet {
  border-color: #7585a5;
  color: #eef1f8;
  background: #171f31;
}
body:not(.brand-page) .example-script-boundary {
  border-color: #b9934e;
  color: #f6e6bd;
  background: #251c13;
}
body:not(.brand-page) .example-control-panel,
body:not(.brand-page) .example-result-panel {
  border-color: #37435d;
  color: #eef1f8;
  background: #101624;
}
body:not(.brand-page) .example-control-panel fieldset p {
  color: #bdc8dd;
}
body:not(.brand-page) .example-result-panel [data-example-status] {
  color: #f8e9c7;
  background: #2b2117;
}
body:not(.brand-page) .example-result-panel li {
  border-color: #37435d;
  background: #151d2d;
}
body:not(.brand-page) .example-result-panel li span {
  color: #bdc8dd;
}
body:not(.brand-page) .example-button-row .example-secondary-button {
  color: #eef1f8;
}
body:not(.brand-page) .network-core {
  border-color: #aa94e7;
  background: #3d2b70;
}
body:not(.brand-page) .network-core > span,
body:not(.brand-page) .network-core > strong,
body:not(.brand-page) .network-core > small {
  color: #fff;
}
/* Final dark-surface repairs: these follow every legacy route declaration. */
body:not(.brand-page) .journey-row,
body:not(.brand-page) .journey-node-grid {
  border-color: #313e5a;
  background: #313e5a;
}
body:not(.brand-page) .journey-row-label {
  color: #f5f7ff;
  background: #151b2c;
}
body:not(.brand-page) .journey-row-label span {
  color: #9ef0cb;
}
body:not(.brand-page) .journey-node,
body:not(.brand-page) .journey-node:not(:last-child)::after {
  border-color: #313e5a;
  background: #101624;
}
body:not(.brand-page) .journey-node a,
body:not(.brand-page) .journey-node a:hover {
  color: #f2f4fb;
  background: #101624;
}
body:not(.brand-page) .journey-node p,
body:not(.brand-page) .journey-phase,
body:not(.brand-page) .journey-status {
  color: #bdc8dd;
}
body:not(.brand-page) .journey-node.phase-specialist a {
  background: #171428;
}
body:not(.brand-page) .phase-specialist .journey-phase {
  color: #f0c77b;
}
body:not(.brand-page) .decision-journey-graph.compact .journey-row-label {
  background: #3d2b70;
  border-bottom-color: #a78bfa;
}
body:not(.brand-page) .pointer-label {
  background: #4b338a;
}
body:not(.brand-page) .verification-pointer {
  border-color: #8f77dc;
  background: #101624;
}
body:not(.brand-page) .verification-pointer h2 {
  color: #f5f7ff;
}
body:not(.brand-page) .verification-pointer p {
  color: #c4cede;
}
body:not(.brand-page) .verification-pointer .text-link {
  color: #e2d8ff;
}
body:not(.brand-page) .local-badge {
  border-color: #7ee7bd;
  color: #9ef0cb;
}
body:not(.brand-page) .owner-note,
body:not(.brand-page) .site-main label {
  color: #eef1f8;
}
body:not(.brand-page) .button-quiet {
  border-color: #7585a5;
  color: #eef1f8;
  background: #171f31;
}
body:not(.brand-page) .example-script-boundary {
  border-color: #b9934e;
  color: #f6e6bd;
  background: #251c13;
}
body:not(.brand-page) .example-control-panel,
body:not(.brand-page) .example-result-panel {
  border-color: #37435d;
  color: #eef1f8;
  background: #101624;
}
body:not(.brand-page) .example-control-panel fieldset p {
  color: #bdc8dd;
}
body:not(.brand-page) .example-result-panel [data-example-status] {
  color: #f8e9c7;
  background: #2b2117;
}
body:not(.brand-page) .example-result-panel li {
  border-color: #37435d;
  background: #151d2d;
}
body:not(.brand-page) .example-result-panel li span {
  color: #bdc8dd;
}
body:not(.brand-page) .example-button-row .example-secondary-button {
  color: #eef1f8;
}
body:not(.brand-page) .network-core {
  border-color: #aa94e7;
  background: #3d2b70;
}
body:not(.brand-page) .network-core > span,
body:not(.brand-page) .network-core > strong,
body:not(.brand-page) .network-core > small {
  color: #fff;
}

/* The engineering library was originally ink-on-paper. Keep its dense tools
   readable after the public midnight surface conversion. */
body:not(.brand-page) .journey-row,
body:not(.brand-page) .journey-node-grid {
  border-color: #313e5a;
  background: #313e5a;
}
body:not(.brand-page) .journey-row-label {
  background: #151b2c;
  color: #f5f7ff;
}
body:not(.brand-page) .journey-row-label span {
  color: #9ef0cb;
}
body:not(.brand-page) .journey-node,
body:not(.brand-page) .journey-node:not(:last-child)::after {
  border-color: #313e5a;
  background: #101624;
}
body:not(.brand-page) .journey-node a,
body:not(.brand-page) .journey-node a:hover {
  color: #f2f4fb;
  background: #101624;
}
body:not(.brand-page) .journey-node p,
body:not(.brand-page) .journey-phase,
body:not(.brand-page) .journey-status {
  color: #bdc8dd;
}
body:not(.brand-page) .journey-node.phase-specialist a {
  background: #171428;
}
body:not(.brand-page) .phase-specialist .journey-phase {
  color: #f0c77b;
}
body:not(.brand-page) .decision-journey-graph.compact .journey-row-label {
  background: #3d2b70;
  border-bottom-color: #a78bfa;
}
body:not(.brand-page) .pointer-label {
  background: #4b338a;
}
body:not(.brand-page) .verification-pointer {
  border-color: #8f77dc;
  background: #101624;
}
body:not(.brand-page) .verification-pointer h2 {
  color: #f5f7ff;
}
body:not(.brand-page) .verification-pointer p {
  color: #c4cede;
}
body:not(.brand-page) .verification-pointer .text-link {
  color: #e2d8ff;
}
body:not(.brand-page) .local-badge {
  border-color: #7ee7bd;
  color: #9ef0cb;
}
body:not(.brand-page) .owner-note,
body:not(.brand-page) .site-main label {
  color: #eef1f8;
}
body:not(.brand-page) .button-quiet {
  border-color: #7585a5;
  color: #eef1f8;
  background: #171f31;
}
body:not(.brand-page) .example-script-boundary {
  border-color: #b9934e;
  color: #f6e6bd;
  background: #251c13;
}
body:not(.brand-page) .example-control-panel,
body:not(.brand-page) .example-result-panel {
  border-color: #37435d;
  color: #eef1f8;
  background: #101624;
}
body:not(.brand-page) .example-control-panel fieldset p {
  color: #bdc8dd;
}
body:not(.brand-page) .example-result-panel [data-example-status] {
  color: #f8e9c7;
  background: #2b2117;
}
body:not(.brand-page) .example-result-panel li {
  border-color: #37435d;
  background: #151d2d;
}
body:not(.brand-page) .example-result-panel li span {
  color: #bdc8dd;
}
body:not(.brand-page) .example-button-row .example-secondary-button {
  color: #eef1f8;
}
body:not(.brand-page) .network-core {
  border-color: #aa94e7;
  background: #3d2b70;
}
body:not(.brand-page) .network-core > span,
body:not(.brand-page) .network-core > strong,
body:not(.brand-page) .network-core > small {
  color: #fff;
}
body:not(.brand-page) .integration-hero h1,
body:not(.brand-page) .integration-map .integration-section-heading h2,
body:not(.brand-page) .integration-system-inner > p,
body:not(.brand-page) .integration-system-review strong {
  font-family: var(--sans);
  font-style: normal;
  letter-spacing: -0.055em;
}
body:not(.brand-page) .integration-hero h1 {
  font-weight: 800;
  line-height: 0.94;
}
body:not(.brand-page) .integration-hero h1 em,
body:not(.brand-page) .integration-system-inner > p em {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 0;
  background: var(--bone);
  color: #eff2fa;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(to right, transparent calc(100% - 1px), rgba(167, 139, 250, 0.14) 1px),
    linear-gradient(to bottom, transparent calc(100% - 1px), rgba(196, 181, 253, 0.08) 1px);
  background-size:
    calc((100vw - 48px) / 12) 100%,
    100% 48px;
  background-position:
    24px 0,
    0 0;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-underline-offset: 0.18em;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}
h1,
h2,
h3 {
  margin-block: 0;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(3.25rem, 7.2vw, 7.6rem);
  line-height: 0.88;
  font-weight: 760;
}
h2 {
  font-size: clamp(2.25rem, 4.6vw, 4.8rem);
  line-height: 0.96;
  font-weight: 720;
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.08;
}
p {
  line-height: 1.65;
}
em {
  font-family: var(--serif);
  font-weight: 400;
}
::selection {
  color: white;
  background: var(--cobalt);
}
[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  background: var(--amber);
  color: var(--graphite);
  font-weight: 800;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: translateY(0);
}

.preview-rail {
  min-height: 34px;
  padding: 0.45rem max(24px, calc((100% - 1280px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  background: var(--graphite);
  color: #d5d5d2;
  border-bottom: 1px solid var(--line-dark);
  font: 650 0.67rem/1.2 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.preview-rail span:first-child {
  color: white;
}
.preview-rail span:first-child i {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 184, 0, 0.12);
}
.preview-rail a {
  justify-self: end;
  color: var(--green);
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  width: 100%;
  min-height: 84px;
  margin: 0 auto;
  padding-inline: max(24px, calc((100% - 1280px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2.25rem;
  align-items: center;
  border-bottom: 1px solid var(--graphite);
  background: rgba(244, 241, 234, 0.94);
  box-shadow: 0 1px 0 rgba(21, 23, 26, 0.05);
  backdrop-filter: blur(14px) saturate(1.1);
}
.wordmark {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 0.1rem;
  align-items: baseline;
  text-decoration: none;
  letter-spacing: -0.08em;
}
.wordmark > span {
  font-weight: 900;
  font-size: 1.35rem;
}
.wordmark > b {
  color: var(--cobalt-dark);
  font-size: 1.35rem;
}
.wordmark > small {
  grid-column: 1 / -1;
  font: 600 0.58rem var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.65rem, 1.5vw, 1.6rem);
}
.primary-nav a {
  position: relative;
  padding: 0.55rem 0.1rem;
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0.15rem;
  height: 2px;
  background: var(--cobalt);
  transition: right 0.18s ease;
}
.primary-nav a:hover,
.primary-nav a.active {
  color: var(--graphite);
}
.primary-nav a:hover::after,
.primary-nav a.active::after {
  right: 0;
}
.command-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0.75rem 0.65rem 1rem;
  background: var(--graphite);
  color: white;
  border: 1px solid var(--graphite);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 750;
  transition:
    background 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}
.command-link:hover {
  background: var(--cobalt);
  box-shadow: 4px 4px 0 var(--amber);
  transform: translate(-2px, -2px);
}
.command-link kbd {
  border-color: #5f646d;
  background: #292c32;
  color: #d9dce1;
}
kbd {
  min-width: 1.7rem;
  padding: 0.16rem 0.35rem;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 2px;
  background: var(--bone);
  color: var(--ink-muted);
  text-align: center;
  font: 650 0.7rem var(--mono);
}
.mobile-nav {
  display: none;
}

.command-palette {
  width: min(900px, calc(100% - 40px));
  max-width: none;
  max-height: min(820px, calc(100dvh - 40px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--graphite);
  border-radius: 0;
  background: var(--bone);
  color: var(--graphite);
  box-shadow:
    14px 14px 0 var(--amber),
    -1px -1px 0 var(--cobalt);
}
.command-palette::backdrop {
  background: rgba(9, 11, 14, 0.78);
  backdrop-filter: blur(5px);
}
.command-palette-shell {
  min-height: 0;
  max-height: inherit;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
}
.command-palette-heading {
  min-width: 0;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line-dark);
  background: var(--graphite);
  color: white;
}
.command-palette-heading form {
  margin: 0;
}
.command-palette-kicker {
  margin: 0 0 0.25rem;
  color: var(--green);
  font: 700 0.59rem var(--mono);
  letter-spacing: 0.1em;
}
#command-palette-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 780;
  line-height: 1.2;
}
.command-close {
  min-height: 38px;
  padding: 0.45rem 0.55rem 0.45rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid #5a5f68;
  background: transparent;
  color: white;
  font-size: 0.7rem;
  font-weight: 750;
}
.command-close:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.command-close kbd {
  border-color: #5a5f68;
  background: #25282e;
  color: #d8dbe0;
}
.command-search {
  padding: 1.1rem;
  border-bottom: 1px solid var(--graphite);
  background: var(--paper);
}
.command-search > label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 760;
}
.command-search > div:first-of-type {
  position: relative;
  display: flex;
  align-items: center;
}
.command-search > div:first-of-type > span {
  position: absolute;
  left: 1rem;
  z-index: 1;
  color: var(--cobalt);
  font-size: 1.4rem;
}
.command-search input {
  width: 100%;
  min-height: 58px;
  padding: 0.85rem 4rem 0.85rem 3rem;
  border: 2px solid var(--graphite);
  border-radius: 0;
  background: white;
  color: var(--graphite);
  font-size: clamp(1rem, 2vw, 1.2rem);
}
.command-search > div:first-of-type > kbd {
  position: absolute;
  right: 0.8rem;
}
.command-search-meta {
  margin-top: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-muted);
  font: 650 0.6rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.command-search-meta output {
  color: var(--cobalt-dark);
  font-weight: 760;
}
.command-results {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  background: var(--bone);
}
.command-results ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.command-results li {
  border-bottom: 1px solid var(--line);
}
.command-results a {
  min-height: 78px;
  padding: 0.8rem 1rem;
  display: grid;
  grid-template-columns: 5.7rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  text-decoration: none;
}
.command-results a:hover,
.command-results a:focus-visible {
  background: var(--graphite);
  color: white;
}
.command-kind {
  width: fit-content;
  padding: 0.35rem 0.45rem;
  border: 1px solid currentColor;
  color: var(--cobalt-dark);
  font: 720 0.56rem var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.command-kind-control {
  color: #176a43;
}
.command-kind-pattern {
  color: #7a5500;
}
.command-kind-research {
  color: #6f4586;
}
.command-kind-layer {
  color: #8b3f32;
}
.command-results a:hover .command-kind,
.command-results a:focus-visible .command-kind {
  color: var(--green);
}
.command-result-copy {
  min-width: 0;
}
.command-result-copy strong {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.3;
}
.command-result-copy strong > span {
  flex: 0 0 auto;
  color: var(--cobalt);
  font: 750 0.65rem var(--mono);
}
.command-result-copy small {
  display: block;
  margin-top: 0.28rem;
  overflow: hidden;
  color: var(--ink-muted);
  font-size: 0.7rem;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.command-results a:hover small,
.command-results a:focus-visible small {
  color: #bfc3ca;
}
.command-result-index {
  color: #9c9b96;
  font: 650 0.6rem var(--mono);
}
.command-empty {
  min-height: 260px;
  padding: 2rem;
  display: grid;
  place-content: center;
  text-align: center;
}
.command-empty > span {
  color: var(--cobalt);
  font: 760 3rem var(--mono);
}
.command-empty p {
  margin: 0.75rem 0 0.25rem;
  font-weight: 780;
}
.command-empty small {
  color: var(--ink-muted);
}
.command-palette-footer {
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--graphite);
  background: var(--paper);
  color: var(--ink-muted);
  font: 650 0.58rem var(--mono);
  text-transform: uppercase;
}
.command-palette-footer span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.command-palette-footer a {
  margin-left: auto;
  color: var(--cobalt-dark);
}

.site-main {
  scroll-margin-top: 6rem;
  width: var(--reading);
  margin: 0 auto;
}
.site-main.wide {
  width: 100%;
  max-width: none;
}
.section-shell {
  width: var(--shell);
  margin-inline: auto;
}
.eyebrow,
.kicker,
.control-id {
  margin: 0 0 0.85rem;
  color: var(--cobalt-dark);
  font: 750 0.69rem/1.35 var(--mono);
  letter-spacing: 0.105em;
  text-transform: uppercase;
}
.kicker {
  color: var(--ink-muted);
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--graphite);
  border-radius: 0;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 780;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}
.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--graphite);
}
.button-blue {
  border-color: var(--cobalt);
  background: var(--cobalt);
  color: white;
}
.button-blue:hover {
  box-shadow: 4px 4px 0 var(--amber);
}
.button-dark {
  background: var(--graphite);
  color: white;
}
.button-quiet {
  background: transparent;
  color: var(--graphite);
}
.button-amber {
  background: var(--amber);
  color: var(--graphite);
}
.text-link,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cobalt-dark);
  font-weight: 780;
}
.card-link {
  margin-top: auto;
  font-size: 0.82rem;
  text-decoration: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  min-height: calc(100vh - 118px);
  padding-block: clamp(3.5rem, 6vw, 6rem);
}
.hero-copy h1 {
  max-width: 11ch;
}
.hero-copy h1 em {
  display: block;
  color: var(--cobalt);
}
.hero-deck {
  max-width: 61ch;
  margin: 1.6rem 0;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
}
.hero-command-launcher {
  max-width: 610px;
  margin-top: 1rem;
  padding: 0.75rem 0.8rem 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--graphite);
  background: var(--graphite);
  color: white;
  box-shadow: 4px 4px 0 var(--amber);
  text-decoration: none;
  transition:
    background 0.16s ease,
    transform 0.16s ease;
}
.hero-command-launcher:hover {
  background: var(--cobalt);
  transform: translate(-2px, -2px);
}
.hero-command-launcher small,
.hero-command-launcher strong {
  display: block;
}
.hero-command-launcher small {
  margin-bottom: 0.25rem;
  color: var(--green);
  font: 700 0.56rem var(--mono);
  letter-spacing: 0.08em;
}
.hero-command-launcher strong {
  font-size: 0.75rem;
  line-height: 1.4;
}
.hero-command-launcher kbd {
  flex: 0 0 auto;
  border-color: #555a63;
  background: #26292f;
  color: #d9dce1;
}
.boundary-note {
  max-width: 62ch;
  margin: 1.25rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--amber);
  color: var(--ink-muted);
  font-size: 0.82rem;
}
.snapshot-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 2.2rem 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.snapshot-metrics div {
  padding: 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.snapshot-metrics dt {
  color: var(--ink-muted);
  font: 700 0.61rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.snapshot-metrics dd {
  margin: 0.35rem 0 0;
  font: 750 1.35rem var(--mono);
}
.hero-system {
  min-width: 0;
  border: 1px solid var(--graphite);
  background: var(--graphite);
  box-shadow: 16px 16px 0 var(--amber);
}
.system-heading,
.system-legend {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  color: #c8cbd0;
  font: 650 0.62rem var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.system-heading {
  border-bottom: 1px solid var(--line-dark);
}
.system-legend {
  border-top: 1px solid var(--line-dark);
}
.system-legend span {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}
.dot-blue {
  background: var(--cobalt);
}
.dot-green {
  background: var(--green);
}

.layer-stack {
  position: relative;
  min-height: 560px;
  padding: 3rem clamp(1.25rem, 4vw, 3rem);
  overflow: hidden;
  border: 1px solid var(--graphite);
  background: var(--graphite);
  color: white;
}
.layer-stack.compact {
  min-height: 495px;
  padding-block: 2rem;
  border: 0;
}
.layer-stack ol {
  position: relative;
  z-index: 2;
  width: 78%;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  list-style: none;
}
.layer-stack li:nth-child(2) {
  transform: translateX(2.1%);
}
.layer-stack li:nth-child(3) {
  transform: translateX(4.2%);
}
.layer-stack li:nth-child(4) {
  transform: translateX(6.3%);
}
.layer-stack li:nth-child(5) {
  transform: translateX(8.4%);
}
.layer-stack li:nth-child(6) {
  transform: translateX(10.5%);
}
.layer-stack li:nth-child(7) {
  transform: translateX(12.6%);
}
.layer-stack li:nth-child(8) {
  transform: translateX(14.7%);
}
.layer-stack li a {
  min-height: 52px;
  padding: 0.8rem 1rem;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  border: 1px solid #484d56;
  background: rgba(32, 35, 41, 0.94);
  text-decoration: none;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    transform 0.16s ease;
}
.layer-stack li a:hover,
.layer-stack li a:focus-visible {
  border-color: var(--green);
  background: #292d34;
  transform: translateX(6px);
}
.layer-number,
.layer-verb {
  color: var(--green);
  font: 700 0.65rem var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.layer-name {
  min-width: 0;
  font-size: 0.88rem;
  font-weight: 700;
}
.layer-verb {
  color: #a9aeb7;
}
.stack-axis {
  position: absolute;
  z-index: 3;
  top: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #8e949e;
  font: 650 0.55rem var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.stack-lines {
  position: absolute;
  z-index: 1;
  right: -8%;
  bottom: 2%;
  width: 70%;
  height: 82%;
  fill: var(--green);
  stroke: var(--cobalt);
  stroke-width: 2;
  opacity: 0.65;
}
.stack-lines path {
  fill: none;
  stroke-dasharray: 4 8;
  animation: topology-flow 8s linear infinite;
}
@keyframes topology-flow {
  to {
    stroke-dashoffset: -72;
  }
}

.section-intro {
  margin-bottom: 2.8rem;
}
.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.6fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}
.split-intro h2 {
  max-width: 15ch;
}
.split-intro > p,
.split-intro > div:last-child p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
}
.status-console,
.architecture-section,
.radar-preview,
.research-preview {
  padding-block: clamp(5rem, 9vw, 9rem);
  border-top: 1px solid var(--graphite);
}
.status-console {
  position: relative;
}
.status-console::before {
  content: 'STATUS / PROVISION-AWARE';
  position: absolute;
  top: -1px;
  right: 0;
  padding: 0.45rem 0.7rem;
  background: var(--graphite);
  color: white;
  font: 650 0.57rem var(--mono);
  letter-spacing: 0.1em;
}
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--graphite);
}
.status-card {
  min-width: 0;
  padding: 1.5rem;
  background: var(--paper);
  border-right: 1px solid var(--graphite);
}
.status-card:last-child {
  border-right: 0;
}
.status-card-line,
.record-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.status-card-line {
  flex-wrap: wrap;
}
.status-card-line .status-chip {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.status-card h3 {
  margin: 2.5rem 0 0.7rem;
  font-size: 1.45rem;
}
.status-card time {
  color: var(--cobalt-dark);
  font: 750 1rem var(--mono);
}
.status-card p {
  color: var(--ink-muted);
  font-size: 0.85rem;
}
.source-ribbon {
  margin: 0;
  padding: 1rem 1.25rem;
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1rem;
  background: var(--graphite);
  color: #d2d5da;
  font-size: 0.78rem;
}
.source-ribbon span {
  color: var(--amber);
  font: 700 0.65rem var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.architecture-section {
  background: var(--paper);
  width: 100%;
  padding-inline: max(24px, calc((100% - 1280px) / 2));
}
.architecture-section .layer-stack {
  max-width: 1280px;
  margin: 0 auto;
}
.architecture-actions {
  max-width: 1280px;
  margin: 1.25rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.control-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  border: 1px solid var(--graphite);
  margin-block: clamp(5rem, 9vw, 9rem);
  background: var(--graphite);
  color: white;
}
.control-feature-main {
  padding: clamp(2rem, 5vw, 4.5rem);
}
.control-feature .eyebrow {
  color: var(--amber);
}
.control-feature-id {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 2.7rem 0 1rem;
  color: var(--green);
  font: 760 clamp(2.7rem, 5vw, 5.5rem)/0.9 var(--mono);
  letter-spacing: -0.08em;
}
.control-feature-id span {
  padding: 0.25rem 0.4rem;
  border: 1px solid var(--line-dark);
  color: #aaaeb6;
  font-size: 0.6rem;
  letter-spacing: 0.05em;
}
.control-feature h2 {
  max-width: 12ch;
}
.feature-objective {
  max-width: 54ch;
  color: #c8cbd0;
  font-size: 1.05rem;
}
.feature-grid {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}
.feature-grid div {
  padding: 1rem;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.feature-grid span {
  display: block;
  margin-bottom: 0.45rem;
  color: #8e949e;
  font: 650 0.62rem var(--mono);
  text-transform: uppercase;
}
.feature-grid strong {
  font-size: 0.82rem;
  line-height: 1.45;
}

.owner-note {
  margin-block: 3rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--graphite);
  background: var(--paper);
  color: var(--graphite);
}
.owner-note.compact {
  margin: 0;
  align-self: stretch;
  border: 0;
  border-left: 1px solid var(--line-dark);
  background: #1b1e23;
  color: white;
}
.owner-note-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.owner-note-heading h2 {
  max-width: 11ch;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}
.owner-note.compact .kicker {
  color: var(--green);
}
.local-badge {
  padding: 0.35rem 0.5rem;
  border: 1px solid #17653f;
  color: #17653f;
  font: 650 0.57rem var(--mono);
  text-transform: uppercase;
  white-space: nowrap;
}
.owner-note.compact .local-badge {
  border-color: var(--green);
  color: var(--green);
}
.note-boundary {
  color: var(--ink-muted);
  font-size: 0.78rem;
}
.owner-note.compact .note-boundary {
  color: #aeb2ba;
}
.note-fields {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.note-fields label,
.filter-console label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 760;
}
.note-fields input,
.note-fields textarea,
.filter-console input,
.filter-console select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--graphite);
  border-radius: 0;
  background: white;
  color: var(--graphite);
}
.note-fields input,
.filter-console input,
.filter-console select {
  min-height: 44px;
  padding: 0.65rem 0.75rem;
}
.note-fields textarea {
  padding: 0.7rem 0.75rem;
  resize: vertical;
}
.owner-note.compact .note-fields input,
.owner-note.compact .note-fields textarea {
  border-color: #575c65;
  background: #25282e;
  color: white;
}
.note-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-top: 1rem;
}
.text-button {
  border: 0;
  background: none;
  color: var(--cobalt-dark);
  padding: 0.5rem;
  text-decoration: underline;
}
.owner-note.compact .text-button {
  color: var(--green);
}
.note-actions output {
  flex: 1 1 100%;
  min-height: 1.3rem;
  color: var(--ink-muted);
  font-size: 0.76rem;
}
.owner-note.compact output {
  color: #aeb2ba;
}

.ring-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 1.5rem;
  border: 1px solid var(--graphite);
}
.ring-card {
  min-width: 0;
  padding: 1.3rem;
  border-right: 1px solid var(--graphite);
  background: var(--paper);
}
.ring-card:last-child {
  border-right: 0;
}
.ring-card > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-muted);
  font: 700 0.64rem var(--mono);
  text-transform: uppercase;
}
.ring-marker {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--graphite);
  color: white;
}
.ring-card h3 {
  min-height: 3.7rem;
  margin: 3rem 0 1rem;
}
.ring-card p {
  color: var(--ink-muted);
  font-size: 0.86rem;
}
.ring-card small {
  display: block;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  line-height: 1.5;
}
.ring-adopt {
  border-top: 5px solid var(--green);
}
.ring-trial {
  border-top: 5px solid var(--cobalt);
}
.ring-assess {
  border-top: 5px solid var(--amber);
}
.ring-watch {
  border-top: 5px solid var(--graphite);
}
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 1.5rem;
  border: 1px solid var(--graphite);
}
.research-card {
  position: relative;
  min-width: 0;
  min-height: 510px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--graphite);
  background: var(--paper);
}
.research-card:last-child {
  border-right: 0;
}
.research-number {
  position: absolute;
  top: 1.3rem;
  right: 1.3rem;
  color: var(--cobalt);
  font: 760 2rem var(--mono);
}
.research-card h3 {
  margin: 3rem 0 1rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
}
.research-card h3 a {
  text-decoration: none;
}
.research-card > p:not(.kicker) {
  color: var(--ink-muted);
}
.fact-analysis {
  margin: auto 0 1.25rem;
  padding: 1rem;
  border-left: 3px solid var(--green);
  background: #eff5ee;
}
.fact-analysis span,
.research-rails span {
  color: #17653f;
  font: 750 0.61rem var(--mono);
  letter-spacing: 0.08em;
}
.fact-analysis p {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
}
.network-strip {
  margin-block: clamp(5rem, 9vw, 9rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: 1fr 0.7fr auto;
  gap: 3rem;
  align-items: center;
  border-top: 6px solid var(--cobalt);
  background: var(--cobalt-dark);
  color: white;
}
.network-strip .eyebrow {
  color: var(--bone);
}
.network-strip h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 4vw, 4rem);
}
.network-strip > p {
  color: white;
}
.build-log {
  margin-bottom: 7rem;
  padding-block: 3rem;
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  border-top: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
}
.build-log > div {
  display: grid;
  grid-template-columns: 0.25fr 1fr 0.6fr;
  gap: 2rem;
  align-items: start;
}
.build-log h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.7rem);
}
.build-log time {
  font: 700 0.7rem var(--mono);
}
.build-log p {
  margin: 0;
  color: var(--ink-muted);
}

.breadcrumbs {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-muted);
  font-size: 0.7rem;
}
.breadcrumbs li + li::before {
  content: '/';
  margin-right: 0.45rem;
  color: var(--line);
}
.breadcrumbs [aria-current='page'] {
  color: var(--graphite);
  font-weight: 700;
}
.page-hero,
.catalogue-hero {
  min-height: 470px;
  padding-block: clamp(3.5rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: end;
}
.page-hero h1,
.catalogue-hero h1 {
  max-width: 11ch;
}
.page-hero h1 em,
.catalogue-hero h1 em {
  color: var(--cobalt);
}
.hero-aside {
  padding: 1.25rem 0 0 1.25rem;
  border-left: 1px solid var(--graphite);
}
.hero-aside > p:first-child {
  margin-top: 0;
  color: var(--ink-muted);
  font-size: 1rem;
}
.inline-alert {
  padding: 0.85rem 1rem;
  border: 1px solid #deb15e;
  background: #fff4d7;
  color: #5e4917;
  font-size: 0.78rem;
  line-height: 1.5;
}
.section-heading {
  margin-bottom: 2rem;
}
.section-heading h2 {
  max-width: 16ch;
}
.grid-2,
.grid-3 {
  display: grid;
}
.grid-2 {
  grid-template-columns: 1fr 1fr;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.timeline {
  padding-block: 5rem;
  border-top: 1px solid var(--graphite);
}
.timeline ol {
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}
.timeline-item {
  display: grid;
  grid-template-columns: 6rem 1fr;
  min-height: 260px;
}
.timeline-node {
  position: relative;
  display: flex;
  justify-content: center;
}
.timeline-node::after {
  content: '';
  position: absolute;
  top: 3rem;
  bottom: 0;
  width: 2px;
  background: var(--green);
}
.timeline-item:last-child .timeline-node::after {
  display: none;
}
.timeline-node span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  font: 750 0.72rem var(--mono);
}
.timeline-item.future .timeline-node span {
  background: var(--amber);
}
.timeline-item.future .timeline-node::after {
  background: repeating-linear-gradient(to bottom, var(--amber) 0 5px, transparent 5px 10px);
}
.timeline-item article {
  margin-bottom: 2rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--graphite);
  background: var(--paper);
}
.timeline-item h3 {
  margin: 1.5rem 0 0.8rem;
  font-size: 2rem;
}
.timeline-item .coverage {
  font-family: var(--serif);
  font-size: 1.05rem;
}
.timeline-item article > p:last-of-type {
  color: var(--ink-muted);
  font-size: 0.83rem;
}
.source-ids {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.source-ids a {
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--line);
  background: var(--bone);
  color: var(--cobalt-dark);
  font: 650 0.64rem var(--mono);
  text-decoration: none;
}
.status-boundary {
  border: 1px solid var(--graphite);
}
.status-boundary article {
  padding: 2rem;
  background: var(--paper);
}
.status-boundary article + article {
  border-left: 1px solid var(--graphite);
  background: var(--graphite);
  color: white;
}
.status-boundary h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.status-boundary p:last-child {
  color: var(--ink-muted);
}
.status-boundary article + article p:last-child {
  color: #b9bdc5;
}
.vocabulary {
  padding-block: 6rem;
}
.definition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--graphite);
}
.definition-grid article {
  min-width: 0;
  padding: 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.definition-grid article:nth-child(3n) {
  border-right: 0;
}
.definition-grid article:nth-last-child(-n + 3) {
  border-bottom: 0;
}
.definition-grid p {
  color: var(--ink-muted);
  font-size: 0.8rem;
}
.status-chip {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.55rem;
  border: 1px solid currentColor;
  font: 700 0.62rem var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-chip::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
}
.status-chip.compact {
  padding: 0.28rem 0.42rem;
  font-size: 0.55rem;
}
.status-green {
  color: #176a43;
  background: #e5f7ee;
}
.status-amber {
  color: #785300;
  background: #fff0c5;
}
.status-blue {
  color: #1647c8;
  background: #e7edff;
}
.status-slate {
  color: #555b65;
  background: #eff0f1;
}
.next-route {
  margin-block: 4rem 6rem;
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
}
.next-route > span {
  color: var(--ink-muted);
  font: 700 0.65rem var(--mono);
  text-transform: uppercase;
}
.next-route a {
  font-weight: 780;
}

.stack-overview {
  margin-bottom: 6rem;
}
.layer-directory {
  padding-block: 6rem;
  border-top: 1px solid var(--graphite);
}
.layer-cards {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--graphite);
  border-left: 1px solid var(--graphite);
  list-style: none;
}
.layer-cards li {
  min-width: 0;
  border-right: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
  background: var(--paper);
}
.layer-cards a {
  min-height: 250px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  gap: 1.25rem;
  text-decoration: none;
  transition:
    background 0.16s ease,
    color 0.16s ease;
}
.layer-cards a:hover {
  background: var(--graphite);
  color: white;
}
.layer-card-number {
  color: var(--cobalt);
  font: 780 2rem var(--mono);
}
.layer-cards h3 {
  margin-bottom: 0.7rem;
  font-size: 1.55rem;
}
.layer-cards p:last-child {
  color: var(--ink-muted);
  font-size: 0.84rem;
}
.layer-cards a:hover p:last-child,
.layer-cards a:hover .kicker {
  color: #bbc0c8;
}
.layer-card-arrow {
  font-size: 1.4rem;
}

.record-hero {
  min-height: 430px;
  padding-block: 5rem;
  display: grid;
  grid-template-columns: minmax(120px, 0.22fr) minmax(0, 1fr) minmax(180px, 0.25fr);
  gap: 2rem;
  align-items: start;
  border-bottom: 1px solid var(--graphite);
}
.record-number {
  color: var(--cobalt);
  font: 770 clamp(2rem, 4vw, 4.5rem)/0.95 var(--mono);
  letter-spacing: -0.08em;
}
.record-number small {
  display: block;
  margin-top: 0.55rem;
  color: var(--ink-muted);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
}
.record-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 5.6vw, 6rem);
}
.record-dek {
  max-width: 63ch;
  color: var(--ink-muted);
  font-family: var(--serif);
  font-size: 1.18rem;
}
.record-state {
  padding: 1rem;
  border: 1px solid var(--graphite);
  background: var(--paper);
}
.record-state p {
  margin-bottom: 0;
  color: var(--ink-muted);
  font-size: 0.73rem;
}
.decision-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  border-left: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
}
.decision-grid article {
  min-width: 0;
  padding: 1.5rem;
  border-right: 1px solid var(--graphite);
  background: var(--paper);
}
.decision-primary {
  background: var(--cobalt) !important;
  color: white;
}
.decision-primary .kicker {
  color: #cbd8ff;
}
.decision-primary h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}
.decision-grid p:last-child {
  color: var(--ink-muted);
  font-size: 0.85rem;
}
.decision-grid a {
  color: var(--cobalt-dark);
  font-weight: 700;
}
.system-pattern-section {
  padding-block: 6rem;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 4rem;
  align-items: center;
}
.system-pattern-section h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}
.system-pattern-section > div:first-child > p:last-child {
  color: var(--ink-muted);
}
.flow-diagram {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--graphite);
  background: var(--paper);
}
.flow-diagram div {
  position: relative;
  min-height: 150px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--graphite);
}
.flow-diagram div:last-child {
  border-right: 0;
}
.flow-diagram div:not(:last-child)::after {
  content: '→';
  position: absolute;
  z-index: 2;
  right: -13px;
  top: 50%;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--graphite);
  border-radius: 50%;
  background: var(--amber);
  font: 750 0.8rem var(--mono);
}
.flow-diagram span {
  color: var(--cobalt);
  font: 750 0.7rem var(--mono);
}
.flow-diagram strong {
  font-size: 0.82rem;
}
.evidence-failure-grid,
.evidence-test-grid,
.evidence-threat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--graphite);
}
.evidence-failure-grid article,
.evidence-test-grid article,
.evidence-threat-grid article {
  min-width: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--paper);
}
.evidence-failure-grid article + article,
.evidence-test-grid article + article,
.evidence-threat-grid article + article {
  border-left: 1px solid var(--graphite);
}
.failure-panel {
  background: var(--graphite) !important;
  color: white;
}
.failure-panel .eyebrow {
  color: var(--amber);
}
.failure-panel li {
  color: #d1d3d8;
}
.check-list,
.evidence-failure-grid ul,
.evidence-test-grid ol,
.evidence-threat-grid ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.check-list li,
.evidence-failure-grid li,
.evidence-test-grid li,
.evidence-threat-grid li {
  position: relative;
  padding: 0.8rem 0 0.8rem 1.7rem;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #176a43;
  font-weight: 900;
}
.failure-panel li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 900;
}
.related-records {
  padding-block: 6rem;
  border-top: 1px solid var(--graphite);
}
.compact-control-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--graphite);
  border-left: 1px solid var(--graphite);
}
.compact-control-list a {
  min-width: 0;
  min-height: 74px;
  padding: 1rem;
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border-right: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
  background: var(--paper);
  text-decoration: none;
}
.compact-control-list a:hover {
  background: #e8edff;
}
.compact-control-list .control-id {
  margin: 0;
}
.compact-control-list strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.82rem;
}
.pattern-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--graphite);
  border-left: 1px solid var(--graphite);
}
.pattern-mini-grid a {
  min-width: 0;
  min-height: 220px;
  padding: 1.25rem;
  border-right: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
  background: var(--paper);
  text-decoration: none;
}
.pattern-mini-grid span {
  color: var(--cobalt-dark);
  font: 700 0.65rem var(--mono);
}
.pattern-mini-grid h3 {
  margin: 3rem 0 0.7rem;
}
.pattern-mini-grid p {
  color: var(--ink-muted);
  font-size: 0.8rem;
}
.specialist-path,
.connected-pattern {
  margin-block: 4rem;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  border: 1px solid var(--graphite);
  background: var(--graphite);
  color: white;
}
.specialist-path h2,
.connected-pattern h2 {
  font-size: clamp(1.7rem, 3vw, 3rem);
}
.specialist-path p:last-child,
.connected-pattern p:last-child {
  color: #bfc3ca;
}
.specialist-path .button,
.connected-pattern .button {
  color: white;
  border-color: #686e78;
  white-space: nowrap;
}
.specialist-path .kicker,
.connected-pattern .eyebrow {
  color: var(--amber);
}

.catalogue-hero {
  width: var(--shell);
}
.filter-console {
  position: sticky;
  z-index: 5;
  top: 6.5rem;
  margin-bottom: 2rem;
  padding: 1rem;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(180px, 0.35fr) minmax(180px, 0.35fr) auto;
  gap: 0.85rem;
  align-items: end;
  border: 1px solid var(--graphite);
  background: rgba(244, 241, 234, 0.96);
  box-shadow: 6px 6px 0 rgba(21, 23, 26, 0.12);
  backdrop-filter: blur(10px);
}
.filter-console .button {
  min-height: 44px;
}
.search-field > div {
  position: relative;
  display: flex;
  align-items: center;
}
.search-field > div > span {
  position: absolute;
  left: 0.75rem;
  z-index: 1;
  font-size: 1.1rem;
}
.search-field input {
  padding-left: 2.2rem;
  padding-right: 3rem;
}
.search-field kbd {
  position: absolute;
  right: 0.55rem;
}
.catalogue-summary {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--graphite);
}
.catalogue-summary h2 {
  font-size: 1.25rem;
}
.catalogue-summary output,
.catalogue-summary > span {
  color: var(--ink-muted);
  font: 700 0.66rem var(--mono);
  text-transform: uppercase;
}
.control-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--graphite);
}
.control-card {
  min-width: 0;
  min-height: 390px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
  background: var(--paper);
}
.control-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.control-index {
  color: #c7c3b9;
  font: 750 1.7rem var(--mono);
}
.control-card h2 {
  margin: 2.4rem 0 0.9rem;
  font-size: 1.45rem;
}
.control-card h2 a {
  text-decoration: none;
}
.control-card > p {
  color: var(--ink-muted);
  font-size: 0.82rem;
}
.control-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-top: auto;
  padding-top: 1.25rem;
}
.control-card-meta > span:last-child {
  color: var(--ink-muted);
  font-size: 0.67rem;
}
.control-evidence {
  margin: 1rem 0;
  padding: 0.8rem;
  background: #eef2ff;
}
.control-evidence span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--cobalt-dark);
  font: 700 0.57rem var(--mono);
  text-transform: uppercase;
}
.control-evidence strong {
  font-size: 0.75rem;
}
.empty-state {
  padding: 5rem 1rem;
  text-align: center;
  border: 1px solid var(--graphite);
  background: var(--paper);
}
.empty-state > span {
  color: var(--cobalt);
  font: 760 4rem var(--mono);
}
.empty-state h2 {
  margin: 1rem auto;
  max-width: 16ch;
  font-size: 2.4rem;
}
.empty-state p {
  color: var(--ink-muted);
}

.record-anatomy,
.record-workflow {
  padding-block: 5rem;
}
.record-anatomy dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--graphite);
  border-left: 1px solid var(--graphite);
}
.record-anatomy dl div {
  min-width: 0;
  padding: 1.25rem;
  border-right: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
  background: var(--paper);
}
.record-anatomy dt,
.radar-record dt,
.source-main dt {
  margin-bottom: 0.55rem;
  color: var(--ink-muted);
  font: 700 0.61rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.record-anatomy dd,
.radar-record dd,
.source-main dd {
  margin: 0;
  line-height: 1.55;
}
.sequence-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--graphite);
  border-left: 1px solid var(--graphite);
  list-style: none;
}
.sequence-list li {
  min-width: 0;
  min-height: 190px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
  background: var(--paper);
}
.sequence-list span {
  color: var(--cobalt);
  font: 760 1.8rem var(--mono);
}
.sequence-list p {
  margin-bottom: 0;
}
.anti-pattern-panel {
  margin-block: 5rem;
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 4rem;
  background: var(--graphite);
  color: white;
}
.anti-pattern-panel .eyebrow {
  color: var(--amber);
}
.anti-pattern-panel h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}
.anti-pattern-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.anti-pattern-panel li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-dark);
  color: #d0d3d8;
}
.verification-pointer {
  margin-block: 5rem;
  display: grid;
  grid-template-columns: 0.28fr 1fr;
  border: 1px solid var(--cobalt);
  background: #e9efff;
}
.source-rail {
  margin-block: 2.5rem 5rem;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  border-block: 1px solid var(--graphite);
  background: rgba(255, 253, 247, 0.72);
}
.source-rail h2 {
  max-width: 13ch;
  font-size: clamp(1.65rem, 3.2vw, 3rem);
}
.source-rail > div:last-child > p {
  color: var(--ink-muted);
}
.source-rail .record-topline {
  justify-content: flex-start;
}
.pointer-label {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--cobalt);
  color: white;
  font: 700 0.64rem var(--mono);
  letter-spacing: 0.08em;
}
.pointer-label span {
  font-size: 3rem;
}
.verification-pointer > div:last-child {
  padding: clamp(1.5rem, 4vw, 3rem);
}
.verification-pointer h2 {
  font: 750 clamp(1.4rem, 3vw, 2.5rem) var(--mono);
  letter-spacing: -0.05em;
}
.verification-pointer p {
  color: #394863;
}
.record-changelog {
  margin-block: 4rem 6rem;
  padding-block: 2rem;
  display: grid;
  grid-template-columns: 0.3fr 1fr;
  border-top: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
}
.record-changelog > div {
  grid-column: 2;
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 2rem;
}
.record-changelog > div + div {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.record-changelog time {
  font: 700 0.7rem var(--mono);
}
.record-changelog p {
  margin: 0;
  color: var(--ink-muted);
}

.pattern-filter {
  grid-template-columns: minmax(300px, 1fr) minmax(180px, 0.35fr) auto;
}
.pattern-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 1px solid var(--graphite);
}
.pattern-card {
  min-width: 0;
  min-height: 590px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
  background: var(--paper);
}
.pattern-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-muted);
  font: 700 0.65rem var(--mono);
  text-transform: uppercase;
}
.pattern-index {
  color: var(--cobalt);
  font-size: 1.5rem;
}
.pattern-card h2 {
  margin: 2.3rem 0 0.8rem;
  font-size: 2rem;
}
.pattern-card h2 a {
  text-decoration: none;
}
.pattern-card > p {
  color: var(--ink-muted);
}
.pattern-card ol {
  margin: 1rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  list-style: none;
}
.pattern-card ol li {
  min-width: 0;
  min-height: 150px;
  padding: 0.7rem;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}
.pattern-card ol li:last-child {
  border-right: 0;
}
.pattern-card ol span {
  color: var(--cobalt);
  font: 700 0.65rem var(--mono);
}
.pattern-card ol small {
  margin: auto 0 0.35rem;
  color: var(--ink-muted);
  font-size: 0.58rem;
}
.pattern-card ol strong {
  font-size: 0.65rem;
  line-height: 1.35;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.3rem;
}
.tag-list span {
  padding: 0.3rem 0.45rem;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  font: 650 0.6rem var(--mono);
}
.pattern-purpose {
  margin-block: 4rem;
  padding: 2.5rem;
  border-left: 8px solid var(--cobalt);
  background: var(--paper);
}
.pattern-purpose h2 {
  max-width: 22ch;
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.pattern-purpose > p:last-child {
  color: var(--ink-muted);
}
.sequence-section {
  padding-block: 5rem;
}
.sequence-diagram {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--graphite);
}
.sequence-diagram li {
  min-height: 120px;
  display: grid;
  grid-template-columns: 0.55fr 4rem 1fr;
  align-items: center;
  border-bottom: 1px solid var(--graphite);
}
.sequence-actor {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.sequence-actor span {
  color: var(--cobalt);
  font: 750 1.4rem var(--mono);
}
.sequence-arrow {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 50%;
  background: var(--amber);
  font-weight: 900;
}
.sequence-action {
  padding: 1rem;
  border-left: 1px solid var(--line);
}
.sequence-action p {
  margin: 0 0 0.35rem;
}
.sequence-action small {
  color: var(--ink-muted);
  font: 650 0.6rem var(--mono);
  text-transform: uppercase;
}
.json-section {
  margin-block: 4rem;
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 3rem;
  background: var(--graphite);
  color: white;
}
.json-section .eyebrow {
  color: var(--green);
}
.json-section h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.json-section p {
  color: #bfc3ca;
}
pre {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 1.25rem;
  overflow: auto;
  border: 1px solid #4a4f58;
  background: #0d0f12;
  color: #b8f8d8;
  font: 0.76rem/1.65 var(--mono);
}
.evidence-threat-grid {
  grid-template-columns: repeat(3, 1fr);
}

.radar-visual-section {
  padding-block: 2rem 6rem;
}
.radar-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(280px, 0.58fr);
  gap: 2rem;
  align-items: center;
}
.radar-board {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--graphite);
  background: var(--graphite);
}
.radar-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #4d525b;
  border-radius: 50%;
}
.radar-ring span {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  color: #6e747f;
  font: 650 0.52rem var(--mono);
}
.ring-watch-label {
  width: 92%;
  height: 92%;
}
.ring-assess-label {
  width: 70%;
  height: 70%;
}
.ring-trial-label {
  width: 48%;
  height: 48%;
}
.ring-adopt-label {
  width: 25%;
  height: 25%;
  background: rgba(68, 199, 139, 0.05);
}
.radar-cross {
  position: absolute;
  inset: 4%;
  background:
    linear-gradient(transparent calc(50% - 0.5px), #3c4149 50%, transparent calc(50% + 0.5px)),
    linear-gradient(
      90deg,
      transparent calc(50% - 0.5px),
      #3c4149 50%,
      transparent calc(50% + 0.5px)
    );
}
.radar-dot {
  position: absolute;
  z-index: 2;
  left: var(--x);
  top: var(--y);
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 2px solid var(--graphite);
  border-radius: 50%;
  background: var(--cobalt);
  color: white;
  text-decoration: none;
  font: 750 0.65rem var(--mono);
  box-shadow: 0 0 0 1px white;
}
.radar-dot:hover {
  width: 2.4rem;
  height: 2.4rem;
}
.radar-point-1 {
  left: 48%;
  top: 42%;
}
.radar-point-2 {
  left: 58%;
  top: 52%;
}
.radar-point-3 {
  left: 35%;
  top: 62%;
}
.radar-point-4 {
  left: 42%;
  top: 49%;
}
.radar-point-5 {
  left: 51%;
  top: 58%;
}
.radar-point-6 {
  left: 66%;
  top: 39%;
}
.radar-point-7 {
  left: 25%;
  top: 38%;
}
.radar-point-8 {
  left: 78%;
  top: 66%;
}
.radar-point-9 {
  left: 70%;
  top: 25%;
}
.radar-point-10 {
  left: 19%;
  top: 73%;
}
.dot-adopt {
  background: var(--green);
  color: var(--graphite);
}
.dot-trial {
  background: var(--cobalt);
}
.dot-assess {
  background: var(--amber);
  color: var(--graphite);
}
.dot-watch {
  background: #e6e8ec;
  color: var(--graphite);
}
.radar-key {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--graphite);
}
.radar-key li {
  border-bottom: 1px solid var(--graphite);
}
.radar-key a {
  padding: 0.72rem 0;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  text-decoration: none;
}
.radar-key > li > a > span {
  display: grid;
  width: 1.6rem;
  height: 1.6rem;
  place-items: center;
  border-radius: 50%;
  background: var(--graphite);
  color: white;
  font: 700 0.55rem var(--mono);
}
.radar-key strong,
.radar-key small {
  display: block;
}
.radar-key strong {
  font-size: 0.75rem;
}
.radar-key small {
  margin-top: 0.2rem;
  color: var(--ink-muted);
  font-size: 0.62rem;
}
.radar-record-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 1px solid var(--graphite);
}
.radar-record {
  min-width: 0;
  padding: 1.4rem;
  border-right: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
  background: var(--paper);
  scroll-margin-top: 8rem;
}
.radar-record-number {
  color: #b7b5ae;
  font: 750 1.8rem var(--mono);
}
.ring-pill {
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--graphite);
  font: 700 0.58rem var(--mono);
  text-transform: uppercase;
}
.ring-pill-adopt {
  background: var(--green);
}
.ring-pill-trial {
  background: #dfe7ff;
  color: var(--cobalt-dark);
}
.ring-pill-assess {
  background: #fff0c5;
}
.ring-pill-watch {
  background: var(--graphite);
  color: white;
}
.radar-record h3 {
  margin: 2rem 0 0.7rem;
  font-size: 1.55rem;
}
.radar-record > p {
  color: var(--ink-muted);
}
.radar-record dl {
  margin: 1.5rem 0 0;
}
.radar-record dl div {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}
.radar-record dd {
  font-size: 0.78rem;
}
.editorial-boundary {
  margin-block: 6rem;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  background: var(--amber);
}
.editorial-boundary h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.research-index {
  padding-bottom: 6rem;
}
.research-index > ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.research-index > ol > li {
  border-bottom: 1px solid var(--graphite);
}
.research-index article {
  padding-block: 2rem;
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 2rem;
}
.research-index-number {
  color: var(--cobalt);
  font: 750 2.3rem var(--mono);
}
.research-index-main h2 {
  margin: 2rem 0 0.8rem;
  max-width: 22ch;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
}
.research-index-main h2 a {
  text-decoration: none;
}
.research-index-main > p {
  color: var(--ink-muted);
}
.research-rails {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 1.5rem 0;
  border: 1px solid var(--line);
}
.research-rails > div {
  min-width: 0;
  padding: 1rem;
}
.research-rails > div + div {
  border-left: 1px solid var(--line);
}
.research-rails > div:last-child span {
  color: var(--cobalt-dark);
}
.research-rails p {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
}
.research-note > header {
  padding-block: 5rem;
  border-bottom: 1px solid var(--graphite);
}
.research-note-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.research-note h1 {
  max-width: 15ch;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 6vw, 6.2rem);
}
.research-rails-featured {
  margin-block: 3rem;
}
.research-rails-featured > div {
  padding: 1.5rem;
}
.research-rails-featured p {
  font-size: 0.95rem;
}
.research-body {
  width: min(740px, 100%);
  margin: 5rem auto;
}
.research-body section {
  margin-bottom: 3.5rem;
}
.research-body h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
}
.research-body p {
  color: #3f4248;
  font-family: var(--serif);
  font-size: 1.13rem;
  line-height: 1.8;
}
.note-sources {
  padding: 2rem;
  border: 1px solid var(--graphite);
  background: var(--paper);
}
.note-sources h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}
.note-sources > p:last-child {
  color: var(--ink-muted);
  font-size: 0.8rem;
}
.note-connections {
  margin-block: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--graphite);
}
.note-connections > div {
  padding: 1.5rem;
}
.note-connections > div + div {
  border-left: 1px solid var(--graphite);
}
.note-connections a {
  padding: 0.75rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.note-connections a span:first-child {
  color: var(--cobalt-dark);
  font: 700 0.65rem var(--mono);
}
.note-footer {
  margin-bottom: 6rem;
  padding-block: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
}
.note-footer p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.8rem;
}

.source-principles {
  border: 1px solid var(--graphite);
}
.source-principles article {
  min-width: 0;
  padding: 1.5rem;
  background: var(--paper);
  border-right: 1px solid var(--graphite);
}
.source-principles article:last-child {
  border-right: 0;
}
.source-principles > article > span {
  color: var(--cobalt);
  font: 750 1.6rem var(--mono);
}
.source-principles h2 {
  margin: 2.5rem 0 0.6rem;
  font-size: 1.5rem;
}
.source-principles p {
  color: var(--ink-muted);
  font-size: 0.8rem;
}
.source-ledger {
  padding-block: 6rem;
}
.source-list {
  border-top: 1px solid var(--graphite);
}
.source-list > article {
  display: grid;
  grid-template-columns: 7rem 1fr;
  padding-block: 2rem;
  border-bottom: 1px solid var(--graphite);
  scroll-margin-top: 4rem;
}
.source-index {
  color: #aaa8a1;
  font: 750 2rem var(--mono);
}
.source-main h3 {
  margin: 1.2rem 0 0.7rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 500;
}
.source-main h3 a {
  text-decoration: none;
}
.external-mark {
  color: var(--cobalt);
  font-family: var(--sans);
}
.source-main > p:not(.kicker) {
  color: var(--ink-muted);
}
.source-main dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.source-main dl div {
  min-width: 0;
  padding: 0.9rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.source-main dd {
  font-size: 0.73rem;
}
.hash-boundary {
  margin-block: 2rem 5rem;
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 4rem;
  background: var(--amber);
}
.hash-boundary h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.source-calculation {
  margin-bottom: 6rem;
  padding: 2.5rem;
  border: 1px solid var(--graphite);
  background: var(--paper);
}
.source-calculation h2 {
  color: var(--cobalt);
  font: 750 clamp(2rem, 4vw, 4rem) var(--mono);
}
.source-calculation p {
  max-width: 70ch;
  color: var(--ink-muted);
}

.library-map {
  padding-bottom: 6rem;
}
.table-scroll {
  max-width: 100%;
  overflow: auto;
  border: 1px solid var(--graphite);
  background: var(--paper);
}
table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}
th,
td {
  padding: 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th {
  background: var(--graphite);
  color: white;
  font: 700 0.64rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
td {
  font-size: 0.78rem;
}
td:first-child {
  min-width: 250px;
}
td:first-child > span {
  display: block;
  color: var(--cobalt);
  font: 700 0.65rem var(--mono);
}
td:first-child a {
  display: block;
  margin-top: 0.4rem;
  font-weight: 750;
}
.layer-pips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.45rem;
}
.layer-pips span {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  background: var(--cobalt);
  color: white;
  font: 700 0.58rem var(--mono);
}
td small {
  color: var(--ink-muted);
}
.library-guide,
.network-boundary {
  margin-bottom: 6rem;
  border: 1px solid var(--graphite);
}
.library-guide article,
.network-boundary article {
  padding: 2rem;
  background: var(--paper);
}
.library-guide article + article,
.network-boundary article + article {
  border-left: 1px solid var(--graphite);
  background: var(--graphite);
  color: white;
}
.library-guide h2,
.network-boundary h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}
.library-guide article > p:last-child,
.network-boundary article > p:last-child {
  color: var(--ink-muted);
}
.library-guide article + article > p:last-child,
.network-boundary article + article > p:last-child {
  color: #bfc3ca;
}
.network-boundary article + article .eyebrow {
  color: #e8c784;
}

.glossary-list {
  margin-bottom: 6rem;
  border-top: 1px solid var(--graphite);
}
.glossary-list article {
  min-height: 210px;
  padding-block: 1.5rem;
  display: grid;
  grid-template-columns: 7rem 1fr;
  border-bottom: 1px solid var(--graphite);
}
.glossary-letter {
  color: #b4b1aa;
  font: 750 2rem var(--mono);
}
.glossary-list h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}
.glossary-list article p:not(.kicker) {
  max-width: 72ch;
  color: var(--ink-muted);
}
.glossary-list article a {
  color: var(--cobalt-dark);
  font: 700 0.68rem var(--mono);
}
.starter-grid {
  margin-bottom: 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--graphite);
}
.starter-grid article {
  min-width: 0;
  padding: 1.5rem;
  border-right: 1px solid var(--graphite);
  background: var(--paper);
}
.starter-grid article:last-child {
  border-right: 0;
}
.starter-grid h2 {
  margin: 3rem 0 0.8rem;
  font-size: 2rem;
}
.starter-grid article > p {
  color: var(--ink-muted);
}
.starter-grid ol {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.starter-grid li {
  padding: 0.75rem 0;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}
.starter-grid li span {
  color: var(--cobalt);
  font: 700 0.65rem var(--mono);
}
.template-gate {
  margin-bottom: 6rem;
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 3rem;
  background: var(--graphite);
  color: white;
}
.template-gate .eyebrow {
  color: var(--amber);
}
.template-gate h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.template-gate .check-list li {
  border-color: var(--line-dark);
  color: #d4d7dc;
}
.template-gate .check-list li::before {
  color: var(--green);
}

.network-map {
  position: relative;
  margin-bottom: 6rem;
  padding-block: 4rem;
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 4rem;
}
.network-core {
  position: sticky;
  top: 2rem;
  align-self: start;
  min-height: 300px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--cobalt);
  color: white;
  box-shadow: 12px 12px 0 var(--amber);
}
.network-core span,
.network-core small {
  font: 700 0.65rem var(--mono);
  text-transform: uppercase;
}
.network-core strong {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.95;
}
.network-map ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--graphite);
}
.network-map li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--graphite);
}
.network-map li > span {
  color: var(--cobalt);
  font: 750 1.2rem var(--mono);
}
.network-map h2 {
  font-size: clamp(1.5rem, 3vw, 2.6rem);
}
.network-map article > p:not(.kicker) {
  color: var(--ink-muted);
}
.network-map article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.network-map article a {
  color: var(--cobalt-dark);
  font-size: 0.76rem;
  font-weight: 750;
}
.network-unavailable {
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.trust-sections {
  margin-bottom: 5rem;
  border-top: 1px solid var(--graphite);
}
.trust-sections article {
  min-height: 210px;
  padding-block: 1.75rem;
  display: grid;
  grid-template-columns: 7rem 1fr;
  border-bottom: 1px solid var(--graphite);
}
.trust-sections article > span {
  color: #b4b1aa;
  font: 750 2rem var(--mono);
}
.trust-sections h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}
.trust-sections p {
  max-width: 72ch;
  color: var(--ink-muted);
}
.error-page {
  min-height: 70vh;
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 4rem;
  align-items: center;
}
.error-code {
  color: var(--cobalt);
  font: 780 clamp(6rem, 18vw, 14rem)/0.8 var(--mono);
  letter-spacing: -0.12em;
}
.error-page h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 6vw, 6rem);
}
.error-page p:not(.eyebrow) {
  max-width: 56ch;
  color: var(--ink-muted);
}

.site-footer {
  width: var(--shell);
  margin: 0 auto;
  padding-block: 3rem;
  display: grid;
  grid-template-columns: 0.7fr 1fr 0.8fr;
  gap: 3rem;
  border-top: 1px solid var(--graphite);
}
.footer-brand p,
.footer-boundary p {
  margin: 0.4rem 0;
  color: var(--ink-muted);
  font-size: 0.72rem;
}
.site-footer nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
}
.site-footer nav a {
  color: var(--ink-muted);
  font-size: 0.72rem;
}
.footer-boundary {
  text-align: right;
}

@media (max-width: 1100px) {
  .primary-nav {
    display: none;
  }
  .site-header {
    grid-template-columns: auto 1fr auto;
  }
  .command-link {
    justify-self: end;
  }
  .mobile-nav {
    display: block;
    position: relative;
  }
  .mobile-nav summary {
    min-width: 88px;
    padding: 0.65rem 0.75rem;
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    border: 1px solid var(--graphite);
    font-size: 0.78rem;
    font-weight: 750;
    list-style: none;
  }
  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }
  .mobile-nav[open] summary span {
    transform: rotate(45deg);
  }
  .mobile-nav nav {
    position: absolute;
    z-index: 20;
    top: calc(100% + 0.5rem);
    right: 0;
    width: min(300px, calc(100vw - 48px));
    padding: 0.5rem;
    display: grid;
    border: 1px solid var(--graphite);
    background: var(--paper);
    box-shadow: 8px 8px 0 var(--graphite);
  }
  .mobile-nav nav a {
    padding: 0.75rem;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    font-weight: 700;
  }
  .mobile-nav nav a.active {
    background: var(--cobalt);
    color: white;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .hero-system {
    box-shadow: 10px 10px 0 var(--amber);
  }
  .control-grid {
    grid-template-columns: 1fr 1fr;
  }
  .control-feature {
    grid-template-columns: 1fr 1fr;
  }
  .ring-row {
    grid-template-columns: 1fr 1fr;
  }
  .ring-card:nth-child(2) {
    border-right: 0;
  }
  .ring-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--graphite);
  }
  .research-grid {
    grid-template-columns: 1fr 1fr;
  }
  .research-card:nth-child(2) {
    border-right: 0;
  }
  .research-card:last-child {
    grid-column: 1 / -1;
    min-height: 430px;
    border-top: 1px solid var(--graphite);
  }
  .network-strip {
    grid-template-columns: 1fr 0.7fr;
  }
  .network-strip .button {
    grid-column: 1 / -1;
    width: fit-content;
  }
  .filter-console {
    grid-template-columns: 1fr 1fr;
  }
  .filter-console .search-field {
    grid-column: 1 / -1;
  }
  .pattern-filter {
    grid-template-columns: 1fr auto;
  }
  .pattern-filter .search-field {
    grid-column: 1 / -1;
  }
  .radar-layout {
    grid-template-columns: 1fr 1fr;
  }
  .starter-grid {
    grid-template-columns: 1fr 1fr;
  }
  .starter-grid article:nth-child(2) {
    border-right: 0;
  }
  .starter-grid article:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--graphite);
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 32px, 1280px);
    --reading: min(100% - 32px, 1080px);
  }
  body::before {
    background-size:
      calc((100vw - 32px) / 6) 100%,
      100% 40px;
    background-position:
      16px 0,
      0 0;
  }
  .preview-rail {
    padding-inline: 16px;
    grid-template-columns: 1fr auto;
  }
  .preview-rail span:nth-child(2) {
    display: none;
  }
  .site-header {
    gap: 1rem;
    padding-inline: 16px;
  }
  .command-link {
    padding-inline: 0.65rem;
  }
  .command-palette {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    box-shadow: 8px 8px 0 var(--amber);
  }
  .command-results a {
    grid-template-columns: 5.2rem minmax(0, 1fr);
  }
  .command-result-index {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy h1 {
    max-width: 12ch;
  }
  .hero-system {
    width: min(100%, 620px);
  }
  .split-intro,
  .page-hero,
  .catalogue-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .page-hero,
  .catalogue-hero {
    min-height: 0;
    padding-block: 3rem;
    gap: 2rem;
  }
  .hero-aside {
    max-width: 60ch;
  }
  .status-grid {
    grid-template-columns: 1fr;
  }
  .status-card {
    border-right: 0;
    border-bottom: 1px solid var(--graphite);
  }
  .status-card:last-child {
    border-bottom: 0;
  }
  .source-ribbon {
    grid-template-columns: 1fr;
  }
  .control-feature {
    grid-template-columns: 1fr;
  }
  .owner-note.compact {
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }
  .research-grid {
    grid-template-columns: 1fr;
  }
  .research-card,
  .research-card:nth-child(2),
  .research-card:last-child {
    grid-column: auto;
    min-height: 440px;
    border-right: 0;
    border-bottom: 1px solid var(--graphite);
    border-top: 0;
  }
  .network-strip {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .network-strip .button {
    grid-column: auto;
  }
  .build-log,
  .build-log > div {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .status-boundary article + article,
  .library-guide article + article,
  .network-boundary article + article {
    border-left: 0;
    border-top: 1px solid var(--graphite);
  }
  .definition-grid {
    grid-template-columns: 1fr 1fr;
  }
  .definition-grid article:nth-child(3n) {
    border-right: 1px solid var(--line);
  }
  .definition-grid article:nth-child(2n) {
    border-right: 0;
  }
  .definition-grid article:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }
  .definition-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .layer-cards {
    grid-template-columns: 1fr;
  }
  .record-hero {
    grid-template-columns: 1fr;
  }
  .record-number {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .record-number small {
    margin-top: 0;
  }
  .record-state {
    width: fit-content;
  }
  .decision-grid {
    grid-template-columns: 1fr;
  }
  .decision-grid article {
    border-bottom: 1px solid var(--graphite);
  }
  .system-pattern-section {
    grid-template-columns: 1fr;
  }
  .flow-diagram {
    grid-template-columns: 1fr 1fr;
  }
  .flow-diagram div:nth-child(2) {
    border-right: 0;
  }
  .flow-diagram div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--graphite);
  }
  .flow-diagram div:nth-child(2)::after {
    display: none;
  }
  .evidence-failure-grid,
  .evidence-test-grid,
  .evidence-threat-grid {
    grid-template-columns: 1fr;
  }
  .evidence-failure-grid article + article,
  .evidence-test-grid article + article,
  .evidence-threat-grid article + article {
    border-left: 0;
    border-top: 1px solid var(--graphite);
  }
  .compact-control-list {
    grid-template-columns: 1fr;
  }
  .pattern-mini-grid {
    grid-template-columns: 1fr;
  }
  .filter-console {
    position: static;
  }
  .control-grid,
  .radar-record-grid {
    grid-template-columns: 1fr 1fr;
  }
  .record-anatomy dl {
    grid-template-columns: 1fr;
  }
  .sequence-list {
    grid-template-columns: 1fr;
  }
  .anti-pattern-panel,
  .verification-pointer,
  .source-rail,
  .json-section,
  .editorial-boundary,
  .hash-boundary,
  .template-gate {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .pointer-label {
    min-height: 110px;
  }
  .pattern-grid {
    grid-template-columns: 1fr;
  }
  .pattern-card {
    min-height: 520px;
  }
  .sequence-diagram li {
    grid-template-columns: 1fr 3rem 1.2fr;
  }
  .radar-layout {
    grid-template-columns: 1fr;
  }
  .radar-board {
    width: min(620px, 100%);
  }
  .research-index article {
    grid-template-columns: 4.5rem 1fr;
  }
  .research-rails,
  .note-connections {
    grid-template-columns: 1fr;
  }
  .research-rails > div + div,
  .note-connections > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .source-principles article {
    border-right: 0;
    border-bottom: 1px solid var(--graphite);
  }
  .source-principles article:last-child {
    border-bottom: 0;
  }
  .source-main dl {
    grid-template-columns: 1fr;
  }
  .starter-grid {
    grid-template-columns: 1fr;
  }
  .starter-grid article,
  .starter-grid article:nth-child(2),
  .starter-grid article:last-child {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid var(--graphite);
    border-top: 0;
  }
  .starter-grid article:last-child {
    border-bottom: 0;
  }
  .network-map {
    grid-template-columns: 1fr;
  }
  .network-core {
    position: static;
    min-height: 230px;
  }
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
  .footer-boundary {
    grid-column: 1 / -1;
    text-align: left;
  }
  .error-page {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 4rem;
  }
}

@media (max-width: 540px) {
  :root {
    --shell: calc(100% - 24px);
    --reading: calc(100% - 24px);
  }
  body::before {
    display: none;
  }
  h1 {
    font-size: clamp(2.7rem, 14.2vw, 4.2rem);
  }
  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
  .preview-rail {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.56rem;
  }
  .preview-rail a {
    font-size: 0;
  }
  .preview-rail a::after {
    content: 'STATUS';
    font-size: 0.56rem;
  }
  .site-header {
    min-height: 72px;
    padding-inline: 12px;
    grid-template-columns: 1fr auto;
  }
  .command-link {
    display: none;
  }
  .command-palette {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    box-shadow: 5px 5px 0 var(--amber);
  }
  .command-palette-heading {
    padding: 0.8rem;
  }
  #command-palette-title {
    font-size: 1rem;
  }
  .command-close {
    font-size: 0;
    padding: 0.4rem;
  }
  .command-close kbd {
    font-size: 0.62rem;
  }
  .command-search {
    padding: 0.8rem;
  }
  .command-search input {
    min-height: 52px;
    padding-left: 2.6rem;
    padding-right: 3rem;
    font-size: 0.9rem;
  }
  .command-search > div:first-of-type > span {
    left: 0.8rem;
  }
  .command-search-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }
  .command-results a {
    min-height: 88px;
    padding: 0.75rem 0.8rem;
    grid-template-columns: 4.4rem minmax(0, 1fr);
    gap: 0.65rem;
  }
  .command-result-copy strong {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.78rem;
  }
  .command-result-copy small {
    display: -webkit-box;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .command-palette-footer {
    gap: 0.65rem;
  }
  .command-palette-footer a {
    display: none;
  }
  .wordmark > span,
  .wordmark > b {
    font-size: 1.15rem;
  }
  .hero-grid {
    gap: 2.25rem;
    padding-block: 3rem;
  }
  .hero-command-launcher {
    padding: 0.7rem 0.8rem;
  }
  .hero-command-launcher kbd {
    display: none;
  }
  .snapshot-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .hero-system {
    box-shadow: 6px 6px 0 var(--amber);
  }
  .layer-stack {
    min-height: 0;
    padding: 1rem;
  }
  .layer-stack.compact {
    min-height: 0;
  }
  .layer-stack ol {
    width: 100%;
  }
  .layer-stack li {
    transform: none;
  }
  .layer-stack li a {
    grid-template-columns: 2rem 1fr;
  }
  .layer-stack.compact ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .layer-stack.compact li a {
    min-height: 96px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .layer-stack.compact .layer-number {
    display: block;
  }
  .layer-stack.compact .layer-name {
    font-size: 0.72rem;
    line-height: 1.25;
  }
  .layer-verb {
    display: none;
  }
  .stack-lines,
  .stack-axis {
    display: none;
  }
  .section-intro {
    margin-bottom: 2rem;
  }
  .architecture-section {
    padding-inline: 12px;
  }
  .architecture-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .owner-note-heading {
    flex-direction: column;
  }
  .ring-row {
    grid-template-columns: 1fr;
  }
  .ring-card,
  .ring-card:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--graphite);
  }
  .ring-card:last-child {
    border-bottom: 0;
  }
  .network-strip {
    width: 100%;
    padding-inline: 1.25rem;
  }
  .timeline-item {
    grid-template-columns: 3.5rem 1fr;
  }
  .timeline-node {
    justify-content: flex-start;
  }
  .timeline-node span {
    width: 2.5rem;
    height: 2.5rem;
  }
  .timeline-node::after {
    left: 1.2rem;
    top: 2.5rem;
  }
  .timeline-item article {
    padding: 1rem;
  }
  .definition-grid {
    grid-template-columns: 1fr;
  }
  .definition-grid article,
  .definition-grid article:nth-child(3n),
  .definition-grid article:nth-child(2n),
  .definition-grid article:nth-last-child(-n + 3),
  .definition-grid article:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .definition-grid article:last-child {
    border-bottom: 0;
  }
  .next-route {
    flex-direction: column;
  }
  .layer-cards a {
    grid-template-columns: 3rem 1fr;
    min-height: 0;
  }
  .layer-card-arrow {
    display: none;
  }
  .record-hero {
    padding-block: 3.5rem;
  }
  .record-number {
    font-size: 2rem;
  }
  .flow-diagram {
    grid-template-columns: 1fr;
  }
  .flow-diagram div,
  .flow-diagram div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--graphite);
  }
  .flow-diagram div:last-child {
    border-bottom: 0;
  }
  .flow-diagram div::after {
    display: none !important;
  }
  .compact-control-list a {
    grid-template-columns: 5.7rem 1fr auto;
    gap: 0.6rem;
  }
  .specialist-path,
  .connected-pattern {
    align-items: flex-start;
    flex-direction: column;
  }
  .specialist-path .button,
  .connected-pattern .button {
    white-space: normal;
  }
  .filter-console,
  .pattern-filter {
    grid-template-columns: 1fr;
  }
  .filter-console .search-field,
  .pattern-filter .search-field {
    grid-column: auto;
  }
  .control-grid,
  .radar-record-grid {
    grid-template-columns: 1fr;
  }
  .control-card {
    min-height: 360px;
  }
  .anti-pattern-panel {
    margin-inline: -12px;
  }
  .verification-pointer {
    grid-template-columns: 1fr;
  }
  .pointer-label {
    min-height: 80px;
  }
  .record-changelog,
  .record-changelog > div {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .record-changelog > div {
    grid-column: 1;
  }
  .pattern-card ol {
    grid-template-columns: 1fr 1fr;
  }
  .pattern-card ol li:nth-child(2) {
    border-right: 0;
  }
  .pattern-card ol li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .sequence-diagram li {
    padding-block: 1rem;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .sequence-arrow {
    transform: rotate(90deg);
  }
  .sequence-action {
    padding: 0;
    border-left: 0;
  }
  .json-section {
    margin-inline: -12px;
    padding-inline: 1.25rem;
  }
  pre {
    font-size: 0.68rem;
  }
  .radar-board {
    aspect-ratio: 1;
  }
  .radar-dot {
    width: 1.6rem;
    height: 1.6rem;
    font-size: 0.55rem;
  }
  .research-index article,
  .source-list > article,
  .glossary-list article,
  .trust-sections article {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .research-rails {
    grid-template-columns: 1fr;
  }
  .research-rails > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .research-note-meta {
    align-items: flex-start;
    flex-direction: column;
  }
  .note-footer {
    flex-direction: column;
  }
  .source-main .record-topline {
    align-items: flex-start;
    flex-direction: column;
  }
  .source-main dl {
    grid-template-columns: 1fr;
  }
  .network-map li {
    grid-template-columns: 2.2rem 1fr;
  }
  .site-footer {
    grid-template-columns: 1fr;
  }
  .site-footer nav {
    grid-template-columns: 1fr 1fr;
  }
  .footer-boundary {
    grid-column: auto;
  }
}

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

@media (forced-colors: active) {
  .button,
  .status-chip,
  .radar-dot,
  .layer-pips span,
  .command-kind {
    forced-color-adjust: none;
  }
  .button-blue,
  .button-dark {
    background: CanvasText;
    color: Canvas;
  }
  .command-palette::backdrop {
    background: Canvas;
  }
}

/* Architecture-to-evidence decision journeys */
.decision-journey {
  margin-block: 4rem;
  padding-block: 3rem;
  border-top: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
}
.journey-intro {
  align-items: end;
}
.journey-intro-actions {
  max-width: 36rem;
}
.journey-intro-actions .button {
  margin-top: 1rem;
}
.journey-rows,
.journey-node-grid,
.review-route-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.journey-rows {
  display: grid;
  gap: 1.25rem;
}
.journey-row {
  min-width: 0;
  padding: 1px;
  border: 1px solid var(--graphite);
  background: var(--graphite);
  overflow-x: auto;
  scrollbar-color: var(--cobalt) var(--paper);
}
.journey-row-label {
  position: sticky;
  left: 0;
  z-index: 2;
  min-height: 56px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--graphite);
  color: var(--bone);
}
.journey-row-label span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green);
}
.journey-row-label strong {
  max-width: 70ch;
  font-size: 0.8rem;
  text-align: right;
}
.journey-node-grid {
  min-width: 1190px;
  display: grid;
  grid-template-columns: repeat(7, minmax(160px, 1fr));
  gap: 1px;
  background: var(--graphite);
}
.journey-node {
  position: relative;
  min-width: 0;
  background: var(--paper);
}
.journey-node:not(:last-child)::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 48px;
  right: -8px;
  width: 15px;
  height: 15px;
  border-top: 1px solid var(--graphite);
  border-right: 1px solid var(--graphite);
  background: var(--paper);
  transform: rotate(45deg);
  pointer-events: none;
}
.journey-node a {
  min-height: 248px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--graphite);
  text-decoration: none;
  border-top: 5px solid var(--line-dark);
}
.journey-node a:hover {
  background: white;
}
.journey-node a:focus-visible {
  position: relative;
  z-index: 4;
  outline: 4px solid var(--amber);
  outline-offset: -5px;
}
.journey-node.phase-pattern a,
.journey-node.phase-research a {
  border-top-color: var(--cobalt);
}
.journey-node.phase-evidence a {
  border-top-color: var(--green);
}
.journey-node.phase-failure a {
  border-top-color: var(--amber);
}
.journey-node.phase-specialist a {
  color: var(--bone);
  background: var(--graphite);
  border-top-color: var(--bone);
}
.journey-phase {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.phase-specialist .journey-phase {
  color: var(--amber);
}
.journey-node strong {
  font-size: 0.92rem;
  line-height: 1.25;
}
.journey-node p {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.55;
  color: var(--muted-dark);
}
.phase-specialist p {
  color: var(--line);
}
.journey-status {
  margin-top: auto;
  padding-top: 0.65rem;
  display: block;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.54rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.status-editorial_analysis {
  color: var(--cobalt);
}
.status-external_context {
  color: var(--amber);
  border-top-color: var(--muted-dark);
}
.decision-journey-graph.compact .journey-row-label {
  border-bottom: 4px solid var(--cobalt);
  background: var(--cobalt-dark);
}
.decision-journey-graph.compact .journey-row-label span,
.decision-journey-graph.compact .journey-row-label strong {
  color: white;
}
.journey-fallback {
  margin-top: 1rem;
  border: 1px solid var(--graphite);
  background: var(--paper);
}
.journey-fallback > summary {
  padding: 0.9rem 1rem;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}
.journey-fallback[open] > summary {
  border-bottom: 1px solid var(--graphite);
}
.journey-fallback table {
  min-width: 980px;
}
.journey-fallback th,
.journey-fallback td {
  vertical-align: top;
}
.journey-fallback td p {
  margin: 0.35rem 0 0;
  max-width: 44ch;
  font-size: 0.72rem;
}
.radar-connection {
  margin-top: 1rem;
  padding: 1rem;
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--graphite);
  background: var(--graphite);
  color: var(--bone);
}
.radar-connection > span {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--amber);
}
.radar-connection p {
  margin: 0.25rem 0 0;
  color: var(--line);
  font-size: 0.78rem;
}
.radar-connection a {
  color: var(--bone);
  font-size: 0.75rem;
  font-weight: 800;
}

/* Non-personal review-route builder */
.review-route {
  padding-block: 4rem;
  border-top: 1px solid var(--graphite);
}
.route-builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 2rem;
  align-items: start;
}
.route-picker {
  display: grid;
  gap: 1.5rem;
}
.route-picker fieldset {
  margin: 0;
  padding: 0;
  border: 1px solid var(--graphite);
  background: var(--paper);
}
.route-picker legend {
  margin-left: 1rem;
  padding: 0 0.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.route-choice-grid {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}
.route-choice-grid label {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.65rem;
  cursor: pointer;
}
.route-choice-grid input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--cobalt);
}
.route-choice-grid label > span {
  min-height: 52px;
  padding: 0.6rem 0.7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  border: 1px solid var(--line-dark);
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.3;
}
.route-choice-grid label > span small {
  font-family: var(--mono);
  font-size: 0.55rem;
  color: var(--muted-dark);
}
.route-choice-grid input:checked + span {
  color: white;
  background: var(--cobalt);
  border-color: var(--cobalt);
}
.route-choice-grid input:checked + span small {
  color: white;
}
.route-choice-grid input:focus-visible + span {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}
.route-control-groups {
  border-top: 1px solid var(--graphite);
}
.route-control-groups details {
  border-bottom: 1px solid var(--line-dark);
}
.route-control-groups details:last-child {
  border-bottom: 0;
}
.route-control-groups summary {
  padding: 0.8rem 1rem;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}
.route-control-groups summary span,
.route-control-groups summary small {
  font-family: var(--mono);
  font-size: 0.58rem;
}
.route-control-groups summary span {
  color: var(--cobalt);
}
.route-control-groups summary small {
  color: var(--muted-dark);
}
.route-control-choices {
  padding-top: 0.25rem;
}
.route-pattern-choices {
  border-top: 1px solid var(--graphite);
}
.route-output {
  position: sticky;
  top: 152px;
  padding: 1rem;
  border: 1px solid var(--graphite);
  background: var(--graphite);
  color: var(--bone);
  box-shadow: 8px 8px 0 var(--amber);
}
.route-output-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}
.route-output-head h3 {
  margin: 0.15rem 0 0;
  font-size: 1.3rem;
}
.route-output-head output {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--green);
  text-align: right;
}
.route-empty {
  min-height: 180px;
  margin-block: 1rem;
  padding: 1rem;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed var(--muted-dark);
}
.route-empty span {
  font-size: 2rem;
  color: var(--amber);
}
.review-route-list {
  max-height: 48vh;
  margin-block: 1rem;
  display: grid;
  gap: 1px;
  overflow-y: auto;
  background: var(--muted-dark);
}
.review-route-item {
  padding: 0.75rem;
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.75rem;
  background: var(--graphite);
}
.review-route-index {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--muted-dark);
  font-family: var(--mono);
  font-size: 0.58rem;
  color: var(--amber);
}
.review-route-item div {
  min-width: 0;
  display: grid;
  gap: 0.35rem;
}
.review-route-item strong {
  font-size: 0.77rem;
}
.review-route-item small {
  color: var(--line);
  font-size: 0.6rem;
  line-height: 1.4;
}
.review-route-item a {
  width: fit-content;
  color: var(--green);
  font-size: 0.68rem;
}
.route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.route-output .button-dark {
  border-color: var(--cobalt);
  background: var(--cobalt);
}
.route-output .button-quiet {
  border-color: var(--bone);
  color: var(--graphite);
  background: var(--bone);
}
.route-actions button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.route-output .text-button {
  padding: 0.65rem;
  border: 0;
  color: var(--bone);
  background: transparent;
  text-decoration: underline;
  font: inherit;
  font-size: 0.72rem;
  cursor: pointer;
}
.route-status {
  min-height: 2.7em;
  margin: 0.85rem 0 0;
  font-size: 0.68rem;
  color: var(--green);
}
.route-privacy-boundary {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--muted-dark);
}
.route-privacy-boundary strong {
  font-size: 0.72rem;
  color: var(--amber);
}
.route-privacy-boundary p {
  margin: 0.35rem 0 0;
  font-size: 0.65rem;
  color: var(--line);
}
.route-privacy-boundary code {
  font-family: var(--mono);
  color: var(--bone);
}
.architecture-evidence-map {
  padding-block: 4rem;
}
.pattern-connections {
  margin-block: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--graphite);
}
.pattern-connections > div,
.pattern-connections > article,
.pattern-connections > aside {
  padding: 1.5rem;
}
.pattern-connections > article {
  color: var(--bone);
  border-top: 5px solid var(--cobalt);
  background: var(--cobalt-dark);
}
.pattern-connections > article p,
.pattern-connections > article span,
.pattern-connections > article small {
  color: white;
}
.route-output .eyebrow {
  color: var(--green);
}
.library-guide article:nth-child(2) .eyebrow {
  color: var(--amber);
}
.pattern-connections > article > span,
.pattern-connections > article small {
  font-family: var(--mono);
  font-size: 0.6rem;
}
.pattern-connections > article a {
  display: block;
  margin-top: 1rem;
  color: white;
  font-weight: 800;
}
.pattern-connections > aside {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--graphite);
  background: var(--paper);
}
.pattern-connections > aside p {
  max-width: 55ch;
}
.visually-hidden-copy {
  position: fixed;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

@media (max-width: 1080px) {
  .route-builder-grid {
    grid-template-columns: 1fr;
  }
  .route-output {
    position: static;
    box-shadow: 6px 6px 0 var(--amber);
  }
  .review-route-list {
    max-height: none;
  }
}

@media (max-width: 820px) {
  .journey-row {
    overflow-x: visible;
  }
  .journey-row-label {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }
  .journey-row-label strong {
    text-align: left;
  }
  .journey-node-grid {
    min-width: 0;
    grid-template-columns: 1fr;
  }
  .journey-node a {
    min-height: 0;
  }
  .journey-node:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -8px;
    transform: rotate(135deg);
  }
  .radar-connection {
    grid-template-columns: 1fr;
  }
  .route-choice-grid {
    grid-template-columns: 1fr;
  }
  .pattern-connections {
    grid-template-columns: 1fr;
  }
  .pattern-connections > aside {
    grid-column: auto;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .decision-journey {
    margin-block: 3rem;
    padding-block: 2rem;
  }
  .journey-node a {
    padding: 0.85rem;
  }
  .journey-node p {
    font-size: 0.7rem;
  }
  .journey-fallback > summary {
    font-size: 0.7rem;
  }
  .review-route {
    padding-block: 3rem;
  }
  .route-control-groups summary {
    grid-template-columns: 2.4rem minmax(0, 1fr);
  }
  .route-control-groups summary small {
    grid-column: 2;
  }
  .route-output {
    margin-inline: 0;
    box-shadow: 4px 4px 0 var(--amber);
  }
  .route-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .route-actions .button,
  .route-actions .text-button {
    width: 100%;
  }
}

.hq-frontdoor-hero {
  color: #f7f1e7;
  background:
    radial-gradient(circle at 72% 40%, rgba(202, 154, 73, 0.12), transparent 32%),
    linear-gradient(140deg, #11191d, #1c2929 70%, #101719);
}
.hq-frontdoor-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 7rem);
}
.hq-frontdoor-copy,
.hq-frontdoor-image {
  min-width: 0;
}
.hq-frontdoor-eyebrow {
  margin: 0 0 1.6rem;
  color: #c8d5ce;
  font: 700 0.75rem/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hq-frontdoor-eyebrow span {
  display: inline-block;
  padding: 0.3rem 0.55rem;
  margin-right: 0.35rem;
  border: 1px solid #a98b52;
  border-radius: 999px;
  color: #e8c784;
}
.hq-frontdoor-copy h1 {
  max-width: 11ch;
  font: 400 clamp(3.8rem, 5.7vw, 6.2rem) / 0.99 var(--serif);
  letter-spacing: -0.065em;
}
.hq-frontdoor-copy h1 em {
  color: #e8c784;
  font-style: normal;
}
.hq-frontdoor-deck {
  max-width: 54ch;
  margin: 1.8rem 0 0;
  color: #d2ded5;
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
}
.hq-frontdoor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hq-frontdoor-boundary {
  max-width: 64ch;
  margin: 2rem 0 0;
  color: #afc1b9;
  font-size: 0.82rem;
}
.hq-frontdoor-command {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1.5rem;
  color: #e9d9ae;
  font-size: 0.8rem;
  text-decoration: none;
}
.hq-frontdoor-command:hover {
  text-decoration: underline;
}
.hq-frontdoor-command kbd {
  color: #e9d9ae;
  background: #293838;
  border-color: #6f827b;
}
.hq-frontdoor-image {
  position: relative;
  margin: 0;
  border: 1px solid #62766e;
  border-radius: 11px;
  overflow: hidden;
  background: #26312c;
}
.hq-frontdoor-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 0.95;
  object-fit: cover;
  object-position: 70% center;
}
.hq-frontdoor-image figcaption {
  padding: 0.8rem 1rem;
  color: #d5e0d8;
  background: #1b292a;
  font-size: 0.7rem;
}
.hq-tool-first {
  padding-block: clamp(4rem, 7vw, 7rem);
}
.hq-tool-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.hq-tool-category-grid article {
  min-width: 0;
  padding: 1.4rem;
  border: 1px solid #cfc7b6;
  border-radius: 8px;
  background: #fffdf7;
}
.hq-tool-category-grid h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}
.hq-tool-category-grid p {
  color: #4c5753;
  font-size: 0.88rem;
}
.hq-tool-category-grid ul {
  display: grid;
  gap: 0.5rem;
  padding: 1rem 0 0;
  margin: 1rem 0 0;
  border-top: 1px solid #ddd4c4;
  list-style: none;
}
.hq-tool-category-grid li {
  display: grid;
  gap: 0.2rem;
  font-size: 0.9rem;
  font-weight: 700;
}
.hq-tool-category-grid small {
  color: #74511f;
  font-size: 0.72rem;
  font-weight: 600;
}
.hq-tool-map-link,
.hq-example-summary a {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--cobalt-dark);
  font-weight: 750;
}
.hq-example-summary {
  max-width: 1050px;
  padding: clamp(2rem, 4vw, 3rem);
  margin-block: clamp(4rem, 7vw, 7rem);
  border: 1px solid #d1c8b7;
  border-left: 5px solid #cda45d;
  border-radius: 8px;
  background: #fffdf7;
}
.hq-example-summary h2 {
  font-family: var(--serif);
  font-weight: 400;
}
.hq-example-summary > p:not(.eyebrow) {
  max-width: 72ch;
}
.hq-network-teaser {
  padding-block: clamp(3rem, 6vw, 6rem);
  border-top: 1px solid var(--line);
}
.hq-network-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.hq-network-teaser-grid article {
  min-width: 0;
  padding: 1.4rem;
  border: 1px solid #cfc7b6;
  border-radius: 8px;
  background: #fffdf7;
}
.hq-network-teaser-grid h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}
.hq-network-teaser-grid p {
  min-height: 3.5em;
  color: #4c5753;
  font-size: 0.88rem;
}
.hq-network-teaser-grid a,
.hq-network-teaser-grid span {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
}
.hq-network-teaser-grid a {
  color: var(--cobalt-dark);
}
.hq-network-teaser-grid span {
  color: var(--ink-muted);
}
.integration-scene-shell {
  padding-block: 0 clamp(3rem, 6vw, 6rem);
}
.integration-scene {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid #29474b;
  border-radius: 10px;
  background: #14272a;
  color: #f4efe3;
}
.integration-scene-poster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.5fr minmax(0, 1fr) 0.5fr minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  height: 250px;
  padding: clamp(1rem, 4vw, 3rem);
}
.integration-scene-poster span {
  display: grid;
  min-height: 100px;
  place-items: center;
  padding: 0.75rem;
  border: 1px solid #8ca3a0;
  border-radius: 5px;
  background: #244044;
  font-size: 0.85rem;
  font-weight: 750;
  text-align: center;
}
.integration-scene-poster span:first-child {
  border-color: #dcae68;
}
.integration-scene-poster span:last-child {
  border-color: #a8d0af;
}
.integration-scene-poster i {
  height: 1px;
  background: #9faeaa;
}
.integration-scene-canvas {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 250px;
  pointer-events: none;
}
.integration-scene-labels {
  position: absolute;
  z-index: 1;
  top: 220px;
  right: 20%;
  left: 20%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  color: #dce6df;
  font: 700 0.72rem var(--mono);
  text-align: center;
  pointer-events: none;
}
.integration-scene[data-scene-phase='0'] .integration-scene-labels span:first-child,
.integration-scene[data-scene-phase='1'] .integration-scene-labels span:nth-child(2),
.integration-scene[data-scene-phase='2'] .integration-scene-labels span:last-child {
  color: #f1d198;
}
.integration-scene figcaption {
  position: relative;
  padding: 0.85rem 1.2rem;
  border-top: 1px solid #335055;
  color: #cdd8d0;
  font-size: 0.75rem;
}
.hq-plain-start,
.hq-chain,
.hq-status-simple,
.hq-pathways {
  padding-block: clamp(3rem, 6vw, 6rem);
  border-top: 1px solid var(--line);
}
.hq-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}
.hq-step-grid li {
  min-width: 0;
}
.hq-step-grid a {
  display: grid;
  min-height: 215px;
  padding: 1.2rem;
  border: 1px solid #c9c5bb;
  background: #fffdf7;
  text-decoration: none;
}
.hq-step-grid a:hover {
  border-color: var(--cobalt);
}
.hq-step-grid span,
.hq-step-grid small {
  color: var(--cobalt-dark);
  font: 700 0.7rem/1.3 var(--mono);
}
.hq-step-grid h3 {
  margin-top: 1rem;
  font-size: 1.2rem;
}
.hq-step-grid p {
  font-size: 0.84rem;
}
.hq-step-grid small {
  align-self: end;
}
.hq-chain {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 1.5rem 2rem;
}
.hq-chain ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hq-chain li {
  padding: 0.8rem;
  border: 1px solid #c9c5bb;
  background: #fffdf7;
  font-size: 0.85rem;
}
.hq-chain > a {
  grid-column: 1 / -1;
}
.hq-breach-flow {
  display: grid;
  gap: 0.6rem;
  padding: 0;
  list-style: none;
  counter-reset: breach-step;
}
.hq-breach-flow li {
  padding: 0.65rem 1rem;
  border: 1px solid #677478;
  counter-increment: breach-step;
}
.hq-breach-flow li::before {
  content: counter(breach-step, decimal-leading-zero) ' / ';
  color: #e8c784;
  font-family: var(--mono);
}
.hq-pathway-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.hq-pathway-grid a {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #c9c5bb;
  background: #fffdf7;
  text-decoration: none;
}
.hq-pathway-grid a:hover {
  border-color: var(--cobalt);
}
.hq-pathway-grid span {
  color: #53605e;
  font-size: 0.84rem;
}
@media (max-width: 950px) {
  .hq-frontdoor-grid,
  .hq-chain {
    grid-template-columns: minmax(0, 1fr);
  }
  .hq-frontdoor-image img {
    aspect-ratio: 16/9;
  }
  .hq-tool-category-grid,
  .hq-network-teaser-grid,
  .hq-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .integration-scene-poster {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.4rem;
    height: auto;
  }
  .integration-scene-poster span {
    min-height: 68px;
  }
  .integration-scene-poster i {
    width: 1px;
    height: 16px;
    margin-inline: auto;
  }
  .hq-frontdoor-copy h1 {
    font-size: clamp(3rem, 12vw, 4rem);
  }
  .hq-frontdoor-actions,
  .hq-tool-category-grid,
  .hq-network-teaser-grid,
  .hq-step-grid,
  .hq-chain ol,
  .hq-pathway-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hq-frontdoor-actions {
    display: grid;
  }
  .hq-frontdoor-image img {
    aspect-ratio: 4/3;
  }
  .hq-step-grid a {
    min-height: 0;
  }
}

.example-hero {
  padding-block: clamp(2.5rem, 5vw, 5rem);
  color: #f7f1e7;
  background: linear-gradient(140deg, #172628, #10191b);
}
.example-hero .breadcrumbs,
.example-hero .breadcrumbs a,
.example-hero .breadcrumbs [aria-current='page'] {
  color: #bed0c7;
}
.example-eyebrow {
  margin: 3rem 0 1rem;
  color: #e8c784;
  font: 700 0.75rem/1.4 var(--mono);
  letter-spacing: 0.1em;
}
.example-hero h1 {
  max-width: 16ch;
  font: 400 clamp(3.2rem, 6.5vw, 6rem) / 1 var(--serif);
}
.example-hero p:not(.example-eyebrow) {
  max-width: 70ch;
  color: #d6e1d9;
  font-size: 1.08rem;
}
.example-hero .example-version {
  margin-top: 2rem;
  font-size: 0.82rem !important;
}
.example-version code {
  color: #e8c784;
  font-family: var(--mono);
}
.example-static,
.example-interactive,
.example-return {
  padding-block: clamp(3rem, 6vw, 5.5rem);
}
.example-static h2,
.example-interactive h2,
.example-return h2 {
  font-family: var(--serif);
  font-weight: 400;
}
.example-static-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}
.example-static-grid article {
  min-width: 0;
  padding: 1.1rem;
  border: 1px solid #cfc7b6;
  border-radius: 7px;
  background: #fffdf7;
}
.example-static-grid span {
  color: #8a6530;
  font: 700 0.75rem var(--mono);
}
.example-static-grid h3 {
  margin-top: 1.4rem;
  font-size: 1.1rem;
}
.example-static-grid p {
  font-size: 0.82rem;
}
.example-interactive {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.example-interactive > p:not(.eyebrow) {
  max-width: 75ch;
}
.example-script-boundary {
  margin-top: 2rem;
  padding: 1.2rem;
  border: 1px solid #c9a762;
  background: #fff9e8;
}
.example-island {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 1rem;
  margin-top: 2rem;
}
.example-control-panel,
.example-result-panel {
  min-width: 0;
  padding: clamp(1rem, 2vw, 2rem);
  border: 1px solid #cfc7b6;
  border-radius: 8px;
  background: #fffdf7;
}
.example-control-panel fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.example-control-panel legend {
  margin-bottom: 1rem;
  font-weight: 750;
}
.example-choice-label {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-weight: 650;
}
.example-choice-label input {
  width: 1.3rem;
  height: 1.3rem;
  flex: none;
  margin: 0.1rem 0 0;
  accent-color: #74511f;
}
.example-control-panel fieldset p {
  color: #56615d;
  font-size: 0.84rem;
}
.example-button-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1.5rem;
}
.example-button-row button {
  min-height: 48px;
  padding: 0.65rem 0.75rem;
  border: 1px solid #1e3434;
  border-radius: 5px;
  color: #fffdf7;
  background: #1e3434;
  font-size: 0.86rem;
  font-weight: 700;
}
.example-button-row button:hover:not(:disabled) {
  background: #315552;
}
.example-button-row button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.example-button-row .example-secondary-button {
  color: #1e3434;
  background: transparent;
}
.example-result-panel [data-example-status] {
  margin: 0;
  padding: 1rem;
  border-left: 4px solid #c59a52;
  color: #1e3434;
  background: #f6ecd7;
  font-weight: 700;
}
.example-result-panel ol {
  display: grid;
  gap: 0.55rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}
.example-result-panel li {
  display: grid;
  gap: 0.35rem;
  padding: 0.8rem;
  border: 1px solid #d3cab9;
  background: #f7f2e8;
  font-size: 0.82rem;
}
.example-result-panel li span {
  color: #53605a;
}
.example-result-panel li code {
  overflow-wrap: anywhere;
  font-family: var(--mono);
  font-size: 0.75rem;
}
.example-export-feedback {
  min-height: 1.5rem;
  color: #315d4c;
  font-size: 0.82rem;
}
.example-return a,
.interest-closed a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--cobalt-dark);
  font-weight: 750;
}
.interest-closed {
  padding-block: clamp(4rem, 8vw, 7rem);
}
.interest-closed h1 {
  max-width: 12ch;
  font-family: var(--serif);
  font-weight: 400;
}
.interest-closed p:not(.eyebrow) {
  max-width: 65ch;
}
@media (max-width: 950px) {
  .example-static-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .example-static-grid,
  .example-island,
  .example-button-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.integration-hero {
  padding-block: clamp(2.5rem, 5vw, 5rem) clamp(4rem, 7vw, 7rem);
  color: #f7f1e7;
  background:
    radial-gradient(circle at 84% 38%, rgba(208, 165, 85, 0.15), transparent 28%),
    linear-gradient(135deg, #11191d, #1d2a2a 68%, #10191b);
}
.integration-hero .breadcrumbs,
.integration-hero .breadcrumbs a,
.integration-hero .breadcrumbs [aria-current='page'] {
  color: #b9c9c3;
}
.integration-hero-label {
  margin: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
  color: #e8c784;
  font: 700 0.76rem/1.35 var(--mono);
  letter-spacing: 0.12em;
}
.integration-hero h1 {
  max-width: 17ch;
  font: 400 clamp(3.5rem, 7.4vw, 7.3rem) / 0.98 var(--serif);
  letter-spacing: -0.07em;
}
.integration-hero h1 em {
  color: #e8c784;
  font-style: normal;
}
.integration-hero-lede {
  max-width: 66ch;
  margin: 2rem 0 0;
  color: #d6e1d9;
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
}
.integration-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}
.integration-primary-link,
.integration-secondary-link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}
.integration-primary-link {
  color: #152025;
  background: #e8c784;
}
.integration-primary-link:hover {
  background: #f2dba9;
}
.integration-secondary-link {
  color: #f7f1e7;
  border: 1px solid #8fa7a1;
}
.integration-hero-trust {
  max-width: 78ch;
  margin: 2.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #586d68;
  color: #b9c9c3;
  font-size: 0.82rem;
}
.integration-map {
  padding-block: clamp(4rem, 7vw, 7rem);
}
.integration-section-heading {
  max-width: 850px;
  margin-bottom: 2.2rem;
}
.integration-section-heading h2,
.integration-next h2 {
  max-width: 17ch;
  font-family: var(--serif);
  font-weight: 400;
}
.integration-section-heading > p:last-child {
  max-width: 74ch;
  color: #505c59;
  font-size: 1.05rem;
}
.integration-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.integration-category {
  min-width: 0;
  padding: clamp(1.2rem, 2.2vw, 2rem);
  border: 1px solid #cfc7b6;
  border-radius: 10px;
  background: #fffdf7;
}
.integration-category-topline {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 1.3rem;
  color: #846536;
  font: 700 0.66rem/1.3 var(--mono);
  letter-spacing: 0.08em;
}
.integration-category-topline span:first-child {
  font-size: 1rem;
}
.integration-category h2 {
  font: 400 clamp(1.55rem, 2.5vw, 2.1rem) / 1.08 var(--serif);
}
.integration-category > p {
  margin: 1rem 0 0;
  color: #344340;
  font-size: 0.95rem;
}
.integration-category .integration-category-boundary {
  padding-left: 0.8rem;
  border-left: 2px solid #b08c4e;
  color: #5b5548;
}
.integration-category ul {
  display: grid;
  gap: 0.65rem;
  padding: 1.3rem 0 0;
  margin: 1.5rem 0 0;
  border-top: 1px solid #ded7ca;
  list-style: none;
}
.integration-category li {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.75rem;
  border-radius: 6px;
  background: #f5f0e5;
}
.integration-category li strong {
  font-size: 1rem;
}
.integration-status {
  color: #74511f;
  font-size: 0.8rem;
  font-weight: 700;
}
.integration-category li small {
  color: #59615c;
}
.integration-flow {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 12px;
  color: #eff2e9;
  background: #172628;
}
.integration-flow .eyebrow {
  color: #e8c784;
}
.integration-flow .integration-section-heading > p:last-child {
  color: #c3d3cc;
}
.integration-flow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  margin: 2.5rem 0;
  list-style: none;
}
.integration-flow-steps li {
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid #69817b;
  border-radius: 8px;
  background: #223538;
}
.integration-flow-steps li span {
  color: #e8c784;
  font: 700 0.85rem/1 var(--mono);
}
.integration-flow-steps h3 {
  margin-top: 2rem;
  font-size: 1.1rem;
}
.integration-flow-steps p {
  margin-bottom: 0;
  color: #c9d6d0;
  font-size: 0.84rem;
}
.integration-flow-boundaries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  border-top: 1px solid #69817b;
}
.integration-flow-boundaries p {
  margin: 1.5rem 0 0;
  color: #c9d6d0;
  font-size: 0.86rem;
}
.integration-flow-boundaries strong {
  color: #f1eadb;
}
.integration-next {
  padding-block: clamp(4rem, 7vw, 7rem);
}
.integration-next > p:not(.eyebrow) {
  max-width: 70ch;
}
.integration-next a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--cobalt-dark);
  font-weight: 700;
}
@media (max-width: 950px) {
  .integration-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .integration-flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .integration-hero h1 {
    font-size: clamp(2.75rem, 12vw, 4rem);
  }
  .integration-hero-actions {
    display: grid;
  }
  .integration-category-grid,
  .integration-flow-steps,
  .integration-flow-boundaries {
    grid-template-columns: minmax(0, 1fr);
  }
  .integration-flow {
    width: calc(100% - 24px);
  }
}

@media print {
  @page {
    margin: 12mm;
  }
  .preview-rail,
  .site-header,
  .site-footer,
  .route-picker,
  .route-actions,
  .command-palette,
  .journey-intro-actions .button {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
  body::before {
    display: none;
  }
  .site-main,
  .section-shell {
    width: 100%;
    max-width: none;
  }
  .route-builder-grid {
    display: block;
  }
  .route-output {
    position: static;
    color: #000;
    background: #fff;
    border: 2px solid #000;
    box-shadow: none;
  }
  .review-route-list {
    max-height: none;
    color: #000;
    background: #fff;
  }
  .review-route-item {
    color: #000;
    background: #fff;
    break-inside: avoid;
  }
  .review-route-item small,
  .route-privacy-boundary p {
    color: #222;
  }
  .route-empty[hidden] {
    display: none !important;
  }
  .journey-row {
    overflow: visible;
    break-inside: avoid;
  }
  .journey-node-grid {
    min-width: 0;
    grid-template-columns: repeat(7, 1fr);
  }
  .journey-node a {
    min-height: 0;
    padding: 5mm 2mm;
    color: #000 !important;
    background: #fff !important;
  }
  .journey-node p {
    display: none;
  }
  .journey-status {
    font-size: 5pt;
  }
  .journey-fallback > summary {
    display: none !important;
  }
  .journey-fallback > :not(summary) {
    display: block !important;
  }
  .journey-fallback .table-scroll {
    overflow: visible;
  }
  .journey-fallback table {
    min-width: 0;
    font-size: 7pt;
  }
  a {
    color: #000 !important;
    text-decoration: underline;
  }
}

/* The HQ's first two chapters: a real-world moment, then the tools behind it. */
@media screen {
  .hq-frontdoor-hero {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(circle at 75% 12%, rgba(217, 160, 74, 0.13), transparent 30%),
      linear-gradient(115deg, #0a1113 0%, #111b1b 56%, #17221f 100%);
  }
  .hq-frontdoor-hero::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      transparent 49.9%,
      rgba(211, 184, 129, 0.1) 50%,
      transparent 50.1%
    );
    content: '';
    pointer-events: none;
  }
  .hq-frontdoor-grid {
    position: relative;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: clamp(2.5rem, 5vw, 6rem);
    align-items: center;
    padding-block: clamp(3.5rem, 6vw, 6rem);
  }
  .hq-frontdoor-copy h1 {
    max-width: 12ch;
    font-size: clamp(3.5rem, 5.1vw, 5.7rem);
    line-height: 0.98;
    letter-spacing: -0.058em;
  }
  .hq-frontdoor-copy h1 em {
    color: #e4bd78;
  }
  .hq-frontdoor-eyebrow {
    margin-bottom: 1.25rem;
    color: #b9c8bd;
  }
  .hq-frontdoor-eyebrow span {
    border-color: #8d7248;
    color: #e4bd78;
    background: rgba(228, 189, 120, 0.08);
  }
  .hq-frontdoor-deck {
    max-width: 48ch;
    margin-top: 1.6rem;
    color: #d6d6c9;
    font-size: clamp(1.05rem, 1.45vw, 1.2rem);
    line-height: 1.62;
  }
  .hq-frontdoor-actions {
    margin-top: 1.8rem;
  }
  .hq-frontdoor-actions .integration-primary-link {
    border-radius: 999px;
    color: #1b1c19;
    background: #e7c27e;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.14);
  }
  .hq-frontdoor-actions .integration-secondary-link {
    border-color: rgba(245, 237, 217, 0.45);
    border-radius: 999px;
    color: #f8f3e9;
  }
  .hq-frontdoor-deeper {
    display: inline-block;
    margin-top: 1.2rem;
    color: #e4bd78;
    font-size: 0.87rem;
    font-weight: 700;
    text-decoration-color: rgba(228, 189, 120, 0.45);
  }
  .hq-frontdoor-notes {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1.4fr auto;
    align-items: start;
    gap: 1.5rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(234, 222, 194, 0.24);
  }
  .hq-frontdoor-count {
    max-width: 47ch;
    margin: 0;
    padding: 0;
    border: 0;
    color: #b8c5bc;
    font-size: 0.82rem;
    line-height: 1.5;
  }
  .hq-frontdoor-count strong {
    color: #f1e9d8;
  }
  .hq-frontdoor-boundary {
    margin: 0;
    color: #a9b9af;
    font-size: 0.77rem;
    line-height: 1.5;
  }
  .hq-frontdoor-command {
    margin: 0;
    color: #d9ddcf;
  }
  .hq-frontdoor-scene {
    min-width: 0;
    padding-bottom: 1rem;
  }
  .hq-frontdoor-image {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(228, 189, 120, 0.38);
    border-radius: 2px;
    background: #32261c;
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.3);
  }
  .hq-frontdoor-image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 16, 16, 0.56), transparent 33%);
    content: '';
    pointer-events: none;
  }
  .hq-frontdoor-image img {
    display: block;
    width: 100%;
    height: clamp(400px, 33vw, 485px);
    aspect-ratio: auto;
    object-fit: cover;
    object-position: 53% 40%;
  }
  .hq-frontdoor-image figcaption {
    position: absolute;
    z-index: 1;
    top: 1rem;
    right: auto;
    bottom: auto;
    left: 1rem;
    width: fit-content;
    max-width: calc(100% - 2rem);
    padding: 0.35rem 0.5rem;
    color: #f1e5ce;
    background: rgba(9, 18, 19, 0.74);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.02em;
  }
  .hq-product-card {
    position: relative;
    z-index: 2;
    width: min(92%, 650px);
    margin: -7.2rem 0 0 auto;
    overflow: hidden;
    border: 1px solid rgba(210, 170, 101, 0.55);
    border-radius: 8px;
    color: #f8f3e8;
    background: linear-gradient(140deg, #152527, #101a1c 72%);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
  }
  .hq-product-card-head,
  .hq-product-card-intro,
  .hq-product-card-body,
  .hq-product-card > p {
    padding-inline: clamp(1.1rem, 2vw, 1.65rem);
  }
  .hq-product-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 48px;
    border-bottom: 1px solid rgba(245, 237, 217, 0.14);
  }
  .hq-product-mark {
    color: #f6ede0;
    font-size: 0.77rem;
    font-weight: 850;
    letter-spacing: 0.17em;
  }
  .hq-product-mark > span {
    color: #e8bf75;
  }
  .hq-product-mark small {
    margin-left: 0.6rem;
    color: #adc1b8;
    font-size: 0.61rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
  }
  .hq-product-preview,
  .hq-product-overline,
  .hq-product-column-title {
    color: #c6ad7f;
    font: 700 0.6rem/1.3 var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .hq-product-preview {
    padding: 0.28rem 0.48rem;
    border: 1px solid rgba(228, 189, 120, 0.38);
    border-radius: 3px;
  }
  .hq-product-card-intro {
    display: grid;
    gap: 0.35rem;
    padding-block: 1.1rem 0.9rem;
  }
  .hq-product-card-intro strong {
    font: 400 clamp(1.5rem, 2vw, 2rem)/1.1 var(--serif);
    letter-spacing: -0.03em;
  }
  .hq-product-card-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(0.8rem, 2vw, 1.5rem);
    padding-bottom: 1.2rem;
  }
  .hq-product-sources,
  .hq-product-route {
    display: grid;
    align-content: start;
    gap: 0.5rem;
    min-width: 0;
  }
  .hq-product-sources > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 0.45rem 0.55rem;
    border: 1px solid rgba(245, 237, 217, 0.14);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.045);
  }
  .hq-product-sources > div span {
    color: #b3c5ba;
    font-size: 0.69rem;
  }
  .hq-product-sources > div strong {
    font-size: 0.72rem;
    font-weight: 700;
    text-align: right;
  }
  .hq-product-route ol {
    display: grid;
    gap: 0.45rem;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .hq-product-route li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #e6e8dc;
    font-size: 0.72rem;
  }
  .hq-product-route li i {
    width: 0.5rem;
    height: 0.5rem;
    flex: 0 0 auto;
    border: 1px solid #e4bd78;
    border-radius: 50%;
    background: rgba(228, 189, 120, 0.2);
  }
  .hq-product-card > p {
    margin: 0;
    padding-block: 0.7rem;
    border-top: 1px solid rgba(245, 237, 217, 0.13);
    color: #b4c2b6;
    font-size: 0.66rem;
  }
  .hq-tool-first {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(2.5rem, 6vw, 7rem);
    padding-block: clamp(5rem, 9vw, 9rem);
  }
  .hq-tool-intro {
    align-self: start;
    position: sticky;
    top: 2rem;
  }
  .hq-tool-intro h2 {
    max-width: 12ch;
    font-family: var(--serif);
    font-size: clamp(2.7rem, 4.4vw, 4.6rem);
    font-weight: 400;
    letter-spacing: -0.06em;
  }
  .hq-tool-intro > p:not(.eyebrow) {
    max-width: 47ch;
    margin-top: 1.2rem;
    color: #495550;
  }
  .hq-tool-intro .hq-tool-map-link {
    margin-top: 1.1rem;
  }
  .hq-tool-category-list {
    border-top: 1px solid #beb7a9;
  }
  .hq-tool-category-row {
    display: grid;
    grid-template-columns: 5rem minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 1rem;
    padding: 1.55rem 0;
    border-bottom: 1px solid #c9c1b2;
  }
  .hq-tool-index {
    padding-top: 0.2rem;
    color: #866539;
    font: 700 0.65rem/1.4 var(--mono);
  }
  .hq-tool-category-row h3 {
    max-width: 14ch;
    font: 400 clamp(1.25rem, 1.75vw, 1.75rem)/1.1 var(--serif);
    letter-spacing: -0.04em;
  }
  .hq-tool-category-row p {
    margin: 0 0 0.7rem;
    color: #4a5752;
    font-size: 0.86rem;
    line-height: 1.45;
  }
  .hq-tool-category-row ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .hq-tool-category-row li {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.34rem 0.48rem;
    border: 1px solid #c8c1b3;
    border-radius: 3px;
    background: #fffdf7;
    font-size: 0.73rem;
    font-weight: 700;
  }
  .hq-tool-category-row li small {
    color: #775729;
    font-size: inherit;
    font-weight: 500;
  }
  @media (max-width: 1050px) {
    .hq-frontdoor-grid {
      gap: 2rem;
    }
    .hq-frontdoor-copy h1 {
      font-size: clamp(3.2rem, 5vw, 4.8rem);
    }
    .hq-product-card {
      width: 100%;
      margin-top: -4.5rem;
    }
    .hq-tool-first {
      gap: 2rem;
    }
    .hq-tool-category-row {
      grid-template-columns: 3.5rem minmax(0, 1fr);
    }
    .hq-tool-category-row > div {
      grid-column: 2;
    }
  }
  @media (max-width: 800px) {
    .hq-frontdoor-grid,
    .hq-tool-first {
      grid-template-columns: minmax(0, 1fr);
    }
    .hq-frontdoor-grid {
      gap: 2.5rem;
    }
    .hq-frontdoor-copy h1 {
      max-width: 13ch;
      font-size: clamp(3rem, 8vw, 5rem);
    }
    .hq-frontdoor-image img {
      height: clamp(330px, 70vw, 540px);
    }
    .hq-frontdoor-notes {
      grid-template-columns: 1fr 1fr;
    }
    .hq-frontdoor-command {
      grid-column: 1 / -1;
    }
    .hq-tool-intro {
      position: static;
    }
    .hq-tool-category-row {
      grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 1.25fr);
    }
    .hq-tool-category-row > div {
      grid-column: auto;
    }
  }
  @media (max-width: 580px) {
    .hq-frontdoor-grid {
      padding-block: 2.5rem 3.5rem;
    }
    .hq-frontdoor-copy h1 {
      font-size: clamp(3rem, 12vw, 4rem);
    }
    .hq-frontdoor-actions {
      display: grid;
    }
    .hq-frontdoor-actions a {
      width: 100%;
    }
    .hq-frontdoor-image img {
      height: 320px;
      object-position: 53% 37%;
    }
    .hq-frontdoor-notes {
      grid-template-columns: minmax(0, 1fr);
    }
    .hq-frontdoor-command {
      grid-column: auto;
    }
    .hq-product-card {
      margin-top: -2.5rem;
    }
    .hq-product-card-body {
      grid-template-columns: minmax(0, 1fr);
    }
    .hq-tool-category-row {
      grid-template-columns: 3.5rem minmax(0, 1fr);
    }
    .hq-tool-category-row > div {
      grid-column: 2;
    }
  }
}

/* The integration roadmap uses a light, code-native system portrait. */
@media screen {
  .integration-hero {
    padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2.5rem, 4vw, 4rem);
    background:
      radial-gradient(circle at 72% 36%, rgba(117, 174, 179, 0.17), transparent 32%),
      linear-gradient(125deg, #0b1519, #142328 70%, #102023);
  }
  .integration-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    margin-top: clamp(2.5rem, 5vw, 4rem);
  }
  .integration-hero-copy,
  .integration-system-visual {
    min-width: 0;
  }
  .integration-hero-label {
    margin: 0 0 1.25rem;
  }
  .integration-hero h1 {
    max-width: 13ch;
    font-size: clamp(3.3rem, 4.8vw, 5.35rem);
    line-height: 0.99;
  }
  .integration-hero h1 em {
    color: #e6c384;
  }
  .integration-hero-lede {
    max-width: 48ch;
    margin-top: 1.5rem;
    color: #d1dfd8;
    font-size: clamp(1rem, 1.4vw, 1.14rem);
    line-height: 1.58;
  }
  .integration-hero-actions {
    margin-top: 1.7rem;
  }
  .integration-hero-actions a {
    border-radius: 999px;
  }
  .integration-hero-trust {
    max-width: none;
    margin-top: clamp(2.5rem, 4vw, 4rem);
    padding-top: 1.1rem;
    font-size: 0.77rem;
  }
  .integration-system-visual {
    overflow: hidden;
    border: 1px solid #b3d0d2;
    border-radius: 8px;
    color: #183033;
    background:
      radial-gradient(circle at 15% 20%, #f8fcfb, transparent 45%),
      linear-gradient(145deg, #edf6f5, #cedfe3);
    box-shadow: 0 35px 65px rgba(0, 0, 0, 0.28);
  }
  .integration-system-topline {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid rgba(30, 66, 70, 0.15);
    color: #385c61;
    font: 700 0.65rem/1.3 var(--mono);
    letter-spacing: 0.07em;
  }
  .integration-system-inner {
    padding: clamp(1.3rem, 3vw, 2.3rem);
  }
  .integration-system-inner > p {
    margin: 0 0 1.6rem;
    font: 400 clamp(1.8rem, 2.8vw, 2.8rem)/1.08 var(--serif);
    letter-spacing: -0.06em;
  }
  .integration-system-inner > p em {
    color: #376876;
  }
  .integration-system-cards {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 0.55rem;
    width: min(81%, 450px);
  }
  .integration-system-cards > div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.2rem 0.8rem;
    align-items: end;
    padding: 0.67rem 0.85rem;
    border: 1px solid #b3c9ca;
    border-left: 4px solid #6e9ca4;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 20px rgba(30, 66, 70, 0.09);
  }
  .integration-system-cards > div:nth-child(2) {
    margin-left: 1.2rem;
  }
  .integration-system-cards > div:nth-child(3) {
    margin-left: 2.4rem;
  }
  .integration-system-cards span {
    grid-column: 1 / -1;
    color: #5a777b;
    font: 700 0.6rem/1.3 var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .integration-system-cards strong {
    font-size: 0.88rem;
  }
  .integration-system-cards small {
    color: #80612e;
    font-size: 0.64rem;
    font-weight: 700;
    white-space: nowrap;
  }
  .integration-system-route {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 68%;
    height: 2.7rem;
    padding-left: 2.5rem;
    border-left: 1px dashed #6d989c;
    transform: translateX(2.4rem);
  }
  .integration-system-route span {
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 50%;
    background: #558790;
  }
  .integration-system-review {
    display: grid;
    gap: 0.28rem;
    width: min(88%, 485px);
    margin-left: auto;
    padding: 1rem 1.15rem;
    border: 1px solid #396368;
    border-radius: 5px;
    color: #f2f3e9;
    background: #183136;
    box-shadow: 0 15px 30px rgba(31, 68, 72, 0.16);
  }
  .integration-system-review span {
    color: #e4c487;
    font: 700 0.6rem/1.3 var(--mono);
    letter-spacing: 0.08em;
  }
  .integration-system-review strong {
    font: 400 clamp(1.08rem, 1.5vw, 1.4rem)/1.2 var(--serif);
  }
  .integration-system-review small {
    color: #c1d2c9;
    font-size: 0.69rem;
  }
  .integration-system-caption {
    margin: 0;
    padding: 0.78rem 1.2rem;
    border-top: 1px solid rgba(30, 66, 70, 0.15);
    color: #47666b;
    font-size: 0.68rem;
  }
  .integration-map .integration-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: end;
    column-gap: 4rem;
    max-width: none;
  }
  .integration-map .integration-section-heading .eyebrow {
    grid-column: 1 / -1;
  }
  .integration-map .integration-section-heading h2 {
    max-width: 14ch;
    font-size: clamp(2.7rem, 4.3vw, 4.4rem);
  }
  .integration-map .integration-section-heading > p:last-child {
    margin-bottom: 0;
  }
  .integration-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .integration-category {
    position: relative;
    border-color: #c7d2cf;
    border-radius: 4px;
    background: #fbfcf8;
  }
  .integration-category::before {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: #84a7aa;
    content: '';
  }
  .integration-category li {
    background: #edf3f1;
  }
  @media (prefers-reduced-motion: no-preference) {
    .integration-system-cards > div,
    .integration-system-review {
      animation: integration-appear 600ms ease-out both;
    }
    .integration-system-cards > div:nth-child(2) {
      animation-delay: 70ms;
    }
    .integration-system-cards > div:nth-child(3) {
      animation-delay: 140ms;
    }
    .integration-system-review {
      animation-delay: 210ms;
    }
  }
  @keyframes integration-appear {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @media (max-width: 950px) {
    .integration-hero-layout {
      grid-template-columns: minmax(0, 1fr);
    }
    .integration-hero h1 {
      max-width: 15ch;
    }
    .integration-map .integration-section-heading {
      gap: 1rem;
    }
  }
  @media (max-width: 650px) {
    .integration-hero-layout {
      margin-top: 2rem;
    }
    .integration-hero h1 {
      font-size: clamp(2.9rem, 11vw, 4rem);
    }
    .integration-system-cards {
      width: 100%;
    }
    .integration-system-cards > div:nth-child(2),
    .integration-system-cards > div:nth-child(3) {
      margin-left: 0;
    }
    .integration-system-review {
      width: 100%;
    }
    .integration-map .integration-section-heading,
    .integration-category-grid {
      grid-template-columns: minmax(0, 1fr);
    }
    .integration-map .integration-section-heading .eyebrow {
      grid-column: auto;
    }
  }
}

/* Final cascade: old route-specific paper declarations sit earlier in this
   legacy sheet, so the public DPDPHQ treatment is deliberately last. */
body:not(.brand-page) .site-header {
  background: rgb(9 12 20 / 0.9);
}
body:not(.brand-page)
  .site-main
  :is(
    article,
    .card,
    .control-card,
    .source-card,
    .research-card,
    .pattern-card,
    .layer-card,
    .integration-category
  ) {
  background-color: rgb(18 24 39 / 0.72);
}
body:not(.brand-page) .integration-system-visual {
  border-color: rgb(231 225 255 / 0.34);
  color: #eef0f7;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 0.1), transparent 38%),
    linear-gradient(135deg, #171428, #0b1020 68%, #211330);
  box-shadow:
    0 28px 70px rgb(0 0 0 / 0.44),
    inset 0 1px rgb(255 255 255 / 0.08);
}
body:not(.brand-page) .integration-system-topline,
body:not(.brand-page) .integration-system-caption {
  border-color: rgb(196 181 253 / 0.18);
  color: #bdc8dd;
}
body:not(.brand-page) .integration-system-inner > p,
body:not(.brand-page) .integration-system-cards strong {
  color: #f3f4fa;
}
body:not(.brand-page) .integration-system-inner > p em {
  color: #dbc8ff;
}
body:not(.brand-page) .integration-system-cards > div {
  border-color: rgb(196 181 253 / 0.28);
  border-left-color: #a78bfa;
  background: rgb(8 12 23 / 0.78);
}
body:not(.brand-page) .integration-system-cards span,
body:not(.brand-page) .integration-system-cards small {
  color: #c7b4eb;
}
body:not(.brand-page) .integration-system-route {
  border-color: #9176d0;
}
body:not(.brand-page) .integration-system-route span {
  background: #c4b5fd;
}
body:not(.brand-page) .integration-system-review {
  border-color: rgb(240 199 123 / 0.62);
  color: #fff8e9;
  background: linear-gradient(135deg, #332314, #181226 62%, #0d1120);
}
body:not(.brand-page) .integration-system-review span {
  color: #f0c77b;
}
body:not(.brand-page) .integration-system-review small {
  color: #d6cde2;
}
body:not(.brand-page) .integration-category {
  background: linear-gradient(145deg, rgb(24 31 50 / 0.92), rgb(10 15 27 / 0.92));
}
body:not(.brand-page) .integration-category::before {
  background: linear-gradient(90deg, #a78bfa, #f0c77b);
}
body:not(.brand-page) .integration-category li {
  background: rgb(255 255 255 / 0.045);
}
