/* Hero section: animated mesh background, headline and store badges. */
.page {
    position: relative;
    overflow-x: clip;
}

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background-color: var(--m-bg, oklch(.50 .15 275));
    transition: background-color 1.6s ease;
}

.hero__body {
    position: relative;
    /* 88px of fixed header on top of the design's 72px. */
    padding: 160px 24px 120px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
    gap: 72px;
    align-items: center;
}

.hero__text {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero__title {
    margin: 0;
    font: 700 clamp(48px, 6.6vw, 92px)/.98 var(--font-serif);
    letter-spacing: -2px;
    text-wrap: balance;
}

.hero__lead {
    margin: 0;
    max-width: 460px;
    font: 400 20px/1.55 var(--font-sans);
    color: rgba(255, 255, 255, .9);
    text-wrap: pretty;
}

.hero__phone {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Official store badges. The Google Play PNG has a transparent margin, cropped here. */
.badges {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 8px;
}

.badges--stacked {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 0;
}

.badge {
    display: flex;
    transition: transform .2s;
    --badge-h: 44px;
}

.badges--stacked .badge {
    --badge-h: 48px;
}

.badge:hover {
    transform: translateY(-3px);
}

.badge img {
    height: var(--badge-h);
    width: auto;
}

.badge__crop {
    display: block;
    height: var(--badge-h);
    overflow: hidden;
    border-radius: calc(var(--badge-h) * .19);
}

.badge__crop img {
    height: calc(var(--badge-h) * 1.4886);
    margin: calc(var(--badge-h) * -.2455);
}
