:root {
  --paper: #f7f3eb;
  --white: #fffdf7;
  --teal: #163e39;
  --teal-soft: #345a51;
  --muted: #54635d;
  --line: #d6d6c9;
  --clay: #a64728;
  --green-light: #e9efe4;
  --sans: "Avenir Next", Avenir, "Gill Sans", "Trebuchet MS", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--teal); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
p { margin: 0 0 1em; text-wrap: pretty; }
button, select { color: inherit; font: inherit; }
a:focus-visible, select:focus-visible, summary:focus-visible, pre:focus-visible, .table-wrap:focus-visible { outline: 3px solid var(--clay); outline-offset: 4px; }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
code { font-size: .86em; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
.page-shell { width: min(1240px, calc(100% - 80px)); margin: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10; padding: 12px 18px; background: var(--teal); color: var(--white); }
.skip-link:focus { top: 0; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--teal); border-radius: 50%; font-size: 14px; font-weight: 800; letter-spacing: .06em; }
.brand-name { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.site-header nav { display: flex; align-items: center; gap: 25px; font-size: 12px; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.nav-cta { border: 1px solid var(--line); border-radius: 5px; padding: 9px 14px; }
.nav-cta span { margin-left: 12px; }
.breadcrumbs { padding-top: 18px; font-size: 12px; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; gap: 10px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 10px; color: #8a9184; }
.eyebrow { font-size: 12px; font-weight: 750; line-height: 1.6; text-transform: uppercase; letter-spacing: .11em; }
.hero { display: grid; grid-template-columns: 1.13fr 1fr; gap: 10%; align-items: center; padding: 64px 0 70px; }
.hero .eyebrow { display: flex; gap: 9px; align-items: center; margin-bottom: 23px; }
.status-dot { width: 7px; height: 7px; background: var(--clay); border-radius: 50%; flex-shrink: 0; }
h1 { margin: 0 0 26px; font-size: clamp(48px, 5.7vw, 74px); font-weight: 500; letter-spacing: -.065em; line-height: 1.01; }
h1 em { font-family: var(--serif); font-weight: 400; color: var(--clay); letter-spacing: -.045em; }
.hero-lead { max-width: 450px; margin-bottom: 28px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 48px; border-radius: 5px; padding: 12px 20px; background: var(--teal); color: var(--white); text-decoration: none; font-size: 14px; font-weight: 650; }
.button:hover { background: #28594e; }
.hero-model { background: var(--teal); color: var(--white); border-radius: 12px; padding: 28px 30px 0; overflow: hidden; box-shadow: 0 20px 50px #163e390b; }
.model-topline { display: flex; justify-content: space-between; gap: 15px; align-items: center; color: #c0d4c2; }
.hero-model .eyebrow { margin: 0; font-size: 12px; }
.model-index { font-size: 12px; white-space: nowrap; }
.hero-model h2 { font-size: 35px; font-weight: 400; letter-spacing: -.04em; line-height: 1.18; margin: 29px 0 25px; }
.model-flow { display: grid; gap: 6px; text-align: center; margin: 0 0 25px; font-size: 12px; }
.model-flow > span:not(.flow-arrow) { padding: 11px 15px; border: 1px solid #6b8c7c; border-radius: 5px; background: #244b43; }
.model-flow .flow-arrow { color: #d9ba8a; font-size: 16px; line-height: 1.1; }
.model-flow .model-answer { background: #dce7ce !important; color: var(--teal); border-color: #dce7ce !important; font-weight: 700; }
.hero-model > p { font-size: 12px; line-height: 1.7; color: #d1ddd2; margin-bottom: 27px; }
.model-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 0 -30px; padding: 16px 30px; border-top: 1px solid #537566; font-size: 12px; color: #d1ddd2; }
.index-heading { display: flex; gap: 18px; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.index-heading h2 { margin: 0; font-size: 23px; font-weight: 500; letter-spacing: -.03em; }
.index-heading p { margin: 0; font-size: 12px; color: var(--muted); }
.example-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.example-cards a { position: relative; display: flex; flex-direction: column; gap: 19px; min-width: 0; padding: 23px; text-decoration: none; background: #efeee3; transition: background 160ms ease; }
.example-cards a + a { border-left: 1px solid var(--line); }
.example-cards a:hover { background: #e1e8d7; }
.card-number { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.example-cards strong { font-weight: 500; font-size: 23px; line-height: 1.22; letter-spacing: -.03em; }
.card-description { display: block; font-size: 12px; line-height: 1.7; padding-right: 7px; color: var(--muted); margin-bottom: 27px; }
.card-arrow { position: absolute; bottom: 17px; right: 23px; color: var(--clay); font-size: 21px; }
.demo-disclosure { display: flex; gap: 14px; align-items: flex-start; margin-top: 27px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.disclosure-mark { display: grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; border: 1px solid #a5b2a4; border-radius: 50%; font-size: 14px; font-family: var(--serif); }
.demo-disclosure p { margin: 0; font-size: 12px; line-height: 1.75; color: var(--muted); }
.bundle-status { margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.scenario-section { padding-top: 72px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 10%; margin-bottom: 30px; }
.section-heading .eyebrow { color: var(--clay); margin-bottom: 13px; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 3.9vw, 48px); font-weight: 500; line-height: 1.08; letter-spacing: -.048em; }
.section-heading > p { max-width: 430px; margin: 0 0 2px; font-size: 14px; color: var(--muted); line-height: 1.75; }
.ontology-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.concept-panel, .question-preview { border: 1px solid var(--line); border-radius: 9px; padding: 25px 27px; min-width: 0; }
.concept-panel { background: #efeee3; }
.concept-panel h3 { font-weight: 650; font-size: 14px; margin: 0 0 18px; }
.relation-list { margin: 0; }
.relation-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 15px; border-top: 1px solid #d3d7c7; padding: 13px 0; }
.relation-list dt { font-size: 12px; font-weight: 650; }
.relation-list dd { margin: 0; font-size: 12px; color: var(--muted); }
.model-note { margin: 15px 0 0; padding-top: 15px; border-top: 1px solid #d3d7c7; font-size: 12px; line-height: 1.75; color: var(--muted); }
.question-preview { background: var(--white); }
.question-preview .eyebrow { color: var(--muted); font-size: 12px; margin-bottom: 15px; }
.question-preview h3 { font-size: 23px; font-weight: 500; line-height: 1.3; letter-spacing: -.03em; margin: 0 0 12px; }
.question-preview > p:not(.eyebrow) { font-size: 12px; color: var(--muted); }
.source-types { padding-top: 15px; margin-top: 20px; border-top: 1px solid var(--line); font-size: 12px !important; }
.source-types strong { display: block; font-size: 12px; margin-bottom: 5px; }
.download-links { display: flex; flex-wrap: wrap; gap: 12px 27px; margin-top: 20px; font-size: 12px; font-weight: 650; }
.download-links span { margin-left: 9px; color: var(--clay); }
.baseline-summary { margin: 0 0 20px; padding: 20px 24px; border-left: 3px solid var(--clay); background: #efeee3; }
.baseline-summary h3 { margin: 0 0 9px; font-size: 13px; font-weight: 650; }
.baseline-summary p { max-width: 850px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.baseline-summary strong { color: var(--teal); }
.baseline-summary .baseline-context { margin-top: 9px; font-size: 12px; }
.scenario-explorer { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--white); }
.scenario-explorer > .loading-note { padding: 25px; margin: 0; }
.explorer-controls { padding: 25px 27px 22px; }
.explorer-eyebrow { margin: 0 0 16px; color: var(--clay); }
.question-controls { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; border: 0; padding: 0; margin: 0; min-width: 0; }
.question-controls label { display: grid; gap: 6px; min-width: 0; font-size: 12px; font-weight: 650; }
.question-controls select { width: 100%; min-width: 0; min-height: 44px; padding: 9px 30px 9px 12px; border: 1px solid #b7c4b9; border-radius: 5px; background: var(--white); font-size: 12px; text-overflow: ellipsis; cursor: pointer; }
.question-controls:disabled select { cursor: wait; opacity: .6; }
.question-description { font-size: 12px; color: var(--muted); margin: 18px 0 0; }
.case-description { display: flex; align-items: flex-start; gap: 9px; margin: 13px 0 0; font-size: 12px; color: var(--muted); }
.case-description::before { content: "↳"; color: var(--clay); }
.result-layout { display: grid; grid-template-columns: 1.04fr 1fr; }
.result-panel { min-width: 0; padding: 27px; background: var(--teal); color: var(--white); }
.result-topline { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.result-topline .eyebrow { font-size: 12px; margin: 0; color: #ccdccd; }
.status-pill { border: 1px solid #819887; border-radius: 4px; padding: 3px 8px; color: #eaf4e1; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.status-pill[data-status="needs_review"], .status-pill[data-status="unknown"], .status-pill[data-status="refuted"], .status-pill[data-status="error"] { border-color: #d4b58d; color: #f4d4a8; }
.result-panel h3 { margin: 21px 0 17px; font-size: 24px; font-weight: 500; line-height: 1.3; letter-spacing: -.03em; }
.result-value { font-size: 15px; }
.result-money-label { color: #d1ddd2; font-size: 12px; margin: 0 0 7px; }
.result-money { font-size: clamp(27px, 3vw, 39px); font-weight: 500; letter-spacing: -.04em; line-height: 1.3; margin: 0 0 8px; }
.result-money-note { color: #d1ddd2; font-size: 12px; margin: 0; }
.result-value .empty-result { color: #d1ddd2; font-size: 14px; padding: 13px 0; }
.result-value .table-wrap { margin-bottom: 16px; }
.result-value table { font-size: 12px; }
.result-value td, .result-value th { border-color: #567666; }
.result-value thead th { color: #c6d7c9; font-weight: 500; font-size: 12px; }
.result-value td { color: #fffdf7; }
.result-value pre { background: #244b43; color: #f4f6ea; border-color: #5c7d6e; max-height: 280px; font-size: 12px; }
.result-note { font-size: 12px; color: #cedacc; line-height: 1.7; margin: 18px 0 0; }
.receipt-reasons { margin: 16px 0 0; padding-left: 17px; font-size: 12px; color: #f1dcbf; }
.receipt-reasons li + li { margin-top: 8px; }
.evidence-panel { min-width: 0; padding: 27px; background: #f0f1e7; }
.evidence-panel > .eyebrow { margin: 0 0 20px; font-size: 12px; color: var(--muted); }
.evidence-panel h3 { font-size: 16px; margin: 0 0 8px; font-weight: 650; }
.evidence-summary { font-size: 12px; color: var(--muted); }
.evidence-list { list-style: none; padding: 0; margin: 17px 0 0; display: grid; gap: 13px; max-height: 310px; overflow: auto; }
.evidence-list li { padding: 0 0 13px; border-bottom: 1px solid #d3dacb; overflow-wrap: anywhere; }
.evidence-list strong { display: block; font-size: 12px; font-weight: 650; }
.evidence-list code { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.evidence-list .source-reference { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); }
.empty-evidence { font-size: 12px; color: var(--muted); }
.evidence-more { margin-top: 14px; font-size: 12px; }
.evidence-more summary { cursor: pointer; font-weight: 650; }
.explorer-detail { padding: 0 27px; border-top: 1px solid var(--line); }
.explorer-detail summary, .bundle-details > summary { padding: 17px 0; font-size: 12px; font-weight: 650; cursor: pointer; }
.explorer-detail > div { padding: 0 0 23px; }
.explorer-detail h4 { margin: 18px 0 9px; font-size: 12px; }
.explorer-detail p { font-size: 12px; color: var(--muted); }
.table-wrap { overflow: auto; max-width: 100%; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
caption { text-align: left; color: var(--muted); font-size: 12px; margin: 0 0 11px; }
td, th { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
td:last-child, th:last-child { padding-right: 0; }
thead th { font-size: 12px; font-weight: 650; }
td code { font-size: 12px; }
td small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.records-table { min-width: 560px; }
pre { max-height: 460px; overflow: auto; white-space: pre; padding: 18px; border: 1px solid var(--line); border-radius: 5px; background: #efece3; font-size: 12px; line-height: 1.75; margin: 12px 0; }
.scenario-status { margin: 0; padding: 12px 27px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.loading-note { font-size: 12px; color: var(--muted); }
.error-message { padding: 16px 18px; border: 1px solid #c98d67; background: #f8e8d7; border-radius: 5px; color: #743e24; font-size: 12px; }
.scenario-explorer .error-message { margin: 20px; }
.related-example { margin: 18px 0 0; max-width: 780px; font-size: 13px; color: var(--muted); }
.related-example strong { color: var(--teal); }
.next-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; font-size: 14px; font-weight: 650; }
.how-it-works { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; margin-top: 75px; padding: 50px 0; border-top: 1px solid var(--line); }
.how-it-works .eyebrow { color: var(--clay); }
.how-it-works h2 { font-size: 34px; font-weight: 500; line-height: 1.2; letter-spacing: -.04em; margin: 0 0 18px; }
.how-it-works > div > p:not(.eyebrow) { max-width: 430px; font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.method-list { padding: 0; margin: 0; list-style: none; }
.method-list li { display: flex; gap: 17px; padding: 18px 0; border-top: 1px solid var(--line); }
.method-list li > span { color: var(--clay); font-size: 12px; margin-top: 3px; }
.method-list h3 { font-size: 15px; font-weight: 650; margin: 0 0 7px; }
.method-list p { margin: 0; font-size: 12px; color: var(--muted); }
.bundle-details { border-top: 1px solid var(--line); padding-bottom: 24px; }
.bundle-details p { font-size: 12px; color: var(--muted); max-width: 850px; }
.bundle-details a { font-size: 12px; }
.site-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 26px; border-top: 1px solid var(--line); padding: 26px 0 30px; font-size: 12px; color: var(--muted); }
.site-footer p { margin: 0 auto 0 0; }
.site-footer .brand-mark { width: 34px; height: 34px; font-size: 12px; }
.site-footer .brand-name { font-size: 12px; }
.site-footer > span { font-size: 12px; }
@media (max-width: 1050px) {
  .page-shell { width: calc(100% - 48px); }
  .hero { gap: 6%; }
  .hero-model { padding: 25px 24px 0; }
  .model-footer { margin: 0 -24px; padding: 15px 24px; }
  .example-cards a { padding: 20px 18px; }
  .card-number { font-size: 12px; }
  .example-cards strong { font-size: 22px; }
  .concept-panel, .question-preview, .explorer-controls, .result-panel, .evidence-panel { padding: 23px; }
  .relation-list > div { grid-template-columns: 92px 1fr; gap: 10px; }
  .section-heading { gap: 7%; }
}
@media (max-width: 760px) {
  .page-shell { width: calc(100% - 36px); }
  .site-header { min-height: 73px; gap: 12px; }
  .site-header nav > a:not(.nav-cta) { display: none; }
  .site-header nav { font-size: 12px; }
  .brand { gap: 9px; }
  .brand-mark { width: 35px; height: 35px; font-size: 12px; }
  .brand-name { font-size: 12px; }
  .nav-cta { padding: 8px 10px; }
  .breadcrumbs { font-size: 12px; padding-top: 15px; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 43px 0 39px; }
  h1 { font-size: clamp(44px, 10vw, 68px); }
  .hero .eyebrow { font-size: 12px; margin-bottom: 19px; }
  .hero-lead { max-width: 510px; font-size: 16px; }
  .hero-model { max-width: 520px; width: 100%; padding: 24px 25px 0; }
  .hero-model .eyebrow { font-size: 12px; margin: 0; }
  .hero-model h2 { font-size: 32px; }
  .model-footer { margin: 0 -25px; padding: 15px 25px; }
  .example-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .example-cards a { padding: 20px; gap: 14px; }
  .example-cards a:nth-child(3) { border-left: 0; }
  .example-cards a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .example-cards strong { font-size: 24px; }
  .card-number { font-size: 12px; }
  .index-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .index-heading h2 { font-size: 25px; }
  .demo-disclosure { margin-top: 20px; }
  .demo-disclosure p { font-size: 12px; }
  .scenario-section { padding-top: 50px; }
  .section-heading { grid-template-columns: 1fr; gap: 19px; margin-bottom: 25px; }
  .section-heading h2 { font-size: 38px; }
  .section-heading > p { max-width: 540px; font-size: 14px; }
  .ontology-overview { grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
  .concept-panel, .question-preview, .explorer-controls, .result-panel, .evidence-panel { padding: 23px; }
  .relation-list > div { grid-template-columns: 110px 1fr; gap: 15px; }
  .relation-list dt, .relation-list dd { font-size: 14px; }
  .question-preview h3 { font-size: 24px; }
  .question-preview > p:not(.eyebrow) { font-size: 14px; }
  .result-layout { grid-template-columns: 1fr; }
  .question-controls { grid-template-columns: 1fr; gap: 13px; }
  .question-description { font-size: 14px; }
  .case-description { font-size: 12px; }
  .result-panel h3 { font-size: 25px; }
  .evidence-list { max-height: 330px; }
  .evidence-list strong { font-size: 12px; }
  .explorer-detail { padding: 0 23px; }
  .scenario-status { padding: 12px 23px; }
  .how-it-works { grid-template-columns: 1fr; gap: 32px; margin-top: 50px; padding: 38px 0; }
  .how-it-works h2 { font-size: 31px; }
  .site-footer { gap: 15px 20px; }
  .site-footer p { order: 4; width: 100%; }
  .site-footer > span { margin-left: auto; }
}
@media (max-width: 380px) {
  .page-shell { width: calc(100% - 28px); }
  .site-header .brand-name { display: none; }
  .hero .eyebrow { font-size: 12px; }
  .example-cards a { padding: 17px 14px; }
  .card-number { font-size: 12px; }
  .example-cards strong { font-size: 21px; }
  .card-description { font-size: 12px; }
  .section-heading h2 { font-size: 35px; }
  .concept-panel, .question-preview, .explorer-controls, .result-panel, .evidence-panel { padding: 19px; }
  .relation-list > div { grid-template-columns: 92px 1fr; gap: 10px; }
  .relation-list dt, .relation-list dd { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
