/* Apricorn's legal pages (served by activity/server/app.js at /terms and
   /privacy, outside sign-in, so Discord and anyone else can open them). The
   app's own slate and teal, as the landing page has them (2026-10-20); its
   fonts from Google Fonts, since these pages sit outside the Activity's
   build. */
:root {
  --bg: #0f1517; --panel: #151d20; --line: #2b363a; --text: #eef6f2; --muted: #a9b4b1; --brand: #8fd6cb;
  --font-display: "Sora", system-ui, sans-serif; --font-ui: "Work Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); font: 16px/1.6 var(--font-ui); -webkit-text-size-adjust: 100%; }
body { margin: 0; padding: 0 16px 64px; }
main { max-width: 760px; margin: 0 auto; }
header { display: flex; align-items: center; gap: 12px; padding: 28px 0 8px; }
header img { width: 40px; height: 40px; }
header a { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 20px; }
h1 { margin: 24px 0 4px; font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1.1; letter-spacing: -.02em; }
.updated { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
h2 { margin: 40px 0 10px; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
h3 { margin: 22px 0 6px; font-size: 16px; font-weight: 600; }
p, li { color: color-mix(in srgb, var(--text) 90%, transparent); }
a { color: var(--brand); }
ul { padding-left: 20px; }
li { margin: 6px 0; }
.short { padding: 18px 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.short h2 { margin-top: 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
td:first-child { font-weight: 600; width: 26%; }
td:last-child { width: 22%; color: var(--muted); }
.todo { color: #1a1208; background: var(--brand); padding: 0 4px; border-radius: 4px; font-weight: 600; }
footer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer nav { display: flex; gap: 16px; margin-bottom: 10px; }
@media (max-width: 560px) {
  h1 { font-size: 28px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  td { padding: 2px 0; border: 0; width: auto !important; white-space: normal !important; }
}
