/* Gold Pika — single stylesheet. No build step, no framework. */
:root {
  --ink: #1a1d21;
  --muted: #5b6470;
  --rule: #e2e6ea;
  --bg: #ffffff;
  --accent: #1f4e79;
  --accent-soft: #f2f6fa;
  --measure: 68ch;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8eaed; --muted: #9aa4b1; --rule: #2c3138;
    --bg: #14171a; --accent: #7fb3e0; --accent-soft: #1b2129;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

header.site { border-bottom: 1px solid var(--rule); padding: 18px 0; }
header.site .wrap { display: flex; flex-wrap: wrap; gap: 14px; align-items: baseline; justify-content: space-between; }
.brand { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand span { color: var(--muted); font-weight: 400; }
nav a { margin-left: 16px; font-size: 15px; }
nav a:first-child { margin-left: 0; }

main { padding: 40px 0 8px; }
h1 { font-size: 30px; line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 6px; }
h2 { font-size: 21px; margin: 34px 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 17px; margin: 24px 0 6px; }
p, li { color: var(--ink); }
.lede { font-size: 19px; color: var(--muted); margin-top: 0; }
.meta { font-size: 14px; color: var(--muted); margin: 0 0 26px; }
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 34px 0; }

.note {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  margin: 24px 0;
  font-size: 15.5px;
}
.note strong { display: block; margin-bottom: 4px; }
.card { border: 1px solid var(--rule); border-radius: 6px; padding: 18px 20px; margin: 18px 0; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
dl dt { font-weight: 600; margin-top: 14px; }
dl dd { margin: 4px 0 0; color: var(--muted); }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; margin: 18px 0; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; }

footer.site { border-top: 1px solid var(--rule); margin-top: 48px; padding: 22px 0 40px; font-size: 14.5px; color: var(--muted); }
footer.site a { color: var(--muted); }
footer.site .row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; }

/* Reader-focused copy blocks */
.stack { color: var(--muted); }
.tagline { font-size: 18px; margin-top: 22px; }
.lede { font-weight: 400; }

/* Gold Pika logo mark in the header */
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand .mark { width: 26px; height: 26px; flex: none; }

/* Landing-page call to action */
a.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: 7px;
  font-weight: 600;
  text-decoration: none;
}
a.cta:hover { filter: brightness(1.08); }
@media (prefers-color-scheme: dark) { a.cta { color: #10141a; } }
