/* Colours and radii are Stoic Planner's tokens (packages/tokens/tokens.css). */
/* The font is served from here, not Google Fonts: no visitor's address goes to Google. */
@font-face { font-family: 'Rethink Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/RethinkSans_400Regular.ttf') format('truetype'); }
@font-face { font-family: 'Rethink Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('/assets/fonts/RethinkSans_500Medium.ttf') format('truetype'); }
@font-face { font-family: 'Rethink Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/RethinkSans_600SemiBold.ttf') format('truetype'); }
:root { --bg: #FAF9F7; --card: #FFFFFF; --ink: #0B0B0B; --muted: #8A867F; --line: #E6E3DE; --note: #EFEDE9; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #121211; --card: #1E1D1B; --ink: #F2F0EC; --muted: #9A968E; --line: #34322E; --note: #2B2A27; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 'Rethink Sans', -apple-system, BlinkMacSystemFont, sans-serif; -webkit-font-smoothing: antialiased; }
main { max-width: 680px; margin: 0 auto; padding: 48px 16px 80px; }
header a { color: var(--ink); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
header img { width: 24px; height: 24px; }
h1 { font-size: 34px; line-height: 40px; letter-spacing: -0.8px; font-weight: 600; margin: 32px 0 8px; }
h2 { font-size: 20px; font-weight: 600; margin: 32px 0 8px; }
.muted { color: var(--muted); }
.draft { background: var(--note); border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-top: 20px; }
a { color: var(--ink); }
ul { padding-left: 20px; }
footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer a { color: var(--muted); }
