.su-page {
    min-height: 100%;
    height: auto;
}

.su-shell {
    background:
        radial-gradient(circle at 39% 43%, rgba(91, 17, 146, 0.12), transparent 34rem),
        #02030a;
}

.su-header {
    grid-template-columns: 190px minmax(500px, 1fr) minmax(350px, auto);
}

.su-header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 30px;
    color: #a9abb4;
    font-size: 13px;
    white-space: nowrap;
}

.su-header-actions > span a {
    color: var(--sm-accent) !important;
}

.su-marketplace-link {
    min-height: 44px;
    padding: 11px 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 6px;
    background: linear-gradient(100deg, #e5f400, #b9e600);
    color: #080a08 !important;
    font-size: 13px;
    font-weight: 600;
}

.su-marketplace-link svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.su-main {
    width: min(1460px, calc(100% - 72px));
    min-height: 735px;
    margin: 0 auto;
    padding: 42px 0 26px;
    display: grid;
    grid-template-columns: minmax(620px, 1.15fr) minmax(510px, 0.85fr);
    gap: clamp(40px, 4vw, 76px);
    align-items: center;
}

.su-story {
    min-width: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

.su-intro {
    padding: 12px 0 6px;
}

.su-intro h1 {
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: clamp(34px, 3vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.su-intro p {
    margin: 15px 0 0;
    color: #aaaeba;
    font-size: 18px;
}

.su-story-content {
    min-height: 565px;
    flex: 1;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: center;
}

.su-features {
    position: relative;
    z-index: 2;
}

.su-features article {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    margin: 0 0 34px;
}

.su-features article:last-child {
    margin-bottom: 0;
}

.su-features article > span {
    color: var(--sm-accent);
}

.su-features svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.su-features h2 {
    width: auto;
    margin: 0;
    padding: 0;
    color: #f5f6f8;
    font-size: 14px;
    font-weight: 500;
}

.su-features p {
    margin: 7px 0 0;
    color: #9699a5;
    font-size: 12px;
    line-height: 1.55;
}

.su-art {
    height: 565px;
    margin-left: -52px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-mask-image: radial-gradient(ellipse 68% 74% at 50% 53%, #000 50%, transparent 100%);
    mask-image: radial-gradient(ellipse 68% 74% at 50% 53%, #000 50%, transparent 100%);
}

.su-art img {
    width: 128%;
    max-width: none;
    display: block;
    object-fit: contain;
    filter: saturate(1.06) contrast(1.03);
}

.su-auth-card {
    grid-area: auto;
    align-self: center;
    margin-inline: 0;
    padding: 30px 32px 24px;
}

.su-progress {
    margin: 0 0 30px;
    padding: 0 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
}

.su-progress li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    color: #8d909a;
    font-size: 11px;
    text-align: center;
}

.su-progress li:not(:last-child)::after {
    content: '';
    position: absolute;
    z-index: 0;
    top: 22px;
    left: calc(50% + 24px);
    width: calc(100% - 48px);
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.su-progress li.active:not(:last-child)::after {
    background: linear-gradient(to right, var(--sm-accent), rgba(255, 255, 255, 0.2));
}

.su-progress li > span {
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: #080b13;
}

.su-progress li.active {
    color: var(--sm-accent);
}

.su-progress li.active > span {
    border-color: var(--sm-accent);
    box-shadow: 0 0 24px rgba(216, 240, 0, 0.08);
}

.su-progress svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.su-progress strong {
    font-weight: 400;
}

.su-form > .sm-input-wrap,
.su-name-fields {
    margin-bottom: 14px;
}

.su-name-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.su-submit {
    margin-top: 6px;
}

.su-legal {
    margin: 20px 0 0;
    color: #8f929d;
    text-align: center;
    font-size: 11px;
    line-height: 1.5;
}

.su-legal a {
    color: var(--sm-accent) !important;
}

.su-footer {
    min-height: 220px;
    padding-top: 34px;
    padding-bottom: 26px;
}

@media (max-width: 1260px) {
    .su-header {
        grid-template-columns: 170px 1fr 250px;
    }

    .su-header-actions > span {
        display: none;
    }

    .su-main {
        width: min(1120px, calc(100% - 48px));
        grid-template-columns: minmax(500px, 1fr) minmax(450px, 0.85fr);
        gap: 34px;
    }

    .su-story-content {
        grid-template-columns: 190px minmax(0, 1fr);
    }
}

@media (max-width: 1000px) {
    .su-header {
        grid-template-columns: 1fr auto;
    }

    .su-header-actions > span {
        display: inline;
    }

    .su-marketplace-link {
        display: none;
    }

    .su-main {
        width: min(680px, calc(100% - 40px));
        min-height: 0;
        padding-top: 54px;
        display: block;
    }

    .su-story {
        display: contents;
    }

    .su-intro {
        margin-bottom: 46px;
    }

    .su-story-content {
        display: block;
        min-height: 0;
    }

    .su-features {
        display: none;
    }

    .su-art {
        position: absolute;
        z-index: 0;
        inset: 190px 0 0;
        height: 900px;
        margin: 0;
        opacity: 0.12;
        pointer-events: none;
        -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
        mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
    }

    .su-art img {
        width: 165%;
    }

    .su-auth-card {
        position: relative;
        z-index: 1;
        width: 100%;
    }

    .su-footer {
        margin-top: 70px;
    }
}

@media (max-width: 669px) {
    .su-shell {
        position: relative;
        background: #02030a;
    }

    .su-header {
        padding: 48px 24px 0;
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .su-header .sm-brand {
        justify-self: start;
    }

    .su-header .sm-brand img {
        width: 154px;
    }

    .su-header-actions {
        display: block;
        font-size: 13px;
    }

    .su-header-actions > span {
        display: inline;
    }

    .su-main {
        width: 100%;
        padding: 64px 20px 50px;
    }

    .su-intro {
        margin-bottom: 48px;
        padding: 0;
    }

    .su-intro h1 {
        font-size: clamp(30px, 8.5vw, 40px);
    }

    .su-intro p {
        font-size: 17px;
        line-height: 1.5;
    }

    .su-art {
        inset: 220px 0 0;
        height: 1040px;
        opacity: 0.1;
    }

    .su-auth-card {
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .su-progress {
        margin-bottom: 48px;
        padding: 0;
    }

    .su-progress li {
        gap: 12px;
        font-size: 12px;
    }

    .su-progress li > span {
        width: 52px;
        height: 52px;
    }

    .su-progress li:not(:last-child)::after {
        top: 25px;
        left: calc(50% + 27px);
        width: calc(100% - 54px);
    }

    .su-progress strong {
        max-width: 100px;
        line-height: 1.35;
    }

    .su-form > .sm-input-wrap,
    .su-name-fields {
        margin-bottom: 14px;
    }

    .su-name-fields {
        grid-template-columns: 1fr;
    }

    .su-form .sm-input-wrap {
        height: 68px;
        padding-inline: 20px;
    }

    .su-form .sm-input-wrap input,
    .su-form .sm-input-wrap input::placeholder {
        font-size: 17px;
    }

    .su-submit {
        min-height: 64px;
        margin-top: 10px;
        font-size: 16px;
    }

    .su-legal {
        margin-top: 34px;
        font-size: 12px;
    }

    .su-footer {
        display: none;
    }
}

@media (max-width: 420px) {
    .su-header {
        padding-inline: 18px;
    }

    .su-header .sm-brand img {
        width: 138px;
    }

    .su-header-actions {
        font-size: 11px;
    }

    .su-main {
        padding-inline: 14px;
    }

    .su-progress li {
        font-size: 10px;
    }
}
