/* Public pages share the product's type, spacing, colours (DESIGN.md) and readable line lengths. */
@font-face { font-family: Outfit; src: url('/fonts/Outfit-Latin.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url('/fonts/BricolageGrotesque-Latin.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
:root {
  color-scheme: light dark;
  --canvas: #EDF1EE; --surface: #FFFFFF; --ink: #301207; --muted: #77665E; --accent: #D9531E; --link: #AE4218; --hairline: #DADBD7; --note: #FCE6D8;
}
@media (prefers-color-scheme: dark) {
  :root { --canvas: #0D1211; --surface: #17221E; --ink: #FFEBE1; --muted: #928983; --accent: #FF7937; --link: #FF8A55; --hairline: #2A2C2A; --note: #2B2016; }
}
h1, h2 { font-family: "Bricolage Grotesque", Outfit, system-ui, sans-serif; }
body { margin: 0; padding: 32px 20px 56px; background: var(--canvas); color: var(--ink);
  font: 16px/1.6 Outfit, "Nirmala UI", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
main { max-width: 68ch; margin: 0 auto; }
p, li { text-wrap: pretty; }
header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
header img { width: 48px; height: 48px; border-radius: 12px; }
header strong { font-size: 1.15rem; }
h1 { font-size: clamp(1.625rem, 4vw, 2rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.2; margin: 0 0 12px; text-wrap: balance; }
h2 { font-size: 1.125rem; font-weight: 600; margin: 28px 0 8px; }
a { color: var(--link); font-weight: 600; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }
li { margin: 6px 0; }
.note { color: var(--muted); font-size: 0.95rem; }
.draft { background: var(--note); color: var(--ink); border: 1px solid var(--hairline); border-radius: 12px; padding: 10px 14px; font-weight: 600; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 8px 0; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--hairline); }
@media (max-width: 560px) { table { display: block; overflow-x: auto; } }
