.tlp-download-page {
    --download-ink: #21212d;
    --download-paper: #fff;
    --download-canvas: #f6f6f9;
    color: var(--download-ink);
    background: var(--download-canvas);
    font-family: Inter, sans-serif; /* impeccable-disable-line overused-font: established TrolyPage design system */
}

.tlp-download-page ::selection {
    color: var(--download-ink);
    background: #cfff45;
}

.tlp-download-page :focus-visible {
    outline: 3px solid #ef2b10;
    outline-offset: 4px;
}

.tlp-download-skip {
    position: fixed;
    z-index: var(--z-public-skip-link);
    top: 12px;
    left: 12px;
    transform: translateY(-160%);
    padding: 12px 18px;
    color: #fff;
    background: var(--download-ink);
    border-radius: 8px;
}

.tlp-download-skip:focus {
    transform: translateY(0);
}

.tlp-download-page main {
    display: block;
}

.tlp-download-hero {
    overflow: hidden;
    background: var(--download-paper);
    padding: clamp(120px, 12vw, 166px) 0 clamp(68px, 8vw, 112px);
}

.tlp-download-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.98fr);
    align-items: center;
    gap: clamp(24px, 5vw, 82px);
}

.tlp-download-hero-copy {
    padding: 10px 0;
}

.tlp-download-hero h1,
.tlp-download-story h2,
.tlp-download-availability h2,
.tlp-download-closing h2 {
    color: var(--download-ink);
    font-family: Inter, sans-serif; /* impeccable-disable-line overused-font: established TrolyPage design system */
    font-weight: 750;
    letter-spacing: -0.04em;
}

.tlp-download-hero h1 {
    max-width: 10.5ch;
    margin: 0;
    font-size: clamp(54px, 5.9vw, 92px);
    line-height: 0.99;
    text-wrap: balance;
}

.tlp-download-hero h1 span {
    display: block;
}

.tlp-download-hero h1 span:last-child {
    color: #2457f5;
}

.tlp-download-hero-copy > p {
    max-width: 53ch;
    margin: 30px 0 0;
    color: #444553;
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.6;
}

.tlp-download-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
    margin-top: 38px;
}

.tlp-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 54px;
    padding: 13px 20px 13px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.tlp-download-button svg {
    flex: none;
    width: 20px;
    height: 20px;
}

.tlp-download-button:hover {
    transform: translateY(-2px);
}

.tlp-download-button--dark {
    color: #fff;
    background: var(--download-ink);
}

.tlp-download-button--dark:hover {
    color: #fff;
    background: #3a3b4b;
}

.tlp-download-inline-link {
    color: var(--download-ink);
    font-size: 15px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

.tlp-download-inline-link:hover {
    color: #2457f5;
}

.tlp-download-hero-media {
    min-width: 0;
}

.tlp-download-hero-media-stage {
    position: relative;
    width: 100%;
    height: clamp(520px, 49vw, 660px);
    overflow: hidden;
    background: #eef2ff;
    border-radius: 16px;
}

.tlp-download-hero-media-stage::after {
    position: absolute;
    z-index: 0;
    right: -9%;
    bottom: -29%;
    width: 85%;
    aspect-ratio: 1;
    border: 1px solid #b7c6ff;
    border-radius: 50%;
    content: '';
}

.tlp-download-hero-image {
    position: absolute;
    z-index: 1;
    display: block;
    width: auto;
    max-width: none;
    height: auto;
    box-shadow: 0 18px 46px rgb(22 45 126 / 16%);
}

.tlp-download-hero-image--front {
    bottom: -8px;
    left: 8%;
    width: 50%;
    transform: rotate(-5deg);
}

.tlp-download-hero-image--back {
    right: 4%;
    bottom: -27px;
    width: 44%;
    transform: rotate(6deg);
}

.tlp-download-availability {
    padding: clamp(78px, 8vw, 120px) 0 clamp(72px, 7vw, 104px);
    background: var(--download-canvas);
}

.tlp-download-availability-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .75fr);
    align-items: end;
    gap: 40px;
    margin-bottom: 48px;
}

.tlp-download-availability h2,
.tlp-download-story h2,
.tlp-download-closing h2 {
    max-width: 15ch;
    margin: 0;
    font-size: clamp(42px, 4.6vw, 68px);
    line-height: 1.04;
    text-wrap: balance;
}

.tlp-download-availability-heading p,
.tlp-download-story-heading p,
.tlp-download-closing p {
    max-width: 54ch;
    margin: 0;
    color: #444553;
    font-size: 17px;
    line-height: 1.6;
}

.tlp-download-stores {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
}

.tlp-download-store {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 136px;
    padding: 27px 0 24px;
    border-top: 1px solid #caced8;
    border-bottom: 1px solid #caced8;
}

.tlp-download-store-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.tlp-download-store-mark {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #fff;
    border: 1px solid #dfe2ea;
    border-radius: 14px;
}

.tlp-download-store-mark img {
    display: block;
    width: 34px;
    height: 34px;
}

.tlp-download-store-brand > div > span {
    display: block;
    color: #575969;
    font-size: 14px;
    line-height: 1.4;
}

.tlp-download-store strong {
    display: block;
    margin-top: 8px;
    color: var(--download-ink);
    font-size: 29px;
    font-weight: 750;
    letter-spacing: -.03em;
    line-height: 1.1;
}

.tlp-download-store-waiting {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--download-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.tlp-download-store-badge {
    display: block;
    flex: none;
    line-height: 0;
}

.tlp-download-store-badge img {
    display: block;
    width: 164px;
    height: auto;
}

.tlp-download-store-waiting {
    color: #56596b;
}

.tlp-download-availability-note {
    max-width: 80ch;
    margin: 22px 0 0;
    color: #575969;
    font-size: 14px;
    line-height: 1.55;
}

.tlp-download-story {
    padding: clamp(82px, 9vw, 132px) 0 clamp(92px, 10vw, 150px);
    background: #fff;
}

.tlp-download-story-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: clamp(40px, 5vw, 70px);
}

.tlp-download-story-heading p {
    max-width: 38ch;
}

.tlp-download-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 44px);
}

.tlp-download-proof article {
    min-width: 0;
}

.tlp-download-proof-media {
    display: flex;
    justify-content: center;
    align-items: end;
    height: clamp(370px, 39vw, 530px);
    overflow: hidden;
    background: #f0f3ff;
    border-radius: 16px;
}

.tlp-download-proof article:nth-child(2) .tlp-download-proof-media {
    background: #e8eeff;
}

.tlp-download-proof article:nth-child(3) .tlp-download-proof-media {
    background: #e9ecf5;
}

.tlp-download-proof-media img {
    display: block;
    width: min(77%, 280px);
    height: auto;
    max-width: none;
    transform: translateY(34px);
    box-shadow: 0 18px 35px rgb(22 45 126 / 11%);
}

.tlp-download-proof-copy {
    padding: 23px 2px 0;
}

.tlp-download-proof-copy h3 {
    margin: 0 0 12px;
    color: var(--download-ink);
    font-size: clamp(23px, 2.3vw, 30px);
    font-weight: 750;
    letter-spacing: -.03em;
    line-height: 1.15;
}

.tlp-download-proof-copy p {
    max-width: 39ch;
    margin: 0;
    color: #444553;
    font-size: 16px;
    line-height: 1.6;
}

.tlp-download-closing {
    padding: clamp(80px, 8vw, 120px) 0;
    color: #fff;
    background: var(--download-ink);
}

.tlp-download-closing-inner {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 32px;
}

.tlp-download-closing h2 {
    max-width: 14ch;
    color: #fff;
}

.tlp-download-closing p {
    max-width: 58ch;
    margin-top: 23px;
    color: #d9d9e3;
}

.tlp-download-button--light {
    flex: none;
    color: var(--download-ink);
    background: #cfff45;
}

.tlp-download-button--light:hover {
    color: var(--download-ink);
    background: #e2ff83;
}

@media (max-width: 991px) {
    .tlp-download-stores {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .tlp-download-store + .tlp-download-store {
        border-top: 0;
    }

    .tlp-download-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 26px;
    }

    .tlp-download-hero h1 {
        font-size: clamp(46px, 6vw, 62px);
    }

    .tlp-download-hero-media-stage {
        height: 510px;
    }

    .tlp-download-availability-heading,
    .tlp-download-story-heading {
        grid-template-columns: 1fr;
        display: block;
    }

    .tlp-download-availability-heading p,
    .tlp-download-story-heading p {
        margin-top: 20px;
    }

    .tlp-download-proof-media {
        height: 380px;
    }
}

@media (max-width: 767px) {
    .tlp-download-hero {
        padding-top: 64px;
        padding-bottom: 60px;
    }

    .tlp-download-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tlp-download-hero h1 {
        max-width: 12ch;
        font-size: clamp(44px, 10.5vw, 65px);
    }

    .tlp-download-hero-copy > p {
        margin-top: 22px;
        font-size: 17px;
    }

    .tlp-download-actions {
        margin-top: 28px;
    }

    .tlp-download-hero-media-stage {
        height: min(123vw, 500px);
    }

    .tlp-download-hero-image--front {
        left: 4%;
        width: 58%;
    }

    .tlp-download-hero-image--back {
        right: 1%;
        width: 52%;
    }

    .tlp-download-availability-heading,
    .tlp-download-story-heading {
        margin-bottom: 36px;
    }

    .tlp-download-availability h2,
    .tlp-download-story h2,
    .tlp-download-closing h2 {
        font-size: clamp(38px, 9vw, 54px);
    }

    .tlp-download-stores,
    .tlp-download-proof {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .tlp-download-store {
        min-height: 120px;
    }

    .tlp-download-store + .tlp-download-store {
        border-top: 0;
    }

    .tlp-download-proof {
        gap: 48px;
    }

    .tlp-download-proof-media {
        height: min(118vw, 490px);
    }

    .tlp-download-proof-media img {
        width: min(70%, 300px);
    }

    .tlp-download-closing-inner {
        display: block;
    }

    .tlp-download-closing .tlp-download-button {
        margin-top: 32px;
    }
}

@media (max-width: 520px) {
    .tlp-download-store--published {
        display: block;
    }

    .tlp-download-store--published .tlp-download-store-badge {
        width: fit-content;
        margin-top: 20px;
    }
}

@media (max-width: 380px) {
    .tlp-download-store {
        display: block;
    }

    .tlp-download-store-badge,
    .tlp-download-store-waiting {
        margin-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tlp-download-button {
        transition: none;
    }

    .tlp-download-button:hover {
        transform: none;
    }
}
