/* Koko's legal pages, in the website's look (website/index.html): cream paper, brown outlines, a handwritten face */
@font-face { font-family: "Patrick Hand"; src: url(fonts/patrick-hand.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Quicksand; src: url(fonts/quicksand.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
:root { --ink: #4a3b32; --line: #5c4033; --paper: #fffdf9; --muted: #7d6a5e; --green: #d8f3dc; --link: #8a3b12;
        --hand: "Patrick Hand", "Segoe Print", "Comic Sans MS", cursive; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); font: 500 17px/1.65 Quicksand, "Segoe UI", system-ui, sans-serif; min-height: 100vh;
       background: radial-gradient(circle at 8% 10%, #c6dba8b3, transparent 40%), radial-gradient(circle at 95% 30%, #f7d8a6a0, transparent 38%),
                   radial-gradient(circle at 50% 100%, #cde0aeb3, transparent 42%), linear-gradient(#f9f1e2, #f7ecd5) fixed; }
header { max-width: 820px; margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.home { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 400 30px/1 var(--hand); text-decoration: none; }
.back { font: 400 19px var(--hand); color: var(--ink); background: var(--green); border: 2px solid var(--line); border-radius: 999px;
        padding: 6px 14px; box-shadow: 3px 3px 0 var(--line); text-decoration: none; }
main { max-width: 780px; margin: 0 auto 48px; padding: 28px 32px; background: var(--paper);
       border: 2.5px solid var(--line); border-radius: 26px 30px 24px 28px; box-shadow: 5px 5px 0 var(--line); }
h1, h2, h3 { font-family: var(--hand); font-weight: 400; line-height: 1.15; }
h1 { margin: 0; font-size: 44px; } h2 { margin: 1.4em 0 .3em; font-size: 30px; } h3 { margin: 1.2em 0 .2em; font-size: 23px; }
.for { margin-top: 4px; color: var(--muted); font-weight: 600; }
nav ul { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 0; margin: 12px 0 0; list-style: none; font-size: 15px;
         border-top: 2px dashed #5c403340; border-bottom: 2px dashed #5c403340; }
nav li[aria-current] { font-weight: 700; }
a { color: var(--link); text-underline-offset: 3px; } a:focus-visible { outline: 3px solid #ffb5a7; outline-offset: 2px; }
li { margin: 4px 0; }
.draft { padding: 10px 14px; background: #ffe08a; border: 2px solid var(--line); border-radius: 12px; font-weight: 700; }
.versions { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (max-width: 480px) { main { margin: 0 8px 32px; padding: 20px 18px; } h1 { font-size: 36px; } }
