:root {
  color-scheme: light;
  --paper: #f6f6f0;
  --ink: #182e2a;
  --muted: #53645c;
  --green: #176b52;
  --surface: #e8eee6;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--green); }
a:focus-visible, video:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
header, main, footer { max-width: 1160px; margin: auto; padding-inline: 32px; }
header { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { font-size: 28px; font-weight: 750; letter-spacing: -1px; text-decoration: none; }
nav { display: flex; gap: 24px; align-items: center; font-size: 15px; }
.language { text-decoration: none; padding: 8px 12px; background: var(--surface); border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.08; letter-spacing: -.04em; font-weight: 650; margin: 0 0 22px; }
h2 { font-size: clamp(26px, 3vw, 35px); line-height: 1.2; letter-spacing: -.025em; font-weight: 600; margin: 0 0 22px; }
h3 { font-size: 21px; line-height: 1.35; margin: 0 0 10px; }
p { text-wrap: pretty; max-width: 60ch; }
.hero { padding: 36px 0 28px; }
.lead { font-size: 21px; line-height: 1.6; max-width: 60ch; margin: 0; }
.actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin: 24px 0 12px; }
.button { display: inline-block; padding: 12px 22px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 17px; background: var(--green); color: white; }
.button:hover { background: #10523e; color: white; }
.button:active { transform: translateY(1px); }
.note, figcaption { font-size: 14px; color: var(--muted); }
.note { margin: 8px 0; }
.preview { margin: 0 0 68px; }
.preview img, .demo img { width: 100%; height: auto; display: block; }
figcaption { margin-top: 12px; }
.topics { padding: 0 0 70px; }
.topic-list { list-style: none; margin: 0; padding: 0; }
.topic-list li { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; padding: 16px 0; }
.topic-list a { font-size: 21px; font-weight: 600; }
.topic-list p { margin: 0; }
.demo { margin: 0; padding: 0 0 70px; }
.demo-links { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 16px; }
.demo-links a { padding: 8px 18px; border-radius: 6px; text-decoration: none; background: var(--surface); }
.demo-links a[aria-current] { background: var(--ink); color: var(--paper); }
.demo figure { margin: 0; }
.story { padding: 0 0 60px; }
.story p { max-width: 60ch; }
.install { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; padding: 32px; margin-bottom: 65px; background: var(--surface); }
.install ol { padding-left: 22px; margin-top: 0; }
.install li { padding-bottom: 12px; }
footer { padding-top: 12px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; font-size: 14px; }
.reader-page { max-width: 860px; padding-top: 32px; padding-bottom: 64px; }
.reader-page h1 { font-size: clamp(36px, 5vw, 58px); }
.reader-page section { margin-top: 48px; }
.reader-page h2 { font-size: 28px; }
.reader-page figure { margin: 28px 0; }
.reader-page img { width: 100%; height: auto; display: block; }
.reader-page pre { padding: 22px; overflow: auto; background: var(--surface); border-radius: 6px; font-size: 15px; }
.reader-page code { overflow-wrap: anywhere; }
.reader-page li { padding-bottom: 10px; }
.reader-page .download { background: var(--surface); padding: 28px; }
.related { display: flex; gap: 22px; flex-wrap: wrap; }
@media (max-width: 700px) {
  header, main, footer { padding-inline: 22px; }
  header { min-height: 76px; }
  nav { gap: 14px; font-size: 14px; }
  nav .docs { display: none; }
  .hero { padding-top: 24px; }
  .lead { font-size: 18px; }
  h1 { letter-spacing: -.035em; }
  .preview { margin-bottom: 48px; }
  .topic-list li { grid-template-columns: 1fr; gap: 8px; padding-block: 14px; }
  .topics, .demo, .story { padding-bottom: 48px; }
  .install { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .reader-page { padding-top: 22px; }
  .reader-page h1 { font-size: 36px; }
  .reader-page h2 { font-size: 26px; }
  .reader-page .download { padding: 22px; }
}

.site-privacy { flex-basis: 100%; font-size: 13px; margin: 0; }
