/* One stylesheet for every page in this directory. No font is fetched, no image is loaded,
   and no script runs anywhere in site/ — the pages are text and links only. That is a
   deliberate constraint, not an accident of scope: a page that fetches nothing cannot set a
   cookie or report a visit, which is what lets the Privacy Policy say so plainly. */

:root {
  --ink: #1c1c1e;
  --ink-soft: #55555c;
  --page: #fdfdfb;
  --card: #ffffff;
  --rule: #e2e2dd;
  --accent: #4b4bd6;
  --flag-bg: #f3f2fb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ececf0;
    --ink-soft: #a6a6b0;
    --page: #17171a;
    --card: #1f1f23;
    --rule: #34343a;
    --accent: #a3a3f5;
    --flag-bg: #24242e;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 2.5rem 1.25rem 4rem;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
        sans-serif;
}

main {
  max-width: 42rem;
  margin: 0 auto;
}

h1 {
  font-size: 1.9rem;
  line-height: 1.25;
  margin: 0 0 0.35rem;
}

h2 {
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 2.4rem 0 0.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
}

h2:first-of-type { border-top: 0; padding-top: 0; }

p, li { color: var(--ink); }

ul { padding-left: 1.3rem; }

li { margin: 0.4rem 0; }

a { color: var(--accent); }

/* The date and contact line that every page carries. */
.meta {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0 0 2rem;
}

/* The one thing on a page that must be read before anything else — the 14+ rule on the Terms,
   and the "this is not the final legal word" line. Given a border rather than a colour alone,
   so it still reads as set apart in a high-contrast or greyscale rendering. */
.callout {
  background: var(--flag-bg);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
}

.callout p { margin: 0.5rem 0; }
.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

.callout strong { font-size: 1.08rem; }

nav.pages {
  margin: 2rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.7rem 0.55rem 0;
  border-bottom: 1px solid var(--rule);
}

th { color: var(--ink-soft); font-weight: 600; }

/* A table is the only wide thing on these pages, so it is the only thing that may scroll
   sideways. The page body itself never does. */
.scroll { overflow-x: auto; }

footer {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.9rem;
}
