body.review-page {
    color: #f2f2f2;
    background: #070707;
}

.review-page .home-bar {
    position: sticky;
    top: 0;
    z-index: 4;
    background: transparent;
}

.review {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100dvh - 110px);
    padding: 48px var(--page-gutter) 80px;
    text-align: center;
}

.review h1 {
    max-width: 16em;
    margin: 0;
    color: #f2f2f2;
    font-family: "Bebas Neue", Arial, sans-serif;
    font-size: clamp(56px, 7vw, 92px);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 0.9;
}

.review__lead {
    max-width: 28em;
    margin: 18px 0 0;
    color: #f2f2f2;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.review__status {
    margin: 28px 0 0;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.review__status.is-sent {
    color: #3ddc84;
}

.review__status.is-error {
    color: #ff6b6b;
}

.review__form {
    position: relative;
    width: min(560px, 100%);
    margin-top: 40px;
    text-align: left;
}

.review__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.review-stars {
    margin: 0 0 22px;
    padding: 0;
    border: 0;
}

.review-stars legend {
    margin-bottom: 10px;
    color: #f2f2f2;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.review-stars__row {
    display: flex;
    gap: 8px;
}

.review-stars button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.review-stars svg {
    display: block;
    width: 32px;
    height: 32px;
    fill: #fff;
    stroke: #1c1c1e;
    stroke-width: 1.4;
    stroke-linejoin: round;
}

.review-stars button.is-on svg,
.review-stars button.is-preview svg {
    fill: #ffc425;
}

.review-stars button:focus-visible svg {
    outline: 2px solid #ffc425;
    outline-offset: 3px;
}

.review__form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 18px;
}

.review__form label:not(.review__check) > span:first-child,
.review__hint,
.review__count {
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.review__hint,
.review__count {
    font-weight: 400;
    letter-spacing: -0.02em;
    text-transform: none;
    color: rgba(242, 242, 242, 0.72);
}

.review__form input,
.review__form textarea {
    width: 100%;
    margin: 0;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid rgba(242, 242, 242, 0.55);
    border-radius: 0;
    background: transparent;
    color: #f2f2f2;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.02em;
    outline: none;
}

.review__form textarea {
    min-height: 96px;
    resize: vertical;
}

.review__form label.review__check {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    color: rgba(242, 242, 242, 0.72);
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.review__form label.review__check input {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    flex: none;
    border: 1.5px solid rgba(242, 242, 242, 0.32);
    border-radius: 4px;
    background-color: transparent;
    background-image: none;
    cursor: pointer;
}

.review__form label.review__check input:checked {
    border-color: #ffc425;
    background-color: #ffc425;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2 4.6 9 10 3' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

.review__check span,
.review__check a {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-transform: none;
}

.review__check a {
    color: var(--primary-yellow);
}

.review__error {
    margin: 0 0 14px;
    color: #ffb4b4;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.review__send {
    display: inline-flex;
    align-items: center;
    padding: 14px 20px;
    border: 2px solid var(--primary-yellow);
    border-radius: 14px;
    background: #ffca3b;
    color: var(--primary-black);
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.02em;
    cursor: pointer;
    transition: background-color 0.45s ease, color 0.45s ease;
}

.review__send:hover,
.review__send:focus-visible {
    background: transparent;
    color: var(--primary-yellow);
}

@media (max-width: 900px) {
    .review h1 {
        font-size: clamp(42px, 12vw, 58px);
    }

    .review__check {
        white-space: normal;
    }
}
