/* Shared stylesheet for the static English pages: /opt-out/* (generated by
   scripts/build-optout-pages.mjs), /guides/* and /contact. Same palette as the app. */
:root {
  --bg: #0a0a0a; --card: #141414; --line: rgba(255,255,255,0.1); --soft: rgba(255,255,255,0.05);
  --ink: #f9fafb; --body: #d1d5db; --muted: #9ca3af; --accent: #3b82f6; --accent-dark: #2563eb;
  --ok: #34d399; --warn: #fbbf24;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: #93c5fd; }
.wrap { max-width: 760px; margin: 0 auto; padding: 20px 16px 80px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.back { font-size: 14px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.back:hover { color: var(--ink); }
.crumbs { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.crumbs a { color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
h1 { font-size: 32px; line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.01em; }
h2 { font-size: 21px; margin: 38px 0 12px; }
h3 { font-size: 17px; margin: 24px 0 8px; }
.updated { font-size: 13px; color: var(--muted); margin: 0 0 28px; }
p, li { font-size: 16px; line-height: 1.7; color: var(--body); }
p { margin: 0 0 16px; }
ul, ol { padding-left: 22px; margin: 0 0 16px; }
li { margin-bottom: 8px; }
strong { color: var(--ink); }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.badge.official { background: rgba(52,211,153,0.15); color: var(--ok); }
.badge.guides { background: rgba(251,191,36,0.15); color: var(--warn); }
.badge.gone { background: rgba(255,255,255,0.1); color: var(--muted); }
.facts { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin: 0 0 8px; }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; padding-top: 4px; }
.facts dd { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 0 44px; margin: 0 0 16px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: rgba(59,130,246,0.18); color: #93c5fd; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.note { font-size: 15px; color: var(--body); background: var(--soft); border-left: 3px solid var(--accent); padding: 12px 16px; border-radius: 0 10px 10px 0; margin: 20px 0; }
.note.warn { border-left-color: var(--warn); }
.btn { display: block; text-align: center; padding: 15px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; margin: 24px 0 0; }
.btn:hover { background: var(--accent-dark); }
.btn.secondary { background: var(--soft); border: 1px solid var(--line); color: var(--ink); }
.tablewrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.45; color: var(--body); }
tr:last-child td { border-bottom: 0; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); background: var(--soft); }
td a { font-weight: 600; text-decoration: none; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; text-decoration: none; display: block; }
.card strong { display: block; margin-bottom: 4px; }
.card span { font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (max-width: 560px) { .facts div { grid-template-columns: 1fr; gap: 2px; } h1 { font-size: 27px; } .cards { grid-template-columns: 1fr; } }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 10px 0; }
summary { font-weight: 600; cursor: pointer; }
details p { margin: 10px 0 0; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; font-size: 15px; }
.pager a { text-decoration: none; }
.site-footer { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); line-height: 1.8; }
.site-footer a { color: var(--muted); }
/* contact form */
form.contact { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-top: 24px; }
form.contact label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px; color: var(--ink); }
form.contact .field { margin-bottom: 18px; }
form.contact input, form.contact select, form.contact textarea { width: 100%; font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0,0,0,0.3); color: var(--ink); }
form.contact input:focus, form.contact select:focus, form.contact textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
form.contact textarea { min-height: 160px; resize: vertical; }
form.contact button { width: 100%; padding: 15px; border: 0; border-radius: 12px; background: var(--accent); color: #fff; font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; }
form.contact button:disabled { background: #4b5563; cursor: wait; }
.hint { font-size: 13px; color: var(--muted); font-weight: 400; }
.hp { position: absolute; left: -9999px; }
#status { margin: 14px 0 0; font-size: 15px; }
#status.ok { color: var(--ok); }
#status.err { color: #f87171; }
