/* Beenie's own palette — docs/DESIGN.md. Oyster ground, navy accent. */
:root {
  --surface: #F1EFE9;
  --raised: #FFFFFF;
  --accent: #0E2E4C;
  --on-accent: #F8F6F0;
  --text: #101C26;
  --text-secondary: #54606A;
  --rule: #DEDAD0;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

header {
  background: var(--accent);
  color: var(--on-accent);
  padding: 2.5rem 1.5rem;
}

header .wrap { max-width: 44rem; margin: 0 auto; }

header h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
}

header p { margin: .4rem 0 0; opacity: .85; font-size: .95rem; }

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

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

h2 {
  font-size: 1.15rem;
  margin: 2.25rem 0 .6rem;
  color: var(--accent);
}

h2:first-child { margin-top: 0; }

h3 { font-size: 1rem; margin: 1.5rem 0 .4rem; }

p, li { color: var(--text); }

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

strong { font-weight: 600; }

.card {
  background: var(--raised);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

footer {
  border-top: 1px solid var(--rule);
  margin-top: 3rem;
  padding-top: 1.25rem;
  color: var(--text-secondary);
  font-size: .875rem;
}

footer a { color: var(--text-secondary); }

@media (prefers-color-scheme: dark) {
  /* Deliberately minimal: the app ships light-only (7c), so these pages
     stay legible in dark rather than pretending to a dark design. */
  :root { --surface: #14191F; --raised: #1B2229; --text: #ECEAE4;
          --text-secondary: #A8B0B8; --rule: #2C343C; --accent: #9DC2E6; }
  header { background: #0E2E4C; }
}
