/* Help and legal pages. Same tokens as the landing page (index.html). Light only, like the app. */
:root {
  color-scheme: light;
  --paper: #FFFCF5; --paper-2: #EEE8DB; --card: #F5F1E8; /* app family: cream background, beige surface */
  --ink: #30372C; --ink-2: #626858; --line: #DADBD0;
  --forest: #294838; --on-forest: #FFFCF5; --olive-tint: #ECEBD9;
  --olive: #7A8040; --olive-ink: #5E662B; /* olive is the only accent */
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 "Public Sans", system-ui, sans-serif; overflow-wrap: break-word; }
a { color: var(--forest); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--olive-ink); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(760px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--forest); color: var(--on-forest); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { color: var(--ink); text-decoration: none; font: 600 1.2rem/1 "Newsreader", Georgia, serif; }
header nav a { font-size: .95rem; }

main { padding: 40px 0 64px; }
h1, h2, h3 { font-family: "Newsreader", Georgia, serif; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 2.9rem); margin: 0 0 12px; }
h2 { font-size: 1.5rem; margin: 40px 0 8px; }
h3 { font-size: 1.2rem; margin: 24px 0 4px; }
p, ul, ol { margin: 0 0 14px; }
li { margin-bottom: 6px; }
.meta { color: var(--ink-2); font-size: .95rem; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 24px 0; }
.box > :last-child { margin-bottom: 0; }
.alert { background: var(--olive-tint); border-color: transparent; }
.draft { display: inline-block; background: var(--olive-tint); color: var(--forest); font-size: .85rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-bottom: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--forest); color: var(--on-forest); font-weight: 600; text-decoration: none; }
.btn:hover { text-decoration: none; opacity: .92; }
.btn-quiet { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--forest); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
address { font-style: normal; }
/* Legal tables: rows stack into cards on phones, so the page never scrolls sideways. */
table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }
@media (max-width: 640px) {
  thead { display: none; }
  tr { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 6px 0; margin-bottom: 10px; }
  td { display: block; border: 0; padding: 4px 12px; }
  td:first-child { font-weight: 600; }
  td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink-2); }
}

footer { padding: 32px 0 48px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }
footer ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--ink-2); }
