@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/Nunito-Variable.woff2") format("woff2");
}

@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/Baloo2-Variable.woff2") format("woff2");
}

:root {
  --paper: #f3f6f7;
  --surface: #ffffff;
  --surface-muted: #e9eef1;
  --ink: #111c26;
  --ink-soft: #2c3a46;
  --muted: #5f6e7b;
  --quiet: #596b78;
  --line: #d3dce2;
  --line-strong: #9eacb7;
  --blue: #1f66d1;
  --blue-dark: #1559bc;
  --blue-soft: #e7f0ff;
  --blue-bright: #76b4ff;
  --green: #13765e;
  --green-soft: #e5f3ec;
  --amber: #9a6108;
  --amber-soft: #fbf0dc;
  --red: #aa4040;
  --red-soft: #fae9e9;
  --violet: #6b4e9c;
  --violet-soft: #eeeafb;
  --charcoal: #202a32;
  --navy: #07182d;
  --navy-mid: #0d2744;
  --navy-line: #294866;
  --on-dark: #eef5ff;
  --pilot: #0b5b4c;
  --pilot-line: #3c8b77;
  --shadow: 0 12px 30px rgba(7, 24, 45, 0.09);
  --header-height: 62px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select {
  letter-spacing: 0;
}

img {
  max-width: 100%;
}

a {
  color: var(--blue-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

code,
.mono {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

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

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: "Baloo 2", "Nunito", sans-serif;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

h1 {
  font-size: 56px;
  font-weight: 850;
}

h2 {
  font-size: 34px;
  font-weight: 800;
}

h3 {
  font-size: 20px;
  font-weight: 800;
}

h4 {
  font-size: 15px;
  font-weight: 850;
}

::selection {
  background: var(--blue);
  color: #ffffff;
}

:focus-visible {
  outline: 3px solid rgba(40, 101, 216, 0.36);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  transform: translateY(-160%);
  background: var(--charcoal);
  color: #ffffff;
  padding: 9px 12px;
  border-radius: 4px;
}

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

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(7, 24, 45, 0.97);
  border-bottom: 1px solid var(--navy-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-link img {
  display: block;
  width: 116px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.primary-nav::-webkit-scrollbar {
  display: none;
}

.primary-nav a {
  padding: 8px 10px;
  border-radius: 4px;
  color: #b8c7d8;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: var(--navy-mid);
  color: #ffffff;
}

.primary-nav .nav-cta {
  margin-left: 6px;
  background: var(--blue);
  color: #ffffff;
}

.primary-nav .nav-cta:hover {
  background: #ffffff;
  color: var(--navy);
}

.primary-nav .nav-cta[aria-current="page"] {
  background: var(--blue);
  color: #ffffff;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero {
  position: relative;
  height: calc(100svh - var(--header-height) - 76px);
  min-height: 620px;
  max-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-line);
  color: var(--on-dark);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  top: 0;
  bottom: 0;
  left: 38%;
  border-left: 1px solid rgba(118, 180, 255, 0.14);
}

.hero::after {
  right: 7%;
  bottom: 0;
  width: 34%;
  border-bottom: 1px solid rgba(118, 180, 255, 0.18);
}

.hero__canvas {
  position: absolute;
  inset: 0 0 0 38%;
  width: 62%;
  height: 100%;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 72px;
}

.hero__copy {
  width: min(650px, 59%);
}

.hero h1 {
  max-width: 14ch;
  margin-bottom: 22px;
  color: #ffffff;
}

.hero__lede {
  max-width: 620px;
  margin-bottom: 28px;
  color: #c6d5e6;
  font-size: 20px;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
  text-decoration: none;
}

.button--primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.button--primary:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  color: #ffffff;
}

.button--on-dark {
  border-color: #5f7690;
  background: transparent;
  color: #ffffff;
}

.button--on-dark:hover {
  border-color: var(--blue-bright);
  background: var(--navy-mid);
  color: #ffffff;
}

.button--light {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--navy);
}

.button--light:hover {
  border-color: var(--blue-bright);
  background: var(--blue-soft);
  color: var(--navy);
}

.stage-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 610px;
  color: #aebed0;
  font-size: 14px;
}

.hero .eyebrow {
  color: var(--blue-bright);
}

.hero__signal {
  position: absolute;
  right: 0;
  bottom: 42px;
  width: 310px;
  padding: 14px 0;
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
  color: #aebed0;
  font-size: 12px;
}

.hero__signal span,
.hero__signal strong,
.hero__signal code {
  display: block;
}

.hero__signal strong {
  margin: 4px 0 6px;
  color: #ffffff;
  font-size: 14px;
}

.hero__signal code {
  color: var(--blue-bright);
  font-size: 11px;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 2px 8px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
}

.status--blue,
.status--guardrail,
.status--baseline {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.status--green,
.status--closed,
.status--ruled_out_for_target {
  background: var(--green-soft);
  color: var(--green);
}

.status--amber,
.status--parked,
.status--open_parked,
.status--constant_factor_only {
  background: var(--amber-soft);
  color: var(--amber);
}

.status--red,
.status--blocked {
  background: var(--red-soft);
  color: var(--red);
}

.status--violet,
.status--conditional_only,
.status--separate_threat_model {
  background: var(--violet-soft);
  color: var(--violet);
}

.status--gray,
.status--monitor,
.status--out_of_release {
  background: var(--surface-muted);
  color: var(--muted);
}

.live-band {
  background: var(--navy-mid);
  color: #ffffff;
  border-bottom: 1px solid var(--navy-line);
}

.live-band__inner {
  min-height: 114px;
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(112px, 0.55fr));
  align-items: center;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.live-band__context strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.live-band__context span {
  color: #afbed0;
  font-size: 13px;
}

.live-metric {
  min-width: 0;
  border-left: 1px solid var(--navy-line);
  padding-left: 20px;
}

.live-metric__value {
  color: #ffffff;
  font-size: 25px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.live-metric__label {
  margin-top: 2px;
  color: #afbed0;
  font-size: 12px;
}

.band {
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
}

.band--white {
  background: var(--surface);
}

.band--muted {
  background: var(--surface-muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-bottom: 14px;
}

.section-heading p {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: start;
}

.split__lead p {
  color: var(--muted);
  font-size: 18px;
}

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

.principle {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.principle__number {
  color: var(--quiet);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 13px;
}

.principle h3 {
  margin-bottom: 6px;
}

.principle p {
  margin-bottom: 0;
  color: var(--muted);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--surface);
}

.workflow__step {
  min-width: 0;
  padding: 20px 18px 22px;
  border-right: 1px solid var(--line);
  box-shadow: inset 0 3px 0 transparent;
}

.workflow__step:nth-child(1),
.workflow__step:nth-child(4) {
  box-shadow: inset 0 3px 0 var(--blue);
}

.workflow__step:nth-child(2),
.workflow__step:nth-child(5) {
  box-shadow: inset 0 3px 0 var(--green);
}

.workflow__step:nth-child(3),
.workflow__step:nth-child(6) {
  box-shadow: inset 0 3px 0 var(--amber);
}

.workflow__step:last-child {
  border-right: 0;
}

.workflow__index {
  color: var(--blue-dark);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
}

.workflow__step h3 {
  margin: 26px 0 8px;
  font-size: 17px;
}

.workflow__step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.pilot-callout {
  padding: 64px 0;
  background: var(--pilot);
  color: #ffffff;
  border-bottom: 1px solid var(--pilot-line);
}

.pilot-callout__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 30px 58px;
  align-items: end;
}

.pilot-callout h2,
.pilot-callout p {
  color: #ffffff;
}

.pilot-callout h2 {
  max-width: 18ch;
  margin-bottom: 12px;
}

.pilot-callout p {
  max-width: 680px;
  margin-bottom: 0;
  color: #d5eee7;
}

.pilot-callout .eyebrow {
  color: #9ce0cf;
}

.pilot-callout__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column: 1 / -1;
  margin: 0;
  border-top: 1px solid var(--pilot-line);
  border-bottom: 1px solid var(--pilot-line);
}

.pilot-callout__facts div {
  padding: 14px 16px;
  border-right: 1px solid var(--pilot-line);
}

.pilot-callout__facts div:last-child {
  border-right: 0;
}

.pilot-callout__facts dt {
  color: #a9d9cc;
  font-size: 11px;
}

.pilot-callout__facts dd {
  margin: 3px 0 0;
  color: #ffffff;
  font-weight: 850;
}

.pilot-callout .actions {
  grid-column: 2;
  grid-row: 1;
  justify-content: flex-end;
  align-items: center;
  margin: 0;
}

.text-link {
  font-weight: 850;
  text-decoration: none;
}

.text-link--light {
  color: #ffffff;
}

.text-link--light:hover {
  color: #cce8ff;
}

.reference-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.surface {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.surface__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.surface__head h2,
.surface__head h3 {
  margin-bottom: 4px;
}

.surface__head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.surface__body {
  padding: 22px;
}

.decision-summary {
  border-left: 5px solid var(--amber);
}

.decision-summary__code {
  margin-bottom: 9px;
  color: var(--amber);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 850;
}

.decision-summary h3 {
  margin-bottom: 10px;
  font-size: 25px;
}

.decision-summary p {
  color: var(--ink-soft);
}

.decision-summary ul,
.plain-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.decision-summary li,
.plain-list li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.decision-summary li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--blue);
}

.trust-list {
  display: grid;
  gap: 0;
}

.trust-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.trust-row:first-child {
  padding-top: 0;
}

.trust-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.trust-row strong {
  display: block;
  font-size: 14px;
}

.trust-row span:not(.status) {
  color: var(--muted);
  font-size: 12px;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.evidence-card {
  min-width: 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  border-top: 3px solid var(--blue);
  box-shadow: var(--shadow);
}

.evidence-card:nth-child(2) {
  border-top-color: var(--green);
}

.evidence-card:nth-child(3) {
  border-top-color: var(--amber);
}

.evidence-card:nth-child(4) {
  border-top-color: var(--violet);
}

.evidence-card h3 {
  min-height: 44px;
  margin-bottom: 9px;
  font-size: 17px;
}

.evidence-card p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.evidence-card a {
  font-size: 13px;
  font-weight: 800;
}

.boundary-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.boundary-column h3 {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line-strong);
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 13px 0 13px 25px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 14px;
  color: var(--green);
  font-weight: 900;
  content: "YES";
  font-size: 9px;
}

.check-list--not li::before {
  color: var(--amber);
  content: "NEXT";
}

.mvp-band {
  background: var(--navy);
  color: #ffffff;
}

.mvp-band h2,
.mvp-band h3 {
  color: #ffffff;
}

.mvp-band .eyebrow {
  color: #8fb4ff;
}

.mvp-band .section-heading p {
  color: #c2c9ce;
}

.metric-lines {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--navy-line);
}

.metric-line {
  padding: 22px 18px 4px;
  border-right: 1px solid var(--navy-line);
}

.metric-line:last-child {
  border-right: 0;
}

.metric-line__id {
  color: #8fb4ff;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11px;
}

.metric-line p {
  margin: 12px 0 0;
  color: #d5dade;
  font-size: 14px;
}

.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--navy-line);
  padding: 36px 0;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.site-footer img {
  width: 100px;
  display: block;
}

.site-footer p {
  margin: 0;
  color: #aebed0;
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer-links a {
  color: #dfeaf7;
  font-size: 13px;
  font-weight: 800;
}

/* Workspace */
.workspace-mast {
  padding: 48px 0 30px;
  background: #eaf0f3;
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 4px 0 var(--blue);
}

.breadcrumb {
  margin-bottom: 14px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
}

.workspace-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.workspace-title h1 {
  margin-bottom: 8px;
  font-size: 42px;
}

.workspace-title p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.snapshot {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.snapshot code {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
}

.boundary-notice {
  margin-top: 26px;
  padding: 14px 16px;
  background: var(--amber-soft);
  border-left: 4px solid var(--amber);
  color: #5d430f;
  font-size: 14px;
}

.workspace-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 26px;
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.workspace-metric {
  min-width: 0;
  padding: 15px 14px;
  border-right: 1px solid var(--line);
}

.workspace-metric:last-child {
  border-right: 0;
}

.workspace-metric__value {
  font-size: 23px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.workspace-metric__label {
  color: var(--muted);
  font-size: 11px;
}

.tabbar-wrap {
  position: sticky;
  top: var(--header-height);
  z-index: 80;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.tabbar {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabbar::-webkit-scrollbar {
  display: none;
}

.tabbar button {
  flex: 0 0 auto;
  padding: 14px 16px 12px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.tabbar button:hover {
  color: var(--ink);
}

.tabbar button[aria-selected="true"] {
  border-bottom-color: var(--blue);
  color: var(--blue-dark);
}

.workspace-body {
  min-height: 650px;
  padding: 42px 0 80px;
}

.tab-panel[hidden] {
  display: none;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.panel-heading h2 {
  margin-bottom: 7px;
  font-size: 27px;
}

.panel-heading p {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
}

.decision-band {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  margin-bottom: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 6px solid var(--amber);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.decision-band__state {
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}

.decision-band__state span {
  display: block;
  color: var(--amber);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11px;
}

.decision-band__state strong {
  display: block;
  margin-top: 8px;
  font-size: 25px;
}

.decision-band__copy {
  padding: 24px;
}

.decision-band__copy h3 {
  margin-bottom: 9px;
}

.decision-band__copy p {
  margin-bottom: 0;
  color: var(--muted);
}

.layout-two {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 22px;
}

.layout-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.compact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.compact-list li:first-child {
  padding-top: 0;
}

.compact-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.compact-list strong {
  display: block;
  font-size: 14px;
}

.compact-list span,
.compact-list p {
  display: block;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.task-row {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.task-row:first-child {
  padding-top: 0;
}

.task-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.task-row__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.task-row h4 {
  margin-bottom: 5px;
}

.task-row p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.distribution {
  display: flex;
  width: 100%;
  min-height: 32px;
  overflow: hidden;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.distribution__segment {
  min-width: 3px;
  border-right: 2px solid var(--surface);
}

.distribution__segment:last-child {
  border-right: 0;
}

.segment--guardrail,
.segment--baseline {
  background: var(--blue);
}

.segment--constant_factor_only,
.segment--open_parked {
  background: #c58a29;
}

.segment--ruled_out_for_target {
  background: var(--green);
}

.segment--conditional_only,
.segment--separate_threat_model {
  background: var(--violet);
}

.segment--monitor {
  background: var(--quiet);
}

.legend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 15px;
  margin-top: 15px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.legend-item i {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--quiet);
}

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.data-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table th {
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.data-table td strong {
  display: block;
  color: var(--ink);
}

.data-table td small {
  color: var(--muted);
}

.source-link {
  display: inline-block;
  margin: 2px 8px 2px 0;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.activity-list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.activity-list li {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 15px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.activity-list li:last-child {
  border-bottom: 0;
}

.activity-list code {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
}

.activity-list span {
  color: var(--ink-soft);
  font-size: 13px;
}

/* Route explorer */
.explorer-mast {
  padding: 48px 0 34px;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-line);
  color: var(--on-dark);
}

.explorer-mast__title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 48px;
  align-items: end;
}

.explorer-mast h1 {
  margin-bottom: 12px;
  font-size: 44px;
  color: #ffffff;
}

.explorer-mast p {
  margin-bottom: 0;
  color: #b8c8d9;
}

.explorer-mast .eyebrow {
  color: var(--blue-bright);
}

.decision-inline {
  padding: 17px 18px;
  background: var(--navy-mid);
  border-left: 4px solid var(--amber);
}

.decision-inline strong {
  display: block;
  margin-bottom: 5px;
}

.decision-inline span {
  color: #c8d5e3;
  font-size: 13px;
}

.decision-inline strong {
  color: #ffffff;
}

.explorer-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 32px;
  padding-top: 34px;
  padding-bottom: 80px;
}

.explorer-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
  min-width: 0;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.explorer-sidebar h2 {
  margin-bottom: 13px;
  font-size: 16px;
}

.explorer-sidebar p {
  color: var(--muted);
  font-size: 12px;
}

.filter-list {
  display: grid;
  gap: 5px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.filter-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  text-align: left;
}

.filter-button:hover {
  background: var(--surface-muted);
  color: var(--ink);
}

.filter-button[aria-pressed="true"] {
  background: var(--blue-soft);
  border-color: var(--blue);
  color: var(--ink);
}

.filter-button span:last-child {
  color: var(--quiet);
  font-size: 11px;
}

.route-search {
  width: 100%;
  height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--surface);
  color: var(--ink);
}

.route-search::placeholder {
  color: var(--quiet);
}

.explorer-results__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.explorer-results__head h2 {
  margin-bottom: 0;
  font-size: 23px;
}

.result-count {
  color: var(--muted);
  font-size: 13px;
}

.route-list {
  display: grid;
  gap: 12px;
}

.route-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(7, 24, 45, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.route-card:hover,
.route-card[open] {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.route-card[hidden] {
  display: none;
}

.route-card summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 1.1fr) minmax(160px, 0.55fr) minmax(160px, 0.6fr);
  gap: 16px;
  align-items: center;
  padding: 17px 18px;
  cursor: pointer;
  list-style: none;
}

.route-card summary::-webkit-details-marker {
  display: none;
}

.route-card summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  color: var(--quiet);
  font-size: 20px;
  font-weight: 700;
}

.route-card[open] summary::after {
  content: "-";
}

.route-title {
  min-width: 0;
  padding-right: 24px;
}

.route-title strong {
  display: block;
  margin-bottom: 3px;
}

.route-title code {
  color: var(--quiet);
  font-size: 10px;
}

.route-meta {
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
}

.route-meta strong {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
}

.route-card__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  background: #f9fbfc;
}

.route-detail {
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.route-detail:nth-child(2n) {
  border-right: 0;
}

.route-detail h3 {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.route-detail p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.route-detail--wide {
  grid-column: 1 / -1;
  border-right: 0;
}

.route-detail:last-child {
  border-bottom: 0;
}

.empty-state {
  padding: 32px;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  text-align: center;
}

/* External pilot */
.pilot-mast {
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 72px 0;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-line);
  color: var(--on-dark);
}

.pilot-mast__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 72px;
  align-items: end;
}

.pilot-mast__copy h1 {
  max-width: 15ch;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 54px;
}

.pilot-mast__copy > p:not(.eyebrow) {
  max-width: 690px;
  margin-bottom: 28px;
  color: #c6d5e6;
  font-size: 19px;
}

.pilot-mast .eyebrow {
  color: var(--blue-bright);
}

.pilot-state {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
}

.pilot-state div {
  padding: 16px 0;
  border-bottom: 1px solid var(--navy-line);
}

.pilot-state div:nth-child(2n) {
  padding-left: 18px;
  border-left: 1px solid var(--navy-line);
}

.pilot-state div:nth-child(3) {
  grid-column: 1 / -1;
  border-bottom: 0;
}

.pilot-state span,
.pilot-state strong {
  display: block;
}

.pilot-state span {
  color: #9db0c4;
  font-size: 11px;
}

.pilot-state strong {
  margin-top: 3px;
  color: #ffffff;
  font-size: 18px;
}

.pilot-state p {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--navy-line);
  color: #b7c6d7;
  font-size: 13px;
}

.pilot-safety {
  background: var(--amber-soft);
  border-bottom: 1px solid #e5c98f;
}

.pilot-safety__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #60440f;
  font-size: 13px;
}

.pilot-safety__inner span {
  flex: 1;
}

.pilot-safety__inner a {
  flex: 0 0 auto;
  color: #60440f;
  font-weight: 850;
}

.role-list {
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.pilot-primary {
  padding: 12px 14px;
  background: var(--blue-soft);
  border-left: 3px solid var(--blue);
  color: var(--ink-soft) !important;
  font-size: 13px !important;
}

.pilot-primary strong {
  display: block;
  color: var(--blue-dark);
}

.role-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 750;
}

.qualification {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.qualification h3 {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line-strong);
}

.pilot-steps {
  border-top: 1px solid var(--line-strong);
}

.pilot-step {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.pilot-step__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 24px 22px 24px 0;
  border-right: 1px solid var(--line);
  color: var(--blue-dark);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 12px;
}

.pilot-step__copy {
  padding: 22px 0 22px 28px;
}

.pilot-step__copy h3 {
  margin-bottom: 6px;
}

.pilot-step__copy > p {
  margin-bottom: 12px;
  color: var(--muted);
}

.pilot-step__gate {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 0 !important;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.pilot-step__gate strong {
  color: var(--green);
}

.pilot-measures code {
  display: block;
  color: var(--blue-dark);
  font-weight: 850;
}

.pilot-measures small {
  display: block;
  margin-top: 4px;
  color: var(--quiet);
  text-transform: uppercase;
}

.decision-rules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.decision-rule {
  padding: 24px 24px 20px;
  border-right: 1px solid var(--line);
  box-shadow: inset 0 4px 0 var(--line-strong);
}

.decision-rule:last-child {
  border-right: 0;
}

.decision-rule--build {
  box-shadow: inset 0 4px 0 var(--green);
}

.decision-rule--change {
  box-shadow: inset 0 4px 0 var(--amber);
}

.decision-rule--stop {
  box-shadow: inset 0 4px 0 var(--red);
}

.decision-rule--pending {
  box-shadow: inset 0 4px 0 var(--violet);
}

.decision-rule h3 {
  margin-bottom: 14px;
}

.decision-rule ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.decision-rule li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.pilot-boundary {
  background: #edf1f3;
}

.scope-contract {
  margin: 26px 0 0;
  border-top: 1px solid var(--line-strong);
}

.scope-contract div {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.scope-contract dt {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 850;
}

.scope-contract dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.pilot-cta {
  padding: 64px 0;
  background: var(--pilot);
  color: #ffffff;
}

.pilot-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.pilot-cta h2 {
  max-width: 22ch;
  margin-bottom: 9px;
  color: #ffffff;
}

.pilot-cta p {
  max-width: 690px;
  margin-bottom: 0;
  color: #d5eee7;
}

.pilot-cta .eyebrow {
  color: #9ce0cf;
}

.pilot-cta .button {
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  .hero__signal {
    display: none;
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: 48px;
  }

  .hero__canvas {
    left: 28%;
    width: 72%;
  }

  .hero__copy {
    width: 68%;
  }

  .live-band__inner {
    grid-template-columns: 1.3fr repeat(2, minmax(110px, 0.6fr));
  }

  .live-metric:nth-child(n + 4) {
    display: none;
  }

  .workflow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .workflow__step:nth-child(3n) {
    border-right: 0;
  }

  .workflow__step:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .evidence-grid,
  .metric-lines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-line:nth-child(2) {
    border-right: 0;
  }

  .metric-line:nth-child(-n + 2) {
    border-bottom: 1px solid #46515a;
  }

  .workspace-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .workspace-metric:nth-child(3) {
    border-right: 0;
  }

  .workspace-metric:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .layout-three {
    grid-template-columns: 1fr;
  }

  .pilot-callout__inner {
    grid-template-columns: 1fr;
  }

  .pilot-callout .actions {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
  }

  .pilot-callout__facts {
    grid-column: 1;
  }

  .pilot-mast__inner {
    gap: 44px;
  }

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

@media (max-width: 760px) {
  :root {
    --header-height: 58px;
  }

  .shell {
    width: min(calc(100% - 30px), 1180px);
  }

  .brand-link img {
    width: 96px;
  }

  .site-header__inner {
    gap: 12px;
  }

  .primary-nav {
    min-width: 0;
    max-width: calc(100% - 108px);
    justify-content: flex-start;
  }

  .primary-nav a {
    padding: 7px 8px;
    font-size: 12px;
  }

  .primary-nav a:first-child,
  .primary-nav a:nth-child(4) {
    display: none;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .hero__canvas {
    display: none;
  }

  .hero__inner {
    padding-top: 62px;
    padding-bottom: 70px;
  }

  .hero__copy {
    width: 100%;
  }

  .hero__lede {
    font-size: 18px;
  }

  .live-band__inner {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .live-band__context {
    grid-column: 1 / -1;
  }

  .live-metric {
    padding-left: 0;
    border-left: 0;
  }

  .live-metric:nth-child(n + 4) {
    display: block;
  }

  .live-metric:nth-child(n + 5) {
    display: none;
  }

  .band {
    padding: 62px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .split,
  .reference-grid,
  .boundary-columns,
  .layout-two,
  .explorer-mast__title,
  .pilot-mast__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pilot-mast {
    min-height: 0;
    padding: 58px 0;
  }

  .pilot-mast__copy h1 {
    font-size: 42px;
  }

  .pilot-state {
    max-width: 620px;
  }

  .pilot-safety__inner,
  .pilot-cta__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .decision-rules {
    grid-template-columns: 1fr;
  }

  .decision-rule {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .decision-rule:last-child {
    border-bottom: 0;
  }

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

  .workflow__step,
  .workflow__step:nth-child(3n) {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .workflow__step:nth-child(2n) {
    border-right: 0;
  }

  .workflow__step:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

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

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .workspace-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .workspace-title h1 {
    font-size: 34px;
  }

  .snapshot {
    text-align: left;
  }

  .decision-band {
    grid-template-columns: 1fr;
  }

  .decision-band__state {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .explorer-sidebar {
    position: static;
  }

  .filter-list {
    display: flex;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .filter-button {
    width: auto;
    flex: 0 0 auto;
  }

  .route-card summary {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .route-card__body {
    grid-template-columns: 1fr;
  }

  .route-detail,
  .route-detail:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 36px;
  }

  .hero h1 {
    max-width: 100%;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .stage-note {
    display: grid;
  }

  .stage-note .status {
    justify-self: start;
  }

  .pilot-callout__facts {
    grid-template-columns: 1fr;
  }

  .pilot-callout__facts div,
  .pilot-callout__facts div:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--pilot-line);
  }

  .pilot-callout__facts div:last-child {
    border-bottom: 0;
  }

  .pilot-mast {
    padding: 36px 0 30px;
  }

  .pilot-mast__inner {
    gap: 26px;
  }

  .pilot-mast__copy h1 {
    margin-bottom: 14px;
    font-size: 36px;
  }

  .pilot-mast__copy > p:not(.eyebrow) {
    margin-bottom: 18px;
    font-size: 16px;
  }

  .pilot-mast__copy .actions {
    margin-bottom: 0;
  }

  .pilot-state {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pilot-state div:nth-child(2),
  .pilot-state div:nth-child(3) {
    grid-column: auto;
    padding-left: 10px;
    border-left: 1px solid var(--navy-line);
  }

  .pilot-state div {
    padding-top: 12px;
    padding-bottom: 12px;
    border-bottom: 0;
  }

  .pilot-state strong {
    font-size: 14px;
  }

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

  .pilot-step__meta {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pilot-step__copy {
    padding: 20px 0;
  }

  .pilot-step__gate {
    grid-template-columns: 1fr;
  }

  .workflow,
  .evidence-grid,
  .metric-lines {
    grid-template-columns: 1fr;
  }

  .workspace-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow__step,
  .workflow__step:nth-child(2n),
  .workflow__step:nth-child(3n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow__step:last-child {
    border-bottom: 0;
  }

  .evidence-card h3 {
    min-height: 0;
  }

  .metric-line,
  .metric-line:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #46515a;
  }

  .metric-line:last-child {
    border-bottom: 0;
  }

  .workspace-metric,
  .workspace-metric:nth-child(3) {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .workspace-metric:nth-child(2n) {
    border-right: 0;
  }

  .workspace-metric:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .surface__head,
  .panel-heading,
  .explorer-results__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .activity-list li {
    grid-template-columns: 70px 1fr;
    gap: 9px;
    padding: 12px;
  }
}

@media (max-width: 360px) {
  .primary-nav a:nth-child(2) {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
