:root {
    --color-black: rgb(0, 0, 0);
    --color-black-lighter: rgb(23, 23, 23);
    --color-white: rgb(255, 255, 255);
    --color-white-darker: rgb(209, 209, 209);
    --color-accent: rgb(17, 137, 43);

    --bp-mobile-max: 799px;
    --bp-tablet-max: 999px;

    --pad-inline-mobile: 24px;
    --pad-inline-tablet: 64px;
    --pad-inline-desktop: 64px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: "Prompt", sans-serif;
}

body {
    min-height: 100vh;
    color: var(--color-white);
    background-color: var(--color-black);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--pad-inline-mobile);
    padding-right: var(--pad-inline-mobile);
}

.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 24px;
    padding-bottom: 20px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.logo {
    width: 240px;
    height: auto;
    display: block;
    flex: 0 0 auto;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.02em;
}

.language-button {
    border: 0;
    background: transparent;
    color: var(--color-white);
    padding: 0;
    margin: 0;
    font: inherit;
    opacity: 0.72;
    cursor: pointer;
}

.language-button.active {
    font-weight: 700;
    opacity: 1;
}

.content {
    flex: 1;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 8px;
    padding-bottom: 40px;
}

.upgrade {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.headline {
    margin: 0;
    color: var(--color-accent);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    line-height: 0.94;
    letter-spacing: -0.02em;
    font-size: 32px;
    white-space: pre-line;
}

.copy {
    margin: 16px 0 0;
    color: var(--color-white-darker);
    font-size: 16px;
    line-height: 1.35;
    white-space: pre-line;
}

.hero-badge {
    width: clamp(80px, 11vw, 128px);
    height: auto;
    flex: 0 0 auto;
}

.top-features {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-media {
    flex: 2;
}

.top-media img {
    width: 100%;
    height: auto;
    display: block;
}

.top-list {
    flex: 1;
}

.top-title {
    margin: 0 0 10px;
    padding-left: 24px;
    color: var(--color-accent);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    line-height: 1;
    font-size: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-check {
    width: 16px;
    height: 16px;
    margin-top: 4px;
    flex: 0 0 16px;
}

.feature-item-title {
    margin: 0;
    color: var(--color-white-darker);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.1;
}

.feature-item-body {
    margin: 2px 0 0;
    color: var(--color-white-darker);
    font-size: 16px;
    line-height: 1.35;
}

.store-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.store-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 0;
    height: 64px;
}

.store-button:hover,
.store-button:focus-visible {
    opacity: 0.92;
}

.store-badge {
    display: block;
    width: auto;
    height: 64px;
    object-fit: contain;
}

.store-badge-apple {
    height: 44px;
}

.promo-list {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.promo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.promo-media {
    flex: 1;
}

.promo-media img {
    width: 100%;
    height: auto;
    display: block;
}

.promo-copy {
    flex: 1;
}

.promo-title {
    margin: 0;
    color: var(--color-accent);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    line-height: 1;
    font-size: 32px;
}

.promo-body {
    margin: 16px 0 0;
    color: var(--color-white-darker);
    font-size: 16px;
    line-height: 1.35;
    white-space: pre-line;
}

.promo.reverse .promo-media {
    order: 2;
}

.promo.reverse .promo-copy {
    order: 1;
}

.cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    text-align: center;
}

.cta-headline {
    margin: 0;
    color: var(--color-accent);
    font-size: 70px;
    font-weight: 900;
    font-style: italic;
    line-height: 0.94;
    text-transform: uppercase;
    white-space: pre-line;
}

.cta-action {
    margin: 0;
    color: var(--color-white);
    font-size: 70px;
    font-weight: 900;
    font-style: italic;
    line-height: 0.94;
    text-transform: uppercase;
    white-space: pre-line;
}

.bottom-store-buttons {
    margin-top: 32px;
}

.bottom {
    padding-top: 20px;
    padding-bottom: 24px;
}

.bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--color-white-darker);
    font-size: 14px;
    line-height: 1.25;
    flex-wrap: wrap;
}

.bottom-links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.bottom-link {
    color: inherit;
    text-decoration: none;
}

.bottom-link:hover,
.bottom-link:focus-visible {
    color: var(--color-white);
}

.footer-separator {
    width: 100vw;
    margin: 32px 0 0 calc(50% - 50vw);
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.9);
}

.legal {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-title {
    margin: 0;
    color: var(--color-accent);
    font-size: 24px;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    text-transform: uppercase;
}

.section-copy {
    margin: 0;
    color: var(--color-white-darker);
    font-size: 16px;
    line-height: 1.5;
    white-space: pre-line;
}

.section-list {
    margin: 0;
    padding-left: 20px;
    color: var(--color-white-darker);
    font-size: 16px;
    line-height: 1.5;
}

@media (min-width: 800px) {
    .page {
        padding-left: var(--pad-inline-tablet);
        padding-right: var(--pad-inline-tablet);
    }
}

@media (min-width: 1000px) {
    .page {
        padding-left: var(--pad-inline-desktop);
        padding-right: var(--pad-inline-desktop);
    }
}

@media (max-width: 999px) {
    .hero {
        align-items: flex-start;
    }

    .hero-copy {
        flex: 1;
        min-width: 0;
    }

    .hero-badge {
        width: clamp(64px, 16vw, 100px);
    }

    .top-features,
    .promo,
    .cta {
        flex-direction: column;
        align-items: stretch;
    }

    .promo.reverse .promo-media,
    .promo.reverse .promo-copy {
        order: initial;
    }

    .cta {
        align-items: center;
    }
}

@media (max-width: 799px) {
    .top {
        align-items: center;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 10px;
    }

    .language-switcher {
        flex: 0 0 auto;
        gap: 8px;
        font-size: 16px;
        white-space: nowrap;
    }

    .content {
        padding-top: 0;
    }

    .upgrade,
    .promo-list {
        gap: 48px;
    }

    .cta-headline,
    .cta-action {
        font-size: 70px;
    }

    .top-title {
        padding-left: 0;
    }

    .section {
        padding: 20px;
    }
}