:root {
  --mineral: #f7f6f2;
  --stone: #e6e2d9;
  --stone-deep: #b7b4ad;
  --ink: #0f1a24;
  --ink-soft: #1c2632;
  --brass: #c9a76a;
  --oxblood: #7a1f28;
  --line: rgba(15, 26, 36, 0.18);
  --control-border: #8a8375;
  --muted: #626866;
  --max: 78rem;
  --page-width: calc(100% - 6rem);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--mineral);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--mineral); color: var(--ink); line-height: 1.55; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 10; padding: .7rem 1rem; background: var(--ink); color: var(--mineral); }
.skip-link:focus { top: 1rem; }
.site-header, .site-footer, .hero, .section { width: min(var(--max), var(--page-width)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 6.75rem; border-bottom: 1px solid var(--line); }
.wordmark { display: block; flex: 0 0 auto; width: clamp(12.5rem, 24vw, 16.25rem); text-decoration: none; }
.wordmark-image { display: block; width: 100%; height: auto; }
.public-nav { margin-left: auto; }
nav, .nav-links { display: flex; align-items: center; }
nav { gap: 2rem; }
.nav-links { gap: 1.25rem; }
.nav-links a { color: var(--muted); font-size: 1rem; text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }
.menu-toggle { display: none; min-width: 2.75rem; min-height: 2.75rem; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--mineral); color: var(--ink); font-size: 1.5rem; }
.mobile-nav { width: min(var(--max), var(--page-width)); margin-inline: auto; padding-block: 1rem 1.5rem; border-bottom: 1px solid var(--line); }
.mobile-nav[hidden] { display: none; }
.mobile-nav nav { display: block; }
.mobile-nav .nav-links { display: grid; gap: .75rem; }

.eyebrow, .card-kicker, .footer-label { margin: 0; color: var(--oxblood); font-size: .68rem; font-weight: 760; letter-spacing: .13em; line-height: 1.35; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; line-height: 1.05; }
h1 { max-width: 12ch; margin-bottom: 1.5rem; font-size: clamp(3.3rem, 7vw, 6.6rem); font-weight: 610; overflow-wrap: anywhere; }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 3.7vw, 3.5rem); font-weight: 610; }
h3 { margin-bottom: .6rem; font-size: 1.25rem; font-weight: 650; }
p { max-width: 64ch; }
.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(16rem, .65fr); align-items: center; gap: clamp(3rem, 9vw, 9rem); min-height: 38rem; padding-block: 6rem 7rem; }
.hero-copy > p:not(.eyebrow):not(.hero-intro):not(.maturity-note) { max-width: 39rem; color: var(--muted); font-size: 1.08rem; }
.hero-home { grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr); align-items: start; gap: clamp(3rem, 8vw, 8rem); padding-block: 6rem 5rem; }
.hero-home h1 { max-width: 14ch; margin-bottom: 1rem; font-size: clamp(3rem, 7.25vw, 4.75rem); font-weight: 760; }
.hero-home h1 span { display: block; }
.hero-rule { display: block; width: 4rem; height: 3px; margin-bottom: 1.6rem; background: var(--oxblood); }
.hero-home .hero-intro { max-width: 39rem; margin-bottom: 0; font-size: clamp(1.125rem, 2.3vw, 1.5rem); font-weight: 480; line-height: 1.48; }
.hero-home .maturity-note { margin-top: 1.2rem; }
.workflow-panel { width: min(100%, 29rem); justify-self: end; padding-top: 2rem; }
.workflow-list { display: grid; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.workflow-list li { display: grid; grid-template-columns: 5rem minmax(0, 1fr); align-items: center; gap: .85rem 1rem; }
.workflow-icon { display: block; width: 80px; height: 80px; color: var(--ink); }
.workflow-step-heading { display: flex; align-items: baseline; gap: .6rem; margin-bottom: .2rem; }
.workflow-step-number { flex: 0 0 auto; color: var(--oxblood); font-size: .75rem; font-weight: 760; font-variant-numeric: tabular-nums; }
.workflow-connector { display: block; grid-column: 1; width: 32px; height: 32px; justify-self: center; opacity: 1; }
.workflow-list h3 { margin: 0; font-size: clamp(1.2rem, 2.4vw, 1.5rem); font-weight: 760; letter-spacing: -.02em; }
.workflow-list p { margin: 0; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.125rem); }
.workflow-footnote { margin: 3rem 0 0; color: var(--muted); font-size: 1rem; text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); border: 0; }
.hero-intro { margin-bottom: 1.35rem; color: var(--ink-soft); font-size: 1.2rem; font-weight: 620; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .7rem 1rem; border: 1px solid transparent; font-size: .78rem; font-weight: 730; letter-spacing: .03em; text-decoration: none; }
.button-primary { background: var(--ink); color: var(--mineral); }
.button-primary:hover, .button-primary:focus-visible { background: var(--oxblood); }
.hero-home .button-primary { background: var(--oxblood); }
.hero-home .button-primary:hover, .hero-home .button-primary:focus-visible { background: var(--ink); }
.hero-home .button { min-height: 3.5rem; padding-inline: 1.25rem; font-size: 1rem; letter-spacing: 0; }
.button-secondary { border-color: var(--ink); color: var(--ink); }
.button-secondary:hover, .button-secondary:focus-visible { background: var(--stone); }
.maturity-note { display: flex; align-items: center; gap: .5rem; margin-top: 2.2rem; color: var(--muted); font-size: .77rem; }
.status-dot { width: .52rem; height: .52rem; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(201, 167, 106, .18); }
.evidence-panel { align-self: center; padding: 2rem; border: 1px solid var(--line); background: var(--stone); box-shadow: 1.2rem 1.2rem 0 rgba(15, 26, 36, .08); }
.panel-mark { display: flex; gap: .35rem; margin-bottom: 2.5rem; }
.panel-mark span { display: block; width: .8rem; height: .8rem; border-radius: 50%; background: var(--brass); }
.panel-mark span:nth-child(2) { background: var(--ink); }
.panel-mark span:nth-child(3) { background: var(--oxblood); }
.panel-label { margin-bottom: .65rem; color: var(--muted); font-size: .66rem; font-weight: 750; letter-spacing: .13em; }
.panel-title { max-width: 13ch; margin-bottom: 2rem; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; line-height: 1.05; }
.panel-list { margin: 0; }
.panel-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--line); }
.panel-list dt { color: var(--muted); font-size: .74rem; }
.panel-list dd { margin: 0; font-size: .74rem; font-weight: 700; text-align: right; }
.panel-footnote { margin: 2.5rem 0 0; color: var(--muted); font-size: .7rem; }

.band { padding-block: 6rem; }
.home-how { border-block: 1px solid var(--line); padding-block: 5.5rem; background: var(--mineral); }
.home-how-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(3rem, 8vw, 8rem); width: min(var(--max), var(--page-width)); margin-inline: auto; }
.home-how .section-heading { margin: 0; }
.home-how h2 { max-width: 11ch; font-size: clamp(2.5rem, 5.8vw, 3.75rem); font-weight: 760; }
.home-how-copy { max-width: 45rem; font-size: 1.375rem; }
.home-how-copy p { max-width: 54ch; }
.home-how-copy .arrow-link { display: inline-block; margin-top: 1.5rem; padding-block: .25rem; border-bottom: 1px solid var(--oxblood); color: var(--oxblood); font-size: 1.25rem; }
.band-stone { background: var(--stone); }
.band-ink { background: var(--ink); color: var(--mineral); }
.band-ink .eyebrow, .band-ink .maturity-note { color: var(--brass); }
.band > .section-heading, .band > .card-grid, .band > .receipt-list, .band > .family-table { width: min(var(--max), var(--page-width)); margin-inline: auto; }
.table-wrap { max-width: 100%; overflow-x: auto; }
.section { padding-block: 6rem; }
.section-heading { max-width: 47rem; margin-bottom: 2.75rem; }
.section-heading.narrow { max-width: 39rem; }
.section-heading > p:last-child { color: var(--muted); }
.card-grid { display: grid; gap: 1px; background: var(--line); }
.three-up { grid-template-columns: repeat(3, 1fr); }
.two-up { grid-template-columns: repeat(2, 1fr); }
.card { min-height: 14rem; padding: 1.65rem; background: var(--mineral); }
.band-stone .card { background: rgba(247, 246, 242, .62); }
.card-kicker { margin-bottom: 2.8rem; color: var(--muted); }
.card p { color: var(--muted); font-size: .92rem; }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.principle-list { border-top: 1px solid var(--line); }
.principle-list div { display: flex; gap: 1.5rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.principle-list span, .receipt-list > div > span { color: var(--oxblood); font-size: .72rem; font-weight: 750; }
.principle-list p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.callout { padding-inline: max(1.5rem, calc((100vw - var(--max)) / 2)); }
.callout h2 { max-width: 16ch; }
.callout > p:last-child { max-width: 38rem; color: rgba(247, 246, 242, .7); }
.hero-inner { min-height: 29rem; padding-block: 5.5rem 5rem; }
.hero-inner h1 { max-width: 13ch; }
.hero-no-ornament { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 5rem 4rem; }
.hero-no-ornament .hero-copy { max-width: 48rem; }
.number-stamp { display: grid; place-items: center; width: 12rem; height: 12rem; justify-self: end; border: 1px solid var(--line); border-radius: 50%; transform: rotate(-10deg); }
.number-stamp span { font-family: Georgia, "Times New Roman", serif; font-size: 4.5rem; line-height: .8; }
.number-stamp small { color: var(--oxblood); font-size: .65rem; font-weight: 760; letter-spacing: .15em; }
.section-rule { border-top: 1px solid var(--line); }
.inline-cta { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.arrow-link { font-size: .82rem; font-weight: 730; text-decoration: none; }
.arrow-link:hover, .arrow-link:focus-visible { color: var(--oxblood); }

.caution-mark, .evidence-glyph, .contact-mark, .company-wordmark { justify-self: end; }
.caution-mark { display: grid; grid-template-columns: 6rem 6rem; gap: .8rem; margin-inline-end: .35rem; transform: rotate(-18deg); }
.caution-mark span { display: block; height: 10rem; border: 1px solid var(--oxblood); border-radius: 6rem 6rem 0 0; }
.caution-mark span:nth-child(2) { margin-top: 3rem; border-color: var(--brass); }
.evidence-glyph { display: grid; grid-template-columns: repeat(3, 4rem); gap: .55rem; align-items: end; transform: rotate(-8deg); }
.evidence-glyph span { display: grid; place-items: center; width: 4rem; height: 4rem; border: 1px solid var(--ink); border-radius: 50%; font-size: 1.5rem; }
.evidence-glyph span:nth-child(2) { margin-bottom: 2.4rem; background: var(--brass); }
.evidence-glyph span:nth-child(3) { margin-bottom: 4.8rem; background: var(--stone); }
.receipt-list { border-top: 1px solid var(--line); }
.receipt-list > div { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 1.7rem 0; border-bottom: 1px solid var(--line); }
.receipt-list h3 { margin-bottom: .35rem; }
.receipt-list p { margin-bottom: 0; color: var(--muted); }
.source-example { max-width: 60rem; margin: 0; border-top: 1px solid var(--line); }
.source-example > div { display: grid; grid-template-columns: minmax(10rem, .36fr) 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.source-example dt { color: var(--oxblood); font-size: .72rem; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.source-example dd { max-width: 54ch; margin: 0; color: var(--ink); font-size: 1.125rem; line-height: 1.5; }
.company-wordmark { width: min(100%, 16.25rem); margin: 0; }
.family-table { border-top: 1px solid var(--line); }
.family-row { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 1rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.family-head { color: var(--muted); font-size: .68rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.family-row span, .family-row em { color: var(--muted); font-size: .88rem; font-style: normal; }
.family-row em { color: var(--oxblood); font-size: .72rem; font-weight: 700; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 10vw, 9rem); }
.contact-form { display: grid; gap: .55rem; }
.contact-form .contact-field-error { margin: -.35rem 0 0; color: var(--oxblood); font-size: .9rem; }
.contact-form label { margin-top: .75rem; font-size: .8rem; font-weight: 700; }
.contact-form label span { color: var(--oxblood); }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--control-border); border-radius: 0; background: transparent; color: var(--ink); padding: .8rem; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--oxblood); outline-offset: 2px; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.form-actions .button { cursor: pointer; }
.form-note { margin: 0; color: var(--muted); font-size: .76rem; }
.contact-mark { display: flex; align-items: end; gap: .6rem; height: 12rem; transform: rotate(12deg); }
.contact-mark span { width: 1.6rem; height: 5rem; background: var(--brass); }
.contact-mark span:nth-child(2) { height: 8rem; background: var(--ink); }
.contact-mark span:nth-child(3) { height: 11rem; background: var(--oxblood); }
.runtime-console { border-top: 1px solid var(--line); }
.runtime-console-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1px; background: var(--line); }
.query-card, .query-result { min-width: 0; padding: 1.65rem; background: var(--stone); }
.query-card form { display: grid; gap: .55rem; }
.query-card label { margin-top: .75rem; font-size: .8rem; font-weight: 700; }
.query-card input, .query-card textarea { width: 100%; border: 1px solid var(--line); border-radius: 0; background: var(--mineral); color: var(--ink); padding: .8rem; }
.query-card textarea { resize: vertical; }
.query-card input:focus, .query-card textarea:focus { outline: 2px solid var(--oxblood); outline-offset: 2px; }
.query-card .form-actions { align-items: start; flex-direction: column; }
.query-result { background: var(--mineral); }
.query-result h3 { margin-top: 1.8rem; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; }
.query-result > p:last-child { color: var(--muted); }
.query-result[data-state="supported"] { box-shadow: inset .3rem 0 0 var(--brass); }
.query-result[data-state="abstained"] { box-shadow: inset .3rem 0 0 var(--oxblood); }
.query-citations { display: grid; gap: .75rem; margin-top: 1.5rem; }
.query-citation { padding: .9rem; border: 1px solid var(--line); background: var(--stone); }
.query-citation p { margin: 0; color: var(--muted); font-size: .82rem; }
.swatch-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); }
.swatch { min-height: 9rem; padding: 1rem; background: var(--mineral); }
.swatch > span { display: block; height: 3rem; margin: -.35rem -.35rem 1rem; }
.swatch-mineral > span { background: var(--mineral); }
.swatch-stone > span { background: var(--stone); }
.swatch-ink > span { background: var(--ink); }
.swatch-brass > span { background: var(--brass); }
.swatch-oxblood > span { background: var(--oxblood); }
.swatch strong, .swatch code { display: block; font-size: .75rem; }
.swatch code { margin-top: .2rem; color: var(--muted); }
.component-sample { max-width: 34rem; padding: 2rem; border: 1px solid var(--line); background: var(--mineral); box-shadow: 1rem 1rem 0 rgba(15, 26, 36, .08); }
.component-sample .eyebrow { color: var(--muted); }
.component-sample h3 { margin-top: 2rem; font-size: 2rem; }
.component-sample p { margin-bottom: 0; color: var(--muted); }

.site-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding-block: 4rem 2rem; border-top: 1px solid var(--line); }
.footer-wordmark { margin-bottom: 1rem; }
.site-footer p { color: var(--muted); font-size: .78rem; }
.site-footer .legal-entity { margin: 0 0 .4rem; font-size: .72rem; }
.footer-links { display: flex; justify-content: end; gap: 4rem; }
.footer-links > div { display: grid; align-content: start; gap: .5rem; }
.footer-links a { color: var(--muted); font-size: .78rem; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--ink); }
.footer-label { margin-bottom: .3rem; color: var(--ink) !important; }
.footer-bottom { grid-column: 1 / -1; margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }

:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 3px; }
@media (max-width: 70rem) {
  .hero:not(.hero-home) { gap: 4rem; }
}
@media (max-width: 48rem) {
  :root { --page-width: calc(100% - 2rem); }
  .site-header, .site-footer, .hero, .section { width: min(var(--max), var(--page-width)); }
  .runtime-console-grid { grid-template-columns: minmax(0, 1fr); }
  .site-header:not([data-site-header]) { display: block; min-height: 0; padding-block: 1rem; }
  .site-header:not([data-site-header]) nav { display: block; margin-top: 1rem; }
  .site-header[data-site-header] { gap: .5rem; flex-wrap: wrap; justify-content: flex-start; }
  .site-header[data-site-header] .wordmark { width: min(100%, 16.25rem); min-width: 0; flex: 1 1 auto; }
  .site-header[data-site-header] .public-nav { display: block; flex: 1 1 100%; margin: 0; }
  .site-header[data-site-header] .menu-toggle[hidden] { display: none; }
  .site-header[data-site-header] .menu-toggle:not([hidden]) { display: inline-flex; flex: 0 0 2.75rem; }
  .site-header[data-site-header][data-public-menu-enhanced] { flex-wrap: nowrap; }
  .site-header[data-site-header][data-public-menu-enhanced] .public-nav { display: none; }
  .nav-links { flex-wrap: wrap; gap: .65rem 1rem; }
  h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .hero, .split-section, .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .hero { min-height: auto; padding-block: 4rem 5rem; }
  .hero-inner { padding-block: 4rem; }
  .hero-home { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3.5rem 4rem; }
  .hero-home h1 { max-width: 10ch; font-size: clamp(2.5rem, 12.5vw, 3rem); }
  .hero-home h1 span { display: inline; }
  .workflow-panel { justify-self: start; width: 100%; max-width: 29rem; padding-top: 0; }
  .workflow-list { gap: 1rem; }
  .workflow-list li { grid-template-columns: 3rem minmax(0, 1fr); row-gap: .5rem; column-gap: .75rem; }
  .workflow-icon { width: 48px; height: 48px; }
  .workflow-connector { width: 24px; height: 24px; }
  .workflow-footnote { margin-top: 2rem; }
  .home-how-grid { grid-template-columns: 1fr; gap: 1.75rem; width: min(var(--max), var(--page-width)); }
  .evidence-panel, .number-stamp, .caution-mark, .evidence-glyph, .contact-mark, .company-wordmark { justify-self: start; }
  .evidence-panel { width: min(100%, 25rem); }
  .three-up, .two-up { grid-template-columns: 1fr; }
  .band { padding-block: 4rem; }
  .band > .section-heading, .band > .card-grid, .band > .receipt-list, .band > .family-table { width: min(var(--max), var(--page-width)); }
  .section { padding-block: 4rem; }
  .inline-cta { align-items: start; flex-direction: column; }
  .swatch-grid { grid-template-columns: repeat(2, 1fr); }
  .family-row { grid-template-columns: 1fr; gap: .25rem; }
  .source-example > div { grid-template-columns: 1fr; gap: .35rem; }
  .family-head { display: none; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: start; gap: 2rem; }
  .footer-bottom { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
