@font-face {
    font-family: "Gotham Book";
    src: url("../../assets/css/fonts/Gotham-Book.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "Gotham Black";
    src: url("../../assets/css/fonts/Gotham-Black.woff") format("woff");
    font-display: swap;
}

:root {
    --green: #91d000;
    --page-bg: #d9d9d9;
    --ink: #080808;
    --content-width: 1320px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: linear-gradient(180deg, #d9d9d9 0 65%, #fff 82%);
    font-family: "Gotham Book", Arial, sans-serif;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.page-width {
    width: min(var(--content-width), calc(100% - 64px));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero {
    padding-top: 82px;
}

.hero__intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__title {
    margin: 0;
    text-transform: uppercase;
    font-size: clamp(48px, 5.2vw, 75px);
    line-height: .87;
    letter-spacing: -3px;
}

.hero__title strong,
.hero__title span {
    display: block;
}

.hero__title strong {
    font-family: "Gotham Black", Arial Black, sans-serif;
}

.hero__title span {
    margin-top: 14px;
    font-family: "Gotham Book", Arial, sans-serif;
    font-weight: 400;
}

.testimonial {
    max-width: 520px;
    margin: 0 30px 0 auto;
    font-size: 17px;
    line-height: 1.23;
    transform: translateY(-54px);
}

.testimonial p,
.testimonial footer {
    margin: 0;
}

.hero__picture {
    display: block;
    width: min(1400px, calc(100% - 32px));
    margin: -8px auto 0;
}

.hero__picture img {
    width: 100%;
    filter: drop-shadow(0 35px 22px rgba(0, 0, 0, .24));
}

.conversion {
    display: grid;
    grid-template-columns: minmax(450px, 590px) minmax(400px, 1fr);
    align-items: start;
    gap: clamp(55px, 8vw, 150px);
    position: relative;
    z-index: 3;
    margin-top: -260px;
}

.form-panel {
    overflow: hidden;
    background: #000;
    border-radius: 72px;
    box-shadow: 0 26px 26px rgba(0, 0, 0, .2);
}

.form-panel__body {
    padding: 57px 67px 35px;
    background: #fff;
    border-radius: 72px;
}

.form-panel__intro {
    margin: 0 0 31px 38px;
    font-size: 16px;
    line-height: 1.12;
}

.field {
    position: relative;
    margin-bottom: 17px;
}

.field input {
    width: 100%;
    height: 66px;
    padding: 16px 48px;
    border: 0;
    border-radius: 999px;
    outline: 0;
    background: #e8e8e8;
    color: #111;
    font: 14px "Gotham Book", Arial, sans-serif;
}

.field input:focus {
    box-shadow: 0 0 0 3px rgba(145, 208, 0, .7);
}

.field input::placeholder {
    color: #777;
    opacity: 1;
}

.error {
    display: block;
    min-height: 0;
    margin: 4px 22px 0;
    color: #b00020;
    font-size: 11px;
}

.error:not(:empty) {
    min-height: 13px;
}

.subscription-type {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 27px 0 19px;
    padding: 0;
    border: 0;
}

.subscription-type label,
.privacy-check label {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 13px;
}

.subscription-type input,
.privacy-check input {
    width: 24px;
    height: 24px;
    margin: 0;
    border: 0;
    accent-color: var(--green);
}

.privacy-check {
    text-align: center;
}

.privacy-check label {
    text-transform: none;
    font-family: "Gotham Black", Arial Black, sans-serif;
}

.form-panel__action {
    padding: 32px 67px 37px;
}

.form-panel__action button {
    width: 100%;
    min-height: 67px;
    padding: 12px 20px;
    border: 2px solid var(--green);
    border-radius: 999px;
    background: #000;
    color: var(--green);
    font: 19px "Gotham Black", Arial Black, sans-serif;
    cursor: pointer;
    transition: background .2s, color .2s;
    animation: registration-button-blink 1.35s ease-in-out infinite;
}

@keyframes registration-button-blink {
    0%, 100% {
        background: #000;
        color: var(--green);
        box-shadow: 0 0 0 rgba(145, 220, 0, 0);
    }
    50% {
        background: var(--green);
        color: #000;
        box-shadow: 0 0 18px rgba(145, 220, 0, .8);
    }
}

@media (prefers-reduced-motion: reduce) {
    .form-panel__action button {
        animation: none;
    }
}

.form-panel__action button:hover,
.form-panel__action button:focus-visible {
    background: var(--green);
    color: #000;
}

.offer {
    --plus-column: 78px;
    align-self: center;
    margin-top: 318px;
}

.offer p {
    margin: 0 0 20px var(--plus-column);
    font-size: clamp(25px, 2.1vw, 32px);
    line-height: 1.15;
}

.offer__deal {
    display: flex;
    align-items: center;
}

.offer__copy {
    min-width: 0;
}

.offer__plus {
    flex: 0 0 var(--plus-column);
    color: var(--green);
    font: clamp(80px, 7vw, 108px)/.75 "Gotham Black", Arial Black, sans-serif;
    text-align: center;
    text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff;
}

.offer h2 {
    margin: 0;
    color: var(--green);
    font: clamp(44px, 4.7vw, 68px)/.88 "Gotham Black", Arial Black, sans-serif;
    letter-spacing: -3px;
    text-transform: uppercase;
    text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff;
}

.offer h2 span {
    display: block;
    white-space: nowrap;
}

.offer small {
    display: block;
    margin: 12px 0 0;
    font: 13px "Gotham Black", Arial Black, sans-serif;
    text-transform: uppercase;
}

.brand-strip {
    display: grid;
    grid-template-columns: 210px 355px 1fr;
    align-items: center;
    gap: 55px;
    margin-top: 88px;
    padding-bottom: 80px;
}

.brand-strip__city {
    width: 205px;
}

.brand-strip__agora img {
    width: 350px;
}

.brand-strip__agora p {
    margin: 13px 0 0;
    text-align: center;
    font-size: 9px;
}

.brand-strip__line {
    height: 2px;
    background: #838383;
}

.services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 55px;
    padding: 20px 18px 75px;
}

.service-card {
    text-align: center;
}

.service-card img {
    width: 100%;
    aspect-ratio: 1.09;
    object-fit: contain;
    margin-bottom: 30px;
}

.service-card h2 {
    min-height: 0;
    margin: 0 0 16px;
    font-size: 23px;
    line-height: 1.06;
    font-weight: 400;
}

.service-card h2 strong,
.service-card p strong {
    font-family: "Gotham Black", Arial Black, sans-serif;
}

.service-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.legal {
    padding: 58px 0 110px;
    border-top: 2px solid #8c8c8c;
    font-size: 13px;
    line-height: 1.08;
    text-align: justify;
}

.legal p {
    margin: 0;
}

.legal strong {
    font-family: "Gotham Black", Arial Black, sans-serif;
}

.legal a {
    color: inherit;
    text-decoration: none;
    transition: color .18s ease;
}

.legal a:hover,
.legal a:focus-visible {
    color: #006dcc;
    text-decoration: underline;
}

@media (max-width: 1050px) {
    .conversion {
        grid-template-columns: minmax(390px, 520px) 1fr;
        gap: 45px;
        margin-top: -200px;
    }

    .form-panel__body,
    .form-panel__action {
        padding-inline: 48px;
    }

    .offer {
        margin-top: 230px;
    }

    .brand-strip {
        grid-template-columns: 170px 300px 1fr;
        gap: 35px;
    }

    .services {
        gap: 25px;
    }
}

@media (max-width: 900px) {
    body {
        background: linear-gradient(180deg, #d9d9d9 0 55%, #fff 78%);
    }

    .page-width {
        width: min(100% - 40px, 540px);
    }

    .hero {
        padding-top: 68px;
    }

    .hero__intro {
        display: block;
        width: min(100% - 76px, 440px);
    }

    .hero__title {
        font-size: clamp(35px, 9.8vw, 52px);
        line-height: .87;
        letter-spacing: -1.5px;
    }

    .hero__title span {
        margin-top: 9px;
    }

    .testimonial {
        display: none;
    }

    .hero__picture {
        width: 100%;
        margin: 18px auto 0;
    }

    .hero__picture img {
        width: 100%;
        filter: drop-shadow(0 22px 14px rgba(0, 0, 0, .2));
    }

    .conversion {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 0;
    }

    .offer {
        --plus-column: 0px;
        order: 1;
        align-self: stretch;
        margin: 34px 0;
        text-align: center;
    }

    .offer p {
        margin-left: 0;
        margin-bottom: 23px;
        font-size: clamp(24px, 6.8vw, 36px);
    }

    .offer h2 {
        font-size: clamp(39px, 10.7vw, 57px);
        letter-spacing: -2px;
    }

    .offer h2 span {
        display: block;
    }

    .offer__deal {
        display: block;
    }

    .offer__plus {
        display: none;
    }

    .offer__september::before {
        content: "+ ";
    }

    .offer small {
        margin-top: 24px;
        font-size: 10px;
    }

    .form-panel {
        order: 2;
        width: 100%;
        border-radius: 45px;
    }

    .form-panel__body {
        padding: 32px 42px 18px;
        border-radius: 45px;
    }

    .form-panel__intro {
        margin: 0 0 19px 27px;
        font-size: 13px;
    }

    .field {
        margin-bottom: 13px;
    }

    .field input {
        height: 45px;
        padding-inline: 34px;
        font-size: 12px;
    }

    .subscription-type {
        gap: 28px;
        margin: 18px 0 12px;
    }

    .subscription-type label,
    .privacy-check label {
        gap: 10px;
        font-size: 10px;
    }

    .subscription-type input,
    .privacy-check input {
        width: 20px;
        height: 20px;
    }

    .form-panel__action {
        padding: 22px 57px 24px;
    }

    .form-panel__action button {
        min-height: 49px;
        font-size: 16px;
    }

    .brand-strip {
        grid-template-columns: 1fr 1.7fr;
        gap: 30px;
        margin-top: 45px;
        padding: 0 20px 50px;
    }

    .brand-strip__city,
    .brand-strip__agora img {
        width: 100%;
    }

    .brand-strip__agora p {
        margin-top: 7px;
        font-size: 5px;
    }

    .brand-strip__line {
        display: none;
    }

    .services {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
        padding: 15px 0 35px;
    }

    .service-card img {
        width: min(88%, 138px);
        margin-inline: auto;
        margin-bottom: 20px;
    }

    .service-card h2 {
        min-height: 0;
        margin-bottom: 9px;
        font-size: clamp(12px, 3.4vw, 18px);
    }

    .service-card p {
        font-size: clamp(8px, 2.2vw, 11px);
        line-height: 1.45;
    }

    .legal {
        padding: 28px 0 45px;
        font-size: 8px;
        line-height: 1.04;
    }
}

@media (max-width: 420px) {
    .page-width {
        width: calc(100% - 32px);
    }

    .hero {
        padding-top: 58px;
    }

    .form-panel__body {
        padding-inline: 28px;
    }

    .form-panel__action {
        padding-inline: 42px;
    }

    .subscription-type {
        gap: 16px;
    }

    .services {
        gap-inline: 20px;
    }
}
