/* The public pages (/privacy, /terms, /contact) and the readable home page that sits
   in index.html before the app mounts: the reader's paper, ink and serif,
   Day and Night. The app itself never loads this file. */
:root { --paper: #FBF9F4; --ink: #1F2430; --label: #686E7A; --hairline: rgba(31, 36, 48, 0.12); --accent: #3874BA; }
@media (prefers-color-scheme: dark) { :root { --paper: #161A21; --ink: #E6E8EC; --label: #8E95A1; --hairline: rgba(230, 232, 236, 0.12); --accent: #8DB3E2; } }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body { font-family: 'Newsreader', Georgia, serif; font-size: 19px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.sh-page { max-width: 640px; margin: 0 auto; padding: 56px 16px 72px; }
.sh-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 22px; }
.sh-brand img { width: 28px; height: 28px; }
h1 { font-weight: 450; font-size: 38px; line-height: 1.2; margin: 48px 0 8px; }
h2 { font-weight: 480; font-size: 24px; line-height: 1.3; margin: 40px 0 8px; }
p, li { margin: 0 0 14px; }
ul { padding-left: 22px; }
a { color: var(--accent); text-underline-offset: 3px; }
.sh-meta { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 14px; color: var(--label); }
.sh-lede { font-size: 21px; }
.sh-foot { margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--hairline); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 14px; color: var(--label); }
.sh-foot a { color: var(--label); margin-right: 18px; }
.sh-form { display: grid; gap: 16px; margin: 24px 0 40px; }
.sh-form label { display: grid; gap: 6px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 14px; color: var(--label); }
.sh-form input, .sh-form textarea { font: inherit; font-family: 'Newsreader', Georgia, serif; font-size: 18px; color: var(--ink); background: transparent; border: 1px solid var(--label); border-radius: 10px; padding: 10px 12px; width: 100%; }
.sh-form input:focus, .sh-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.sh-form textarea { min-height: 180px; resize: vertical; }
.sh-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sh-form button { justify-self: start; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 16px; color: var(--paper); background: var(--ink); border: 0; border-radius: 999px; padding: 12px 22px; min-height: 44px; cursor: pointer; }
.sh-form button[disabled] { opacity: .6; cursor: default; }
.sh-note { display: none; border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 16px; margin: 16px 0; }
.sh-note:target, .sh-note.on { display: block; }
.sh-bad { border-color: #C0392B; }
