:root { --bg: #0e1a1f; --ink: #e8eef0; --muted: #a0b0b4; --accent: #00c8b3; --card: rgba(255,255,255,0.04); --line: rgba(160,176,180,0.2); }
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body { background: var(--bg); color: var(--ink); font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif; display: flex; flex-direction: column; min-height: 100vh; padding: 0 16px; }
main { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: 48px 0 40px; }
main.narrow { max-width: 480px; display: flex; flex-direction: column; justify-content: center; }
.bar { width: 100%; max-width: 720px; margin: 0 auto; padding: 20px 0 0; display: flex; align-items: center; gap: 16px; }
.bar .muted { margin-left: auto; font-size: 0.9rem; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-decoration: none; margin-bottom: 32px; }
.bar .brand { margin-bottom: 0; }
h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 500; color: var(--accent); letter-spacing: -0.01em; line-height: 1.15; }
h2 { margin-top: 40px; font-size: 1.1rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
p.lede { margin-top: 16px; font-size: 1.1rem; line-height: 1.6; max-width: 34em; }
.muted { color: var(--muted); }
form { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
label { font-size: 0.9rem; color: var(--muted); }
input { font: inherit; font-size: 1.1rem; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
button { font: inherit; font-size: 1.05rem; font-weight: 600; padding: 14px 18px; border-radius: 10px; border: 0; background: var(--accent); color: #062521; cursor: pointer; margin-top: 6px; }
button:disabled { opacity: 0.6; cursor: wait; }
button.link { background: none; color: var(--accent); padding: 0; margin: 0; font-weight: 500; font-size: 0.95rem; }
button.link.inline { font-size: inherit; }
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus-visible, button.link:hover { text-decoration: underline; }
.error { color: #ff8a80; min-height: 1.4em; font-size: 0.95rem; }
.error:empty { display: none; }
.card { padding: 4px 0; }
ol.steps { margin-top: 16px; padding-left: 1.4em; line-height: 1.9; font-size: 1.05rem; }
ol.steps li.done { color: var(--muted); text-decoration: line-through; }
footer { max-width: 720px; width: 100%; margin: 0 auto; padding: 24px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; line-height: 1.6; }
@media (prefers-color-scheme: light) { :root { --bg: #f4f8f8; --ink: #0e1a1f; --muted: #51666b; --card: #ffffff; --line: rgba(14,26,31,0.15); } button { color: #04221f; } }
.providers { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.provider { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; font-size: 1.02rem; }
.provider:hover, .provider:focus-visible { text-decoration: none; border-color: var(--accent); }
.divider { margin-top: 22px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.9rem; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
#form-email { margin-top: 18px; }
