:root {
  color-scheme: light;
  --bg: #f8f7f2;
  --ink: #171717;
  --muted: #61615c;
  --line: #d7d3c8;
  --panel: #ffffff;
  --accent: #245f73;
  --accent-strong: #133f4e;
  --ok: #2e6b48;
  --warn: #8a5a16;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a {
  color: var(--accent-strong);
}
[id] {
  scroll-margin-top: 126px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 247, 242, 0.96);
  position: sticky;
  top: 0;
  z-index: 2;
}
.brand {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
nav a {
  color: var(--muted);
  text-decoration: none;
}
.hero,
.section {
  padding: clamp(42px, 7vw, 86px) clamp(18px, 4vw, 56px);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: 78vh;
}
.eyebrow {
  color: var(--accent-strong);
  font-weight: 700;
  margin: 0 0 14px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  max-width: 12ch;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 20px;
}
h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.06;
  letter-spacing: 0;
}
.lede {
  max-width: 66ch;
  color: var(--muted);
  font-size: 19px;
}
.note {
  max-width: 74ch;
  color: var(--muted);
}
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
}
.pill-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  font-weight: 700;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--accent-strong);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}
.hero-action-primary {
  color: var(--bg);
  background: var(--accent-strong);
}
.hero-action-secondary {
  color: var(--accent-strong);
  background: transparent;
}
.proof-panel,
.route-grid article {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
}
.proof-panel {
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(23, 23, 23, 0.08);
}
.proof-step {
  display: grid;
  grid-template-columns: 134px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}
.proof-step:first-child {
  border-top: 0;
}
.proof-step strong {
  color: var(--accent-strong);
}
.proof-step code,
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.proof-step code {
  font-size: 14px;
  line-height: 1.4;
}
.prompt-evidence {
  color: var(--accent-strong);
  background: rgba(36, 95, 115, 0.07);
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 0.08em;
}
.prompt-evidence-diagnostic {
  color: #684310;
  background: rgba(138, 90, 22, 0.08);
}
.prompt-evidence-block {
  display: grid;
  gap: 12px;
}
.prompt-evidence-key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ok);
  background: #f4fbf6;
  width: fit-content;
}
.status.prompt-evidence-pill {
  border-color: transparent;
  min-height: 26px;
  padding: 3px 9px;
  font-size: 12px;
}
.status.prompt-evidence-pill-activity {
  color: var(--accent-strong);
  background: rgba(36, 95, 115, 0.08);
}
.status.prompt-evidence-pill-diagnostic {
  color: #684310;
  background: rgba(138, 90, 22, 0.09);
}
.section {
  border-top: 1px solid var(--line);
}
.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.route-grid article {
  padding: 18px;
}
.route-grid h3 {
  margin-bottom: 8px;
}
.system-diagram {
  margin-top: 18px;
}
.system-diagram-intro {
  max-width: 78ch;
}
.system-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.system-flow-detailed {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.system-node {
  position: relative;
  min-height: 118px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.system-node::after {
  content: "->";
  position: absolute;
  top: 14px;
  right: -9px;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--bg);
  font-size: 11px;
  font-weight: 800;
}
.system-node:last-child::after {
  content: "loop";
  right: 10px;
  width: auto;
  padding: 0 6px;
}
.system-flow-detailed .system-node::after {
  content: none;
}
.system-flow-detailed .system-node:last-child::after {
  content: "loops to 1";
  top: auto;
  right: 10px;
  bottom: 10px;
  width: auto;
  padding: 0 6px;
}
.system-node-kernel {
  border-color: rgba(36, 95, 115, 0.28);
  background: rgba(36, 95, 115, 0.05);
}
.system-node-output {
  border-color: rgba(46, 115, 70, 0.26);
  background: rgba(46, 115, 70, 0.05);
}
.system-node span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.system-node strong {
  display: block;
  margin-top: 7px;
  color: var(--accent-strong);
}
.system-node p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
}
.system-node code {
  font-size: 12px;
}
.system-note {
  max-width: 78ch;
  margin-top: 14px;
  color: var(--muted);
}
.system-branch {
  margin-top: 14px;
  padding: 13px;
  border-left: 3px solid rgba(138, 90, 22, 0.35);
  background: rgba(138, 90, 22, 0.06);
  color: #684310;
}
.system-map-toolbar {
  margin: 18px 0 10px;
}
.system-map-canvas {
  aspect-ratio: 1760 / 1040;
  position: relative;
  min-height: 420px;
  max-height: 760px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
  overflow: hidden;
}
.system-map-flow-root,
.system-map-fallback {
  position: absolute;
  inset: 0;
}
.system-map-flow-root {
  z-index: 2;
}
.system-map-flow-root:empty {
  display: none;
}
.system-map-fallback {
  z-index: 1;
}
.system-map-fallback[hidden] {
  display: none;
}
.system-map-svg {
  display: block;
  width: 100%;
  height: 100%;
}
.system-map-svg text {
  fill: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.system-map-svg .map-zone {
  fill: rgba(255, 255, 255, 0.78);
  stroke: var(--line);
  stroke-width: 2;
}
.system-map-svg .map-zone-kernel {
  fill: rgba(36, 95, 115, 0.06);
  stroke: rgba(36, 95, 115, 0.34);
}
.system-map-svg .map-zone-llm {
  fill: rgba(138, 90, 22, 0.07);
  stroke: rgba(138, 90, 22, 0.32);
}
.system-map-svg .map-zone-output {
  fill: rgba(46, 115, 70, 0.07);
  stroke: rgba(46, 115, 70, 0.32);
}
.system-map-svg .map-zone-title {
  fill: var(--accent-strong);
  font-size: 24px;
  font-weight: 800;
}
.system-map-svg .map-boundary {
  fill: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.system-map-svg .map-node {
  fill: #ffffff;
  stroke: var(--line);
  stroke-width: 2;
}
.system-map-svg .map-node-kernel {
  fill: #eef5f3;
  stroke: rgba(36, 95, 115, 0.34);
}
.system-map-svg .map-node-llm {
  fill: #fbf3e7;
  stroke: rgba(138, 90, 22, 0.34);
}
.system-map-svg .map-node-output {
  fill: #f0f8f2;
  stroke: rgba(46, 115, 70, 0.32);
}
.system-map-svg .map-node-blocked {
  fill: #fff7ec;
  stroke: rgba(138, 90, 22, 0.42);
  stroke-dasharray: 8 6;
}
.system-map-svg .map-node-title {
  fill: var(--accent-strong);
  font-size: 18px;
  font-weight: 800;
}
.system-map-svg .map-node-text {
  fill: var(--ink);
  font-size: 14px;
}
.system-map-svg .map-node-code {
  fill: var(--accent-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  font-weight: 800;
}
.system-map-svg .map-edge {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  marker-end: url(#system-map-arrow);
}
.system-map-svg .map-edge-muted {
  stroke: var(--line);
  stroke-width: 2.5;
}
.system-map-svg .map-edge-llm {
  stroke: var(--warn);
  stroke-dasharray: 8 7;
}
.system-map-svg .map-edge-blocked {
  stroke: var(--warn);
  stroke-dasharray: 5 7;
}
.system-map-svg .map-edge-output {
  stroke: var(--ok);
}
.system-map-svg .map-edge-label {
  fill: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.system-map-summary {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.system-map-summary p {
  margin-bottom: 0;
}
.command {
  display: block;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid var(--line);
  background: #f2f1eb;
  border-radius: 8px;
  overflow-x: auto;
}
.doc-layout {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  max-width: 1120px;
  gap: 32px;
  align-items: start;
}
.doc-nav {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 10px;
}
.doc-section {
  padding-bottom: 28px;
}
.examples-page {
  padding-top: clamp(36px, 5vw, 62px);
}
.examples-hero,
.examples-layout {
  max-width: 1220px;
  margin: 0 auto;
}
.examples-hero {
  margin-bottom: clamp(24px, 4vw, 38px);
}
.examples-hero h1 {
  margin-bottom: 12px;
}
.examples-hero .lede {
  max-width: 820px;
}
.examples-layout {
  min-width: 0;
}
.examples-main {
  min-width: 0;
}
.examples-controls {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-bottom: 24px;
}
.model-ui-use-case-select {
  appearance: none;
  -webkit-appearance: none;
  width: min(100%, 260px);
  min-height: 42px;
  padding: 8px 38px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: var(--panel);
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 5.25L7 8.75L10.5 5.25' fill='none' stroke='%230f3f51' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
}
.example-preview-focus {
  display: grid;
  gap: 24px;
}
.example-preview-header {
  display: grid;
  gap: 12px;
  margin-bottom: 0;
}
.example-preview-title-row {
  display: flex;
  gap: 18px;
  align-items: start;
  justify-content: space-between;
}
.example-preview-title-row h1 {
  margin-bottom: 14px;
}
.example-preview-title-row h2 {
  margin-bottom: 6px;
}
.example-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.example-preview-body {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.example-static-preview,
.example-gallery-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.example-static-preview {
  padding: clamp(18px, 3vw, 28px);
}
.example-static-preview h3,
.example-gallery-intro h3 {
  margin-bottom: 8px;
}
.example-static-preview p,
.example-gallery-intro p {
  margin-bottom: 16px;
}
.example-gallery {
  display: grid;
  gap: 18px;
}
.example-gallery-intro {
  max-width: 760px;
}
.model-ui-use-case-panel {
  display: grid;
  gap: 16px;
}
.model-ui-use-case-panel[hidden] {
  display: none;
}
.example-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.example-comparison-list {
  display: grid;
  gap: 18px;
}
.example-comparison-row {
  display: grid;
  gap: 14px;
  padding: clamp(14px, 2vw, 18px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
}
.example-comparison-heading {
  display: grid;
  gap: 4px;
  max-width: 760px;
}
.example-comparison-heading h3,
.example-comparison-heading p {
  margin: 0;
}
.example-comparison-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.example-gallery-card {
  overflow: hidden;
}
.example-matrix-scroll {
  overflow-x: auto;
  padding-bottom: 4px;
}
.example-matrix-table {
  display: grid;
  grid-template-columns: minmax(128px, 0.9fr) repeat(4, minmax(0, 1fr));
  min-width: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.example-matrix-axis,
.example-matrix-column-header,
.example-matrix-row-heading,
.example-matrix-cell {
  min-width: 0;
}
.example-matrix-axis,
.example-matrix-column-header {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: #f5f3ec;
}
.example-matrix-axis {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.example-matrix-column-header {
  border-left: 1px solid var(--line);
}
.example-matrix-column-header strong,
.example-matrix-column-header span {
  display: block;
}
.example-matrix-column-header strong {
  font-size: 13px;
  line-height: 1.2;
}
.example-matrix-column-header span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}
.example-matrix-row-heading,
.example-matrix-cell {
  border-top: 1px solid var(--line);
}
.example-matrix-row-heading {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 12px;
  background: #fbfaf6;
}
.example-matrix-row-heading .eyebrow,
.example-matrix-row-heading h3,
.example-matrix-row-heading p {
  margin: 0;
}
.example-matrix-row-heading h3 {
  font-size: 16px;
  line-height: 1.2;
}
.example-matrix-row-heading p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.example-matrix-cell {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 8px;
  border-left: 1px solid var(--line);
  background: #ffffff;
}
.example-matrix-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f2f1eb;
}
.example-matrix-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 180ms ease;
}
.example-matrix-thumb:hover img,
.example-matrix-thumb:focus-visible img {
  transform: scale(1.025);
}
.example-matrix-cell-copy {
  display: grid;
  gap: 4px;
}
.example-matrix-cell-copy .eyebrow {
  margin: 0;
  overflow: hidden;
  color: var(--accent);
  font-size: 10px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.example-matrix-cell-copy h4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
  font-size: 13px;
  line-height: 1.2;
}
.example-matrix-cell-copy .note {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}
.example-gallery-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #f2f1eb;
}
.example-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 180ms ease;
}
.example-gallery-thumb:hover img,
.example-gallery-thumb:focus-visible img {
  transform: scale(1.025);
}
.example-gallery-card-copy {
  display: grid;
  gap: 10px;
  padding: 14px;
}
.example-gallery-card-copy h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.18;
}
.example-gallery-card-copy p {
  margin: 0;
}
.example-gallery-meta,
.example-gallery-modal-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.example-gallery-meta div,
.example-gallery-modal-meta div {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f7f1;
}
.example-gallery-meta dt,
.example-gallery-modal-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.example-gallery-meta dd,
.example-gallery-modal-meta dd {
  margin: 2px 0 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.example-gallery-card-actions,
.example-gallery-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.example-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  padding: clamp(12px, 2vw, 24px);
}
.example-gallery-modal[hidden] {
  display: none;
}
.example-gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 28, 31, 0.72);
  cursor: zoom-out;
}
.example-gallery-modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 0;
  width: min(1360px, 100%);
  height: min(860px, calc(100vh - clamp(24px, 4vw, 48px)));
  margin: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(20, 28, 31, 0.25);
}
.example-gallery-modal-image {
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  padding: clamp(12px, 2vw, 22px);
  background: #10181b;
}
.example-gallery-modal-image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  object-fit: contain;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}
.example-gallery-modal-copy {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 18px;
  min-width: 0;
  min-height: 0;
  padding: clamp(56px, 5vw, 68px) clamp(18px, 2.4vw, 28px) clamp(18px, 2.4vw, 28px);
  overflow-y: auto;
  border-left: 1px solid var(--line);
}
.example-gallery-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 26px;
  line-height: 1;
}
.example-gallery-modal-close:hover,
.example-gallery-modal-close:focus-visible {
  color: var(--accent-strong);
}
.example-gallery-modal-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.example-gallery-modal-detail {
  min-width: 0;
}
.example-gallery-modal-detail h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 34px);
}
.example-gallery-modal-detail p {
  margin-bottom: 14px;
}
.example-gallery-modal-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.example-gallery-modal-buttons {
  display: flex;
  gap: 8px;
}
.example-gallery-open,
.example-gallery-open body {
  overflow: hidden;
}
.example-noscript-links {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.evals-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  min-width: 0;
}
.evals-page > * {
  min-width: 0;
}
.evals-header {
  max-width: 820px;
}
.evals-summary {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) repeat(3, minmax(160px, 0.75fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}
.evals-summary div {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--line);
}
.evals-summary div:last-child {
  border-right: 0;
}
.evals-summary dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.evals-summary dd {
  margin: 4px 0 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.evals-summary-primary dd {
  font-size: 28px;
  line-height: 1.05;
}
.evals-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.evals-table-shell {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.evals-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.evals-table th,
.evals-table td {
  padding: 11px 12px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.evals-table thead th {
  border-top: 0;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}
.evals-table td {
  overflow-wrap: anywhere;
}
@media (max-width: 1120px) and (min-width: 821px) {
  .doc-layout {
    grid-template-columns: minmax(160px, 200px) minmax(0, 1fr);
    gap: 24px;
  }
}
@media (max-width: 820px) {
  .site-header,
  .hero {
    align-items: start;
  }
  .site-header,
  .hero,
  .doc-layout {
    display: block;
  }
  nav,
  .proof-panel,
  .doc-nav {
    margin-top: 18px;
  }
  .doc-nav {
    position: static;
  }
  .route-grid {
    grid-template-columns: 1fr;
  }
  .system-flow,
  .system-flow-detailed {
    grid-template-columns: 1fr;
  }
  .system-node {
    min-height: auto;
  }
  .system-node::after {
    top: auto;
    right: 12px;
    bottom: -9px;
  }
  .system-node:last-child::after {
    bottom: 10px;
  }
  .system-map-canvas {
    aspect-ratio: auto;
    height: clamp(320px, 82vw, 420px);
    min-height: 0;
  }
  .proof-step {
    grid-template-columns: 1fr;
  }
  .example-preview-title-row {
    display: block;
  }
  .example-actions {
    justify-content: flex-start;
  }
  .example-gallery-grid,
  .example-comparison-pair,
  .example-gallery-modal-panel {
    grid-template-columns: 1fr;
  }
  .example-gallery-modal-panel {
    height: calc(100vh - 24px);
  }
  .example-gallery-modal-image {
    min-height: 46vh;
    padding: 10px;
  }
  .example-gallery-modal-copy {
    grid-template-rows: 1fr auto;
    padding: clamp(18px, 2.4vw, 28px);
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .example-gallery-meta,
  .example-gallery-modal-meta {
    grid-template-columns: 1fr;
  }
  .evals-summary {
    grid-template-columns: 1fr;
  }
  .evals-summary div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .evals-summary div:last-child {
    border-bottom: 0;
  }
}
