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

[hidden] {
    display: none !important;
}

html, body {
    min-height: 100%;
}

.landing-body {
    min-height: 100vh;
    min-height: 100svh;
    background-color: #123f3a;
    background-image:
        radial-gradient(ellipse 74% 58% at 74% 18%, rgba(176, 229, 216, 0.26) 0%, transparent 62%),
        linear-gradient(135deg, #0b2e2b 0%, #2d766d 54%, #f0d5b9 100%);
    font-family: Inter, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    color: #FFFFFF;
    position: relative;
    overflow-x: hidden;
}

.landing-body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.landing-page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100svh;
    width: 100%;
}

.landing-page,
.landing-page * {
    -webkit-user-select: none;
    user-select: none;
}

.landing-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    background: linear-gradient(135deg, #0b2e2b 0%, #4c9b90 58%, #f0d5b9 100%);
    overflow: hidden;
    animation: landing-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.landing-hero__media,
.landing-hero__veil,
.landing-hero__content {
    position: absolute;
    inset: 0;
}

.landing-hero__media {
    display: block;
}

.landing-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.landing-hero__veil {
    background:
        linear-gradient(90deg, rgba(8, 42, 39, 0.02) 0%, rgba(8, 42, 39, 0.04) 48%, rgba(8, 42, 39, 0.26) 100%),
        linear-gradient(180deg, rgba(8, 42, 39, 0) 0%, rgba(8, 42, 39, 0.04) 52%, rgba(8, 42, 39, 0.56) 100%);
}

.landing-hero__content {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    padding: clamp(34px, 5vw, 56px);
}

.landing-copy-column {
    width: 100%;
    max-width: min(700px, 48vw);
    padding-bottom: clamp(18px, 3vw, 44px);
}

.landing-headline {
    max-width: 100%;
    font-size: clamp(36px, 4vw, 64px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: 0;
    text-wrap: balance;
    text-shadow: 0 18px 42px rgba(5, 37, 34, 0.46);
}

.landing-headline__line {
    display: block;
    color: #ffffff;
}

.landing-headline__accent {
    color: #8fe1d4;
}

.landing-headline__line + .landing-headline__line {
    margin-top: 0.12em;
}

.landing-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 42px;
    max-width: 560px;
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 190px;
    height: 58px;
    padding: 0 18px;
    background: #050b0b;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    text-decoration: none;
    color: #ffffff;
    line-height: 1;
    transition: transform 200ms ease, background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.store-badge:hover {
    background: #020606;
    border-color: rgba(143, 225, 212, 0.42);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.store-badge:active {
    transform: translateY(0);
}

.store-badge--soon {
    cursor: default;
    opacity: 0.68;
    box-shadow: none;
}

.store-badge--soon:hover {
    background: #050b0b;
    border-color: rgba(255, 255, 255, 0.14);
    transform: none;
    box-shadow: none;
}

.store-badge__icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
}

.store-badge__icon--apple {
    fill: #ffffff;
}

.store-badge__icon--play {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
}

.store-badge__play-blue {
    fill: #00a6ff;
}

.store-badge__play-green {
    fill: #00d087;
}

.store-badge__play-yellow {
    fill: #ffd247;
}

.store-badge__play-red {
    fill: #ff4b55;
}

.store-badge__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.store-badge__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.78);
}

.store-badge__store {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap;
    color: #ffffff;
}

.landing-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin-top: 18px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}

.landing-footer__link {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    transition: color 180ms ease;
}

.landing-footer__link:hover {
    color: rgba(255, 255, 255, 0.95);
}

.landing-footer__sep {
    color: rgba(255, 255, 255, 0.24);
}

@keyframes landing-rise {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 1024px) {
    .landing-hero {
        min-height: 760px;
    }

    .landing-copy-column {
        max-width: 58vw;
    }
}

@media (max-width: 900px) {
    :root {
        --landing-mobile-copy-top: clamp(205px, 64vw, 275px);
        --landing-mobile-headline-size: clamp(25px, 6.8vw, 32px);
        --landing-mobile-badge-width: clamp(142px, 34vw, 158px);
        --landing-mobile-badge-height: 48px;
    }

    .landing-body {
        background-color: #96cec4;
        background-image:
            radial-gradient(ellipse 82% 56% at 52% 0%, rgba(232, 249, 245, 0.55) 0%, transparent 70%),
            linear-gradient(180deg, #a9d8cf 0%, #8fcabf 100%);
    }

    .landing-hero {
        min-height: 100vh;
        min-height: 100svh;
        background: #96cec4;
        overflow: hidden;
    }

    .landing-hero__media {
        position: absolute;
        inset: 0;
        height: 100%;
        overflow: hidden;
    }

    .landing-hero__bg {
        object-position: center top;
    }

    .landing-hero__veil {
        display: block;
        background:
            linear-gradient(180deg, rgba(232, 249, 245, 0.34) 0%, rgba(232, 249, 245, 0.12) 28%, rgba(150, 206, 196, 0) 58%),
            linear-gradient(180deg, rgba(7, 45, 42, 0) 46%, rgba(7, 45, 42, 0.18) 100%);
    }

    .landing-hero__content {
        position: absolute;
        inset: 0;
        align-items: flex-start;
        justify-content: flex-start;
        padding: var(--landing-mobile-copy-top) 18px max(18px, calc(env(safe-area-inset-bottom) + 18px));
        background: transparent;
    }

    .landing-copy-column {
        max-width: none;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        padding-bottom: 0;
    }

    .landing-headline {
        max-width: min(22rem, 100%);
        font-size: var(--landing-mobile-headline-size);
        line-height: 1.08;
        text-align: right;
        color: #073f3a;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.62), 0 14px 34px rgba(232, 249, 245, 0.72);
    }

    .landing-headline__line {
        color: inherit;
    }

    .landing-headline__accent {
        color: #14877b;
    }

    .landing-cta {
        margin-top: 10px;
    }

    .landing-cta {
        width: fit-content;
        max-width: calc(100vw - 36px);
        flex-direction: column;
        align-self: flex-end;
        align-items: flex-end;
        gap: 8px;
    }

    .store-badge {
        width: var(--landing-mobile-badge-width);
        height: var(--landing-mobile-badge-height);
        gap: 9px;
        padding: 0 12px;
    }

    .store-badge__icon {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
    }

    .store-badge__icon--play {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
    }

    .store-badge__label {
        font-size: 8px;
    }

    .store-badge__store {
        font-size: 15px;
    }

    .landing-footer {
        position: absolute;
        left: 18px;
        right: 18px;
        bottom: max(20px, calc(env(safe-area-inset-bottom) + 18px));
        margin-top: 0;
        font-weight: 900;
        color: #063f3a;
        -webkit-text-stroke: 0.45px rgba(255, 255, 255, 0.86);
        text-shadow:
            0 1px 0 #ffffff,
            0 0 4px rgba(255, 255, 255, 0.96),
            0 0 16px rgba(255, 255, 255, 0.92);
    }

    .landing-footer__link {
        color: #063f3a;
    }

    .landing-footer__sep {
        color: rgba(7, 63, 58, 0.46);
    }
}

@media (max-width: 380px) {
    :root {
        --landing-mobile-headline-size: clamp(22px, 6.4vw, 25px);
        --landing-mobile-badge-width: 136px;
        --landing-mobile-badge-height: 44px;
    }

    .landing-cta {
        margin-top: 8px;
    }
}

@media (min-width: 901px) and (max-height: 760px) {
    .landing-hero {
        min-height: 100vh;
        min-height: 100svh;
    }
}
