/* The site's own pages (subscribe, privacy, 404), set the way the book is:
   Crimson Text for reading, condensed Open Sans for headings and labels, the
   book's link blue, the same surfaces. Shared tokens with admin.css. */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Open+Sans:ital,wdth,wght@0,75..100,400..700;1,75..100,400..700&display=swap');
:root { --ink:#1a1a1a; --head:#12100e; --muted:#666; --link:#0a6ab5; --rule:#e3e3e6; --panel:#e2e2e6; --page:#fff; --surface:#fafafa; }
@media (prefers-color-scheme: dark) {
  :root { --ink:#d6d3ce; --head:#f2efea; --muted:#9a968f; --link:#6fb1e8; --rule:#2f3338; --panel:#3a3f45; --page:#141618; --surface:#1c1e21; }
}
html { background: var(--page); }
body { font: 18px/1.6 "Crimson Text", Georgia, "Times New Roman", serif; color: var(--ink); max-width: 38rem; margin: 3.5rem auto 4rem; padding: 0 1.2rem; }
h1, h2, label, button, .st, small { font-family: "Open Sans", -apple-system, "Helvetica Neue", Arial, sans-serif; font-stretch: 75%; }
h1 { font-size: 2.05rem; font-weight: 700; color: var(--head); line-height: 1.15; letter-spacing: .005em; margin: 0 0 1.2rem; }
h2 { font-size: 1.35rem; font-weight: 700; color: var(--head); margin: 2rem 0 .4rem; padding-bottom: .2rem; border-bottom: 1px solid var(--rule); }
p { margin: .6rem 0; }
a { color: var(--link); text-decoration: none; } a:hover { text-decoration: underline; }
label { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); margin-top: .9rem; }
label small { font-weight: 400; }
input { display: block; width: 100%; box-sizing: border-box; margin: .3rem 0 0; padding: .5rem .6rem; font: 1.05rem "Crimson Text", Georgia, serif; color: var(--ink); background: var(--page); border: 1px solid var(--panel); border-radius: 4px; }
input:focus { outline: 2px solid var(--link); outline-offset: 1px; border-color: var(--link); }
.cf-turnstile { margin-top: 1rem; }
button { margin-top: 1rem; font-size: .95rem; font-weight: 600; padding: .5rem 1.2rem; border-radius: 4px; border: 0; background: var(--link); color: #fff; cursor: pointer; }
button:hover { filter: brightness(1.08); }
.hp { position: absolute; left: -9999px; }
.fine { margin-top: 1rem; font-size: .8rem; color: var(--muted); }
.st { margin-top: 1rem; font-size: .9rem; color: var(--ink); }
.st:empty { display: none; }
.back { margin-top: 2.5rem; font-size: .9rem; font-family: "Open Sans", sans-serif; font-stretch: 75%; }

/* Turnstile folds away once verified; its token stays in the hidden input. */
.cf-turnstile { transition: height .25s ease, opacity .25s ease, margin .25s ease; }
.cf-turnstile.c-verified { height: 0 !important; margin: 0 !important; opacity: 0; overflow: hidden; pointer-events: none; }
