.app-landing-page {
    --app-gutter: max(18px, env(safe-area-inset-left));
    background:
        radial-gradient(circle at 86% 12%, rgba(244, 207, 50, 0.1), transparent 30rem),
        var(--bg);
}

.app-header,
.app-section-inner,
.app-footer {
    width: min(1080px, calc(100% - (var(--app-gutter) * 2)));
    margin-inline: auto;
}

.app-header {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-header-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding-inline: 4px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.app-hero {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.app-hero-inner {
    width: min(1080px, calc(100% - (var(--app-gutter) * 2)));
    min-height: calc(100svh - 62px);
    margin-inline: auto;
    padding: 34px 0 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
}

.app-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.app-identity {
    display: flex;
    align-items: center;
    gap: 14px;
}

.app-identity img {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 15px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.14),
        0 16px 42px rgba(0, 0, 0, 0.34);
}

.app-identity p,
.app-identity span {
    margin: 0;
}

.app-identity p {
    color: var(--text);
    font-size: 24px;
    line-height: 1.05;
    font-weight: 900;
}

.app-identity span {
    display: block;
    margin-top: 5px;
    color: var(--yellow);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.app-hero h1 {
    max-width: 700px;
    margin: 30px 0 18px;
    color: var(--text);
    font-size: clamp(42px, 12vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    font-weight: 900;
}

.app-lede {
    max-width: 590px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.55;
}

.app-actions {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.app-primary-cta {
    width: 100%;
    min-height: 58px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-radius: 999px;
    background: var(--yellow);
    color: #07080b;
    font-size: 17px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 16px 44px rgba(244, 207, 50, 0.16);
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
}

.app-primary-cta span {
    font-size: 21px;
    line-height: 1;
}

.app-store-badge {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
}

.app-store-badge img {
    display: block;
    width: 156px;
    height: auto;
}

.app-device-note {
    margin: 8px 0 0;
    color: var(--dim);
    font-size: 13px;
    font-weight: 700;
}

.app-hero-product {
    display: none;
}

.app-benefits,
.app-preview,
.app-final-cta {
    padding: 64px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-benefits {
    background: var(--bg-soft);
}

.app-kicker {
    margin: 0 0 10px;
    color: var(--yellow);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.app-benefits h2,
.app-preview h2,
.app-final-cta h2 {
    max-width: 760px;
    margin: 0;
    color: var(--text);
    font-size: clamp(32px, 8vw, 50px);
    line-height: 1.04;
    letter-spacing: -0.035em;
    font-weight: 900;
}

.app-benefit-grid {
    margin-top: 32px;
    display: grid;
    gap: 12px;
}

.app-benefit-grid article {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.app-step {
    display: block;
    margin-bottom: 28px;
    color: var(--yellow);
    font-size: 12px;
    font-weight: 900;
}

.app-benefit-grid h3 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 20px;
    line-height: 1.2;
}

.app-benefit-grid p,
.app-preview-copy > p:not(.app-kicker) {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.app-preview-grid {
    display: grid;
    gap: 38px;
}

.app-preview-copy > p:not(.app-kicker) {
    margin-top: 18px;
}

.app-trust-list {
    margin: 26px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
    list-style: none;
}

.app-trust-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.app-trust-list span {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(36, 209, 154, 0.14);
    color: var(--mint);
}

.app-screens {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}

.app-screens figure {
    min-width: 0;
    margin: 0;
}

.app-screens img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: #050608;
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.38);
}

.app-screens figure:nth-child(2) {
    margin-top: 34px;
}

.app-screens figcaption {
    margin-top: 10px;
    color: var(--dim);
    font-size: 12px;
    font-weight: 700;
}

.app-final-cta {
    background:
        linear-gradient(120deg, rgba(244, 207, 50, 0.1), transparent 46%),
        var(--bg-soft);
}

.app-final-cta-inner {
    display: grid;
    gap: 26px;
}

.app-footer {
    padding: 28px 0 calc(34px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.app-footer p {
    margin: 0;
    color: var(--faint);
    font-size: 13px;
}

.app-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 16px;
}

.app-footer a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dim);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.app-header-link:focus-visible,
.app-primary-cta:focus-visible,
.app-store-badge:focus-visible,
.app-footer a:focus-visible,
.app-header .nav-logo:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
    .app-primary-cta:hover {
        background: #ffe052;
        transform: translateY(-1px);
    }

    .app-header-link:hover,
    .app-footer a:hover {
        color: var(--text);
    }
}

@media (min-width: 720px) {
    .app-hero-inner {
        min-height: 680px;
        padding: 64px 0;
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
        gap: 68px;
    }

    .app-actions {
        flex-direction: row;
        align-items: center;
    }

    .app-primary-cta {
        width: auto;
        min-width: 200px;
    }

    .app-hero-product {
        display: flex;
        justify-content: center;
    }

    .app-phone-frame {
        width: min(310px, 100%);
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 36px;
        background: #090b10;
        box-shadow:
            0 40px 100px rgba(0, 0, 0, 0.58),
            0 0 0 8px rgba(255, 255, 255, 0.025);
        transform: rotate(2deg);
    }

    .app-phone-frame img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 29px;
    }

    .app-benefit-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .app-benefit-grid article {
        min-height: 220px;
    }

    .app-preview-grid {
        grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1fr);
        gap: 72px;
        align-items: center;
    }

    .app-final-cta-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .app-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (max-width: 380px) {
    .app-hero-inner {
        padding-top: 26px;
    }

    .app-identity img {
        width: 56px;
        height: 56px;
        border-radius: 13px;
    }

    .app-hero h1 {
        margin-top: 24px;
        font-size: 39px;
    }

    .app-lede {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .app-primary-cta,
    .app-phone-frame {
        transform: none;
        transition: none;
    }
}
