:root {
  --bg: #ffffff; --fg: #1d1d1f; --muted: #6e6e73; --card: #f5f5f7; --line: #e5e5ea;
  --accent: #0a74ff; --accent-fg: #ffffff; --link: #0a5fd1;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b0d12; --fg: #f5f5f7; --muted: #a1a1a6; --card: #16191f; --line: #262a33; --accent: #2f8bff; --link: #6cb0ff; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.site-nav { border-bottom: 1px solid var(--line); }
.site-nav .wrap { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; padding-top: 12px; padding-bottom: 12px; font-size: 15px; }
.site-nav a { color: var(--fg); text-decoration: none; padding: 4px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--link); }
.site-nav .brand { font-weight: 700; margin-right: 8px; }
.site-nav .gh { margin-left: auto; color: var(--muted); }
header.hero { text-align: center; padding-top: 56px; }
header.hero img.icon { width: 96px; height: 96px; }
h1 { font-size: clamp(30px, 6vw, 48px); line-height: 1.12; letter-spacing: -0.02em; margin: 16px 0 12px; }
.lede { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); max-width: 680px; margin: 0 auto; }
.cta { display: inline-block; margin: 26px 0 8px; padding: 14px 28px; border-radius: 999px;
  background: var(--accent); color: var(--accent-fg); font-weight: 600; text-decoration: none; }
.cta:hover { filter: brightness(1.08); }
.meta { color: var(--muted); font-size: 14px; }
.meta a { color: inherit; }
picture img { display: block; width: 100%; height: auto; margin: 40px 0; border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18); }
h2 { font-size: 28px; letter-spacing: -0.01em; margin: 56px 0 16px; line-height: 1.2; }
h3 { font-size: 19px; margin: 28px 0 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.grid > div { background: var(--card); border-radius: 14px; padding: 20px; }
.grid h3 { margin: 0 0 6px; font-size: 17px; }
.grid p { margin: 0; color: var(--muted); font-size: 15px; }
ol li, ul li { margin-bottom: 8px; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { font-weight: 600; cursor: pointer; }
details p { color: var(--muted); margin: 8px 0 0; }
a { color: var(--link); }
code { background: var(--card); padding: 1px 6px; border-radius: 5px; font: 0.9em ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.crumbs { font-size: 14px; color: var(--muted); padding-top: 20px; }
.crumbs a { color: inherit; }
article { max-width: 760px; margin: 0 auto; }
article h1 { margin-top: 12px; }
article .lede { margin: 0 0 8px; max-width: none; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.note { background: var(--card); border-left: 4px solid var(--accent); border-radius: 8px; padding: 12px 16px; margin: 20px 0; font-size: 16px; }
.table-wrap { overflow-x: auto; margin: 20px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 640px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { background: var(--card); }
.cta-box { background: var(--card); border-radius: 16px; padding: 24px; margin: 48px 0 0; text-align: center; }
.cta-box p { margin: 0 0 4px; color: var(--muted); }
.cta-box .cta { margin-bottom: 0; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; padding: 0; list-style: none; }
.related li { margin: 0; }
.related a { display: block; background: var(--card); border-radius: 12px; padding: 14px 16px; text-decoration: none; }
footer.site-footer { color: var(--muted); font-size: 14px; padding: 56px 16px; text-align: center; max-width: 1040px; margin: 0 auto; }
footer.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; margin-bottom: 14px; }
footer.site-footer a { color: inherit; }
@media (max-width: 480px) { body { font-size: 16px; } h2 { font-size: 24px; } header.hero { padding-top: 36px; } }
