:root {
  color-scheme: light;
  --ink: #142038;
  --muted: #66758f;
  --line: #d7e1f0;
  --soft: #f4f7fc;
  --blue: #1761e8;
  --blue-dark: #114bb9;
  --success: #008d6b;
  --danger: #d92f32;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; color: var(--ink); background: radial-gradient(circle at 12% 8%, rgba(23,97,232,.13), transparent 30%), radial-gradient(circle at 88% 92%, rgba(0,180,140,.09), transparent 28%), #f7f9fd; }
button, input { font: inherit; }
.signup-shell { display: grid; place-items: center; align-content: center; min-height: 100vh; padding: 32px 18px; }
.signup-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--ink); text-decoration: none; }
.signup-brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; box-shadow: 0 7px 20px rgba(20,32,56,.14); }
.signup-brand span, .signup-brand strong, .signup-brand small { display: block; }
.signup-brand strong { font-size: 17px; }
.signup-brand small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.signup-card { width: min(520px, 100%); padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.97); box-shadow: 0 24px 70px rgba(30,49,83,.14); }
.signup-step { display: grid; grid-template-columns: 26px auto 1fr 26px auto 1fr 26px auto; align-items: center; gap: 7px; margin-bottom: 24px; color: var(--muted); font-size: 10px; }
.signup-step span { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: var(--blue); color: white; font-weight: 900; }
.signup-step span:not(:first-child) { background: var(--soft); color: var(--muted); }
.signup-step i { height: 1px; background: var(--line); }
.signup-eyebrow { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 7px 0 10px; font-size: clamp(28px,7vw,38px); letter-spacing: -.04em; }
.signup-intro { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.65; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form[hidden] { display: none !important; }
label { display: grid; gap: 7px; color: #52617a; font-size: 12px; font-weight: 800; }
label:nth-of-type(1), label:nth-of-type(2), .signup-consent, .signup-feedback, .signup-submit { grid-column: 1 / -1; }
label small { color: var(--muted); font-size: 10px; font-weight: 500; }
input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; outline: none; color: var(--ink); background: var(--soft); }
input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(23,97,232,.11); }
.signup-consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; line-height: 1.55; }
.signup-consent input { width: 18px; min-height: 18px; flex: 0 0 auto; margin-top: 2px; }
.signup-consent a, .signup-help a { color: var(--blue); }
.signup-submit { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 850; cursor: pointer; }
.signup-submit:hover { background: var(--blue-dark); }
.signup-submit:disabled { cursor: wait; opacity: .65; }
.signup-submit svg, .signup-safe-note svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.signup-feedback { display: none; padding: 11px 12px; border-radius: 9px; font-size: 12px; line-height: 1.5; }
.signup-feedback.show { display: block; }
.signup-feedback.success { background: #e8f8f2; color: var(--success); }
.signup-feedback.error { background: #fff0f0; color: var(--danger); }
.signup-feedback.warning { background: #fff7dd; color: #8a6500; }
.signup-result { display: grid; justify-items: center; gap: 11px; padding: 18px 0 4px; text-align: center; }
.signup-result[hidden] { display: none; }
.signup-result-icon { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: #e8f8f2; color: var(--success); font-size: 26px; font-weight: 900; }
.signup-result h2 { margin: 3px 0 0; font-size: 24px; }
.signup-result p { max-width: 400px; margin: 0; color: var(--muted); line-height: 1.6; }
.signup-card.signup-verified .signup-step, .signup-card.signup-verified .signup-eyebrow, .signup-card.signup-verified > h1, .signup-card.signup-verified > .signup-intro, .signup-card.signup-verified > .signup-safe-note, .signup-card.signup-verified > .signup-back { display: none; }
.signup-card.signup-verified .signup-result { padding: 8px 0; }
.signup-secondary { min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); font-weight: 800; cursor: pointer; }
.signup-link-button { width: 100%; text-decoration: none; }
.signup-safe-note { display: flex; gap: 9px; margin-top: 20px; padding: 12px; border-radius: 10px; background: var(--soft); color: var(--muted); font-size: 11px; line-height: 1.5; }
.signup-safe-note svg { flex: 0 0 auto; color: var(--success); }
.signup-back { display: block; margin-top: 20px; color: var(--blue); font-size: 12px; font-weight: 800; text-align: center; text-decoration: none; }
.signup-back:hover { text-decoration: underline; }
.signup-help { width: min(520px,100%); margin: 16px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; text-align: center; }
@media (max-width: 600px) { .signup-shell { align-content: start; padding-top: 24px; } .signup-card { padding: 24px 19px; border-radius: 14px; } form { grid-template-columns: 1fr; } label { grid-column: 1 / -1; } .signup-step strong { display: none; } .signup-step { grid-template-columns: 26px 1fr 26px 1fr 26px; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
