* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; min-height: 100dvh; background: #1f1f1f; color: #f5f5f7; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif; }
[hidden] { display: none !important; }
.signup-shell { width: min(100%, 688px); min-height: 100dvh; margin: 0 auto; padding: 28px clamp(20px,4vw,34px) max(22px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.signup-nav { display: flex; align-items: center; gap: 16px; margin-bottom: 23px; }
.signup-nav .back { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #aaabb0; }
.signup-nav .back:hover { background: #303035; color: #fff; }
.signup-logo { width: 38px; height: 38px; object-fit: contain; }
.signup-content { width: 100%; }
h1 { margin: 0 0 9px; font-size: clamp(27px,3.6vw,33px); font-weight: 750; line-height: 1.2; letter-spacing: -.03em; }
.signup-intro { margin: 0 0 22px; color: #d0d0d5; font-size: 15px; line-height: 1.5; }
#signupForm { display: grid; gap: 17px; }
.signup-field { display: grid; gap: 8px; }
.signup-field label, .signup-date legend { padding: 0; font-size: 15px; font-weight: 620; line-height: 1.35; }
.signup-field input, .signup-date select { width: 100%; min-width: 0; height: 58px; border: 1.5px solid #515158; border-radius: 17px; background: #1f1f1f; color: #f5f5f7; outline: 0; font: inherit; font-size: 16px; padding: 0 18px; }
.signup-field input::placeholder { color: #a9a9b0; }
.signup-field input:focus-visible, .signup-date select:focus-visible { border-color: #90bbff; box-shadow: 0 0 0 2px rgba(66,165,255,.14); }
.signup-date { margin: 0; padding: 0; border: 0; min-width: 0; }
.signup-date legend { margin-bottom: 9px; }
.age-note { color: #b0b0b8; font-weight: 400; font-size: 13px; }
.signup-date-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.signup-date select { appearance: none; background-color: #1f1f1f; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 9 7 7 7-7' fill='none' stroke='%23e7e7eb' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-size: 18px; background-position: right 17px center; background-repeat: no-repeat; padding-right: 41px; }
.signup-date select:invalid { color: #aaaab0; }
.signup-hint { margin: 7px 0 0; color: #b8b8bf; font-size: 13px; line-height: 1.5; }
.signup-disclosures { display: grid; gap: 12px; font-size: 14px; color: #d4d4d9; line-height: 1.5; }
.signup-disclosures p { margin: 0; }
a { color: #50adff; text-decoration: none; }
a:hover { text-decoration: underline; }
.signup-terms { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.signup-terms input { flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #0066de; cursor: pointer; }
.honeypot, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.signup-status { padding: 13px 16px; border-radius: 13px; border: 1px solid #64646c; color: #fff; background: #2b2b30; font-size: 14px; line-height: 1.4; }
.signup-status.error { border-color: #c76b75; color: #ffe4e5; }
.signup-submit, .signup-login { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 55px; padding: 10px 18px; border-radius: 999px; text-decoration: none; font: inherit; font-size: 16px; font-weight: 660; cursor: pointer; text-align: center; }
.signup-submit { background: #0064e0; border: 1px solid #0064e0; color: #fff; }
.signup-submit:hover { background: #1379ee; }
.signup-submit:disabled { opacity: .58; cursor: wait; }
.signup-login { margin-top: 12px; background: #2b2b30; color: #d6d6da; }
.signup-login:hover { background: #38383e; color: #fff; text-decoration: none; }
.signup-footer { display: flex; flex-wrap: wrap; gap: 10px 19px; justify-content: center; margin-top: 34px; padding: 16px 0 0; }
.signup-footer a { color: #bcbcc3; font-size: 13px; }
.signup-footer a:hover { color: #fff; }
:focus-visible { outline: 2px solid #73b6ff; outline-offset: 3px; }
@media(max-width:520px) { .signup-shell { padding: 18px 19px max(26px,env(safe-area-inset-bottom)); } .signup-nav { margin-bottom: 18px; } h1 { font-size: 27px; } .signup-field input, .signup-date select { height: 53px; border-radius: 15px; } .signup-date-grid { gap: 8px; } .signup-date select { padding-left: 11px; padding-right: 25px; background-position: right 7px center; background-size: 14px; } #signupForm { gap: 15px; } .signup-footer { margin-top: 25px; gap: 10px 14px; } .signup-footer a { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; } }

/* Email-verification step uses the same compact form design. */
.signup-verify { display: grid; gap: 14px; margin-top: 14px; }
.signup-verify[hidden] { display: none !important; }
.signup-verify h2 { margin: 0; font-size: 24px; line-height: 1.25; }
#signupVerifyForm { display: grid; gap: 14px; }
.signup-link-action { width: 100%; padding: 12px 18px; border: 1px solid #515158; background: transparent; color: #d7d7dc; border-radius: 999px; font: inherit; font-size: 15px; cursor: pointer; }
.signup-link-action:hover { background: #2c2c31; }
.signup-link-action:disabled { opacity: .55; cursor: wait; }
