:root {
  --bg: #0f1115;
  --surface: #171a21;
  --border: #272b35;
  --text: #e8eaed;
  --muted: #9aa0ac;
  --accent: #6aa9ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

header.site {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 17px;
}

.brand .mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #8f6aff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f1115;
  font-weight: 800;
  font-size: 14px;
}

nav.site a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 20px;
  font-size: 14px;
}

nav.site a:hover { color: var(--text); }

main {
  padding: 56px 0 80px;
}

h1 {
  font-size: 30px;
  margin: 0 0 8px;
}

h2 {
  font-size: 19px;
  margin: 32px 0 10px;
  color: var(--text);
}

p { color: var(--muted); }

.updated {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 36px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin: 28px 0;
}

.scopes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}

@media (max-width: 560px) {
  .scopes { grid-template-columns: 1fr; }
}

.scope {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text);
}

.scope .label { color: var(--muted); font-size: 12px; display: block; margin-top: 2px; }

ol, ul { color: var(--muted); padding-left: 20px; }
li { margin-bottom: 8px; }

a { color: var(--accent); }

footer.site {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--muted);
  font-size: 13px;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--text); }
