:root {
  color-scheme: light;
  --paper: #f5f3eb;
  --ink: #20251e;
  --muted: #586052;
  --line: #d3d5c8;
  --accent: #d5f76c;
  --purple: #6942a0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid var(--purple); outline-offset: 6px; }
.site-header, main, footer { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 34px 0; border-bottom: 1px solid var(--line); }
.wordmark { position: relative; display: inline-block; padding-bottom: 12px; font: 46px/.9 Georgia, "Times New Roman", serif; font-weight: bold; text-decoration: none; letter-spacing: -3px; }
.limit { position: absolute; bottom: -2px; left: 0; width: 100%; font: 12px/1 system-ui, sans-serif; letter-spacing: 0; text-align: center; }
nav { display: flex; gap: 30px; font-size: 14px; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.skip-link { position: absolute; top: -100px; left: 1rem; padding: .75rem; background: var(--accent); z-index: 10; }
.skip-link:focus { top: 1rem; }
.hero { padding-top: 78px; }
.eyebrow { font-size: 11px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 8px; height: 8px; background: #4b6b21; border-radius: 50%; margin-right: 8px; }
.hero-heading { display: flex; align-items: center; gap: clamp(36px, 6vw, 80px); }
.hero-limit { flex-shrink: 0; text-align: center; font: clamp(120px, 17vw, 210px)/.85 Georgia, "Times New Roman", serif; letter-spacing: -.06em; }
.hero-limit span { display: block; margin-top: 18px; font: clamp(24px, 4vw, 40px)/1 Georgia, "Times New Roman", serif; letter-spacing: 0; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 24px 0 30px; font-size: clamp(56px, 7vw, 96px); line-height: .98; font-weight: 550; letter-spacing: -.075em; }
em { font-family: Georgia, "Times New Roman", serif; font-weight: normal; }
.intro { max-width: 650px; font-size: 22px; color: var(--muted); line-height: 1.55; }
.hero-actions { display: flex; gap: 26px; align-items: center; margin-top: 34px; }
.button { display: inline-flex; align-items: center; gap: 40px; background: var(--ink); color: var(--paper); padding: 14px 22px; text-decoration: none; border-radius: 3px; font-size: 14px; }
.button:hover { background: #39442e; }
.hero-note { font-size: 12px; color: var(--muted); line-height: 1.5; }
.principle { display: flex; align-items: center; gap: 42px; padding: 32px 0; margin-top: 62px; border-block: 1px solid var(--line); }
.equation { flex: 0 0 92px; text-align: center; font: 66px/.9 Georgia, "Times New Roman", serif; letter-spacing: -4px; }
.equation span { display: block; margin-top: 8px; font: 18px/1 Georgia, "Times New Roman", serif; letter-spacing: 0; }
.principle p { margin: 0; font-size: 17px; }
.principle small { display: inline-block; color: var(--muted); font-size: 13px; margin-top: 5px; }
.section { padding: 84px 0; border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1.08; font-weight: 550; letter-spacing: -.05em; margin-bottom: 28px; }
h3 { font-size: 20px; letter-spacing: -.025em; margin-bottom: 14px; }
.language { display: grid; grid-template-columns: 1fr 1.45fr; gap: 64px; align-items: center; }
.section-heading p:not(.eyebrow), .columns p, .speed-details p, .section-intro { color: var(--muted); font-size: 16px; }
code { font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
p code, dd code { font-size: .9em; }
.code-panel { margin: 0; min-width: 0; background: #eaece0; border: 1px solid #cbd0be; border-radius: 5px; overflow: hidden; }
figcaption { display: flex; align-items: center; gap: 8px; padding: 15px 20px; font: 12px ui-monospace, monospace; border-bottom: 1px solid #cbd0be; }
figcaption > span:last-child { margin-left: auto; color: var(--muted); font: 10px system-ui, sans-serif; }
.code-dot { width: 6px; height: 6px; border-radius: 50%; background: #718451; }
pre { margin: 0; padding: 30px 22px; overflow-x: auto; font-size: 13px; line-height: 1.95; tab-size: 2; }
.comment { color: #58654c; }
.keyword { color: #6942a0; }
.type { color: #245a79; }
.operator { color: #805017; }
.number { color: #345b1e; }
.code-caption { font-size: 12px; line-height: 1.6; padding: 18px 22px; color: var(--muted); border-top: 1px solid #cbd0be; }
.code-caption a { display: inline-block; margin-top: 8px; }
.manifesto h2 { max-width: 900px; }
.columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; margin-top: 52px; }
.feature-number { display: inline-block; margin-bottom: 20px; font: 12px ui-monospace, monospace; padding: 4px 10px; border: 1px solid var(--line); border-radius: 2px; }
.inline-example { display: block; overflow-x: auto; font-size: 11px; padding-block: 8px; white-space: nowrap; }
.safety { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; }
.checks { margin: 0; }
.checks > div { border-top: 1px solid var(--line); padding: 24px 0; }
.checks > div:first-child { border-top: none; padding-top: 0; }
dt { font-weight: 650; font-size: 18px; margin-bottom: 8px; }
dd { margin: 0; font-size: 15px; color: var(--muted); }
.speed { position: relative; }
.speed h2 { display: inline; background: var(--accent); box-shadow: 8px 0 var(--accent), -8px 0 var(--accent); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.speed-details { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 40px; }
.fine-print { font-size: 12px; color: var(--muted); margin-bottom: 0; }
.start { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px 64px; }
.commands { align-self: center; background: var(--ink); color: #eef1e6; border-radius: 4px; font-size: 14px; }
.release-note { grid-column: 1 / -1; max-width: 780px; margin-bottom: 0; font-size: 13px; color: var(--muted); }
footer { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 32px 0 42px; }
footer .wordmark { font-size: 32px; }
footer p { margin: 0; color: var(--muted); font-size: 12px; }
footer > a:last-child { font-size: 12px; }
@media (max-width: 900px) {
  .site-header, main, footer { width: calc(100% - 48px); }
  .language, .safety, .start { grid-template-columns: 1fr; gap: 32px; }
  .section-heading { max-width: 600px; }
  .columns { gap: 22px; }
}
@media (max-width: 600px) {
  .site-header, main, footer { width: calc(100% - 36px); }
  .site-header { padding-block: 24px; }
  nav { gap: 14px; font-size: 11px; }
  nav a:first-child { display: none; }
  .hero { padding-top: 48px; }
  .hero-heading { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-limit { font-size: 120px; margin-top: 20px; }
  .hero-limit span { font-size: 25px; margin-top: 10px; }
  .intro { font-size: 18px; }
  .eyebrow { font-size: 9px; letter-spacing: .09em; }
  .principle { gap: 20px; margin-top: 42px; }
  .principle p { font-size: 14px; }
  .section { padding-block: 52px; }
  .columns, .speed-details { grid-template-columns: 1fr; gap: 24px; }
  .feature-number { margin-bottom: 12px; }
  pre { padding: 22px 14px; font-size: 11px; }
  figcaption { padding-inline: 14px; }
  figcaption > span:last-child { font-size: 9px; }
  .commands { font-size: 11px; }
  footer { flex-wrap: wrap; gap: 20px; }
  footer p { flex-basis: 65%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
