@font-face { font-family: 'Nunito'; font-weight: 500; font-display: swap; src: url('/fonts/nunito-500.ttf') format('truetype'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url('/fonts/nunito-800.ttf') format('truetype'); }

:root {
  --bg: #FFF6E9; --card: #FFFDF8; --text: #2A2320; --muted: #74655A; --border: #EBDCC8;
  --ink: #B3420F; --pending: #FFE3A3;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #241F1B; --card: #372F29; --text: #F7EFE5; --muted: #BDAEA0; --border: #463C34; --ink: #FF8A52; --pending: #6B4E12; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 17px/1.6 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; }
a { color: var(--ink); text-underline-offset: 0.15em; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }

.top { border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.25rem; }
.brand img { border-radius: 22%; }
nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
nav a { text-decoration: none; font-weight: 800; padding: 0.5rem 0; }
nav a[aria-current="page"] { color: var(--text); }

main { padding-top: 2rem; padding-bottom: 3rem; }
h1 { font-weight: 800; font-size: 2rem; line-height: 1.2; margin: 0 0 0.75rem; }
h2 { font-weight: 800; font-size: 1.25rem; line-height: 1.3; margin: 2.25rem 0 0.5rem; }
p, li { margin: 0 0 0.9rem; }
ol { padding-left: 1.4rem; }
.lead { font-size: 1.2rem; }
.muted, .updated { color: var(--muted); }
.pendente { background: var(--pending); border-radius: 4px; padding: 0 0.2em; }

.hero { text-align: center; padding-top: 2rem; }
.hero img { border-radius: 22%; }
.hero h1 { font-size: 2.6rem; margin-top: 1rem; margin-bottom: 0.25rem; }

footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; padding-top: 1.25rem; padding-bottom: 2rem; }
