/* Fonts are served from this site; no visitor data goes to third parties. */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/fonts/Inter-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('/fonts/Inter-Medium.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('/fonts/Inter-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'DM Serif Display'; font-weight: 400; font-display: swap; src: url('/fonts/DMSerifDisplay-Regular.ttf') format('truetype'); }

/* Pagora colors (same as lib/core/theme/app_theme.dart). */
:root {
  --bg: #F7F1E3;
  --surface: #FFFDF8;
  --border: #E8DDC6;
  --text: #2B2622;
  --muted: #6E645B;
  --accent: #C8553D;
  --accent-soft: #EBDCCB;
  --on-accent-soft: #5B3A29;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C1A18;
    --surface: #2A2724;
    --border: #3A3531;
    --text: #F3E6D3;
    --muted: #B3A797;
    --accent: #E07A5F;
    --accent-soft: #3E2A1F;
    --on-accent-soft: #F3E6D3;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.65;
}

main { max-width: 760px; margin: 0 auto; padding: 32px 20px 64px; }

header.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 36px; }
header.brand img { width: 44px; height: 44px; border-radius: 12px; }
header.brand span { font-family: 'DM Serif Display', serif; font-size: 24px; }
header.brand nav { margin-left: auto; }
header.brand nav a {
  color: var(--on-accent-soft);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

h1 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(32px, 6vw, 44px);
  line-height: 1.1;
  margin: 0 0 8px;
}

.updated { color: var(--muted); margin: 0 0 28px; }

.summary {
  background: var(--accent-soft);
  color: var(--on-accent-soft);
  border-radius: 20px;
  padding: 18px 20px;
  font-weight: 500;
  margin-bottom: 28px;
}

section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 22px;
  margin-bottom: 14px;
}
section h2 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 22px; margin: 0 0 6px; }
section p, section li { color: var(--muted); margin: 6px 0; }
section ul { padding-left: 20px; margin: 8px 0 0; }
section strong { color: var(--text); font-weight: 600; }
section a { color: var(--accent); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
section a:hover { text-decoration: underline; }

footer { color: var(--muted); font-size: 14px; text-align: center; margin-top: 32px; }
