/* Ground Workout — legal + support pages.
   One stylesheet, no framework, no build step: these pages must stay trivially
   publishable to any static host and readable for years without maintenance. */

:root {
  --base: #fbfaf7;
  --text: #1c1c1e;
  --muted: #55555b;
  --brand: #16223d;
  --accent: #2f6df6;
  --rule: #e5e2db;
}

* { box-sizing: border-box; }

body {
  margin: 0 auto;
  padding: 2.5rem 1.25rem 5rem;
  max-width: 42rem;
  background: var(--base);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

header { margin-bottom: 2.5rem; }

.wordmark {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand);
  text-decoration: none;
}

h1 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.9rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--brand);
}

h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--brand);
}

h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1rem;
  color: var(--text);
}

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

p, li { color: var(--text); }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.5rem; }

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

strong { font-weight: 600; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
  display: block;
  overflow-x: auto; /* long rows scroll rather than breaking the page on a phone */
}

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

th { color: var(--muted); font-weight: 600; font-size: 0.85rem; }

.callout {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent);
  background: #fff;
}

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

footer a { margin-right: 1rem; }

@media (prefers-color-scheme: dark) {
  :root {
    --base: #12131a;
    --text: #ececf0;
    --muted: #9a9aa4;
    --brand: #dfe6f7;
    --accent: #7ea6ff;
    --rule: #2a2b36;
  }
  .callout { background: #191a23; }
}
