@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #FFFFFF;
  --soft: #F6F6F8;
  --tint: #EEE9FD;
  --line: #E5E2EF;
  --line-strong: #CDC8DD;
  --line-control: #8E87A6;
  --ink: #15112C;
  --ink-soft: #4F4B63;
  --brand: #4B17D6;
  --brand-dark: #3A0FAD;
  --brand-ink: #3D10B8;
  --saffron: #F5A524;
  --saffron-ink: #8A4F00;
  --saffron-tint: #FEF3DC;
  --dark: #15112C;
  --error: #B42318;
  --focus: #3A0FAD;
  --grid: rgba(75, 23, 214, 0.07);

  --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: clamp(1.875rem, 1.3rem + 2vw, 3rem);
  --step-4: clamp(2.5rem, 1.6rem + 3.8vw, 4.75rem);

  --space-section: clamp(4.5rem, 3rem + 5vw, 8rem);
  --radius-sm: 4px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-feature: 20px;
  --container: 78rem;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --shadow-sm: 0 1px 2px rgba(21, 17, 44, 0.06), 0 4px 12px -6px rgba(21, 17, 44, 0.12);
  --shadow: 0 1px 2px rgba(21, 17, 44, 0.06), 0 24px 48px -24px rgba(75, 23, 214, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--brand);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--brand-dark);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  display: block;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nowrap {
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid-bg {
  background-color: var(--soft);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
}

.tag {
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.375rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  max-width: 100%;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: var(--brand);
  border-color: var(--brand-dark);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(21, 17, 44, 0.2);
}

.btn--primary:hover {
  background: var(--brand-dark);
  color: #fff;
}

.btn--primary:active {
  box-shadow: inset 0 2px 3px rgba(21, 17, 44, 0.25);
}

.btn--secondary {
  background: var(--bg);
  border-color: var(--line-control);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(21, 17, 44, 0.06);
}

.btn--secondary:hover {
  background: var(--tint);
  border-color: var(--brand);
  color: var(--brand-ink);
}

.btn--secondary:active {
  background: #E6DEFD;
  border-color: var(--brand);
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.text-link:hover {
  text-decoration-thickness: 2px;
}

.wordmark {
  display: inline-flex;
  flex: none;
  align-items: center;
  text-decoration: none;
}

.wordmark img {
  display: block;
  width: auto;
  height: 2.25rem;
}

@media (max-width: 30rem) {
  .wordmark img {
    height: 1.75rem;
  }
}

/* Header */

.site-header {
  position: sticky;
  top: 0.75rem;
  z-index: 50;
  padding-inline: var(--gutter);
  margin-top: 0.75rem;
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: calc(var(--container) - 2 * var(--gutter));
  min-height: 4rem;
  margin-inline: auto;
  padding: 0.5rem 0.5rem 0.5rem 1.375rem;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px -16px rgba(21, 17, 44, 0.3);
}

.site-nav {
  margin-inline: auto;
}

.site-nav ul {
  display: flex;
  gap: 0.125rem;
}

.site-nav a {
  display: block;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--soft);
  color: var(--brand-ink);
}

.site-nav a[aria-current="page"] {
  background: var(--tint);
  color: var(--brand-ink);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  min-height: 3rem;
  padding: 0.5rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line-control);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  font-size: var(--step--1);
  font-weight: 600;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(22rem, 100%);
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 1rem 1.25rem 2rem;
  border: 0;
  background: var(--bg);
  color: var(--ink);
}

.mobile-menu[open] {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: menu-in 0.22s ease-out;
}

body:has(.mobile-menu[open]) {
  overflow: hidden;
}

.mobile-menu::backdrop {
  background: rgba(21, 17, 44, 0.45);
}

@keyframes menu-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3rem;
}

.mobile-menu__close {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  background: none;
  border: 1px solid var(--line-control);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
}

.mobile-menu__list a {
  display: block;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: var(--step-1);
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu__list a[aria-current="page"] {
  color: var(--brand-ink);
  box-shadow: inset 3px 0 0 var(--brand);
  padding-left: 0.875rem;
}

@media (min-width: 64.0625rem) and (max-width: 75rem) {
  .site-header__bar {
    gap: 1rem;
  }

  .site-nav a {
    padding-inline: 0.5rem;
  }
}

@media (max-width: 64rem) {
  .site-nav,
  .site-header__cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 30rem) {
  .site-header__bar {
    gap: 0.75rem;
    padding-left: 1rem;
  }

  .menu-toggle {
    padding-inline: 0.75rem;
  }
}

@media (max-width: 20rem) {
  .wordmark img {
    height: 1.5rem;
  }
}

/* Hero */

.hero {
  --header-space: calc(4.75rem + 2px);
  margin-top: calc(-1 * var(--header-space));
  padding-block: calc(var(--header-space) + clamp(4rem, 3rem + 4vw, 6.5rem)) clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
  background-color: #FBFBFD;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  border-bottom: 1px solid var(--line);
}

.hero__copy {
  max-width: 54rem;
  margin-inline: auto;
  text-align: center;
}

.hero h1 {
  font-size: var(--step-4);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero__lead {
  max-width: 40rem;
  margin: 1.25rem auto 0;
  color: var(--ink-soft);
  font-size: var(--step-1);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.live {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  max-width: 72rem;
  margin: clamp(3rem, 2rem + 3vw, 4.5rem) auto 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-feature);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.live__stage {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.25rem, 0.75rem + 2vw, 2rem);
  background-color: #FAF9FD;
}

.live__readout {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  align-self: flex-start;
  max-width: 100%;
  padding: 0.5rem 0.875rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
}

.live__pulse {
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brand);
}

.is-animating .live__pulse {
  animation: live-pulse 1.6s ease-in-out infinite;
}

.is-paused .live__pulse {
  animation: none;
  background: var(--line-control);
}

@keyframes live-pulse {
  50% { box-shadow: 0 0 0 5px rgba(75, 23, 214, 0.18); }
}

.live__map {
  display: block;
  flex: 1;
  width: 100%;
  height: auto;
  margin-block: auto;
  font-family: var(--font-body);
}

.live__labels {
  display: none;
}

.live__key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.live__key li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.live__swatch {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--brand);
}

.live__swatch--human {
  background: var(--saffron);
}

.iso-rail {
  stroke: var(--line-strong);
  stroke-width: 2;
  stroke-dasharray: 6 6;
}

.iso-arrow {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 4 6;
}

.iso-node {
  transition: transform 0.35s ease, filter 0.35s ease;
}

.iso-node path {
  stroke-width: 1.5;
  stroke-linejoin: round;
  transition: fill 0.35s ease, stroke 0.35s ease;
}

.iso-node .iso-t { fill: #F4F1FE; stroke: #CDC8DD; }
.iso-node .iso-l { fill: #E6DEFD; stroke: #CDC8DD; }
.iso-node .iso-r { fill: #D6CCF3; stroke: #CDC8DD; }

.iso-node--agent .iso-t,
.is-animating .iso-node.is-on .iso-t { fill: #7A52E6; stroke: #3A0FAD; }
.iso-node--agent .iso-l,
.is-animating .iso-node.is-on .iso-l { fill: #4B17D6; stroke: #3A0FAD; }
.iso-node--agent .iso-r,
.is-animating .iso-node.is-on .iso-r { fill: #3A0FAD; stroke: #3A0FAD; }

.iso-node--human .iso-t,
.is-animating .iso-node--human.is-on .iso-t { fill: #FEF3DC; stroke: #E8B65A; }
.iso-node--human .iso-l,
.is-animating .iso-node--human.is-on .iso-l { fill: #F9DDA3; stroke: #E8B65A; }
.iso-node--human .iso-r,
.is-animating .iso-node--human.is-on .iso-r { fill: #F5C66B; stroke: #E8B65A; }

.is-animating .iso-node:not(.is-on) .iso-t { fill: #F4F1FE; stroke: #CDC8DD; }
.is-animating .iso-node:not(.is-on) .iso-l { fill: #E6DEFD; stroke: #CDC8DD; }
.is-animating .iso-node:not(.is-on) .iso-r { fill: #D6CCF3; stroke: #CDC8DD; }

.is-animating .iso-node.is-on {
  transform: translateY(-8px);
  filter: drop-shadow(0 10px 14px rgba(75, 23, 214, 0.3));
}

.is-animating .iso-node--human.is-on {
  filter: drop-shadow(0 10px 14px rgba(245, 165, 36, 0.4));
}

.iso-label {
  fill: var(--ink);
  font-size: 17px;
  font-weight: 600;
}

.iso-label--strong {
  fill: var(--brand-ink);
  font-size: 19px;
  font-weight: 800;
}

.live__panel {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-left: 1px solid var(--line);
}

.live__tasks {
  flex: 1;
}

.live__note {
  margin-top: auto;
}

.live__head {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.live__title {
  font-size: var(--step-0);
  white-space: nowrap;
}

.live__toggle {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
  padding: 0;
  background: var(--brand);
  border: 1px solid var(--brand-dark);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(21, 17, 44, 0.2);
  color: #fff;
  font: inherit;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.live__toggle:hover {
  background: var(--brand-dark);
}

.live__toggle:active,
.deploy__auto:active {
  box-shadow: inset 0 2px 3px rgba(21, 17, 44, 0.25);
}

.live__task {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.875rem;
  align-items: start;
  padding: 1rem 1.25rem;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.live__task + .live__task {
  border-top: 1px solid var(--line);
}

.live__icon {
  display: grid;
  place-items: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  background: var(--tint);
  color: var(--brand);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.live__task--flag .live__icon {
  background: var(--saffron-tint);
  color: var(--saffron-ink);
}

.live__task h3 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.35;
}

.live__meta {
  margin-top: 0.125rem;
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.live__ref {
  margin-left: 0.375rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  white-space: nowrap;
}

.live__detail {
  margin-top: 0.375rem;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.live__status {
  padding: 0.1875rem 0.625rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--brand-ink);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.live__task--flag .live__status {
  background: var(--saffron-tint);
  color: var(--saffron-ink);
}

.live__note {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.is-animating .live__task.is-running {
  background: var(--tint);
  box-shadow: inset 3px 0 0 var(--brand);
}

.is-animating .live__task--flag.is-running {
  background: var(--saffron-tint);
  box-shadow: inset 3px 0 0 var(--saffron);
}

.is-animating .live__task:not(.is-done) .live__status {
  visibility: hidden;
}

.is-animating .live__task:not(.is-done):not(.is-running) .live__icon {
  background: var(--soft);
  color: var(--ink-soft);
}

@media (max-width: 64rem) {
  .live {
    grid-template-columns: minmax(0, 1fr);
    max-width: 46rem;
  }

  .live__map {
    max-width: 44rem;
    margin-inline: auto;
  }

  .live__panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 30rem) {
  .live__stage {
    gap: 1rem;
  }

  .live__readout {
    align-self: stretch;
    min-height: calc(3.2em + 1rem + 2px);
    line-height: 1.6;
  }

  .live__map text {
    display: none;
  }

  .live__labels {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: -1.75rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--ink);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
  }

  .live__labels-agent {
    color: var(--brand-ink);
    font-weight: 800;
  }

  .live__head {
    flex-wrap: wrap;
  }

  .live__task {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .live__status {
    grid-column: 2;
    justify-self: start;
  }
}

/* Shared sections */

.section {
  padding-block: var(--space-section);
}

.section--soft {
  background: var(--soft);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.section-head h2 {
  font-size: var(--step-3);
  letter-spacing: -0.035em;
}

.section-head p {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: var(--step-1);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
}

.section-head--split > div {
  max-width: 40rem;
}

/* Outcomes */

.statement {
  max-width: 60rem;
  margin-inline: auto;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.25;
  text-align: center;
}

.statement span {
  color: var(--ink-soft);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
}

.metric {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1.75rem 1.5rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 0;
}

.metric dd {
  color: var(--brand-ink);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.8rem + 2.5vw, 3.75rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
}

.reel {
  display: inline-block;
  height: 1.1em;
  overflow: hidden;
  vertical-align: top;
  line-height: 1.1;
}

.reel__strip {
  display: flex;
  flex-direction: column;
  transition: transform 1.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reel__strip span {
  display: block;
  height: 1.1em;
}

.metrics__note {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.metric dt {
  color: var(--ink-soft);
  font-size: var(--step--1);
  max-width: 22ch;
}

@media (max-width: 56rem) {
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 24rem) {
  .metrics {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Industries */

.sectors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.sector {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid #D6CCF3;
}

.sector::before,
.sector::after,
.sector__body::before,
.sector__body::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  background:
    linear-gradient(var(--brand), var(--brand)) 50% 0 / 1px 100% no-repeat,
    linear-gradient(var(--brand), var(--brand)) 0 50% / 100% 1px no-repeat;
}

.sector::before {
  top: -7px;
  left: -7px;
}

.sector::after {
  top: -7px;
  right: -7px;
}

.sector__body::before {
  bottom: -7px;
  left: -7px;
}

.sector__body::after {
  bottom: -7px;
  right: -7px;
}

.sector__art {
  display: grid;
  place-items: center;
  height: 9.5rem;
  border-bottom: 1px solid #D6CCF3;
  background-color: #F4F1FE;
  background-image:
    linear-gradient(rgba(75, 23, 214, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 23, 214, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  color: var(--brand);
  transition: background-color 0.25s ease;
}

.sector__art svg {
  transition: transform 0.25s ease;
}

.sector:hover .sector__art {
  background-color: #EAE3FD;
}

.sector:hover .sector__art svg {
  transform: translateY(-3px);
}

.sector__body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.5rem 1.375rem;
}

.sector h3 {
  font-size: var(--step-2);
  letter-spacing: -0.02em;
}

.sector__body > p {
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.uses {
  margin-block: 1.25rem 1.25rem;
}

.uses li {
  position: relative;
  padding: 0.5625rem 0 0.5625rem 1.5rem;
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  font-weight: 600;
}

.uses li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 50%;
  width: 0.375rem;
  height: 0.7rem;
  border: solid var(--brand);
  border-width: 0 2px 2px 0;
  transform: translateY(-62%) rotate(45deg);
}

.sector__link {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--brand-ink);
  font-size: var(--step--1);
  font-weight: 700;
  text-decoration: none;
}

.sector__link:hover {
  text-decoration: underline;
}

@media (max-width: 64rem) {
  .sectors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 40rem) {
  .sectors {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}

/* Platform */

.trace__caps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.75rem;
}

.trace__caps li {
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 0.8125rem;
  font-weight: 600;
}

.trace {
  border: 1px solid var(--line);
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
}

.trace__request {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 1.25rem clamp(1.25rem, 1rem + 1vw, 2rem);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.trace__request-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: var(--tint);
  color: var(--brand);
}

.trace__request p {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
}

.trace__request-label {
  margin-right: 0.375rem;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
}

.trace__ref {
  font-family: var(--font-mono);
  font-size: 0.9em;
  font-weight: 600;
  color: var(--brand-ink);
}

.trace__request .tag {
  margin-left: auto;
}

.trace__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trace__steps::before {
  content: "";
  position: absolute;
  top: calc(1.75rem + 1.125rem);
  left: clamp(1.25rem, 1rem + 1vw, 2rem);
  right: clamp(1.25rem, 1rem + 1vw, 2rem);
  border-top: 2px dashed var(--brand);
}

.trace__step {
  position: relative;
  padding: 1.75rem clamp(1.25rem, 1rem + 1vw, 2rem) 2rem;
}

.trace__step + .trace__step {
  border-left: 1px dashed var(--line-strong);
}

.trace__node {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
}

.trace__step--agents .trace__node { background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line-control); color: var(--ink); }
.trace__step--orch .trace__node { background: var(--tint); box-shadow: inset 0 0 0 1.5px #B7A3FF; color: var(--brand-ink); }
.trace__step--gov .trace__node { background: var(--brand); color: #fff; }
.trace__step--models .trace__node { background: var(--dark); color: #fff; }

.trace__step h3 {
  font-size: var(--step-1);
  letter-spacing: -0.02em;
}

.trace__tag {
  margin-top: 0.125rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.trace__log {
  margin-top: 1rem;
  padding: 0.75rem 0.875rem;
  border-left: 3px solid var(--brand);
  background: var(--bg);
  box-shadow: 0 1px 2px rgba(21, 17, 44, 0.06), inset 0 0 0 1px var(--line);
  font-size: 0.875rem;
  line-height: 1.5;
}

.trace__step--agents .trace__log { border-left-color: var(--line-control); }
.trace__step--orch .trace__log { border-left-color: #8C6CF0; }
.trace__step--models .trace__log { border-left-color: var(--dark); }

.trace__result {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.25rem clamp(1.25rem, 1rem + 1vw, 2rem);
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.trace__result-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}

.trace__result p {
  color: var(--ink-soft);
}

.trace__result strong {
  color: var(--ink);
}

@media (max-width: 64rem) {
  .trace__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trace__steps::before {
    display: none;
  }

  .trace__step:nth-child(3) {
    border-left: 0;
  }

  .trace__step:nth-child(n + 3) {
    border-top: 1px dashed var(--line-strong);
  }
}

@media (max-width: 40rem) {
  .trace__steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .trace__steps::before {
    display: block;
    top: 1.5rem;
    bottom: 2rem;
    left: calc(1.25rem + 1.125rem - 1px);
    right: auto;
    border-top: 0;
    border-left: 2px dashed var(--brand);
  }

  .trace__step {
    padding: 1.5rem 1.25rem 1.5rem 4.25rem;
  }

  .trace__step + .trace__step {
    border-left: 0;
    border-top: 1px dashed var(--line-strong);
  }

  .trace__node {
    position: absolute;
    top: 1.5rem;
    left: 1.25rem;
    margin: 0;
  }

  .trace__request .tag {
    margin-left: 0;
  }
}

/* Deployment */



.deploy {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: center;
  padding: clamp(1.5rem, 0.75rem + 3vw, 4rem);
  border-radius: 0;
  border: 1px solid var(--line);
  background-color: var(--soft);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
}

.deploy__side h2 {
  font-size: var(--step-3);
  letter-spacing: -0.035em;
}

.deploy__intro {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: var(--step-1);
}

.deploy__options {
  display: grid;
  gap: 0.625rem;
  margin-top: 2rem;
}

.deploy__opt {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.125rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.deploy__opt:hover {
  background: var(--bg);
  border-color: var(--line-strong);
}

.deploy__opt[aria-selected="true"] {
  background: var(--bg);
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow-sm);
}

.deploy__opt {
  position: relative;
  overflow: hidden;
}

.deploy__opt::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
}

.is-autoplay .deploy__opt[aria-selected="true"]::after {
  animation: deploy-progress var(--autoplay-ms, 9s) linear forwards;
}

.is-autoplay.is-autoplay-hold .deploy__opt[aria-selected="true"]::after {
  animation-play-state: paused;
}

@keyframes deploy-progress {
  to { transform: scaleX(1); }
}

.live__toggle,
.deploy__auto {
  position: relative;
}

.tip {
  position: absolute;
  z-index: 5;
  padding: 0.375rem 0.625rem;
  border-radius: var(--radius-sm);
  background: var(--dark);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  visibility: hidden;
}

.tip--below {
  top: calc(100% + 0.375rem);
  right: 0;
}

.tip--above {
  bottom: calc(100% + 0.375rem);
  left: 0;
}

.tip::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 0.5rem;
}

.tip--below::before {
  bottom: 100%;
}

.tip--above::before {
  top: 100%;
}

button:hover > .tip,
button:focus-visible > .tip {
  visibility: visible;
}

.tips-off .tip {
  visibility: hidden !important;
}

.toggle-icon {
  flex: none;
  width: 16px;
  height: 16px;
}

.toggle-icon--play,
.is-paused > .toggle-icon--pause {
  display: none;
}

.is-paused > .toggle-icon--play {
  display: block;
}

.deploy__auto {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 1rem;
  padding: 0;
  background: var(--brand);
  border: 1px solid var(--brand-dark);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(21, 17, 44, 0.2);
  color: #fff;
  font: inherit;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.deploy__auto:hover {
  background: var(--brand-dark);
}

.deploy__opt-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  background: var(--tint);
  color: var(--brand);
}

.deploy__opt[aria-selected="true"] .deploy__opt-icon {
  background: var(--brand);
  color: #fff;
}

.deploy__opt-text {
  display: grid;
}

.deploy__opt-name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
}

.deploy__opt-desc {
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.deploy__stage {
  padding: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
  background: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.deploy__panel + .deploy__panel {
  margin-top: 2rem;
}

.deploy.is-enhanced .deploy__panel + .deploy__panel {
  margin-top: 0;
}

.deploy__diagram {
  width: 100%;
  height: auto;
  font-family: var(--font-body);
}

.d-zone-label,
.d-small {
  fill: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
}

.d-boundary {
  fill: var(--soft);
  stroke: var(--brand);
  stroke-width: 2;
  stroke-dasharray: 7 6;
}

.d-boundary--solid {
  stroke-dasharray: none;
}

.d-boundary--sealed {
  stroke: var(--ink);
  stroke-width: 3.5;
  stroke-dasharray: none;
}

.d-boundary-label {
  fill: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.d-node {
  fill: var(--tint);
}

.d-node--accent {
  fill: var(--brand);
}

.d-node-text {
  fill: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.d-node-text--light {
  fill: #fff;
}

.d-link {
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 2;
}

.d-link--out {
  stroke: var(--brand);
}

.d-link--dashed {
  stroke: var(--brand);
  stroke-dasharray: 5 5;
}

.d-gate {
  fill: var(--brand);
}

.d-pill {
  fill: var(--saffron-tint);
  stroke: var(--saffron);
  stroke-width: 1.5;
}

.d-pill-text {
  fill: var(--saffron-ink);
  font-size: 13px;
  font-weight: 700;
}

.d-cross {
  stroke: var(--error);
  stroke-width: 3.5;
  stroke-linecap: round;
}

@media (max-width: 30rem) {
  .deploy {
    margin-inline: calc(-1 * var(--gutter));
    padding: 1.5rem 0.75rem;
    border-inline: 0;
  }

  .deploy__side {
    padding-inline: calc(var(--gutter) - 0.75rem);
  }

  .deploy__stage {
    padding: 0.75rem 0.5rem;
  }

  .d-side {
    display: none;
  }

  .d-zone-label,
  .d-pill-text {
    font-size: 17px;
  }

  .d-small {
    font-size: 18px;
  }

  .d-node-text {
    font-size: 19px;
  }

  .d-boundary-label {
    font-size: 20px;
  }
}

.deploy__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
}

.deploy__facts dt {
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.deploy__facts dd {
  margin-top: 0.25rem;
  font-weight: 600;
  line-height: 1.4;
}

.deploy__same {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  margin-top: 2rem;
}

.deploy__same li {
  position: relative;
  padding-left: 1.625rem;
  font-size: var(--step--1);
  font-weight: 600;
}

.deploy__same li::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.2em;
  width: 0.4rem;
  height: 0.75rem;
  border: solid var(--brand);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@media (max-width: 60rem) {
  .deploy {
    grid-template-columns: minmax(0, 1fr);
  }

  .deploy__options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .deploy__opt {
    flex-direction: column;
    align-items: flex-start;
  }

  .deploy__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 36rem) {
  .deploy {
    padding: 1rem;
    border-radius: 0;
  }

  .deploy__options {
    grid-template-columns: minmax(0, 1fr);
  }

  .deploy__opt {
    flex-direction: row;
    align-items: center;
  }

  .deploy__stage {
    padding: 0.75rem;
  }
}

/* Agents */

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.agent {
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0;
}

.agent--docs { grid-column: span 7; }
.agent--video { grid-column: span 5; }
.agent--dev { grid-column: span 5; }
.agent--pay { grid-column: span 7; }

.agent__copy {
  padding: 1.5rem 1.5rem 1.25rem;
}

.agent__name {
  font-size: var(--step-3);
  letter-spacing: -0.035em;
}

.agent__type {
  margin-top: 0.25rem;
  color: var(--brand-ink);
  font-size: var(--step--1);
  font-weight: 700;
}

.agent__job {
  margin-top: 0.875rem;
  max-width: 34rem;
  color: var(--ink);
  font-size: var(--step-1);
  line-height: 1.5;
}

.agent__visual {
  flex: 1;
  display: grid;
  align-items: center;
  padding: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
  border-radius: 0;
  background-color: var(--soft);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  border: 1px solid var(--line);
}

.agent__spec {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.25rem 1.5rem;
}

.agent__spec div {
  padding-left: 0.875rem;
  border-left: 2px solid var(--line-strong);
}

.agent__spec div:last-child {
  border-left-color: var(--saffron);
}

.agent__spec dt {
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 600;
}

.agent__spec dd {
  margin-top: 0.25rem;
  font-size: var(--step--1);
  font-weight: 600;
  line-height: 1.4;
}

.agent--video .agent__spec,
.agent--dev .agent__spec {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.mock {
  min-width: 0;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  box-shadow: var(--shadow-sm);
}

.mock--docs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  background: var(--bg);
}

.mock__doc {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  padding: 1rem;
  background: var(--soft);
  border-radius: var(--radius-sm);
}

.mock__doc-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.mock__line {
  display: block;
  height: 0.5rem;
  border-radius: 4px;
  background: var(--line-strong);
}

.mock__line--short {
  width: 60%;
}

.mock__line--hit {
  height: auto;
  padding: 0.25rem 0.5rem;
  background: var(--saffron-tint);
  color: var(--saffron-ink);
  font-weight: 700;
  box-shadow: inset 2px 0 0 var(--saffron);
}

.mock__chat {
  display: grid;
  gap: 0.625rem;
  align-content: end;
}

.mock__q {
  justify-self: end;
  max-width: 92%;
  padding: 0.625rem 0.875rem;
  background: var(--brand);
  color: #fff;
  border-radius: 14px 14px 4px 14px;
}

.mock__a {
  max-width: 96%;
  padding: 0.625rem 0.875rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px 14px 14px 4px;
}

.mock__cite {
  display: inline-block;
  margin-left: 0.25rem;
  padding: 0 0.4rem;
  border-radius: 4px;
  background: var(--saffron-tint);
  color: var(--saffron-ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.mock--video {
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.mock--video img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.05);
}

.mock__cam {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  background: rgba(21, 17, 44, 0.85);
  color: #fff;
  font-size: 0.75rem;
}

.mock__box {
  position: absolute;
  border: 2px solid #B7A3FF;
  border-radius: 4px;
}

.mock__box span {
  position: absolute;
  top: -1.4rem;
  left: -2px;
  padding: 0 0.375rem;
  background: #B7A3FF;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.mock__box--a {
  left: 17%;
  top: 44%;
  width: 13%;
  height: 15%;
  border-color: var(--saffron);
}

.mock__box--a span {
  background: var(--saffron);
}

.mock__box--b {
  left: 64%;
  top: 30%;
  width: 7%;
  height: 14%;
}

.mock__alert {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-weight: 600;
}

.mock--code {
  padding: 1rem 1.25rem 1.25rem;
  background: var(--dark);
  color: #F0EEF8;
}

.mock__file {
  color: #C3BDD9;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.mock--code pre {
  margin: 0.75rem 0 0;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.7;
}

.c-del {
  display: block;
  color: #FFC4BD;
  background: rgba(180, 35, 24, 0.25);
}

.c-add {
  display: block;
  color: #D7CCFF;
  background: rgba(75, 23, 214, 0.35);
}

.mock__note {
  margin-top: 0.875rem;
  padding-top: 0.75rem;
  border-top: 1px solid #2E2850;
}

.mock--txn {
  display: grid;
  gap: 0.375rem;
  padding: 0.625rem;
  background: var(--bg);
}

.txn {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--soft);
  border-radius: var(--radius-sm);
}

.txn > span:nth-child(2) {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.txn__risk {
  height: 0.375rem;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.txn__risk i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
}

.risk-4 { width: 4%; }
.risk-8 { width: 8%; }
.risk-22 { width: 22%; }
.risk-91 { width: 91%; }

.txn__state {
  min-width: 4.5rem;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--brand-ink);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.txn--held {
  background: var(--saffron-tint);
  box-shadow: inset 0 0 0 1.5px var(--saffron);
}

.txn--held .txn__risk i {
  background: var(--saffron);
}

.txn--held .txn__state {
  background: var(--bg);
  color: var(--saffron-ink);
}

@media (max-width: 60rem) {
  .agent--docs,
  .agent--video,
  .agent--dev,
  .agent--pay {
    grid-column: span 12;
  }

  .agent--video .agent__spec,
  .agent--dev .agent__spec {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 36rem) {
  .agent__copy {
    padding: 1.25rem 1rem 1rem;
  }

  .agent__spec,
  .agent--video .agent__spec,
  .agent--dev .agent__spec {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.125rem 1rem;
  }

  .mock--docs {
    grid-template-columns: minmax(0, 1fr);
  }

  .txn {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.375rem 0.75rem;
  }

  .txn__risk {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .txn__state {
    justify-self: start;
  }

  .mock--code pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
}

/* Security */

.sec {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
}

.sec__controls {
  display: grid;
  gap: 1.25rem;
}

.control {
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0;
}

.control dt {
  display: grid;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.25;
}

.control__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  background: var(--tint);
  color: var(--brand);
}

.control dd {
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.record {
  padding: clamp(1rem, 0.5rem + 2vw, 2.25rem);
  border-radius: 0;
  background-color: #E6DEFD;
  background-image:
    linear-gradient(rgba(75, 23, 214, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 23, 214, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
  border: 1px solid #D9CEFA;
}

.record__card {
  padding: 1.5rem;
  background: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.record__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--line-strong);
}

.record__label {
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 600;
}

.record__head h3 {
  margin-top: 0.125rem;
  font-size: var(--step-2);
  letter-spacing: -0.02em;
}

.record__seal {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.75rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--brand-ink);
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}

.record__steps {
  display: grid;
  gap: 0.25rem;
  margin-top: 1rem;
}

.record__steps li {
  position: relative;
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.5625rem 0.625rem 0.5625rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: var(--step--1);
}

.record__steps li::before {
  content: "";
  position: absolute;
  left: 0.625rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.25rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--tint);
}

.record__steps li::after {
  content: "";
  position: absolute;
  left: calc(0.875rem - 1px);
  top: calc(50% + 0.5rem);
  height: calc(100% - 0.75rem);
  border-left: 2px solid var(--tint);
}

.record__steps li:last-child::after {
  display: none;
}

.record__steps time {
  color: var(--brand-ink);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
}

.record__steps span {
  font-weight: 500;
}

.record__steps em {
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-style: normal;
  white-space: nowrap;
}

.record__steps .record__human {
  background: var(--saffron-tint);
}

.record__steps .record__human::before {
  background: var(--saffron);
  box-shadow: 0 0 0 3px #FCE3B0;
}

.record__steps .record__human span {
  font-weight: 700;
}

.record__steps .record__human em {
  color: var(--saffron-ink);
  font-weight: 700;
}

.record__foot {
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px dashed var(--line-strong);
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.frameworks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.frameworks li {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem 1.5rem;
  background: var(--bg);
  border: 1px solid #D6CCF3;
  box-shadow: var(--shadow-sm);
}

.frameworks h3 {
  color: var(--brand-ink);
  font-size: var(--step-2);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.frameworks p {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.sec__cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

@media (max-width: 64rem) {
  .sec {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .record {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .frameworks {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .frameworks li {
    grid-column: span 2;
  }

  .frameworks li:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .frameworks li:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

@media (max-width: 40rem) {
  .sec {
    grid-template-columns: minmax(0, 1fr);
  }

  .record {
    padding: 0.625rem;
  }

  .record__card {
    padding: 1.125rem;
  }

  .record__steps li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.125rem;
  }

  .frameworks {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.75rem;
  }

  .frameworks li:nth-child(n) {
    grid-column: auto;
    padding: 1.75rem 1.25rem 1.5rem;
  }

  .frameworks li:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 24rem) {
  .frameworks {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Logo strip */

.logo-strip {
  padding-block: 3rem;
}

.logo-strip__title {
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--ink-soft);
}

.logo-strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  margin-top: 1.5rem;
}

/* Insights */

.articles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 1rem + 1vw, 2rem);
}

.article {
  position: relative;
  padding-bottom: 1.125rem;
  border-bottom: 1px solid var(--line-strong);
}

.article__media {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.article__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article:hover .article__media img {
  transform: scale(1.04);
}

.article__label {
  position: absolute;
  left: 0;
  bottom: 0;
  display: grid;
  gap: 0.125rem;
  padding: 0.75rem 1.125rem;
  background: var(--brand);
  color: #fff;
}

.article__label span {
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 700;
}

.article__label time {
  color: #E5DEFD;
  font-size: 0.8125rem;
}

.article h3 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.125rem;
  font-size: var(--step-1);
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.article h3 a {
  color: var(--ink);
  text-decoration: none;
}

.article h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.article h3 svg {
  flex: none;
  margin-top: 0.25rem;
  color: var(--brand);
  transition: transform 0.2s ease;
}

.article:hover h3 a {
  color: var(--brand-ink);
}

.article:hover h3 svg {
  transform: translate(2px, -2px);
}

.article:focus-within {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.article h3 a:focus-visible {
  outline: none;
}

.article__excerpt {
  margin-top: 0.375rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

@media (max-width: 60rem) {
  .articles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 36rem) {
  .articles {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* CTA */

.cta__frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  padding: clamp(1.25rem, 0.5rem + 3vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 0;
  background-color: var(--soft);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta__copy {
  display: flex;
  flex-direction: column;
}

.cta__copy h2 {
  font-size: var(--step-4);
  letter-spacing: -0.04em;
}

.cta__copy p {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: var(--step-1);
  max-width: 28rem;
}

.cta__copy .cta__email {
  font-size: var(--step-0);
}

.cta__photo {
  margin-top: auto;
  padding-top: 2rem;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.form {
  display: grid;
  gap: 1.25rem;
  align-content: start;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 0.375rem;
}

.field label {
  font-size: var(--step--1);
  font-weight: 600;
}

.req {
  color: var(--saffron-ink);
}

.field input[type="text"],
.field input[type="email"],
.field select {
  width: 100%;
  min-height: 3rem;
  padding: 0.625rem 0.875rem;
  background: var(--bg);
  border: 1px solid #827C98;
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
}

.select {
  position: relative;
}

.select select {
  padding-right: 2.75rem;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  text-overflow: ellipsis;
}

.select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.25rem;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.375rem;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
  pointer-events: none;
  transition: transform 0.2s ease;
}

.select.is-open::after,
.select:has(select:open)::after {
  transform: translateY(0.3125rem) rotate(225deg);
}

.field input:hover,
.field select:hover {
  border-color: var(--ink-soft);
}

.field input:focus-visible,
.field select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--ink);
}

.field [aria-invalid="true"] {
  border-color: var(--error);
}

.field__error {
  color: var(--error);
  font-size: var(--step--1);
  font-weight: 600;
}

.field__error:empty {
  display: none;
}

.field--check {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.25rem 0.75rem;
}

.field--check input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.125rem 0 0;
  accent-color: var(--brand);
}

.field--check label {
  font-weight: 400;
}

.field--check .field__error {
  grid-column: 2;
}

.field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__note {
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.form .btn {
  justify-self: start;
}

.form__summary {
  padding: 0.875rem 1rem;
  border-left: 4px solid var(--error);
  border-radius: var(--radius-sm);
  background: #FDECEA;
  font-size: var(--step--1);
}

.form__summary:empty {
  display: none;
}

.form__summary.is-success {
  border-left-color: var(--brand);
  background: var(--tint);
}

.form__done:focus {
  outline: none;
}

.form__done h3 {
  font-size: var(--step-2);
}

.form__done p {
  margin-top: 0.75rem;
  color: var(--ink-soft);
}

@media (max-width: 56rem) {
  .cta__frame {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta__photo {
    display: none;
  }
}

@media (max-width: 36rem) {
  .cta__frame {
    padding: 1rem;
    border-radius: var(--radius-md);
  }
}

/* Footer */

.site-footer {
  padding-top: clamp(3.5rem, 2.5rem + 3vw, 5rem);
  background-color: var(--dark);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  color: #EDEAF7;
  font-size: var(--step--1);
}

.site-footer :focus-visible {
  outline-color: #B7A3FF;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas:
    "contact links"
    "contact chips";
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-links {
  grid-area: links;
}

.footer-links ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: 100%;
}

.footer-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-links li:not(:nth-child(3n + 1)) {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-links a {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
  min-height: 8rem;
  padding: 1.25rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.footer-links svg {
  color: #B7A3FF;
  transition: transform 0.2s ease;
}

.footer-links a:hover svg {
  transform: translate(2px, -2px);
}

.footer-contact {
  grid-area: contact;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-contact .wordmark img {
  height: 2.5rem;
}

.footer-contact p {
  max-width: 26rem;
  margin-top: 0.625rem;
  color: #C3BDD9;
}

.footer-contact__details {
  margin-top: auto;
  padding-top: 6rem;
}

.footer-contact address {
  color: #C3BDD9;
  font-style: normal;
  line-height: 1.8;
}

.footer-contact__label {
  color: #fff;
  font-size: var(--step-1);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.footer-contact .footer-contact__label + address {
  margin-top: 0.5rem;
}

.footer-contact .footer-contact__reach {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-contact address a {
  color: #fff;
  font-weight: 600;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-decoration-thickness: 1px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease, text-decoration-thickness 0.2s ease;
}

.footer-contact address a:hover {
  color: #CDBFFF;
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}

.footer-chips {
  grid-area: chips;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 0.5rem;
  padding: 1.5rem 1.25rem;
}

.footer-chips a {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.footer-chips a:hover,
.footer-chips a:focus-visible {
  background: var(--tint);
  border-color: var(--tint);
  color: var(--brand-ink);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #C3BDD9;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.5rem;
}

.site-footer__legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.site-footer__legal a {
  display: inline-block;
  padding-block: 0.25rem;
  color: #EDEAF7;
  text-decoration: none;
}

.site-footer__legal a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 56rem) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "contact"
      "links"
      "chips";
  }

  .footer-contact {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .footer-contact__details {
    padding-top: 2.5rem;
  }

  .footer-links ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-links li {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 0;
  }

  .footer-links li:not(:nth-child(3n + 1)) {
    border-left: 0;
  }

  .footer-links li:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }

  .footer-links a {
    min-height: 5.5rem;
  }
}

@media (max-width: 30rem) {
  .footer-contact {
    padding: 1.5rem 1.25rem;
  }

  .footer-contact__details {
    padding-top: 2rem;
  }

  .footer-chips {
    padding: 1.25rem;
  }

  .site-footer__legal {
    margin-top: 1.5rem;
  }
}

/* Cookie notice */

.cookie {
  position: fixed;
  inset: auto 0 0;
  z-index: 60;
  padding-block: 1rem;
  background: var(--bg);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(21, 17, 44, 0.12);
}

.cookie__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie__actions {
  display: flex;
  gap: 0.75rem;
}

/* Inner page hero */

.page-hero {
  --header-space: calc(4.75rem + 2px);
  margin-top: calc(-1 * var(--header-space));
  padding-block: calc(var(--header-space) + clamp(3rem, 2rem + 4vw, 5.5rem)) clamp(3rem, 2rem + 4vw, 5rem);
  background-color: #FBFBFD;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  border-bottom: 1px solid var(--line);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.page-hero__lead {
  max-width: 34rem;
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: var(--step-1);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (max-width: 56rem) {
  .page-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Crosshair frame, shared with the industry cards on the home page */

.frame {
  position: relative;
  border: 1px solid #D6CCF3;
}

.frame::before {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(var(--brand), var(--brand)) 6px 0 / 1px 13px no-repeat,
    linear-gradient(var(--brand), var(--brand)) 0 6px / 13px 1px no-repeat,
    linear-gradient(var(--brand), var(--brand)) calc(100% - 6px) 0 / 1px 13px no-repeat,
    linear-gradient(var(--brand), var(--brand)) 100% 6px / 13px 1px no-repeat,
    linear-gradient(var(--brand), var(--brand)) 6px 100% / 1px 13px no-repeat,
    linear-gradient(var(--brand), var(--brand)) 0 calc(100% - 6px) / 13px 1px no-repeat,
    linear-gradient(var(--brand), var(--brand)) calc(100% - 6px) 100% / 1px 13px no-repeat,
    linear-gradient(var(--brand), var(--brand)) 100% calc(100% - 6px) / 13px 1px no-repeat;
}

/* Platform: layered stack illustration */

.stack {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
}

.stack__art {
  width: 100%;
  height: auto;
}

.plate {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.plate path {
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.plate--agents .p-t { fill: #FFFFFF; stroke: #CDC8DD; }
.plate--agents .p-l { fill: #F4F1FE; stroke: #CDC8DD; }
.plate--agents .p-r { fill: #E6DEFD; stroke: #CDC8DD; }

.plate--orch .p-t { fill: #EEE9FD; stroke: #B7A3FF; }
.plate--orch .p-l { fill: #D6CCF3; stroke: #B7A3FF; }
.plate--orch .p-r { fill: #C3B3F5; stroke: #B7A3FF; }

.plate--gov .p-t { fill: #7A52E6; stroke: #3A0FAD; }
.plate--gov .p-l { fill: #4B17D6; stroke: #3A0FAD; }
.plate--gov .p-r { fill: #3A0FAD; stroke: #3A0FAD; }

.plate--models .p-t { fill: #2A2350; stroke: #15112C; }
.plate--models .p-l { fill: #15112C; stroke: #15112C; }
.plate--models .p-r { fill: #0D0A1E; stroke: #15112C; }

.cube path {
  stroke: #3A0FAD;
  stroke-width: 1;
}

.cube .c-t { fill: #7A52E6; }
.cube .c-l { fill: #4B17D6; }
.cube .c-r { fill: #3A0FAD; }

.cube--human path { stroke: #E8B65A; }
.cube--human .c-t { fill: #FEF3DC; }
.cube--human .c-l { fill: #F9DDA3; }
.cube--human .c-r { fill: #F5C66B; }

.stack:has([data-layer="agents"]:is(:hover, :focus-visible)) .plate--agents,
.stack:has([data-layer="orch"]:is(:hover, :focus-visible)) .plate--orch,
.stack:has([data-layer="gov"]:is(:hover, :focus-visible)) .plate--gov,
.stack:has([data-layer="models"]:is(:hover, :focus-visible)) .plate--models {
  transform: translateX(-10px);
}

.stack__labels {
  position: relative;
}

.stack__labels li {
  position: absolute;
  top: var(--y);
  left: 0;
  right: 0;
  transform: translateY(-50%);
}

.stack__labels li::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: clamp(0.75rem, 3vw, 2rem);
  border-top: 1.5px dashed var(--line-control);
}

.stack__labels a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.375rem 0.75rem 0.375rem 0.375rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-size: var(--step--1);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.stack__labels a:hover {
  border-color: var(--brand);
  color: var(--brand-ink);
}

.stack__num {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 800;
}

[data-layer="agents"] .stack__num { box-shadow: inset 0 0 0 1.5px var(--line-control); }
[data-layer="orch"] .stack__num { background: var(--tint); box-shadow: inset 0 0 0 1.5px #B7A3FF; color: var(--brand-ink); }
[data-layer="gov"] .stack__num { background: var(--brand); color: #fff; }
[data-layer="models"] .stack__num { background: var(--dark); color: #fff; }

@media (max-width: 30rem) {
  .stack {
    grid-template-columns: minmax(0, 1fr);
  }

  .stack__labels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .stack__labels li {
    position: static;
    transform: none;
  }

  .stack__labels li::before {
    display: none;
  }

  .stack__labels a {
    width: 100%;
  }
}

/* Platform: layer chapters */

.chapters {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 9.6fr);
  gap: clamp(2rem, 1rem + 2.5vw, 3.5rem);
  align-items: start;
}

.chapters__index {
  position: sticky;
  top: 7rem;
}

.stack-mini {
  width: 100%;
  max-width: 13rem;
  height: auto;
  overflow: visible;
}

.chapters[data-active="agents"] .stack-mini .plate--agents,
.chapters[data-active="orch"] .stack-mini .plate--orch,
.chapters[data-active="gov"] .stack-mini .plate--gov,
.chapters[data-active="models"] .stack-mini .plate--models {
  transform: translate(-22px, -6px);
  filter: drop-shadow(0 12px 14px rgba(75, 23, 214, 0.3));
}

.chapters__links {
  margin-top: 1.75rem;
  border-left: 2px solid var(--line);
}

.chapters__links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: -2px;
  padding: 0.625rem 0 0.625rem 1rem;
  border-left: 2px solid transparent;
  color: var(--ink-soft);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.chapters__links a:hover {
  color: var(--ink);
}

.chapters__links a[aria-current="true"] {
  border-left-color: var(--brand);
  color: var(--brand-ink);
}

.chapters__num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.chapters__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.chapter {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas:
    "head head"
    "lead spec"
    "visual visual";
  align-content: start;
  background: var(--bg);
  border: 1px solid #D6CCF3;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 7rem;
}

.chapter__head {
  grid-area: head;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 1.25rem clamp(1.25rem, 0.75rem + 2vw, 2rem);
  border-bottom: 1px solid var(--line);
}

.chapter__head > div {
  flex: 1 1 8rem;
  min-width: 0;
}

.chapter__head h3 {
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  letter-spacing: -0.03em;
}

.chapter__tag {
  margin-top: 0.25rem;
  color: var(--brand-ink);
  font-size: var(--step--1);
  font-weight: 700;
}

.chapter__count {
  margin-left: auto;
  padding: 0.1875rem 0.625rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.chapter__lead {
  grid-area: lead;
  padding: clamp(1.25rem, 0.75rem + 2vw, 2rem);
  color: var(--ink-soft);
  font-size: var(--step-1);
}

.chapter__spec {
  grid-area: spec;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(1.25rem, 0.75rem + 2vw, 2rem) clamp(1.25rem, 0.75rem + 2vw, 2rem) clamp(1.25rem, 0.75rem + 2vw, 2rem) 0;
}

.chapter__spec div {
  padding-left: 0.875rem;
  border-left: 2px solid var(--line-strong);
}

.chapter__spec div:last-child {
  border-left-color: var(--saffron);
}

.chapter__spec dt {
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 600;
}

.chapter__spec dd {
  margin-top: 0.25rem;
  font-size: var(--step--1);
  font-weight: 600;
  line-height: 1.45;
}

.chapter__visual {
  position: relative;
  isolation: isolate;
  grid-area: visual;
  display: grid;
  align-content: center;
  min-width: 0;
  padding: clamp(2.5rem, 1.75rem + 2.5vw, 3.75rem) clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  border-top: 1px solid var(--line);
  background: var(--dark);
  overflow: hidden;
}

.chapter__photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.05);
}

.chapter__visual::before,
.chapter__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.chapter__visual::before {
  z-index: -2;
  background: var(--brand);
  mix-blend-mode: multiply;
  opacity: 0.3;
}

.chapter__visual::after {
  z-index: -1;
  background: rgba(21, 17, 44, 0.28);
}

.chapter__visual > .panel {
  position: relative;
  z-index: 1;
  width: 80%;
  justify-self: end;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 36px 70px -28px rgba(8, 5, 26, 0.75), 0 2px 6px rgba(8, 5, 26, 0.25);
}

.chapter[data-chapter="orch"] .chapter__visual > .panel,
.chapter[data-chapter="models"] .chapter__visual > .panel {
  justify-self: start;
}

.handoff {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: fit-content;
  margin: 2.5rem auto;
  padding: 0.375rem 1rem 0.375rem 0.5rem;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: var(--step--1);
  font-weight: 600;
}

.handoff::before,
.handoff::after {
  content: "";
  position: absolute;
  left: 50%;
  height: 2.5rem;
  border-left: 2px dashed var(--brand);
}

.handoff::before {
  bottom: 100%;
}

.handoff::after {
  top: 100%;
}

.handoff__icon {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--tint);
  color: var(--brand);
}

.layer__num {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
}

.layer__num--agents { background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line-control); }
.layer__num--orch { background: var(--tint); box-shadow: inset 0 0 0 1.5px #B7A3FF; color: var(--brand-ink); }
.layer__num--gov { background: var(--brand); color: #fff; }
.layer__num--models { background: var(--dark); color: #fff; }

@media (max-width: 60rem) {
  .chapters {
    grid-template-columns: minmax(0, 1fr);
  }

  .chapters__index {
    display: none;
  }
}

@media (max-width: 64rem) {
  .chapter__visual > .panel {
    width: 100%;
  }
}

@media (max-width: 52rem) {
  .chapter {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "lead"
      "visual"
      "spec";
  }

  .chapter__lead {
    padding-bottom: 1.25rem;
  }

  .chapter__spec {
    padding: 1.25rem;
  }

  .chapter__visual {
    border-block: 1px solid var(--line);
  }
}

@media (max-width: 30rem) {
  .chapter__visual {
    padding: 0.75rem;
  }
}

/* Platform: sample panels */

.panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: var(--shadow);
  font-size: var(--step--1);
  overflow: hidden;
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.panel__title {
  font-weight: 700;
}

.panel__scroll {
  overflow-x: auto;
}

.panel__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.mono {
  color: var(--brand-ink);
  font-family: var(--font-mono);
  font-size: 0.9em;
  font-weight: 600;
}

.panel__title .mono {
  margin-left: 0.25rem;
}

.grid-table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
  text-align: left;
}

.grid-table th,
.grid-table td {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.4;
}

.grid-table thead th {
  padding-block: 0.5rem;
  background: var(--soft);
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 600;
}

.grid-table tbody tr:last-child > * {
  border-bottom: 0;
}

.grid-table tbody th {
  font-weight: 650;
}

.kind {
  display: block;
  width: fit-content;
  margin-top: 0.25rem;
  padding: 0 0.375rem;
  border-radius: var(--radius-sm);
  background: var(--soft);
  color: var(--ink-soft);
  font-size: 0.6875rem;
  font-weight: 700;
}

.kind--field {
  background: var(--tint);
  color: var(--brand-ink);
}

.person {
  color: var(--saffron-ink);
  font-weight: 700;
}

.run {
  padding: 0.5rem;
}

.run__step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
}

.run__step p:first-child {
  font-weight: 600;
  line-height: 1.35;
}

.run__tool {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.run__icon {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--tint);
  color: var(--brand);
}

.run__state {
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--brand-ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.run__step.is-running {
  background: var(--tint);
  box-shadow: inset 3px 0 0 var(--brand);
}

.run__step.is-running .run__icon {
  background: var(--bg);
  box-shadow: inset 0 0 0 2px var(--brand);
}

.run__step.is-running .run__icon::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brand);
}

.run__step.is-running .run__state {
  background: var(--brand);
  color: #fff;
}

.run__step.is-waiting .run__icon,
.run__step.is-waiting .run__state {
  background: var(--saffron-tint);
  color: var(--saffron-ink);
}

.budget {
  padding: 1rem 1.25rem 1.125rem;
  border-bottom: 1px solid var(--line);
}

.budget__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 600;
}

.budget__row strong {
  color: var(--brand-ink);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-variant-numeric: tabular-nums;
}

.budget__bar {
  position: relative;
  height: 0.625rem;
  margin-top: 0.625rem;
  border-radius: 999px;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--line);
}

.budget__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 62%;
  border-radius: inherit;
  background: var(--brand);
}

.budget__mark {
  position: absolute;
  top: -0.25rem;
  bottom: -0.25rem;
  left: 80%;
  width: 2px;
  background: var(--saffron);
}

.budget__note {
  margin-top: 0.625rem;
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.model-chip {
  display: inline-block;
  padding: 0.0625rem 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--tint);
  color: var(--brand-ink);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.model-chip--reason {
  background: var(--brand);
  color: #fff;
}

.model-chip--video {
  background: var(--dark);
  color: #fff;
}

.models li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
}

.models li + li {
  border-top: 1px solid var(--line);
}

.models__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
}

.models__name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
}

.models__does {
  color: var(--ink-soft);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.models__out {
  max-width: 10rem;
  padding: 0.375rem 0.625rem;
  border-left: 2px solid var(--saffron);
  background: var(--saffron-tint);
  color: var(--saffron-ink);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 30rem) {
  .models li,
  .run__step {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .models__out,
  .run__state {
    grid-column: 2;
    justify-self: start;
    max-width: none;
  }
}

/* Platform: annotated claim walk-through */

.pin {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 1.375rem;
  height: 1.375rem;
  margin-left: 0.5rem;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  vertical-align: 0.1em;
}

.walk {
  background-color: #FAF9FD;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
}

.walk__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.875rem clamp(1rem, 0.5rem + 2vw, 2rem);
  border-bottom: 1px solid #D6CCF3;
  background: var(--bg);
  font-size: var(--step--1);
  font-weight: 600;
}

.walk__bar .mono {
  margin-right: 0.5rem;
}

.walk__agent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.walk__agent .pin {
  margin: 0;
}

.walk__live {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--brand-ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.walk__live::before {
  content: "";
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--brand);
}

.walk__flow {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) auto minmax(0, 1.25fr) auto minmax(0, 1.1fr);
  gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
  align-items: center;
  padding: clamp(1.25rem, 0.75rem + 2.5vw, 3rem) clamp(1rem, 0.5rem + 2vw, 2rem);
}

.walk__step {
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.walk__label {
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 600;
}

.walk__title {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.3;
}

.walk__facts {
  display: grid;
  gap: 0.375rem;
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px dashed var(--line-strong);
  font-size: var(--step--1);
}

.walk__facts div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.walk__facts dt {
  color: var(--ink-soft);
}

.walk__facts dd {
  font-weight: 600;
  text-align: right;
}

.walk__checks ul {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.875rem;
}

.walk__checks li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--step--1);
  font-weight: 600;
  line-height: 1.4;
}

.walk__ok {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--tint);
}

.walk__ok::after {
  content: "";
  width: 0.3rem;
  height: 0.55rem;
  margin-top: -0.125rem;
  border: solid var(--brand);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.walk__checks .pin {
  margin-left: auto;
}

.walk__arrow {
  color: var(--brand);
}

.fork {
  position: relative;
  display: grid;
  gap: 2.75rem;
}

.fork__branch {
  position: relative;
  padding-left: 3.5rem;
}

.fork__branch:first-child::after {
  content: "";
  position: absolute;
  left: calc(1.125rem - 1px);
  top: 1.125rem;
  height: calc(100% + 2.75rem);
  border-left: 2px dashed var(--line-control);
}

.fork__node {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}

.fork__branch--person .fork__node {
  border: 1.5px solid var(--saffron);
  background: var(--saffron-tint);
  color: var(--saffron-ink);
}

.fork__when {
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 600;
}

.fork__branch--person .fork__when {
  color: var(--saffron-ink);
}

.fork__then {
  margin-top: 0.125rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.3;
}

.fork__then .pin {
  margin-left: 0.5rem;
  vertical-align: 0.1em;
}

.fork__note {
  margin-top: 0.375rem;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.walk__foot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem clamp(1rem, 0.5rem + 2vw, 2rem);
  border-top: 1px solid #D6CCF3;
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.legend {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.legend li {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-strong);
}

.legend .pin {
  margin: 0;
}

.legend h3 {
  margin-top: 0.875rem;
  font-size: var(--step-1);
  letter-spacing: -0.015em;
}

.legend p {
  margin-top: 0.375rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

@media (max-width: 64rem) {
  .walk__flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .walk__arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 36rem) {
  .legend {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Platform: switchboard */

.switchboard {
  position: relative;
}

.switchboard__wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.switchboard__wires path {
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.5;
  stroke-dasharray: 5 6;
  vector-effect: non-scaling-stroke;
}

.switchboard__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
}

.switch {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon name"
    "icon how"
    "access access";
  gap: 0.125rem 1rem;
  align-content: center;
  padding: 1.25rem 1.375rem;
  background: var(--bg);
  border: 1px solid var(--line);
}

.switch .control__icon {
  grid-area: icon;
}

.switch h3 {
  grid-area: name;
  align-self: end;
  font-size: var(--step-1);
  letter-spacing: -0.015em;
}

.switch__how {
  grid-area: how;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.switch__access {
  grid-area: access;
  justify-self: start;
  margin-top: 0.875rem;
  padding: 0.125rem 0.625rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 700;
}

.switch__access--write {
  border-color: transparent;
  background: var(--tint);
  color: var(--brand-ink);
}

.switchboard__grid > li:nth-child(1),
.switchboard__grid > li:nth-child(2),
.switchboard__grid > li:nth-child(3) {
  grid-row: 1;
}

.switchboard__grid > li:nth-child(4) { grid-area: 2 / 1; }
.switchboard__core { grid-area: 2 / 2; }
.switchboard__grid > li:nth-child(6) { grid-area: 2 / 3; }

.switchboard__core {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.25rem;
  padding: 1.5rem;
  background: var(--dark);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.switchboard__core svg {
  margin-bottom: 0.5rem;
}

.switchboard__core-name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
}

.switchboard__core-note {
  color: #C3BDD9;
  font-size: 0.8125rem;
}

.switchboard__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

@media (max-width: 52rem) {
  .switchboard__wires {
    display: none;
  }

  .switchboard__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 0.75rem;
  }

  .switchboard__grid > li {
    grid-area: auto !important;
  }

  .switchboard__grid > .switchboard__core {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
  }
}

@media (max-width: 30rem) {
  .switchboard__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Platform: deployment boundaries */

.bounds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.bound {
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.bound__art {
  padding: 1.25rem 1.5rem 0.5rem;
  border-bottom: 1px solid #D6CCF3;
  background-color: #F4F1FE;
  background-image:
    linear-gradient(rgba(75, 23, 214, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 23, 214, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
}

.bound__art svg {
  width: 100%;
  max-width: 19rem;
  height: auto;
  margin-inline: auto;
  font-family: var(--font-body);
}

.bound__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem 1.5rem 1.25rem;
}

.bound h3 {
  font-size: var(--step-2);
  letter-spacing: -0.02em;
}

.bound__body > p {
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.bound__facts {
  display: grid;
  margin-top: auto;
  padding-top: 1.25rem;
}

.bound__facts div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.625rem 0;
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
}

.bound__facts dt {
  color: var(--ink-soft);
}

.bound__facts dd {
  font-weight: 600;
}

.b-pill-text {
  fill: var(--saffron-ink);
  font-size: 12px;
  font-weight: 700;
}

.b-note {
  fill: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
}

.b-cloud {
  fill: var(--bg);
  stroke: var(--brand);
  stroke-width: 2;
  stroke-dasharray: 7 6;
  stroke-linejoin: round;
}

.b-rack {
  fill: var(--dark);
}

.b-unit {
  fill: #2A2350;
  stroke: #3F3677;
  stroke-width: 1;
}

.b-slot {
  fill: none;
  stroke: #6B5FA8;
  stroke-width: 2;
  stroke-linecap: round;
}

.b-slot--dark {
  stroke: #B7A3A0;
}

.b-note--usb {
  fill: var(--saffron-ink);
}

.b-led {
  fill: #9B7BFF;
}

.b-led--warm {
  fill: var(--saffron);
}

.b-seal {
  fill: var(--brand);
  stroke: var(--bg);
  stroke-width: 2;
}

.b-seal-tick {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.b-lock-body {
  fill: var(--ink);
}

.b-lock-shackle {
  fill: none;
  stroke: var(--ink);
  stroke-width: 5;
  stroke-linecap: round;
}

.b-keyhole {
  fill: #fff;
}

.b-dock {
  fill: var(--saffron);
}

.b-usb {
  fill: var(--saffron-tint);
  stroke: var(--saffron);
  stroke-width: 2;
  stroke-linejoin: round;
}

.bounds + .deploy__same {
  margin-top: 2.5rem;
}

@media (max-width: 64rem) {
  .bounds {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .bound {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .bound__art {
    border-bottom: 0;
    border-right: 1px solid #D6CCF3;
  }
}

@media (max-width: 40rem) {
  .bound {
    display: flex;
  }

  .bound__art {
    border-right: 0;
    border-bottom: 1px solid #D6CCF3;
  }
}

/* Platform: questions accordion */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: 7rem;
}

.faq__intro h2 {
  font-size: var(--step-3);
  letter-spacing: -0.035em;
}

.faq__intro > p {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: var(--step-1);
}

.faq__contact {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg);
}

.faq__contact p {
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.faq__contact .faq__contact-title {
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
}

.faq__contact .btn {
  margin-top: 1.25rem;
}

.faq__list {
  border-top: 1px solid var(--line-strong);
}

.faq details {
  border-bottom: 1px solid var(--line-strong);
  transition: background-color 0.2s ease;
}

.faq details[open] {
  background: var(--bg);
}

.faq summary {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  padding: 1.25rem 1rem;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover .faq__q {
  color: var(--brand-ink);
}

.faq__num {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
}

.faq details[open] .faq__num {
  color: var(--brand-ink);
}

.faq__q {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.faq__icon {
  position: relative;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line-control);
  border-radius: var(--radius);
  background: var(--bg);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.75rem;
  height: 2px;
  margin: -1px 0 0 -0.375rem;
  background: var(--brand);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq details[open] .faq__icon {
  background: var(--brand);
  border-color: var(--brand-dark);
}

.faq details[open] .faq__icon::before,
.faq details[open] .faq__icon::after {
  background: #fff;
}

.faq details[open] .faq__icon::after {
  transform: rotate(0deg);
}

.faq details p {
  max-width: 40rem;
  padding: 0 4rem 1.5rem 4rem;
  color: var(--ink-soft);
}

@media (max-width: 56rem) {
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq__intro {
    position: static;
  }
}

@media (max-width: 30rem) {
  .faq summary {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-inline: 0.75rem;
  }

  .faq__num {
    display: none;
  }

  .faq details p {
    padding-left: 0.75rem;
  }
}

/* Agents page */

.stack__team {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.375rem 0.75rem;
  background: var(--saffron-tint);
  border: 1px solid #E8B65A;
  color: var(--saffron-ink);
  font-size: var(--step--1);
  font-weight: 700;
  line-height: 1.2;
}

.stack__dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--saffron);
}

/* Agents hero: blocks joined to their labels by leader lines (same idea as the industries hero) */

.stack--agents {
  display: block;
  max-width: 40rem;
  container-type: inline-size;
  overflow: clip;
  overflow-clip-margin: 8px;
}

.stack--agents .stack__floor {
  fill: rgba(75, 23, 214, 0.07);
  filter: blur(8px);
}

.stack--agents .plate:hover,
.stack--agents:has([data-layer]:is(:hover, :focus-visible)) .plate {
  transform: none;
}

.stack--agents .lead path {
  fill: none;
  stroke: var(--line-control);
  stroke-width: 1.25;
  stroke-dasharray: 3 4;
  transition: stroke 0.2s ease;
}

.stack--agents .lead circle {
  fill: var(--brand);
  stroke: #fff;
  stroke-width: 2;
  transition: fill 0.2s ease;
}

.stack--agents .lead--team circle {
  fill: var(--saffron);
}

.stack--agents:has([data-layer="agents"]:is(:hover, :focus-visible)) .lead--agents path,
.stack--agents:has([data-layer="orch"]:is(:hover, :focus-visible)) .lead--orch path,
.stack--agents:has([data-layer="gov"]:is(:hover, :focus-visible)) .lead--gov path,
.stack--agents:has([data-layer="models"]:is(:hover, :focus-visible)) .lead--models path {
  stroke: var(--brand);
  stroke-dasharray: none;
}

.stack--agents:has([data-layer="agents"]:is(:hover, :focus-visible)) .plate--agents,
.stack--agents:has([data-layer="orch"]:is(:hover, :focus-visible)) .plate--orch,
.stack--agents:has([data-layer="gov"]:is(:hover, :focus-visible)) .plate--gov,
.stack--agents:has([data-layer="models"]:is(:hover, :focus-visible)) .plate--models {
  filter: drop-shadow(0 10px 14px rgba(75, 23, 214, 0.3));
}

.stack--agents .stack__labels {
  position: absolute;
  inset: 0;
}

.stack--agents .stack__labels li {
  left: var(--x);
  right: auto;
  transform: translate(0, -50%);
  font-size: clamp(0.6875rem, 2.2cqw, 0.875rem);
}

.stack--agents .stack__labels li.stack__label--left {
  transform: translate(-100%, -50%);
}

.stack--agents .stack__labels li.stack__label--bottom {
  transform: translate(-50%, -50%);
}

.stack--agents .stack__labels li::before {
  display: none;
}

.stack--agents .stack__labels a,
.stack--agents .stack__team {
  min-height: 0;
  font-size: inherit;
  white-space: nowrap;
}

.stack--agents .stack__labels a {
  min-height: 2.5rem;
}

.stack--agents .stack__team {
  min-height: 2.5rem;
}

@container (max-width: 32rem) {
  .stack--agents .stack__art {
    width: 150%;
    max-width: none;
    margin-left: -14.3%;
  }

  .stack--agents .lead {
    display: none;
  }

  .stack--agents .stack__labels {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  .stack--agents .stack__labels li,
  .stack--agents .stack__labels li.stack__label--left,
  .stack--agents .stack__labels li.stack__label--bottom {
    position: static;
    transform: none;
    font-size: 0.875rem;
  }

  .stack--agents .stack__labels li.stack__label--team {
    grid-column: 1 / -1;
  }

  .stack--agents .stack__labels a,
  .stack--agents .stack__team {
    width: 100%;
  }
}

/* Four agents: alternating two-column rows */

.features {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: var(--bg);
  border: 1px solid var(--line);
  scroll-margin-top: 7rem;
}

.feature--flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.feature--flip .feature__copy {
  order: 2;
}

.feature__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
}

.feature h3 {
  font-size: var(--step-3);
  letter-spacing: -0.035em;
}

.feature__lead {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: var(--step-1);
}

.feature .btn {
  align-self: flex-start;
  margin-top: 1.75rem;
}

.feature__media {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 30rem;
  padding: clamp(1rem, 0.5rem + 2vw, 2rem);
  overflow: hidden;
  background: var(--dark);
}

.feature--flip .feature__media {
  justify-content: flex-end;
}

.feature__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.05);
  transition: transform 0.6s ease;
}

.feature:hover .feature__photo {
  transform: scale(1.04);
}

.feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand);
  mix-blend-mode: multiply;
  opacity: 0.28;
}

.feature__panel {
  width: min(100%, 34rem);
  box-shadow: 0 30px 60px -28px rgba(8, 5, 26, 0.7), 0 2px 6px rgba(8, 5, 26, 0.2);
}

.spec {
  margin-top: 1.75rem;
  border-top: 1px solid var(--line-strong);
}

.spec div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--line-strong);
}

.spec dt {
  padding-top: 0.125rem;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
}

.spec dd {
  font-size: var(--step--1);
  line-height: 1.5;
}

.panel .mock {
  border-radius: 0;
  box-shadow: none;
}

.panel .mock--docs {
  padding: 1.25rem;
}

.panel .mock--code {
  padding: 1rem 1.25rem 1.25rem;
}

.panel .mock--txn {
  padding: 0.75rem;
}

.alerts li {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) auto;
  gap: 0.875rem;
  align-items: center;
  padding: 0.875rem 1.25rem;
}

.alerts li + li {
  border-top: 1px solid var(--line);
}

.alerts time {
  color: var(--brand-ink);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
}

.alerts__what {
  font-weight: 650;
  line-height: 1.35;
}

.alerts__where {
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.alerts__state {
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: right;
}

.alerts .alerts__flag {
  background: var(--saffron-tint);
  box-shadow: inset 3px 0 0 var(--saffron);
}

.alerts__flag .alerts__state {
  color: var(--saffron-ink);
  font-weight: 700;
}

@media (max-width: 60rem) {
  .feature,
  .feature--flip {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature--flip .feature__copy {
    order: 0;
  }

  .feature__media {
    min-height: 24rem;
  }
}

@media (max-width: 40rem) {
  .feature__media {
    min-height: 0;
    padding-top: 9rem;
  }

  .alerts li {
    grid-template-columns: 3.25rem minmax(0, 1fr);
  }

  .alerts__state {
    grid-column: 2;
    text-align: left;
  }

  .spec div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }
}

/* Catalogue: pinned group bar over joined grids (after RunLoop's integrations page) */

.cat-nav {
  position: sticky;
  top: 5.5rem;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
  background: var(--bg);
  border: 1px solid var(--line-strong);
}

.cat-nav__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3.5rem;
  padding: 0.75rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.cat-nav__item + .cat-nav__item {
  border-left: 1px solid var(--line);
}

.cat-nav__icon {
  flex: none;
  color: var(--brand);
  transition: color 0.15s ease;
}

.cat-nav__count {
  flex: none;
  padding: 0.0625rem 0.5rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--brand-ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.cat-nav__item:hover {
  background: var(--tint);
  color: var(--brand-ink);
}

.cat-nav__item[aria-current="true"] {
  background: var(--brand);
  color: #fff;
}

.cat-nav__item[aria-current="true"] .cat-nav__icon {
  color: #fff;
}

.cat-nav__item[aria-current="true"] .cat-nav__count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.cat-groups {
  display: grid;
  gap: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}

.cat-group {
  scroll-margin-top: 10rem;
}

.cat-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-bottom: 1rem;
}

.cat-group__head h3 {
  font-size: var(--step-2);
  letter-spacing: -0.02em;
}

.cat-group__head p {
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.cat-item {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background: var(--bg);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  transition: background-color 0.2s ease;
}

.cat-item:hover {
  background: var(--soft);
}

.cat-item__icon {
  color: var(--brand);
}

.cat-item h4 {
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.cat-item p {
  margin-top: 0.375rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.cat-item__sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: auto;
  padding-top: 1rem;
}

.cat-item__sectors li {
  padding: 0.1875rem 0.625rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--brand-ink);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.cat-note {
  margin-top: 2.5rem;
  color: var(--ink-soft);
  font-size: var(--step-0);
}

@media (max-width: 64rem) {
  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 48rem) {
  .cat-nav {
    position: static;
    display: flex;
    overflow-x: auto;
  }

  .cat-nav__item {
    flex: none;
    white-space: nowrap;
  }
}

@media (max-width: 36rem) {
  .cat-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Rollout: steps beside a rising staircase */

.rollout {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}

.rollout h2 {
  font-size: var(--step-3);
  letter-spacing: -0.035em;
}

.rollout__lead {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: var(--step-1);
}

.rollout__steps {
  margin-top: 2rem;
  border-top: 1px solid var(--line-strong);
}

.rollout__steps li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--line-strong);
}

.rollout__num {
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.rollout__steps h3 {
  font-size: var(--step-1);
  letter-spacing: -0.015em;
}

.rollout__steps p {
  margin-top: 0.25rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.rollout__art svg {
  width: 100%;
  max-width: 30rem;
  height: auto;
  margin-inline: auto;
}

.rollout__art figcaption {
  max-width: 26rem;
  margin: 1rem auto 0;
  color: var(--ink-soft);
  font-size: var(--step--1);
  text-align: center;
}

.stair-num circle {
  fill: var(--bg);
  stroke: var(--brand);
  stroke-width: 1.5;
}

.stair-num text {
  fill: var(--brand-ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 56rem) {
  .rollout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Controls band over a photo */

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.bleed {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}

.bleed :focus-visible {
  outline-color: #B7A3FF;
}

.bleed__photo {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.bleed__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.05);
}

.bleed::before,
.bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bleed::before {
  z-index: -2;
  background: var(--brand);
  mix-blend-mode: multiply;
  opacity: 0.4;
}

.bleed::after {
  z-index: -1;
  background: var(--scrim, rgba(21, 17, 44, 0.6));
}

.glass {
  background: rgba(21, 17, 44, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass {
    background: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
}

.guardband {
  --scrim: linear-gradient(90deg, rgba(21, 17, 44, 0.9) 0%, rgba(21, 17, 44, 0.6) 100%);
  padding-block: var(--space-section);
}

.guard__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}

.guardband h2 {
  color: #fff;
  font-size: var(--step-3);
  letter-spacing: -0.035em;
}

.guard__lead {
  margin-top: 1rem;
  color: #E4E0F2;
  font-size: var(--step-1);
}

.guard__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.guard__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guard__list div {
  padding: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.guard__list div:nth-child(even) {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.guard__list div:nth-child(n + 3) {
  border-bottom: 0;
}

.guard__list dt {
  display: grid;
  gap: 1rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.25;
}

.guard__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.guard__list dd {
  margin-top: 0.5rem;
  color: #E4E0F2;
  font-size: var(--step--1);
}

@media (max-width: 64rem) {
  .guard__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 36rem) {
  .guard__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .guard__list div:nth-child(even) {
    border-left: 0;
  }

  .guard__list div:nth-child(3) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }
}

/* Industries page */

.stack__labels--six li::before {
  width: clamp(0.75rem, 2vw, 1.5rem);
}

/* Sector cards: three columns, image on top (after the client reference) */

.sector-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 0.75rem + 1vw, 1.5rem);
}

.sector-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  scroll-margin-top: 7rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sector-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.sector-card__media {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--tint);
}

.sector-card__media img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.6) contrast(1.05);
  transition: transform 0.6s ease;
}

.sector-card:hover .sector-card__media img {
  transform: scale(1.04);
}

.sector-card__media::before,
.sector-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sector-card__media::before {
  z-index: -2;
  background: var(--tint);
  opacity: 0.62;
}

.sector-card__media::after {
  z-index: -1;
  background: linear-gradient(to top, rgba(75, 23, 214, 0.72) 0%, rgba(75, 23, 214, 0.3) 40%, rgba(75, 23, 214, 0) 70%);
}

.sector-card__icon {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  background: #fff;
  color: var(--brand);
}

.sector-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}

.sector-card h3 {
  font-size: var(--step-2);
  letter-spacing: -0.02em;
}

.sector-card__intro {
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

@media (min-width: 64.0625rem) {
  .sector-card__intro {
    min-height: 3.2em;
  }
}

.sector-card .uses {
  margin-block: 1.25rem 0;
}

.sector-card__agents {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-block: 1.25rem 1.5rem;
}

.sector-card__agents a {
  display: block;
  padding: 0.1875rem 0.75rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--brand-ink);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sector-card__agents a:hover {
  background: var(--brand);
  color: #fff;
}

.sector-card__link {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--brand-ink);
  font-size: var(--step--1);
  font-weight: 700;
  text-decoration: none;
}

.sector-card__link:hover {
  text-decoration: underline;
}

@media (max-width: 64rem) {
  .sector-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 40rem) {
  .sector-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Industries hero: one block per sector, joined to its label by a leader line */

.stack--sectors .stack__floor {
  fill: rgba(75, 23, 214, 0.06);
  transform: translateY(22px);
  filter: blur(6px);
}

.stack--sectors .plate { transition: opacity 0.2s ease; }
.stack--sectors .plate path { stroke: #CDC8DD; transition: fill 0.2s ease, stroke 0.2s ease; }
.stack--sectors .plate .p-t { fill: #FFFFFF; }
.stack--sectors .plate .p-l { fill: #F4F1FE; }
.stack--sectors .plate .p-r { fill: #E6DEFD; }

.stack--sectors .lead path {
  fill: none;
  stroke: var(--line-control);
  stroke-width: 1.25;
  stroke-dasharray: 3 4;
  transition: stroke 0.2s ease, opacity 0.2s ease;
}

.stack--sectors .lead circle {
  fill: var(--brand);
  stroke: #fff;
  stroke-width: 2;
}

/* cubes in the centre, sector pills on an orbit around them */
.stack--sectors {
  display: block;
  max-width: 38rem;
}

.stack--sectors .stack__orbit {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1;
  stroke-dasharray: 2 5;
}

.stack--sectors .stack__labels {
  position: absolute;
  inset: 0;
}

.stack--sectors .stack__labels li {
  left: var(--x);
  right: auto;
  top: var(--y);
  transform: translate(-50%, -50%);
}

.stack--sectors .stack__labels li::before { display: none; }
.stack--sectors .stack__labels a { border-radius: 999px; white-space: nowrap; }

/* focus one sector: dim the rest */
.stack--sectors:has([data-layer]:is(:hover, :focus-visible)) .plate { opacity: 0.45; }
.stack--sectors:has([data-layer]:is(:hover, :focus-visible)) .lead { opacity: 0.35; }

.stack--sectors:has([data-layer="s1"]:is(:hover, :focus-visible)) .plate--s1,
.stack--sectors:has([data-layer="s2"]:is(:hover, :focus-visible)) .plate--s2,
.stack--sectors:has([data-layer="s3"]:is(:hover, :focus-visible)) .plate--s3,
.stack--sectors:has([data-layer="s4"]:is(:hover, :focus-visible)) .plate--s4,
.stack--sectors:has([data-layer="s5"]:is(:hover, :focus-visible)) .plate--s5,
.stack--sectors:has([data-layer="s6"]:is(:hover, :focus-visible)) .plate--s6 { opacity: 1; }
.stack--sectors:has([data-layer="s1"]:is(:hover, :focus-visible)) .lead--s1,
.stack--sectors:has([data-layer="s2"]:is(:hover, :focus-visible)) .lead--s2,
.stack--sectors:has([data-layer="s3"]:is(:hover, :focus-visible)) .lead--s3,
.stack--sectors:has([data-layer="s4"]:is(:hover, :focus-visible)) .lead--s4,
.stack--sectors:has([data-layer="s5"]:is(:hover, :focus-visible)) .lead--s5,
.stack--sectors:has([data-layer="s6"]:is(:hover, :focus-visible)) .lead--s6 { opacity: 1; }
.stack--sectors:has([data-layer="s1"]:is(:hover, :focus-visible)) .plate--s1 path,
.stack--sectors:has([data-layer="s2"]:is(:hover, :focus-visible)) .plate--s2 path,
.stack--sectors:has([data-layer="s3"]:is(:hover, :focus-visible)) .plate--s3 path,
.stack--sectors:has([data-layer="s4"]:is(:hover, :focus-visible)) .plate--s4 path,
.stack--sectors:has([data-layer="s5"]:is(:hover, :focus-visible)) .plate--s5 path,
.stack--sectors:has([data-layer="s6"]:is(:hover, :focus-visible)) .plate--s6 path { stroke: #3A0FAD; }
.stack--sectors:has([data-layer="s1"]:is(:hover, :focus-visible)) .plate--s1 .p-t,
.stack--sectors:has([data-layer="s2"]:is(:hover, :focus-visible)) .plate--s2 .p-t,
.stack--sectors:has([data-layer="s3"]:is(:hover, :focus-visible)) .plate--s3 .p-t,
.stack--sectors:has([data-layer="s4"]:is(:hover, :focus-visible)) .plate--s4 .p-t,
.stack--sectors:has([data-layer="s5"]:is(:hover, :focus-visible)) .plate--s5 .p-t,
.stack--sectors:has([data-layer="s6"]:is(:hover, :focus-visible)) .plate--s6 .p-t { fill: #7A52E6; }
.stack--sectors:has([data-layer="s1"]:is(:hover, :focus-visible)) .plate--s1 .p-l,
.stack--sectors:has([data-layer="s2"]:is(:hover, :focus-visible)) .plate--s2 .p-l,
.stack--sectors:has([data-layer="s3"]:is(:hover, :focus-visible)) .plate--s3 .p-l,
.stack--sectors:has([data-layer="s4"]:is(:hover, :focus-visible)) .plate--s4 .p-l,
.stack--sectors:has([data-layer="s5"]:is(:hover, :focus-visible)) .plate--s5 .p-l,
.stack--sectors:has([data-layer="s6"]:is(:hover, :focus-visible)) .plate--s6 .p-l { fill: #4B17D6; }
.stack--sectors:has([data-layer="s1"]:is(:hover, :focus-visible)) .plate--s1 .p-r,
.stack--sectors:has([data-layer="s2"]:is(:hover, :focus-visible)) .plate--s2 .p-r,
.stack--sectors:has([data-layer="s3"]:is(:hover, :focus-visible)) .plate--s3 .p-r,
.stack--sectors:has([data-layer="s4"]:is(:hover, :focus-visible)) .plate--s4 .p-r,
.stack--sectors:has([data-layer="s5"]:is(:hover, :focus-visible)) .plate--s5 .p-r,
.stack--sectors:has([data-layer="s6"]:is(:hover, :focus-visible)) .plate--s6 .p-r { fill: #3A0FAD; }
.stack--sectors:has([data-layer="s1"]:is(:hover, :focus-visible)) .lead--s1 path,
.stack--sectors:has([data-layer="s2"]:is(:hover, :focus-visible)) .lead--s2 path,
.stack--sectors:has([data-layer="s3"]:is(:hover, :focus-visible)) .lead--s3 path,
.stack--sectors:has([data-layer="s4"]:is(:hover, :focus-visible)) .lead--s4 path,
.stack--sectors:has([data-layer="s5"]:is(:hover, :focus-visible)) .lead--s5 path,
.stack--sectors:has([data-layer="s6"]:is(:hover, :focus-visible)) .lead--s6 path {
  stroke: var(--brand);
  stroke-width: 1.75;
  stroke-dasharray: none;
}

.stack--sectors .stack__num {
  background: var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--brand);
  color: var(--brand-ink);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.stack--sectors a:is(:hover, :focus-visible) .stack__num {
  background: var(--brand);
  color: #fff;
}

@media (max-width: 30rem) {
  .stack--sectors .leads,
  .stack--sectors .stack__orbit { display: none; }

  .stack--sectors .stack__labels {
    position: static;
  }

  .stack--sectors .stack__labels li {
    position: static;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stack--sectors .plate,
  .stack--sectors .plate path,
  .stack--sectors .lead path { transition: none; }
}

/* Enterprise page */

.stack--enterprise .e-boundary {
  fill: rgba(75, 23, 214, 0.035);
  stroke: var(--brand);
  stroke-width: 1.5;
  stroke-dasharray: 6 5;
}

.stack--enterprise .e-pill {
  fill: var(--bg);
  stroke: var(--line-strong);
  stroke-width: 1.25;
}

.stack--enterprise .e-pill-text,
.stack--enterprise .e-note {
  fill: var(--ink-soft);
  font-family: var(--font-body, inherit);
  font-size: 12px;
  font-weight: 700;
}

.stack--enterprise .e-link {
  fill: none;
  stroke: var(--line-control);
  stroke-width: 1.5;
  stroke-dasharray: 3 4;
}

.stack--enterprise .e-gate {
  fill: var(--brand);
  stroke: #fff;
  stroke-width: 2;
}

/* Deployment: choose by constraint */

.which__row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr);
  gap: clamp(1.25rem, 0.5rem + 2.5vw, 3rem);
  align-items: start;
  padding: clamp(1.75rem, 1rem + 2vw, 2.75rem) 0;
}

.which__name {
  display: grid;
  gap: 1rem;
}

.which__name h3 {
  font-size: var(--step-2);
  letter-spacing: -0.03em;
}

.which__icon {
  width: 4.5rem;
  height: 4.5rem;
}

.which__icon .w-frame {
  fill: var(--bg);
  stroke: var(--brand);
  stroke-width: 1.5;
}

.which__icon .w-frame--dashed {
  stroke-dasharray: 5 4;
}

.which__icon .w-frame--sealed {
  stroke-width: 2.5;
}

.which__icon .w-gate {
  fill: var(--brand);
  stroke: var(--bg);
  stroke-width: 2;
}

.which__icon .w-gate--seal {
  fill: var(--bg);
  stroke: var(--brand);
  stroke-width: 1.5;
}

.which__icon .w-lock {
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.8;
}

.which__icon .w-lock-body {
  fill: var(--brand);
}

.which__when {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.which__when span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
}

.which__facts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
}

.which__facts div {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.125rem 0.625rem;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--brand-ink);
}

.which__facts div:nth-child(2) {
  background: var(--brand);
  color: #fff;
}

.which__facts div:nth-child(3) {
  background: var(--dark);
  color: #fff;
}

.which__facts dt {
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.75;
}

.which__facts dd {
  font-size: var(--step--1);
  font-weight: 700;
  line-height: 1.35;
}

.which__help {
  max-width: 46rem;
  margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  color: var(--ink-soft);
  font-size: var(--step-0);
}

.which__help a {
  color: var(--brand-ink);
  font-weight: 700;
}

@media (max-width: 62rem) {
  .which__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .which__name {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }
}

/* Security: six questions on a ruled dark band */

.trust {
  background: var(--dark);
  color: #fff;
}

.trust__head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.trust__head h2 {
  color: #fff;
  font-size: var(--step-3);
  letter-spacing: -0.035em;
}

.trust__head p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--step-1);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.trust__cell {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1rem + 1.25vw, 2.25rem);
  background: var(--dark);
  transition: background-color 0.2s ease;
}

.trust__cell:hover {
  background: #1D1840;
}

.trust__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(183, 163, 255, 0.4);
  color: #B7A3FF;
}

.trust__cell h3 {
  color: #fff;
  font-size: var(--step-1);
  letter-spacing: -0.02em;
}

.trust__cell p {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--step--1);
  line-height: 1.6;
}

.trust__cell .trust__proof {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 700;
}

.trust__cell h3 + p {
  margin-bottom: 1.75rem;
}

.trust__cell .trust__proof span {
  display: block;
  margin-bottom: 0.125rem;
  color: #B7A3FF;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
}

.trust__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
}

.trust__foot p {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.72);
}

.trust__foot strong {
  color: #fff;
}

@media (max-width: 62rem) {
  .trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 40rem) {
  .trust__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Enterprise: opening statement on a full-bleed photo */

.assure {
  --scrim: linear-gradient(90deg, rgba(21, 17, 44, 0.92) 0%, rgba(21, 17, 44, 0.55) 100%);
  padding-block: clamp(5rem, 3rem + 8vw, 9rem);
}

.assure__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: end;
}

.assure__title {
  color: #fff;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.75rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.assure__lead {
  margin-top: 1.5rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--step-1);
}

.assure__list {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
}

.assure__list li {
  display: grid;
  justify-items: start;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.assure__pill {
  padding: 0.25rem 0.875rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--brand-ink);
  font-size: 0.8125rem;
  font-weight: 700;
}

.assure__pill--brand {
  background: var(--brand);
  color: #fff;
}

.assure__pill--light {
  background: #fff;
  color: var(--dark);
}

@media (max-width: 62rem) {
  .assure__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Deployment rows: the background deepens as the boundary seals */

.which {
  display: grid;
  gap: 0.75rem;
}

.which__row {
  padding-inline: clamp(1.25rem, 0.5rem + 2.5vw, 2.5rem);
  background: var(--soft);
}

.which__row:nth-child(2) {
  background: var(--tint);
}

.which__row:nth-child(2) .which__facts div:nth-child(1) {
  background: #fff;
}

.which__row:nth-child(3) {
  background: var(--dark);
  color: #fff;
}

.which__row:nth-child(3) .which__name h3,
.which__row:nth-child(3) .which__when {
  color: #fff;
}

.which__row:nth-child(3) .which__when span {
  color: #B7A3FF;
}

.which__row:nth-child(3) .which__icon .w-frame {
  stroke: #B7A3FF;
}

.which__row:nth-child(3) .which__icon .w-lock {
  stroke: #B7A3FF;
}

.which__row:nth-child(3) .which__icon .w-lock-body {
  fill: #B7A3FF;
}

.which__row:nth-child(3) .which__facts div:nth-child(1) {
  background: var(--tint);
}

.which__row:nth-child(3) .which__facts div:nth-child(3) {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

/* Insights: listing and article pages */

.pick {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 31rem;
  padding: clamp(1rem, 0.5rem + 1.5vw, 1.5rem);
  background: var(--dark);
}

.pick__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  overflow: hidden;
}

.pick__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.05);
  transition: transform 0.5s ease;
}

.pick:hover .pick__media img {
  transform: scale(1.03);
}

.pick__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand);
  mix-blend-mode: multiply;
  opacity: 0.32;
  pointer-events: none;
}

.pick__body {
  position: relative;
  width: 100%;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background: var(--bg);
  box-shadow: 0 24px 48px -24px rgba(8, 5, 26, 0.6);
}

.pick__flag {
  display: inline-block;
  margin-bottom: 0.875rem;
  padding: 0.125rem 0.625rem;
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.pick__meta,
.ncard__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.875rem;
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.pick__meta span:first-child,
.ncard__meta span:first-child {
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--brand-ink);
  font-weight: 700;
}

.pick h2 {
  margin-top: 0.75rem;
  font-size: var(--step-2);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.pick h2 a,
.ncard h3 a {
  color: var(--ink);
  text-decoration: none;
}

.pick h2 a::after,
.ncard h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.pick h2 a:hover,
.ncard h3 a:hover {
  color: var(--brand-ink);
}

.pick__body > p:not(.pick__meta) {
  margin-top: 0.75rem;
  color: var(--ink-soft);
}

.pick__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--brand-ink);
  font-weight: 700;
  text-decoration: none;
}

.pick__link:hover {
  text-decoration: underline;
}

.ncards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(20rem, 1fr) auto;
  gap: clamp(1rem, 0.75rem + 1vw, 1.5rem);
}

.ncard {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  grid-row: span 2;
  min-height: 30rem;
  padding: 1rem;
  background: var(--dark);
}

/* Each card spans two rows of the list: an image row (at least 20rem) and a body row.
   Subgrid makes the white body panels in one row of cards the same height, while the
   cards themselves stay full height. */
@supports (grid-template-rows: subgrid) {
  .ncard:not(.ncard--cta) {
    display: grid;
    grid-template-rows: subgrid;
    align-items: stretch;
    row-gap: 0;
  }

  .ncard:not(.ncard--cta) > .ncard__body {
    grid-row: 2;
  }
}

.ncard__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  overflow: hidden;
}

.ncard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.05);
  transition: transform 0.5s ease;
}

.ncard:hover .ncard__media img {
  transform: scale(1.04);
}

.ncard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand);
  mix-blend-mode: multiply;
  opacity: 0.3;
  pointer-events: none;
}

.ncard__go {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ncard:hover .ncard__go,
.ncard:focus-within .ncard__go {
  background: var(--brand);
  color: #fff;
  transform: translate(2px, -2px);
}

.ncard__body {
  position: relative;
  width: 100%;
  padding: 1.25rem;
  background: var(--bg);
  box-shadow: 0 24px 48px -24px rgba(8, 5, 26, 0.6);
  transition: transform 0.25s ease;
}

.ncard:hover .ncard__body {
  transform: translateY(-4px);
}

.ncard h3 {
  margin-top: 0.875rem;
  font-size: var(--step-1);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.ncard__excerpt {
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.ncard:focus-within {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.ncard h3 a:focus-visible {
  outline: none;
}

.subscribe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem) clamp(1.25rem, 1rem + 1.5vw, 2rem);
  background: var(--tint);
}

.subscribe h3 {
  font-size: var(--step-1);
  letter-spacing: -0.02em;
}

.subscribe p {
  margin-top: 0.25rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.trust__proof a {
  color: #fff;
  text-decoration: none;
}

.trust__proof a:hover {
  text-decoration: underline;
}

.post-hero h1 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.crumbs a {
  color: var(--brand-ink);
  font-weight: 700;
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  margin-top: 1.75rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.post-meta__cat {
  padding: 0.25rem 0.875rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--brand-ink);
  font-weight: 700;
}

.post-visual {
  background: var(--dark);
}

.post-visual__media {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
}

.post-visual__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.05);
}

.post-visual__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand);
  mix-blend-mode: multiply;
  opacity: 0.32;
  pointer-events: none;
}

.post-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17rem;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}

.post-aside {
  position: sticky;
  top: 7rem;
}

.post-aside__title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.875rem 0.25rem 0.625rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--brand-ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.post-aside__title::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brand);
}

.post-toc ol {
  margin-top: 0.75rem;
  border-left: 2px solid var(--line-strong);
}

.post-toc a {
  display: block;
  margin-left: -2px;
  padding: 0.5rem 0 0.5rem 1rem;
  border-left: 2px solid transparent;
  color: var(--ink-soft);
  font-size: var(--step--1);
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.post-toc a:hover,
.post-toc a[aria-current="true"] {
  border-left-color: var(--brand);
  color: var(--brand-ink);
}

.post-facts {
  margin-top: 1.75rem;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(160deg, #EEE9FD 0%, #F8F6FE 55%, #FFFFFF 100%);
  border: 1px solid #D6CCF3;
}

.post-facts div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(75, 23, 214, 0.12);
  font-size: 0.8125rem;
}

.post-facts div:last-child {
  border-bottom: 0;
}

.post-facts dt {
  color: var(--ink-soft);
}

.post-facts dd {
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

.post-share {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.5rem 1.125rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.post-share:hover {
  border-color: var(--brand);
  color: var(--brand-ink);
}

.ncard--cta {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 1rem;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  background: var(--brand);
  color: #fff;
}

.ncard--cta h3 {
  margin-top: 0;
  color: #fff;
  font-size: var(--step-2);
  letter-spacing: -0.025em;
}

.ncard--cta p {
  color: rgba(255, 255, 255, 0.85);
}

.prose {
  font-size: 1.0625rem;
  line-height: 1.75;
}

.prose h2 {
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
  font-size: var(--step-2);
  letter-spacing: -0.025em;
  line-height: 1.2;
  scroll-margin-top: 7rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p + p,
.prose p + ul,
.prose ul + p {
  margin-top: 1rem;
}

.prose ul {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.prose li {
  position: relative;
  padding-left: 1.5rem;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0.125rem;
  top: 0.8em;
  width: 0.4375rem;
  height: 0.4375rem;
  background: var(--brand);
}

.prose__note {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--tint);
  color: var(--ink);
}

@media (max-width: 62rem) {
  .ncards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-body {
    grid-template-columns: minmax(0, 42rem);
  }

  .post-aside {
    position: static;
    order: -1;
  }
}

@media (max-width: 36rem) {
  .ncards {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: minmax(16rem, 1fr) auto;
  }

  .ncard {
    min-height: 26rem;
  }
}

.trust__cell .trust__proof:has(a) {
  min-height: 4.75rem;
}

.pick__body > p.pick__flag {
  margin-top: 0;
  color: #fff;
}

/* Company page */

.mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(10rem, auto)) minmax(9rem, auto);
  gap: 0.75rem;
}

.mosaic__tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--dark);
}

.mosaic__tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.05);
}

.mosaic__tile--a,
.mosaic__tile--b {
  margin: 0;
}

.mosaic__tile--a::after,
.mosaic__tile--b::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand);
  mix-blend-mode: multiply;
  opacity: 0.3;
}

.mosaic__tile--a {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.mosaic__tile--b {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
}

.mosaic__tile--b figcaption {
  padding: 0.625rem 1rem;
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 700;
}

.mosaic__tile--stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  background-color: var(--bg);
  border: 1px solid var(--line);
}

.mosaic__n {
  color: var(--brand);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.mosaic__tile--stat p {
  color: var(--ink-soft);
  font-size: var(--step--1);
  font-weight: 600;
}

.mosaic__tile--brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  background: var(--brand);
  color: #fff;
}

.mosaic__cube {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0.25rem;
  margin-bottom: 0.25rem;
  background: rgba(255, 255, 255, 0.92);
}

.mosaic__cube svg {
  width: 100%;
  height: 100%;
}

.mosaic__tile--brand p {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mosaic__tile--brand ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: auto;
}

.mosaic__tile--brand li {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.75rem;
  font-weight: 700;
}

@media (max-width: 62rem) {
  .page-hero__grid:has(.mosaic) {
    grid-template-columns: minmax(0, 1fr);
  }

  .mosaic__tile--a img {
    object-position: center 30%;
  }
}

@media (max-width: 36rem) {
  .mosaic {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  .mosaic__tile--a,
  .mosaic__tile--b {
    grid-column: 1;
    grid-row: auto;
    min-height: 11rem;
  }

  .mosaic__tile--a {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .mosaic__tile--stat {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .mosaic__tile--stat p {
    flex: 1;
  }
}

.mission {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: start;
}

.mission h2 {
  padding-top: 0.75rem;
  color: var(--brand-ink);
  font-size: var(--step-0);
  letter-spacing: 0;
}

.mission__text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.mission__text span {
  color: #6B6785;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: clamp(3rem, 2rem + 4vw, 5.5rem);
}

.stats li {
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 1px solid var(--line-strong);
}

.stat__n {
  display: block;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 3.5vw, 5rem);
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 1;
}

.stats p {
  max-width: 15rem;
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.commits {
  background: var(--dark);
  color: #fff;
}

.commits__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}

.commits__photo {
  position: sticky;
  top: 7rem;
  isolation: isolate;
  overflow: hidden;
  background: var(--dark);
}

.commits__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.05);
}

.commits__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(21, 17, 44, 0.85) 0%, rgba(75, 23, 214, 0.25) 55%, rgba(75, 23, 214, 0.2) 100%);
  pointer-events: none;
}

.commits__caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.3;
}

.commits__list {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.commit {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: clamp(1.5rem, 1rem + 1.25vw, 2rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.commit h3 {
  color: #fff;
  font-size: var(--step-2);
  letter-spacing: -0.03em;
}

.commit p {
  margin-top: 0.5rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.72);
}

.pillar__icon {
  width: 3.5rem;
  height: 3.5rem;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.pillar__icon .p-frame {
  fill: none;
  stroke: #B7A3FF;
  stroke-width: 1.5;
}

.pillar__icon .p-frame--dashed {
  stroke-dasharray: 5 4;
}

.pillar__icon .plate path {
  stroke-width: 1;
}

.crew {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}

.crew__card {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: var(--bg);
  transition: background-color 0.2s ease;
}

.crew__card:hover {
  background: var(--soft);
}

.crew__photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--dark);
}

.crew__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.9) contrast(1.08);
  transition: filter 0.4s ease, transform 0.5s ease;
}

.crew__card:hover .crew__photo img {
  filter: grayscale(0.1) contrast(1.05);
  transform: scale(1.04);
}

.crew__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand);
  mix-blend-mode: multiply;
  opacity: 0.28;
  pointer-events: none;
}

.crew__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem 0.25rem 0.25rem;
}

.crew__body h3 {
  font-size: var(--step-1);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.crew__role {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.125rem 0.75rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--brand-ink);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
}

.crew__remit {
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: var(--step--1);
  line-height: 1.5;
}

.crew__remit span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--brand-ink);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
}

@media (max-width: 62rem) {
  .crew {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 30rem) {
  .crew {
    grid-template-columns: minmax(0, 1fr);
  }
}

.rolecards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 0.75rem + 1vw, 1.5rem);
}

.rolecard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rolecard:hover,
.rolecard:focus-within {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.rolecard__art {
  display: grid;
  place-items: center;
  height: 11.5rem;
  background-color: var(--dark);
  background-image:
    radial-gradient(70% 90% at 50% 130%, rgba(75, 23, 214, 0.75), rgba(75, 23, 214, 0) 70%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}

.rolecard__svg {
  width: 6.5rem;
  height: 6.5rem;
  transition: transform 0.3s ease;
}

.rolecard:hover .rolecard__svg {
  transform: translateY(-4px) scale(1.04);
}

.rolecard__svg .p-frame {
  fill: none;
  stroke: #B7A3FF;
  stroke-width: 1.5;
}

.rolecard__svg .p-frame--dashed {
  stroke-dasharray: 5 4;
}

.rolecard__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
}

.rolecard__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

.rolecard__meta span:first-child {
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--brand-ink);
  font-weight: 700;
}

.rolecard__meta span:last-child {
  color: var(--ink-soft);
  font-family: var(--font-mono);
}

.rolecard h3 {
  font-size: var(--step-2);
  letter-spacing: -0.03em;
}

.rolecard h3 a {
  color: var(--ink);
  text-decoration: none;
}

.rolecard h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.rolecard h3 a:focus-visible {
  outline: none;
}

.rolecard__text {
  color: var(--ink-soft);
}

.rolecard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.rolecard__tags li {
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 650;
}

.rolecard__go {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--brand-ink);
  font-weight: 700;
}

.rolecard__arrow {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--tint);
  color: var(--brand);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rolecard:hover .rolecard__arrow,
.rolecard:focus-within .rolecard__arrow {
  background: var(--brand);
  color: #fff;
  transform: translate(2px, -2px);
}


@media (max-width: 62rem) {
  .mission,
  .commits__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .commits__photo {
    position: relative;
    top: 0;
  }

  .commits__photo img {
    aspect-ratio: 16 / 10;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rolecards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Contact, legal and 404 pages */

.field textarea,
.field input[type="tel"] {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: var(--bg);
  border: 1px solid #827C98;
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
}

.field input[type="tel"] {
  min-height: 3rem;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
  line-height: 1.5;
}

.field textarea:hover {
  border-color: var(--ink-soft);
}

.field textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--ink);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.contact {
  background-color: var(--dark);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  color: #fff;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}

.contact__copy {
  position: sticky;
  top: 7rem;
}

.contact__copy h2 {
  color: #fff;
  font-size: var(--step-4);
  letter-spacing: -0.04em;
}

.contact__copy > p {
  max-width: 26rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: var(--step-1);
}

.contact__ways {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.contact__ways li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.contact__ways .trust__icon {
  margin-bottom: 0;
}

.contact__ways h3 {
  color: #B7A3FF;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
}

.contact__ways p {
  margin-top: 0.125rem;
  color: #fff;
  font-weight: 650;
}

.contact__ways a {
  color: #fff;
  text-decoration: none;
}

.contact__ways a:hover {
  text-decoration: underline;
}

.contact__form {
  box-shadow: 0 40px 80px -40px rgba(8, 5, 26, 0.8);
  border-radius: 0;
  color: var(--ink);
}

.legal-art {
  position: relative;
  width: min(100%, 28rem);
  margin-inline: auto;
}

.legal-art__stack {
  display: block;
  width: 100%;
  height: auto;
}

.legal-art__line {
  fill: none;
  stroke: #CDC8DD;
  stroke-width: 5;
  stroke-linecap: round;
}

.legal-art__line--head {
  stroke: var(--brand);
  stroke-width: 7;
}

.legal-art__tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem 0.5rem 0.625rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  box-shadow: 0 16px 32px -16px rgba(8, 5, 26, 0.45);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.25;
}

.legal-art__tag > svg {
  flex: none;
  box-sizing: content-box;
  padding: 0.375rem;
  border-radius: 50%;
  background: var(--tint);
  color: var(--brand);
}

.legal-art__tag small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.6875rem;
  font-weight: 600;
}

.legal-art__tag a {
  color: var(--brand-ink);
  text-decoration: none;
}

.legal-art__tag--a {
  top: 6%;
  right: -4%;
}

.legal-art__tag--b {
  top: 46%;
  left: -6%;
}

.legal-art__tag--c {
  bottom: 4%;
  right: -2%;
}

.thread {
  position: relative;
  display: grid;
  justify-items: stretch;
  gap: 0;
  width: min(100%, 31rem);
  margin-inline: auto;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background: linear-gradient(160deg, #EEE9FD 0%, #F8F6FE 55%, #FFFFFF 100%);
}

.thread__msg {
  position: relative;
  padding: 1.125rem 1.25rem 1.25rem;
  box-shadow: 0 24px 48px -24px rgba(8, 5, 26, 0.5);
}

.thread__msg--in {
  margin-right: 2.5rem;
  background: var(--bg);
  border: 1px solid var(--line);
}

.thread__msg--out {
  margin-left: 2.5rem;
  background: var(--brand);
  color: #fff;
}

.thread__msg header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.thread__av {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--tint);
  color: var(--brand-ink);
  font-size: 0.8125rem;
  font-weight: 800;
}

.thread__av--rr {
  background: rgba(255, 255, 255, 0.16);
}

.thread__av svg {
  width: 1.75rem;
  height: 1.75rem;
}

.thread__who {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
}

.thread__sub {
  margin-top: 0.125rem;
  font-size: 0.75rem;
  opacity: 0.7;
}

.thread__time {
  align-self: start;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  opacity: 0.75;
  text-align: right;
}

.thread__text {
  margin-top: 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.thread__link {
  justify-self: center;
  width: 0;
  height: 2rem;
  border-left: 2px dashed var(--brand);
}

.thread__steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  margin: 1rem 0 0;
}

.thread__steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem 0.375rem 0.375rem;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
}

.thread__steps li span {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--brand);
  font-size: 0.75rem;
}

@media (max-width: 36rem) {
  .legal-art__tag--a {
    right: 0;
  }

  .legal-art__tag--b {
    left: 0;
  }

  .legal-art__tag--c {
    right: 0;
  }

  .thread__msg--in {
    margin-right: 0.75rem;
  }

  .thread__msg--out {
    margin-left: 0.75rem;
  }

  .thread__msg header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .thread__time {
    grid-column: 1 / -1;
    text-align: left;
  }
}

.lost {
  --header-space: calc(4.75rem + 2px);
  display: grid;
  align-items: center;
  min-height: 100vh;
  margin-top: calc(-1 * var(--header-space));
  padding-block: calc(var(--header-space) + clamp(4rem, 3rem + 5vw, 7.5rem)) clamp(4rem, 3rem + 5vw, 7.5rem);
  background-color: #FBFBFD;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--ink);
}

.lost::before {
  background: radial-gradient(45% 60% at 78% 48%, rgba(75, 23, 214, 0.12), rgba(75, 23, 214, 0) 70%);
  mix-blend-mode: normal;
  opacity: 1;
}

.lost::after {
  display: none;
}

.lost__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}

.lost h1 {
  max-width: 34rem;
  color: var(--ink);
  font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.lost__lead {
  max-width: 30rem;
  margin-top: 1.75rem;
  color: var(--ink-soft);
  font-size: var(--step-1);
}

.lost .page-hero__actions {
  margin-top: 2.5rem;
}

.lost__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 3.5rem;
}

.lost__links li {
  border-radius: 999px;
  background: #fff;
}

.lost__links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: var(--step--1);
  font-weight: 650;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lost__links a:hover,
.lost__links a:focus-visible {
  background: var(--tint);
  border-color: var(--brand);
  color: var(--brand-ink);
}

.lost__art {
  display: grid;
  place-items: center;
}

.lost__code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(7rem, 4rem + 12vw, 15rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.lost__code span {
  color: transparent;
  -webkit-text-stroke: 2px var(--brand);
}

.lost__code svg {
  width: 0.78em;
  height: auto;
  filter: drop-shadow(0 30px 36px rgba(75, 23, 214, 0.3));
}

@media (max-width: 62rem) {
  .contact__grid,
  .lost__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact__copy {
    position: static;
  }

  .lost {
    background-position: center top;
  }

  .lost::before {
    background: radial-gradient(60% 40% at 50% 28%, rgba(75, 23, 214, 0.12), rgba(75, 23, 214, 0) 70%);
  }

  .lost__grid {
    gap: 2.5rem;
    justify-items: center;
  }

  .lost__art {
    order: -1;
  }

  .lost__copy {
    text-align: center;
  }

  .lost h1,
  .lost__lead {
    margin-inline: auto;
  }

  .lost .page-hero__actions,
  .lost__links {
    justify-content: center;
  }
}

@media (max-width: 36rem) {
  .form__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .lost__code {
    font-size: clamp(5.5rem, 28vw, 8rem);
  }

  .lost .page-hero__actions .btn {
    flex: 1 1 100%;
  }

  .lost .page-hero__actions {
    gap: 1rem;
  }

  .lost__links {
    margin-top: 2.5rem;
  }
}


@media (prefers-reduced-motion: no-preference) {
  .lost__drift {
    animation: lost-drift 6s ease-in-out infinite alternate;
  }
}

@keyframes lost-drift {
  from { transform: translate(0, 0); }
  to { transform: translate(8px, -14px); }
}

.which__row {
  scroll-margin-top: 7rem;
}
