/* The game's small public site: privacy, terms, account deletion (apps/site/README.md). System fonts only, so a page
   about privacy makes no request to anyone but us. Gold and green come from the Warden's Crest card back. */
:root {
  --bg: #f4f5f2;
  --ink: #1d232b;
  --muted: #59616c;
  --rule: #d8dbd4;
  --gold: #85631a;
  --leaf: #2e5a3b;
  --panel: #e9ede6;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #12161a; --ink: #e7e9e6; --muted: #a0a8b0; --rule: #2c343b; --gold: #e0bb5e; --leaf: #8cc79c; --panel: #1b2420; color-scheme: dark; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap { max-width: 720px; margin: 0 auto; padding-block: 28px 64px; }
a { color: var(--leaf); text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.site { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.mark { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: 0.04em; color: var(--gold); text-decoration: none; }
.mark small { font-family: var(--body); font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.site nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; }
.site nav a[aria-current="page"] { color: var(--ink); text-decoration: none; font-weight: 600; }

main { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.25; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(30px, 6vw, 40px); }
h2 { font-size: 23px; margin-top: 22px; }
h3 { font-size: 18px; margin-top: 8px; }
p, ul, ol { margin: 0; max-width: 66ch; }
ul, ol { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.updated { color: var(--muted); font-size: 15px; }
.short { background: var(--panel); border-left: 3px solid var(--gold); padding: 14px 18px; border-radius: 0 6px 6px 0; display: flex; flex-direction: column; gap: 8px; }
.short h2 { margin-top: 0; font-size: 19px; }
.email { font-weight: 600; user-select: all; }
.note { color: var(--muted); font-size: 15px; }
footer { margin-top: 48px; padding-top: 14px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
