:root {
  --navy-950: #081225;
  --navy-900: #111f3d;
  --navy-800: #192d51;
  --navy-700: #264268;
  --red-800: #7d1734;
  --red-700: #9d2344;
  --red-600: #b63352;
  --red-100: #f8e8ed;
  --gold-500: #d7a33d;
  --gold-100: #fff4d8;
  --ink: #172033;
  --muted: #5d6879;
  --line: #d8dee8;
  --line-dark: #3d4d6a;
  --paper: #f5f3ef;
  --paper-warm: #ece8e1;
  --white: #ffffff;
  --green: #19745d;
  --green-soft: #dff3eb;
  --shadow-sm: 0 8px 24px rgb(8 18 37 / 8%);
  --shadow-lg: 0 28px 70px rgb(8 18 37 / 18%);
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.6rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.62;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 12em;
  margin-bottom: 1.35rem;
  color: var(--white);
  font-size: clamp(2.45rem, 6vw, 4rem);
  letter-spacing: -0.05em;
}

.hero-line {
  display: block;
}

h2 {
  max-width: 16em;
  margin-bottom: 1rem;
  font-size: clamp(2.25rem, 5.5vw, 4.1rem);
  letter-spacing: -0.038em;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  letter-spacing: -0.02em;
}

code {
  padding: 0.1em 0.35em;
  color: var(--red-800);
  background: var(--red-100);
  border-radius: 0.25rem;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.91em;
  overflow-wrap: anywhere;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  color: var(--navy-900);
  background: var(--white);
  border: 3px solid var(--gold-500);
  border-radius: var(--radius-sm);
  font-weight: 800;
}

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

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  color: var(--white);
  background: rgb(8 18 37 / 97%);
  border-bottom: 1px solid rgb(255 255 255 / 14%);
  box-shadow: 0 10px 30px rgb(8 18 37 / 16%);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 5rem;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.8rem;
  align-items: center;
  text-decoration: none;
}

.github-wordmark {
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.brand-divider {
  width: 1px;
  height: 1.5rem;
  background: rgb(255 255 255 / 38%);
}

.zions-wordmark {
  color: #f1d6de;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.primary-nav {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.primary-nav a {
  padding: 0.55rem 0.7rem;
  color: #dce4f1;
  border-radius: 0.35rem;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.primary-nav a:hover {
  color: var(--white);
  background: rgb(255 255 255 / 9%);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 12%, rgb(182 51 82 / 52%), transparent 28rem),
    radial-gradient(circle at 15% 88%, rgb(38 66 104 / 80%), transparent 32rem),
    linear-gradient(135deg, var(--navy-950), var(--navy-900) 55%, #26152a);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.16;
  background-image:
    linear-gradient(rgb(255 255 255 / 14%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 14%) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}

.hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(112deg, transparent 54%, rgb(255 255 255 / 3%) 54%);
}

.hero-layout {
  display: grid;
  min-height: min(780px, calc(100vh - 5rem));
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

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

.eyebrow {
  margin-bottom: 1rem;
  color: #f4cad6;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--red-700);
}

.eyebrow-light {
  color: #f4cad6;
}

.hero-summary {
  max-width: 46rem;
  margin-bottom: 1.8rem;
  color: #dce4f1;
  font-size: clamp(1.08rem, 2.1vw, 1.35rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 3.35rem;
  padding: 0.85rem 1.3rem;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 170ms ease, background-color 170ms ease, border-color 170ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--navy-950);
  background: var(--white);
  border-color: var(--white);
}

.button-primary:hover {
  background: var(--gold-100);
  border-color: var(--gold-100);
}

.button-secondary {
  color: var(--white);
  background: rgb(255 255 255 / 5%);
  border-color: rgb(255 255 255 / 50%);
}

.button-secondary:hover {
  background: rgb(255 255 255 / 12%);
  border-color: var(--white);
}

.hero-note {
  max-width: 42rem;
  margin: 1.6rem 0 0;
  padding-left: 1rem;
  color: #bfc9d9;
  border-left: 2px solid var(--red-600);
  font-size: 0.84rem;
}

.control-plane {
  position: relative;
  width: min(100%, 32rem);
  aspect-ratio: 1;
  margin-inline: auto;
}

.control-plane::before,
.control-plane::after {
  position: absolute;
  inset: 13%;
  content: "";
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 50%;
}

.control-plane::after {
  inset: 3%;
  border-style: dashed;
  border-color: rgb(244 202 214 / 28%);
}

.control-plane-core {
  position: absolute;
  z-index: 3;
  inset: 29%;
  display: grid;
  padding: 1rem;
  place-content: center;
  text-align: center;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 16%), rgb(255 255 255 / 6%)),
    var(--navy-800);
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 50%;
  box-shadow:
    0 0 0 0.8rem rgb(182 51 82 / 9%),
    var(--shadow-lg);
}

.control-plane-core strong {
  margin-block: 0.2rem 0.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 3vw, 1.7rem);
  line-height: 1.1;
}

.control-plane-core span:last-child {
  color: #cbd4e3;
  font-size: clamp(0.62rem, 1.5vw, 0.78rem);
  line-height: 1.35;
}

.core-kicker {
  color: #f4cad6;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.orbit {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 5.3rem;
  min-height: 2.4rem;
  padding: 0.55rem 0.7rem;
  place-items: center;
  color: var(--white);
  background: rgb(8 18 37 / 88%);
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 999px;
  box-shadow: 0 8px 26px rgb(8 18 37 / 30%);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.orbit-one {
  top: 1%;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-two {
  top: 24%;
  right: 0;
}

.orbit-three {
  right: 8%;
  bottom: 12%;
}

.orbit-four {
  bottom: 1%;
  left: 50%;
  width: 6.4rem;
  transform: translateX(-50%);
}

.orbit-five {
  bottom: 12%;
  left: 5%;
}

.orbit-six {
  top: 24%;
  left: 0;
}

.lifecycle-ribbon {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 2rem;
  background: rgb(8 18 37 / 64%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.lifecycle-ribbon span {
  position: relative;
  padding: 0.85rem 0.5rem;
  color: #dce4f1;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.lifecycle-ribbon span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -0.2rem;
  width: 0.4rem;
  height: 0.4rem;
  content: "";
  transform: translateY(-50%) rotate(45deg);
  border-top: 1px solid #8998af;
  border-right: 1px solid #8998af;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
}

.section-heading {
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-heading > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.split-heading {
  display: grid;
  gap: 1.5rem;
  align-items: end;
}

.split-heading > p {
  max-width: 35rem;
  margin-bottom: 0.35rem;
}

.centered-heading {
  max-width: 51rem;
  margin-inline: auto;
  text-align: center;
}

.centered-heading h2 {
  margin-inline: auto;
}

.centered-heading > p:not(.eyebrow) {
  max-width: 46rem;
  margin-inline: auto;
}

.codeql-section {
  background:
    linear-gradient(to bottom, rgb(245 243 239 / 0%), var(--paper) 13%, var(--paper) 88%, transparent),
    var(--white);
}

.lifecycle-shell {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.lifecycle-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  background: var(--navy-950);
  border-bottom: 1px solid var(--line-dark);
}

.lifecycle-tab {
  position: relative;
  display: grid;
  min-height: 6.4rem;
  padding: 1rem 0.7rem;
  cursor: pointer;
  place-content: center;
  color: #bfc9d9;
  background: transparent;
  border: 0;
  border-right: 1px solid rgb(255 255 255 / 11%);
  text-align: left;
}

.lifecycle-tab:last-child {
  border-right: 0;
}

.lifecycle-tab::after {
  position: absolute;
  right: 1rem;
  bottom: -1px;
  left: 1rem;
  height: 4px;
  content: "";
  transform: scaleX(0);
  background: var(--red-600);
  transform-origin: center;
  transition: transform 180ms ease;
}

.lifecycle-tab:hover {
  color: var(--white);
  background: rgb(255 255 255 / 5%);
}

.lifecycle-tab.is-active {
  color: var(--white);
  background: rgb(182 51 82 / 12%);
}

.lifecycle-tab.is-active::after {
  transform: scaleX(1);
}

.stage-number {
  color: #e899ae;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.stage-label {
  margin-top: 0.18rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.84rem, 1.5vw, 1.08rem);
  font-weight: 700;
  line-height: 1.1;
}

.mini-badge {
  width: fit-content;
  margin-top: 0.35rem;
  padding: 0.12rem 0.35rem;
  color: var(--gold-100);
  background: rgb(215 163 61 / 16%);
  border: 1px solid rgb(215 163 61 / 50%);
  border-radius: 999px;
  font-size: 0.52rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lifecycle-panels {
  min-height: 30rem;
}

.lifecycle-panel {
  display: grid;
  min-height: 30rem;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem);
}

.js .lifecycle-panel {
  display: none;
}

.js .lifecycle-panel.is-active {
  display: grid;
  animation: panel-in 220ms ease-out both;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-copy {
  max-width: 31rem;
}

.panel-copy p:last-of-type {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.panel-kicker,
.card-kicker {
  margin-bottom: 0.6rem;
  color: var(--red-700);
  font-size: 0.71rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-visual {
  position: relative;
  display: grid;
  min-height: 18rem;
  padding: 1.5rem;
  place-content: center;
  background:
    radial-gradient(circle at 82% 12%, rgb(182 51 82 / 18%), transparent 11rem),
    var(--navy-950);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 4%);
}

.visual-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: #9dabc0;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pr-card {
  display: grid;
  width: min(16rem, 100%);
  padding: 1.3rem;
  gap: 0.65rem;
  background: #19243a;
  border: 1px solid #53617a;
  border-radius: 0.7rem;
  box-shadow: 0 14px 30px rgb(0 0 0 / 25%);
}

.pr-line {
  width: 68%;
  height: 0.55rem;
  background: #58667e;
  border-radius: 999px;
}

.pr-line-long {
  width: 90%;
}

.check-row {
  display: flex;
  margin-top: 0.55rem;
  gap: 0.55rem;
  align-items: center;
  color: #e2e9f3;
  font-size: 0.75rem;
  font-weight: 700;
}

.check-dot {
  width: 0.8rem;
  height: 0.8rem;
  background: var(--green);
  border: 2px solid #67d8b4;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgb(25 116 93 / 24%);
}

.flow-visual {
  grid-template-columns: 1fr;
  gap: 0.55rem;
  align-content: center;
}

.flow-node {
  display: grid;
  min-height: 3.2rem;
  padding: 0.75rem 1rem;
  place-items: center;
  color: var(--white);
  border: 1px solid #66748b;
  border-radius: var(--radius-sm);
  font-size: 0.79rem;
  font-weight: 800;
  text-align: center;
}

.source-node {
  background: #3b2030;
  border-color: #b75975;
}

.transform-node {
  background: var(--navy-800);
}

.sink-node {
  background: #512137;
  border-color: #dc8fa5;
}

.flow-path {
  width: 2px;
  height: 1.3rem;
  margin-inline: auto;
  background: linear-gradient(var(--red-600), var(--gold-500));
}

.evidence-visual {
  gap: 1rem;
}

.annotation-card {
  display: grid;
  width: min(18rem, 100%);
  padding: 1rem;
  gap: 0.7rem;
  color: #e5ebf4;
  background: #172238;
  border: 1px solid #69778f;
  border-left: 4px solid var(--red-600);
  border-radius: 0.55rem;
}

.annotation-file {
  color: #98a8c0;
  font-size: 0.67rem;
}

.annotation-code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.8rem;
}

.annotation-warning {
  width: fit-content;
  padding: 0.25rem 0.45rem;
  color: #ffd8e2;
  background: rgb(182 51 82 / 26%);
  border-radius: 0.25rem;
  font-size: 0.65rem;
  font-weight: 800;
}

.path-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
}

.path-chips span {
  padding: 0.32rem 0.55rem;
  color: #cbd4e3;
  background: #21304c;
  border: 1px solid #465672;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 750;
}

.remediation-visual {
  gap: 0.65rem;
}

.diff-card {
  width: min(18rem, 100%);
  padding: 0.85rem 1rem;
  border-radius: 0.4rem;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
}

.diff-before {
  color: #f4c7d3;
  background: #442230;
  border: 1px solid #824259;
}

.diff-after {
  color: #bcebdc;
  background: #183b34;
  border: 1px solid #32735f;
}

.diff-arrow {
  color: var(--gold-500);
  font-size: 1.5rem;
  text-align: center;
}

.agent-visual {
  gap: 0.65rem;
}

.agent-alert,
.agent-core,
.agent-pr {
  min-width: min(17rem, 100%);
  padding: 0.75rem 1rem;
  color: var(--white);
  border: 1px solid #66748b;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  text-align: center;
}

.agent-alert {
  background: #4d2033;
  border-color: #b75975;
}

.agent-core {
  background: linear-gradient(135deg, var(--red-700), var(--navy-700));
  border-color: #d58ba0;
  box-shadow: 0 0 0 6px rgb(182 51 82 / 11%);
}

.agent-pr {
  background: #174138;
  border-color: #438c75;
}

.agent-link {
  width: 2px;
  height: 1.2rem;
  margin-inline: auto;
  background: #7f8ea5;
}

.badge-row {
  display: flex;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.badge {
  display: inline-flex;
  padding: 0.34rem 0.62rem;
  align-items: center;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.badge-preview {
  color: #44230a;
  background: var(--gold-100);
  border: 1px solid var(--gold-500);
}

.badge-outline {
  color: var(--red-800);
  background: var(--white);
  border: 1px solid #dca8b6;
}

.badge-outline-light {
  color: #e5ebf4;
  background: rgb(255 255 255 / 5%);
  border: 1px solid rgb(255 255 255 / 35%);
}

.learn-more {
  display: inline-flex;
  width: fit-content;
  min-height: 2.25rem;
  margin-top: 1rem;
  padding: 0.45rem 0.8rem;
  align-items: center;
  justify-content: center;
  color: var(--red-800);
  background: var(--white);
  border: 1px solid #d7a5b3;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease,
    transform 160ms ease;
}

.learn-more:hover {
  color: var(--white);
  background: var(--red-800);
  border-color: var(--red-800);
  transform: translateY(-1px);
}

.learn-more-light {
  color: var(--white);
  background: rgb(255 255 255 / 8%);
  border-color: rgb(255 255 255 / 36%);
}

.learn-more-light:hover {
  color: var(--navy-950);
  background: var(--white);
  border-color: var(--white);
}

.campaign-visual {
  gap: 1rem;
}

.campaign-progress {
  width: min(18rem, 100%);
  height: 1.2rem;
  padding: 0.25rem;
  background: #162239;
  border: 1px solid #53617a;
  border-radius: 999px;
}

.campaign-bar {
  display: block;
  width: var(--progress);
  height: 100%;
  background: linear-gradient(90deg, var(--red-600), var(--gold-500));
  border-radius: inherit;
}

.campaign-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}

.campaign-meta span {
  padding: 0.55rem 0.35rem;
  color: #cad4e3;
  background: #1c2941;
  border: 1px solid #44536e;
  border-radius: 0.35rem;
  font-size: 0.62rem;
  font-weight: 750;
  text-align: center;
}

.section-footnote {
  max-width: 57rem;
  margin: 1.25rem auto 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.supply-section {
  position: relative;
  overflow: hidden;
}

.supply-section::before {
  position: absolute;
  z-index: -1;
  top: 7rem;
  right: -15rem;
  width: 34rem;
  height: 34rem;
  content: "";
  opacity: 0.28;
  background: radial-gradient(circle, var(--red-100), transparent 66%);
  border-radius: 50%;
}

.supply-foundation {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.foundation-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.foundation-card::after {
  position: absolute;
  right: -2rem;
  bottom: -3rem;
  width: 10rem;
  height: 10rem;
  content: "";
  opacity: 0.45;
  background: radial-gradient(circle, var(--red-100), transparent 70%);
  border-radius: 50%;
}

.foundation-card > p:not(.card-kicker),
.compact-list {
  position: relative;
  z-index: 1;
  color: var(--muted);
}

.card-icon {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 1.5rem;
  place-items: center;
  color: var(--white);
  background: var(--red-800);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.fact-strip {
  position: relative;
  z-index: 1;
  display: grid;
  margin-top: 1.4rem;
  padding: 1rem;
  gap: 0.25rem;
  color: #39240b;
  background: var(--gold-100);
  border-left: 4px solid var(--gold-500);
  border-radius: 0.35rem;
  font-size: 0.84rem;
}

.compact-list {
  margin: 1.25rem 0 0;
  padding-left: 1.15rem;
}

.compact-list li + li {
  margin-top: 0.45rem;
}

.signal-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.signal-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy-700);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.signal-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.signal-tag {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--red-700);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.triage-band {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  color: var(--white);
  background:
    radial-gradient(circle at 95% 10%, rgb(182 51 82 / 30%), transparent 20rem),
    var(--navy-900);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.triage-band h3 {
  color: var(--white);
}

.triage-band p {
  margin-bottom: 0;
  color: #cbd4e3;
}

.triage-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.rule-chip,
.status-chip {
  padding: 0.48rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}

.rule-chip {
  color: #e7edf6;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 22%);
}

.status-chip {
  color: #bcebdc;
  background: rgb(25 116 93 / 24%);
  border: 1px solid #4c9d83;
}

.rule-arrow {
  color: var(--gold-500);
  font-size: 1.3rem;
}

.triage-evidence p {
  flex-basis: 100%;
  margin-top: 0.6rem;
  font-size: 0.82rem;
}

.triage-evidence code {
  color: #fff2ce;
  background: rgb(215 163 61 / 13%);
}

.firewall-section {
  color: var(--white);
  background:
    linear-gradient(rgb(8 18 37 / 95%), rgb(8 18 37 / 95%)),
    linear-gradient(90deg, var(--red-800), var(--navy-700));
}

.firewall-shell {
  position: relative;
}

.firewall-intro {
  max-width: 54rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.firewall-intro h2 {
  color: var(--white);
}

.firewall-intro > p:last-child {
  color: #cbd4e3;
  font-size: 1.08rem;
}

.firewall-diagram {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.firewall-node,
.firewall-gate {
  min-height: 12rem;
  padding: 1.4rem;
  border-radius: var(--radius-md);
}

.firewall-node {
  display: grid;
  gap: 0.55rem;
  align-content: center;
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(255 255 255 / 24%);
}

.firewall-node strong {
  padding: 0.45rem 0.65rem;
  color: #e4eaf3;
  background: rgb(255 255 255 / 6%);
  border-radius: 0.3rem;
  font-size: 0.76rem;
}

.node-label {
  margin-bottom: 0.35rem;
  color: #9facbf;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.firewall-gate {
  position: relative;
  display: grid;
  place-content: center;
  background:
    linear-gradient(145deg, rgb(182 51 82 / 20%), rgb(255 255 255 / 6%)),
    #152440;
  border: 2px solid var(--red-600);
  box-shadow: 0 0 0 8px rgb(182 51 82 / 8%);
}

.firewall-gate strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.firewall-gate ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: #cbd4e3;
  font-size: 0.76rem;
}

.gate-top {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.22rem 0.42rem;
  color: #4e3009;
  background: var(--gold-100);
  border-radius: 999px;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.firewall-connector {
  display: grid;
  min-height: 2rem;
  place-items: center;
}

.firewall-connector span {
  position: relative;
  display: block;
  width: 2px;
  height: 2.2rem;
  background: #78879e;
}

.firewall-connector span::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  content: "";
  transform: translate(-50%, 2px) rotate(45deg);
  border-right: 2px solid #a5b2c5;
  border-bottom: 2px solid #a5b2c5;
}

.firewall-outcomes {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.outcome {
  display: flex;
  padding: 1rem;
  gap: 0.75rem;
  align-items: center;
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: var(--radius-sm);
}

.outcome-mark {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 900;
}

.outcome div {
  display: grid;
}

.outcome span:last-child {
  color: #bfc9d9;
  font-size: 0.72rem;
}

.outcome-blocked .outcome-mark {
  color: #ffd5e0;
  background: rgb(182 51 82 / 35%);
  border: 1px solid #d36f8c;
}

.outcome-approved .outcome-mark {
  color: #bcebdc;
  background: rgb(25 116 93 / 34%);
  border: 1px solid #4b9b82;
}

.outcome-exception .outcome-mark {
  color: #fff2ce;
  background: rgb(215 163 61 / 22%);
  border: 1px solid #d7a33d;
}

.preview-disclaimer {
  margin: 1.5rem 0 0;
  padding-top: 1.2rem;
  color: #9facbf;
  border-top: 1px solid rgb(255 255 255 / 14%);
  font-size: 0.76rem;
}

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

.evidence-layout {
  display: grid;
  gap: 1rem;
}

.audit-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.audit-card p:last-of-type {
  margin-bottom: 0;
  color: var(--muted);
}

.audit-card-primary {
  color: var(--white);
  background:
    radial-gradient(circle at 88% 10%, rgb(182 51 82 / 40%), transparent 12rem),
    var(--navy-900);
  border-color: var(--navy-900);
}

.audit-card-primary .card-kicker {
  color: #f1becd;
}

.audit-card-primary code {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.55rem 0.75rem;
  color: #fff1f5;
  background: rgb(255 255 255 / 9%);
  border: 1px solid rgb(255 255 255 / 18%);
}

.audit-card-primary p:last-of-type {
  color: #cbd4e3;
}

.evidence-principle {
  display: grid;
  margin-top: 1.5rem;
  grid-template-columns: 4px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.principle-line {
  display: block;
  background: linear-gradient(var(--red-600), var(--gold-500));
  border-radius: 999px;
}

.evidence-principle p {
  margin: 0;
  padding-block: 0.3rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.evidence-principle .learn-more {
  margin-top: 0;
}

.operating-section {
  background: var(--white);
}

.operating-flow {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0;
  list-style: none;
  counter-reset: steps;
}

.operating-flow li {
  position: relative;
  display: grid;
  min-height: 10rem;
  padding: 1.6rem 1.2rem;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.operating-flow li + li {
  margin-top: -1px;
}

.operating-flow li:first-child {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.operating-flow li:last-child {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.flow-index {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 900;
}

.operating-flow h3 {
  margin-bottom: 0.45rem;
}

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

.flow-status {
  display: inline-flex;
  margin-bottom: 0.45rem;
  padding: 0.18rem 0.4rem;
  border-radius: 999px;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.preview-status {
  color: #4e3009;
  background: var(--gold-100);
  border: 1px solid var(--gold-500);
}

.closing-statement {
  display: grid;
  margin-top: 2rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  gap: 0.75rem;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 0, rgb(182 51 82 / 45%), transparent 17rem),
    var(--navy-950);
  border-radius: var(--radius-md);
}

.closing-kicker {
  color: #f4cad6;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.closing-statement p {
  max-width: 49rem;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.25;
}

.site-footer {
  padding-block: 2rem;
  color: var(--white);
  background: #060d1c;
}

.footer-bottom {
  display: flex;
  gap: 0.75rem 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
  color: #8e9bb0;
  font-size: 0.72rem;
}

@media (min-width: 680px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  }

  .split-heading {
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  }

  .lifecycle-panel {
    grid-template-columns: minmax(17rem, 0.9fr) minmax(0, 1.1fr);
  }

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

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

  .triage-band {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
  }

  .firewall-diagram {
    grid-template-columns: minmax(0, 1fr) 4rem minmax(15rem, 1.1fr) 4rem minmax(0, 1fr);
  }

  .firewall-connector span {
    width: 100%;
    height: 2px;
  }

  .firewall-connector span::after {
    top: 50%;
    right: 0;
    bottom: auto;
    left: auto;
    transform: translateY(-50%) rotate(-45deg);
  }

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

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

  .audit-card-primary {
    grid-column: span 2;
  }

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

  .operating-flow li + li {
    margin-top: 0;
    margin-left: -1px;
  }

  .operating-flow li:nth-child(n + 3) {
    margin-top: -1px;
  }

  .operating-flow li:first-child {
    border-radius: var(--radius-md) 0 0 0;
  }

  .operating-flow li:nth-child(2) {
    border-radius: 0 var(--radius-md) 0 0;
  }

  .operating-flow li:last-child {
    border-radius: 0 0 var(--radius-md) 0;
  }

  .operating-flow li:nth-last-child(2) {
    border-radius: 0 0 0 var(--radius-md);
  }

}

@media (min-width: 980px) {
  .evidence-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .audit-card-primary {
    grid-column: span 3;
  }

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

  .operating-flow li:nth-child(n + 3) {
    margin-top: 0;
  }

  .operating-flow li:nth-child(n + 4) {
    margin-top: -1px;
  }

  .operating-flow li:first-child {
    border-radius: var(--radius-md) 0 0 0;
  }

  .operating-flow li:nth-child(2) {
    border-radius: 0;
  }

  .operating-flow li:nth-child(3) {
    border-radius: 0 var(--radius-md) 0 0;
  }

  .operating-flow li:nth-child(5) {
    border-radius: 0;
  }

  .operating-flow li:nth-last-child(2) {
    border-radius: 0;
  }

  .operating-flow li:nth-child(4) {
    border-radius: 0 0 0 var(--radius-md);
  }

  .operating-flow li:last-child {
    border-radius: 0 0 var(--radius-md) 0;
  }
}

@media (max-width: 820px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 0.65rem;
  }

  .primary-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .primary-nav a {
    flex: 0 0 auto;
  }

  html {
    scroll-padding-top: 8.5rem;
  }

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

  .lifecycle-tab:nth-child(3) {
    border-right: 0;
  }

  .lifecycle-tab:nth-child(-n + 3) {
    border-bottom: 1px solid rgb(255 255 255 / 11%);
  }
}

@media (max-width: 679px) {
  .hero-layout {
    min-height: auto;
  }

  .control-plane {
    width: min(100%, 25rem);
  }

  .lifecycle-ribbon {
    grid-template-columns: repeat(3, 1fr);
  }

  .lifecycle-ribbon span:nth-child(3)::after {
    display: none;
  }

  .lifecycle-panel {
    padding: 1.25rem;
  }

  .panel-visual {
    min-height: 15rem;
  }

  .firewall-node,
  .firewall-gate {
    min-height: auto;
  }
}

@media (max-width: 440px) {
  .container {
    width: min(100% - 1.2rem, 1180px);
  }

  .brand {
    gap: 0.55rem;
  }

  .github-wordmark,
  .zions-wordmark {
    font-size: 0.98rem;
  }

  .primary-nav a {
    padding-inline: 0.55rem;
    font-size: 0.74rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .control-plane-core {
    inset: 27%;
  }

  .orbit {
    width: 4.5rem;
    padding-inline: 0.4rem;
    font-size: 0.63rem;
  }

  .orbit-four {
    width: 5.4rem;
  }

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

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

  .lifecycle-tab:nth-child(-n + 4) {
    border-bottom: 1px solid rgb(255 255 255 / 11%);
  }

  .lifecycle-tab:nth-child(3) {
    border-right: 1px solid rgb(255 255 255 / 11%);
  }

  .campaign-meta {
    grid-template-columns: 1fr;
  }

  .evidence-principle {
    grid-template-columns: 4px minmax(0, 1fr);
  }

  .evidence-principle .learn-more {
    grid-column: 2;
  }
}

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

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