:root {
  color-scheme: light;
  --navy-950: #07101a;
  --navy-900: #09131f;
  --navy-850: #0d1925;
  --charcoal: #111a22;
  --slate-700: #34414c;
  --slate-500: #65727d;
  --slate-300: #aab4bd;
  --line-dark: #27343f;
  --line-light: #cbd1cf;
  --paper: #f4f4f0;
  --paper-deep: #e9eae5;
  --white: #ffffff;
  --gold: #d6a84b;
  --gold-light: #f2d58a;
  --gold-wash: #f5ead0;
  --safe: #62c5a4;
  --danger: #e4897d;
  --display: "Bahnschrift SemiCondensed", "Aptos Display", "Arial Narrow", sans-serif;
  --body: "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --utility: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --content: min(92vw, 1380px);
  --shadow: 0 24px 70px rgb(7 16 26 / 12%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
  color: var(--navy-900);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--gold-light);
  color: var(--navy-950);
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  translate: 0 -160%;
  padding: 0.7rem 1rem;
  background: var(--gold-light);
  color: var(--navy-950);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  translate: 0;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 74px;
  padding: 0 4vw;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  background: rgb(9 19 31 / 96%);
  color: var(--white);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2.5;
}

.brand-mark-accent {
  stroke: var(--gold);
}

.brand > span {
  display: grid;
  line-height: 1;
}

.brand strong {
  font-family: var(--display);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
}

.brand small {
  margin-top: 0.23rem;
  color: var(--slate-300);
  font-family: var(--utility);
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.8rem);
}

.site-header nav a,
.header-profile {
  color: #dbe0e3;
  font-family: var(--utility);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header nav a {
  position: relative;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.55rem;
  left: 0;
  height: 1px;
  scale: 0 1;
  background: var(--gold);
  content: "";
  transform-origin: left;
  transition: scale 180ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  scale: 1;
}

.header-profile {
  padding: 0.56rem 0.8rem;
  border: 1px solid #43505a;
}

.header-profile:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 0.85fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
  min-height: calc(100svh - 74px);
  padding: clamp(5rem, 10vw, 9.5rem) max(4vw, calc((100vw - 1380px) / 2));
  background-color: var(--navy-900);
  background-image:
    linear-gradient(rgb(255 255 255 / 2%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2%) 1px, transparent 1px);
  background-size: 52px 52px;
  color: var(--white);
}

.hero::before {
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: max(1.5vw, calc((100vw - 1520px) / 2));
  width: 1px;
  background: linear-gradient(transparent, rgb(214 168 75 / 68%), transparent);
  content: "";
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--slate-500);
  font-family: var(--utility);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow,
.safety-section .eyebrow,
.architecture-section .eyebrow {
  color: var(--gold-light);
}

.status-dot {
  display: inline-block;
  width: 0.52rem;
  height: 0.52rem;
  margin-right: 0.48rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgb(214 168 75 / 12%);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 0.93;
}

h1 {
  max-width: 780px;
  font-size: clamp(4rem, 7.1vw, 7.7rem);
  text-transform: uppercase;
}

h1 em {
  color: var(--gold);
  font-style: normal;
  font-weight: 320;
}

.hero-lede {
  max-width: 650px;
  margin: 2rem 0 0;
  color: #edf0f2;
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  font-weight: 550;
  line-height: 1.38;
}

.hero-context {
  max-width: 610px;
  margin: 1rem 0 0;
  color: var(--slate-300);
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--utility);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, translate 160ms ease;
}

.button:hover {
  translate: 0 -2px;
}

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

.button-primary:hover {
  background: var(--gold-light);
}

.button-secondary {
  border-color: #52606b;
  background: transparent;
  color: var(--white);
}

.button-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.button-quiet {
  border-color: #53616d;
  background: transparent;
  color: #e3e7e9;
}

.button-quiet:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.local-note {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  max-width: 580px;
  margin: 1.4rem 0 0;
  color: #96a2ab;
  font-size: 0.78rem;
}

.local-note svg {
  flex: 0 0 18px;
  width: 18px;
  margin-top: 0.15rem;
  fill: var(--safe);
}

.signal-board {
  position: relative;
  width: 100%;
  max-width: 590px;
  justify-self: end;
  border: 1px solid #34424e;
  background: rgb(7 16 26 / 76%);
  box-shadow: 0 32px 100px rgb(0 0 0 / 30%);
}

.signal-board::before {
  position: absolute;
  inset: -12px 12px 12px -12px;
  z-index: -1;
  border: 1px solid rgb(214 168 75 / 18%);
  content: "";
}

.signal-board-head,
.signal-board-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--slate-300);
  font-family: var(--utility);
  font-size: 0.61rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-board-head {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line-dark);
}

.live-label {
  color: var(--safe);
}

.live-label i {
  display: inline-block;
  width: 0.38rem;
  height: 0.38rem;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: currentcolor;
  box-shadow: 0 0 8px currentcolor;
}

.signal-path {
  position: relative;
  margin: 0;
  padding: 0.6rem 1rem;
  list-style: none;
}

.signal-path::before {
  position: absolute;
  z-index: 1;
  top: 3rem;
  bottom: 3rem;
  left: 4.42rem;
  width: 1px;
  background: #384854;
  content: "";
}

.signal-path::after {
  position: absolute;
  z-index: 2;
  top: 3rem;
  left: calc(4.42rem - 3px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 16px var(--gold);
  content: "";
  animation: signal-scan 5.5s cubic-bezier(.45, 0, .2, 1) infinite;
}

@keyframes signal-scan {
  0%, 8% { top: 3rem; opacity: 0; }
  14% { opacity: 1; }
  82% { opacity: 1; }
  92%, 100% { top: calc(100% - 3rem); opacity: 0; }
}

.signal-path li {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 30px 48px 1fr auto;
  gap: 0.7rem;
  align-items: center;
  min-height: 80px;
  border-bottom: 1px solid #1f2b35;
}

.signal-path li:last-child {
  border-bottom: 0;
}

.signal-index,
.signal-state {
  font-family: var(--utility);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signal-index {
  color: #66737d;
}

.signal-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #3b4a56;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--gold-light);
  font-family: var(--utility);
  font-size: 0.63rem;
  font-weight: 800;
}

.signal-copy {
  display: grid;
}

.signal-copy strong {
  color: #edf0f2;
  font-size: 0.9rem;
  font-weight: 650;
}

.signal-copy small {
  color: #7f8b94;
  font-size: 0.72rem;
}

.signal-state {
  padding: 0.28rem 0.46rem;
  border: 1px solid #33434e;
  color: #a9b3ba;
}

.signal-path .human-gate .signal-icon {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy-950);
  box-shadow: 0 0 0 5px rgb(214 168 75 / 8%);
}

.signal-path .human-gate .signal-state {
  border-color: var(--gold);
  color: var(--gold-light);
}

.signal-board-foot {
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--line-dark);
  color: var(--safe);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--gold);
  color: var(--navy-950);
}

.trust-strip p {
  margin: 0;
  padding: 1rem 1.25rem;
  border-right: 1px solid rgb(7 16 26 / 22%);
  font-family: var(--utility);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}

.trust-strip p:last-child {
  border-right: 0;
}

.trust-strip span {
  margin-right: 0.48rem;
}

.section {
  padding: clamp(5.5rem, 9vw, 9rem) max(4vw, calc((100vw - 1380px) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.55fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
  margin-bottom: clamp(2.8rem, 5vw, 5rem);
}

.section-heading h2,
.responsibility-intro h2,
.resources h2 {
  font-size: clamp(3.2rem, 5.4vw, 6rem);
  text-transform: uppercase;
}

.section-heading > p {
  max-width: 530px;
  margin: 0;
  color: var(--slate-500);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.section-heading-light h2,
.section-heading-light > p {
  color: var(--white);
}

.section-heading-light > p {
  color: var(--slate-300);
}

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

.filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 0.72fr)) minmax(230px, 1.15fr) auto;
  gap: 0;
  align-items: end;
  border: 1px solid var(--line-light);
  background: var(--white);
  box-shadow: 0 15px 45px rgb(7 16 26 / 6%);
}

.field {
  min-width: 0;
  padding: 0.8rem 1rem 0.9rem;
  border-right: 1px solid var(--line-light);
}

.field label,
.classifier-shell label {
  display: block;
  margin-bottom: 0.36rem;
  color: var(--slate-500);
  font-family: var(--utility);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field select,
.field input {
  width: 100%;
  min-height: 39px;
  padding: 0 1.65rem 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--navy-900);
  font-size: 0.88rem;
}

.field input {
  padding-right: 0;
}

.field input::placeholder,
.classifier-shell textarea::placeholder {
  color: #7d878f;
  opacity: 1;
}

.field select:focus-visible,
.field input:focus-visible {
  outline-offset: 1px;
}

.filter-reset {
  min-height: 74px;
  padding: 0 1.3rem;
  border: 0;
  background: var(--navy-900);
  color: var(--white);
  cursor: pointer;
  font-family: var(--utility);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.filter-reset:hover {
  background: var(--slate-700);
}

.result-summary {
  display: flex;
  gap: 0.4rem;
  align-items: baseline;
  margin: 1.65rem 0 1rem;
  color: var(--slate-500);
  font-family: var(--utility);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.result-summary strong {
  color: var(--navy-900);
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.use-case-card {
  position: relative;
  display: flex;
  min-height: 410px;
  flex-direction: column;
  padding: 1.45rem;
  border: 1px solid var(--line-light);
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease, translate 180ms ease;
}

.use-case-card:hover {
  translate: 0 -3px;
  border-color: #9da6a8;
  box-shadow: var(--shadow);
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.record-id,
.risk-pill,
.readiness-pill {
  font-family: var(--utility);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.record-id {
  color: var(--slate-500);
}

.risk-pill {
  padding: 0.27rem 0.45rem;
  border: 1px solid var(--line-light);
}

.risk-pill[data-risk="high"],
.risk-pill[data-risk="critical"] {
  border-color: #c55f52;
  color: #963e35;
}

.risk-pill[data-risk="moderate"],
.risk-pill[data-risk="medium"] {
  border-color: #b48732;
  color: #7b5a16;
}

.risk-pill[data-risk="low"] {
  border-color: #4f9f86;
  color: #2b715b;
}

.use-case-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.08;
}

.sector-label {
  margin: 0 0 0.55rem;
  color: #8b681f;
  font-family: var(--utility);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-assistance {
  margin: 1rem 0 1.2rem;
  color: var(--slate-700);
  font-size: 0.9rem;
}

.card-details {
  display: grid;
  gap: 0.68rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e0e3e1;
}

.card-details p {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.6rem;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.card-details strong {
  color: var(--slate-500);
  font-family: var(--utility);
  font-size: 0.56rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.readiness-pill {
  display: inline-block;
  width: fit-content;
  margin-top: 0.15rem;
  padding: 0.27rem 0.45rem;
  background: var(--gold-wash);
  color: #6d5017;
}

.load-message {
  margin: 1rem 0;
  color: var(--slate-500);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 3rem;
  border: 1px dashed #9da6a8;
  text-align: center;
}

.empty-state strong {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
}

.empty-state p {
  margin: 0.4rem 0 0;
  color: var(--slate-500);
}

.section-link {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
}

.section-link a {
  padding-bottom: 0.3rem;
  border-bottom: 1px solid currentcolor;
  color: var(--navy-900);
  font-family: var(--utility);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.section-link a:hover {
  color: #8b681f;
}

.safety-section {
  background: var(--charcoal);
  color: var(--white);
}

.scenario-shell {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid #33414c;
  background: var(--navy-900);
  box-shadow: 0 30px 90px rgb(0 0 0 / 25%);
}

.scenario-rail {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.5rem;
  border-right: 1px solid #33414c;
  color: var(--slate-300);
  font-family: var(--utility);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.scenario-progress {
  overflow: hidden;
  width: 100%;
  height: 3px;
  background: #34414c;
}

.scenario-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
  transition: width 220ms ease;
}

.scenario-rail #scenario-severity {
  width: fit-content;
  margin-top: auto;
  padding: 0.35rem 0.48rem;
  border: 1px solid #54626d;
  color: var(--gold-light);
}

.scenario-card {
  min-height: 540px;
  padding: clamp(1.5rem, 4vw, 3.8rem);
}

.scenario-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--gold-light);
  font-family: var(--utility);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scenario-card > h3 {
  margin: 2.4rem 0 0.5rem;
  color: var(--slate-300);
  font-family: var(--utility);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scenario-card blockquote {
  max-width: 900px;
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.65rem, 3.2vw, 2.75rem);
  font-weight: 580;
  letter-spacing: -0.025em;
  line-height: 1.22;
}

.scenario-context {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  max-width: 850px;
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid #2e3c47;
}

.scenario-context strong {
  color: var(--slate-300);
  font-family: var(--utility);
  font-size: 0.61rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scenario-context p {
  margin: 0;
  color: #bbc4ca;
  font-size: 0.88rem;
}

.scenario-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.scenario-answer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.scenario-answer[hidden] {
  display: none;
}

.answer-block {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid #36444f;
  background: #101e2a;
}

.answer-block > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid currentcolor;
  border-radius: 50%;
  font-family: var(--utility);
}

.answer-safe > span {
  color: var(--safe);
}

.answer-prohibited > span {
  color: var(--danger);
}

.answer-block strong,
.answer-criteria strong {
  color: var(--gold-light);
  font-family: var(--utility);
  font-size: 0.61rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.answer-block p,
.answer-criteria p {
  margin: 0.35rem 0 0;
  color: #c7ced3;
  font-size: 0.81rem;
  line-height: 1.5;
}

.answer-criteria {
  grid-column: 1 / -1;
  padding: 0.9rem 1rem;
  border-left: 2px solid var(--gold);
  background: rgb(214 168 75 / 7%);
}

.section-link-light a {
  color: var(--gold-light);
}

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

.classifier-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.65fr);
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid var(--line-light);
  background: var(--white);
  box-shadow: var(--shadow);
}

.classifier-shell form {
  padding: clamp(1.5rem, 4vw, 3rem);
  border-right: 1px solid var(--line-light);
}

.classifier-status {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  width: fit-content;
  margin-bottom: 2rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--line-light);
  color: var(--slate-700);
  font-family: var(--utility);
  font-size: 0.61rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.classifier-status span {
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: var(--gold);
}

.classifier-status[data-mode="model"] span {
  background: var(--safe);
}

.classifier-shell textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  padding: 1rem;
  border: 1px solid #aeb7b8;
  border-radius: 0;
  background: #fbfbf8;
  line-height: 1.55;
}

.classifier-shell textarea[aria-invalid="true"] {
  border-color: #a53e35;
}

.input-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.45rem;
  color: var(--slate-500);
  font-size: 0.7rem;
}

.input-meta b {
  font-weight: 700;
}

.form-error {
  min-height: 1.4em;
  margin: 0.4rem 0 0;
  color: #91372f;
  font-size: 0.76rem;
  font-weight: 700;
}

.example-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-top: 1rem;
}

.example-prompts > span {
  margin-right: 0.2rem;
  color: var(--slate-500);
  font-family: var(--utility);
  font-size: 0.61rem;
  text-transform: uppercase;
}

.example-prompts button {
  padding: 0.35rem 0.55rem;
  border: 1px solid #b5bdbd;
  background: transparent;
  cursor: pointer;
  font-size: 0.71rem;
}

.example-prompts button:hover {
  border-color: var(--gold);
  background: var(--gold-wash);
}

.classify-button {
  margin-top: 1.5rem;
}

.classification-output {
  display: grid;
  min-height: 500px;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background-color: var(--navy-900);
  background-image: radial-gradient(circle, rgb(255 255 255 / 9%) 1px, transparent 1px);
  background-size: 20px 20px;
  color: var(--white);
}

.output-empty {
  max-width: 260px;
  color: var(--slate-300);
  text-align: center;
}

.output-empty svg {
  width: 180px;
  margin: 0 auto 1rem;
  fill: var(--navy-900);
  stroke: #51606b;
  stroke-width: 2;
}

.output-empty circle {
  fill: var(--gold);
  stroke: var(--gold);
}

.output-empty p {
  margin: 0;
  font-size: 0.82rem;
}

.output-result {
  width: 100%;
}

.output-result[hidden] {
  display: none;
}

.output-label {
  margin: 0 0 0.4rem;
  color: var(--slate-300);
  font-family: var(--utility);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.output-result h3 {
  margin: 0;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.confidence-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.7rem;
  color: var(--slate-300);
  font-family: var(--utility);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.confidence-row[hidden],
.confidence-track[hidden] {
  display: none;
}

.confidence-track {
  overflow: hidden;
  width: 100%;
  height: 3px;
  margin-top: 0.45rem;
  background: #3d4a55;
}

.confidence-track i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--safe);
  transition: width 240ms ease;
}

#intent-explanation {
  margin: 1.5rem 0 0;
  color: #c5ccd1;
  font-size: 0.9rem;
}

.matched-cues {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-top: 1rem;
}

.matched-cues span {
  padding: 0.25rem 0.42rem;
  border: 1px solid #485864;
  color: var(--gold-light);
  font-family: var(--utility);
  font-size: 0.58rem;
}

.output-caution {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #3a4853;
  color: #c5ccd1;
  font-size: 0.76rem;
}

.output-caution strong {
  color: var(--safe);
}

.classifier-disclaimer {
  max-width: 900px;
  margin: 1.2rem auto 0;
  color: var(--slate-500);
  font-size: 0.78rem;
  text-align: center;
}

.architecture-section {
  background: var(--navy-950);
  color: var(--white);
}

.architecture-diagram {
  overflow-x: auto;
  border: 1px solid #2d3a45;
  background: #0a1621;
}

.architecture-diagram svg {
  min-width: 850px;
  width: 100%;
  height: auto;
}

.diagram-grid {
  fill: url(#grid);
  stroke: none;
}

#grid path {
  fill: none;
  stroke: #17232d;
  stroke-width: 1;
}

.diagram-zone-label,
.diagram-code,
.diagram-copy,
.diagram-output text,
.diagram-stop text {
  font-family: var(--utility);
}

.diagram-zone-label {
  fill: #65727d;
  font-size: 11px;
  letter-spacing: 1.4px;
}

.diagram-flow,
.diagram-review-flow {
  fill: none;
  stroke: #75828b;
  stroke-width: 1.5;
}

.diagram-review-flow {
  stroke: var(--gold);
  stroke-dasharray: 5 5;
}

#arrow path {
  fill: context-stroke;
}

.diagram-node rect {
  fill: #0f1d29;
  stroke: #47555f;
  stroke-width: 1.2;
}

.diagram-node-gold rect {
  fill: #1f2020;
  stroke: var(--gold);
}

.diagram-code {
  fill: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
}

.diagram-title {
  fill: var(--white);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 650;
}

.diagram-copy {
  fill: #909ca5;
  font-size: 10.5px;
}

.diagram-node-small .diagram-title {
  font-size: 18px;
}

.diagram-output circle {
  fill: var(--gold);
  stroke: var(--gold-light);
  stroke-width: 2;
}

.diagram-output text {
  fill: #7f8b94;
  font-size: 9px;
  letter-spacing: 1px;
}

.diagram-stop path {
  fill: none;
  stroke: var(--danger);
  stroke-dasharray: 4 4;
}

.diagram-stop rect {
  fill: #2a181a;
  stroke: var(--danger);
}

.diagram-stop text {
  fill: #f1aaa1;
  font-size: 9px;
  letter-spacing: 0.7px;
}

.architecture-legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: solid #2d3a45;
  border-width: 0 1px 1px;
}

.architecture-legend p {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 1.1rem;
  border-right: 1px solid #2d3a45;
}

.architecture-legend p:last-child {
  border-right: 0;
}

.architecture-legend strong {
  color: var(--gold-light);
  font-family: var(--utility);
  font-size: 0.61rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.architecture-legend span {
  color: var(--slate-300);
  font-size: 0.77rem;
}

.responsibility-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 9vw, 9rem);
  background: var(--white);
}

.responsibility-intro {
  align-self: start;
}

.responsibility-intro h2 {
  max-width: 560px;
}

.responsibility-intro > p:last-child {
  max-width: 500px;
  margin: 1.5rem 0 0;
  color: var(--slate-500);
}

.principle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: solid var(--line-light);
  border-width: 1px 0 0 1px;
}

.principle-grid article {
  min-height: 250px;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: solid var(--line-light);
  border-width: 0 1px 1px 0;
}

.principle-grid span {
  color: #9a762e;
  font-family: var(--utility);
  font-size: 0.62rem;
}

.principle-grid h3 {
  margin: 2.2rem 0 0.6rem;
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1.05;
}

.principle-grid p {
  margin: 0;
  color: var(--slate-500);
  font-size: 0.84rem;
}

.resources {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 9vw, 9rem);
  padding: clamp(5rem, 9vw, 8rem) max(4vw, calc((100vw - 1380px) / 2));
  background: var(--gold);
  color: var(--navy-950);
}

.resources .eyebrow {
  color: #62480f;
}

.resource-list {
  border-top: 1px solid rgb(7 16 26 / 35%);
}

.resource-list a {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgb(7 16 26 / 35%);
  text-decoration: none;
}

.resource-list a:hover strong {
  translate: 0.35rem 0;
}

.resource-list span {
  font-family: var(--utility);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.resource-list strong {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  line-height: 1.1;
  transition: translate 160ms ease;
}

.resource-list i {
  font-style: normal;
  font-size: 1.2rem;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem max(4vw, calc((100vw - 1380px) / 2));
  background: var(--navy-950);
  color: var(--white);
}

.footer-brand {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.footer-brand > div {
  display: grid;
}

.footer-brand strong {
  font-family: var(--display);
  font-size: 1.15rem;
}

.footer-brand span {
  color: var(--slate-300);
  font-size: 0.73rem;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

footer nav a {
  color: #d4dadd;
  font-family: var(--utility);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

footer nav a:hover {
  color: var(--gold-light);
}

.footer-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.2rem;
  border-top: 1px solid #2c3944;
  color: #82909a;
  font-family: var(--utility);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.noscript {
  position: fixed;
  z-index: 999;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  margin: 0;
  padding: 1rem;
  border: 2px solid var(--gold);
  background: var(--navy-900);
  color: var(--white);
  text-align: center;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr 440px;
    gap: 3.5rem;
  }

  .site-header nav {
    display: none;
  }

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

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

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

  .field-search {
    grid-column: 1 / span 2;
    border-top: 1px solid var(--line-light);
  }

  .filter-reset {
    border-top: 1px solid var(--navy-900);
  }

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

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

  .architecture-legend p:nth-child(2) {
    border-right: 0;
  }

  .architecture-legend p:nth-child(-n + 2) {
    border-bottom: 1px solid #2d3a45;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 740px;
  }

  .signal-board {
    max-width: 680px;
    justify-self: start;
  }

  .section-heading,
  .responsibility-section,
  .resources {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-heading > p {
    max-width: 650px;
  }

  .classifier-shell {
    grid-template-columns: 1fr;
  }

  .classifier-shell form {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .classification-output {
    min-height: 360px;
  }

  .principle-grid article {
    min-height: 220px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-header {
    min-height: 66px;
    padding-inline: 1rem;
  }

  .header-profile {
    padding: 0.48rem 0.58rem;
    font-size: 0.58rem;
  }

  .hero {
    padding: 4.5rem 1rem 5.5rem;
    background-size: 38px 38px;
  }

  .hero::before {
    display: none;
  }

  h1 {
    font-size: clamp(3.35rem, 18vw, 5.2rem);
  }

  .hero-lede {
    font-size: 1.2rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .signal-board::before {
    display: none;
  }

  .signal-board-head,
  .signal-board-foot {
    flex-direction: column;
    gap: 0.3rem;
  }

  .signal-path li {
    grid-template-columns: 22px 42px 1fr;
    gap: 0.5rem;
  }

  .signal-path::before {
    left: 3.65rem;
  }

  .signal-path::after {
    left: calc(3.65rem - 3px);
  }

  .signal-state {
    display: none;
  }

  .signal-icon {
    width: 36px;
    height: 36px;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip p:nth-child(2) {
    border-right: 0;
  }

  .trust-strip p:nth-child(-n + 2) {
    border-bottom: 1px solid rgb(7 16 26 / 22%);
  }

  .section,
  .resources {
    padding: 5rem 1rem;
  }

  .section-heading h2,
  .responsibility-intro h2,
  .resources h2 {
    font-size: clamp(2.75rem, 14vw, 4.25rem);
  }

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

  .field,
  .field:nth-child(3),
  .field-search {
    grid-column: auto;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .filter-reset {
    min-height: 54px;
    border-top: 0;
  }

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

  .use-case-card {
    min-height: auto;
  }

  .scenario-shell {
    grid-template-columns: 1fr;
  }

  .scenario-rail {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid #33414c;
  }

  .scenario-rail #scenario-severity {
    margin-top: 0;
  }

  .scenario-card {
    min-height: 0;
  }

  .scenario-context {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .scenario-actions .button {
    width: 100%;
  }

  .scenario-answer {
    grid-template-columns: 1fr;
  }

  .answer-criteria {
    grid-column: auto;
  }

  .classifier-shell form,
  .classification-output {
    padding: 1.3rem;
  }

  .example-prompts {
    align-items: stretch;
    flex-direction: column;
  }

  .example-prompts button {
    min-height: 42px;
    text-align: left;
  }

  .classify-button {
    width: 100%;
  }

  .architecture-legend,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .architecture-legend p,
  .architecture-legend p:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #2d3a45;
  }

  .principle-grid article {
    min-height: 0;
  }

  .principle-grid h3 {
    margin-top: 1.2rem;
  }

  .resource-list a {
    grid-template-columns: 1fr auto;
  }

  .resource-list span {
    grid-column: 1 / -1;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 2.5rem 1rem;
  }

  footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .brand small {
    display: none;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .header-profile span {
    display: none;
  }

  .signal-path {
    padding-inline: 0.65rem;
  }

  .trust-strip p {
    padding-inline: 0.55rem;
    font-size: 0.56rem;
  }

  .card-details p {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .scenario-rail {
    grid-template-columns: 1fr auto;
  }

  .scenario-progress {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

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

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

  .signal-path::after {
    top: 50%;
    opacity: 1;
  }
}

@media (prefers-contrast: more) {
  :root {
    --slate-300: #dbe0e3;
    --slate-500: #47545e;
    --line-light: #778188;
  }

  .button,
  .field,
  .use-case-card,
  .scenario-shell,
  .classifier-shell {
    border-width: 2px;
  }
}
