.site-header {
    position: sticky;
    z-index: 5;
    top: 0;
    background: rgb(255 255 255 / 94%);
    backdrop-filter: blur(14px);
}

.hero {
    display: flex;
    align-items: center;
    min-height: 620px;
    height: min(76svh, 790px);
}

.hero-image {
    object-position: center 55%;
}

.hero::before {
    background: linear-gradient(90deg, rgb(248 250 251 / 97%) 0%, rgb(248 250 251 / 90%) 40%, rgb(248 250 251 / 24%) 100%);
}

.hero-copy {
    position: relative;
    z-index: 1;
    padding-top: 58px;
    padding-bottom: 58px;
}

.hero .eyebrow {
    color: #52616a;
    letter-spacing: .12em;
}

.hero h1 {
    letter-spacing: -.065em;
}

.hero-description {
    max-width: 620px;
    letter-spacing: -.035em;
}

.hero-workflow {
    position: absolute;
    top: 50%;
    right: 5%;
    width: min(342px, 30vw);
    padding: 22px;
    transform: translateY(-42%);
    border: 1px solid rgb(255 255 255 / 76%);
    border-radius: 16px;
    background: rgb(255 255 255 / 90%);
    box-shadow: 0 24px 70px rgb(23 39 50 / 16%);
    backdrop-filter: blur(16px);
}

.workflow-heading,
.workflow-live,
.workflow-row,
.workflow-foot {
    display: flex;
    align-items: center;
}

.workflow-heading {
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8ecef;
    color: #76818a;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .1em;
}

.workflow-live {
    gap: 6px;
    color: #46744b;
    font-size: 8px;
    letter-spacing: .03em;
}

.workflow-live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #64ad75;
    box-shadow: 0 0 0 3px #64ad7520;
}

.workflow-row {
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #edf0f2;
}

.workflow-number {
    display: grid;
    width: 31px;
    height: 31px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 9px;
    background: #eef4ff;
    color: #0758f9;
    font-size: 10px;
    font-weight: 700;
}

.workflow-row > span:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.workflow-row strong,
.workflow-row small {
    display: block;
}

.workflow-row strong {
    font-size: 12px;
    font-weight: 650;
}

.workflow-row small {
    margin-top: 2px;
    color: #78828a;
    font-size: 10px;
}

.workflow-row > b {
    color: #82909a;
    font-size: 13px;
    font-weight: 500;
}

.workflow-foot {
    justify-content: space-between;
    padding-top: 14px;
    color: #849099;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .12em;
}

.hero-caption {
    right: auto;
    bottom: 24px;
    left: 5%;
    border: 1px solid rgb(255 255 255 / 70%);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgb(23 39 50 / 8%);
}

.feature-item {
    min-height: 210px;
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    border-color: #cbd9ff;
    box-shadow: 0 15px 34px rgb(29 54 87 / 8%);
}

.team-band {
    background: linear-gradient(135deg, #f2f5f8, #e9eef3);
}

.role-grid > div {
    min-height: 150px;
    padding: 21px;
    border: 1px solid #dfe5ea;
    border-radius: 12px;
    background: rgb(255 255 255 / 65%);
}

.auth-page {
    background:
        radial-gradient(ellipse at 12% 15%, rgb(205 226 255 / 45%), transparent 35%),
        radial-gradient(ellipse at 94% 82%, rgb(226 238 217 / 55%), transparent 34%),
        #f5f7f8;
}

.auth-main {
    max-width: 1320px;
    gap: clamp(42px, 7vw, 100px);
}

.auth-intro h1,
.registration-intro h1 {
    letter-spacing: -.045em;
}

.auth-photo,
.registration-photo {
    border-radius: 15px;
    box-shadow: 0 20px 48px rgb(26 42 54 / 12%);
}

.auth-form-section {
    max-width: 450px;
    padding: 36px;
    border: 1px solid rgb(221 228 233 / 85%);
    border-radius: 18px;
    background: rgb(255 255 255 / 92%);
    box-shadow: 0 24px 70px rgb(27 45 60 / 9%);
}

.auth-form-section h2,
.registration-form h2 {
    letter-spacing: -.035em;
}

.form-field {
    gap: 7px;
    color: #37424a;
}

.form-field input,
.form-field textarea {
    min-height: 48px;
    border-color: #dce2e7;
    border-radius: 9px;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.form-field input:hover,
.form-field textarea:hover {
    border-color: #b9c5cf;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: #0758f9;
    background: #fff;
    box-shadow: 0 0 0 4px rgb(7 88 249 / 10%);
}

.button-primary,
.button-dark {
    border-radius: 9px;
    box-shadow: 0 8px 18px rgb(7 88 249 / 14%);
}

.registration-main {
    align-items: start;
    gap: clamp(40px, 6vw, 82px);
}

.registration-intro {
    position: sticky;
    top: 118px;
}

.registration-form {
    padding: 34px;
    border: 1px solid #e0e6ea;
    border-radius: 18px;
    background: rgb(255 255 255 / 94%);
    box-shadow: 0 22px 64px rgb(27 45 60 / 8%);
}

.registration-form fieldset {
    border-color: #e7ebee;
}

.registration-form legend {
    color: #52616a;
    letter-spacing: .01em;
}

.form-error {
    border-radius: 8px;
}

.success-state {
    padding: 42px;
    border: 1px solid #dce9dd;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 54px rgb(27 45 60 / 7%);
}

.success-state .form-emblem {
    background: #e5f5e8;
    color: #267640;
}

@media (max-width: 1050px) {
    .hero-workflow {
        right: 3%;
        width: 285px;
    }

    .hero-copy {
        max-width: 66%;
    }

    .registration-main {
        grid-template-columns: .8fr 1.2fr;
        padding-right: 28px;
        padding-left: 28px;
    }
}

@media (max-width: 850px) {
    .hero-workflow {
        display: none;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero::before {
        background: linear-gradient(90deg, rgb(248 250 251 / 94%), rgb(248 250 251 / 63%));
    }

    .feature-item {
        min-height: 190px;
        padding: 20px;
    }

    .auth-form-section {
        padding: 30px;
    }

    .registration-intro {
        position: static;
    }

    .registration-form {
        padding: 28px;
    }
}

@media (max-width: 600px) {
    .site-header {
        backdrop-filter: none;
    }

    .hero {
        height: auto;
        min-height: 560px;
    }

    .hero::before {
        background: linear-gradient(90deg, rgb(248 250 251 / 95%), rgb(248 250 251 / 72%));
    }

    .hero-copy {
        max-width: 100%;
        padding-right: 22px;
        padding-left: 22px;
    }

    .hero-description {
        font-size: 25px;
    }

    .feature-item,
    .role-grid > div {
        min-height: 0;
        padding: 17px;
    }

    .auth-form-section {
        padding: 27px 22px;
        border-radius: 15px;
    }

    .registration-form {
        padding: 24px 19px;
        border-radius: 15px;
    }

    .success-state {
        padding: 28px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
