:root {
  color-scheme: light;
  --paper: #f5f2ec;
  --surface: #fffefa;
  --ink: #25251f;
  --muted: #74736b;
  --line: #e5e1d8;
  --green: #315c49;
  --green-soft: #e9eee7;
  --amber: #8e5b12;
  --amber-soft: #fff3db;
  --serif: Iowan Old Style, Baskerville, "Palatino Linotype", Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid #76967a; outline-offset: 4px; border-radius: 4px; }
.page-shell { width: min(1240px, calc(100% - 64px)); margin: 0 auto; }
.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-size: 20px; font-weight: 700; letter-spacing: -.7px; }
.brand img { display: block; width: 34px; height: 34px; }
.site-header nav { display: flex; align-items: center; gap: 32px; }
.site-header nav a, .github-link, .site-footer>a:last-child { color: var(--muted); font-size: 12px; text-decoration: none; }
.site-header nav a:hover, .github-link:hover, .site-footer>a:last-child:hover, .text-link:hover { color: var(--green); }
.github-link { color: var(--green); font-weight: 600; }
.github-link span, .site-footer>a:last-child span { padding-left: 5px; }

.hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(36px, 6vw, 82px); padding: clamp(62px, 8vw, 112px) 0 92px; }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--green); font: 10px/1.4 var(--mono); letter-spacing: 1.1px; text-transform: uppercase; }
.eyebrow-rule { width: 21px; height: 1px; background: #73917a; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 19px 0 16px; font: 500 clamp(45px, 5.3vw, 72px)/1.02 var(--serif); letter-spacing: -2.5px; text-wrap: balance; }
h1 em { color: #65816a; font-weight: 500; }
.lede { max-width: 510px; margin-bottom: 26px; color: var(--muted); font-size: 15px; line-height: 1.8; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; gap: 21px; flex-wrap: wrap; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 17px; border-radius: 7px; text-decoration: none; font-size: 12px; font-weight: 650; transition: background-color 140ms ease, transform 140ms ease; }
.button:active { transform: scale(.96); }
.button-primary { background: var(--green); color: white; box-shadow: 0 5px 14px #315c4920; }
.button-primary:hover { background: #274d3a; }
.text-link { color: var(--green); font-size: 12px; font-weight: 650; text-decoration: none; }
.text-link span { padding-left: 5px; }
.static-notice { display: flex; gap: 12px; align-items: flex-start; margin-top: 31px; padding: 15px; border: 1px solid #ead7b2; border-radius: 9px; background: var(--amber-soft); }
.notice-mark { flex: 0 0 21px; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: #f4e4c5; color: var(--amber); font: 600 12px var(--serif); }
.static-notice strong { display: block; margin: 0 0 3px; color: #6f4a14; font-size: 11px; }
.static-notice p { margin: 0; color: #786344; font-size: 11px; line-height: 1.55; }
.facts { display: flex; gap: clamp(20px, 4vw, 42px); margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.facts div { display: grid; gap: 2px; }
.facts strong { color: var(--green); font: 500 23px/1.1 var(--serif); }
.facts span { color: #8a887f; font-size: 10px; }
.image-frame { overflow: hidden; margin: 0; border: 1px solid #e3dfd6; border-radius: 12px; background: var(--surface); box-shadow: 0 12px 36px #312c2110; }
.image-frame img { display: block; max-width: 100%; height: auto; outline: 1px solid rgb(0 0 0 / 10%); outline-offset: -1px; }
.hero-image img { width: 100%; }
.image-frame figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; color: #838177; font-size: 10px; }
.image-frame figcaption span:last-child { text-align: right; }

.section { padding: 80px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 680px; margin-bottom: 30px; }
.section-heading h2, .local-run h2, .limits h2 { margin: 11px 0 10px; font: 500 clamp(31px, 3.7vw, 46px)/1.1 var(--serif); letter-spacing: -1px; text-wrap: balance; }
.section-intro { max-width: 590px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; text-wrap: pretty; }
.approach-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.approach-card { min-height: 178px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.approach-card .card-index { display: block; margin-bottom: 28px; color: #88a08a; font: 10px var(--mono); }
.approach-card h3 { margin: 0 0 7px; font-size: 15px; letter-spacing: -.2px; }
.approach-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.decision-card { border-color: #ead8b6; background: #fffaf0; }
.decision-card .card-index { color: #a17a3c; }

.screenshots-section { padding-top: 74px; }
.screenshots-heading { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.screenshots-heading .section-intro { max-width: 400px; padding-bottom: 14px; }
.review-figure img { width: 100%; }
.mobile-row { display: grid; grid-template-columns: minmax(200px, 275px) minmax(0, 1fr); align-items: center; justify-content: center; gap: clamp(36px, 8vw, 100px); max-width: 860px; margin: 64px auto 0; }
.mobile-figure { justify-self: center; padding: 7px; border-radius: 14px; }
.mobile-figure img { width: 100%; border-radius: 8px; }
.mobile-caption { max-width: 440px; }
.mobile-caption h3 { margin: 13px 0 9px; font: 500 clamp(27px, 3vw, 36px)/1.16 var(--serif); letter-spacing: -.6px; text-wrap: balance; }
.mobile-caption>p:last-child { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.local-run { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 38px; margin: 10px 0 0; padding: clamp(28px, 5vw, 54px); border-radius: 13px; background: #263f34; color: #fffefa; }
.local-run .eyebrow { color: #bdd0bf; }
.local-run .eyebrow-rule { background: #a5c0a6; }
.local-run h2 { max-width: 430px; margin-bottom: 12px; }
.local-run>div:first-child>p:last-child { max-width: 450px; margin: 0; color: #d1d8d0; font-size: 12px; line-height: 1.75; }
.run-details { min-width: 0; }
.run-details>p { margin: 0 0 9px; color: #cad6ca; font: 10px var(--mono); }
.run-details pre { overflow-x: auto; margin: 0 0 14px; padding: 15px; border: 1px solid #ffffff20; border-radius: 7px; background: #172d24; color: #e8eee6; font: 11px/1.5 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.run-details .text-link { color: #cde0cf; }
.run-details .text-link:hover { color: white; }

.limits { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 42px; align-items: start; padding: 78px 0; border-bottom: 1px solid var(--line); }
.limits h2 { max-width: 460px; }
.limits ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.limits li { position: relative; padding: 0 0 12px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.65; }
.limits li::before { position: absolute; top: 8px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #8ba08b; content: ""; }
.site-footer { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #89877e; font-size: 10px; }
.footer-brand { gap: 7px; font-size: 15px; }
.footer-brand img { width: 26px; height: 26px; }
.site-footer>a:last-child { color: var(--green); font-weight: 600; }

@media (max-width: 920px) {
  .page-shell { width: min(100% - 44px, 760px); }
  .hero { grid-template-columns: 1fr; gap: 34px; padding: 64px 0 72px; }
  .hero-copy { max-width: 660px; }
  .hero-image { max-width: 760px; }
  .approach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screenshots-heading { align-items: start; }
  .screenshots-heading .section-intro { max-width: 330px; }
}
@media (max-width: 620px) {
  .page-shell { width: calc(100% - 32px); }
  .site-header { min-height: 68px; gap: 10px; }
  .brand { gap: 6px; font-size: 17px; }
  .brand img { width: 30px; height: 30px; }
  .site-header nav { gap: 13px; }
  .site-header nav a, .github-link { font-size: 10px; }
  .github-link { max-width: 75px; line-height: 1.3; }
  .hero { gap: 28px; padding: 47px 0 54px; }
  h1 { font-size: clamp(43px, 12vw, 56px); letter-spacing: -1.7px; }
  .lede { font-size: 13px; }
  .hero-actions { align-items: flex-start; gap: 14px; }
  .button { min-height: 44px; }
  .text-link { align-self: center; font-size: 11px; }
  .static-notice { margin-top: 23px; padding: 12px; }
  .facts { gap: 23px; }
  .facts strong { font-size: 20px; }
  .image-frame { border-radius: 9px; }
  .image-frame figcaption { padding: 9px 10px; font-size: 9px; }
  .section { padding: 58px 0; }
  .section-heading h2, .local-run h2, .limits h2 { font-size: 34px; }
  .approach-grid { gap: 8px; }
  .approach-card { min-height: 0; padding: 14px; }
  .approach-card .card-index { margin-bottom: 19px; }
  .approach-card h3 { font-size: 13px; }
  .approach-card p { font-size: 10px; }
  .screenshots-heading { display: block; }
  .screenshots-heading .section-intro { padding: 0; }
  .mobile-row { grid-template-columns: minmax(0, 1fr); gap: 25px; margin-top: 36px; }
  .mobile-figure { width: min(100%, 260px); }
  .mobile-caption { max-width: none; }
  .local-run { grid-template-columns: 1fr; gap: 22px; padding: 24px 18px; }
  .run-details pre { font-size: 10px; }
  .limits { grid-template-columns: 1fr; gap: 17px; padding: 57px 0; }
  .site-footer { flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 17px 0; }
  .site-footer>span { order: 3; width: 100%; }
}
@media (max-width: 380px) {
  .page-shell { width: calc(100% - 24px); }
  .site-header nav { gap: 8px; }
  .site-header nav a { font-size: 9px; }
  .github-link { max-width: 62px; font-size: 9px; }
  .facts { gap: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
