/*
  One stylesheet, no build step.

  This site exists to be live on a real domain quickly: Google will not verify the YouTube
  scopes against localhost, and a privacy policy that is not published is not a policy. Flat
  HTML deploys to GitHub Pages straight from the repository, so connecting a domain is a DNS
  record rather than a pipeline.
*/
:root {
  --bg: #ffffff;
  --fg: #0a0a0a;
  --muted: #5c5f66;
  --border: #e5e7eb;
  --surface: #f7f8fa;
  --accent: #1d4ed8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0c0e;
    --fg: #f4f5f7;
    --muted: #9ca3af;
    --border: #23262b;
    --surface: #131519;
    --accent: #6d92ff;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
code { font-size: 0.9em; background: var(--surface); padding: 0.1em 0.35em; border-radius: 4px; }
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1.5rem; }
.prose { max-width: 38rem; }

header { border-bottom: 1px solid var(--border); }
header .wrap { display: flex; align-items: center; gap: 0.75rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; color: var(--fg); text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
header nav { margin-left: auto; font-size: 0.9rem; }
header nav a { color: var(--muted); text-decoration: none; }
header nav a:hover { color: var(--fg); }

h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: 1.15rem; margin: 2.5rem 0 0; }
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: 1.15rem; color: var(--muted); margin: 1.25rem 0 0; }
p { color: var(--muted); }
.prose p, .prose li { color: var(--muted); }
.prose h2 + p { margin-top: 0.5rem; }

section { padding: 3.5rem 0; border-top: 1px solid var(--border); }
section:first-of-type { border-top: 0; padding-top: 5rem; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.btn {
  display: inline-block; padding: 0.7rem 1.25rem; border-radius: 8px;
  font-size: 0.95rem; font-weight: 500; text-decoration: none;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
}
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn:hover { opacity: 0.9; }

ol.steps { list-style: none; padding: 0; margin: 1.75rem 0 0; }
ol.steps li { display: flex; gap: 1rem; margin-top: 1.5rem; }
ol.steps .n {
  flex: 0 0 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--surface);
  display: grid; place-items: center; font-size: 0.85rem; font-weight: 500; color: var(--fg);
}
ol.steps strong { color: var(--fg); font-weight: 600; }
ol.steps p { margin: 0.3rem 0 0; }

ul.plain { list-style: none; padding: 0; }
ul.plain li { margin-top: 0.5rem; color: var(--muted); }
ul.plain li::before { content: "· "; }

footer { border-top: 1px solid var(--border); margin-top: 3rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; padding: 2rem 1.5rem; font-size: 0.9rem; color: var(--muted); }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--fg); }
