/* Shared styles for the static public pages (about.html, privacy.html). They sit
   outside the React app so they can be read without signing in.
   Colours mirror the tokens in src/index.css. */
:root {
  --canvas: #ffffff;
  --subtle: #f7f7f5;
  --line: #e9e9e7;
  --ink: #37352f;
  --ink-muted: #787774;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #191919;
    --subtle: #252525;
    --line: #2f2f2f;
    --ink: #e3e2e0;
    --ink-muted: #9b9a97;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 16px/1.65 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 42rem; margin: 0 auto; padding: 3rem 1rem 4rem; }
.logo {
  display: block;
  width: 9rem;
  height: 2.5rem;
  background: var(--ink);
  -webkit-mask: url(/logo.png) left center / contain no-repeat;
  mask: url(/logo.png) left center / contain no-repeat;
}
h1 { font-size: 1.875rem; line-height: 1.25; margin: 2rem 0 0.25rem; }
h2 { font-size: 1.125rem; margin: 2.25rem 0 0.5rem; }
p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }
a { color: inherit; text-underline-offset: 2px; }
.muted { color: var(--ink-muted); font-size: 0.875rem; }
.summary { background: var(--subtle); border: 1px solid var(--line); border-radius: 0.5rem; padding: 1rem 1.25rem; }
.summary ul { margin: 0; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: 0.9375rem; }
th, td { text-align: left; vertical-align: top; padding: 0.5rem 0.75rem 0.5rem 0; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }
.table-wrap { overflow-x: auto; }
footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.lead { font-size: 1.125rem; color: var(--ink-muted); margin-bottom: 1.5rem; }
.button {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  background: var(--ink);
  color: var(--canvas);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.button:hover { opacity: 0.9; }
.features { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.features li { margin: 0; padding: 0.75rem 1rem; border: 1px solid var(--line); border-radius: 0.5rem; }
.features strong { display: block; }
.features span { color: var(--ink-muted); font-size: 0.9375rem; }
@media (min-width: 40rem) { .features { grid-template-columns: 1fr 1fr; } }
footer a + a { margin-left: 1rem; }
