.signup-page {
    --signup-content-width: 980px;
    padding-bottom: 96px;
    background: linear-gradient(180deg, #f7f8fc 0%, #eef2f8 100%);
}

.signup-page .storefront-subintro.container,
.signup-page .section-margin.container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
}

.signup-page .storefront-subintro,
.signup-page .section-margin {
    width: 100%;
}

.signup-page .storefront-subintro .storefront-note,
.signup-shell {
    width: min(100%, var(--signup-content-width));
    max-width: var(--signup-content-width);
    margin-left: auto;
    margin-right: auto;
}

.signup-subhero {
    padding: 52px 0 36px;
    background: linear-gradient(135deg, #131c2f 0%, #2d3b61 45%, #f84f6f 100%);
    color: #fff;
}

.signup-subhero__inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.signup-subhero__inner h2 {
    margin-top: 10px;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
}

.signup-subhero__inner p {
    margin-top: 12px;
    max-width: 700px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.7;
}

.signup-subhero__aside {
    min-width: 168px;
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 16px 40px rgba(13, 24, 53, 0.22);
}

.signup-subhero__aside strong {
    display: block;
    font-size: 14px;
    font-family: "Outfit", "Noto Sans KR", sans-serif;
    letter-spacing: 0.16em;
}

.signup-subhero__aside span {
    display: block;
    margin-top: 10px;
    font-size: 22px;
    font-weight: 700;
}

.signup-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.signup-shell > * {
    width: 100%;
}

.signup-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.signup-step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 20px;
    border: 1px solid rgba(20, 28, 45, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    color: #5a6477;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(18, 25, 42, 0.06);
}

.signup-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #e7ecf6;
    color: #2d3b61;
    font-size: 15px;
}

.signup-step--active {
    background: linear-gradient(135deg, #ffffff 0%, #fff1f5 100%);
    border-color: rgba(248, 79, 111, 0.24);
    color: #101828;
}

.signup-step--active span,
.signup-step--done span {
    background: linear-gradient(135deg, #f84f6f 0%, #7a63ff 100%);
    color: #fff;
}

.signup-card {
    padding: 34px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 22px 56px rgba(16, 24, 40, 0.08);
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.agreement-all {
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(248, 79, 111, 0.08) 0%, rgba(122, 99, 255, 0.08) 100%);
}

.check-card,
.check-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.check-card input,
.check-chip input {
    width: 18px;
    height: 18px;
    accent-color: #f84f6f;
}

.check-card--all {
    width: 100%;
    align-items: flex-start;
}

.check-card--all strong {
    display: block;
    color: #101828;
    font-size: 19px;
    font-weight: 800;
}

.check-card--all small {
    display: block;
    margin-top: 6px;
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
}

.agreement-panel {
    border: 1px solid #e7ebf3;
    border-radius: 24px;
    overflow: hidden;
}

.agreement-panel__header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 24px 18px;
    background: #fbfcfe;
    border-bottom: 1px solid #edf1f7;
}

.agreement-panel__header h3 {
    font-size: 22px;
    font-weight: 800;
    color: #101828;
}

.agreement-panel__header p {
    margin-top: 8px;
    color: #667085;
    line-height: 1.7;
}

.agreement-panel__header--stacked {
    align-items: stretch;
}

.agreement-optional-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.check-chip span {
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.check-chip--required span {
    background: rgba(248, 79, 111, 0.12);
    color: #d92d20;
}

.check-chip--optional span {
    background: rgba(45, 59, 97, 0.1);
    color: #2d3b61;
}

.agreement-content {
    padding: 24px;
    color: #344054;
    line-height: 1.9;
}

.agreement-content--list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.agreement-channel-card {
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
    border: 1px solid rgba(122, 99, 255, 0.12);
}

.agreement-channel-card strong {
    display: block;
    color: #101828;
    font-size: 16px;
    font-weight: 800;
}

.agreement-channel-card p {
    margin-top: 8px;
    color: #667085;
    line-height: 1.7;
}

.agreement-content h4 {
    margin-top: 12px;
    color: #101828;
    font-size: 16px;
    font-weight: 800;
}

.agreement-content h4:first-child {
    margin-top: 0;
}

.agreement-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.agreement-grid > div {
    padding: 18px;
    border-radius: 18px;
    background: #f8fafc;
}

.agreement-grid strong {
    display: block;
    margin-bottom: 8px;
    color: #101828;
}

.agreement-footnote {
    margin-top: 18px;
    color: #667085;
    font-size: 13px;
}

.signup-section-block {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 4px;
}

.signup-section-block__header h3 {
    color: #101828;
    font-size: 24px;
    font-weight: 800;
}

.signup-section-block__header p {
    margin-top: 8px;
    color: #667085;
    line-height: 1.7;
}

.signup-grid {
    display: grid;
    gap: 20px;
}

.signup-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-field--full,
.form-field--wide {
    grid-column: 1 / -1;
}

.form-field label {
    color: #101828;
    font-size: 15px;
    font-weight: 700;
}

.form-field input,
.form-field select {
    width: 100%;
    min-height: 56px;
    padding: 0 16px;
    border: 1px solid #d7dce7;
    border-radius: 16px;
    background: #fff;
    color: #101828;
    font-size: 15px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: #7a63ff;
    box-shadow: 0 0 0 4px rgba(122, 99, 255, 0.12);
}

.form-field input[readonly] {
    background: #f8fafc;
}

.field-inline-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.field-hint {
    color: #667085;
    font-size: 13px;
    line-height: 1.6;
}

.field-inline-status {
    padding: 10px 14px;
    border-radius: 14px;
    background: #f5f7fb;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
}

.field-inline-status.is-valid {
    background: rgba(18, 183, 106, 0.12);
    color: #027a48;
}

.field-inline-status.is-pending {
    background: rgba(247, 144, 9, 0.12);
    color: #b54708;
}

.field-inline-status.is-invalid {
    background: rgba(217, 45, 32, 0.1);
    color: #b42318;
}

.birthdate-selects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.field-validation {
    color: #b42318;
    font-size: 13px;
    line-height: 1.5;
}

.form-alert {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(217, 45, 32, 0.08);
    color: #b42318;
    line-height: 1.7;
}

.form-alert ul {
    margin: 0;
    padding-left: 18px;
}

.signup-benefit-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 26px;
    border-radius: 24px;
    background: linear-gradient(135deg, #131c2f 0%, #354971 50%, #7a63ff 100%);
    color: #fff;
}

.signup-benefit-banner__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-family: "Outfit", "Noto Sans KR", sans-serif;
    letter-spacing: 0.18em;
}

.signup-benefit-banner strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
}

.signup-benefit-banner p {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

.signup-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 6px;
}

.signup-actions--center {
    justify-content: center;
}

.signup-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.signup-page .btn:hover {
    transform: translateY(-1px);
}

.signup-page .btn:disabled {
    cursor: not-allowed;
    transform: none;
    opacity: 0.56;
    box-shadow: none;
}

.signup-page .btn-primary {
    background: linear-gradient(135deg, #f84f6f 0%, #7a63ff 100%);
    color: #fff;
    box-shadow: 0 14px 30px rgba(122, 99, 255, 0.22);
}

.signup-page .btn-outline {
    border-color: #d4dae6;
    background: #fff;
    color: #2d3b61;
}

.signup-page .btn-secondary {
    border-color: rgba(45, 59, 97, 0.12);
    background: #eef2ff;
    color: #2d3b61;
}

.signup-page .btn-inline {
    min-width: 128px;
    min-height: 56px;
}

.signup-complete-card {
    text-align: center;
}

.signup-complete-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(18, 183, 106, 0.12) 0%, rgba(122, 99, 255, 0.12) 100%);
    color: #12b76a;
    font-size: 36px;
}

.signup-complete-card h3 {
    margin-top: 24px;
    color: #101828;
    font-size: 34px;
    font-weight: 800;
}

.signup-complete-card__lead {
    margin-top: 12px;
    color: #667085;
    line-height: 1.8;
}

.signup-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.summary-box {
    padding: 22px;
    border-radius: 22px;
    background: #f8fafc;
    text-align: left;
}

.summary-box span {
    display: block;
    color: #667085;
    font-size: 13px;
}

.summary-box strong {
    display: block;
    margin-top: 10px;
    color: #101828;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.45;
}

.storefront-note--success {
    justify-content: center;
    margin-top: 24px;
}

.is-hidden {
    display: none !important;
}

@media (max-width: 1024px) {
    .signup-grid--two,
    .agreement-grid,
    .agreement-content--list,
    .signup-summary-grid {
        grid-template-columns: 1fr;
    }

    .signup-subhero__inner,
    .signup-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .signup-subhero__aside {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .signup-card {
        padding: 24px 18px;
        border-radius: 22px;
    }

    .signup-steps {
        grid-template-columns: 1fr;
    }

    .agreement-panel__header {
        flex-direction: column;
    }

    .field-inline-group {
        grid-template-columns: 1fr;
    }

    .birthdate-selects {
        grid-template-columns: 1fr;
    }

    .signup-page .btn-inline {
        min-width: 0;
        width: 100%;
    }
}
