:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #5f6368;
  --line: #e3e3e8;
  --accent: #2f6fde;
  --note-bg: #f2f5fb;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111114;
    --surface: #1a1a1f;
    --text: #ececf1;
    --muted: #a3a3ad;
    --line: #2c2c33;
    --accent: #7aa7ff;
    --note-bg: #1b2130;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

header.site {
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}
header.site .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
}
header.site .brand img { width: 28px; height: 28px; }
header.site nav { display: flex; gap: 18px; font-size: 15px; }
header.site nav a { color: var(--muted); }
header.site nav a[aria-current="page"] { color: var(--text); font-weight: 600; }

.hero { text-align: center; padding: 56px 0 24px; }
.hero img { width: 128px; height: 128px; }
.hero h1 { font-size: 44px; line-height: 1.1; margin: 12px 0 8px; letter-spacing: -0.02em; }
.hero .lede { font-size: 21px; color: var(--muted); margin: 0 auto; max-width: 560px; }
.hero .status { margin-top: 18px; font-size: 15px; color: var(--muted); }

main h1 { font-size: 34px; line-height: 1.15; margin: 40px 0 4px; letter-spacing: -0.015em; }
main h2 { font-size: 22px; margin: 40px 0 10px; letter-spacing: -0.01em; }
main h3 { font-size: 18px; margin: 24px 0 6px; }
.updated { color: var(--muted); font-size: 15px; margin: 0 0 24px; }

.features { display: grid; gap: 14px; grid-template-columns: 1fr; padding: 0; list-style: none; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.features li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}
.features strong { display: block; margin-bottom: 2px; }
.features span { color: var(--muted); font-size: 15.5px; }

.note {
  background: var(--note-bg);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 20px 0;
}
.note p { margin: 6px 0; }

table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }
td code { font-size: 13.5px; word-break: break-all; }
.table-scroll { overflow-x: auto; }

code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.88em;
  background: var(--note-bg);
  border-radius: 5px;
  padding: 1px 5px;
}

footer.site {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
footer.site p { margin: 4px 0; }
footer.site a { color: var(--muted); text-decoration: underline; }
