/* Trufopif : couleurs et polices de l'app, aucune ressource externe. */
@font-face { font-family: Fredoka; src: url(fonts/Fredoka.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: Nunito; src: url(fonts/Nunito.ttf) format("truetype"); font-display: swap; }
:root { --cream: #FFF4E0; --card: #FFFBF3; --truffle: #3B2A20; --ochre: #D9A441; --trail: #FF7A2F; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--truffle); font: 17px/1.6 Nunito, system-ui, sans-serif; }
a { color: #A4501B; }
header, main, footer { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header { display: flex; align-items: center; gap: 12px; padding-top: 20px; flex-wrap: wrap; }
header a.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit;
  font: 600 26px Fredoka, sans-serif; }
header img { width: 48px; height: 48px; border-radius: 12px; }
nav { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; margin-left: auto; }
main { background: var(--card); border: 2.5px solid var(--truffle); border-radius: 18px; margin-top: 16px;
  padding: 8px 24px 24px; }
h1, h2, h3 { font-family: Fredoka, sans-serif; font-weight: 600; line-height: 1.25; }
h1 { font-size: 30px; }
h2 { font-size: 22px; margin-top: 32px; }
blockquote { margin: 16px 0; padding: 4px 16px; border-left: 4px solid var(--ochre); background: #FFF1D6; }
.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { border: 1px solid #E3D3B5; padding: 8px; text-align: left; vertical-align: top; }
th { background: #FBE9C8; }
code { font-size: 14px; background: #F4E6CC; padding: 1px 4px; border-radius: 4px; }
.draft { background: var(--trail); color: #fff; font-weight: 700; text-align: center; padding: 10px 16px; }
footer { font-size: 14px; padding: 20px 16px 40px; opacity: .8; }
@media (max-width: 560px) { main { padding: 4px 16px 16px; } h1 { font-size: 26px; } nav { margin-left: 0; } }
