:root {
  --page: #f8f9f7;
  --surface: #fff;
  --text: #272e2b;
  --muted: #626b65;
  --line: #d7dcd7;
  --accent: #34664d;
  --tint: #edf2ec;
  --before: #aab8b0;
  --after: #467058;
  --orange: #b77453;
  --sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 15px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
a {
  touch-action: manipulation;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.3;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 17px;
}
::selection {
  background: #d5e2d2;
}
.wrap {
  width: min(1180px, calc(100% - 80px));
  margin-inline: auto;
}
.site-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}
.site-header nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
}
.site-header nav a {
  color: var(--muted);
  text-decoration: none;
}
.site-header nav a:hover {
  color: var(--text);
  text-decoration: underline;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding-block: 48px;
}
.project-byline {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(33px, 3.45vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.045em;
  max-width: 500px;
}
.hero-description {
  margin-top: 23px;
  max-width: 460px;
  color: #48544c;
  font-size: 15px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-top: 25px;
  font-size: 13px;
}
.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}
.button:hover {
  background: #29533e;
}
.hero-note {
  margin-top: 24px;
  max-width: 445px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.landscape {
  position: relative;
  height: 393px;
  background: #edf0e9;
  border: 1px solid #ccd3c9;
  border-radius: 3px;
  overflow: hidden;
  isolation: isolate;
}
canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.landscape canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.map-heading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px 17px;
  background: #ffffffdf;
  border-bottom: 1px solid #d3dace;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
}
.map-heading span:first-child {
  font-weight: 600;
}
.map-heading span:last-child {
  color: var(--muted);
  font-size: 11px;
}
.map-points {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.map-point {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  display: grid;
  place-items: center;
}
.map-point::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #64816c;
}
.map-point.negative::before {
  background: var(--orange);
  box-shadow: 0 0 0 1px #a9785d;
}
.map-point.neutral::before {
  background: #7f8980;
}
.map-point:hover::before,
.map-point[aria-pressed="true"]::before {
  width: 15px;
  height: 15px;
}
.map-point-label {
  position: absolute;
  left: 28px;
  top: 5px;
  padding: 0 4px;
  white-space: nowrap;
  color: #35483b;
  font: 11px/1.6 var(--mono);
  background: #f8faf4d9;
  border-radius: 2px;
}
.map-point:nth-child(2) .map-point-label,
.map-point:nth-child(6) .map-point-label {
  left: auto;
  right: 28px;
}
.map-insight {
  position: absolute;
  left: 15px;
  bottom: 61px;
  width: 212px;
  padding: 11px 13px;
  background: #ffffffed;
  border: 1px solid #d0d8cb;
  border-radius: 2px;
}
#hero-site-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
}
.map-insight-value {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-block: 2px;
}
#hero-before,
#hero-after {
  font: 27px/1.4 var(--mono);
  font-weight: 500;
  letter-spacing: -0.05em;
}
#hero-before {
  color: #718074;
}
.insight-arrow {
  color: #929c90;
}
.insight-unit {
  font-size: 11px;
  color: var(--muted);
}
#hero-site-description {
  font-size: 10px;
  color: var(--muted);
}
.map-bottom {
  position: absolute;
  bottom: 12px;
  left: 15px;
  right: 15px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.map-caption {
  font-size: 10px;
  color: #596650;
}
.segmented {
  display: inline-flex;
  background: #fff;
  border: 1px solid #bec9bf;
  border-radius: 3px;
}
.segmented button {
  font-size: 12px;
  font-weight: 500;
  background: transparent;
  border: 0;
  border-left: 1px solid #d7dfd5;
  padding: 7px 13px;
}
.segmented button:first-child {
  border-left: 0;
}
.segmented button:hover {
  background: #eff3ed;
}
.segmented button[aria-pressed="true"] {
  background: #e2eae0;
  color: #264c36;
}
.change-story {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 23px 0 29px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.story-lead h2 {
  font-size: 16px;
  letter-spacing: -0.01em;
}
.story-lead p {
  max-width: 290px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 7px;
}
.story-equation {
  display: flex;
  gap: 28px;
  align-items: center;
  padding-right: 35px;
}
.inventory-count {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}
.inventory-count strong {
  font: 34px/1.3 var(--mono);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--text);
}
.equation-arrow {
  color: #829080;
  font-size: 23px;
}
.composition {
  border-left: 1px solid var(--line);
  padding-left: 28px;
  margin-left: 10px;
  display: grid;
  gap: 5px;
  font-size: 12px;
}
.composition span {
  display: flex;
  gap: 7px;
  align-items: center;
  white-space: nowrap;
}
.composition b {
  font-weight: 500;
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}
.added {
  background: var(--after);
}
.missing {
  background: var(--orange);
}
.retained {
  background: #8b968c;
}
.v1 {
  background: var(--before);
}
.v2 {
  background: var(--after);
}
.demo-section {
  padding-top: 46px;
  padding-bottom: 50px;
}
.section-top {
  margin-bottom: 22px;
}
.section-top p {
  color: var(--muted);
  margin-top: 7px;
  font-size: 13px;
}
.demo-workspace {
  border: 1px solid #c8d0c7;
  border-radius: 3px;
  overflow: hidden;
  background: var(--surface);
}
.workspace-bar {
  padding: 11px 20px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  background: #f2f4f0;
  font-size: 12px;
}
.workspace-bar > span:first-child {
  font-weight: 500;
}
.sample-badge {
  color: var(--muted);
  font-size: 11px;
}
.workspace-body {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}
.question-panel {
  padding: 25px 20px;
  border-right: 1px solid var(--line);
  background: #fafbf8;
  display: flex;
  flex-direction: column;
}
.question-panel h3 {
  font-size: 14px;
  margin-bottom: 14px;
}
.prompt-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}
.prompt-card {
  text-align: left;
  padding: 12px 0;
  line-height: 1.55;
  border: 0;
  border-bottom: 1px solid #dde3d9;
  border-radius: 0;
  font-size: 13px;
  background: transparent;
  color: #3f5746;
}
.prompt-card:first-child {
  border-top: 1px solid #dde3d9;
}
.prompt-card:hover,
.prompt-card.active {
  color: #204c32;
  background: #edf2e9;
}
#question-form > label {
  font-size: 12px;
  font-weight: 500;
}
.question-input-wrap {
  border: 1px solid #abb8aa;
  border-radius: 3px;
  background: #fff;
  padding: 9px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.question-input-wrap:focus-within {
  outline: 2px solid #b6cbb3;
  outline-offset: 1px;
}
.question-input-wrap textarea {
  font-size: 13px;
  width: 100%;
  min-height: 55px;
  max-height: 180px;
  resize: vertical;
  line-height: 1.6;
  border: 0;
  background: transparent;
  padding: 2px;
  outline: none;
}
.question-input-wrap textarea::placeholder {
  color: #778275;
}
.question-input-wrap button {
  padding: 4px 14px;
  background: #f1f4ed;
  border: 1px solid #c1cdba;
  font-size: 12px;
  border-radius: 3px;
}
.question-input-wrap button:hover {
  background: #dfe9d9;
}
.question-feedback {
  margin-top: 11px;
  color: #95562f;
  font-size: 12px;
}
.question-feedback:empty {
  display: none;
}
.conversation-context {
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.conversation-context h4 {
  font-size: 12px;
  font-weight: 500;
}
#context-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}
#context-tags span {
  font-size: 11px;
  padding: 2px 7px;
  background: #e9eee5;
  border-radius: 2px;
}
.conversation-context p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}
.demo-scope {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: auto;
  padding-top: 28px;
}
.result-panel {
  min-width: 0;
  padding: 24px 28px 0;
}
.pipeline-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
}
.playback-controls {
  display: flex;
  gap: 13px;
}
.playback-controls button {
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 11px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  list-style: none;
  margin: 18px 0 13px;
  border-bottom: 1px solid var(--line);
}
.pipeline button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 4px;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  text-align: left;
  background: transparent;
  color: #69786b;
  font-size: 11px;
}
.stage-icon {
  font: 10px var(--mono);
  color: #8b9889;
}
.pipeline .active button {
  border-bottom-color: var(--accent);
  color: #234e33;
}
.pipeline .done .stage-icon {
  color: #326447;
}
.stage-explanation {
  min-height: 38px;
  color: var(--muted);
  font-size: 12px;
}
.result-content {
  padding-top: 20px;
}
.running .result-content {
  opacity: 0.35;
  pointer-events: none;
}
.answer-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}
.result-content > h3 {
  margin-top: 8px;
  font-size: 23px;
  letter-spacing: -0.025em;
}
.answer-text {
  margin-top: 10px;
  color: #4e5d50;
  font-size: 13px;
  line-height: 1.75;
}
.result-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  border-bottom: 1px solid #dce2d8;
  padding: 22px 0 17px;
}
.uncertainty-toggle {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
}
.uncertainty-toggle input {
  accent-color: var(--accent);
  margin: 0;
  width: 14px;
  height: 14px;
}
.view-panel {
  padding-top: 20px;
  min-height: 285px;
}
.chart-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 20px;
}
.chart-legend {
  display: flex;
  gap: 15px;
}
.chart-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.chart-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chart-row {
  display: grid;
  grid-template-columns: 130px 1fr 30px;
  gap: 14px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  width: 100%;
}
button.chart-row:hover .chart-label {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.chart-label {
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.chart-label small {
  display: block;
  font-size: 10px;
  color: #99643f;
  margin-top: 3px;
}
.bar-pair {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: repeating-linear-gradient(
    90deg,
    #e8ede4 0,
    #e8ede4 1px,
    transparent 1px,
    transparent 25%
  );
}
.bar-track {
  height: 9px;
  display: block;
}
.bar {
  display: block;
  height: 100%;
  width: var(--bar-width);
}
.bar.before {
  background: var(--before);
}
.bar.after {
  background: var(--after);
}
.bar-values {
  font: 10px/1 var(--mono);
  color: #7d8b7c;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.bar-values span:last-child {
  color: var(--accent);
}
.chart-footnote {
  font-size: 11px;
  color: var(--muted);
  margin-top: 20px;
}
.chart-expand,
.text-button {
  background: transparent;
  border: 0;
  color: var(--accent);
  padding: 0;
  text-align: left;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-button {
  margin-top: 17px;
}
.chart-expand {
  margin-top: 3px;
}
.result-map {
  height: 300px;
  position: relative;
  border: 1px solid #d7dfd0;
  background: #edf0e9;
  overflow: hidden;
}
.result-map canvas {
  position: absolute;
  inset: 0;
}
.result-map-label {
  position: absolute;
  left: 13px;
  bottom: 10px;
  font-size: 10px;
  color: #5c6a55;
  background: #f8faf4d9;
  padding: 0 4px;
}
.site-detail {
  font-size: 12px;
  color: #5d6e57;
  margin-top: 13px;
}
.site-detail strong {
  color: var(--text);
  font-weight: 500;
}
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 8px;
  font-size: 10px;
  color: var(--muted);
}
.map-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  white-space: nowrap;
}
th {
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  padding: 0 14px 10px 0;
}
td {
  padding: 12px 14px 12px 0;
  border-top: 1px solid #e1e6dd;
}
th:nth-child(2),
th:nth-child(3),
td:nth-child(2),
td:nth-child(3) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
td > button {
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 12px;
}
td > button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
td small {
  display: block;
  font-size: 10px;
  font-style: italic;
  color: var(--muted);
  margin-top: 2px;
}
.status-label {
  font-size: 10px;
  background: transparent;
  color: #61705e;
}
.status-label.added {
  color: var(--accent);
}
.status-label.missing,
.match-low {
  color: #9f6746;
}
.evidence-panel {
  border-left: 2px solid #a5b99b;
  background: #f3f6ef;
  padding: 17px;
  margin-top: 22px;
}
.evidence-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  font-size: 12px;
}
.evidence-top button {
  background: none;
  border: 0;
  padding: 0;
  font-size: 11px;
  color: var(--accent);
  text-decoration: underline;
}
#evidence-content h4 {
  margin-top: 12px;
  font-size: 19px;
}
#evidence-content > p {
  margin-top: 9px;
  font-size: 12px;
  color: #5d6d55;
}
#evidence-content p.scientific {
  margin-top: 3px;
  font-size: 11px;
  font-style: italic;
}
.evidence-comparison {
  display: grid;
  grid-template-columns: 1fr 20px 1fr;
  align-items: center;
  gap: 15px;
  margin-block: 17px;
}
.evidence-record {
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #d7e0ce;
}
.evidence-record span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.evidence-record strong {
  font-size: 18px;
  font-weight: 500;
}
.evidence-record code {
  display: block;
  font: 10px/1.7 var(--mono);
  color: #6f7e65;
}
.followups {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0;
  padding-top: 17px;
  border-top: 1px solid #dfe5d9;
}
.followups > span {
  font-size: 11px;
  color: var(--muted);
}
.followups button {
  font-size: 11px;
  border: 1px solid #cbd5c5;
  border-radius: 3px;
  padding: 5px 8px;
  background: #fff;
}
.followups button:hover {
  background: #f0f4ec;
}
.tool-details {
  border-top: 1px solid var(--line);
  background: #f8faf6;
  margin-inline: -28px;
  padding-inline: 28px;
}
.tool-details summary {
  padding-block: 13px;
  font-size: 12px;
  cursor: pointer;
}
.tool-detail-summary {
  font: 10px var(--mono);
  color: #687761;
  margin-left: 12px;
  overflow-wrap: anywhere;
}
.tool-details > p {
  font-size: 12px;
  color: #596b51;
  padding-bottom: 12px;
}
.tool-details pre {
  font: 11px/1.7 var(--mono);
  padding: 15px;
  margin: 0 0 14px;
  border: 1px solid #d5decd;
  background: #eef2e9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.tool-details .tool-note {
  font-size: 11px;
}
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  border-top: 1px solid var(--line);
  padding-block: 35px 45px;
}
.about-section h2 {
  font-size: 18px;
  margin-bottom: 17px;
}
.about-section p {
  font-size: 13px;
  color: #59655c;
  margin-top: 13px;
  line-height: 1.8;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-block: 23px 32px;
  font-size: 12px;
}
.site-footer > span {
  margin-right: auto;
}
.site-footer p {
  flex-basis: 100%;
  color: #727e71;
  font-size: 11px;
}
.skip-link {
  position: fixed;
  z-index: 10;
  left: 15px;
  top: 10px;
  padding: 10px 15px;
  color: #fff;
  background: var(--accent);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.noscript-notice {
  background: #e1ecdb;
  padding: 16px;
  text-align: center;
  font-size: 13px;
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .hero {
    gap: 36px;
  }
  .hero h1 {
    font-size: 37px;
  }
  .workspace-body {
    grid-template-columns: 250px minmax(0, 1fr);
  }
  .result-panel {
    padding-inline: 23px;
  }
  .tool-details {
    margin-inline: -23px;
    padding-inline: 23px;
  }
  .chart-row {
    grid-template-columns: 110px 1fr 25px;
    gap: 10px;
  }
  .pipeline button {
    font-size: 10px;
    gap: 5px;
  }
  .stage-icon {
    font-size: 9px;
  }
  .story-equation {
    padding-right: 0;
    gap: 22px;
  }
  .tool-detail-summary {
    display: block;
    margin: 5px 0 0 14px;
  }
}
@media (max-width: 800px) {
  .hero {
    gap: 28px;
  }
  .hero h1 {
    font-size: 33px;
  }
  .hero-description {
    font-size: 14px;
  }
  .landscape {
    height: 390px;
  }
  .map-heading {
    padding-inline: 12px;
    gap: 8px;
    font-size: 11px;
  }
  .map-heading span:last-child {
    font-size: 9px;
  }
  .map-point-label {
    font-size: 9px;
    padding-inline: 2px;
  }
  .map-insight {
    width: 180px;
    padding: 10px;
  }
  #hero-site-description {
    font-size: 9px;
  }
  .map-caption {
    font-size: 9px;
  }
  .map-bottom {
    gap: 8px;
    left: 12px;
    right: 12px;
  }
  .map-bottom .segmented button {
    font-size: 11px;
    padding: 6px 9px;
  }
  .workspace-body {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .question-panel {
    padding-inline: 17px;
  }
  .result-panel {
    padding-inline: 19px;
  }
  .tool-details {
    margin-inline: -19px;
    padding-inline: 19px;
  }
  .pipeline button {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .chart-row {
    grid-template-columns: 98px 1fr 22px;
    gap: 8px;
  }
  .chart-label {
    font-size: 11px;
  }
  .result-content > h3 {
    font-size: 21px;
  }
  .composition {
    margin-left: 0;
    padding-left: 18px;
  }
  .about-section {
    gap: 35px;
  }
}
@media (max-width: 650px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    min-height: 68px;
    gap: 15px;
  }
  .wordmark {
    font-size: 13px;
  }
  .site-header nav {
    gap: 17px;
    font-size: 12px;
  }
  .site-header nav a:nth-child(2) {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 30px;
    gap: 27px;
  }
  .project-byline {
    font-size: 11px;
    margin-bottom: 15px;
  }
  .hero h1 {
    font-size: clamp(32px, 7.8vw, 42px);
    max-width: 490px;
  }
  .hero-description {
    margin-top: 18px;
    font-size: 15px;
    max-width: none;
  }
  .hero-actions {
    margin-top: 21px;
  }
  .hero-note {
    max-width: none;
    margin-top: 20px;
  }
  .landscape {
    height: 360px;
  }
  .map-heading {
    font-size: 12px;
    padding: 11px 14px;
  }
  .map-heading span:last-child {
    font-size: 10px;
  }
  .map-insight {
    width: 192px;
    bottom: 58px;
    padding: 10px 12px;
  }
  .map-point-label {
    font-size: 10px;
  }
  .map-bottom .segmented button {
    padding: 6px 12px;
  }
  .map-caption {
    font-size: 10px;
  }
  .change-story {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding-block: 22px;
  }
  .story-lead p {
    max-width: none;
    font-size: 12px;
  }
  .story-equation {
    justify-content: space-between;
    padding-right: 6px;
    gap: 16px;
  }
  .composition {
    padding-left: 23px;
    font-size: 12px;
  }
  .demo-section {
    padding-top: 30px;
    padding-bottom: 34px;
  }
  .section-top h2 {
    font-size: 21px;
  }
  .section-top p {
    font-size: 12px;
  }
  .workspace-bar {
    padding-inline: 15px;
    font-size: 11px;
    flex-wrap: wrap;
    gap: 4px 15px;
  }
  .sample-badge {
    font-size: 10px;
  }
  .workspace-body {
    grid-template-columns: 1fr;
  }
  .question-panel {
    padding: 20px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .question-panel h3 {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .prompt-list {
    margin-bottom: 18px;
  }
  .prompt-card {
    font-size: 13px;
    padding-block: 10px;
  }
  .question-input-wrap {
    flex-direction: row;
    gap: 10px;
    align-items: flex-end;
  }
  .question-input-wrap textarea {
    font-size: 16px;
    min-height: 55px;
  }
  .question-input-wrap button {
    padding: 6px 12px;
  }
  .conversation-context {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 17px;
    padding-top: 14px;
  }
  .conversation-context h4 {
    font-size: 11px;
  }
  .conversation-context p {
    margin: 0;
    flex-basis: 100%;
    font-size: 10px;
  }
  #context-tags {
    margin: 0;
  }
  .demo-scope {
    padding-top: 14px;
    font-size: 11px;
  }
  .result-panel {
    padding: 20px 16px 0;
  }
  .tool-details {
    margin-inline: -16px;
    padding-inline: 16px;
  }
  .pipeline {
    margin-top: 11px;
  }
  .pipeline button {
    font-size: 10px;
  }
  .stage-explanation {
    font-size: 11px;
  }
  .result-content {
    padding-top: 19px;
  }
  .result-content > h3 {
    font-size: 21px;
  }
  .answer-text {
    font-size: 13px;
  }
  .result-toolbar {
    gap: 13px;
    padding-top: 20px;
  }
  .segmented button {
    font-size: 12px;
    padding: 6px 12px;
  }
  .uncertainty-toggle {
    font-size: 11px;
  }
  .chart-heading {
    font-size: 10px;
  }
  .chart-row {
    grid-template-columns: 109px 1fr 23px;
    gap: 9px;
  }
  .chart-label {
    font-size: 11px;
  }
  .chart-label small {
    font-size: 9px;
  }
  .chart-rows {
    gap: 17px;
  }
  .chart-footnote {
    font-size: 11px;
  }
  .followups {
    gap: 6px;
  }
  .followups > span {
    width: 100%;
  }
  .followups button {
    font-size: 11px;
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 28px 35px;
  }
  .about-section h2 {
    font-size: 18px;
    margin-bottom: 11px;
  }
  .about-section p {
    font-size: 13px;
  }
  .site-footer {
    font-size: 11px;
    gap: 12px 18px;
  }
  .result-map {
    height: 265px;
  }
  .map-legend {
    font-size: 10px;
  }
  .evidence-comparison {
    gap: 9px;
  }
}
@media (max-width: 370px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .site-header nav {
    gap: 11px;
  }
  .wordmark {
    font-size: 12px;
  }
  .map-bottom {
    left: 10px;
    right: 10px;
    gap: 5px;
  }
  .map-bottom .segmented button {
    padding-inline: 9px;
  }
  .map-caption {
    font-size: 9px;
  }
  .map-point-label {
    font-size: 9px;
  }
  .chart-row {
    grid-template-columns: 94px 1fr 20px;
    gap: 7px;
  }
  .chart-heading {
    font-size: 9px;
  }
  .composition {
    padding-left: 15px;
    font-size: 11px;
  }
  .inventory-count strong {
    font-size: 31px;
  }
  .story-equation {
    gap: 12px;
  }
  .map-insight {
    width: 175px;
  }
  .playback-controls {
    gap: 9px;
  }
  .playback-controls button {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
