/* Parent-facing pages only (about, privacy, contact). The child app has its own styles; no legal text lives there.
   Colours are the app's palette (src/theme/colors.ts). Nunito is served from this origin (OFL: /fonts/OFL.txt). */
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url("/fonts/Nunito_400Regular.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("/fonts/Nunito_800ExtraBold.ttf") format("truetype"); }

:root { --paper: #fff8ee; --shade: #f6ebda; --ink: #2d2a4a; --soft: #5a5680; --action: #b83222; --sun: #ffc94d; --line: #e6d9c3; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.65 "Nunito", system-ui, sans-serif; }
a { color: var(--action); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 10; }

header.site { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 14px 20px; max-width: 1120px; margin: 0 auto; }
header.site .brand img { display: block; height: 60px; width: auto; max-width: 70vw; }
header.site nav { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; font-weight: 800; }
header.site nav a { color: var(--ink); text-decoration: none; padding: 10px 2px; min-height: 44px; display: inline-flex; align-items: center; }
header.site nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--sun); }

main { max-width: 760px; margin: 0 auto; padding: 8px 20px 56px; }
h1 { font-weight: 800; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.15; margin: 24px 0 12px; }
h2 { font-weight: 800; font-size: 1.5rem; line-height: 1.25; margin: 36px 0 8px; }
p, li { max-width: 68ch; }
ul { padding-left: 1.3em; }
li { margin: 6px 0; }
.lead { font-size: 1.3rem; color: var(--soft); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px 32px; border-radius: 999px; background: var(--action); color: #fff; font-weight: 800; font-size: 1.3rem; text-decoration: none; box-shadow: 0 4px 10px rgba(45, 42, 74, 0.18); }
.btn:hover { filter: brightness(0.94); }
.cta { margin: 28px 0 8px; }

.draft { background: #fff1cf; border: 2px solid var(--sun); border-radius: 14px; padding: 12px 16px; margin: 16px 0; font-weight: 800; }
.placeholder { background: #ffe3dd; border: 1px dashed var(--action); border-radius: 6px; padding: 1px 6px; font-weight: 800; white-space: nowrap; }
.meta { color: var(--soft); font-size: 1rem; }
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); padding: 0; list-style: none; }
.cards li { background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 14px 16px; margin: 0; }
.cards strong { display: block; font-weight: 800; }
table { border-collapse: collapse; width: 100%; font-size: 1rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { font-weight: 800; }
.scroll { overflow-x: auto; }

footer.site { background: var(--shade); padding: 24px 20px 36px; }
footer.site .inner { max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 1rem; }
footer.site a { display: inline-flex; align-items: center; min-height: 44px; }
@media (prefers-reduced-motion: no-preference) { .btn { transition: filter 0.15s; } }
.btn.small { min-height: 44px; padding: 6px 20px; font-size: 1.05rem; }
header.site nav a.btn { color: #fff; text-decoration: none; }
.contact-mail { font-size: 1.5rem; font-weight: 800; margin: 1.2rem 0; }
.contact-mail a { color: var(--ink); text-decoration-thickness: 3px; text-decoration-color: var(--sun); text-underline-offset: 6px; display: inline-flex; min-height: 48px; align-items: center; overflow-wrap: anywhere; }
