/* Locally hosted OFL fonts. Source files and licenses: assets/fonts/. */
@font-face { font-family: 'Manrope'; src: url('assets/fonts/manrope-latin.woff') format('woff'); font-style: normal; font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('assets/fonts/instrument-serif-italic-latin.woff') format('woff'); font-style: italic; font-weight: 400; font-display: swap; }
:root {
  --ink: #161d2a;
  --muted: #505d6e;
  --navy: #111c31;
  --blue: #214de8;
  --blue-dark: #173ab6;
  --accent: #f2d25a;
  --paper: #faf9f6;
  --sans: 'Manrope', Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --line: #d6deea;
  --soft: #edf1f8;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.75 var(--sans); }
a { color: inherit; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .65; }
:focus-visible { outline: 3px solid #a85608; outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
p { color: var(--muted); margin: 0 0 22px; }
h1, h2, h3, h4 { margin: 0 0 22px; font-weight: 650; line-height: 1.1; letter-spacing: -.04em; }
h1 { font-size: clamp(46px, 5.2vw, 76px); }
h2 { font-size: clamp(34px, 3.7vw, 52px); }
h3 { font-size: 25px; letter-spacing: -.025em; }
h4 { font-size: 19px; letter-spacing: -.02em; }
em { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--blue); letter-spacing: -.025em; }
small { font-size: 14px; }
.lead { font-size: 21px; line-height: 1.65; max-width: 740px; }
.eyebrow { font: 700 11px/1.6 var(--sans); color: var(--blue); letter-spacing: .08em; margin-bottom: 22px; }
.section { padding-block: 95px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
.section-heading h2 { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.button, :where(button:not(.quiet):not([role="tab"]):not(.faq-question):not(.inspect-sku)) { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 52px; padding: 13px 22px; border: 1px solid transparent; border-radius: 5px; background: var(--blue); color: #fff; font-size: 16px; font-weight: 650; line-height: 1.5; text-decoration: none; }
.button:hover, :where(button:not(.quiet):not([role="tab"]):not(.faq-question):not(.inspect-sku):hover) { background: var(--blue-dark); }
.button.small { font-size: 14px; min-height: 46px; padding: 10px 18px; }
.button.light { background: var(--accent); color: var(--ink); }
.button.light:hover { background: #ffe68d; }
button.secondary { background: #fff !important; color: var(--ink) !important; border-color: #b6c0cd !important; }
button.secondary:hover { background: var(--soft) !important; }
.text-link { display: inline-flex; align-items: center; gap: 16px; font-weight: 650; color: var(--blue); font-size: 16px; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.quiet { border: 0; background: transparent; color: var(--blue); font-size: 14px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; padding: 9px 0; }
.icon { width: 18px; height: 18px; flex-shrink: 0; vertical-align: middle; }
.muted { font-size: 15px; }
/* Navigation */
header { background: #faf9f5; color: var(--ink); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 84px; }
.brand { display: flex; gap: 15px; align-items: center; text-decoration: none; font-size: 23px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.brand > img { display: block; width: 76px; height: 76px; object-fit: contain; }
nav { display: flex; align-items: center; gap: 30px; }
nav a { font-size: 15px; font-weight: 600; text-decoration: none; padding-block: 10px; }
nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
.header-inner > button.menu { display: none; }
.skip { color: var(--ink); position: absolute; z-index: 10; left: 20px; top: -100px; background: #fff; padding: 14px; }
.skip:focus { top: 15px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
/* The preferred split hero, with a synchronized working preview. */
.hero-shell { color: #f2f5fc; position: relative; isolation: isolate; overflow: hidden; background: #080d19; }
.hero { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 85px; padding-block: 62px 45px; }
.hero-copy { min-width: 0; }
.hero .eyebrow { color: #c2d1f5; font-size: 11px; }
.hero-dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; }
.hero h1 { font-size: clamp(52px,5.3vw,78px); font-weight: 750; line-height: 1.07; letter-spacing: -.06em; margin-bottom: 28px; }
.hero h1 em { color: var(--accent); display: block; font-size: 1.13em; line-height: 1.05; letter-spacing: -.025em; padding-block: 2px 8px; }
.hero .lead { color: #e0e6f6; font-size: 19px; max-width: 560px; line-height: 1.8; }
.hero .actions { gap: 25px; margin-top: 30px; }
.hero-link { color: #edf3ff; font-size: 14px; font-weight: 650; }
.hero-location { color: #aab8d2; font-size: 13px; margin: 28px 0 0; line-height: 1.8; }
.hero-demo { min-width: 0; }
.preview-caption { display: flex; justify-content: space-between; gap: 15px; color: #cbd7fa; font: 650 9px/1.6 var(--sans); letter-spacing: .05em; margin-bottom: 15px; }
.preview-caption > span:first-child { color: var(--accent); }
.hero-preview { background: #fff; color: var(--ink); border-radius: 13px; box-shadow: 12px 13px 0 #234cdb40, 0 30px 70px #00000040; overflow: hidden; border: 1px solid #ffffff75; }
.preview-titlebar { display: flex; align-items: center; gap: 13px; background: #edf1f8; color: #4b5d7b; padding: 14px 20px; font-size: 11px; }
.preview-titlebar > span:last-child { margin-left: auto; font-size: 10px; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { height: 6px; width: 6px; border-radius: 50%; background: #90a1bf; }
.preview-intro { padding: 24px 24px 8px; }
.preview-intro .eyebrow { color: #53688a; font-size: 9px; letter-spacing: .06em; margin-bottom: 12px; }
.preview-intro h2 { font-size: 27px; line-height: 1.25; letter-spacing: -.04em; margin: 0; }
.hero-preview .table-scroll { padding-inline: 16px; margin-block: 10px; }
.hero-preview table { font-size: 12px; }
.hero-preview th, .hero-preview td { padding: 11px 7px; }
.hero-preview th { font-size: 10px; }
.hero-preview td:first-child { font: 11px ui-monospace,monospace; white-space: nowrap; }
.hero-preview td:last-child { font-size: 10px; }
.hero-preview p { color: var(--muted); }
.preview-action { padding: 8px 24px 20px; }
.preview-action p { min-height: 45px; font-size: 12px; line-height: 1.8; margin-bottom: 15px; }
.preview-action button { width: 100%; font-size: 14px !important; }
.preview-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid #dae1ec; padding: 5px 24px; font-size: 10px; }
.preview-footer a { color: #3153ba; }
.preview-footer .quiet { font-size: 11px; }
.preview-note { color: #b8c8ee; font-size: 12px; margin-top: 23px; }
.hero-bottom { position: relative; display: flex; justify-content: space-between; gap: 20px; padding-block: 25px; border-top: 1px solid #ffffff25; color: #b2c2e2; font-size: 12px; }
.hero-bottom a { font-size: 11px; text-decoration: none; font-weight: 650; }
.hero-art { position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 90% 40%, #254fe54d, transparent 62%); }
.hero-art::before { content: ''; position: absolute; top: 85px; right: -160px; width: 500px; height: 500px; border-radius: 50%; background: #254fe8; }
.hero-art svg { position: absolute; width: 850px; height: 850px; right: -300px; top: -60px; stroke: #9db7ff; stroke-width: 1; opacity: .28; }
.hero-art g { stroke: none; fill: var(--accent); }
.row-ready { background: #f1f6ff; }
.work-stage { background: #101a2e; color: #fff; padding-block: 48px 26px; }
.stage-top { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 28px; }
.stage-index { display: block; color: #b9c8eb; font: 11px/1.6 ui-monospace, monospace; letter-spacing: .05em; margin-bottom: 16px; }
.stage-top h2 { font-size: 35px; margin: 0; letter-spacing: -.035em; }
.stage-top h2 > span { color: var(--accent); }
.stage-top > p { margin: 0; color: #c7d1e7; font-size: 14px; }
.catalog-demo { border: 1px solid #35425b; background: #1a2741; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #35425b; }
.compare-pane { min-width: 0; background: #fff; color: var(--ink); padding: 23px 25px; }
.source-pane { background: #f0f2f5; }
.pane-heading { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; margin-bottom: 10px; }
.pane-heading h3 { font-size: 20px; margin: 0; }
.pane-heading > span { font-size: 11px; color: var(--muted); white-space: nowrap; }
.catalog-demo table { font-size: 14px; }
.catalog-demo td { height: 46px; }
#catalog-source td:nth-child(2) { white-space: pre-wrap; }
.catalog-demo caption { font-size: 11px; }
.catalog-demo td:first-child { font-family: ui-monospace, monospace; font-size: 12px; }
.output-empty { padding: 16px 12px 6px; max-width: 420px; }
.transform-mark { display: block; color: var(--blue); font-size: 48px; line-height: 1; margin-bottom: 15px; }
.output-empty h4 { font-size: 26px; line-height: 1.2; margin-bottom: 15px; }
.output-empty p { font-size: 14px; }
.changed-cell { background: #e5eeff; }
.review-cell { background: #fff0c3; color: #62420d; font-size: 12px; font-weight: 650; }
.inspect-sku { display: inline-block; padding: 5px 0; min-height: 35px; color: var(--blue); background: transparent; border: 0; border-bottom: 1px dashed currentColor; font: 650 12px ui-monospace,monospace; }
.inspect-sku[aria-pressed="true"] { border-bottom-style: solid; border-bottom-width: 2px; }
.catalog-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 22px 25px; }
.catalog-controls p { font-size: 13px; line-height: 1.65; color: #d1dbef; margin: 0; }
.catalog-controls .button, .catalog-controls #catalog-run { background: var(--accent); color: var(--ink); }
.catalog-controls #catalog-run:hover { background: #ffe68d; }
.catalog-findings { border-top: 1px solid #35425b; padding: 23px 25px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 22px 35px; }
.change-log > span { color: var(--accent); font: 11px ui-monospace,monospace; }
.catalog-findings p { color: #d8e1f2; font-size: 14px; line-height: 1.7; margin: 8px 0 0; }
#catalog-inspect > strong { font: 650 12px ui-monospace,monospace; }
.download-actions { display: flex; flex-wrap: wrap; gap: 15px 30px; grid-column: 1/-1; }
.download-actions .quiet { color: var(--accent); }
.stage-bottom { display: flex; justify-content: space-between; gap: 22px; padding-top: 22px; font-size: 12px; color: #bfcae0; }
.stage-bottom > a { display: inline-flex; align-items: center; gap: 18px; text-decoration: none; color: #fff; font-size: 14px; font-weight: 600; }
.nojs-note { color: #fff; padding: 20px; }
.offer { background: var(--accent); color: var(--ink); border-bottom: 1px solid #deca7a; }
.offer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 21px; }
.offer p { margin: 0; color: var(--ink); font-size: 14px; }
.offer a { font-size: 13px; font-weight: 650; white-space: nowrap; }
.pill { font: 700 10px ui-monospace,monospace; letter-spacing: .03em; white-space: nowrap; }
/* Three familiar problems lead to the five scoped services. */
.problem-list { border-top: 1px solid var(--line); }
.problem-row { display: grid; grid-template-columns: 60px 1fr 65px; align-items: start; gap: 30px; padding: 33px 0; border-bottom: 1px solid var(--line); }
.problem-number { font: 500 14px ui-monospace,monospace; color: var(--blue); margin-top: 8px; }
.problem-shell { background: #fffdfa; }
.problem-row h3 { font-size: 31px; margin-bottom: 13px; }
.problem-row p { max-width: 760px; font-size: 17px; margin-bottom: 17px; }
.problem-services { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.problem-services a { font-size: 13px; color: var(--blue); text-decoration: none; font-weight: 650; }
.problem-services span { color: var(--muted); font-weight: 450; }
.problem-services a:hover { text-decoration: underline; }
.problem-arrow { display: grid; place-items: center; width: 57px; height: 57px; border-radius: 50%; border: 1px solid #bccbe4; color: var(--blue); }
.problem-arrow:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.problem-arrow .icon { width: 23px; height: 23px; }
.pricing-note { font-size: 14px; max-width: 960px; margin: 25px 0 0; }
.pricing-note a { color: var(--blue); }
/* Demonstration case study: explain the decisions, not a made-up outcome. */
.case-section { background: #edf2fb; padding-block: 80px 35px; border-block: 1px solid #d6e1f3; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.case-section p { color: var(--muted); }
.case-section .eyebrow, .case-section .text-link, .case-deliverable a { color: var(--blue); }
.case-intro > p:not(.eyebrow) { max-width: 450px; }
.decision-list article { border-bottom: 1px solid #cad7ed; padding-bottom: 26px; margin-bottom: 27px; }
.decision-list article:last-child { margin-bottom: 0; }
.decision-list article > span { font: 650 11px ui-monospace,monospace; color: var(--blue); display: block; margin-bottom: 16px; }
.decision-list h3 { font-size: 25px; }
.decision-list p { font-size: 16px; margin-bottom: 15px; }
.decision-list code { display: inline-block; background: #fff; color: #263d6c; font: 12px/1.6 ui-monospace,monospace; padding: 10px 14px; border: 1px solid #cfdaee; }
.case-deliverable { display: grid; grid-template-columns: 155px 1fr auto; align-items: baseline; gap: 25px; border-top: 1px solid #cad7ed; padding-top: 24px; margin-top: 45px; }
.case-deliverable > span { font: 650 10px ui-monospace,monospace; color: var(--blue); }
.case-deliverable p { font-size: 14px; margin: 0; }
.case-deliverable a { font-size: 13px; color: var(--blue); font-weight: 650; }
.owner-shell { background: #101b30; color: #f2f5fc; }
.owner-shell p { color: #c1cde3; }
.owner-shell em { color: var(--accent); }
.owner-shell .eyebrow, .owner-shell .text-link { color: #b5caff; }
.owner-section { display: grid; grid-template-columns: 1.1fr 1fr; gap: 100px; }
.owner-intro p { max-width: 570px; font-size: 17px; }
.working-agreement { border-left: 1px solid #34435f; padding-left: 45px; }
.working-agreement ol { list-style: none; padding: 0; margin: 0; counter-reset: process; }
.working-agreement li { position: relative; padding-left: 40px; padding-block: 16px; }
.working-agreement li::before { counter-increment: process; content: '0' counter(process); position: absolute; left: 0; top: 18px; color: var(--accent); font: 12px ui-monospace,monospace; }
.working-agreement h3 { font-size: 23px; margin-bottom: 10px; }
.working-agreement li p { font-size: 15px; margin: 0; }
/* Accessible FAQ; answers are readable without JavaScript. */
.faq-shell { background: #faf9f6; border-block: 1px solid var(--line); }
.faq-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.faq-section > div > p { font-size: 16px; }
.faq-section a { color: var(--blue); }
.faq-item { border-top: 1px solid #cbd5e4; }
.faq-item:last-child { border-bottom: 1px solid #cbd5e4; }
.faq-item h3 { margin: 0; }
.faq-question { display: flex; align-items: start; justify-content: space-between; gap: 22px; width: 100%; border: 0; background: transparent; color: var(--ink); border-radius: 0; padding: 24px 4px; text-align: left; font-size: 17px; line-height: 1.6; font-weight: 650; letter-spacing: -.015em; caret-color: transparent; user-select: none; -webkit-user-select: none; }
.faq-question:hover { color: var(--blue); }
.faq-symbol { position: relative; flex-shrink: 0; width: 20px; height: 20px; color: var(--blue); margin-top: 5px; }
.faq-symbol::before, .faq-symbol::after { content: ''; position: absolute; width: 14px; height: 2px; left: 3px; top: 9px; background: currentColor; }
.faq-symbol::after { transform: rotate(90deg); }
.faq-question[aria-expanded="true"] .faq-symbol::after { transform: rotate(0); }
.faq-answer p { font-size: 16px; line-height: 1.8; margin: 0; padding: 0 30px 24px 4px; }
.final-cta { display: flex; justify-content: space-between; align-items: center; gap: 45px; background: var(--blue); color: #fff; padding: 50px 55px; margin-block: 65px; }
.final-cta .eyebrow { color: #dbe5ff; }
.final-cta h2 { font-size: clamp(34px,3.8vw,54px); }
.final-cta p { color: #e1e8ff; font-size: 17px; max-width: 650px; margin-bottom: 0; }
.final-cta .eyebrow { margin-bottom: 20px; }
.final-cta .button { flex-shrink: 0; }
footer { background: #f0f3f9; border-top: 1px solid var(--line); padding-block: 45px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 15px; font-size: 20px; font-weight: 700; text-decoration: none; letter-spacing: -.025em; }
footer p { font-size: 14px; margin-top: 10px; }
footer a { overflow-wrap: anywhere; }
.footer-brand img { width: 64px; height: 64px; object-fit: contain; border-radius: 7px; }
/* Inner pages and complete service scopes. */
.page-intro { padding-block: 65px 45px; }
.page-intro .lead { margin-bottom: 0; }
.page-intro em { display: inline-block; }
.panel { color: var(--ink); border: 1px solid var(--line); background: #fff; padding: 32px; min-width: 0; }
.panel h2 { font-size: 30px; }
.panel h3 { font-size: 25px; }
.service-grid.full { display: grid; grid-template-columns: 1fr; gap: 25px; }
.service-card { color: #f2f5ff; display: grid; grid-template-columns: 1fr 1.1fr; gap: 45px; background: #111d33; border: 1px solid var(--line); padding: 38px; scroll-margin-top: 25px; }
.service-overview { min-width: 0; }
.service-overview .text-link { color: #b7cbff; }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; color: var(--accent); }
.service-number { font: 650 20px ui-monospace,monospace; }
.service-top svg { width: 31px; height: 31px; }
.service-overview h3 { font-size: 31px; max-width: 450px; }
.service-overview > p:not(.price) { color: #c3cfe5; max-width: 460px; font-size: 17px; }
.price { padding-top: 18px; color: var(--accent); }
.price small { display: block; color: #b8c8e2; font-size: 13px; }
.price strong { font-size: 42px; line-height: 1.5; letter-spacing: -.05em; }
.price del { font-size: 18px; color: #adbedb; margin-right: 12px; }
.service-detail { background: #f9fbff; color: var(--ink); border-radius: 8px; padding: 28px; min-width: 0; }
.service-detail h4 { font-size: 18px; }
.service-detail ul { padding-left: 20px; font-size: 16px; color: var(--muted); margin-bottom: 28px; }
.service-detail li { margin-block: 6px; }
details { border-bottom: 1px solid var(--line); padding-block: 20px; }
summary { cursor: pointer; font-size: 16px; font-weight: 650; line-height: 1.6; caret-color: transparent; user-select: none; }
details p { margin-top: 20px; font-size: 16px; }
.service-detail details { padding-block: 18px; border-color: #d4ddec; }
.service-detail p { color: var(--muted); }
.service-detail details p, .service-detail details ul { margin-bottom: 0; font-size: 16px; }
.notice { color: var(--ink); background: var(--soft); padding: 20px; border-left: 3px solid var(--blue); font-size: 15px; }
.about-story .panel { background: #111d33; color: #f2f5ff; }
.about-story .panel p { color: #bdcce5; }
.about-story { align-items: start; padding-top: 15px; }
.personal-note { border-top: 1px solid var(--line); }
.personal-note > p:not(.eyebrow) { max-width: 780px; }
.legal { max-width: 850px; padding-bottom: 65px; }
.legal section { margin-bottom: 40px; }
.legal h2 { font-size: 28px; }
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 70px; margin-bottom: 80px; }
.direct-quote { color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 36px; min-width: 0; }
.direct-quote p, .panel p { color: var(--muted); }
.direct-quote .eyebrow { color: var(--blue); }
.direct-quote h2 { font-size: 34px; }
.direct-address { margin-block: 20px 30px; font-size: 15px; overflow-wrap: anywhere; }
.guided-quote { border-top: 1px solid var(--line); }
.guided-quote .panel { padding: 25px 0 0; border: 0; }
.contact-layout aside { min-width: 0; padding-top: 20px; overflow-wrap: anywhere; }
.contact-layout aside h3 { font-size: 23px; }
#quote-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
label { display: block; font-size: 15px; font-weight: 650; margin-block: 18px; }
label small { font-weight: 400; }
input, textarea, select { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; min-height: 48px; background: #fff; border: 1px solid #9aa8bb; border-radius: 4px; color: var(--ink); font-size: 16px; }
textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
#email-result .actions { margin-block: 20px; }
#email-copy { font-size: 15px; }
hr { border: 0; border-top: 1px solid var(--line); margin-block: 30px; }
/* Data Lab: explanations above full-width tools; compare source and output together. */
.lab-disclosure { display: flex; align-items: baseline; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.status-dot { display: inline-block; width: 7px; height: 7px; background: #397862; border-radius: 50%; flex-shrink: 0; margin-right: 5px; }
.lab { padding-bottom: 65px; }
.lab-tabs { display: grid; grid-template-columns: repeat(5,1fr); background: #121e34; padding: 6px; gap: 5px; border: 1px solid #cfd8e8; }
.lab-tabs button { display: flex; gap: 9px; align-items: center; border: 0; background: transparent; color: #c0cee6; padding: 16px 12px; font-size: 14px; font-weight: 650; line-height: 1.4; min-height: 56px; text-align: left; }
.lab-tabs button > span { font: 11px ui-monospace,monospace; }
.lab-tabs button[aria-selected="true"] { background: var(--accent); color: #17213a; }
.lab-tabs button:hover:not([aria-selected="true"]) { background: #233451; color: #fff; }
.lab-panel { margin-top: 40px; }
.lab-explanation { display: grid; grid-template-columns: 1fr 1fr; gap: 0 80px; padding-bottom: 35px; }
.lab-explanation > .eyebrow, .lab-explanation > h2, .lab-explanation > p { grid-column: 1; }
.lab-explanation h2 { font-size: 39px; }
.lab-explanation p { font-size: 17px; }
.takeaway { grid-column: 2; grid-row: 1/5; padding-top: 5px; max-width: 560px; }
.takeaway h3 { font-size: 20px; }
.takeaway p { font-size: 16px; }
.lab-explanation .text-link { grid-column: 1/-1; font-size: 15px; }
.workspace { color: var(--ink); padding: 30px; border: 1px solid #cdd6e6; background: #fff; min-width: 0; }
.workspace p { color: var(--muted); }
.workspace-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); margin-bottom: 24px; padding-bottom: 22px; }
.workspace-head h3 { font-size: 25px; line-height: 1.3; margin: 10px 0 0; }
.file-tag { font: 650 11px ui-monospace,monospace; color: var(--blue); letter-spacing: .04em; }
.data-label { font-size: 11px; padding: 5px 8px; background: var(--soft); white-space: nowrap; }
.workspace-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-block: 20px; }
.workspace button:not(.quiet) { font-size: 15px; min-height: 47px; padding: 11px 16px; }
.cleanup-options { display: flex; flex-wrap: wrap; gap: 12px 30px; border: 0; padding: 0; margin: 0 0 18px; }
.cleanup-options legend { font-size: 15px; font-weight: 650; margin-bottom: 12px; padding: 0; }
.cleanup-options label { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 450; margin: 0; min-height: 32px; }
input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; accent-color: var(--blue); }
.result-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; background: var(--soft); padding: 20px; margin-block: 20px; }
.result-stats > div + div { border-left: 1px solid #cad4e5; padding-left: 20px; }
.result-stats span { display: block; font-size: 12px; color: var(--muted); }
.result-stats strong { display: block; font-size: 32px; line-height: 1.3; font-weight: 650; letter-spacing: -.04em; margin-top: 5px; }
.result-stats strong.stat-word { font-size: 27px; }
.cleanup-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 30px; }
.cleanup-source, .cleanup-result { min-width: 0; }
.cleanup-compare h4 { font-size: 18px; margin-bottom: 6px; }
.cleanup-source table { background: #f5f6f8; }
.compare-pane p, .output-empty p { color: var(--muted); }
.table-scroll { max-width: 100%; overflow-x: auto; }
table { color: var(--ink); width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
caption { text-align: left; font-size: 12px; color: var(--muted); padding-block: 12px; }
th, td { padding: 13px 10px; border-bottom: 1px solid #dfe4ec; }
th { background: #e9edf5; color: #43526b; font-size: 12px; font-weight: 650; white-space: nowrap; }
td { overflow-wrap: anywhere; }
#cleanup-rows td:first-child, #cleanup-source-rows td:first-child { white-space: pre-wrap; }
.row-issue { background: #fff2ce; }
.result-note { margin: 24px 0 0; background: #edf3fc; border-left: 3px solid var(--blue); color: #334c76; font-size: 14px; padding: 15px 18px; }
.inventory-results { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 25px; }
.review-card { padding: 20px; border: 1px solid #d8c59a; background: #fffbef; }
.review-card h4 { font-size: 18px; }
.review-card p { color: var(--muted); font-size: 14px; }
.review-card label, .review-card select { font-size: 14px; }
.review-card.reviewed { background: #eff6ef; border-color: #a3c4a6; }
.pipeline-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pipeline-inputs > div { border: 1px solid var(--line); padding: 20px; min-width: 0; }
.pipeline-inputs strong { display: block; font: 650 14px ui-monospace,monospace; margin-block: 10px; }
.pipeline-inputs small { color: var(--muted); font-size: 13px; }
.file-icon { color: var(--blue); font-size: 26px; }
.pipeline { display: grid; grid-template-columns: repeat(4,1fr); list-style: none; padding: 0; margin-block: 28px; gap: 15px; counter-reset: step; }
.pipeline li { border-top: 3px solid var(--line); padding: 12px 0; font-size: 14px; color: var(--muted); }
.pipeline li::before { counter-increment: step; content: '0' counter(step); display: block; font: 12px ui-monospace,monospace; margin-bottom: 10px; }
.pipeline li.done { color: #255c43; border-color: #397862; }
.report-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; max-width: 750px; }
.report-filters label { font-size: 14px; margin: 0; }
.report-filters select { font-size: 15px; }
.chart-title { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; margin-block: 30px 20px; }
.chart-title h4 { font-size: 17px; margin: 0; }
.chart-title > span { font-size: 12px; color: var(--muted); }
.sales-chart { display: grid; gap: 18px; padding-block: 10px; }
.sales-bar { display: grid; grid-template-columns: 80px 1fr 55px; gap: 15px; align-items: center; font-size: 14px; }
.bar-track { height: 32px; background: #edf0f7; }
.bar-fill { display: block; height: 100%; background: var(--blue); min-width: 2px; }
.sales-bar:first-child .bar-fill { background: var(--navy); }
.sales-bar strong { font-size: 14px; text-align: right; }
.workspace details summary { font-size: 14px; }
.match-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-block: 24px; }
.match-pair > div { background: var(--soft); border: 1px solid #cfd8e8; padding: 25px; }
.match-pair small { font-size: 12px; color: var(--muted); }
.match-pair h4 { font-size: 25px; line-height: 1.3; margin: 15px 0 0; }
.attribute-match { background: #eef6ef; color: #295c3b; }
.attribute-different { background: #fff3d7; color: #734611; }
@media (prefers-reduced-motion: no-preference) {
  a, button { transition: background-color .16s, color .16s; }
  .bar-fill { transition: width .25s ease; }
  .faq-symbol::after { transition: transform .18s; }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 40px; }
  .hero h1 { font-size: 62px; }
  nav { gap: 20px; }
  .case-grid, .owner-section { gap: 50px; }
  .service-card { gap: 35px; padding: 30px; }
  .lab-tabs button { font-size: 12px; }
  .lab-tabs button > span { display: none; }
  .lab-explanation { gap: 0 40px; }
  .inventory-results { grid-template-columns: 1fr; }
  .case-deliverable { grid-template-columns: 120px 1fr; }
  .case-deliverable a { grid-column: 2; }
}
@media (max-width: 850px) {
  body { font-size: 17px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 55px; }
  .hero-copy, .hero-demo { max-width: 670px; }
  .hero h1 { font-size: clamp(54px,8vw,72px); }
  .hero-art::before { top: 55%; right: -250px; }
  .hero-art svg { top: 40%; }
  .compare-pane { padding: 20px 15px; }
  .pane-heading { display: block; }
  .pane-heading h3 { font-size: 19px; }
  .pane-heading > span { display: block; margin-top: 8px; }
  .catalog-controls { grid-template-columns: 1fr; gap: 18px; }
  .offer-inner { flex-wrap: wrap; justify-content: start; gap: 14px 25px; }
  .offer p { flex: 1; min-width: 250px; }
  .case-grid, .owner-section, .faq-section, .contact-layout, .about-story { grid-template-columns: 1fr; gap: 35px; }
  .working-agreement { border-left: 0; border-top: 1px solid #34435f; padding: 30px 0 0; }
  .case-intro > p:not(.eyebrow) { max-width: 650px; }
  .case-deliverable { grid-template-columns: 1fr; gap: 12px; }
  .case-deliverable a { grid-column: auto; }
  .final-cta { padding: 38px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-card { color: #f2f5ff; display: block; }
  .service-overview { margin-bottom: 28px; }
  .service-detail { border-left: 0; border-top: 0; padding: 25px; }
  .service-overview > p:not(.price), .service-overview h3 { max-width: none; }
  .cleanup-compare { grid-template-columns: 1fr; }
  .contact-layout aside { max-width: 620px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 40px); }
  h1 { font-size: clamp(42px,10vw,58px); }
  h2 { font-size: 34px; }
  .section { padding-block: 60px; }
  .header-inner { min-height: 78px; padding-block: 15px; flex-wrap: wrap; gap: 12px; }
  .brand { font-size: 18px; gap: 10px; }
  .brand > img { width: 58px; height: 58px; }
  .hero { padding-block: 40px; }
  .hero h1 { font-size: clamp(42px,10.7vw,64px); }
  .hero .eyebrow { font-size: 10px; }
  .hero .lead { font-size: 17px; }
  .hero .actions { gap: 20px; }
  .hero-location { font-size: 12px; }
  .preview-caption { font-size: 8px; }
  .preview-intro { padding-inline: 19px; }
  .preview-intro h2 { font-size: 25px; }
  .hero-preview .table-scroll { padding-inline: 9px; }
  .hero-preview table { font-size: 11px; }
  .hero-preview th, .hero-preview td { padding-inline: 5px; }
  .hero-preview td:first-child { font-size: 10px; }
  .hero-preview td:last-child { font-size: 9px; }
  .preview-action { padding-inline: 18px; }
  .preview-footer { padding-inline: 18px; }
  .hero-bottom { display: block; }
  .hero-bottom a { display: block; margin-top: 10px; }
  .hero-art::before { width: 400px; height: 400px; right: -180px; }
  .header-inner > button.menu { display: inline-flex; min-height: 44px; padding: 8px 13px; font-size: 14px; }
  nav { display: none; flex-direction: column; align-items: stretch; width: 100%; gap: 4px; padding-top: 10px; }
  nav.open { display: flex; }
  nav a { padding-block: 12px; }
  .work-stage { padding-block: 32px 25px; }
  .stage-top { display: block; }
  .stage-top h2 { font-size: 31px; }
  .stage-top > p { font-size: 14px; margin-top: 20px; }
  .stage-index { font-size: 10px; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-pane { padding: 20px 14px; }
  .pane-heading { display: flex; }
  .pane-heading h3 { font-size: 18px; }
  .pane-heading > span { font-size: 10px; margin: 0; }
  .catalog-demo table { font-size: 13px; }
  .catalog-demo td:first-child { font-size: 11px; }
  .output-empty { padding-block: 15px; }
  .output-empty h4 { font-size: 25px; }
  .catalog-controls { padding: 20px 16px; }
  .catalog-controls .actions { gap: 10px; }
  .catalog-controls button { padding: 11px 15px !important; font-size: 14px !important; }
  .catalog-findings { grid-template-columns: 1fr; padding: 22px 16px; gap: 22px; }
  .download-actions { grid-column: auto; gap: 4px; }
  .stage-bottom { display: block; font-size: 11px; }
  .stage-bottom > a { margin-top: 15px; font-size: 14px; }
  .offer-inner { padding-block: 20px; }
  .offer p { flex-basis: 100%; min-width: 0; }
  .problem-row { grid-template-columns: 25px 1fr; gap: 16px; padding-block: 27px; }
  .problem-row h3 { font-size: 26px; line-height: 1.2; }
  .problem-row p { font-size: 16px; }
  .problem-arrow { display: none; }
  .problem-number { font-size: 11px; }
  .problem-services { display: grid; gap: 14px; }
  .problem-services a { font-size: 13px; }
  .problem-services span { display: block; }
  .case-section { padding-block: 55px 30px; }
  .case-grid, .owner-section { gap: 35px; }
  .decision-list h3 { font-size: 24px; }
  .case-deliverable { margin-top: 30px; }
  .owner-intro p { font-size: 17px; }
  .working-agreement h3 { font-size: 22px; }
  .faq-question { font-size: 17px; padding-block: 23px; }
  .faq-answer p { font-size: 16px; padding-right: 12px; }
  .final-cta { display: block; padding: 32px 25px; margin-block: 50px; }
  .final-cta h2 { font-size: 33px; }
  .final-cta .button { margin-top: 28px; }
  .footer-grid, .form-grid, .split { grid-template-columns: 1fr; }
  .footer-grid { gap: 25px; }
  .page-intro { padding-block: 45px 32px; }
  .lead { font-size: 19px; }
  .panel, .direct-quote { padding: 24px; }
  .direct-quote h2 { font-size: 29px; }
  .form-grid { gap: 0; }
  .service-card { padding: 26px; }
  .service-overview h3 { font-size: 29px; }
  .lab-disclosure { align-items: start; font-size: 13px; }
  .lab-disclosure .status-dot { margin-top: 8px; }
  .lab-tabs { grid-template-columns: 1fr 1fr; }
  .lab-tabs button { font-size: 13px; padding: 13px; }
  .lab-tabs button > span { display: block; font-size: 10px; }
  .lab-tabs button:last-child { grid-column: 1/-1; }
  .lab-explanation { display: block; }
  .lab-explanation h2 { font-size: 34px; }
  .takeaway { margin-top: 25px; border-top: 1px solid var(--line); padding-top: 22px; }
  .lab-explanation .text-link { margin-top: 12px; }
  .workspace { color: var(--ink); padding: 22px 17px; }
  .workspace-head { display: block; }
  .workspace-head h3 { font-size: 24px; }
  .data-label { display: inline-block; margin-top: 15px; }
  .cleanup-options { display: grid; gap: 10px; }
  .result-stats { gap: 10px; padding: 18px 12px; }
  .result-stats > div + div { padding-left: 10px; }
  .result-stats span { font-size: 10px; }
  .result-stats strong { font-size: 25px; }
  .result-stats strong.stat-word { font-size: 21px; }
  .workspace table { font-size: 13px; }
  .workspace th, .workspace td { padding: 12px 8px; }
  .workspace caption { font-size: 11px; }
  .workspace-toolbar .quiet { flex-basis: 100%; text-align: left; }
  .pipeline-inputs, .match-pair { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .pipeline li { font-size: 13px; }
  .report-filters { gap: 12px; }
  .report-filters select { padding-inline: 10px; font-size: 14px; }
  .chart-title { display: block; }
  .chart-title > span { display: block; margin-top: 8px; font-size: 11px; }
  .sales-bar { grid-template-columns: 62px 1fr 48px; gap: 10px; font-size: 13px; }
  .sales-bar strong { font-size: 13px; }
  .match-pair > div { padding: 20px; }
  .match-pair h4 { font-size: 23px; }
  .lab { padding-bottom: 40px; }
  body:not(.js-ready) nav { display: flex; }
  body:not(.js-ready) .header-inner > button.menu { display: none; }
}

/* Optional detail belongs to the same hero, rather than a second repeated opening. */
.comparison-disclosure { border: 0; padding: 0; }
.comparison-disclosure > summary { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-block: 21px; color: #d4e0ff; font-size: 13px; font-weight: 550; list-style: none; }
.comparison-disclosure > summary::-webkit-details-marker { display: none; }
.comparison-disclosure > summary > span { font-size: 22px; color: var(--accent); line-height: 1; }
.comparison-disclosure[open] > summary > span { transform: rotate(45deg); }
.comparison-disclosure .work-stage { border-top: 1px solid #2b3650; }
.brand > img { flex-shrink: 0; }

.hero-shell :focus-visible, .owner-shell :focus-visible, .service-overview :focus-visible { outline-color: var(--accent); }
