/* Public pages: login, unsubscribe, data request. */
:root { --ink: #0a0a0a; --paper: #f6f5f1; --signal: #3d6bff; --muted: #66655f; --line: #e2dfd5; --card: #fff; --bad: #a4271b; color-scheme: light dark; }
@media (prefers-color-scheme: dark) { :root { --ink: #f2f1ec; --paper: #0f0f0e; --muted: #a3a199; --line: #2c2b28; --card: #181816; --bad: #ff8f80; } }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); font: 16px/1.55 Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.pub { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; gap: 20px; }
.card { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px 28px; box-shadow: 0 20px 60px rgba(10,10,10,.06); }
.card.wide { max-width: 560px; }
h1 { margin: 0 0 8px; font-size: 24px; letter-spacing: -.01em; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.err { color: var(--bad); font-weight: 700; }
.mark { width: 40px; height: 40px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; margin-bottom: 18px; }
.mark span { width: 14px; height: 14px; background: var(--signal); transform: rotate(45deg); border-radius: 3px; }
form { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
label { font-weight: 700; font-size: 14px; }
input, textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
input:focus, textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(61,107,255,.2); }
button { font: inherit; font-weight: 700; height: 48px; border: 0; border-radius: 10px; background: var(--ink); color: var(--paper); cursor: pointer; margin-top: 6px; }
button:hover { background: var(--signal); color: #fff; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 4px 0; }
legend { font-weight: 700; font-size: 14px; padding: 0 4px; }
.opt { display: flex; gap: 10px; align-items: center; font-weight: 400; padding: 6px 0; }
.opt input { width: auto; }
a { color: var(--signal); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pub-foot { display: flex; gap: 10px; color: var(--muted); font-size: 13px; }
.pub-foot a { color: var(--muted); }
