@font-face {
    font-family: Montserrat;
    src: url("../fonts/montserrat.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --page-bg: #1d1d1d;
    --panel-bg: #1a1a1a;
    --accent: #fc345c;
    --text: #fff;
    --content-width: 1120px;
}

* {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    min-width: 280px;
    min-height: 768px;
    min-height: max(768px, 100svh);
    margin: 0;
    background: var(--page-bg);
    color: var(--text);
    font-family: "Proxima Nova", Montserrat, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

.site-header {
    position: relative;
    z-index: 1;
    display: grid;
    flex: 0 0 65px;
    place-items: center;
    background: var(--panel-bg);
}

.brand {
    display: block;
    width: 117px;
    height: 20px;
}

.hero {
    position: relative;
    isolation: isolate;
    flex: 1 0 auto;
    padding: 40px 16px 80px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 185px 195px at calc(100% - 10px) 65px, rgb(255 52 92 / 40%), transparent 100%),
        radial-gradient(ellipse 180px 225px at 55px 360px, rgb(255 52 92 / 15%), transparent 100%);
}

.hero__inner {
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    font-size: clamp(11px, 3.73vw, 15px);
    font-weight: 500;
    line-height: 18px;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 20px;
    height: 1px;
    flex: 0 0 20px;
    background: var(--accent);
    content: "";
}

.hero__title {
    margin: 0 0 10px;
    font-size: clamp(29px, 10.95vw, 52px);
    font-weight: 800;
    line-height: 1.31818;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}

.title-line {
    display: block;
    white-space: nowrap;
}

.title-line--accent,
.wordmark > span {
    color: var(--accent);
}

.wordmark {
    color: #ffdde4;
}

.hero__description {
    max-width: 290px;
    margin: 0 0 16px;
    color: rgb(255 255 255 / 50%);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.download-button {
    display: flex;
    width: 100%;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 14px 18px;
    border: 1px solid rgb(255 255 255 / 30%);
    border-radius: 10px;
    background: linear-gradient(110deg, #ff345c, #c21033);
    color: var(--text);
    font: 800 16px / 1.25 Montserrat, Arial, sans-serif;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: filter 160ms ease, transform 160ms ease;
}

.download-button .icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.download-button:disabled {
    opacity: 1;
    -webkit-text-fill-color: currentColor;
}

.download-button:not(:disabled),
a.social-link {
    cursor: pointer;
}

.download-button:not(:disabled):active,
a.social-link:active {
    transform: translateY(1px);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 5px;
}

.site-footer {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    padding: 21px 16px 22px;
    padding-bottom: max(22px, env(safe-area-inset-bottom));
    background: var(--panel-bg);
}

.site-footer__inner {
    display: flex;
    width: 100%;
    max-width: var(--content-width);
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-inline: auto;
}

.site-footer .brand {
    width: clamp(90px, 29.1vw, 117px);
    height: auto;
}

.age-badge {
    display: grid;
    width: 54px;
    height: 42px;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid #505050;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}

.socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-link {
    position: relative;
    display: grid;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(150deg, #ff345c 25%, #f32050 60%, #c21033);
    color: var(--text);
    transition: filter 160ms ease, transform 160ms ease;
}

/* Extend the hit area without changing the circles in the design. */
.social-link::after {
    position: absolute;
    inset: -6px -4px;
    content: "";
}

.icon {
    display: block;
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@media (hover: hover) {
    .download-button:not(:disabled):hover,
    a.social-link:hover {
        filter: brightness(1.12);
    }
}

@media (min-width: 768px) {
    .site-header {
        flex-basis: 88px;
    }

    .site-header .brand {
        width: 164px;
        height: 28px;
    }

    .hero {
        display: flex;
        align-items: center;
        padding: 64px 40px 96px;
        background:
            radial-gradient(ellipse 450px 400px at 92% 15%, rgb(255 52 92 / 30%), transparent 100%),
            radial-gradient(ellipse 400px 350px at 15% 70%, rgb(255 52 92 / 13%), transparent 100%);
    }

    .hero__inner {
        max-width: var(--content-width);
    }

    .eyebrow {
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 24px;
    }

    .hero__title {
        margin-bottom: 24px;
        font-size: clamp(56px, 6.5vw, 80px);
        line-height: 1.15;
    }

    .hero__description {
        max-width: 490px;
        margin-bottom: 24px;
        font-size: 16px;
        line-height: 24px;
    }

    .download-button {
        max-width: 440px;
        min-height: 64px;
        font-size: 18px;
    }

    .site-footer {
        padding: 24px 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
    }
}
