/* Registration has its own layout; field behaviour comes from the shared UI. */
.signup-shell { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); max-width: 1060px; margin: .5rem auto 1.5rem; border: 1px solid var(--app-line); border-radius: 24px; background: var(--app-panel); overflow: hidden; }
.signup-welcome { display: flex; flex-direction: column; gap: 2.5rem; padding: 2.5rem; background: #143b3b; color: #f1fff9; }
.signup-brand { display: flex; align-items: center; gap: 1rem; }
.signup-brand .main-logo { width: 43px; height: 48px; color: #f1fff9; }
.signup-brand span { color: #c2d9d2; font-size: .7rem; font-weight: 500; }
.signup-eyebrow { font-size: .65rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .65rem; }
.signup-welcome .signup-eyebrow { color: #edc29d; }
.signup-welcome h1 { font-size: clamp(2.3rem, 4vw, 3.3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.06em; color: #f1fff9; margin-bottom: 1.25rem; }
.signup-welcome-copy > p:last-child { color: #c2d9d2; font-size: .9rem; line-height: 1.8; max-width: 280px; }
.signup-benefits { display: grid; gap: 1.4rem; }
.signup-benefits li { display: flex; align-items: start; gap: .85rem; }
.signup-benefits li > span { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 11px; color: var(--app-teal); background: #23564d; }
.signup-benefits li:nth-child(2) > span { color: #edc29d; background: #4b4d3e; }
.signup-benefits strong, .signup-connection strong { color: #f1fff9; font-size: .8rem; font-weight: 600; }
.signup-benefits p { font-size: .75rem; color: #c2d9d2; line-height: 1.7; margin-top: .2rem; }
.signup-connection { display: flex; gap: .75rem; padding-top: 1.5rem; margin-top: auto; border-top: 1px solid #3f6058; }
.signup-connection > span { color: var(--app-teal); }
.signup-connection p { color: #c2d9d2; font-size: .72rem; line-height: 1.8; }
.signup-form-panel { padding: 2.5rem; min-width: 0; }
.signup-form-heading { margin-bottom: 1.75rem; }
.signup-form-heading .signup-eyebrow { color: var(--app-muted); }
.signup-form-heading h2 { font-size: 1.8rem; font-weight: 700; letter-spacing: -.05em; line-height: 1.2; color: var(--app-ink); margin-bottom: .75rem; }
.signup-form-heading > p:last-child { font-size: .8rem; color: var(--app-muted); }
.signup-form-heading a { font-weight: 600; }
.signup-form-panel form > .field { margin-bottom: 1.25rem; }
.signup-form-panel .input { background: #fbfdfb; }
.signup-form-panel .help { font-size: .68rem; line-height: 1.6; margin-top: .4rem; }
.signup-passwords { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.signup-passwords > .field { min-width: 0; margin-bottom: 0; }
.signup-referral { border: 1px solid var(--app-line); border-radius: 12px; margin: 1.25rem 0; }
.signup-referral summary { display: flex; align-items: center; gap: .6rem; list-style: none; cursor: pointer; min-height: 48px; padding: .8rem 1rem; color: var(--app-ink); font-size: .8rem; font-weight: 500; }
.signup-referral summary::-webkit-details-marker { display: none; }
.signup-referral summary > span { margin-left: auto; color: var(--app-muted); font-size: .65rem; }
.signup-referral summary::after { content: '+'; font-size: 1.1rem; color: var(--app-muted); }
.signup-referral[open] summary::after { content: '−'; }
.signup-referral-content { border-top: 1px solid var(--app-line); padding: 1rem; }
.signup-consent { border-top: 1px solid var(--app-line); padding-top: 1.25rem; margin: 1.5rem 0; }
.signup-consent .checkbox { display: block; position: relative; padding-left: 1.65rem; font-size: .72rem; line-height: 1.8; color: var(--app-muted); }
.signup-consent input { position: absolute; left: 0; top: .2rem; width: 16px; height: 16px; accent-color: #157b67; }
.signup-consent a { text-decoration: underline; text-underline-offset: .15em; }
.signup-submit .button { display: flex; justify-content: space-between; font-size: .9rem; }
.signup-submit > .control > p { color: var(--app-muted); font-size: .65rem !important; }
/* Honeypot stays out of the visual and keyboard flow. */
.ohnohoney { opacity: 0; position: absolute; top: 0; left: 0; height: 0; width: 0; z-index: -1; }
@media (max-width: 1000px) {
    .signup-welcome, .signup-form-panel { padding: 1.75rem; }
    .signup-passwords { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .signup-shell { display: block; max-width: 540px; margin: 0 auto; border-radius: 20px; }
    .signup-welcome { padding: 1.5rem; gap: 1.25rem; }
    .signup-brand { display: none; }
    .signup-welcome h1 { font-size: 2.4rem; margin-bottom: .75rem; }
    .signup-welcome h1 br { display: none; }
    .signup-welcome-copy > p:last-child { max-width: none; font-size: .8rem; }
    .signup-benefits { display: none; }
    .signup-connection { padding-top: 1rem; margin-top: 0; }
    .signup-connection strong { font-size: .75rem; }
    .signup-form-panel { padding: 1.5rem; }
    .signup-form-heading h2 { font-size: 1.6rem; }
    .signup-form-heading { margin-bottom: 1.5rem; }
}
@media (max-width: 359px) {
    .signup-form-panel, .signup-welcome { padding: 1.25rem; }
    .signup-welcome h1 { font-size: 2rem; }
}
