/*
 * Synaura — Legal pages stylesheet
 *
 * Minimal, iOS/Safari-friendly rendering. No JS, no external fonts,
 * no analytics, no cookies. Passes Apple App Review "functional
 * link" expectations and is easy to read on the iPad Air 11-inch
 * (M3) which is the review device.
 */

:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #555555;
  --border: #e5e5e5;
  --link: #0066cc;
  --code-bg: #f5f5f7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0f;
    --fg: #f2f2f4;
    --muted: #a0a0a8;
    --border: #2a2a30;
    --link: #5aaaff;
    --code-bg: #18181c;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0 auto;
  max-width: 720px;
  padding: 28px 20px 72px;
  font: -apple-system-body;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
               "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
}

header.site-nav {
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 32px;
  display: flex;
  gap: 16px;
  align-items: baseline;
  flex-wrap: wrap;
}

header.site-nav .brand {
  font-weight: 600;
  font-size: 1.1em;
}

header.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95em;
}

header.site-nav a:hover,
header.site-nav a.active {
  color: var(--fg);
}

h1 {
  font-size: 1.7em;
  line-height: 1.25;
  margin: 0 0 0.2em;
  font-weight: 600;
}

h2 {
  font-size: 1.2em;
  margin: 2em 0 0.5em;
  padding-top: 0.2em;
  border-top: 1px solid var(--border);
  font-weight: 600;
}

h3 {
  font-size: 1.05em;
  margin: 1.2em 0 0.3em;
  font-weight: 600;
}

p, ul, ol {
  margin: 0.7em 0;
}

ul, ol {
  padding-left: 1.3em;
}

li { margin: 0.25em 0; }

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

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

em { color: var(--muted); }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2em 0;
}

footer.site-foot {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 16px;
  font-size: 0.85em;
  color: var(--muted);
}
