:root {
  --paper: #f4f7fa;
  --white: #ffffff;
  --ink: #0d1c2e;
  --slate: #536273;
  --line: #cad5df;
  --blue: #1858e8;
  --blue-dark: #103ca3;
  --mint: #bdf3d4;
  --coral: #ff795f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Aptos", "Helvetica Neue", Arial, sans-serif; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.nav { height: 84px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 14px; font-weight: 760; letter-spacing: .02em; }
.brandMark { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--ink); font: 700 12px/1 "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; box-shadow: 4px 4px 0 var(--mint); }
.navActions { display: flex; align-items: center; gap: 24px; }
.navLink { font-size: 14px; font-weight: 700; text-underline-offset: 5px; }

.hero { min-height: 690px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 72px; padding-block: 76px 84px; }
.eyebrow { margin: 0 0 18px; font: 700 12px/1.3 "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; letter-spacing: .13em; text-transform: uppercase; color: var(--blue); }
.eyebrow.light { color: var(--mint); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 700px; margin-bottom: 25px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(58px, 6.3vw, 92px); line-height: .92; letter-spacing: -.055em; font-weight: 500; }
h1 em { color: var(--blue); font-weight: 500; }
.lede { max-width: 660px; font-size: 20px; line-height: 1.52; color: var(--slate); }
.heroActions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.primaryButton, .inverseButton { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 21px; background: var(--blue); color: white; text-decoration: none; font-weight: 750; border: 1px solid var(--blue); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.primaryButton:hover, .inverseButton:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); background: var(--blue-dark); }
.textLink { font-size: 14px; font-weight: 700; text-underline-offset: 5px; }
.commercialStrip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 52px; border-top: 1px solid var(--line); }
.commercialStrip div { padding: 17px 14px 0 0; }
.commercialStrip div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.commercialStrip span, .ledger span, .ledger small { display: block; font: 650 10px/1.3 "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.commercialStrip strong { display: block; margin-top: 5px; font-size: 15px; }

.ledger { background: var(--ink); color: var(--white); border: 1px solid var(--ink); box-shadow: 16px 16px 0 var(--mint); transform: rotate(1deg); }
.ledgerTop { display: flex; justify-content: space-between; padding: 19px 20px; border-bottom: 1px solid #344355; }
.ledgerTop span { color: #aeb9c4; }
.live { display: flex !important; align-items: center; gap: 8px; color: var(--mint) !important; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(189,243,212,.12); }
.ledgerRows { padding: 12px; }
.ledgerRow { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; min-height: 73px; padding: 0 15px; border-bottom: 1px solid #344355; }
.ledgerRow b { font: 600 11px/1 "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; color: #7f8b99; }
.ledgerRow span { color: white; font-family: inherit; font-size: 14px; letter-spacing: 0; text-transform: none; }
.ledgerRow small { padding: 6px 8px; background: #26384d; color: #cbd5df; }
.ledgerRow.muted { opacity: .62; }
.ledgerRow.exception small { background: rgba(255,121,95,.15); color: #ff9f8d; }
.ledgerRow.review { margin-top: 12px; background: var(--mint); border: 0; color: var(--ink); }
.ledgerRow.review b, .ledgerRow.review span, .ledgerRow.review small { color: var(--ink); }
.ledgerRow.review small { background: rgba(13,28,46,.10); }
.ledgerFooter { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #344355; }
.ledgerFooter div { padding: 18px 20px; }
.ledgerFooter div + div { border-left: 1px solid #344355; }
.ledgerFooter strong { display: block; margin-top: 6px; font-size: 14px; }

.method { padding-block: 110px 125px; }
.sectionIntro { display: grid; grid-template-columns: .7fr 1.05fr 1fr; gap: 48px; align-items: start; margin-bottom: 58px; }
.sectionIntro h2, .scopeGrid h2, .fit h2 { margin-bottom: 0; font: 500 clamp(37px, 4vw, 57px)/1.02 Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
.sectionIntro p:last-child { color: var(--slate); font-size: 17px; line-height: 1.55; }
.stageGrid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.stage { min-height: 252px; padding: 25px 28px 32px; }
.stage + .stage { border-left: 1px solid var(--line); }
.stageNumber { font: 700 12px/1 "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; color: var(--blue); }
.stage h3 { margin: 66px 0 13px; font-size: 24px; }
.stage p { max-width: 290px; color: var(--slate); line-height: 1.55; }

.scopeBand { background: var(--ink); color: white; }
.scopeGrid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 95px; align-items: center; padding-block: 105px; }
.candidateList { margin: 0; padding: 0; list-style: none; border-top: 1px solid #425064; }
.candidateList li { display: flex; justify-content: space-between; padding: 19px 3px; border-bottom: 1px solid #425064; font-size: 18px; }
.candidateList span { color: var(--mint); }

.fit { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; padding-block: 110px; }
.fitCard, .ctaCard { padding: clamp(34px, 5vw, 62px); border: 1px solid var(--line); background: var(--white); }
.fitLead { max-width: 610px; margin: 25px 0 30px; color: var(--slate); font-size: 18px; line-height: 1.55; }
.checks { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks span { color: var(--blue); font-weight: 800; }
.ctaCard { background: var(--blue); color: white; border-color: var(--blue); }
.ctaCard h2 { margin-top: 42px; }
.ctaCard p { margin: 24px 0 30px; color: #dbe6ff; font-size: 17px; line-height: 1.55; }
.inverseButton { width: 100%; background: white; color: var(--ink); border-color: white; }
.ctaCard small { display: block; margin-top: 22px; color: #dbe6ff; }
.signal { display: flex; align-items: end; gap: 5px; height: 28px; }
.signal i { display: block; width: 5px; background: var(--mint); }
.signal i:nth-child(1) { height: 10px; } .signal i:nth-child(2) { height: 19px; } .signal i:nth-child(3) { height: 28px; }

.footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 25px; padding-block: 28px 36px; border-top: 1px solid var(--line); color: var(--slate); font-size: 12px; }
.footer span:last-child { text-align: right; }

/* Synthetic workflow demo */
.demoPage { min-height: 100vh; }
.demoHeader { display: grid; grid-template-columns: 1.2fr .55fr; gap: 70px; align-items: end; padding-block: 76px 58px; }
.demoHeader h1 { max-width: 860px; font-size: clamp(54px, 6vw, 86px); }
.demoHeader .lede { max-width: 750px; }
.syntheticNotice { padding: 24px; border: 1px solid var(--ink); background: var(--mint); box-shadow: 8px 8px 0 var(--ink); }
.syntheticNotice span { display: block; margin-bottom: 8px; font: 700 10px/1.3 "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; letter-spacing: .11em; text-transform: uppercase; color: var(--blue-dark); }
.syntheticNotice strong { display: block; font-size: 22px; }
.syntheticNotice p { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: #28394c; }

.demoWorkspace { display: grid; grid-template-columns: 315px minmax(0, 1fr); min-height: 720px; border: 1px solid var(--ink); background: var(--white); box-shadow: 14px 14px 0 var(--mint); }
.caseRail { display: flex; flex-direction: column; border-right: 1px solid var(--ink); background: #eaf0f5; }
.panelLabel { display: flex; justify-content: space-between; padding: 18px; border-bottom: 1px solid var(--ink); font: 700 10px/1 "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.panelLabel b { color: var(--blue); }
.caseList { display: grid; }
.caseButton { display: grid; gap: 7px; width: 100%; padding: 20px 18px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.caseButton:hover { background: white; }
.caseButton.active { background: var(--ink); color: white; box-shadow: inset 5px 0 0 var(--mint); }
.caseButton span { font: 650 10px/1 "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; color: var(--blue); }
.caseButton.active span { color: var(--mint); }
.caseButton strong { font-size: 15px; }
.caseButton small { color: var(--slate); }
.caseButton.active small { color: #b7c2ce; }
.queueRule { margin-top: auto; padding: 20px 18px; border-top: 1px solid var(--ink); background: var(--mint); }
.queueRule span { display: block; margin-bottom: 6px; font: 700 9px/1 "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; letter-spacing: .09em; text-transform: uppercase; }
.queueRule strong { font-size: 14px; }

.caseDetail { padding: 34px; }
.caseTitleRow { display: flex; justify-content: space-between; gap: 28px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.caseTitleRow .eyebrow { margin-bottom: 9px; }
.caseTitleRow h2 { margin: 0; font: 500 clamp(34px, 4vw, 52px)/1 Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
.caseStatus { padding: 9px 11px; font: 700 10px/1 "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.caseStatus.exception { background: #ffe8e2; color: #a42f1b; }
.caseStatus.ready { background: #e4f8eb; color: #12613e; }
.metricRow { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.metricRow div { padding: 22px 18px 22px 0; }
.metricRow div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.metricRow span, .outcomeGrid span { display: block; margin-bottom: 7px; font: 700 9px/1.3 "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.metricRow strong { font-size: 19px; }

.evidenceTable { margin-top: 30px; border: 1px solid var(--ink); }
.evidenceHead, .evidenceRow { display: grid; grid-template-columns: 1.35fr .65fr 1fr; }
.evidenceHead { background: var(--ink); color: white; }
.evidenceHead span { padding: 13px 15px; font: 700 9px/1.2 "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.evidenceRow { min-height: 56px; align-items: center; border-top: 1px solid var(--line); }
.evidenceRow > * { padding: 14px 15px; }
.evidenceRow > * + * { border-left: 1px solid var(--line); }
.evidenceRow strong { font-size: 14px; }
.evidenceRow span { font-size: 13px; }
.good { color: #12613e; }
.bad { color: #a42f1b; font-weight: 700; }

.reviewPanel { display: grid; grid-template-columns: 1fr .95fr; gap: 34px; align-items: end; margin-top: 30px; padding: 26px; background: #edf2f6; border-left: 5px solid var(--blue); }
.reviewPanel .eyebrow { margin-bottom: 8px; }
.reviewPanel h3 { margin-bottom: 8px; font-size: 22px; }
.reviewPanel p:last-child { margin-bottom: 0; color: var(--slate); line-height: 1.5; }
.reviewActions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.reviewActions button { min-height: 43px; border: 1px solid var(--ink); background: white; color: var(--ink); font: 700 12px/1.2 inherit; cursor: pointer; }
.reviewActions button:first-child { grid-column: 1 / -1; background: var(--blue); color: white; border-color: var(--blue); }
.reviewActions button:hover { box-shadow: 3px 3px 0 var(--ink); transform: translate(-1px, -1px); }

.demoOutcome { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; padding-block: 110px; }
.outcomeCopy h2, .demoCta h2 { margin-bottom: 20px; font: 500 clamp(38px, 4vw, 58px)/1.02 Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
.outcomeCopy p:last-child { color: var(--slate); line-height: 1.6; }
.outcomeGrid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); background: white; }
.outcomeGrid div { min-height: 180px; padding: 25px; }
.outcomeGrid div + div { border-left: 1px solid var(--line); }
.outcomeGrid strong { display: block; margin: 24px 0 8px; font: 500 42px/1 Georgia, "Times New Roman", serif; color: var(--blue); }
.outcomeGrid small { color: var(--slate); }
.demoCta { display: flex; justify-content: space-between; gap: 40px; align-items: center; padding-block: 62px; border-top: 1px solid var(--ink); }
.demoCta h2 { margin-bottom: 0; }
.demoCta .primaryButton { flex: 0 0 auto; }

a:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

@media (max-width: 850px) {
  .hero, .scopeGrid, .fit { grid-template-columns: 1fr; }
  .hero { gap: 60px; padding-top: 58px; }
  .ledger { transform: none; box-shadow: 10px 10px 0 var(--mint); }
  .sectionIntro { grid-template-columns: 1fr; gap: 16px; }
  .stageGrid { grid-template-columns: 1fr; }
  .stage { min-height: 200px; }
  .stage + .stage { border-left: 0; border-top: 1px solid var(--line); }
  .stage h3 { margin-top: 45px; }
  .scopeGrid { gap: 50px; }
  .footer { grid-template-columns: 1fr; }
  .footer span:last-child { text-align: left; }
  .demoHeader, .demoOutcome { grid-template-columns: 1fr; gap: 38px; }
  .demoWorkspace { grid-template-columns: 1fr; }
  .caseRail { border-right: 0; border-bottom: 1px solid var(--ink); }
  .caseList { grid-template-columns: repeat(3, 1fr); }
  .caseButton { border-bottom: 0; border-right: 1px solid var(--line); }
  .queueRule { display: none; }
  .reviewPanel { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav { height: 72px; }
  .brand span:last-child { display: none; }
  .navActions { gap: 14px; }
  .navActions .navLink:first-child { display: none; }
  .hero { padding-block: 48px 70px; }
  h1 { font-size: 52px; }
  .lede { font-size: 17px; }
  .heroActions { align-items: stretch; flex-direction: column; }
  .primaryButton { width: 100%; }
  .commercialStrip { grid-template-columns: 1fr; }
  .commercialStrip div + div { padding-left: 0; border-left: 0; }
  .ledgerRow { grid-template-columns: 30px 1fr; }
  .ledgerRow small { grid-column: 2; justify-self: start; }
  .ledgerFooter { grid-template-columns: 1fr; }
  .ledgerFooter div + div { border-left: 0; border-top: 1px solid #344355; }
  .method, .fit { padding-block: 78px; }
  .scopeGrid { padding-block: 78px; }
  .fitCard, .ctaCard { padding: 30px 24px; }
  .demoHeader { padding-block: 50px 42px; }
  .demoWorkspace { box-shadow: 8px 8px 0 var(--mint); }
  .caseList { grid-template-columns: 1fr; }
  .caseButton { border-right: 0; border-bottom: 1px solid var(--line); }
  .caseDetail { padding: 24px 18px; }
  .caseTitleRow { align-items: start; flex-direction: column; }
  .metricRow { grid-template-columns: 1fr; }
  .metricRow div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .evidenceHead, .evidenceRow { grid-template-columns: 1.2fr .8fr; }
  .evidenceHead span:last-child, .evidenceRow span:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .reviewActions { grid-template-columns: 1fr; }
  .reviewActions button:first-child { grid-column: auto; }
  .outcomeGrid { grid-template-columns: 1fr; }
  .outcomeGrid div + div { border-left: 0; border-top: 1px solid var(--line); }
  .demoOutcome { padding-block: 78px; }
  .demoCta { align-items: stretch; flex-direction: column; }
  .demoCta .primaryButton { width: 100%; }
}
