/* Match the logo corners used by the admin theme. */
.md-layout img.brand-logo-icon,
.md-layout .md-footer-brand > a > img {
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .08);
}

/* Use a consistent, tighter vertical rhythm across the landing page. */
.md-layout {
    --landing-section-padding: 64px;
    --landing-heading-gap: 32px;
}

.md-layout .md-section,
.md-layout .tech-marquee-section,
.md-layout .form-section {
    padding-block: var(--landing-section-padding);
}

.md-layout .md-heading,
.md-layout .tech-section-header {
    margin-bottom: var(--landing-heading-gap);
}

.md-layout .md-heading h2 {
    margin-top: 16px;
}

.md-layout .md-heading p {
    margin-top: 14px;
}

.md-layout .md-flourish {
    margin-top: 12px;
}

.md-layout .md-left-title {
    margin-block: 16px 20px;
}

.md-layout .md-hero {
    padding-block: 136px 56px;
}

.md-layout .md-hero h1 {
    margin-block: 20px;
}

.md-layout .md-hero-actions {
    margin-top: 24px;
}

.md-layout .md-hero-points {
    margin-top: 20px;
}

.md-layout .md-hero-visual {
    padding-block: 24px;
}

.md-layout .md-benefits {
    padding-block: 32px 40px;
}

.md-layout .form-desc {
    margin-bottom: 24px;
}

.md-layout .md-final {
    padding-block: 44px;
}

.md-layout .md-footer {
    padding-top: 44px;
}

.md-layout .md-footer-bottom {
    margin-top: 32px;
    padding-block: 20px;
}

@media (max-width: 1024px) {
    .md-layout .md-hero {
        padding-block: 124px 48px;
    }

    .md-layout .md-hero-grid,
    .md-layout .form-wrapper-grid,
    .md-layout .md-faq-grid,
    .md-layout .md-why-grid {
        row-gap: 36px;
    }
}

@media (max-width: 640px) {
    .md-layout {
        --landing-section-padding: 44px;
        --landing-heading-gap: 26px;
    }

    .md-layout .md-hero {
        padding-block: 104px 36px;
    }

    .md-layout .md-hero-visual {
        padding-block: 20px;
    }

    .md-layout .md-benefits {
        padding-block: 24px 32px;
    }

    .md-layout .md-final {
        padding-block: 32px;
    }

    .md-layout .md-footer {
        padding-top: 32px;
    }

    .md-layout .md-footer-bottom {
        margin-top: 24px;
        padding-block: 16px;
    }
}

/* Keep the static technology rows centered when motion is reduced. */
#tech .marquee-reduced {
    width: min(1200px, calc(100% - 32px));
    margin-inline: auto;
}

#tech .marquee-reduced .marquee-track-container,
#tech .marquee-reduced .marquee-track {
    width: 100%;
    min-width: 0;
}

#tech .marquee-reduced .md-tech-group {
    flex-basis: 100%;
    flex-shrink: 1;
    min-width: 0;
}
