:root {
  --ink: #101417;
  --muted: #5f6b70;
  --line: #cfd9db;
  --line-strong: #9daeb1;
  --paper: #ffffff;
  --cool: #f3f7f7;
  --teal: #0e7778;
  --teal-dark: #09595a;
  --teal-soft: #e1f1f0;
  --amber: #d89220;
  --amber-soft: #fff3dc;
  --coral: #c74c43;
  --coral-soft: #fff0ee;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.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; }

.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.page-shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 20; min-height: 64px; padding: 0 max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 36px; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; color: var(--ink); font-family: var(--mono); font-size: 15px; font-weight: 700; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; border: 2px solid var(--teal); border-radius: 50%; }
.brand-mark span { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a, .site-footer nav a, .mobile-menu a { color: var(--muted); font-family: var(--mono); font-size: 13px; text-decoration: none; }
.site-header nav a:hover, .site-footer nav a:hover { color: var(--teal); }

.button { min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: 5px; font-family: var(--mono); font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(14,119,120,.28); outline-offset: 3px; }
.button-primary { color: white; background: var(--teal); border-color: var(--teal); }
.button-primary:hover { background: var(--teal-dark); }
.proof-band .text-link { display: inline-block; margin-right: 16px; margin-bottom: 8px; color: #7cdddd; }
.button-secondary { color: var(--ink); background: white; border-color: var(--line-strong); }
.button-secondary:hover { border-color: var(--ink); }
.button-dark { color: white; background: var(--ink); }
.header-action { min-height: 38px; }
.menu-button, .mobile-menu { display: none; }

.hero { min-height: calc(100vh - 64px); padding-top: 72px; display: grid; grid-template-columns: minmax(430px, .9fr) minmax(540px, 1.35fr); grid-template-rows: 1fr auto; align-items: center; column-gap: 32px; }
.hero-copy { padding-bottom: 64px; z-index: 2; }
.hero h1 { margin: 0; max-width: 740px; font-family: var(--mono); font-size: 24px; line-height: 1.15; font-weight: 700; }
.hero-statement { margin: 30px 0 20px; max-width: 720px; font-size: 58px; line-height: 1.03; font-weight: 800; }
.hero-description { max-width: 640px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { margin: 18px 0 0; color: var(--muted); font-family: var(--mono); font-size: 11px; line-height: 1.7; }
.hero-meta strong { color: var(--ink); }
.hero-visual { position: relative; margin: 0; align-self: stretch; display: grid; align-content: center; overflow: hidden; }
.hero-visual img { width: 120%; max-width: none; margin-left: -12%; filter: drop-shadow(0 18px 20px rgba(19,37,39,.12)); animation: governor-breathe 7s ease-in-out infinite; }
.hero-visual figcaption { position: absolute; inset: auto 0 18% 0; display: grid; grid-template-columns: 1fr 1fr 1fr; color: var(--muted); font-family: var(--mono); font-size: 11px; }
.hero-visual figcaption span:nth-child(2) { text-align: center; color: var(--amber); }
.hero-visual figcaption span:last-child { text-align: right; }
.continue-link { grid-column: 1 / -1; justify-self: center; margin-bottom: 24px; color: var(--ink); font-family: var(--mono); font-size: 12px; font-weight: 700; text-decoration: none; }

.demo-band { padding: 72px 0 88px; background: var(--cool); border-block: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 34px; }
.section-heading h2 { margin: 6px 0 0; max-width: 780px; font-size: 38px; line-height: 1.12; }
.section-heading > p { max-width: 520px; margin: 0; color: var(--muted); text-align: right; }
.section-index { margin: 0; color: var(--teal); font-family: var(--mono); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.workbench { display: grid; grid-template-columns: 1fr 1fr; background: white; border: 1px solid var(--line-strong); border-radius: 7px; overflow: hidden; }
.route-form, .route-result { min-width: 0; padding: 34px; }
.route-form { border-right: 1px solid var(--line); }
.route-form label > span, .range-label span, .result-label { display: block; margin-bottom: 8px; color: var(--muted); font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
select, textarea, input[type="number"] { width: 100%; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: white; }
input[type="number"] { height: 44px; padding: 0 12px; }
select { height: 44px; padding: 0 38px 0 12px; }
textarea { padding: 12px; resize: vertical; line-height: 1.5; }
.range-label { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; }
.range-label output { color: var(--teal); font-family: var(--mono); font-size: 20px; font-weight: 800; }
input[type="range"] { width: 100%; height: 6px; accent-color: var(--teal); }
.range-scale { display: flex; justify-content: space-between; margin-top: 6px; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.route-form > label:not(.range-label) { display: block; margin-top: 24px; }
.option-row { display: flex; flex-wrap: wrap; gap: 18px; margin: 20px 0; }
.check-control { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.check-control input { width: 18px; height: 18px; accent-color: var(--teal); }
.check-control span { margin: 0 !important; color: var(--ink) !important; text-transform: none !important; }
.run-button { width: 100%; }

.route-result { position: relative; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(135deg, #ffffff 0%, #f4faf9 100%); }
.result-status { position: absolute; top: 22px; right: 26px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-family: var(--mono); font-size: 11px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.result-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 18px; }
.result-head strong { display: block; color: var(--teal-dark); font-family: var(--mono); font-size: 20px; line-height: 1.3; }
.result-why { margin-top: 34px; }
.result-why p { margin: 0; max-width: 650px; font-size: 17px; line-height: 1.6; }
.decision-contract { margin-top: 26px; padding: 14px 16px; background: white; border: 1px solid var(--line); border-radius: 4px; font-family: var(--mono); font-size: 12px; }
.contract-line { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.contract-line + .contract-line { border-top: 1px solid var(--line); }
.parity-meter { margin-top: 26px; }
.meter-title { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; }
.meter-track { height: 7px; margin-top: 10px; background: #dfe7e7; overflow: hidden; border-radius: 2px; }
.meter-track span { display: block; width: 40%; height: 100%; background: var(--teal); transition: width .35s ease, background .35s ease; }
.parity-meter p { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.route-result[data-state="blocked"] .status-dot, .route-result[data-state="blocked"] .meter-track span { background: var(--coral); }
.route-result[data-state="blocked"] .result-head strong { color: var(--coral); }
.route-result[data-state="premium"] .status-dot, .route-result[data-state="premium"] .meter-track span { background: var(--amber); }
.route-result[data-state="premium"] .result-head strong { color: #9a6100; }

.workflow, .inventory { padding-block: 92px; }
.compact-heading { align-items: center; }
.workflow-rail { margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; border-block: 1px solid var(--line); }
.workflow-rail li { min-height: 210px; padding: 28px; display: flex; gap: 20px; align-items: flex-start; }
.workflow-rail li + li { border-left: 1px solid var(--line); }
.step-number { color: var(--teal); font-family: var(--mono); font-size: 12px; }
.workflow-rail h3 { margin: 0 0 12px; font-family: var(--mono); font-size: 18px; }
.workflow-rail p { margin: 0; color: var(--muted); }

.origin-band { padding-block: 92px; background: var(--amber-soft); border-block: 1px solid #ead2a7; }
.origin-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; }
.origin-story h2 { margin: 10px 0 24px; max-width: 720px; font-size: 42px; line-height: 1.12; }
.origin-story > p { max-width: 730px; color: #635945; font-size: 17px; }
.origin-story blockquote { margin: 28px 0; padding: 6px 0 6px 24px; max-width: 720px; border-left: 4px solid var(--amber); font-size: 24px; line-height: 1.42; font-weight: 750; }
.origin-story .origin-note { margin-top: 26px; font-family: var(--mono); font-size: 11px; }
.credits { align-self: center; padding-left: 36px; border-left: 1px solid #d7be8e; }
.credits h3 { margin: 0 0 24px; font-family: var(--mono); font-size: 20px; }
.credits dl { margin: 0; }
.credits dl > div { padding: 22px 0; border-top: 1px solid #d7be8e; }
.credits dl > div:last-child { border-bottom: 1px solid #d7be8e; }
.credits dt { font-family: var(--mono); font-size: 13px; font-weight: 800; }
.credits dd { margin: 10px 0 0; color: #635945; }
.credits > p { margin: 24px 0 0; color: #786d58; font-family: var(--mono); font-size: 11px; }

.proof-band { padding-block: 88px; color: #eef7f5; background: #122224; }
.proof-band .section-index { color: #82ceca; }
.proof-layout { display: grid; grid-template-columns: .9fr 1.2fr; gap: 90px; align-items: center; }
.proof-layout h2 { margin: 10px 0 22px; max-width: 660px; font-size: 42px; line-height: 1.12; }
.proof-layout > div > p:last-child { max-width: 610px; color: #aebfbd; font-size: 17px; }
.proof-records { border-block: 1px solid #3a5152; }
.proof-records article { padding: 26px 0; display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; }
.proof-records article + article { border-top: 1px solid #3a5152; }
.proof-records span { color: #82ceca; font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.proof-records strong { color: #f4bc5d; font-family: var(--mono); font-size: 17px; }
.proof-records p { grid-column: 1 / -1; margin: 0; color: #aebfbd; }

.inventory-list { margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; list-style: none; border-top: 1px solid var(--line); }
.inventory-list li { min-height: 130px; padding: 24px 18px 24px 0; display: grid; grid-template-columns: 44px 1fr; border-bottom: 1px solid var(--line); }
.inventory-list li:nth-child(odd) { padding-right: 36px; }
.inventory-list li:nth-child(even) { padding-left: 36px; border-left: 1px solid var(--line); }
.inventory-list span { color: var(--teal); font-family: var(--mono); font-size: 11px; }
.inventory-list strong { font-family: var(--mono); font-size: 15px; }
.inventory-list p { margin: 8px 0 0; color: var(--muted); }

.install-band { padding-block: 82px; background: var(--amber-soft); border-block: 1px solid #ead2a7; }
.install-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 26px 70px; align-items: end; }
.install-layout h2 { margin: 8px 0 12px; font-size: 38px; line-height: 1.15; }
.install-layout p { margin: 0; color: #715f42; }
.install-layout p + p { margin-top: 12px; }
.install-layout p code { white-space: nowrap; }
section[id] { scroll-margin-top: 84px; }
.command-block { min-height: 68px; padding: 0 12px 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #ecf7f5; background: var(--ink); border-radius: 5px; overflow: hidden; }
.command-block code { min-width: 0; font-family: var(--mono); font-size: 14px; overflow-wrap: anywhere; }
.command-block button { min-width: 68px; height: 40px; color: #dce9e6; background: #263235; border: 1px solid #465457; border-radius: 4px; font-family: var(--mono); font-size: 11px; cursor: pointer; }
.install-actions { grid-column: 2; display: flex; align-items: center; gap: 24px; }
.text-link { color: var(--teal-dark); font-family: var(--mono); font-size: 12px; font-weight: 700; }

.site-footer { min-height: 130px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.site-footer p { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.site-footer nav { justify-self: end; }
.footer-brand { font-size: 13px; }

@keyframes governor-breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header > nav, .header-action { display: none; }
  .menu-button { width: 44px; height: 44px; display: grid; place-content: center; gap: 4px; border: 0; background: transparent; cursor: pointer; }
  .menu-button span { width: 22px; height: 2px; background: var(--ink); }
  .mobile-menu { position: absolute; top: 64px; right: 20px; width: 230px; padding: 12px; background: white; border: 1px solid var(--line); box-shadow: 0 16px 36px rgba(15,25,27,.12); }
  .mobile-menu:not([hidden]) { display: grid; }
  .mobile-menu a { padding: 12px; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-statement { font-size: 46px; }
  .workflow-rail { grid-template-columns: 1fr 1fr; }
  .workflow-rail li:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .workflow-rail li:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .page-shell { width: min(calc(100% - 32px), var(--max)); }
  .hero { min-height: auto; padding-top: 48px; grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 12px; }
  .hero-statement { font-size: 46px; }
  .hero-description { font-size: 17px; }
  .hero-visual { min-height: 380px; }
  .hero-visual img { width: 110%; margin-left: -5%; }
  .hero-visual figcaption { bottom: 8%; }
  .continue-link { margin-top: 12px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 16px; text-align: left; }
  .workbench { grid-template-columns: 1fr; }
  .route-form { border-right: 0; border-bottom: 1px solid var(--line); }
  .route-result { min-height: 520px; }
  .proof-layout { grid-template-columns: 1fr; gap: 52px; }
  .origin-layout { grid-template-columns: 1fr; gap: 52px; }
  .credits { padding-left: 0; border-left: 0; }
  .install-layout { grid-template-columns: 1fr; }
  .install-actions { grid-column: 1; }
  .site-footer { grid-template-columns: 1fr; padding-block: 34px; gap: 16px; }
  .site-footer p { margin: 0; }
  .site-footer nav { justify-self: start; flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .site-header { min-height: 58px; padding-inline: 16px; }
  .brand { max-width: 250px; font-size: 11px; line-height: 1.25; }
  .brand-mark { flex: 0 0 auto; width: 24px; height: 24px; }
  .mobile-menu { top: 58px; right: 12px; }
  .hero { padding-top: 38px; }
  .hero h1 { font-size: 17px; }
  .hero-statement { margin-top: 24px; font-size: 38px; line-height: 1.04; }
  .hero-actions { display: grid; }
  .hero-visual { min-height: 270px; }
  .hero-visual figcaption { display: none; }
  .demo-band, .workflow, .origin-band, .inventory, .proof-band, .install-band { padding-block: 62px; }
  .section-heading h2, .install-layout h2 { font-size: 31px; }
  .field-grid, .result-head { grid-template-columns: 1fr; }
  .route-form, .route-result { padding: 24px 18px; }
  .route-result { min-height: 600px; }
  .result-status { position: static; margin-bottom: 18px; }
  .workflow-rail, .inventory-list { grid-template-columns: 1fr; }
  .workflow-rail li { min-height: 170px; }
  .workflow-rail li + li { border-left: 0; border-top: 1px solid var(--line); }
  .inventory-list li:nth-child(odd), .inventory-list li:nth-child(even) { padding: 22px 0; border-left: 0; }
  .proof-layout h2 { font-size: 34px; }
  .origin-story h2 { font-size: 34px; }
  .origin-story blockquote { font-size: 21px; }
  .proof-records article { grid-template-columns: 1fr; }
  .proof-records p { grid-column: 1; }
  .command-block { align-items: stretch; flex-direction: column; padding: 18px; }
  .command-block button { width: 100%; }
  .install-actions { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .hero-visual img { animation: none; }
}

/* Product-led launch treatment. Motion belongs to the opt-in tour. */
.hero { position: relative; isolation: isolate; display: block; min-height: 620px; height: min(740px, calc(100svh - 124px)); padding: 58px 0 40px; overflow: hidden; background: #f5f8f7; }
.hero-backdrop { position: absolute; z-index: -1; right: -8%; bottom: -6%; width: 83%; height: 70%; object-fit: contain; object-position: right bottom; }
.hero-copy { padding-bottom: 0; }
.hero-eyebrow { margin: 0 0 22px; font: 12px var(--mono); color: var(--teal-dark); }
.hero h1 { font-family: var(--sans); font-size: 64px; line-height: 1.06; max-width: 730px; text-wrap: balance; }
.hero-statement { font-size: 26px; line-height: 1.3; margin: 24px 0 16px; font-weight: 600; max-width: 470px; }
.hero-description { font-size: 16px; line-height: 1.7; max-width: 395px; }
.hero-actions { margin-top: 24px; }
.hero-meta { max-width: 390px; font-size: 11px; }
.product-tour { padding-block: 72px 88px; }
.tour-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; }
.tour-tabs { display: grid; border-top: 1px solid var(--line); }
.tour-tabs button { display: flex; text-align: left; gap: 20px; align-items: center; padding: 22px 12px; border: 0; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; background: transparent; cursor: pointer; color: var(--muted); min-height: 72px; }
.tour-tabs span { font: 12px var(--mono); }
.tour-tabs strong { font-size: 17px; font-weight: 600; }
.tour-tabs button[aria-selected="true"] { border-left-color: var(--teal); background: #edf5f2; color: var(--teal-dark); }
#tour-description { min-height: 145px; margin: 24px 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.tour-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
#tour-play { min-width: 112px; }
.tour-disclaimer { color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 22px; }
.tour-panel { min-width: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.tour-window-label { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; background: #edf1f0; border-bottom: 1px solid var(--line); font: 10px var(--mono); color: var(--muted); }
.tour-panel picture { display: block; height: 540px; overflow-y: auto; overscroll-behavior: contain; background: #fff; }
.tour-panel img { width: 100%; height: auto; }
.tour-image-note { margin: 0; padding: 12px 18px; border-top: 1px solid var(--line); color: var(--muted); font: 10px var(--mono); }
.origin-band, .install-band { background: #f5f7f6; border-color: var(--line); }
.origin-story > p, .credits dd, .credits > p, .install-layout p { color: var(--muted); }
.credits, .credits dl > div, .credits dl > div:last-child { border-color: var(--line); }
.tester-band { padding-block: 80px; }
.tester-band h2 { max-width: 770px; font-size: 44px; line-height: 1.12; margin: 14px 0 24px; text-wrap: balance; }
.tester-band > p:not(.section-index) { max-width: 680px; color: var(--muted); }
.tester-band .button { margin-top: 18px; }
body { letter-spacing: 0; }
@media (min-width: 1600px) { .hero-backdrop { right: 0; width: 70%; } }
@media (max-width: 1100px) {
  .hero h1 { font-size: 54px; }
  .hero-backdrop { right: -25%; width: 95%; bottom: -10%; }
  .tour-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 820px) {
  .hero { min-height: 620px; height: auto; padding-top: 38px; }
  .hero-backdrop { width: 70%; height: 55%; right: -15%; bottom: -6%; }
  .hero h1 { font-size: 48px; }
  .hero-description { max-width: 390px; }
  .tour-layout { grid-template-columns: 1fr; }
  .tour-tabs { grid-template-columns: repeat(3, 1fr); }
  .tour-tabs button { display: grid; gap: 8px; padding: 16px 10px; border-left: 0; border-bottom: 3px solid transparent; }
  .tour-tabs button[aria-selected="true"] { border-bottom-color: var(--teal); }
  .tour-tabs strong { font-size: 14px; }
  #tour-description { min-height: 82px; margin: 18px 0; }
  .tour-panel picture { height: 500px; }
}
@media (max-width: 560px) {
  .hero { min-height: 0; height: auto; padding-block: 28px 30px; }
  .hero-backdrop { opacity: .15; width: 100%; height: 100%; right: -30%; bottom: -15%; }
  .hero h1 { font-size: 36px; }
  .hero-statement { font-size: 22px; }
  .hero-description { max-width: 330px; font-size: 15px; }
  .hero-eyebrow { font-size: 10px; }
  .hero-actions { display: flex; gap: 8px; }
  .hero-actions .button { padding-inline: 12px; font-size: 11px; }
  .hero-meta { font-size: 10px; }
  .product-tour { padding-block: 44px; }
  .product-tour h2, .tester-band h2 { font-size: 30px; }
  .tour-panel picture { height: 650px; }
  .tour-window-label { flex-wrap: wrap; gap: 8px; }
  .tour-image-note { line-height: 1.6; }
  #tour-description { min-height: 135px; }
  .tester-band { padding-block: 54px; }
}
