:root {
  --paper: #EEF1F4; --paper-2: #E2E7EC; --ink: #1A2230; --ink-soft: #4A5566; --think: #4A4CC0;
  --see: #17807A; --line: #C6CED7; --bad: #B23A2E; --field: #fff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #151B24; --paper-2: #1D2531; --ink: #E6EBF1; --ink-soft: #A3AEBD; --think: #8B8DF0;
          --see: #3DB3AB; --line: #344052; --bad: #E2735F; --field: #1D2531; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; background: var(--paper); color: var(--ink);
       font: 400 1.0625rem/1.6 "Atkinson Hyperlegible Next", system-ui, sans-serif; -webkit-tap-highlight-color: transparent; }
main { max-width: 30rem; margin: 0 auto; padding: max(1.5rem, env(safe-area-inset-top)) 1rem 3rem; }
main.wide { max-width: 44rem; }
.brand { font: 700 1.3rem "Bricolage Grotesque", sans-serif; color: var(--ink); text-decoration: none; }
h1 { font: 750 clamp(1.7rem, 5vw, 2.3rem)/1.15 "Bricolage Grotesque", sans-serif; font-stretch: 90%;
     letter-spacing: -0.02em; margin: 2.5rem 0 1rem; }
h2 { font: 700 1.25rem "Bricolage Grotesque", sans-serif; margin: 2rem 0 0.5rem; }
p, li { max-width: 62ch; }
a { color: var(--think); }
form { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
label { font-weight: 600; }
input[type=email] { font: inherit; font-size: 1rem; color: var(--ink); background: var(--field); border: 1.5px solid var(--line);
                    border-radius: 10px; padding: 0.8rem 0.95rem; min-width: 0; }
input[type=email]:focus-visible { outline: 3px solid var(--think); outline-offset: 1px; border-color: transparent; }
button, .btn { font: 700 1rem "Atkinson Hyperlegible Next", sans-serif; border: 0; border-radius: 999px; min-height: 44px;
               padding: 0.75rem 1.3rem; cursor: pointer; touch-action: manipulation; text-align: center;
               text-decoration: none; display: inline-block; }
button:focus-visible, .btn:focus-visible { outline: 3px solid var(--think); outline-offset: 2px; }
.primary { background: var(--ink); color: var(--paper); }
.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
button:disabled { opacity: 0.6; }
.or { color: var(--ink-soft); text-align: center; margin: 1.25rem 0 0; }
.status { font-weight: 600; } .status:empty { display: none; } .ok { color: var(--see); } .err { color: var(--bad); }
.fine { font-size: 0.875rem; color: var(--ink-soft); margin-top: 2rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.5rem 0.6rem 0.5rem 0; border-bottom: 1px solid var(--line); }
.top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.lang-switch { display: flex; gap: 2px; }
.lang-switch button { min-height: 36px; padding: 0.3rem 0.7rem; border-radius: 8px; background: transparent; color: var(--ink-soft); font-size: 0.875rem; }
.lang-switch button[aria-pressed="true"] { background: var(--paper-2); color: var(--ink); }
