:root {
  --bg: #fbfaf7; --surface: #ffffff; --text: #1b1a17; --muted: #6b675f;
  --border: #e6e2d9; --accent: #1f6feb; --accent-ink: #ffffff; --accent-soft: #e8f0fe;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1115; --surface: #161a20; --text: #eceae4; --muted: #9a978f;
    --border: #2a3039; --accent: #5b9dff; --accent-ink: #0b1220; --accent-soft: #17263d;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1115; --surface: #161a20; --text: #eceae4; --muted: #9a978f;
  --border: #2a3039; --accent: #5b9dff; --accent-ink: #0b1220; --accent-soft: #17263d;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }
nav { border-bottom: 1px solid var(--border); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.logo-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 15px; }
.nav-links { display: flex; gap: 18px; font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.hero { padding: 80px 0 40px; }
h1 { font-size: clamp(32px, 5.5vw, 52px); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 18px; font-weight: 800; }
.lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 640px; margin: 0; }
.lede a { color: var(--accent); }
section { padding: 36px 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; text-decoration: none; transition: border-color .15s; }
a.card:hover { border-color: var(--accent); }
.card h3 { margin: 0; font-size: 18px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 3px 9px; border-radius: 999px; }
.more { color: var(--accent); font-weight: 600; font-size: 14px; margin-top: 4px; }
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 56px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); }
.doc h2 { font-size: 20px; margin: 32px 0 8px; letter-spacing: -.01em; }
.doc p, .doc li { color: var(--text); }
.doc a { color: var(--accent); }
.muted { color: var(--muted); }
footer { border-top: 1px solid var(--border); padding: 26px 0 40px; font-size: 14px; color: var(--muted); margin-top: 24px; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
