/*
  Last Set — legal pages.

  One stylesheet, no fonts loaded, no scripts, no analytics. A privacy policy
  that pulled in a third-party font would be a privacy policy that leaked an IP
  address to a CDN on the way to promising it did not, so everything here is
  system fonts and local CSS.
*/

:root {
  color-scheme: light dark;

  --bg: #f3f3f6;
  --surface: #ffffff;
  --border: #e2e2e8;
  --text: #16161a;
  --muted: #5a5a66;
  --faint: #7c7c88;
  --accent: #d2601a;
  --code-bg: #ececf1;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0c;
    --surface: #141418;
    --border: #26262e;
    --text: #f2f2f5;
    --muted: #a8a8b4;
    --faint: #8a8a96;
    --accent: #f08b3c;
    --code-bg: #1e1e25;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0 1.25rem 5rem;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
}

header.masthead {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  margin: 2.75rem 0 0.75rem;
  font-size: 1.3rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h3 {
  margin: 2rem 0 0.5rem;
  font-size: 1.05rem;
}

p,
ul,
ol {
  margin: 0 0 1.1rem;
}

ul,
ol {
  padding-left: 1.35rem;
}

li {
  margin-bottom: 0.5rem;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.updated {
  margin: 0;
  color: var(--faint);
  font-size: 0.9rem;
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
}

code {
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--code-bg);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
}

/* A block of quieter, secondary text — the "what this is not" notes. */
.note {
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.95rem;
}

.note p:last-child {
  margin-bottom: 0;
}

/* The index page's two cards. */
.cards {
  display: grid;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.cards li {
  margin: 0;
}

.cards a {
  display: block;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

.cards a:hover {
  border-color: var(--accent);
}

.cards strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.05rem;
  color: var(--accent);
}

.cards span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* The event table on the privacy page. Wide, so it scrolls on its own. */
.scroller {
  overflow-x: auto;
  margin: 0 0 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  padding: 0.6rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

th {
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: none;
}

.never {
  color: var(--muted);
}

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 0.9rem;
}

footer a {
  color: var(--muted);
}
