/* Privacy, support and 404 pages: the app's paper, ink and handwriting, with plain reading text. */
@font-face {
  font-family: "Cedarville Cursive";
  src: url("/assets/fonts/CedarvilleCursive_400Regular.ttf") format("truetype");
  font-display: swap;
}
:root { color-scheme: light; --paper: #f4f1e8; --card: #fbf8f0; --ink: #2c3328; --muted: #5f6655; --rule: #d9d1bd; --green: #3f5a33; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
main { max-width: 760px; margin: 0 auto; padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 56px max(20px, env(safe-area-inset-left)); }
header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); margin-bottom: 30px; }
.brand { display: flex; gap: 12px; align-items: center; min-height: 56px; color: #24271f; text-decoration: none; }
.brand img { width: 52px; height: 52px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(36, 39, 31, .12); }
.brand span { font: 26px/1.05 "Cedarville Cursive", cursive; }
.brand small { font: 13px/1.4 -apple-system, BlinkMacSystemFont, system-ui, sans-serif; color: var(--muted); }
nav { display: flex; gap: 4px 22px; flex-wrap: wrap; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
nav a[aria-current="page"] { color: #24271f; text-decoration: none; font-weight: 600; }
h1, h2 { font-family: "Iowan Old Style", Baskerville, "New York", ui-serif, Georgia, serif; font-weight: 400; color: #24311f; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(34px, 8vw, 50px); margin: 0 0 14px; }
h2 { font-size: 25px; margin: 36px 0 8px; }
p { margin: 0 0 16px; }
.lede { font-size: 20px; line-height: 1.5; }
.muted, .updated { color: var(--muted); font-size: 15px; }
a { color: var(--green); text-underline-offset: 4px; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid #4f7a3f; outline-offset: 3px; border-radius: 4px; }
.contact { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 18px; margin: 2px 0 16px; border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 1.5px #3d4436; font-weight: 600; text-decoration: none; color: #24271f; }
footer { border-top: 1px solid var(--rule); margin-top: 44px; padding-top: 18px; color: var(--muted); font-size: 15px; }
footer p { margin: 0; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
.skip { position: absolute; left: 12px; top: -100px; background: var(--card); padding: 12px; border-radius: 8px; }
.skip:focus { top: 12px; }
.lost { text-align: center; padding-top: 12vh; }
.lost img { width: min(60vw, 240px); height: auto; margin: 0 auto 10px; display: block; }
.lost .hand { font: 26px/1.2 "Caveat", "Cedarville Cursive", cursive; color: #7a3f2c; margin: 0 0 22px; }
