.landing-page {
    min-height: 100vh;
    margin: 0;
    color: var(--app-text-color);
    background:
            linear-gradient(180deg, rgba(248, 250, 252, 0.28) 0%, rgba(248, 250, 252, 0.82) 14%, rgba(248, 250, 252, 0.96) 24%, #f8fafc 33%, #f8fafc 100%),
            var(--login-background-image, url('/img/landing/fondolanding1.jpg')) center top / cover no-repeat fixed;
    isolation: isolate;
}

body.landing-page.pwa-page-transition,
body.landing-page.pwa-page-transition.page-ready,
body.landing-page.pwa-page-transition.page-leaving {
    opacity: 1;
    transform: none;
    transition: none;
    pointer-events: auto;
}

body.landing-page::before,
body.landing-page::after,
body.landing-page .landing-hero::before,
body.landing-page .landing-hero::after {
    content: none;
    display: none;
}

body.landing-page .pwa-start-splash,
body.landing-page .page-transition-overlay,
body.landing-page > .pwa-start-splash,
body.landing-page > .page-transition-overlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

html {
    scroll-behavior: smooth;
}

.landing-shell {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.4rem 0 3rem;
}

.landing-brand {
    display: flex;
    align-items: center;
}

.landing-brand-logo {
    width: min(160px, 44vw);
    height: auto;
    display: block;
}

.landing-hero {
    display: block;
    padding: 1.8rem 0 2rem;
}

.landing-hero-copy {
    max-width: 720px;
    min-width: 0;
}

.landing-how-it-works-graphic {
    padding-top: 0;
    margin-top: -.1rem;
}

.landing-how-it-works-intro {
    max-width: 760px;
    margin-bottom: 1rem;
}

.landing-how-it-works-picture {
    display: block;
    width: min(100%, 1080px);
    margin: 0 auto;
}

.landing-how-it-works-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 28px;
}

.landing-eyebrow,
.landing-section-kicker,
.landing-highlight-step {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: .45rem .9rem;
    border-radius: 999px;
    background: rgba(232, 90, 28, 0.14);
    color: #e85a1c;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.landing-title {
    margin: 1.25rem 0 1rem;
    color: #16394f;
    font-size: clamp(1.8rem, 4.1vw, 3rem);
    line-height: 1.1;
    font-weight: 700;
    max-width: 15ch;
}

.landing-subtitle {
    margin: 0;
    max-width: 58ch;
    color: #4f6478;
    font-size: 1.08rem;
    line-height: 1.7;
}

.landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 1.75rem;
}

.landing-btn {
    min-height: 52px;
    border-radius: 14px;
    padding: .85rem 1.3rem;
    font-weight: 700;
    box-shadow: none;
}

.landing-btn-primary {
    border: 0;
    background: #e85a1c;
    color: #fff;
}

.landing-btn-primary:hover,
.landing-btn-primary:focus {
    background: #d85118;
    color: #fff;
}

.landing-btn-secondary {
    border: 1px solid rgba(22, 57, 79, 0.14);
    background: rgba(255, 255, 255, 0.88);
    color: #16394f;
    backdrop-filter: blur(8px);
}

.landing-btn-secondary:hover,
.landing-btn-secondary:focus {
    border-color: rgba(22, 57, 79, 0.22);
    background: #fff;
    color: #16394f;
}

.landing-btn-ghost {
    border: 1px solid rgba(232, 90, 28, 0.22);
    background: #fff3ed;
    color: #b94819;
}

.landing-btn-ghost:hover,
.landing-btn-ghost:focus {
    background: #ffe8dc;
    color: #b94819;
}

.landing-info-card,
.landing-callout-card,
.landing-step-card,
.landing-gym-card,
.landing-access-panel,
.landing-access-copy-card,
.landing-product-card {
    border: 1px solid rgba(23, 50, 77, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 48px rgba(23, 50, 77, 0.08);
}

.landing-product-card {
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(250, 252, 255, 0.98) 100%);
}

.landing-product-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
}

.landing-product-status {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: rgba(22, 57, 79, 0.08);
    color: #16394f;
    font-size: .76rem;
    font-weight: 700;
}

.landing-product-title,
.landing-section h2,
.landing-callout-card h2,
.landing-info-card h2 {
    color: #16394f;
}

.landing-product-title {
    margin: 1rem 0 .7rem;
    font-size: 1.75rem;
    line-height: 1.18;
}

.landing-product-copy,
.landing-section-intro p,
.landing-callout-card p,
.landing-info-card p,
.landing-access-copy-card p,
.landing-access-panel p,
.landing-footer p,
.landing-faq-list p {
    margin: 0;
    color: #5f7388;
    line-height: 1.7;
}

.landing-product-flow {
    display: grid;
    gap: .75rem;
    margin-top: 1.25rem;
}

.landing-product-flow-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 1rem;
    border: 1px solid #e5ecf4;
    border-radius: 18px;
    background: #fff;
}

.landing-product-flow-label {
    color: #70849a;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.landing-highlight-list,
.landing-check-list {
    margin: 1rem 0 0;
    padding-left: 1.1rem;
    color: #16394f;
}

.landing-highlight-list li,
.landing-check-list li {
    margin-top: .65rem;
    line-height: 1.6;
}

.landing-section {
    padding: 1rem 0;
    scroll-margin-top: 1.5rem;
}

.landing-section + .landing-section {
    margin-top: .15rem;
}

.landing-section-intro {
    margin-bottom: 1.1rem;
}

.landing-section-intro h2 {
    margin: .85rem 0 .65rem;
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    line-height: 1.15;
}

.landing-grid {
    display: grid;
    gap: 1rem;
}

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

.landing-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.landing-info-card,
.landing-callout-card {
    padding: 1.4rem;
}

.landing-info-card {
    min-height: 180px;
}

.landing-faq-card {
    grid-column: 1 / -1;
}

.landing-info-card-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 1rem;
    border-radius: 18px;
}

.landing-info-card h3,
.landing-step-card h3,
.landing-gym-copy h3 {
    margin: 0 0 .7rem;
    color: #16394f;
    font-size: 1.12rem;
}

.landing-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .9rem;
}

.landing-step-card {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    min-height: 220px;
    padding: 1.3rem;
}

.landing-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: #16394f;
    color: #fff;
    font-weight: 800;
}

.landing-gym-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 220px;
    padding: 1.5rem 1.25rem;
    text-align: center;
}

.landing-gym-card:first-child {
    border-color: rgba(232, 90, 28, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 246, 240, 0.92) 100%);
}

.landing-gym-logo {
    width: min(100%, 180px);
    height: 96px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.landing-gym-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.landing-gym-logo-placeholder {
    border-radius: 24px;
    background: linear-gradient(135deg, #fff3ed 0%, #fff 100%);
    color: #e85a1c;
    font-size: 2rem;
    font-weight: 800;
}

.landing-gym-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.landing-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: rgba(22, 57, 79, 0.08);
    color: #16394f;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.landing-gym-card-soon {
    border-style: dashed;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: none;
    opacity: .88;
}

.landing-price-card,
.landing-transparency-card {
    min-height: 100%;
}

.landing-price-overline {
    margin: .55rem 0 0;
    color: #e85a1c;
    font-size: .84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.landing-price-card .landing-section-kicker,
.landing-transparency-card .landing-section-kicker {
    margin-bottom: .6rem;
}

.landing-price-card h2 {
    margin: .55rem 0 .6rem;
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    line-height: 1.08;
}

.landing-price-detail {
    color: #16394f !important;
    font-size: 1.15rem;
    font-weight: 700;
}

.landing-price-status {
    margin-top: .85rem !important;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: .55rem .9rem;
    border-radius: 14px;
    background: #e85a1c;
    color: #fff !important;
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.landing-price-note {
    margin-top: .85rem !important;
}

.landing-transparency-copy {
    margin: .6rem 0 0 !important;
}

.landing-mobile-intro {
    max-width: 760px;
}

.landing-mobile-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
}

.landing-mobile-benefits {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 1.1rem;
    align-items: center;
}

.landing-mobile-benefits h3,
.landing-install-card h3 {
    margin: 0;
    color: #16394f;
    font-size: 1.35rem;
    line-height: 1.2;
}

.landing-mobile-install-grid {
    display: grid;
    justify-items: stretch;
    gap: .75rem;
}

.landing-install-card {
    width: 100%;
    min-height: 0;
    padding: 0;
    overflow: hidden;
}

.landing-install-card-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 0;
    padding: .38rem .85rem;
    cursor: pointer;
    list-style: none;
}

.landing-install-card-header::-webkit-details-marker {
    display: none;
}

.landing-install-card-header::after {
    content: "+";
    margin-left: .75rem;
    color: #e85a1c;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.landing-install-card[open] .landing-install-card-header::after {
    content: "-";
}

.landing-install-card > p,
.landing-install-card > ol,
.landing-install-card > button {
    margin: 0 1.25rem 1rem;
}

.landing-install-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(232, 90, 28, 0.12);
    color: #e85a1c;
    font-size: 2.25rem;
    flex: 0 0 auto;
}

.landing-install-button {
    width: calc(100% - 2.5rem);
    margin-top: auto;
}

.landing-install-note {
    color: #70849a !important;
    font-size: .95rem;
}

.landing-ios-steps {
    display: grid;
    gap: .55rem;
    margin: 0;
    padding-left: 1.25rem;
    color: #5f7388;
    line-height: 1.6;
}

.landing-mobile-preview {
    width: 100%;
    margin: 0;
    justify-self: end;
}

.landing-mobile-preview img {
    display: block;
    width: 100%;
    max-height: 240px;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
}

.landing-faq-list {
    display: grid;
    gap: .85rem;
    margin-top: 1rem;
}

.landing-faq-list details {
    padding: 1rem 1.05rem;
    border: 1px solid #e4ebf3;
    border-radius: 18px;
    background: #fff;
}

.landing-faq-list summary {
    cursor: pointer;
    color: #16394f;
    font-weight: 700;
}

.landing-faq-list details[open] p {
    margin-top: .75rem;
}

.landing-access-layout {
    display: flex;
    justify-content: center;
}

.landing-access-copy-card {
    padding: 1.5rem;
}

.landing-access-copy-card h3,
.landing-access-panel h3,
.landing-login-card-copy h3 {
    margin: .9rem 0 .65rem;
    color: #16394f;
    font-size: 1.4rem;
    line-height: 1.2;
}

.landing-access-list {
    margin-top: 1rem;
}

.landing-login-card {
    width: min(100%, 520px);
    background: rgba(255, 255, 255, 0.98);
}

.landing-login-brand {
    margin-bottom: .9rem;
}

.landing-login-card-copy {
    margin-bottom: 1.15rem;
}

.landing-access-panel {
    max-width: 540px;
    margin: 0 auto;
    padding: 1.8rem;
    text-align: center;
}

.landing-access-panel .landing-btn {
    margin-top: 1rem;
}

.landing-footer {
    position: relative;
    z-index: 1;
    padding: 0 0 2.5rem;
}

.landing-scroll-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: #e85a1c;
    color: #fff;
    box-shadow: 0 18px 40px rgba(22, 57, 79, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 700;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background-color .2s ease;
    z-index: 1040;
    pointer-events: none;
}

.landing-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.landing-scroll-top:hover,
.landing-scroll-top:focus {
    background: #d85118;
    color: #fff;
}

.landing-footer-inner {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.4rem 1.5rem;
    border-top: 1px solid rgba(95, 115, 136, 0.18);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.landing-footer strong {
    color: #16394f;
}

.landing-footer a {
    color: #16394f;
    text-decoration: none;
    font-weight: 600;
}

.landing-footer a:hover,
.landing-footer a:focus {
    color: #e85a1c;
}

.landing-footer-block {
    display: grid;
    gap: .4rem;
}

.landing-footer-note {
    max-width: 420px;
}

.landing-footer .public-legal-links {
    justify-content: flex-start;
    margin-top: 0;
}

@media (max-width: 991.98px) {
    .landing-grid-three,
    .landing-grid-two,
    .landing-grid-gyms,
    .landing-steps,
    .landing-access-layout {
        grid-template-columns: 1fr 1fr;
    }

    .landing-hero {
        min-height: auto;
        padding-top: .8rem;
        padding-bottom: 2rem;
    }

    .landing-title {
        max-width: 16ch;
    }

    .landing-mobile-layout,
    .landing-mobile-install-grid {
        grid-template-columns: 1fr;
    }

    .landing-mobile-benefits {
        grid-template-columns: minmax(0, 1fr) 170px;
    }
}

@media (max-width: 767.98px) {
    .landing-shell {
        width: min(100% - 1.2rem, 1120px);
        padding-top: .9rem;
    }

    .landing-grid-three,
    .landing-grid-two,
    .landing-grid-gyms,
    .landing-steps,
    .landing-access-layout,
    .landing-footer-inner {
        grid-template-columns: 1fr;
        display: grid;
    }

    .landing-title {
        max-width: none;
        font-size: clamp(1.75rem, 9vw, 2.35rem);
    }

    .landing-brand-logo {
        width: min(160px, 52vw);
    }

    .landing-subtitle {
        font-size: 1rem;
    }

    .landing-hero-actions {
        flex-direction: column;
    }

    .landing-btn {
        width: 100%;
    }

    .landing-how-it-works-picture {
        width: min(100%, 420px);
    }

    .landing-mobile-benefits {
        grid-template-columns: 1fr;
    }

    .landing-mobile-preview {
        width: min(100%, 220px);
        justify-self: center;
    }

    .landing-info-card,
    .landing-callout-card,
    .landing-step-card,
    .landing-gym-card,
    .landing-access-panel,
    .landing-access-copy-card,
    .landing-product-card {
        border-radius: 22px;
    }

    .landing-hero {
        gap: 1.1rem;
        padding-bottom: 2rem;
    }

    .landing-section {
        padding: .8rem 0;
    }

    .landing-step-card,
    .landing-gym-card,
    .landing-info-card {
        min-height: auto;
    }

    .landing-footer {
        padding-bottom: 1.8rem;
    }

    .landing-scroll-top {
        right: 1rem;
        bottom: 1rem;
        width: 48px;
        height: 48px;
    }

    .landing-footer-inner {
        gap: .5rem;
        padding: 1.25rem 0;
    }
}

@media (max-width: 767.98px) and (orientation: portrait) {
    .landing-subtitle {
        color: #fff;
    }

    .landing-how-it-works-picture {
        width: min(100%, 360px);
    }
}
