.sb-consent-page {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: clamp(70px, 9vw, 140px) 0;
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(520px, 1.2fr);
    gap: clamp(48px, 7vw, 110px);
    align-items: start;
}

.sb-consent-intro {
    position: sticky;
    top: 130px;
}

.sb-consent-intro h1,
.sb-consent-card--success h1 {
    margin: 24px 0;
    font-size: clamp(42px, 5vw, 72px);
    line-height: .98;
    letter-spacing: -.055em;
}

.sb-consent-intro > p:last-child,
.sb-consent-card--success > p {
    max-width: 32em;
    font-size: 21px;
    line-height: 1.55;
}

.sb-consent-card {
    padding: clamp(28px, 4vw, 54px);
    background: #fff;
    border: 1px solid rgba(25, 24, 22, .13);
    box-shadow: 0 24px 70px rgba(25, 24, 22, .08);
}

.sb-field {
    display: block;
    margin-bottom: 24px;
}

.sb-field > span {
    display: block;
    margin-bottom: 9px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sb-field small {
    font-weight: 500;
    opacity: .55;
}

.sb-field input {
    width: 100%;
    min-height: 58px;
    padding: 14px 16px;
    border: 1px solid rgba(25, 24, 22, .28);
    border-radius: 0;
    background: #fff;
    color: inherit;
    font: inherit;
}

.sb-field input:focus {
    outline: 2px solid #ff5226;
    outline-offset: 2px;
}

.sb-consent-check {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 14px;
    margin: 34px 0;
    align-items: start;
}

.sb-consent-check input {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    margin: 3px 0 0;
    border: 2px solid #292724;
    border-radius: 2px;
    background: #fff;
    accent-color: #ff5226;
    cursor: pointer;
}

.sb-consent-check input:checked {
    border-color: #ff5226;
    background: #ff5226;
    box-shadow: inset 0 0 0 4px #fff;
}

.sb-consent-check input:focus-visible {
    outline: 2px solid #ff5226;
    outline-offset: 3px;
}

.sb-consent-check > span {
    color: #4f4c47;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
}

.sb-consent-check a,
.sb-consent-login a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sb-consent-submit {
    width: 100%;
    justify-content: center;
    border: 0;
    cursor: pointer;
}

.sb-form-state,
.sb-consent-card .gh-button-loader {
    display: none;
}

.sb-consent-card.loading .sb-form-state.loading,
.sb-consent-card.success .sb-form-state.success,
.sb-consent-card.error .sb-form-state.error {
    display: block;
    margin: 22px 0 0;
    padding: 16px;
    background: #f3efe7;
    font-size: 16px;
    line-height: 1.5;
}

.sb-consent-card.loading .gh-button-content {
    opacity: .55;
}

.sb-consent-login {
    margin: 24px 0 0;
    text-align: center;
    font-size: 16px;
}

.sb-consent-card--success {
    grid-column: 1 / -1;
    width: min(760px, 100%);
    margin: 0 auto;
}

@media (max-width: 850px) {
    .sb-consent-page {
        grid-template-columns: 1fr;
        width: min(100% - 30px, 680px);
        padding: 54px 0 80px;
    }

    .sb-consent-intro {
        position: static;
    }

    .sb-consent-card {
        padding: 26px 20px;
    }

    .sb-consent-check > span {
        font-size: 14px;
    }
}
