/* One stylesheet for all three pages. Deliberately plain: App Review opens these on a phone, and
   a policy that needs a framework to render is a policy that can fail to render. No fonts, no
   scripts, no external requests of any kind. */

:root {
  color-scheme: light dark;
  --ink: #16162a;
  --muted: #545474;
  --rule: #e3e3ef;
  --bg: #ffffff;
  --accent: #6c4cf0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f0f0f7;
    --muted: #a8a8c0;
    --rule: #2a2a3f;
    --bg: #101020;
    --accent: #a292ff;
  }
}

* { box-sizing: border-box; }

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

header { border-bottom: 1px solid var(--rule); padding-bottom: 1.25rem; margin-bottom: 2rem; }
.app-name { font-weight: 700; letter-spacing: -0.01em; }
.app-name a { color: var(--ink); text-decoration: none; }

h1 { font-size: 1.9rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.35rem; }
h2 { font-size: 1.2rem; margin: 2.25rem 0 0.6rem; letter-spacing: -0.01em; }
ul { padding-left: 1.15rem; }
li { margin: 0.35rem 0; }

.updated { color: var(--muted); font-size: 0.92rem; margin: 0 0 2rem; }
.lede { font-size: 1.06rem; color: var(--muted); }

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

.callout {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 0.9rem 1.1rem;
  margin: 1.5rem 0;
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}

.equation {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0.4rem 0;
}

footer {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.92rem;
}
footer a { margin-right: 1rem; }
