:root {
  --ink: #15130f;
  --muted: #6b675f;
  --paper: #fbf7ef;
  --card: #fffdf9;
  --orange: #ff694a;
  --orange-dark: #d94b30;
  --lime: #c4ef69;
  --line: #ded7ca;
  --night: #171814;
  --mono: "DM Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Manrope", sans-serif; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 10px 14px; background: #fff; }
.skip-link:focus { left: 8px; }

.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 28px; height: 28px; display: flex; align-items: end; gap: 3px; padding: 5px; border-radius: 50%; background: var(--ink); }
.brand-mark i { width: 4px; border-radius: 4px; background: var(--lime); }
.brand-mark i:nth-child(1) { height: 8px; }
.brand-mark i:nth-child(2) { height: 16px; }
.brand-mark i:nth-child(3) { height: 12px; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
.nav-cta { padding: 10px 15px; color: #fff; background: var(--ink); border-radius: 999px; }

.hero { padding: 72px 0 34px; }
.eyebrow, .section-heading > p { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 28px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #65a30d; box-shadow: 0 0 0 5px #dcf7ab; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; }
h1 { max-width: 720px; margin: 0; font-size: clamp(54px, 6.2vw, 88px); line-height: .96; letter-spacing: -.065em; }
.hero-copy { max-width: 660px; margin: 28px 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { padding: 14px 20px; border: 1px solid var(--ink); border-radius: 4px; font-size: 14px; font-weight: 700; text-decoration: none; }
.button.primary { color: #fff; background: var(--ink); }
.button.secondary { background: transparent; }

.terminal-card { overflow: hidden; color: #f8f7f2; background: #20211e; border: 1px solid #33342e; border-radius: 13px; box-shadow: 20px 24px 0 #ebe2d3; transform: rotate(1.25deg); }
.terminal-top { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid #3b3c36; }
.terminal-top span { width: 8px; height: 8px; border-radius: 50%; background: #77786f; }
.terminal-top b { margin-left: 8px; color: #b4b4ad; font: 400 11px var(--mono); }
.terminal-body { padding: 20px; font: 400 11px/1.8 var(--mono); }
.terminal-body p { display: grid; grid-template-columns: 25px 45px 1fr auto; gap: 6px; margin: 0; color: #aaa; }
.terminal-body em { color: #666; font-style: normal; }
.terminal-body p span { overflow: hidden; color: #f4f2ea; text-overflow: ellipsis; }
.terminal-body p strong { color: var(--lime); }
.terminal-result { display: flex; gap: 12px; align-items: center; margin-top: 20px; padding: 14px; color: var(--ink); background: var(--lime); border-radius: 6px; }
.terminal-result > span { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; }
.terminal-result div { display: flex; flex-direction: column; }
.terminal-result small { opacity: .65; }
.disclaimer { margin-top: 70px; padding: 14px 18px; color: var(--muted); background: #f2eadc; border-left: 3px solid var(--orange); font-size: 13px; }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 20px; background: var(--ink); border-radius: 8px; }
.metrics article { display: flex; min-height: 155px; flex-direction: column; justify-content: center; padding: 28px; color: #fff; border-right: 1px solid #3d3b36; }
.metrics article:last-child { border: 0; }
.metrics span, .metrics small { color: #a7a39a; font: 400 11px var(--mono); }
.metrics b { margin: 8px 0; font-size: 40px; letter-spacing: -.05em; }
.metrics b.pass { color: var(--lime); font-size: 32px; }

.section { padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: 160px 1fr .7fr; gap: 30px; align-items: end; margin-bottom: 60px; }
.section-heading > p { align-self: start; margin: 8px 0 0; color: var(--orange-dark); }
.section-heading h2 { margin: 0; font-size: clamp(40px, 5vw, 68px); line-height: 1.05; letter-spacing: -.055em; }
.section-heading > span { color: var(--muted); font-size: 15px; line-height: 1.7; }
.pipeline { display: grid; grid-template-columns: 1fr 35px 1fr 35px 1fr; align-items: stretch; }
.pipeline > i { display: grid; place-items: center; color: var(--orange-dark); font-style: normal; }
.pipeline article { display: flex; gap: 20px; padding: 24px; background: var(--card); border: 1px solid var(--line); }
.pipeline article > b { color: var(--orange-dark); font: 500 12px var(--mono); }
.pipeline small, .chart-head small { color: var(--muted); font: 500 10px var(--mono); letter-spacing: .1em; }
.pipeline h3 { margin: 7px 0 9px; font-size: 19px; }
.pipeline p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.chart-card { margin-top: 28px; padding: 30px; background: var(--card); border: 1px solid var(--line); }
.chart-head { display: flex; justify-content: space-between; gap: 25px; align-items: end; }
.chart-head h3 { margin: 7px 0 0; font-size: 24px; }
.legend { display: flex; gap: 18px; color: var(--muted); font: 400 10px var(--mono); }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 7px; height: 7px; border-radius: 50%; }
.moderate { background: #d9bc63; }
.sensitive { background: var(--orange); }
.chart { display: grid; height: 230px; grid-template-columns: repeat(14, 1fr); align-items: end; gap: 8px; margin-top: 30px; padding-top: 20px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0, transparent 49px, #eee7dc 50px); }
.bar-wrap { position: relative; display: flex; height: 100%; flex-direction: column; justify-content: flex-end; align-items: center; }
.bar { width: min(34px, 80%); min-height: 5px; background: #d9bc63; border-radius: 3px 3px 0 0; transition: height .5s ease; }
.bar.sensitive { background: var(--orange); }
.bar-wrap span { position: absolute; bottom: -23px; color: var(--muted); font: 400 9px var(--mono); }
.bar-wrap b { position: absolute; top: -17px; opacity: 0; font: 500 9px var(--mono); transition: opacity .15s; }
.bar-wrap:hover b { opacity: 1; }
.chart-note { margin: 32px 0 0; color: var(--muted); font-size: 11px; }
code { padding: 2px 5px; background: #eee7dc; font: 400 11px var(--mono); }

.clinic-section { padding: 120px 0; color: #f6f2e8; background: var(--night); }
.clinic-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.section-heading.inverted { display: block; margin: 0; }
.section-heading.inverted > p { color: var(--lime); }
.section-heading.inverted h2 { margin: 26px 0; }
.section-heading.inverted > span { display: block; max-width: 440px; color: #aaa99f; }
.text-link { display: inline-block; margin-top: 30px; color: var(--lime); font: 500 12px var(--mono); text-decoration: none; }
.case-list { border-top: 1px solid #41423d; }
.case-list article { display: grid; grid-template-columns: 78px 1fr; padding: 26px 0; border-bottom: 1px solid #41423d; }
.case-list article > span { color: var(--orange); font: 500 10px var(--mono); }
.case-list h3 { margin: 0 0 10px; font-size: 24px; }
.case-list p, .case-list b { grid-column: 2; }
.case-list p { margin: 0 0 14px; color: #aaa99f; font-size: 13px; line-height: 1.65; }
.case-list b { color: var(--lime); font: 500 10px var(--mono); text-transform: uppercase; }

.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.proof-grid article { min-height: 245px; padding: 28px; background: var(--card); border-right: 1px solid var(--line); }
.proof-grid article:last-child { border: 0; }
.proof-grid span { color: var(--orange-dark); font: 500 16px var(--mono); }
.proof-grid h3 { margin: 45px 0 12px; font-size: 20px; }
.proof-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.build-note { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; margin-top: 80px; padding: 45px; background: #f2eadc; }
.build-note > div { display: flex; gap: 16px; }
.quote-mark { color: var(--orange); font-size: 58px; line-height: .8; }
blockquote { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.35; letter-spacing: -.03em; }
.build-note p { align-self: end; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; padding: 38px 0; border-top: 1px solid var(--line); font-size: 12px; }
footer div { display: flex; flex-direction: column; gap: 4px; }
footer span, footer p { color: var(--muted); }
footer a { font: 500 11px var(--mono); text-decoration: none; }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .hero-grid, .clinic-grid { grid-template-columns: 1fr; }
  .terminal-card { max-width: 620px; margin-top: 20px; transform: none; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metrics article:nth-child(2) { border-right: 0; }
  .metrics article:nth-child(-n+2) { border-bottom: 1px solid #3d3b36; }
  .section-heading { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; gap: 10px; }
  .pipeline > i { transform: rotate(90deg); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid article:nth-child(2) { border-right: 0; }
  .proof-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 600px) {
  .shell { width: min(100% - 28px, 1180px); }
  .brand span:last-child { display: none; }
  h1 { font-size: 50px; }
  .hero { padding-top: 48px; }
  .terminal-body p { grid-template-columns: 22px 38px 1fr; }
  .terminal-body p strong { display: none; }
  .metrics { grid-template-columns: 1fr; }
  .metrics article { min-height: 125px; border-right: 0; border-bottom: 1px solid #3d3b36; }
  .section, .clinic-section { padding: 80px 0; }
  .chart-head, .legend { align-items: start; flex-direction: column; }
  .chart { gap: 3px; }
  .bar-wrap span { display: none; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .build-note { grid-template-columns: 1fr; padding: 28px; }
  footer { grid-template-columns: 1fr; gap: 8px; }
}

