:root {
  color-scheme: light;
  --ink: #101217;
  --graphite: #252a33;
  --muted: #5c6675;
  --soft: #7a8494;
  --line: #d7dde7;
  --line-strong: #aeb8c7;
  --paper: #f4f6f8;
  --white: #ffffff;
  --wash: #eef2f6;
  --blue: #1456ff;
  --blue-dark: #0f3fb8;
  --green: #0b6f4a;
  --green-soft: #dceee5;
  --amber: #87570b;
  --amber-soft: #f5ead5;
  --red: #a33c2f;
  --red-soft: #f6e2df;
  --shadow: 0 22px 70px rgba(16, 18, 23, 0.1);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

body,
main,
section,
article,
div,
form,
pre {
  min-width: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--blue-dark);
}

button,
input,
select {
  font: inherit;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-weight: 760;
}

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

.announcement {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(215, 221, 231, 0.8);
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.announcement code {
  color: #dceee5;
  font-size: 0.95em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(215, 221, 231, 0.86);
  background: rgba(244, 246, 248, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 780;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--blue);
  border-right-color: var(--green);
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px clamp(12px, 2vw, 24px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 780;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--graphite);
  color: var(--ink);
}

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

.button.secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.75);
}

.button.ghost {
  border-color: transparent;
  background: transparent;
}

.button.small {
  min-height: 38px;
  padding: 8px 13px;
}

.button.wide {
  width: 100%;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.62fr);
  align-items: end;
  gap: clamp(34px, 7vw, 92px);
  min-height: min(760px, calc(100vh - 96px));
  overflow: hidden;
  padding: clamp(76px, 11vw, 132px) clamp(20px, 6vw, 72px) clamp(62px, 8vw, 98px);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.vision-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-copy,
.hero-system {
  position: relative;
  z-index: 1;
}

.section-kicker,
.company-line,
.section-label,
.note-status,
.candidate-group > span,
.workflow-card > span,
.release-list time,
.card-index {
  color: var(--green);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 720px;
  margin-bottom: 32px;
  color: var(--graphite);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.42;
}

.hero-actions,
.bottom-actions,
.artifact-actions,
.json-actions,
.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-orientation {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--graphite);
  font-size: 13px;
  font-weight: 780;
}

.hero-orientation a {
  color: var(--ink);
}

.hero-orientation span {
  color: var(--muted);
}

.system-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.system-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.system-topline strong {
  color: var(--red);
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.grid-cell {
  min-height: 96px;
  background:
    linear-gradient(135deg, rgba(20, 86, 255, 0.08), transparent 55%),
    var(--white);
}

.grid-cell.cell-alert {
  background:
    linear-gradient(135deg, rgba(163, 60, 47, 0.16), transparent 58%),
    var(--white);
}

.grid-cell.cell-pass {
  background:
    linear-gradient(135deg, rgba(11, 111, 74, 0.14), transparent 58%),
    var(--white);
}

.system-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
}

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

.system-metrics div:last-child {
  border-right: 0;
}

.system-metrics dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 780;
  text-transform: uppercase;
}

.system-metrics dd {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 64px);
}

.section-band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto 32px;
}

.section-heading h2,
.mission-copy h2,
.bottom-cta h2 {
  max-width: 900px;
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p,
.mission-copy p,
.bottom-cta p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.mission-section {
  display: grid;
  grid-template-columns: 160px minmax(0, var(--max));
  gap: clamp(22px, 6vw, 80px);
  justify-content: center;
}

.mission-copy h2 {
  max-width: 980px;
}

.glance-grid,
.initiative-grid,
.notes-grid,
.candidate-layout,
.workflow-grid,
.readiness-grid,
.release-list,
.faq-grid {
  display: grid;
  width: min(var(--max), 100%);
  margin: 0 auto;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

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

.glance-grid article,
.initiative-card,
.note-card,
.candidate-group,
.workflow-card,
.readiness-grid article,
.release-list article,
.faq-grid details {
  background: var(--white);
}

.glance-grid article {
  min-height: 168px;
  padding: 24px;
}

.glance-grid strong {
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.9;
}

.glance-grid span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 780;
}

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

.initiative-card,
.note-card,
.candidate-group,
.workflow-card,
.readiness-grid article,
.release-list article,
.faq-grid details {
  padding: 24px;
}

.initiative-card h3,
.note-card h3,
.candidate-group h3,
.workflow-card h3,
.readiness-grid h3,
.release-list h3,
.faq-grid summary {
  margin: 12px 0 10px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.15;
}

.initiative-card p,
.note-card p,
.candidate-group p,
.workflow-card p,
.readiness-grid p,
.release-list p,
.faq-grid p,
.recommendation dd,
.mapper-controls label {
  color: var(--muted);
}

.adapter-card,
.adapter-note {
  background:
    linear-gradient(135deg, rgba(20, 86, 255, 0.08), transparent 60%),
    var(--white);
}

.boundary-line {
  width: min(var(--max), 100%);
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

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

.demo-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.54fr) minmax(360px, 1fr);
  grid-template-areas:
    "controls scene"
    "result scene"
    "decision decision"
    "artifact artifact"
    "packet packet"
    "checklist checklist";
  width: min(var(--max), 100%);
  margin: 0 auto;
  gap: 18px;
}

.demo-controls,
.scene-card,
.result-card,
.artifact-panel,
.packet-explorer,
.decision-panel,
.no-data-checklist,
.readiness-panel,
.mapper-controls,
.recommendation,
.adapter-note,
.labs-callout {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 32px rgba(16, 18, 23, 0.06);
}

.demo-controls {
  grid-area: controls;
  align-self: start;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.demo-controls label,
.mapper-controls label {
  display: grid;
  gap: 7px;
  color: var(--graphite);
  font-size: 13px;
  font-weight: 780;
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  padding: 9px 10px;
  font-size: 14px;
}

input[type="range"] {
  padding: 0;
  accent-color: var(--blue);
}

.demo-disclaimer,
.artifact-caveat {
  margin-bottom: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--wash);
  color: var(--graphite);
  font-size: 13px;
  font-weight: 700;
}

.scene-card {
  grid-area: scene;
  overflow: hidden;
}

.scene-toolbar,
.result-header,
.artifact-header,
.recommendation-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.scene-toolbar h3,
.result-header h3,
.artifact-header h3 {
  margin-bottom: 0;
  font-size: 24px;
}

.scene-type {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.inspect-scene {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--wash);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--wash);
  color: var(--graphite);
  font-size: 12px;
  font-weight: 820;
  white-space: nowrap;
}

.status-pill.fail,
.fail {
  border-color: rgba(163, 60, 47, 0.32);
  background: var(--red-soft);
  color: var(--red);
}

.status-pill.pass,
.pass {
  border-color: rgba(11, 111, 74, 0.28);
  background: var(--green-soft);
  color: var(--green);
}

.result-card {
  grid-area: result;
}

.result-card > p,
.result-card > div:not(.result-header),
.artifact-panel > p,
.artifact-panel > div:not(.artifact-header) {
  margin: 18px;
}

.metric-row,
.result-metrics,
.mapper-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--line);
}

.metric-row div,
.result-metrics div,
.mapper-stats div {
  padding: 13px;
  background: var(--white);
}

.metric-row span,
.result-metrics strong,
.mapper-stats strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
  font-weight: 850;
}

.metric-row small,
.result-metrics span,
.mapper-stats span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.detection-list {
  display: grid;
  gap: 10px;
}

.detection-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.detection-row strong,
.detection-row span {
  display: block;
}

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

.review-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.review-button {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--graphite);
  cursor: pointer;
  font-size: 12px;
  font-weight: 820;
}

.review-button.active {
  border-color: var(--blue);
  background: #e5ecff;
  color: var(--blue-dark);
}

.json-output {
  max-width: 100%;
  max-height: 360px;
  overflow: auto;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0f141d;
  color: #eef2f6;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.copy-status {
  align-self: center;
  min-height: 20px;
  color: var(--green);
  font-size: 13px;
  font-weight: 780;
}

.artifact-panel {
  grid-area: artifact;
}

.packet-explorer {
  grid-area: packet;
}

.decision-panel {
  grid-area: decision;
}

.no-data-checklist {
  grid-area: checklist;
}

.decision-panel > p,
.decision-panel > div:not(.artifact-header),
.no-data-checklist > p,
.no-data-checklist > div:not(.artifact-header),
.no-data-checklist > pre {
  margin: 18px;
}

.decision-grid,
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--line);
}

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

.decision-grid article,
.checklist-grid article {
  min-width: 0;
  padding: 14px;
  background: var(--white);
}

.decision-grid span,
.checklist-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.decision-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.decision-grid li,
.checklist-grid p {
  overflow-wrap: anywhere;
}

.checklist-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.artifact-list {
  display: grid;
  gap: 10px;
}

.artifact-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--line);
}

.artifact-guide article {
  padding: 14px;
  background: var(--white);
}

.artifact-guide span {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.artifact-guide strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.artifact-guide p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.artifact-card,
.artifact-state {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.artifact-card strong,
.artifact-card span,
.artifact-state strong,
.artifact-state span {
  display: block;
  overflow-wrap: anywhere;
}

.artifact-card span,
.artifact-state span {
  color: var(--muted);
  font-size: 12px;
}

.artifact-state.error {
  border-color: rgba(163, 60, 47, 0.3);
  background: var(--red-soft);
}

#artifact-summary,
#artifact-caveat,
#packet-explorer-caveat,
.artifact-panel {
  overflow-wrap: anywhere;
}

.packet-explorer > p,
.packet-explorer > div:not(.artifact-header) {
  margin: 18px;
}

.packet-explorer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 12px;
}

.packet-panel {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.packet-file-map,
.packet-detail-panel {
  background: var(--white);
}

.packet-panel h4,
.packet-file-toolbar h4 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.packet-trace-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 22px;
  color: var(--graphite);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.packet-trace-list code {
  color: var(--blue-dark);
  font-size: 0.95em;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.packet-trace-list li {
  min-width: 0;
  overflow-wrap: anywhere;
}

.packet-file-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.packet-file-list {
  display: grid;
  gap: 8px;
}

.packet-file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--graphite);
  cursor: pointer;
  text-align: left;
}

.packet-file-row:hover,
.packet-file-row:focus-visible,
.packet-file-row.active {
  border-color: var(--blue);
  background: #edf2ff;
  color: var(--ink);
}

.packet-file-row strong,
.packet-file-row small,
.packet-file-row em,
.packet-detail strong,
.packet-detail span,
.packet-proof-list strong,
.packet-proof-list span {
  display: block;
  overflow-wrap: anywhere;
}

.packet-file-row strong {
  color: var(--ink);
  font-size: 13px;
}

.packet-file-row small,
.packet-detail span,
.packet-proof-list span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.packet-file-row em {
  color: var(--soft);
  font-size: 11px;
  font-style: normal;
  font-weight: 820;
  text-transform: uppercase;
}

.packet-detail {
  display: grid;
  gap: 10px;
}

.packet-detail-list {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px 12px;
  margin: 0;
  font-size: 12px;
}

.packet-detail-list dt {
  color: var(--ink);
  font-weight: 820;
}

.packet-detail-list dd {
  color: var(--muted);
}

.packet-proof-list {
  display: grid;
  gap: 10px;
}

.packet-proof-list div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

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

.readiness-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  width: min(var(--max), 100%);
  margin: 18px auto 0;
  gap: 18px;
  padding: 20px;
}

.readiness-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

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

.note-card a,
.candidate-group a,
.adapter-note a {
  color: var(--blue-dark);
  font-weight: 820;
}

.adapter-note,
.labs-callout {
  width: min(var(--max), 100%);
  margin: 0 auto 18px;
  padding: 22px;
}

.adapter-note h3,
.labs-callout h3 {
  margin: 10px 0;
  font-size: 24px;
}

.adapter-note p,
.labs-callout p {
  max-width: 800px;
  color: var(--muted);
}

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

.source-links {
  margin-top: 14px;
}

.source-links a {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--graphite);
  font-size: 12px;
  font-weight: 820;
}

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

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

.compact-heading {
  margin-bottom: 20px;
}

.mapper-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  width: min(980px, 100%);
  margin: 0 auto;
  gap: 16px;
}

.mapper-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

.range-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.recommendation {
  padding-bottom: 18px;
}

.recommendation-header p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.recommendation-header strong {
  font-size: 22px;
  line-height: 1.1;
}

.recommendation dl {
  display: grid;
  gap: 12px;
  margin: 16px 18px;
}

.recommendation dt {
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.recommendation dd {
  margin-left: 0;
  font-size: 14px;
}

.recommendation-actions {
  display: grid;
  gap: 10px;
  margin: 0 18px;
}

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

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

.faq-grid summary {
  cursor: pointer;
  font-weight: 820;
}

.bottom-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto clamp(54px, 8vw, 96px);
  padding: clamp(34px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(120px, 1fr));
  gap: 30px;
  padding: 42px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.site-footer p,
.site-footer a {
  color: #c9d2df;
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
}

.site-footer div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-footer .brand,
.site-footer .brand small {
  color: var(--white);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-system {
    width: min(620px, 100%);
  }

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

  .notes-grid,
  .workflow-grid,
  .readiness-grid,
  .packet-explorer-grid,
  .decision-grid,
  .checklist-grid,
  .release-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "controls"
      "scene"
      "result"
      "decision"
      "artifact"
      "packet"
      "checklist";
  }

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

@media (max-width: 760px) {
  .announcement {
    justify-content: flex-start;
  }

  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 48px);
    line-height: 1.02;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-orientation {
    gap: 6px;
    padding: 9px 10px;
    font-size: 12px;
  }

  .mission-section {
    grid-template-columns: 1fr;
  }

  .glance-grid,
  .initiative-grid,
  .notes-grid,
  .candidate-layout,
  .workflow-grid,
  .readiness-grid,
  .packet-explorer-grid,
  .decision-grid,
  .checklist-grid,
  .release-list,
  .faq-grid,
  .mapper-grid,
  .readiness-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .mapper-controls {
    grid-template-columns: 1fr;
  }

  .scene-toolbar,
  .result-header,
  .artifact-header,
  .recommendation-header,
  .bottom-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .metric-row,
  .result-metrics,
  .mapper-stats,
  .system-metrics,
  .artifact-guide {
    grid-template-columns: 1fr;
  }

  .system-metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .system-metrics div:last-child {
    border-bottom: 0;
  }

  .detection-row,
  .artifact-card,
  .artifact-state,
  .packet-file-row,
  .packet-detail-list {
    grid-template-columns: 1fr;
  }

  .review-buttons,
  .artifact-actions,
  .json-actions,
  .hero-actions,
  .bottom-actions {
    width: 100%;
  }

  .review-buttons .review-button,
  .artifact-actions .button,
  .json-actions .button,
  .hero-actions .button,
  .bottom-actions .button {
    flex: 1 1 auto;
  }

  .artifact-header .status-pill,
  .packet-file-toolbar .status-pill {
    white-space: normal;
    text-align: left;
  }
}

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

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