.ally-landing {
    --ally-blue: #007dba;
    --ally-orange: #ff671f;
    --ally-ink: #10283d;
    --ally-muted: #5f6f7d;
    --ally-soft-blue: #e7f4fb;
    --ally-soft-orange: #fff1ea;
    --ally-border: #dce7ee;
    --ally-surface: #ffffff;
    --ally-page: #f7fbfd;
    color: var(--ally-ink);
    background: var(--ally-page);
    font-family: "Arimo", Arial, sans-serif;
}

.ally-landing *,
.ally-landing *::before,
.ally-landing *::after {
    box-sizing: border-box;
    letter-spacing: 0;
}

.ally-landing .container {
    max-width: 1180px;
}

.ally-landing img {
    max-width: 100%;
    height: auto;
}

.ally-landing a {
    color: inherit;
}

.ally-hero {
    background: #ffffff;
    border-bottom: 1px solid var(--ally-border);
    overflow: hidden;
}

.ally-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 42px;
    min-height: 650px;
    align-items: center;
    padding: 34px 0 54px;
}

.ally-logo-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 34px;
}

.ally-whoop-logo {
    width: 178px;
    height: auto;
}

.ally-eyebrow {
    margin: 0 0 12px;
    color: var(--ally-orange);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.88rem;
}

.ally-hero h1,
.ally-section-heading h2,
.ally-section-copy h2 {
    color: var(--ally-blue);
    font-weight: 800;
    margin: 0;
}

.ally-hero h1 {
    max-width: 620px;
    font-size: 3.5rem;
    line-height: 1;
}

.ally-hero-lede {
    max-width: 600px;
    margin: 20px 0 0;
    color: var(--ally-muted);
    font-size: 1.18rem;
    line-height: 1.55;
}

.ally-price-band {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    margin: 28px 0;
    padding: 12px 18px;
    border: 2px solid var(--ally-orange);
    border-radius: 8px;
    background: var(--ally-soft-orange);
    color: var(--ally-ink);
}

.ally-price-band strong {
    color: var(--ally-orange);
    font-size: 2.25rem;
    line-height: 1;
}

.ally-check-list {
    display: grid;
    gap: 12px;
    max-width: 590px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ally-check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ally-ink);
    font-weight: 700;
    min-height: 30px;
}

.ally-check-list img {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.ally-hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.ally-hero-actions span {
    max-width: 310px;
    color: var(--ally-muted);
    font-size: 0.95rem;
}

.ally-scroll-link,
.ally-landing .custom-btn-primary {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 12px 22px;
    background: var(--ally-orange);
    border: 1px solid var(--ally-orange);
    color: #ffffff !important;
    font-weight: 800;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.ally-scroll-link:hover,
.ally-landing .custom-btn-primary:hover,
.ally-landing .custom-btn-primary:focus {
    background: var(--ally-blue);
    border-color: var(--ally-blue);
    color: #ffffff !important;
}

.ally-hero-media {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ally-hero-media picture,
.ally-hero-media img {
    width: 100%;
}

.ally-hero-media img {
    display: block;
    min-height: 460px;
    max-height: 620px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    border: 1px solid var(--ally-border);
}

.ally-section {
    padding: 82px 0;
}

.ally-section:nth-of-type(odd) {
    background: #ffffff;
}

.ally-section-heading {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}

.ally-section-heading h2,
.ally-section-copy h2 {
    font-size: 2.45rem;
    line-height: 1.12;
}

.ally-section-heading p,
.ally-section-copy p {
    color: var(--ally-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.ally-section-heading p:last-child {
    margin: 14px 0 0;
}

.ally-split {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 50px;
    align-items: center;
}

.ally-split-reverse {
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
}

.ally-device-card,
.ally-map-card,
.ally-router-card,
.ally-product-strip,
.ally-plan-card,
.ally-step-card,
.ally-testimonial-card,
.ally-support-card,
.ally-business-features article,
.ally-home-feature-list article {
    border: 1px solid var(--ally-border);
    border-radius: 8px;
    background: var(--ally-surface);
    box-shadow: 0 12px 30px rgba(0, 125, 186, 0.08);
}

.ally-device-card {
    padding: 26px;
    text-align: center;
}

.ally-device-card img {
    max-height: 420px;
    object-fit: contain;
}

.ally-inline-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 26px;
}

.ally-inline-stats div {
    border: 1px solid var(--ally-border);
    border-radius: 8px;
    padding: 18px 14px;
    background: var(--ally-soft-blue);
}

.ally-inline-stats strong,
.ally-plan-price {
    display: block;
    color: var(--ally-orange);
    font-weight: 800;
    font-size: 1.8rem;
    line-height: 1;
}

.ally-inline-stats span {
    display: block;
    margin-top: 6px;
    color: var(--ally-muted);
    font-size: 0.9rem;
}

.ally-product-strip {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    max-width: 780px;
    margin: 0 auto 28px;
    padding: 18px 22px;
}

.ally-product-strip img {
    max-height: 130px;
    object-fit: contain;
}

.ally-product-strip h3,
.ally-product-strip p {
    margin: 0;
}

.ally-product-strip h3 {
    color: var(--ally-blue);
    font-weight: 800;
}

.ally-product-strip p {
    margin-top: 6px;
    color: var(--ally-muted);
}

.ally-plan-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ally-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 390px;
    padding: 28px 20px 20px;
}

.ally-plan-popular {
    border: 2px solid var(--ally-orange);
}

.ally-plan-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    border-radius: 8px;
    background: var(--ally-orange);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.78rem;
}

.ally-plan-card h3 {
    color: var(--ally-blue);
    font-weight: 800;
    margin: 0 0 16px;
    padding-right: 92px;
}

.ally-plan-note {
    color: var(--ally-muted);
    font-weight: 700;
    margin: 10px 0 18px;
}

.ally-plan-card ul {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0 0 22px;
    list-style: none;
}

.ally-plan-card li {
    position: relative;
    padding-left: 22px;
    color: var(--ally-ink);
    line-height: 1.4;
}

.ally-plan-card li::before {
    content: "";
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ally-orange);
}

.ally-disabled-cta {
    margin-top: auto;
    width: 100%;
    opacity: 1 !important;
    background: #a2a3a2 !important;
    border-color: #a2a3a2 !important;
    cursor: not-allowed !important;
}

.ally-map-card {
    overflow: hidden;
    padding: 18px;
}

.ally-map-card img {
    display: block;
    width: 100%;
    min-height: 290px;
    object-fit: contain;
}

.ally-feature-panel {
    background: var(--ally-soft-blue);
}

.ally-business-grid,
.ally-residential-grid,
.ally-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 32px;
    align-items: center;
}

.ally-business-features,
.ally-home-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ally-business-features article,
.ally-home-feature-list article {
    min-height: 178px;
    padding: 24px;
}

.ally-business-features i,
.ally-home-feature-list i {
    color: var(--ally-orange);
    font-size: 1.7rem;
    margin-bottom: 14px;
}

.ally-business-features h3,
.ally-home-feature-list h3,
.ally-step-card h3,
.ally-testimonial-card h3,
.ally-support-card h3 {
    color: var(--ally-blue);
    font-weight: 800;
    margin: 0 0 8px;
}

.ally-business-features p,
.ally-home-feature-list p,
.ally-step-card p,
.ally-testimonial-card p,
.ally-support-card p {
    color: var(--ally-muted);
    line-height: 1.55;
    margin: 0;
}

.ally-router-card {
    padding: 24px;
    text-align: center;
}

.ally-router-card img {
    max-height: 430px;
    object-fit: contain;
}

.ally-residential-grid > img {
    width: 100%;
    min-height: 360px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--ally-border);
}

.ally-setup-grid,
.ally-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ally-step-card {
    overflow: hidden;
}

.ally-step-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--ally-soft-blue);
}

.ally-step-card div {
    padding: 22px;
}

.ally-testimonial-card {
    padding: 26px;
    min-height: 245px;
}

.ally-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 8px;
    background: var(--ally-blue);
    color: #ffffff;
    font-weight: 800;
}

.ally-faq-grid {
    align-items: start;
}

.ally-faq-list {
    display: grid;
    gap: 12px;
}

.ally-faq-list details {
    border: 1px solid var(--ally-border);
    border-radius: 8px;
    background: #ffffff;
    padding: 0;
    overflow: hidden;
}

.ally-faq-list summary {
    padding: 18px 20px;
    color: var(--ally-blue);
    font-weight: 800;
    list-style: none;
}

.ally-faq-list summary::-webkit-details-marker {
    display: none;
}

.ally-faq-list details p {
    padding: 0 20px 18px;
    margin: 0;
    color: var(--ally-muted);
    line-height: 1.6;
}

.ally-support-card {
    overflow: hidden;
}

.ally-support-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.ally-support-card div {
    padding: 24px;
}

.ally-support-card strong {
    display: block;
    margin-top: 14px;
    color: var(--ally-orange);
    font-size: 1.4rem;
}

.ally-coverage-modal .modal-content {
    border-radius: 8px;
    overflow: hidden;
}

.ally-coverage-modal .modal-header {
    background: var(--ally-blue);
    color: #ffffff;
}

.ally-coverage-modal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.ally-coverage-modal iframe {
    display: block;
    width: 100%;
    height: 620px;
    border: 0;
}

@media (max-width: 1199px) {
    .ally-hero h1 {
        font-size: 3rem;
    }

    .ally-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .ally-hero-grid,
    .ally-split,
    .ally-split-reverse,
    .ally-business-grid,
    .ally-residential-grid,
    .ally-faq-grid {
        grid-template-columns: 1fr;
    }

    .ally-hero-grid {
        min-height: 0;
        gap: 28px;
    }

    .ally-hero-media {
        order: -1;
        align-self: auto;
    }

    .ally-logo-link {
        margin-bottom: 22px;
    }

    .ally-hero-media img {
        min-height: 310px;
        max-height: 460px;
    }

    .ally-section {
        padding: 58px 0;
    }

    .ally-setup-grid,
    .ally-testimonial-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 767px) {
    .ally-hero-grid {
        padding: 18px 0 42px;
    }

    .ally-hero h1 {
        font-size: 2.35rem;
    }

    .ally-section-heading h2,
    .ally-section-copy h2 {
        font-size: 2rem;
    }

    .ally-price-band {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .ally-price-band strong {
        font-size: 2rem;
    }

    .ally-inline-stats,
    .ally-plan-grid,
    .ally-business-features,
    .ally-home-feature-list,
    .ally-product-strip {
        grid-template-columns: 1fr;
    }

    .ally-product-strip {
        text-align: center;
    }

    .ally-plan-card {
        min-height: 0;
    }

    .ally-coverage-modal iframe {
        height: 520px;
    }
}

@media (max-width: 480px) {
    .ally-hero h1 {
        font-size: 2rem;
    }

    .ally-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ally-scroll-link,
    .ally-landing .custom-btn-primary {
        width: 100%;
    }

    .ally-hero-media img {
        min-height: 250px;
    }
}
