/* The plain pages (/privacy, /remove, 404): the app's paper and ink (web/app/theme.css), the page's one family. */
@font-face {
  font-family: "TN Sans";
  src: url("/fonts/tn-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 75% 125%;
  font-display: swap;
}
:root { --paper: #ffffff; --panel: #f4f4f5; --ink: #000000; --quiet: #5e5e5e; --rule: #e6e6e6; --floor: #5cb3ff; --floor-deep: #0b83da; --false: #d92d20; --pad: 20px; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "TN Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 17px; line-height: 1.55; font-stretch: 100%; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--floor-deep); outline-offset: 3px; border-radius: 6px; }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--pad); }
.wordmark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-stretch: 125%; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; line-height: 1; }
.mark { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 22px; height: 22px; padding: 4px; border-radius: 6px; background: var(--ink); flex: none; }
.mark i { border-radius: 3px 1px 1px 3px; background: var(--floor); }
.mark i + i { border-radius: 1px 3px 3px 1px; background: #3a3a3c; }
.wordmark.small { font-size: 14px; }
.bar-cta, .go { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; }
.go { min-height: 54px; padding: 0 32px; font-size: 18px; }

.doc { padding: 24px var(--pad) 56px; max-width: 760px; }
.big { font-stretch: 75%; font-weight: 800; letter-spacing: -0.015em; line-height: 0.96; font-size: clamp(2.75rem, 1.6rem + 5vw, 5.5rem); margin: 8px 0 20px; text-wrap: balance; }
.doc h2 { font-size: 20px; font-weight: 750; margin: 32px 0 0; }
.doc p, .doc li { margin: 10px 0 0; max-width: 62ch; }
.doc ul { padding-left: 22px; margin: 6px 0 0; }
.doc li { margin-top: 4px; }
.doc a:not(.go) { color: var(--floor-deep); text-underline-offset: 3px; }
.draft { display: inline-block; border: 1.5px dashed var(--rule); border-radius: 10px; padding: 8px 12px; color: var(--quiet); font-size: 14px; }

form.wl { margin-top: 20px; display: grid; gap: 14px; max-width: 520px; }
.field label { display: block; font-size: 14px; font-weight: 650; color: var(--quiet); margin-bottom: 6px; }
.field input { width: 100%; height: 54px; padding: 0 16px; border: 1.5px solid var(--rule); border-radius: 14px; background: var(--panel); color: var(--ink); font: inherit; font-size: 17px; }
.field input:focus { border-color: var(--floor-deep); background: var(--paper); outline: none; }
.form-err { color: var(--false); font-size: 15px; font-weight: 600; }

footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 28px var(--pad) calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); color: var(--quiet); font-size: 14px; }
footer .wordmark { margin-right: auto; color: var(--ink); }
footer a { display: inline-block; padding: 12px 0; margin: -12px 0; }

@media (min-width: 1024px) {
  :root { --pad: 5vw; }
  .bar { padding-top: 28px; }
  .wordmark { font-size: 20px; }
  .doc { padding-top: 48px; }
}

/* critique 1 (direction A, fixes 4 and 10): the header holds one line at 360 (a longer name ends in an ellipsis);
   footer links are 44 px tall and 24 px apart. The 15 px wordmark under 400 px went with the name Dabab: 17 px fits. */
.wordmark { white-space: nowrap; min-width: 0; }
.wm-name { overflow: hidden; text-overflow: ellipsis; }
.bar-cta { white-space: nowrap; padding: 0 18px; font-size: 15px; min-height: 44px; flex: none; }
footer { column-gap: 24px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; margin: 0; }


/* Light and dark (the human, 2026-11-15): dark by default, the stage; light is the page as first designed, when the
   member chooses it (data-theme="light", set before first paint). Without script the page is dark. */
:root { --mark-bg: var(--ink); }
.mark { background: var(--mark-bg); }
:root:not([data-theme="light"]) {
  --paper: #121316; --panel: #1d1f23; --ink: #ffffff; --quiet: #b4b7be; --rule: #2a2c31; --floor-deep: #5cb3ff; --false: #ff8a80; --mark-bg: #1d1f23; color-scheme: dark;
}
.foot-toggle { display: inline-flex; margin: -12px -10px -12px 0; }
.theme-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px;
  background: transparent; color: var(--quiet); cursor: pointer;
}
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .t-moon { display: none; }
:root[data-theme="light"] .theme-toggle .t-sun { display: none; }
:root[data-theme="light"] .theme-toggle .t-moon { display: block; }
