:root {
  --paper: #dde2e0;
  --paper-deep: #cfd6d3;
  --ink: #20231f;
  --muted: #65685f;
  --green: #254d3c;
  --green-deep: #17382c;
  --green-soft: #dce8db;
  --orange: #a6532d;
  --orange-soft: #f3dfcf;
  --red: #963e35;
  --red-soft: #f1d6d2;
  --rule: rgba(32,35,31,.16);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.section-shell { max-width: 1240px; margin: 0 auto; padding-left: 34px; padding-right: 34px; }

.site-header { height: 84px; max-width: 1240px; padding: 0 34px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rule); }
.wordmark { display: inline-flex; gap: 11px; align-items: center; font-weight: 760; letter-spacing: -.03em; font-size: 19px; }
.mark { position: relative; display: inline-flex; gap: 3px; width: 25px; height: 25px; align-items: flex-end; }
.mark i { display: block; width: 11px; background: var(--green); border-radius: 2px 2px 1px 1px; clip-path: polygon(0 0,100% 22%,100% 100%,0 100%); }
.mark i:first-child { height: 22px; transform: translateY(-2px); }
.mark i:last-child { height: 15px; clip-path: polygon(0 22%,100% 0,100% 100%,0 100%); }
nav { display: flex; gap: 30px; font-size: 13px; color: #45483f; }
nav a, .text-link { border-bottom: 1px solid transparent; transition: border-color .2s; }
nav a:hover, .text-link:hover { border-color: currentColor; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta, .header-github { padding: 11px 16px; border: 1px solid var(--ink); border-radius: 100px; font-size: 12px; font-weight: 700; transition: .2s; }
.header-github { color: var(--paper); background: var(--green); border-color: var(--green); }
.header-github:hover { background: var(--green-deep); border-color: var(--green-deep); }
.header-cta:hover { color: var(--paper); background: var(--ink); }

.hero { min-height: 690px; display: grid; grid-template-columns: 1.03fr .97fr; gap: 7vw; align-items: center; padding-top: 70px; padding-bottom: 85px; }
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: .14em; font-weight: 750; font-size: 11px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; margin: 0; }
h1 { font-size: clamp(58px, 6.2vw, 92px); line-height: .94; max-width: 720px; }
h1 em { color: var(--green); font-weight: 400; }
.lede { font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.52; max-width: 610px; color: #484c44; margin: 32px 0 30px; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 198px; padding: 15px 18px; border-radius: 7px; font-weight: 720; font-size: 13px; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--paper); background: var(--green); }
.button-primary:hover { background: var(--green-deep); }
.text-link { font-size: 13px; font-weight: 700; padding-bottom: 2px; }
.fine-print { margin-top: 28px; color: var(--muted); font-size: 12px; }

.review-card { background: #fbfaf5; border: 1px solid rgba(32,35,31,.13); border-radius: var(--radius); padding: 18px; box-shadow: 0 28px 70px rgba(40,49,40,.11); transform: rotate(.5deg); }
.review-toolbar { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--rule); padding: 2px 3px 16px; }
.review-toolbar > div { display: flex; flex-direction: column; gap: 6px; }
.label { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; font-weight: 700; }
.review-toolbar strong { font-size: 14px; }
.score-count-mock { color: var(--muted); font-size: 9px; line-height: 1; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.review-summary { padding: 18px 3px 14px; }
.review-summary p { font-family: Georgia, serif; font-size: 17px; line-height: 1.45; margin: 12px 0 0; }
.pill { display: inline-flex; padding: 5px 8px; border-radius: 5px; text-transform: uppercase; letter-spacing: .08em; font-size: 8px; line-height: 1; font-weight: 800; }
.pill.pass { color: var(--green); background: var(--green-soft); }
.pill.attention { color: var(--orange); background: var(--orange-soft); }
.pill.flag { color: var(--red); background: var(--red-soft); }
.criteria-list { border-top: 1px solid var(--rule); }
.criterion { width: 100%; padding: 13px 3px; background: transparent; border: 0; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: var(--ink); text-align: left; }
.criterion-name { font-weight: 700; font-size: 12px; }
.criterion-name b { color: #98998f; margin-right: 14px; font-size: 9px; }
.finding { display: none; background: #ecebe4; padding: 13px 14px; border-bottom: 1px solid var(--rule); color: #555950; font-size: 11px; line-height: 1.5; }
.finding.open { display: block; }
.mock-note { text-align: right; margin: 13px 3px 0; color: #97988e; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }

.signal-strip { padding: 19px 30px; background: var(--green); color: #e8efe8; display: flex; justify-content: center; align-items: center; gap: 28px; text-transform: uppercase; letter-spacing: .1em; font-size: 10px; font-weight: 700; }
.signal-strip i { width: 3px; height: 3px; background: #91ad9e; border-radius: 50%; }

.product-view { padding-top: 126px; padding-bottom: 20px; }
.product-frame { margin: 0; overflow: hidden; border: 1px solid var(--rule); border-radius: 16px; background: #f5f4ee; box-shadow: 0 30px 90px rgba(38,46,39,.1); }
.product-frame img { display: block; width: 100%; height: auto; }
.product-frame img + img { border-top: 1px solid var(--rule); }
.browser-bar { height: 38px; padding: 0 16px; display: flex; gap: 7px; align-items: center; background: #e8e6de; border-bottom: 1px solid var(--rule); }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #b8b8ae; }
.browser-bar span { margin-left: auto; color: #84877e; text-transform: uppercase; letter-spacing: .11em; font-size: 8px; }
.product-caption { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; padding: 22px 2px 0; color: var(--muted); }
.product-caption span { text-transform: uppercase; letter-spacing: .12em; font-size: 9px; font-weight: 750; }
.product-caption p { max-width: 620px; margin: 0; font-family: Georgia, serif; font-size: 14px; line-height: 1.5; }

.reviews { padding-top: 126px; padding-bottom: 132px; }
.section-intro { display: grid; grid-template-columns: .7fr 1.5fr 1fr; gap: 35px; align-items: start; margin-bottom: 62px; }
.kicker { color: var(--green); padding-top: 10px; }
h2 { font-size: clamp(42px, 5vw, 68px); line-height: 1.02; }
.section-intro p { margin: 8px 0 0; font-family: Georgia, serif; color: var(--muted); font-size: 16px; line-height: 1.55; }
.review-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.lens-card { grid-column: span 2; min-height: 280px; padding: 25px; border: 1px solid var(--rule); border-radius: 12px; display: flex; flex-direction: column; transition: background .25s, transform .25s; }
.lens-card:hover { background: #faf8f1; transform: translateY(-3px); }
.lens-card.wide { grid-column: 3 / span 2; }
.lens-card > span { font-size: 10px; color: var(--muted); }
.lens-card h3 { margin: 50px 0 12px; font-family: Georgia, serif; font-size: 25px; font-weight: 400; letter-spacing: -.025em; }
.lens-card p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.mini-line { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 10px; color: var(--green); text-transform: uppercase; letter-spacing: .11em; font-size: 8px; }
.mini-line i { width: 28px; height: 2px; background: var(--green); }

.test-results { padding-top: 118px; padding-bottom: 130px; border-top: 1px solid var(--rule); }
.result-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.result-example { margin: 0; }
.result-image-wrap { height: 650px; overflow: hidden; display: flex; justify-content: center; align-items: flex-start; background: #dedbd1; border: 1px solid var(--rule); border-radius: 14px; }
.result-image-wrap img { display: block; width: 100%; height: auto; }
.result-example figcaption { display: grid; grid-template-columns: .45fr 1fr; gap: 20px; padding: 18px 2px 0; }
.result-example figcaption span, .synthetic-note { color: var(--muted); text-transform: uppercase; letter-spacing: .11em; font-size: 8px; font-weight: 800; }
.result-example figcaption p { margin: 0; color: #565a52; font-family: Georgia, serif; font-size: 14px; line-height: 1.55; }
.synthetic-note { margin: 48px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); }
.regression-proof { margin-top: 26px; padding: 30px; display: grid; grid-template-columns: .35fr .35fr 1.3fr; gap: 35px; align-items: center; border: 1px solid var(--rule); border-radius: 12px; }
.regression-proof div { display: flex; flex-direction: column; gap: 5px; }
.regression-proof strong { color: var(--green); font-family: Georgia, serif; font-size: 42px; line-height: 1; font-weight: 400; }
.regression-proof span { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 8px; font-weight: 800; }
.regression-proof p { margin: 0; color: #565a52; font-family: Georgia, serif; font-size: 14px; line-height: 1.55; }

.how { max-width: none; background: var(--green-deep); color: #f2f0e8; padding-top: 116px; padding-bottom: 122px; }
.how > * { max-width: 1172px; margin-left: auto; margin-right: auto; }
.section-intro.inverse { grid-template-columns: .7fr 2.5fr; margin-bottom: 64px; }
.inverse .kicker { color: #9eb5a8; }
.steps { margin-top: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.steps li { display: grid; grid-template-columns: .7fr 2.5fr; border-bottom: 1px solid rgba(255,255,255,.18); padding: 26px 0; }
.steps > li > span { color: #9eb5a8; font-size: 10px; padding-top: 6px; }
.steps li div { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.steps h3 { font-family: Georgia, serif; font-size: 28px; font-weight: 400; margin: 0; }
.steps p { color: #b8c2ba; line-height: 1.6; font-size: 13px; max-width: 460px; margin: 3px 0; }

.why { padding-top: 140px; padding-bottom: 140px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 9vw; align-items: center; }
.gap-graphic { min-height: 430px; display: grid; grid-template-columns: 1fr 92px 1fr; overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius); background: #f0f1ed; }
.gap-side { padding: 34px 28px; display: flex; flex-direction: column; align-items: flex-start; }
.gap-side small { color: var(--muted); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: 800; }
.gap-side strong { margin: 74px 0 auto; max-width: 180px; font-family: Georgia, serif; font-size: 28px; line-height: 1.12; font-weight: 400; letter-spacing: -.03em; }
.gap-side span { width: 100%; padding: 10px 0; border-top: 1px solid var(--rule); color: var(--muted); font-size: 10px; }
.gap-side.useful { color: #edf1ec; background: var(--green); }
.gap-side.useful small, .gap-side.useful span { color: #bed0c6; }
.gap-side.useful span { border-color: rgba(255,255,255,.18); }
.gap-center { padding: 22px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--paper); background: var(--ink); }
.gap-center i { width: 1px; height: 92px; background: rgba(255,255,255,.3); }
.gap-center b { text-align: center; text-transform: uppercase; letter-spacing: .14em; font-size: 9px; line-height: 1.5; }
.why-copy .kicker { display: block; margin-bottom: 24px; }
.why-copy h2 { font-size: clamp(43px, 4.4vw, 64px); margin-bottom: 28px; }
.why-copy p { font-family: Georgia, serif; color: #595c54; font-size: 17px; line-height: 1.62; }

.so-what { padding: 128px 0; color: #edf1ee; background: #202b27; }
.so-what .kicker { display: block; margin-bottom: 22px; padding: 0; color: #9db9ab; }
.so-what-copy { display: grid; grid-template-columns: .7fr 1.15fr 1.15fr; gap: 38px; align-items: start; }
.so-what-copy .kicker { grid-column: 1 / -1; margin-bottom: -3px; }
.so-what-copy h2 { font-size: clamp(42px, 4.6vw, 64px); }
.so-what-copy p { margin: 7px 0 0; color: #bac5bf; font-family: Georgia, serif; font-size: 16px; line-height: 1.62; }
.future-flow { margin-top: 76px; padding: 14px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; border: 1px solid rgba(255,255,255,.17); border-radius: 15px; }
.future-flow > i { display: flex; align-items: center; color: #789486; font-style: normal; }
.flow-stage { min-height: 190px; padding: 22px; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; }
.flow-stage.focus { color: var(--ink); background: #b8ccc2; border-color: #b8ccc2; }
.flow-stage small { color: #93aa9f; text-transform: uppercase; letter-spacing: .12em; font-size: 8px; font-weight: 800; }
.flow-stage.focus small { color: var(--green); }
.flow-stage strong { margin: 38px 0 auto; max-width: 230px; font-family: Georgia, serif; font-size: 21px; line-height: 1.25; font-weight: 400; }
.flow-stage span { padding-top: 15px; border-top: 1px solid rgba(255,255,255,.16); color: #9eafa6; font-size: 10px; }
.flow-stage.focus span { color: #405d50; border-color: rgba(32,35,31,.18); }
.institution-note { margin-top: 34px; display: grid; grid-template-columns: 1fr 2fr; gap: 34px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.17); }
.institution-note strong { color: #dce8e1; font-family: Georgia, serif; font-size: 18px; font-weight: 400; }
.institution-note p { max-width: 680px; margin: 0; color: #9eafa6; font-size: 12px; line-height: 1.65; }

.boundaries { padding-top: 115px; padding-bottom: 125px; border-top: 1px solid var(--rule); }
.boundaries .section-intro { grid-template-columns: .7fr 2.5fr; }
.boundary-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--ink); }
.boundary-grid div { padding: 28px 28px 0 0; border-right: 1px solid var(--rule); min-height: 185px; }
.boundary-grid div + div { padding-left: 28px; }
.boundary-grid div:last-child { border-right: 0; }
.boundary-grid strong { text-transform: uppercase; color: var(--green); letter-spacing: .12em; font-size: 10px; }
.boundary-grid p { font-family: Georgia, serif; font-size: 17px; line-height: 1.55; }
.materiality-note { margin-top: 70px; padding: 48px; color: #f1f0e8; background: var(--green); border-radius: 14px; display: grid; grid-template-columns: .65fr 1.45fr .9fr; gap: 45px; align-items: start; }
.materiality-note > span { color: #a9c0b4; text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: 800; }
.materiality-note blockquote { margin: -7px 0 0; font-family: Georgia, serif; font-size: 30px; line-height: 1.18; letter-spacing: -.025em; }
.materiality-note p { margin: 0; color: #becac3; font-size: 12px; line-height: 1.6; }
.open-source { padding: 70px 0 0; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.open-source .kicker { display: block; margin-bottom: 16px; padding: 0; }
.open-source h3 { margin: 0; max-width: 620px; font-family: Georgia, serif; font-size: 31px; line-height: 1.2; font-weight: 400; letter-spacing: -.025em; }
.button-outline { border: 1px solid var(--ink); min-width: 175px; }
.button-outline:hover { color: var(--paper); background: var(--ink); }

.beta { max-width: none; background: var(--orange-soft); padding-top: 80px; padding-bottom: 80px; display: grid; grid-template-columns: 1.5fr .5fr; align-items: end; gap: 60px; }
.beta > * { max-width: 800px; }
.beta-copy { margin-left: max(0px, calc((100vw - 1172px) / 2)); }
.beta .kicker { display: block; margin-bottom: 20px; color: var(--orange); }
.beta h2 { max-width: 800px; }
.beta p { font-family: Georgia, serif; color: #66584d; font-size: 17px; line-height: 1.55; max-width: 650px; }
.beta-action { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.button-light { background: var(--paper); border: 1px solid rgba(32,35,31,.25); }
.beta-action small { color: #796b60; max-width: 230px; line-height: 1.4; }

.site-footer { max-width: 1240px; min-height: 150px; margin: 0 auto; padding: 40px 34px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; color: var(--muted); font-size: 11px; }
.site-footer p:nth-child(2) { text-align: center; }
.site-footer p:last-child { text-align: right; }
.footer-link { border-bottom: 1px solid currentColor; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 60px; }
  .review-card { max-width: 650px; transform: none; }
  .section-intro { grid-template-columns: 1fr; gap: 14px; }
  .section-intro .kicker { padding-top: 0; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .lens-card, .lens-card.wide { grid-column: auto; }
  .result-image-wrap { height: 520px; }
  .regression-proof { grid-template-columns: 1fr 1fr; }
  .regression-proof p { grid-column: 1 / -1; }
  .section-intro.inverse, .steps li { grid-template-columns: 130px 1fr; }
  .why { grid-template-columns: 1fr; }
  .so-what-copy { grid-template-columns: 1fr 1fr; }
  .so-what-copy h2 { grid-column: 1 / -1; }
  .future-flow { grid-template-columns: 1fr; }
  .future-flow > i { justify-content: center; transform: rotate(90deg); }
  .gap-graphic { order: 2; }
  .beta { grid-template-columns: 1fr; }
  .beta-copy { margin-left: 0; }
  .materiality-note { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 620px) {
  .section-shell, .site-header, .site-footer { padding-left: 20px; padding-right: 20px; }
  .site-header { height: 70px; }
  .site-header .wordmark > span:last-child { display: none; }
  .header-cta { padding: 9px 12px; }
  .header-github { padding: 9px 12px; }
  .hero { padding-top: 55px; padding-bottom: 65px; min-height: 0; }
  h1 { font-size: 55px; }
  .lede { font-size: 18px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .signal-strip { justify-content: flex-start; overflow: hidden; white-space: nowrap; }
  .reviews { padding-top: 90px; padding-bottom: 90px; }
  .product-view { padding-top: 90px; }
  .product-caption { grid-template-columns: 1fr; gap: 10px; }
  .review-grid { grid-template-columns: 1fr; }
  .lens-card { min-height: 245px; }
  .test-results { padding-top: 85px; padding-bottom: 90px; }
  .result-gallery { grid-template-columns: 1fr; gap: 55px; }
  .result-image-wrap { height: auto; max-height: 620px; }
  .result-example figcaption { grid-template-columns: 1fr; gap: 8px; }
  .how { padding-top: 85px; padding-bottom: 90px; }
  .section-intro.inverse, .steps li { grid-template-columns: 1fr; }
  .steps li > span { margin-bottom: 18px; }
  .steps li div { grid-template-columns: 1fr; gap: 8px; }
  .why { padding-top: 90px; padding-bottom: 90px; }
  .so-what { padding: 88px 0; }
  .so-what-copy { grid-template-columns: 1fr; }
  .so-what-copy h2 { grid-column: auto; }
  .future-flow { margin-top: 50px; }
  .institution-note { grid-template-columns: 1fr; gap: 15px; }
  .gap-graphic { height: auto; min-height: 0; grid-template-columns: 1fr; }
  .gap-side { min-height: 300px; }
  .gap-side strong { margin-top: 45px; }
  .gap-center { min-height: 72px; padding: 0 22px; flex-direction: row; }
  .gap-center i { width: 100%; height: 1px; }
  .boundaries { padding-top: 85px; padding-bottom: 85px; }
  .boundary-grid { grid-template-columns: 1fr; }
  .boundary-grid div, .boundary-grid div + div { border-right: 0; border-bottom: 1px solid var(--rule); padding: 25px 0; min-height: 0; }
  .materiality-note { margin-top: 50px; padding: 30px 24px; }
  .materiality-note blockquote { font-size: 25px; }
  .open-source { align-items: flex-start; flex-direction: column; }
  .beta { padding-top: 65px; padding-bottom: 65px; }
  .site-footer { grid-template-columns: 1fr; gap: 16px; padding-top: 35px; padding-bottom: 35px; }
  .site-footer p:nth-child(2), .site-footer p:last-child { text-align: left; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
