/*
 * One stylesheet for the whole site, no external fonts or CDNs.
 *
 * Google's OAuth review opens these pages directly, so they have to render correctly and
 * fast with nothing else available — a blocked font or script would leave a reviewer looking
 * at a broken page and drawing conclusions from it.
 */

:root {
  --bg: #ffffff;
  --fg: #14161a;
  --muted: #5b6472;
  --line: #e4e7ec;
  --accent: #1e6fd9;
  --card: #f7f8fa;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --fg: #e8eaed;
    --muted: #a2abb8;
    --line: #262a31;
    --accent: #6ba4f0;
    --card: #171a20;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 72px;
}

header.site {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

header.site img { width: 40px; height: 40px; border-radius: 10px; }
header.site strong { font-size: 20px; letter-spacing: -0.01em; }

nav a {
  color: var(--accent);
  text-decoration: none;
  margin-left: 16px;
  font-size: 14px;
}

nav a:hover { text-decoration: underline; }

h1 { font-size: 30px; line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 12px; }
h2 { font-size: 19px; margin: 32px 0 8px; letter-spacing: -0.01em; }
h3 { font-size: 16px; margin: 20px 0 6px; }
p, li { color: var(--fg); }
.lead { font-size: 18px; color: var(--muted); margin-top: 0; }
.muted { color: var(--muted); }
small.updated { color: var(--muted); display: block; margin-bottom: 24px; }

ul { padding-left: 22px; }
li { margin: 6px 0; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 18px 0;
}

.card h3 { margin-top: 0; }

table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; }

code { background: var(--card); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; font-size: 14px; }

footer.site {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer.site a { color: var(--accent); }

/* The table is the widest thing here; let it scroll rather than the page. */
.scrollx { overflow-x: auto; }
