html.signup-document, body.signup-body { height: 100%; margin: 0; overflow: hidden; }
.signup-body { color: #243c37; background: #eef1ed; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", sans-serif; }
.signup-page, .signup-page * { box-sizing: border-box; }
.signup-page { height: 100vh; height: 100dvh; padding: clamp(12px, 3vw, 40px); display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at 10% 15%, #dfe8df, transparent 55%); }
.signup-shell { display: grid; grid-template-columns: 38% minmax(0, 1fr); width: 1060px; max-width: 100%; height: 710px; max-height: 100%; min-height: 0; overflow: hidden; border: 1px solid #fff; border-radius: 28px; background: #fff; box-shadow: 0 24px 80px #244c3d12; }
.signup-welcome { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: 38px; color: #fff; background: #193f36; }
.signup-brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; color: inherit; text-decoration: none; }
.signup-brand:hover { color: inherit; }
.signup-logo { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; background: #fff; border-radius: 14px; }
.signup-logo img { width: 34px; height: 34px; object-fit: contain; }
.signup-brand small, .signup-brand strong { display: block; }
.signup-brand small { color: #d3e2dc; font-size: 10px; letter-spacing: .06em; margin-bottom: 2px; }
.signup-brand strong { font-size: 21px; letter-spacing: .05em; }
.signup-welcome-copy { margin-top: 68px; z-index: 1; }
.signup-eyebrow { font-size: 10px; letter-spacing: .17em; font-weight: 700; color: #58776b; }
.signup-welcome .signup-eyebrow { color: #a7c7b7; }
.signup-welcome h2 { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.5; letter-spacing: -.06em; font-weight: 700; margin: 16px 0; }
.signup-welcome-copy p { font-size: 13px; line-height: 1.9; color: #c0d5cb; }
.signup-welcome-note { margin: auto 0 0; padding-top: 20px; font-size: 11px; color: #b4ccc1; z-index: 1; }
.signup-arch { position: absolute; z-index: -1; width: 250px; height: 310px; border-radius: 150px 150px 0 0; bottom: -25px; right: -20px; border: 1px solid #8aab963b; background: linear-gradient(140deg, #bfd3bc1f, transparent); box-shadow: 0 0 0 24px #9cb99a06, 0 0 0 48px #9cb99a06; }
.signup-arch span { position: absolute; width: 2px; height: 96px; background: #c9d7b958; left: 50%; top: 78px; }
.signup-arch span::after { content: ""; position: absolute; width: 56px; height: 2px; background: inherit; top: 28px; left: -27px; }
.signup-form { min-width: 0; min-height: 0; display: flex; flex-direction: column; margin: 0; }
.signup-form-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 40px 44px 16px; scrollbar-width: thin; scrollbar-color: #c5d5cc transparent; }
.signup-heading { margin-bottom: 29px; }
.signup-heading h1 { font-size: 29px; font-weight: 750; letter-spacing: -.05em; margin: 10px 0; }
.signup-heading p { color: #77847f; font-size: 13px; line-height: 1.65; margin: 0; }
.signup-section { min-width: 0; margin: 0; padding: 0; border: 0; }
.signup-section legend { float: none; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 16px; padding: 0; font-size: 14px; font-weight: 700; }
.signup-section legend span { color: #818d86; font-size: 11px; font-weight: 400; }
.signup-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.signup-field { min-width: 0; }
.signup-field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.signup-field input { width: 100%; height: 46px; min-width: 0; border: 1px solid #dfe6e1; border-radius: 10px; background: #fafcf9; color: #233d34; font-size: 13px; padding: 0 12px; transition: border-color .15s, box-shadow .15s; }
.signup-field input::placeholder { color: #909d94; font-size: 12px; }
.signup-field input:focus { outline: none; background: #fff; border-color: #50836d; box-shadow: 0 0 0 3px #50836d1a; }
.signup-field input[aria-invalid="true"] { border-color: #ba5650; }
.signup-field-error { display: block; color: #ae443c; font-size: 11px; line-height: 1.5; margin-top: 5px; }
.signup-field-error:empty { display: none; }
.signup-password { position: relative; }
.signup-password input { padding-right: 54px; }
.signup-password button { position: absolute; right: 4px; top: 3px; height: 40px; min-width: 44px; border: 0; border-radius: 7px; background: transparent; color: #507460; font-size: 11px; font-weight: 600; }
.signup-password button:hover { background: #eaf0e9; }
.signup-contact { border-top: 1px solid #edf0ed; margin-top: 25px; padding-top: 21px; }
.signup-actions { flex: 0 0 auto; padding: 16px 44px 28px; background: #fff; border-top: 1px solid #f0f3ef; }
.signup-submit { width: 100%; min-height: 48px; display: flex; justify-content: center; align-items: center; gap: 16px; border: 0; border-radius: 11px; background: #254e40; color: #fff; font-size: 14px; font-weight: 650; transition: background .15s; }
.signup-submit:hover { background: #173d30; }
.signup-submit:disabled { opacity: .65; cursor: wait; }
.signup-login { text-align: center; font-size: 12px; color: #818d85; margin: 16px 0 0; }
.signup-login a { color: #315f49; font-weight: 700; margin-left: 8px; text-underline-offset: 4px; }
.signup-message { font-size: 12px; color: #ae443c; margin: 0 0 10px; overflow-wrap: anywhere; max-height: 64px; overflow-y: auto; }
.signup-page button:focus-visible, .signup-page a:focus-visible { outline: 3px solid #87ad93; outline-offset: 3px; }
@media (max-width: 850px) {
    .signup-welcome { padding: 28px; }
    .signup-form-scroll { padding: 30px 28px 16px; }
    .signup-actions { padding: 16px 28px 24px; }
    .signup-fields { gap: 16px 12px; }
}
@media (max-width: 680px) {
    .signup-page { padding: 12px; }
    .signup-shell { display: flex; flex-direction: column; width: 480px; height: 100%; border-radius: 20px; }
    .signup-welcome { flex: 0 0 auto; padding: 16px 22px; }
    .signup-brand { gap: 10px; }
    .signup-logo { flex-basis: 36px; width: 36px; height: 36px; border-radius: 10px; }
    .signup-logo img { width: 28px; height: 28px; }
    .signup-brand small { font-size: 9px; }
    .signup-brand strong { font-size: 17px; }
    .signup-welcome-copy, .signup-welcome-note, .signup-arch { display: none; }
    .signup-form { flex: 1; }
    .signup-form-scroll { padding: 24px 22px 20px; }
    .signup-heading { margin-bottom: 24px; }
    .signup-heading h1 { font-size: 25px; margin: 8px 0; }
    .signup-heading p { font-size: 12px; }
    .signup-fields { grid-template-columns: minmax(0, 1fr); gap: 15px; }
    .signup-field input { font-size: 16px; }
    .signup-actions { padding: 14px 22px 16px; }
    .signup-login { margin-top: 12px; }
}
@media (max-height: 500px) {
    .signup-page { padding: 8px; }
    .signup-welcome-copy { margin-top: 24px; }
    .signup-welcome { padding: 12px 20px; }
    .signup-form-scroll { padding-top: 18px; }
    .signup-actions { padding-top: 10px; padding-bottom: 10px; }
    .signup-heading { margin-bottom: 18px; }
    .signup-login { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .signup-page * { transition: none !important; }
}
