/* SpeakOnce site — one stylesheet, no external assets. Light/dark via prefers-color-scheme. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #f4f4f8;
  --text: #1c1c1e;
  --muted: #5a5a62;
  --border: #d9d9e0;
  --accent: #4b47c9;
  --focus: #4b47c9;
  --measure: 42rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121214;
    --surface: #1d1d21;
    --text: #ececf0;
    --muted: #a6a6b0;
    --border: #34343b;
    --accent: #a3a0ff;
    --focus: #a3a0ff;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: break-word;
}
.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--accent); color: var(--bg);
  padding: .5rem .75rem; border-radius: .375rem; z-index: 10;
}
.skip:focus { top: 1rem; }
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 1rem; }
header.site { border-bottom: 1px solid var(--border); }
header.site .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem 1.25rem; padding-top: 1rem; padding-bottom: 1rem;
}
.brand { font-weight: 700; color: var(--text); text-decoration: none; font-size: 1.125rem; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
nav a { display: inline-block; padding: .25rem 0; }
main { padding-top: 2rem; padding-bottom: 3rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 .5rem; }
h2 { font-size: 1.375rem; line-height: 1.3; margin: 2.25rem 0 .5rem; }
h3 { font-size: 1.125rem; margin: 1.5rem 0 .25rem; }
p, ul, ol, dl { margin: 0 0 1rem; }
li { margin-bottom: .35rem; }
a { color: var(--accent); text-underline-offset: .15em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.meta { color: var(--muted); font-size: .9375rem; }
.lead { font-size: 1.1875rem; }
.box { background: var(--surface); border: 1px solid var(--border); border-radius: .75rem; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.box > :last-child { margin-bottom: 0; }
dl.facts dt { font-weight: 600; margin-top: .75rem; }
dl.facts dd { margin: 0 0 .25rem; }
details { border-top: 1px solid var(--border); padding: .75rem 0; }
details:last-of-type { border-bottom: 1px solid var(--border); }
summary { cursor: pointer; font-weight: 600; }
details > :not(summary) { margin-top: .5rem; }
footer.site { border-top: 1px solid var(--border); color: var(--muted); font-size: .9375rem; }
footer.site .wrap { padding-top: 1.25rem; padding-bottom: 2rem; }
footer.site ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
