/* The public pages' one stylesheet (home, privacy, support, invite). The deletion page keeps its own (delete/style.css)
 * with the same colours. The colours are checked for contrast by `npm run site:check`. */
:root {
  --bg: #140f0b;
  --card: #211913;
  --line: #3a2d22;
  --text: #f3e9dc;
  --dim: #c7b8a6;
  --accent: #2e9e4f;
  --link: #8fd4a4;
  --gold: #ffcf4a;
  --missing: #ff6b5e;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
main { max-width: 680px; margin: 0 auto; padding: 32px 16px 64px; }
header.site { max-width: 680px; margin: 0 auto; padding: 20px 16px 0; display: flex; gap: 16px; flex-wrap: wrap; align-items: baseline; }
header.site a.name { color: var(--text); font-weight: 800; letter-spacing: 0.06em; text-decoration: none; margin-right: auto; }
header.site nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 21px; line-height: 1.3; margin: 32px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 4px; }
p { margin: 0 0 12px; }
ul { margin: 0 0 12px; padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.lead { font-size: 19px; color: var(--text); }
.quiet { color: var(--dim); font-size: 15px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 16px 0; }
.card > :last-child { margin-bottom: 0; }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 16px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--dim); font-weight: 700; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 700; }
details[open] summary { margin-bottom: 8px; }
.button { display: block; text-align: center; font-weight: 700; border-radius: 12px; min-height: 48px; padding: 12px 16px; text-decoration: none; margin: 10px 0; }
.button.play { background: var(--accent); color: #fff; }
.button.secondary { border: 1px solid var(--line); color: var(--text); }
.code { font: 700 32px/1.2 ui-monospace, Menlo, monospace; letter-spacing: 0.08em; color: var(--gold); text-align: center; margin: 8px 0 12px; user-select: all; -webkit-user-select: all; }
mark.missing { background: transparent; color: var(--missing); font-weight: 700; border: 2px dashed var(--missing); padding: 0 4px; }
footer.site { max-width: 680px; margin: 0 auto; padding: 0 16px 40px; color: var(--dim); font-size: 14px; }
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
[hidden] { display: none !important; }
