body {
    background: radial-gradient(circle at 8% 0%, #f5fbff 0%, var(--bg) 50%);
}

.hero {
    padding: 64px 0 32px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    align-items: center;
}

.hero-video {
    justify-self: center;
    width: min(420px, 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-video iframe {
    width: 100%;
    aspect-ratio: 3 / 4;
    border: 0;
    display: block;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.meta {
    color: var(--ink-soft);
    margin-top: 14px;
    font-size: 0.95rem;
}

.proof {
    padding: 24px 0 20px;
}

.testimonial-rotator {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.testimonial-rating-inline {
    margin: 0 0 4px;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.testimonial-kicker {
    margin: 0 0 8px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
    font-weight: 700;
}

.testimonial-rotator h3 {
    margin-bottom: 12px;
}

.testimonial-stars {
    margin: 0 0 10px;
    color: #f0a800;
    letter-spacing: 0.08em;
    font-size: 1.05rem;
}

.testimonial-rotator blockquote {
    margin: 0;
    padding: 0;
    border: 0;
}

.testimonial-rotator blockquote p {
    margin: 0;
    font-size: 1.08rem;
    color: var(--ink);
    line-height: 1.55;
    min-height: calc(1.55em * 3);
    max-height: calc(1.55em * 3);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.testimonial-rotator blockquote cite {
    margin-top: 12px;
    display: block;
    color: var(--ink-soft);
    font-style: normal;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.testimonial-button {
    border: 1px solid #7ea3d4;
    background: #fff;
    color: var(--brand-strong);
    border-radius: 999px;
    min-height: 36px;
    padding: 0 14px;
    font-weight: 700;
    cursor: pointer;
}

.testimonial-button:hover {
    background: #f2f7ff;
}

.testimonial-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 78, 163, 0.14);
}

.testimonial-readmore {
    margin-left: auto;
    font-weight: 700;
    color: var(--brand);
    border-bottom: 2px solid rgba(10, 78, 163, 0.25);
}

.testimonial-readmore:hover {
    color: var(--brand-strong);
    border-bottom-color: rgba(10, 78, 163, 0.55);
}

.benefits {
    padding: 28px 0 70px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.benefit-grid article {
    background: var(--surface);
    border-radius: 14px;
    border: 1px solid var(--line);
    padding: 20px;
    height: 100%;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.benefit-grid p {
    margin: 0;
    color: var(--ink-soft);
}

.benefit-link {
    color: inherit;
}

.benefit-link:hover {
    color: inherit;
}

.benefit-link:hover article {
    transform: translateY(-3px);
    border-color: rgba(10, 78, 163, 0.3);
    box-shadow: var(--shadow);
}

.manual-overview-link {
    margin: 20px 0 0;
    text-align: center;
}

.manual-overview-link a {
    display: inline-block;
    font-weight: 700;
    border-bottom: 2px solid rgba(10, 78, 163, 0.25);
}

.manual-overview-link a:hover {
    border-bottom-color: rgba(10, 78, 163, 0.6);
}

.showcase {
    padding: 20px 0 70px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
    margin-bottom: 40px;
}

.showcase-grid img {
    width: 100%;
    border-radius: 18px;
}

.showcase-grid.reverse .showcase-copy {
    order: 2;
}

.showcase-grid.reverse img {
    order: 1;
}

.showcase-copy p:last-child {
    margin-bottom: 0;
    color: var(--ink-soft);
}

.duo {
    padding: 10px 0 70px;
}

.duo-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 36px;
    align-items: center;
}

.duo-grid img {
    width: 100%;
    max-width: 300px;
    justify-self: center;
}

.duo-grid .duo-remote-shot {
    max-width: 560px;
}

.duo-grid p:last-of-type {
    color: var(--ink-soft);
    margin-bottom: 0;
}

.device-workflow {
    padding: 10px 0 72px;
}

.device-workflow-intro {
    color: var(--ink-soft);
    max-width: 74ch;
}

.device-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.device-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
}

.device-card img {
    width: 100%;
    border-radius: 12px;
}

.device-card p {
    margin: 0;
    color: var(--ink-soft);
}

.device-card .device-shot {
    display: block;
    margin: 0 auto 10px;
    width: auto;
    max-width: 100%;
    height: auto;
}

.device-card .device-shot-ipad {
    max-height: 340px;
}

.device-card .device-shot-iphone {
    max-height: 280px;
}

.final-cta {
    padding: 20px 0 80px;
}

.final-cta-inner {
    background: linear-gradient(160deg, #eef4ff, #f7fbff);
    border: 1px solid #c8d8ef;
    border-radius: 20px;
    padding: clamp(24px, 4vw, 40px);
    color: var(--ink);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: center;
}

.final-cta-inner h2 {
    color: var(--ink);
}

.final-cta-inner p {
    color: var(--ink-soft);
}

.final-cta .cta.secondary {
    border-color: #7ea3d4;
    color: var(--brand-strong);
    background: #fff;
}

.newsletter {
    background: #fff;
    border: 1px solid #d6e1f1;
    border-radius: 14px;
    padding: 18px;
    display: grid;
    gap: 10px;
}

.newsletter label {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.newsletter input[type="email"],
.newsletter input[type="submit"] {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 10px;
    min-height: 44px;
    padding: 0 12px;
    font: inherit;
}

.newsletter input[type="email"] {
    color: var(--ink);
    border-color: #b7c9e2;
    background: #fff;
}

.newsletter input[type="email"]:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(10, 78, 163, 0.14);
}

.newsletter input[type="submit"] {
    border-color: #7ea3d4;
    background: #fff;
    color: var(--brand-strong);
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.newsletter input[type="submit"]:hover {
    background: #f2f7ff;
    border-color: #5f89c5;
}

.newsletter input[type="submit"]:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(10, 78, 163, 0.14);
}

.offscreen {
    position: absolute;
    left: -5000px;
}

@media (prefers-reduced-motion: no-preference) {
    .has-scroll-reveal .reveal-on-scroll {
        opacity: 0;
        transform: translateY(8px);
        transition: opacity 520ms ease-out, transform 520ms ease-out;
        will-change: opacity, transform;
    }

    .has-scroll-reveal .reveal-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .showcase-grid,
    .duo-grid,
    .final-cta-inner {
        grid-template-columns: 1fr;
    }

    .showcase-grid {
        gap: 20px;
    }

    .showcase-grid img {
        width: 100%;
        max-width: 460px;
        justify-self: center;
    }

    .hero-video {
        width: 100%;
        max-width: 460px;
        justify-self: center;
    }

    .duo-grid img {
        max-width: 260px;
    }

    .duo-grid .duo-remote-shot {
        max-width: 520px;
    }

    .showcase-grid.reverse .showcase-copy,
    .showcase-grid.reverse img {
        order: initial;
    }

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

@media (max-width: 620px) {
    .benefit-grid,
    .device-grid {
        grid-template-columns: 1fr;
    }

    .hero,
    .proof,
    .benefits,
    .showcase,
    .final-cta {
        padding-top: 34px;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background: radial-gradient(circle at 8% 0%, #16223a 0%, var(--bg) 55%);
    }

    .hero-video {
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.4);
    }

    .benefit-grid article,
    .device-card,
    .testimonial-rotator,
    .newsletter {
        background: var(--surface);
    }

    .benefit-grid article,
    .device-card,
    .testimonial-rotator,
    .newsletter,
    .final-cta-inner {
        border-color: var(--line);
    }

    .testimonial-button,
    .final-cta .cta.secondary,
    .newsletter input[type="submit"] {
        background: #1a2437;
        border-color: #3f547c;
        color: var(--ink);
    }

    .testimonial-button:hover,
    .final-cta .cta.secondary:hover,
    .newsletter input[type="submit"]:hover {
        background: #23314a;
        border-color: #5674aa;
    }

    .newsletter input[type="email"] {
        background: #101a2b;
        color: var(--ink);
        border-color: #415679;
    }

    .final-cta-inner {
        background: linear-gradient(160deg, #131d31, #1a2741);
    }
}
