:root {
  font-family: Inter, "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
  color: #1a1a1a;
  background: #faf9f6;
  --ink: #1a1a1a;
  --paper: #faf9f6;
  --surface: #f0efeb;
  --line: #d1cfc8;
  --muted: #6d6962;
  --accent: #d84636;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 5; padding: 10px 14px; color: white; background: var(--ink); }
.skip-link:focus { top: 16px; }
.site-header, main, footer { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.site-header { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--line); }
.wordmark { text-decoration: none; }
.wordmark strong, .wordmark span { display: block; }
.wordmark strong { font-size: 21px; letter-spacing: -.04em; }
.wordmark span { margin-top: 2px; font-size: 11px; color: var(--muted); }
nav { display: flex; gap: 28px; align-items: center; }
nav a { font-size: 13px; text-decoration: none; }
.repo-link { padding: 10px 14px; border: 1px solid var(--ink); }
.eyebrow { margin: 0 0 12px; color: var(--muted); font: 700 11px/1.2 ui-monospace, monospace; letter-spacing: .12em; }

.hero { min-height: 680px; padding: 76px 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr); gap: clamp(40px, 7vw, 92px); align-items: center; }
.hero h1 { max-width: 650px; margin: 0; font-size: clamp(48px, 5.5vw, 78px); line-height: .98; letter-spacing: -.065em; }
.lede { max-width: 560px; margin: 25px 0 0; font-size: 18px; line-height: 1.7; color: var(--muted); }
.hero-actions { display: flex; gap: 10px; margin-top: 32px; }
.hero-actions a { min-height: 46px; display: inline-flex; align-items: center; padding: 0 18px; border: 1px solid var(--ink); border-radius: 3px; text-decoration: none; }
.hero-actions .primary { color: white; background: var(--ink); }
.hero-actions a:hover { opacity: .82; }
.proof-list { list-style: none; margin: 54px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.proof-list li { padding: 17px 10px 0 0; }
.proof-list strong, .proof-list span { display: block; }
.proof-list strong { font-size: 26px; letter-spacing: -.04em; }
.proof-list span { margin-top: 4px; font-size: 11px; color: var(--muted); }

.product-frame { border: 1px solid var(--ink); background: white; box-shadow: 14px 14px 0 var(--surface); }
.frame-head { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; border-bottom: 2px solid var(--ink); font-weight: 760; }
.frame-head small { font: 600 10px/1.4 ui-monospace, monospace; }
.frame-head i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #36875e; }
.frame-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.frame-metrics span { min-height: 80px; padding: 14px 16px; border-right: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.frame-metrics span:last-child { border-right: 0; }
.frame-metrics strong { display: block; margin-top: 12px; color: var(--ink); font-size: 18px; }
.frame-metrics .danger { color: var(--accent); font-size: 15px; }
.task-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 20px; border-bottom: 1px solid var(--line); }
.task-row small { color: var(--muted); font: 700 9px/1.2 ui-monospace, monospace; }
.task-row h2 { margin: 8px 0 5px; font-size: 16px; }
.task-row p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.task-row button { flex: 0 0 auto; padding: 9px 10px; border: 1px solid var(--ink); background: white; color: var(--ink); }
.ready { flex: 0 0 auto; padding: 6px 8px; color: #206143; background: #dcece2; font-size: 10px; }
.safety-strip { display: flex; flex-wrap: wrap; gap: 9px 18px; padding: 16px 20px; color: white; background: var(--ink); font-size: 10px; }
.safety-strip strong { color: #83d6aa; }

.section { padding: 92px 0; border-top: 1px solid var(--line); }
.block-section > header { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.section h2 { max-width: 760px; margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.05; letter-spacing: -.05em; }
.feature-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.feature-grid article { min-height: 230px; padding: 20px 20px 20px 0; border-right: 1px solid var(--line); }
.feature-grid article:not(:first-child) { padding-left: 20px; }
.feature-grid article:last-child { border-right: 0; }
.feature-grid span { color: var(--accent); font: 700 11px/1 ui-monospace, monospace; }
.feature-grid h3 { margin: 54px 0 10px; font-size: 19px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.quickstart, .boundary { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.quickstart p:not(.eyebrow), .boundary-copy { color: var(--muted); line-height: 1.7; }
.quickstart a, .boundary a { display: inline-block; margin-top: 14px; color: var(--ink); font-weight: 650; }
pre { margin: 0; padding: 30px; overflow-x: auto; color: #f7f5ef; background: var(--ink); border-left: 5px solid var(--accent); font: 13px/1.9 ui-monospace, monospace; }
.boundary { color: white; background: var(--ink); width: calc(100% + 48px); margin-left: -24px; padding-inline: 24px; border-top: 0; }
.boundary .eyebrow { color: #9b978f; }
.boundary-copy { color: #cbc7bf; }
.boundary-copy ul { padding-left: 20px; }
.boundary-copy a { color: white; }
footer { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font: 600 11px/1.5 ui-monospace, monospace; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .product-frame { max-width: 720px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid article:nth-child(2) { border-right: 0; }
  .feature-grid article:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .quickstart, .boundary { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 620px) {
  .site-header, main, footer { width: min(100% - 32px, 1240px); }
  .site-header { min-height: 72px; }
  nav a:not(.repo-link) { display: none; }
  .hero { min-height: 0; padding: 58px 0 72px; }
  .hero h1 { font-size: 45px; }
  .lede { font-size: 16px; }
  .proof-list { margin-top: 38px; }
  .product-frame { box-shadow: 8px 8px 0 var(--surface); }
  .frame-head { align-items: flex-start; flex-direction: column; }
  .task-row { align-items: flex-start; flex-direction: column; }
  .section { padding: 68px 0; }
  .block-section > header { grid-template-columns: 1fr; gap: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article, .feature-grid article:not(:first-child) { min-height: 170px; padding: 20px 0; border-right: 0; border-top: 1px solid var(--line); }
  .feature-grid h3 { margin-top: 34px; }
  .boundary { width: calc(100% + 32px); margin-left: -16px; padding-inline: 16px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; }
}

