
/* Corporate typography and core colors follow hessian.AI's official theme v1.4.3.
   Font files are served locally; semantic warning/error colors remain distinct. */
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("brand/Poppins-Light.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("brand/Poppins-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("brand/Poppins-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("brand/Poppins-Bold.woff2") format("woff2");
}
:root {
  --paper: #ffffff;
  --surface: #ffffff;
  --ink: #36196d;
  --muted: #665681;
  --accent: #7a46eb;
  --accent-text: #5b28bb;
  --deep: #36196d;
  --deepest: #36196d;
  --note: #7a46eb;
  --highlight: #cecafd;
  --tint: #eeedfe;
  --line: #cecafd;
  --radius: 8px;
  --header-height: 106px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
::selection { background: var(--highlight); color: var(--ink); }
a { color: var(--accent-text); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: wait; opacity: .7; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
input:focus-visible, select:focus-visible { outline-offset: 2px; }
svg { display: block; flex: 0 0 auto; }
img, svg { max-width: 100%; }
main { min-width: 0; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 600; }
p { margin: 0 0 1.1em; }
h1, h2, h3, p { overflow-wrap: break-word; }
section[id], article[id], h1[id], h2[id], h3[id], h4[id] { scroll-margin-top: 0; }
.sr-only, .visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 20px; top: 12px; z-index: 100;
  padding: 12px 18px; background: var(--deep); color: white;
  border-radius: 6px; transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.topbar {
  max-width: 1384px; min-height: var(--header-height);
  margin: auto; padding: 16px 40px;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-logo { display: block; width: 190px; height: auto; flex: 0 0 auto; }
.brand-jaif-logo { display: block; width: 126px; height: auto; flex: 0 0 auto; }
.brand-ampersand { display: block; flex: 0 0 16px; text-align: center; font-size: 20px; line-height: 1; color: var(--muted); }
.top-links { margin-left: auto; display: flex; align-items: center; gap: 21px; }
.top-links a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--accent-text); text-decoration: none; font-size: 11px; font-weight: 600; letter-spacing: .35px; text-transform: uppercase; }
.top-links a svg { width: 13px; height: 13px; }
.top-links a:hover, .top-links a[aria-current] { color: var(--accent); }
.private-badge {
  display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto;
  padding: 6px 10px; border: 1px solid #cecafd; border-radius: 999px;
  color: #5b28bb; font-size: 10px; font-weight: 600; letter-spacing: .7px; text-transform: uppercase;
}
.private-badge::before { content: none; }
.private-badge svg { width: 12px; height: 12px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 7px; padding: 9px 11px; align-items: center; gap: 7px; font-size: 12px; }
.menu-toggle svg { width: 18px; height: 18px; }
.mobile-nav { padding: 12px 24px 22px; background: var(--paper); border-bottom: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 12px 4px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.shell { max-width: 1384px; margin: auto; padding: 48px 40px 80px; }
.shell:not(.landing) { display: grid; grid-template-columns: 188px minmax(0, 1fr); gap: 48px; }
.shell.landing { padding-top: 0; }
.content { min-width: 0; }
.side-nav { position: sticky; top: calc(var(--header-height) + 24px); align-self: start; padding: 2px 0 24px; }
.side-nav a { display: block; padding: 8px 12px; color: var(--muted); text-decoration: none; font-size: 12px; line-height: 1.5; border-left: 2px solid transparent; }
.side-nav a:hover { color: var(--accent); }
.side-nav a[aria-current="page"], .side-nav a.is-active { border-left-color: var(--accent); color: var(--accent-text); background: #eeedfe; }
.nav-caption { display: block; margin: 0 12px 15px; font-size: 9px; font-weight: 700; letter-spacing: 1.4px; color: #665681; }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.eyebrow, .section-kicker {
  display: block; color: var(--accent-text);
  font-size: 10px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase;
}
.eyebrow { margin-bottom: 22px; }
.hero {
  display: grid; grid-template-columns: 1.06fr .94fr; gap: 48px;
  align-items: start; padding: 46px 0 40px;
}
.hero h1 {
  margin: 0 0 28px; font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(38px, 3.4vw, 48px); line-height: 1.2; font-weight: 600; letter-spacing: -.9px;
}
.hero h1 em { color: var(--accent); font-weight: 600; font-style: normal; }
.hero-copy > p { max-width: 570px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.hero-copy > .hero-scope { font-size: 12px; line-height: 1.8; margin-top: 17px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 42px; padding: 10px 16px; border-radius: 8px;
  font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .35px; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent;
  transition: background .16s, border-color .16s, transform .16s;
}
.button svg { width: 15px; height: 15px; }
.button:hover { text-decoration: none; }
.button.primary { color: white; background: var(--accent); }
.button.primary:hover { background: #36196d; }
.button.secondary { color: var(--ink); background: transparent; border-color: #a999f8; }
.button.secondary:hover { background: #eeedfe; }
.button.text { padding-left: 4px; padding-right: 4px; color: var(--accent); }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; max-width: 570px; margin: 27px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line);
}
.hero-stat dt { font-size: 11px; font-weight: 600; color: var(--muted); line-height: 1.5; }
.hero-stat dd { max-width: 175px; margin: 6px 0 0; color: var(--ink); font-size: 11px; line-height: 1.7; }
.hero-visual { color: var(--ink); background: var(--tint); border: 1px solid var(--line); padding: 22px; border-radius: 8px; }
.diagram-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 16px; font-size: 10px; }
.diagram-header strong { font-size: 12px; font-weight: 600; }
.diagram-header > span:last-child { font-size: 9px; color: var(--muted); letter-spacing: .8px; text-transform: uppercase; }
.workflow-diagram { padding: 0 2px; }
.diagram-node {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 11px;
  padding: 11px 13px; border: 1px solid var(--line); border-radius: 5px; background: white;
}
.diagram-node:nth-child(3), .diagram-node.is-active { background: var(--highlight); color: var(--deepest); border-color: var(--highlight); }
.node-num { display: grid; place-items: center; height: 24px; width: 24px; border: 1px solid var(--line); border-radius: 4px; color: var(--accent-text); font-size: 9px; }
.diagram-node:nth-child(3) .node-num, .diagram-node.is-active .node-num { color: #36196d; }
.node-copy strong { display: block; font-size: 12px; line-height: 1.4; font-weight: 600; }
.node-copy small { display: block; font-size: 10px; line-height: 1.5; margin-top: 3px; }
.node-tag { padding: 3px 6px; border: 1px solid #a999f8; border-radius: 4px; font-size: 8px; letter-spacing: .65px; text-transform: uppercase; white-space: nowrap; }
.diagram-node:nth-child(3) .node-tag { border-color: #a999f8; }
.diagram-arrow { display: flex; align-items: center; margin: 3px 0 3px 24px; height: 15px; color: var(--accent-text); font-size: 15px; line-height: 1; }
.diagram-arrow svg { width: 13px; height: 18px; }
.diagram-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.diagram-footer span { display: flex; align-items: center; gap: 5px; }
.diagram-footer > .status-dot { display: none; }
.diagram-footer > span:nth-child(2) { margin-right: auto; }
.diagram-footer .diagram-label { font-size: 8px; letter-spacing: .7px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.section-heading h2, .feature-copy h2, .start-copy h2 {
  margin: 9px 0 0; font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 28px; line-height: 1.3; letter-spacing: -.4px; font-weight: 600;
}
.section-heading > p { max-width: 340px; margin: 0 0 2px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.section-heading h2 em { color: var(--accent); font-weight: 600; font-style: normal; }
.text-link { display: inline-flex; align-items: center; gap: 9px; width: fit-content; font-size: 12px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link svg { width: 15px; height: 15px; }
.section-note { color: var(--muted); font-size: 11px; line-height: 1.8; margin-top: 18px; }
.landing > .content > section:not(.hero) { margin-top: 56px; }
.landing > .content > section.hero + section { margin-top: 12px; }
.workflow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workflow-step { position: relative; padding: 29px 25px 25px; border-right: 1px solid var(--line); }
.workflow-step:first-child { padding-left: 0; }
.workflow-step:last-child { border-right: 0; }
.workflow-step > svg { width: 25px; height: 25px; color: var(--accent); margin-bottom: 21px; }
.step-number { position: absolute; top: 28px; right: 25px; font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #665681; font-size: 15px; }
.workflow-step h3 { font-size: 16px; letter-spacing: -.35px; margin: 0 0 11px; }
.workflow-step p, .workflow-step details { font-size: 12px; color: var(--muted); line-height: 1.8; }
.workflow-step p { margin-bottom: 12px; }
details summary { cursor: pointer; }
.workflow-step summary { color: var(--accent); font-size: 11px; font-weight: 600; }
.workflow-step details[open] { padding-bottom: 8px; }
.workflow-step details[open] summary { margin-bottom: 8px; }
.recipe-tools { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.search-field { flex: 1 1 240px; max-width: 340px; }
.recipe-tools input {
  width: min(310px, 100%); min-height: 42px;
  border: 1px solid #a999f8; border-radius: 6px; color: var(--ink); background: var(--surface);
  padding: 10px 13px; font-size: 12px;
}
.recipe-tools input::placeholder { color: #665681; }
.filter-controls { display: flex; flex-wrap: wrap; gap: 5px; }
.filter-controls button {
  min-height: 36px; padding: 8px 13px; border: 1px solid transparent; border-radius: 5px;
  background: transparent; color: var(--muted); font-size: 11px; line-height: 1.3; font-weight: 600;
}
.filter-controls button:hover { background: var(--tint); color: var(--ink); }
.filter-controls button[aria-pressed="true"], .filter-controls button.is-active { background: var(--deep); color: white; }
#recipe-count { color: var(--muted); font-size: 11px; }
#recipe-empty { padding: 35px 24px; border: 1px dashed #a999f8; color: var(--muted); text-align: center; }
.recipe-grid { display: block; border-top: 1px solid var(--line); }
.recipe-index-header { display: grid; grid-template-columns: minmax(210px, .8fr) minmax(0, 1.2fr) minmax(118px, .45fr) 85px; gap: 22px; padding: 11px 14px; color: var(--muted); background: var(--tint); font-size: 10px; font-weight: 600; }
.recipe-card {
  position: relative; display: grid; grid-template-columns: minmax(210px, .8fr) minmax(0, 1.2fr) minmax(118px, .45fr) 85px;
  align-items: center; gap: 22px; min-width: 0; min-height: 0;
  padding: 19px 14px; border-bottom: 1px solid var(--line);
  transition: background .18s;
}
.recipe-card:hover { background: #f4f5ff; }
.recipe-top { grid-column: 3; grid-row: 1; display: flex; align-items: center; margin: 0; }
.recipe-number { display: none; }
.badge {
  display: inline-flex; align-items: center; width: fit-content; max-width: 100%;
  padding: 4px 8px; border-radius: 4px; background: #eeedfe; color: #5b28bb;
  font-size: 9px; font-weight: 600; line-height: 1.4; letter-spacing: .1px;
}
.badge--warning { background: #f1e6c8; color: #74511d; }
.badge--danger { background: #f4e0d5; color: #833f2b; }
.badge--neutral { background: #eeedfe; color: #665681; }
.recipe-icon { display: none; }
.recipe-card h3 { grid-column: 1; grid-row: 1; font-size: 15px; line-height: 1.5; font-weight: 600; letter-spacing: -.15px; margin: 0; }
.recipe-card h3 a { color: var(--ink); text-decoration: none; }
.recipe-card h3 a::after { content: ""; position: absolute; inset: 0; }
.recipe-card h3 a:hover { color: var(--accent); text-decoration: underline; }
.recipe-card:focus-within { outline: 2px solid var(--accent); outline-offset: -3px; background: #f4f5ff; }
.recipe-card > p { grid-column: 2; grid-row: 1; font-size: 12px; color: var(--muted); line-height: 1.8; margin: 0; }
.recipe-bottom { grid-column: 4; grid-row: 1; display: flex; justify-content: space-between; align-items: center; gap: 9px; color: var(--accent-text); font-size: 9px; font-weight: 600; }
.recipe-bottom svg { width: 15px; height: 15px; transition: transform .18s; }
.recipe-card:hover .recipe-bottom svg { color: var(--accent); }
.feature-story { display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center; }
.feature-copy > p { margin-top: 20px; max-width: 490px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.feature-copy .button { margin-top: 8px; }
.feature-copy > .section-kicker { margin-top: 0; color: var(--accent); font-size: 10px; }
.feature-copy > .feature-footnote { font-size: 10px; line-height: 1.8; margin: 20px 0 0; }
.feature-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 25px; }
.feature-tags > * { padding: 5px 8px; border: 1px solid #cecafd; border-radius: 4px; color: #5b28bb; font-size: 9px; text-decoration: none; }
.feature-panel { border-radius: var(--radius); background: var(--deep); color: #eeedfe; padding: 25px; }
.feature-panel h3 { margin: 0 0 22px; font-size: 21px; font-weight: 600; letter-spacing: -.2px; }
.feature-panel > p { color: #cecafd; font-size: 11px; line-height: 1.8; }
.feature-panel a { color: var(--highlight); }
.panel-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-bottom: 1px solid #8b74b1; padding-bottom: 20px; }
.panel-heading span { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: #eeedfe; }
.panel-heading strong { font-size: 26px; font-weight: 600; line-height: 1.3; color: var(--highlight); }
.feature-panel .feature-tags { margin: 20px 0 26px; }
.feature-panel .feature-tags > * { color: #eeedfe; border-color: #a999f8; }
.feature-panel > .text-link { border-top: 1px solid #8b74b1; width: 100%; margin-top: 25px; padding-top: 18px; }
.protocol-list { list-style: none; padding: 0; margin: 0; counter-reset: protocol; }
.protocol-list li { position: relative; padding: 16px 0 16px 38px; border-bottom: 1px solid #765aa2; font-size: 11px; line-height: 1.7; color: #cecafd; counter-increment: protocol; }
.protocol-list li:first-child { padding-top: 0; }
.protocol-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.protocol-list li::before { position: absolute; left: 0; content: counter(protocol, decimal-leading-zero); color: var(--highlight); font-size: 11px; font-weight: 600; }
.protocol-list strong { display: block; color: #ffffff; font-size: 12px; font-weight: 600; margin-bottom: 3px; }
.protocol-list li > span { display: block; color: #cecafd; font-size: 8px; letter-spacing: 1px; margin-bottom: 4px; }
.evidence-lab { padding: 28px; background: var(--tint); border-radius: var(--radius); }
.evidence-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 25px 0 22px; }
.evidence-controls label { font-size: 11px; font-weight: 600; }
.evidence-controls select { width: min(290px, 100%); border: 1px solid #a999f8; border-radius: 6px; padding: 10px 34px 10px 12px; color: var(--ink); background: var(--surface); font-size: 12px; }
.evidence-panel { padding: 25px; background: var(--surface); border-radius: 8px; margin-top: 18px; border: 0; }
.evidence-panel h3 { margin: 12px 0; font-size: 21px; letter-spacing: -.35px; }
.evidence-panel p { font-size: 12px; color: var(--muted); }
.evidence-panel a { font-size: 11px; }
.result-bars { display: grid; gap: 15px; margin: 26px 0; }
.result-bars h4 { font-size: 12px; font-weight: 600; margin: 0 0 3px; }
.bar-row { --meter-fill: var(--accent); display: grid; grid-template-columns: 126px minmax(0, 1fr) 46px; align-items: center; gap: 15px; }
.bar-row--before { --meter-fill: #8b75ad; }
.bar-label { color: var(--muted); font-size: 11px; line-height: 1.5; }
.bar-row > strong { color: var(--ink); font-size: 12px; font-weight: 600; text-align: right; }
meter.bar-track, meter.bar-fill, progress.bar-track, progress.bar-fill {
  display: block; width: 100%; height: 10px; padding: 0; border: 0; border-radius: 999px;
  overflow: hidden; background: #eeedfe; appearance: none; -webkit-appearance: none;
}
meter.bar-track::-webkit-meter-bar, meter.bar-fill::-webkit-meter-bar {
  border: 0; border-radius: 999px; background: #eeedfe; box-shadow: none; height: 10px;
}
meter.bar-track::-webkit-meter-optimum-value, meter.bar-track::-webkit-meter-suboptimum-value,
meter.bar-track::-webkit-meter-even-less-good-value, meter.bar-fill::-webkit-meter-optimum-value {
  border-radius: 999px; background: var(--meter-fill, var(--accent));
}
meter.bar-track::-moz-meter-bar, meter.bar-fill::-moz-meter-bar { background: var(--meter-fill, var(--accent)); border-radius: 999px; }
progress.bar-track::-webkit-progress-bar { background: #eeedfe; }
progress.bar-track::-webkit-progress-value { background: var(--meter-fill, var(--accent)); border-radius: 999px; }
progress.bar-track::-moz-progress-bar { background: var(--meter-fill, var(--accent)); border-radius: 999px; }
.evidence-note { margin: 22px 0 0; border-left: 2px solid var(--note); padding: 2px 0 2px 13px; color: #665681; font-size: 11px; line-height: 1.8; }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 25px 0; }
.metric-box { padding: 17px 14px; background: #eeedfe; border-radius: 6px; }
.metric-box strong { display: block; margin-bottom: 6px; font-size: 20px; font-weight: 600; line-height: 1.35; }
.metric-box span, .metric-box small { display: block; font-size: 10px; line-height: 1.6; color: var(--muted); }
.qualification-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
.qualification-card { padding: 20px 0 0; border-top: 1px solid #cecafd; }
.qualification-card h3, .qualification-card h4 { margin: 8px 0; font-size: 14px; letter-spacing: -.2px; }
.qualification-card p { margin-bottom: 8px; font-size: 11px; line-height: 1.8; color: var(--muted); }
.qualification-card a { font-size: 11px; }
.qualification-card > strong { display: block; font-size: 13px; line-height: 1.6; margin: 11px 0 6px; }
.benchmark-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.benchmark-card { position: relative; overflow: hidden; min-width: 0; padding: 25px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.benchmark-card:first-child { background: white; color: var(--ink); }
.benchmark-number { display: block; font-size: 10px; letter-spacing: 1.1px; text-transform: uppercase; color: #5b28bb; }
.benchmark-card:first-child .benchmark-number { color: var(--accent-text); }
.benchmark-card h3 { font-size: 21px; font-weight: 600; letter-spacing: -.25px; line-height: 1.4; margin: 16px 0; }
.benchmark-card p { max-width: 470px; font-size: 12px; line-height: 1.9; color: #665681; }
.benchmark-card:first-child p { color: var(--muted); }
.benchmark-card > a, .benchmark-card .button { color: var(--deep); font-size: 11px; font-weight: 600; }
.benchmark-card:first-child > a, .benchmark-card:first-child .button { color: var(--accent-text); }
.benchmark-diagram { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 24px 0; }
.mini-node { padding: 7px 9px; border: 1px solid #a999f8; border-radius: 4px; color: #5b28bb; font-size: 10px; line-height: 1.4; }
.benchmark-card:first-child .mini-node { border-color: var(--line); color: var(--ink); }
.mini-arrow { color: var(--accent); font-size: 13px; }
.benchmark-card:first-child .mini-arrow { color: var(--accent); }
.domain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.domain-card { display: block; border-top: 1px solid #cecafd; padding: 25px 0 0; min-width: 0; color: var(--ink); text-decoration: none; }
.domain-card:hover { text-decoration: none; }
.domain-card:hover h3 { color: var(--accent); }
.domain-card > svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 19px; }
.domain-card > svg:last-child { width: 17px; height: 17px; margin-top: 17px; margin-bottom: 0; }
.domain-card h3 { margin: 0 0 12px; font-size: 18px; letter-spacing: -.4px; }
.domain-card p { max-width: 340px; font-size: 11px; color: var(--muted); line-height: 1.9; }
.domain-card a { font-size: 11px; }
.domain-card .badge { margin-top: 4px; }
.domain-card > .badge { float: right; margin-top: -44px; }
.start-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 38px; align-items: center; padding: 36px; background: #eeedfe; border-radius: var(--radius); }
.start-copy h2 { font-size: 28px; margin-top: 10px; }
.start-copy > p { margin: 18px 0; color: #665681; font-size: 12px; line-height: 1.9; }
.start-copy > .section-kicker { margin-top: 0; color: var(--accent-text); font-size: 10px; }
.start-copy > .start-note { font-size: 10px; line-height: 1.8; }
.start-terminal { min-width: 0; color: #eeedfe; background: var(--deepest); border-radius: 10px; overflow: hidden; }
.terminal-header { display: flex; align-items: center; gap: 12px; padding: 12px 15px; border-bottom: 1px solid #765aa2; font-size: 10px; color: #cecafd; }
.terminal-header::before { content: ""; width: 6px; height: 6px; margin-right: 20px; border-radius: 50%; background: #a999f8; box-shadow: 10px 0 0 #a999f8, 20px 0 0 #a999f8; }
.terminal-header .copy-button { margin-left: auto; }
.start-terminal pre { margin: 0; padding: 22px; background: none; border: 0; border-radius: 0; font-size: 11px; }
.copy-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid #a999f8; border-radius: 5px; padding: 6px 9px;
  background: var(--surface); color: #5b28bb; font-size: 10px; line-height: 1.3;
}
.copy-button svg { width: 12px; height: 12px; }
.terminal-header .copy-button { background: #48247f; color: #eeedfe; border-color: #8b74b1; }
.copy-button.is-copied { background: #eeedfe; color: #5b28bb; border-color: #a999f8; }
.copy-button.is-error { color: #7c3e27; background: #f3e5d8; border-color: #cfae90; }
.clipboard-buffer { position: fixed; left: -10000px; top: 0; width: 1px; height: 1px; opacity: 0; }
.site-footer { max-width: 1384px; margin: auto; padding: 0 40px 28px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 30px; padding: 32px 0; border-top: 1px solid var(--line); }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: var(--muted); font-size: 11px; text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; color: #665681; font-size: 10px; line-height: 1.8; padding-top: 18px; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; max-width: 650px; }
.footer-bottom a { color: inherit; }
.breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 25px; color: var(--muted); font-size: 11px; }
.breadcrumbs a { text-decoration: none; }
.article-head { margin-bottom: 35px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.article-head h1 { margin: 0 0 16px; font-weight: 600; font-size: clamp(30px, 2.7vw, 38px); letter-spacing: -.5px; }
.article-head p { max-width: 700px; color: var(--muted); font-size: 13px; }
.article-source { margin: 0; font-size: 11px; color: var(--muted); }
.article-source a { font-size: 11px; }
.article-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 24px; }
.source-link { font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; overflow-wrap: anywhere; }
.source-browser > ul { padding: 0; list-style: none; }
.source-browser > ul li { margin: 0; border-bottom: 1px solid var(--line); }
.source-browser > ul li a { display: block; padding: 9px 0; font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; overflow-wrap: anywhere; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 166px; gap: 38px; align-items: start; }
.article-text { grid-column: 1; grid-row: 1; min-width: 0; max-width: 760px; }
.article-toc { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-height) + 24px); border-left: 1px solid var(--line); padding-left: 17px; }
.article-toc h2, .article-toc strong { display: block; font-family: inherit; font-size: 10px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; margin: 0 0 12px; }
.article-toc a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; font-size: 10px; line-height: 1.6; }
.article-toc .toc-level-3 { padding-left: 9px; font-size: 9px; }
.article-toc a[aria-current="location"], .article-toc a.is-active { color: var(--accent); font-weight: 600; }
article { min-width: 0; }
.article-text h1, article > h1 { font-size: 34px; font-weight: 600; letter-spacing: -.5px; margin: 0 0 26px; }
.article-text h2, article > h2 { font-size: 26px; font-weight: 600; letter-spacing: -.35px; margin: 36px 0 18px; }
.article-text h3, article > h3 { margin: 28px 0 13px; font-size: 19px; letter-spacing: -.3px; }
.article-text p, .article-text li { font-size: 14px; line-height: 1.9; }
.article-text p { margin-bottom: 19px; }
.article-text li { margin: 7px 0; }
.article-text ul, .article-text ol { padding-left: 24px; }
.article-text strong { font-weight: 600; }
code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .88em; padding: 2px 4px; border-radius: 3px; background: #eeedfe; overflow-wrap: anywhere; }
pre {
  max-width: 100%; overflow: auto; overscroll-behavior-inline: contain;
  margin: 22px 0; padding: 23px; border-radius: 9px;
  background: var(--deepest); color: #eeedfe; font-size: 12px; line-height: 1.75; tab-size: 2;
}
pre code { padding: 0; background: none; color: inherit; font-size: inherit; white-space: pre; overflow-wrap: normal; }
.code-block { position: relative; min-width: 0; }
.code-block pre { padding-top: 46px; }
.code-block > .copy-button { position: absolute; top: 11px; right: 11px; z-index: 1; background: #48247f; border-color: #8b74b1; color: #eeedfe; }
table { display: block; max-width: 100%; overflow: auto; border-collapse: collapse; margin: 24px 0; font-size: 11px; line-height: 1.8; }
th { text-align: left; vertical-align: top; font-size: 10px; font-weight: 600; color: #5b28bb; background: #eeedfe; }
th, td { padding: 12px 13px; border-bottom: 1px solid #cecafd; border-right: 1px solid #eeedfe; }
th:last-child, td:last-child { border-right: 0; }
td { vertical-align: top; }
tbody tr:nth-child(even) { background: #f4f5ff; }
table code { font-size: 10px; word-break: normal; }
blockquote { margin: 25px 0; padding: 7px 0 7px 19px; border-left: 3px solid var(--note); color: #665681; }
blockquote p:last-child { margin-bottom: 0; }
.notice { padding: 18px 20px; background: #efe9d3; border-left: 3px solid #b48942; border-radius: 5px; color: #594d2f; font-size: 12px; line-height: 1.8; margin-bottom: 25px; }
.artifact-list { margin: 15px 0 30px; }
.artifact-list a { display: block; padding: 7px 0; font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; overflow-wrap: anywhere; }
@media (min-width: 961px) { #mobile-nav { display: none !important; } }
@media (max-width: 1180px) {
  :root { --header-height: 100px; }
  .topbar, .shell, .site-footer { padding-left: 30px; padding-right: 30px; }
  .top-links { gap: 14px; }
  .private-label { display: none; }
  .brand-logo { width: 175px; }
  .brand-jaif-logo { width: 116px; }
  .hero { gap: 32px; padding-top: 40px; }
  .hero h1 { font-size: 44px; letter-spacing: -.7px; }
  .hero-visual { padding: 23px; }
  .hero-stats { gap: 12px; }
  .shell:not(.landing) { grid-template-columns: 160px minmax(0, 1fr); gap: 30px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 145px; gap: 25px; }
  .feature-story { gap: 35px; }
  .recipe-card, .recipe-index-header { grid-template-columns: minmax(180px, .8fr) minmax(0, 1.2fr) 130px 75px; gap: 16px; }
}
@media (max-width: 960px) {
  :root { --header-height: 94px; }
  .topbar { padding: 14px 25px; gap: 16px; }
  .top-links { display: none; }
  .private-badge { margin-left: auto; }
  .js .menu-toggle { display: inline-flex; }
  .mobile-nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; box-shadow: 0 14px 18px #36196d0d; }
  html:not(.js) #mobile-nav[hidden] { display: block !important; position: static; }
  .shell, .site-footer { padding-left: 25px; padding-right: 25px; }
  .shell:not(.landing) { display: block; }
  .side-nav { display: none; }
  .hero { gap: 25px; padding-top: 35px; padding-bottom: 30px; }
  .hero h1 { font-size: 36px; letter-spacing: -.6px; }
  .hero-copy > p { font-size: 13px; line-height: 1.85; }
  .hero-visual { padding: 20px; }
  .diagram-node { grid-template-columns: 24px minmax(0, 1fr); padding: 14px 11px; gap: 10px; }
  .node-num { width: 24px; height: 24px; }
  .node-tag { grid-column: 2; width: fit-content; padding: 2px 5px; }
  .node-copy strong { font-size: 12px; }
  .node-copy small { font-size: 9px; }
  .diagram-header { flex-wrap: wrap; margin-bottom: 20px; }
  .diagram-footer { font-size: 8px; gap: 7px; margin-top: 20px; }
  .hero-actions { gap: 9px; margin-top: 23px; }
  .hero-actions .button { font-size: 11px; padding: 10px 13px; }
  .hero-stats { gap: 12px; margin-top: 30px; padding-top: 21px; }
  .hero-stat dt, .hero-stat dd { font-size: 10px; }
  .landing > .content > section:not(.hero) { margin-top: 48px; }
  .workflow-step { padding: 24px 17px 20px; }
  .step-number { right: 17px; }
  .workflow-step h3 { font-size: 14px; }
  .workflow-step p, .workflow-step details { font-size: 11px; }
  .recipe-tools { align-items: stretch; }
  .recipe-tools input { width: 240px; }
  .search-field { max-width: 240px; }
  .filter-controls { gap: 2px; }
  .filter-controls button { padding: 8px 9px; }
  .recipe-card, .recipe-index-header { grid-template-columns: minmax(175px, .8fr) minmax(0, 1.2fr) 130px; }
  .recipe-bottom, .recipe-index-header > :last-child { display: none; }
  .feature-story { gap: 30px; grid-template-columns: 1fr 1fr; }
  .feature-panel { padding: 26px; }
  .feature-copy > p { font-size: 12px; }
  .feature-panel h3 { font-size: 24px; }
  .evidence-lab { padding: 27px; }
  .qualification-grid { gap: 17px; }
  .benchmark-card { padding: 25px; }
  .benchmark-card h3 { font-size: 21px; }
  .domain-grid { gap: 23px; }
  .start-panel { gap: 25px; padding: 28px; }
  .start-copy h2 { font-size: 27px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 165px; gap: 35px; }
}
@media (max-width: 700px) {
  :root { --header-height: 88px; }
  .brand { gap: 10px; }
  .brand-logo { width: 153px; }
  .brand-jaif-logo { width: 104px; }
  .brand-ampersand { flex-basis: 14px; font-size: 18px; }
  .hero { grid-template-columns: 1fr; gap: 27px; padding-top: 32px; }
  .hero h1 { max-width: 540px; font-size: 36px; letter-spacing: -.6px; }
  .hero-copy > p { max-width: 510px; font-size: 14px; }
  .hero-visual { padding: 25px; }
  .diagram-node { grid-template-columns: 30px minmax(0, 1fr) auto; padding: 16px; }
  .node-num { width: 28px; height: 28px; }
  .node-tag { grid-column: auto; }
  .node-copy strong { font-size: 13px; }
  .node-copy small { font-size: 10px; }
  .diagram-header { flex-wrap: nowrap; }
  .diagram-footer { font-size: 9px; }
  .hero-stats { max-width: none; }
  .hero-stat dt { font-size: 11px; }
  .hero-stat dd { font-size: 10px; max-width: 160px; }
  .hero-actions .button { font-size: 11px; padding: 10px 15px; }
  .section-heading { align-items: start; flex-direction: column; gap: 15px; }
  .section-heading > p { max-width: 480px; font-size: 12px; }
  .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-step { padding: 25px 20px; }
  .workflow-step:first-child { padding-left: 20px; }
  .workflow-step:nth-child(2) { border-right: 0; }
  .workflow-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .workflow-step p, .workflow-step details { font-size: 11px; }
  .workflow-step h3 { font-size: 16px; }
  .recipe-tools { flex-direction: column; gap: 12px; }
  .search-field { flex-basis: auto; max-width: none; }
  .recipe-tools input { width: 100%; }
  .filter-controls { gap: 4px; }
  .filter-controls button { padding: 8px 12px; }
  .recipe-index-header { display: none; }
  .recipe-card { grid-template-columns: minmax(0, 1fr) 125px; gap: 12px 20px; padding: 19px 8px; }
  .recipe-card h3 { grid-column: 1; grid-row: 1; font-size: 15px; }
  .recipe-top { grid-column: 2; grid-row: 1; justify-content: end; }
  .recipe-card > p { grid-column: 1 / -1; grid-row: 2; font-size: 12px; }
  .feature-story { grid-template-columns: 1fr; gap: 28px; }
  .feature-copy > p { max-width: none; font-size: 13px; }
  .feature-panel { padding: 28px; }
  .evidence-controls { align-items: stretch; flex-direction: column; gap: 8px; }
  .evidence-controls select { width: 100%; }
  .evidence-panel { padding: 22px; }
  .metric-grid { gap: 9px; }
  .metric-box { padding: 13px 10px; }
  .metric-box strong { font-size: 19px; }
  .qualification-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benchmark-grid { grid-template-columns: 1fr; gap: 18px; }
  .benchmark-card h3 { max-width: 420px; font-size: 22px; }
  .domain-grid { grid-template-columns: 1fr; gap: 25px; }
  .domain-card { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 15px; }
  .domain-card > svg:first-child { grid-column: 1; grid-row: 1; margin-bottom: 0; }
  .domain-card > svg:last-child { grid-column: 1; grid-row: 3; margin-top: 4px; }
  .domain-card h3, .domain-card p, .domain-card .badge, .domain-card > a { grid-column: 2; }
  .domain-card h3 { grid-row: 1; }
  .domain-card p { grid-row: 2; }
  .domain-card > .badge { grid-row: 3; float: none; margin: 0; }
  .domain-card p { max-width: none; font-size: 12px; }
  .start-panel { grid-template-columns: 1fr; gap: 24px; }
  .start-copy h2 { font-size: 27px; }
  .start-copy > p { max-width: 490px; font-size: 13px; }
  .footer-top, .footer-bottom { align-items: start; flex-direction: column; gap: 20px; }
  .footer-links { gap: 17px; }
  .article-layout { display: flex; flex-direction: column; gap: 28px; }
  .article-toc { order: -1; position: static; width: 100%; border-left: 0; border-bottom: 1px solid var(--line); padding: 0 0 20px; }
  .article-toc a { display: inline-block; margin-right: 15px; font-size: 11px; }
  .article-text { width: 100%; }
}
@media (max-width: 560px) {
  :root { --header-height: 132px; }
  .topbar { flex-wrap: wrap; row-gap: 8px; }
  .topbar .brand { flex-basis: 100%; }
}
@media (max-width: 440px) {
  .topbar { padding-left: 20px; padding-right: 20px; gap: 10px; }
  .private-badge { font-size: 8px; padding: 5px 7px; gap: 4px; letter-spacing: .3px; }
  .menu-toggle { padding: 8px; font-size: 10px; gap: 5px; }
  .menu-toggle svg { width: 15px; height: 15px; }
  .shell, .site-footer { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 29px; padding-bottom: 27px; }
  .hero h1 { font-size: 32px; letter-spacing: -.45px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: 1.4px; }
  .hero-stats { gap: 13px; }
  .hero-stat dt, .hero-stat dd { font-size: 10px; }
  .hero-visual { padding: 20px; }
  .diagram-node { padding: 13px 10px; gap: 10px; grid-template-columns: 24px minmax(0, 1fr) auto; }
  .node-num { width: 23px; height: 23px; font-size: 9px; }
  .node-copy strong { font-size: 11px; }
  .node-copy small { font-size: 9px; }
  .node-tag { font-size: 7px; padding: 3px 4px; letter-spacing: .3px; }
  .diagram-header { gap: 10px; }
  .diagram-header strong { font-size: 11px; }
  .diagram-header > span:last-child { font-size: 8px; }
  .diagram-footer { font-size: 8px; }
  .landing > .content > section:not(.hero) { margin-top: 42px; }
  .section-heading h2, .feature-copy h2 { font-size: 25px; letter-spacing: -.4px; }
  .workflow-step { padding: 23px 17px; }
  .workflow-step:first-child { padding-left: 17px; }
  .step-number { right: 17px; }
  .recipe-card { grid-template-columns: minmax(0, 1fr) 115px; column-gap: 14px; }
  .recipe-card h3 { font-size: 15px; }
  .recipe-card > p { font-size: 12px; }
  .filter-controls { justify-content: space-between; gap: 0; }
  .filter-controls button { padding: 9px 10px; font-size: 10px; }
  .evidence-lab { padding: 23px 18px; }
  .evidence-panel { padding: 20px 17px; }
  .evidence-panel h3 { font-size: 20px; }
  .bar-row { grid-template-columns: minmax(0, 1fr) 44px; column-gap: 10px; row-gap: 7px; }
  .bar-label { grid-column: 1; grid-row: 1; }
  .bar-row > strong { grid-column: 2; grid-row: 1; }
  .bar-row > meter { grid-column: 1 / -1; grid-row: 2; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px; }
  .metric-box strong { margin: 0; }
  .metric-box span, .metric-box small { max-width: 150px; text-align: right; }
  .qualification-grid { grid-template-columns: 1fr; gap: 8px; }
  .benchmark-card { padding: 25px; }
  .benchmark-card h3 { font-size: 21px; }
  .mini-node { font-size: 9px; padding: 6px 7px; }
  .start-panel { padding: 26px 20px; }
  .start-copy h2 { font-size: 26px; }
  .start-terminal pre { padding: 20px 17px; font-size: 10px; }
  .terminal-header { gap: 8px; padding-left: 13px; padding-right: 13px; font-size: 9px; }
  .article-head h1 { font-size: 30px; letter-spacing: -.5px; }
  .article-text p, .article-text li { font-size: 13px; }
  .article-text h2 { font-size: 24px; }
  pre { padding: 19px; font-size: 11px; }
  th, td { padding: 10px; }
}
@media (max-width: 360px) {
  .brand { gap: 8px; }
  .brand-logo { width: 145px; }
  .brand-jaif-logo { width: 94px; }
  .brand-ampersand { flex-basis: 12px; font-size: 16px; }
  .topbar { padding-left: 16px; padding-right: 16px; }
  .recipe-card { grid-template-columns: minmax(0, 1fr) 100px; column-gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .side-nav, .article-toc, .site-footer, .copy-button, .recipe-tools, .hero-visual { display: none !important; }
  body { background: white; color: black; font-size: 11pt; }
  .shell, .shell:not(.landing), .article-layout { display: block; max-width: none; padding: 0; }
  .article-text { max-width: none; }
  pre { white-space: pre-wrap; background: #eee; color: black; }
  pre code { white-space: pre-wrap; }
  .evidence-panel[hidden], .recipe-card[hidden] { display: block !important; }
}
