@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("figtree-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("figtree-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #ffffff;
  --ink: #0a0a0a;
  --muted: #5c5c66;
  --line: #e6e6ea;
  --accent: #4b53c2;
  --soft: #f3f4fc;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0a0a0a;
    --ink: #f4f4f6;
    --muted: #a3a3ad;
    --line: #26262c;
    --accent: #8d9df5;
    --soft: #15162a;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: 680px; margin: 0 auto; padding: 0 20px; }

/* Landing */
.hero { min-height: 100vh; display: flex; flex-direction: column; }
.hero main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 48px; padding-bottom: 48px; }
.logo { width: min(280px, 70vw); height: auto; }
.badge { display: inline-block; margin-top: 32px; padding: 4px 12px; border-radius: 999px; background: var(--soft); color: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.hero h1 { margin: 16px 0 12px; font-size: clamp(28px, 6vw, 40px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
.lead { margin: 0 auto; max-width: 34em; color: var(--muted); text-wrap: pretty; }
.points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; text-align: left; max-width: 30em; }
.points li { padding-left: 28px; position: relative; }
.points li::before { content: ""; position: absolute; left: 6px; top: 0.6em; width: 8px; height: 8px; background: var(--accent); }

footer { border-top: 1px solid var(--line); padding: 20px 0; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* Document pages */
.doc header { padding: 24px 0; border-bottom: 1px solid var(--line); }
.doc header a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 18px; }
.doc header img { width: 32px; height: 32px; }
.doc main { padding-top: 40px; padding-bottom: 56px; }
.doc h1 { margin: 0 0 8px; font-size: clamp(28px, 5vw, 36px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
.doc h2 { margin: 36px 0 8px; font-size: 20px; line-height: 1.3; font-weight: 600; }
.doc p, .doc ul { margin: 0 0 12px; text-wrap: pretty; }
.doc ul { padding-left: 22px; }
.updated { color: var(--muted); font-size: 15px; }
