.hig-onboarding {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 720px);
    justify-content: center;
    align-items: center;
    padding: 32px;
    background:
        linear-gradient(135deg, rgba(5, 71, 82, 0.08), rgba(242, 183, 5, 0.1)),
        #f4f7f8;
    color: #102326;
    font-family: "Inter", "Manrope", system-ui, sans-serif;
}

.hig-onboarding-card {
    border: 1px solid #dbe5e7;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(14, 43, 48, 0.12);
}

.hig-step-head > span {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border-radius: 999px;
    background: #f2b705;
    color: #102326;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0;
    padding: 7px 12px;
    text-transform: uppercase;
}

.hig-onboarding-card {
    align-self: center;
    padding: 30px;
}

.hig-progress {
    margin-bottom: 24px;
}

.hig-progress-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #607174;
    font-size: 0.86rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.hig-progress-top strong {
    color: #0c6f67;
}

.hig-progress-track {
    height: 9px;
    border-radius: 999px;
    overflow: hidden;
    background: #e4ecee;
}

.hig-progress-track span {
    display: block;
    width: 25%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0c6f67, #f2b705);
    transition: width 220ms ease;
}

.hig-onboarding-alert {
    border-radius: 14px;
}

.hig-onboarding-step {
    display: none;
}

.hig-onboarding-step.is-active {
    display: block;
    animation: higStepIn 180ms ease both;
}

@keyframes higStepIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hig-step-head {
    margin-bottom: 22px;
}

.hig-step-head.center {
    text-align: center;
}

.hig-step-head.center > span {
    margin: 0 auto;
}

.hig-step-head h2 {
    margin: 14px 0 10px;
    color: #102326;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: 0;
}

.hig-step-head p {
    margin: 0;
    color: #637579;
    line-height: 1.62;
}

.hig-welcome-visual {
    position: relative;
    min-height: 218px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #dce8ea;
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(12, 111, 103, 0.09), rgba(242, 183, 5, 0.16)),
        #f8fbfb;
    margin-bottom: 18px;
}

.hig-welcome-visual::before {
    content: "";
    position: absolute;
    inset: 22px;
    border: 1px dashed rgba(12, 111, 103, 0.26);
    border-radius: 999px;
    animation: higOrbitPulse 4s ease-in-out infinite;
}

.hig-visual-property {
    position: relative;
    z-index: 2;
    width: 136px;
    transform: translateY(8px);
    animation: higFloat 4.8s ease-in-out infinite;
}

.hig-visual-roof {
    width: 104px;
    height: 58px;
    margin: 0 auto -12px;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    background: #0c6f67;
    box-shadow: 0 16px 28px rgba(12, 111, 103, 0.18);
}

.hig-visual-building {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #dce8ea;
    padding: 22px 18px;
    box-shadow: 0 20px 42px rgba(14, 43, 48, 0.14);
}

.hig-visual-building span {
    height: 26px;
    border-radius: 9px;
    background: linear-gradient(135deg, #f2b705, #ffe08a);
    animation: higWindowGlow 2.4s ease-in-out infinite;
}

.hig-visual-building span:nth-child(2),
.hig-visual-building span:nth-child(3) {
    animation-delay: 0.55s;
}

.hig-visual-orbit {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.hig-visual-buyer {
    position: absolute;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    color: #0c6f67;
    box-shadow: 0 12px 28px rgba(14, 43, 48, 0.14);
    animation: higBuyerPulse 3s ease-in-out infinite;
}

.hig-visual-buyer i {
    font-size: 1.05rem;
}

.buyer-one {
    top: 32px;
    left: 18%;
}

.buyer-two {
    top: 48px;
    right: 18%;
    animation-delay: 0.4s;
}

.buyer-three {
    left: 21%;
    bottom: 34px;
    animation-delay: 0.8s;
}

.hig-visual-funding {
    position: absolute;
    right: 14%;
    bottom: 34px;
    display: flex;
    align-items: end;
    gap: 6px;
    z-index: 4;
    height: 54px;
}

.hig-visual-funding span {
    width: 11px;
    border-radius: 999px;
    background: #0c6f67;
    animation: higFundingRise 1.8s ease-in-out infinite;
}

.hig-visual-funding span:nth-child(1) {
    height: 24px;
}

.hig-visual-funding span:nth-child(2) {
    height: 38px;
    animation-delay: 0.18s;
}

.hig-visual-funding span:nth-child(3) {
    height: 52px;
    background: #f2b705;
    animation-delay: 0.36s;
}

.hig-visual-badge {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #102326;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 9px 13px;
    box-shadow: 0 14px 28px rgba(16, 35, 38, 0.18);
}

@keyframes higFloat {
    0%,
    100% {
        transform: translateY(8px);
    }

    50% {
        transform: translateY(0);
    }
}

@keyframes higOrbitPulse {
    0%,
    100% {
        transform: scale(0.98);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.02);
        opacity: 1;
    }
}

@keyframes higWindowGlow {
    0%,
    100% {
        opacity: 0.72;
    }

    50% {
        opacity: 1;
    }
}

@keyframes higBuyerPulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

@keyframes higFundingRise {
    0%,
    100% {
        transform: scaleY(0.72);
        transform-origin: bottom;
    }

    50% {
        transform: scaleY(1);
        transform-origin: bottom;
    }
}

.hig-feature-list,
.hig-form-grid,
.hig-buyer-grid {
    display: grid;
    gap: 12px;
}

.hig-feature-list article {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e1ebed;
    border-radius: 16px;
    background: #f8fbfb;
    color: #19363a;
    font-weight: 750;
    padding: 15px;
}

.hig-feature-list i {
    color: #0c6f67;
    font-size: 1.2rem;
}

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

.hig-form-grid label:first-child,
.hig-form-grid label:nth-child(3) {
    grid-column: 1 / -1;
}

.hig-form-grid label {
    display: grid;
    gap: 8px;
    color: #263f43;
    font-weight: 800;
}

.hig-form-grid label span {
    font-size: 0.9rem;
}

.hig-form-grid input {
    width: 100%;
    min-height: 52px;
    border: 1px solid #d8e4e6;
    border-radius: 14px;
    background: #ffffff;
    color: #102326;
    font: inherit;
    padding: 12px 14px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.hig-form-grid input:focus {
    border-color: #0c6f67;
    box-shadow: 0 0 0 4px rgba(12, 111, 103, 0.14);
}

.hig-form-grid input.is-invalid {
    border-color: #dc3545;
}

.hig-password-hint {
    color: #637579;
    font-size: 0.88rem;
    margin-top: 10px;
}

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

.hig-buyer-option {
    cursor: pointer;
}

.hig-buyer-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hig-buyer-option span {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    border: 1px solid #dce8ea;
    border-radius: 16px;
    background: #ffffff;
    color: #1c383c;
    font-weight: 850;
    padding: 14px;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.hig-buyer-option i {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #edf6f5;
    color: #0c6f67;
}

.hig-buyer-option input:checked + span {
    border-color: #0c6f67;
    background: #f3fbfa;
    box-shadow: 0 0 0 4px rgba(12, 111, 103, 0.12);
}

.hig-buyer-option input.is-invalid + span {
    border-color: #dc3545;
}

.hig-step-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.hig-step-actions .btn {
    flex: 1 1 0;
    border-radius: 14px;
    font-weight: 850;
    min-height: 52px;
}

.hig-back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #0c6f67;
    font-weight: 850;
    padding: 0;
    margin-bottom: 18px;
}

.hig-success-icon {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    margin: 0 auto 18px;
    border-radius: 24px;
    background: #0c6f67;
    color: #ffffff;
    font-size: 2.1rem;
    box-shadow: 0 20px 40px rgba(12, 111, 103, 0.22);
}

@media (max-width: 1080px) {
    .hig-onboarding {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hig-onboarding {
        padding: 14px;
        gap: 14px;
    }

    .hig-onboarding-card {
        border-radius: 18px;
        padding: 20px;
    }

    .hig-form-grid,
    .hig-buyer-grid {
        grid-template-columns: 1fr;
    }

    .hig-welcome-visual {
        min-height: 190px;
    }

    .hig-visual-buyer {
        width: 36px;
        height: 36px;
    }

    .buyer-one {
        left: 9%;
    }

    .buyer-two {
        right: 9%;
    }

    .hig-step-actions {
        flex-direction: column;
    }
}
