/* The public pages /about, /privacy and /terms (src/legal/staticPages.ts). Colors, type and spacing follow the
   Summit Study style guide: Lexend, alpine night (dark) and snow (light), glacier blue for links, summit green for
   the one main button. */
:root {
  --bg: #F4F7F9; --surface: #FFFFFF; --line: #D9E2E7; --ink: #15232B; --ink-muted: #5A6E78;
  --green: #1A7F4B; --on-green: #FFFFFF; --blue: #1F6FB2;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1A21; --surface: #17252E; --line: #2A3E49; --ink: #E8EFF2; --ink-muted: #93A7B1;
    --green: #45C27F; --on-green: #052113; --blue: #5AAEE8;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Lexend, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  font-size: 16px; line-height: 24px; font-weight: 400;
}
.top, main, footer {
  max-width: 560px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right));
}
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 17px; text-decoration: none; }
.brand img { width: 36px; height: 36px; aspect-ratio: 1; object-fit: contain; border-radius: 999px; background: var(--surface); border: 1px solid var(--line, rgba(128, 128, 128, 0.25)); }
main { padding-bottom: 32px; }
h1 { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.02em; margin: 32px 0 12px; }
h2 { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; margin: 24px 0 8px; }
p { margin: 0 0 12px; }
ul { margin: 0; padding-left: 20px; }
li { margin: 0 0 8px; }
.dated { color: var(--ink-muted); font-size: 13px; line-height: 18px; }
a { color: var(--blue); }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.open {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px;
  border-radius: 12px; background: var(--green); color: var(--on-green);
  font-size: 15px; line-height: 20px; font-weight: 600; text-decoration: none;
}
.top .open { min-height: 36px; padding: 0 12px; }
.cta { margin-top: 32px; }
footer { border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 32px; color: var(--ink-muted); font-size: 13px; line-height: 18px; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
footer nav a { font-size: 14px; line-height: 20px; font-weight: 500; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
footer nav a[aria-current="page"] { color: var(--ink); }
footer p { margin: 0; }
