/* This layer keeps shared public journeys usable at laptop widths without changing business behaviour. */
.page-wraper,
.page-content {
    min-width: 0;
}

/* Public media must shrink with its owning content instead of forcing horizontal scrolling. */
.page-content img,
.page-content video,
.page-content iframe {
    max-width: 100%;
}

/* Bootstrap columns need an explicit shrink boundary when a page adds its own grid or flex layout. */
.page-content .row > [class*="col-"] {
    min-width: 0;
}

/* Long commercial headings and customer-supplied labels must wrap rather than escape the viewport. */
.page-content h1,
.page-content h2,
.page-content h3,
.page-content label,
.page-content button,
.page-content a {
    overflow-wrap: break-word;
}

/* The desktop footer uses flexible columns so its internal minimums cannot exceed the shared container. */
.page-wraper .bmg-front-footer .bmg-footer-grid {
    grid-template-columns: minmax(220px, 260px) repeat(4, minmax(0, 1fr)) minmax(170px, 200px);
}

/* Hero copy is light on the dark background, but the enquiry form must retain accessible text contrast. */
.garage-marketing-page .garage-demo-form > p,
.garage-marketing-page .garage-demo-form .garage-demo-form__note {
    color: #5c7083;
}

@media (min-width: 992px) and (max-width: 1439.98px) {
    /* A wider shared container uses scarce laptop space while retaining calm page gutters. */
    .page-content > .about-page .hero-section > .container {
        width: calc(100% - 48px);
        max-width: 1240px;
        padding-right: 0;
        padding-left: 0;
    }

    /* The shared public header becomes denser before navigation starts competing for space. */
    .site-header.header-style-2,
    .site-header.header-style-2 .front-header-layout {
        min-height: 78px;
    }

    .site-header.header-style-2 .front-header-layout {
        max-width: 1240px;
        gap: 10px;
        padding-right: 18px;
        padding-left: 18px;
    }

    .site-header.header-style-2 .front-header-logo {
        flex-basis: 178px;
        width: 178px;
    }

    .site-header.header-style-2 .front-header-logo img {
        max-width: 178px;
    }

    .site-header.header-style-2 .front-header-menu > li > a,
    .front-header-menu > li > .public-nav-dropdown-trigger {
        min-height: 42px;
        gap: 6px;
        padding: 10px 8px;
        font-size: 13px;
    }

    .site-header.header-style-2 .front-header-actions .aon-btn-login {
        min-width: 106px;
        min-height: 44px;
        padding: 10px 14px;
        font-size: 13px;
    }

    /* The laptop hero keeps both decisions visible without using oversized desktop typography. */
    .about-page .hero-section {
        padding: 38px 0 46px;
    }

    .about-page .hero-content-row {
        grid-template-columns: minmax(0, 1.08fr) minmax(370px, .82fr);
        gap: clamp(24px, 3vw, 42px);
    }

    .about-page .hero-badge {
        min-height: 32px;
        margin-bottom: 14px;
        padding: 0 14px;
        font-size: 11px;
    }

    .about-page .hero-heading {
        max-width: 610px;
        margin-bottom: 16px;
        font-size: clamp(40px, 3.8vw, 52px);
        line-height: 1.04;
    }

    .about-page .hero-subtitle {
        max-width: 600px;
        margin-bottom: 20px;
        font-size: 17px;
        line-height: 1.55;
    }

    .about-page .hero-trust {
        gap: 8px 12px;
    }

    .about-page .hero-trust span {
        min-height: 28px;
        gap: 7px;
        font-size: 13px;
    }

    .about-page .hero-offers-row {
        gap: 9px;
        margin-top: 16px;
    }

    .about-page .hero-offer-card {
        min-height: 70px;
        padding: 12px 12px 12px 48px;
    }

    .about-page .hero-offer-icon {
        top: 15px;
        left: 11px;
        width: 28px;
        height: 28px;
    }

    .about-page .hero-offer-label {
        margin-bottom: 4px;
        font-size: 10px;
    }

    .about-page .hero-offer-card strong {
        font-size: 14px;
        line-height: 1.22;
    }

    /* The search card remains the primary action but no longer dominates a compact laptop viewport. */
    .about-page .hero-search-card {
        max-width: 420px;
        padding: 24px;
        border-radius: 20px;
    }

    .about-page .hero-search-header {
        margin-bottom: 16px;
    }

    .about-page .hero-search-header h2 {
        margin-bottom: 5px;
        font-size: 24px;
    }

    .about-page .hero-search-header p {
        font-size: 14px;
        line-height: 1.45;
    }

    .about-page .landing-ai-entry {
        padding: 8px;
    }

    .about-page .landing-ai-entry textarea {
        min-height: 42px;
        font-size: 14px;
    }

    .about-page .landing-search-divider {
        margin: 13px 0 11px;
    }

    .about-page .garage-service-intent {
        margin-bottom: 13px;
    }

    .about-page .garage-service-intent legend {
        margin-bottom: 7px;
        font-size: 13px;
    }

    .about-page .garage-service-intent__option span {
        min-height: 46px;
        flex-direction: row;
        gap: 4px;
        padding: 7px 4px;
        border-radius: 10px;
        font-size: 11px;
    }

    .about-page .garage-service-intent__option i {
        font-size: 14px;
    }

    .about-page .hero-field {
        margin-bottom: 12px;
    }

    .about-page .hero-label {
        margin-bottom: 6px;
        font-size: 13px;
    }

    .about-page .hero-input,
    .about-page .registration-input-wrap {
        height: 46px;
    }

    .about-page .registration-input {
        font-size: 17px;
    }

    .about-page .hero-search-btn {
        height: 48px;
        border-radius: 13px;
        font-size: 16px;
    }

    /* The persistent assistant stays available without covering the booking card on laptops. */
    .landing-ai-launcher > span:first-child,
    .ai-persistent-agent > span:first-child {
        display: none;
    }

    /* The city directory keeps search and city content visible without a 100px presentation frame. */
    .page-content .cities-hero-section {
        padding: 52px 0;
    }

    .page-content .cities-hero-content {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
        gap: 36px;
    }

    .page-content .cities-hero-left h1 {
        margin-bottom: 16px;
        font-size: 48px;
    }

    .page-content .cities-hero-left p {
        margin-bottom: 24px;
        font-size: 17px;
        line-height: 1.55;
    }

    .page-content .cities-search-box input,
    .page-content .cities-search-box button {
        height: 50px;
    }

    .page-content .cities-main-section {
        padding: 56px 0;
    }

    .page-content .cities-layout {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 24px;
    }

    .page-content .sidebar-card,
    .page-content .sidebar-cta {
        padding: 21px;
        border-radius: 18px;
    }

    .page-content .cities-topbar {
        margin-bottom: 24px;
    }

    .page-content .cities-topbar h2 {
        font-size: 34px;
    }

    .page-content .cities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .page-content .city-card-content {
        padding: 18px;
    }

    .page-content .city-card-content h3 {
        font-size: 22px;
    }

    /* Service and city discovery pages use a balanced laptop editorial scale. */
    .service-discovery-page .container,
    .marketplace-city-page .container,
    .public-booking-page .container {
        padding-right: 24px;
        padding-left: 24px;
    }

    .service-discovery-page .service-discovery-hero {
        padding: 48px 0;
    }

    .service-discovery-page .service-discovery-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(370px, .88fr);
        gap: 34px;
    }

    .service-discovery-page .service-discovery-hero h1 {
        margin-bottom: 16px;
        font-size: 48px;
    }

    .service-discovery-page .service-discovery-lead {
        margin-bottom: 20px;
        font-size: 17px;
        line-height: 1.55;
    }

    .service-discovery-page .service-discovery-hero__media > img {
        height: 390px;
        border-width: 6px;
        border-radius: 22px;
    }

    .service-discovery-page .service-discovery-hero__note {
        padding: 16px 18px;
    }

    .service-discovery-page .service-discovery-cities,
    .service-discovery-page .service-discovery-guidance,
    .service-discovery-page .service-discovery-platform,
    .service-discovery-page .service-discovery-related,
    .service-discovery-page .service-discovery-faq,
    .service-discovery-page .service-discovery-garage,
    .service-discovery-page .service-discovery-closing {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .service-discovery-page .service-discovery-section-heading {
        margin-bottom: 24px;
    }

    .service-discovery-page .service-discovery-section-heading h2,
    .service-discovery-page .service-discovery-platform h2,
    .service-discovery-page .service-discovery-garage h2,
    .service-discovery-page .service-discovery-closing h2 {
        font-size: 36px;
    }

    /* Published city pages retain their imagery without allowing it to dominate results discovery. */
    .marketplace-city-page .marketplace-city-hero {
        padding: 28px 0 48px;
    }

    .marketplace-city-page .marketplace-city-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(370px, .92fr);
        gap: 34px;
    }

    .marketplace-city-page .marketplace-city-hero__copy h1 {
        margin-bottom: 15px;
        font-size: 46px;
    }

    .marketplace-city-page .marketplace-city-hero__copy > p {
        margin-bottom: 18px;
        font-size: 17px;
        line-height: 1.55;
    }

    .marketplace-city-page .marketplace-city-hero__media {
        border-width: 6px;
        border-radius: 22px;
    }

    .marketplace-city-page .marketplace-city-hero__media img {
        height: 350px;
    }

    .marketplace-city-page .marketplace-city-results {
        padding: 48px 0;
    }

    .marketplace-city-page .marketplace-city-results__heading h2 {
        font-size: 34px;
    }

    .marketplace-city-page .marketplace-filter-panel {
        top: 92px;
        padding: 18px;
    }

    /* Service landing pages present the same amount of evidence in a more efficient first viewport. */
    .public-booking-page .public-booking-hero {
        padding: 48px 0;
    }

    .public-booking-page .public-booking-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(370px, .88fr);
        gap: 34px;
    }

    .public-booking-page .public-booking-hero h1 {
        margin-bottom: 16px;
        font-size: 48px;
    }

    .public-booking-page .public-booking-lead {
        margin-bottom: 18px;
        font-size: 17px;
        line-height: 1.55;
    }

    .public-booking-page .public-booking-benefits {
        gap: 9px 16px;
        margin-bottom: 18px;
    }

    .public-booking-page .public-booking-button {
        min-height: 50px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .public-booking-page .public-booking-hero__image {
        border-width: 6px;
        border-radius: 23px;
    }

    .public-booking-page .public-booking-hero__image img {
        height: 390px;
    }

    .public-booking-page .public-booking-hero__card {
        padding: 16px 18px;
    }

    .public-booking-page .public-booking-features,
    .public-booking-page .public-booking-account,
    .public-booking-page .public-booking-cities,
    .public-booking-page .public-booking-related,
    .public-booking-page .public-booking-faq,
    .public-booking-page .public-booking-closing {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .public-booking-page .public-booking-section-heading h2,
    .public-booking-page .public-booking-account h2,
    .public-booking-page .public-booking-closing h2 {
        font-size: 36px;
    }

    .public-booking-page .public-booking-feature-card {
        padding: 22px;
    }

    /* Driver pages keep the product story readable without a 124px desktop presentation frame. */
    .page-content .driver-public-page h1 {
        margin-bottom: 17px;
        font-size: 48px;
    }

    .page-content .driver-public-page h2 {
        margin-bottom: 14px;
        font-size: 38px;
    }

    .page-content .driver-public-page p {
        font-size: 16px;
        line-height: 1.65;
    }

    .driver-public-page .driver-hero {
        padding: 58px 0;
    }

    .driver-public-page .driver-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(370px, .86fr);
        gap: 36px;
    }

    .driver-public-page .driver-hero__lead {
        margin-bottom: 22px;
        font-size: 18px !important;
    }

    .driver-public-page .driver-section,
    .driver-public-page .driver-search-section,
    .driver-public-page .driver-faq-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .driver-public-page .driver-section__heading {
        margin-bottom: 32px;
    }

    /* Garage commercial pages retain authority while removing exhibition-scale spacing on laptops. */
    .page-content .garage-marketing-page h1 {
        margin-bottom: 17px;
        font-size: 48px;
    }

    .page-content .garage-marketing-page h2 {
        margin-bottom: 14px;
        font-size: 38px;
    }

    .page-content .garage-marketing-page p {
        font-size: 16px;
        line-height: 1.62;
    }

    .garage-marketing-page .garage-hero,
    .garage-marketing-page .garage-hero__inner {
        min-height: 560px;
    }

    .garage-marketing-page .garage-hero__inner {
        grid-template-columns: minmax(0, 590px) 1fr;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .garage-marketing-page .garage-hero__lead {
        margin-bottom: 22px;
        font-size: 18px !important;
    }

    .garage-marketing-page .garage-hero__assurance {
        margin-top: 20px;
    }

    .garage-marketing-page .garage-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .garage-marketing-page .garage-section-heading {
        margin-bottom: 32px;
    }

    .garage-marketing-page .garage-detail-layout {
        gap: 36px;
    }

    .garage-marketing-page .garage-solution-hero,
    .garage-marketing-page .garage-growth-hero,
    .garage-marketing-page .garage-demo-hero {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    /* Garage marketing containers use the laptop viewport without touching or crossing its edges. */
    .garage-marketing-page .garage-marketing-nav__inner,
    .garage-marketing-page .garage-demo-grid {
        width: calc(100% - 48px);
        max-width: 1240px;
        margin-right: auto;
        margin-left: auto;
    }

    .garage-marketing-page .garage-marketing-nav__inner {
        gap: clamp(12px, 1.35vw, 19px);
    }

    .garage-marketing-page .garage-marketing-nav a {
        font-size: 12px;
    }

    .garage-marketing-page .garage-solution-hero__grid,
    .garage-marketing-page .garage-demo-grid {
        gap: 36px;
    }

    /* Top alignment keeps the proposition visible beside the taller demonstration form. */
    .garage-marketing-page .garage-demo-grid {
        grid-template-columns: minmax(0, 1fr) minmax(420px, .8fr);
        align-items: start;
    }

    .garage-marketing-page .garage-demo-grid > div:first-child {
        padding-top: 20px;
    }

    .garage-marketing-page .garage-demo-form {
        padding: 26px;
    }

    .garage-marketing-page .garage-demo-form h2 {
        font-size: 28px;
    }

    .garage-marketing-page .garage-demo-form .form-control {
        min-height: 45px;
        margin-bottom: 12px;
    }

    /* Confirmation cards use the same compact rhythm as the journey that produced them. */
    .page-content .booking-confirmation-page {
        padding: 30px 0 52px;
    }

    .page-content .booking-confirmation-hero {
        gap: 18px;
        margin-bottom: 20px;
        padding: 22px 24px;
    }

    .page-content .booking-confirmation-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 20px;
    }

    .page-content .confirmation-card,
    .page-content .confirmation-account-card,
    .page-content .confirmation-help-card {
        padding: 20px;
    }

    /* Result pages keep filters useful while giving comparison cards most of the laptop width. */
    .page-content #leftRightSection {
        padding-top: 20px !important;
    }

    .page-content #leftRightSection > .container {
        max-width: 1240px;
    }

    .page-content #searchFilters .sf-job-sidebar-blocks {
        padding: 18px;
    }

    /* Garage profiles keep live services and availability prominent without oversized profile imagery. */
    .provider-showcase-page .provider-hero-content {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .provider-showcase-page .provider-hero-shell {
        grid-template-columns: minmax(0, .96fr) minmax(360px, 1.04fr);
        gap: 28px;
    }

    .provider-showcase-page .provider-hero-copy {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .provider-showcase-page .sf-provi-name {
        margin-top: 13px;
        font-size: 44px;
    }

    .provider-showcase-page .sf-provi-tagline {
        margin-bottom: 17px;
        font-size: 15px;
    }

    .provider-showcase-page .provider-hero-proof {
        gap: 9px 16px;
        margin-bottom: 19px;
    }

    .provider-showcase-page .provider-hero-actions {
        gap: 12px;
    }

    .provider-showcase-page .provider-primary-btn,
    .provider-showcase-page .provider-outline-btn {
        min-height: 48px;
        padding: 12px 20px;
    }

    .provider-showcase-page .provider-hero-media {
        min-height: 330px;
    }

    .provider-showcase-page .provider-hero-availability {
        padding: 15px 17px;
    }

    .provider-showcase-page .provider-main {
        padding-top: 24px;
        padding-bottom: 36px;
    }

    .provider-showcase-page .m-b50 {
        margin-bottom: 32px;
    }

    .provider-showcase-page .provider-about-card,
    .provider-showcase-page .provider-location-section {
        padding: 22px;
    }

    /* Driver feature pages own distinct heroes, so each receives the shared laptop density explicitly. */
    .reminder-public-page .reminder-hero,
    .professional-public-page .professional-hero,
    .history-cost-public-page .history-cost-hero {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .reminder-public-page .reminder-hero__lead,
    .professional-public-page .professional-hero__lead,
    .history-cost-public-page .history-cost-hero__lead {
        margin-bottom: 22px;
        font-size: 18px !important;
    }

    .reminder-public-page .reminder-demo,
    .professional-public-page .professional-demo,
    .history-cost-public-page .history-cost-demo {
        padding: 20px;
        border-radius: 16px;
    }

    /* Contact and legal pages follow the same compact rhythm as commercial landing pages. */
    .bm-contact-page .bm-contact-hero {
        padding: 28px 0 22px;
    }

    .bm-contact-page .bm-contact-hero-card {
        padding: 34px;
        border-radius: 22px;
    }

    .bm-contact-page .bm-contact-hero-copy h1,
    .bm-contact-page .bm-contact-hero-copy h2 {
        margin-bottom: 14px;
        font-size: 36px;
    }

    .bm-contact-page .bm-contact-hero-copy p {
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 1.6;
    }

    .bm-contact-page .bm-contact-hero-media img {
        min-height: 260px;
    }

    .bm-contact-page .bm-contact-reasons,
    .bm-contact-page .bm-contact-main,
    .bm-contact-page .bm-contact-faq,
    .bm-contact-page .bm-contact-benefits {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .bm-contact-page .bm-contact-info-card,
    .bm-contact-page .bm-contact-details-card,
    .bm-contact-page .bm-contact-form-card {
        padding: 26px 24px;
    }

    .bm-contact-page .form-control {
        height: 52px;
    }

    .bm-contact-page textarea.form-control {
        height: 150px;
        min-height: 150px;
    }

    .page-content .bmg-legal-page {
        padding: 56px 0;
    }

    .page-content .bmg-legal-header {
        margin-bottom: 36px;
    }

    .page-content .bmg-legal-header h1 {
        font-size: 40px;
    }

    .page-content .bmg-legal-card {
        padding: 32px;
    }

    .page-content .legal-sidebar {
        top: 92px;
        padding: 21px;
    }

    /* The legacy About page receives compact content cards while preserving its established structure. */
    .page-content .about-page .what-is-box {
        padding: 36px;
    }

    .page-content .about-page .what-is-title {
        font-size: 36px;
    }

    /* Laptop footers keep one scannable row while flexible columns prevent the old horizontal overflow. */
    .page-wraper .bmg-front-footer .bmg-footer-main {
        padding: 36px 0 22px;
    }

    .page-wraper .bmg-front-footer .bmg-footer-grid {
        grid-template-columns: minmax(190px, 1.25fr) repeat(4, minmax(0, 1fr)) minmax(160px, 1fr);
        gap: 18px;
    }

    .page-wraper .bmg-front-footer .bmg-footer-links li {
        padding-top: 9px;
        padding-bottom: 9px;
    }
}

@media (min-width: 1101px) and (max-width: 1439.98px) {
    /* Feature previews stay beside their explanation while enough laptop width is available. */
    .reminder-public-page .reminder-hero__grid,
    .professional-public-page .professional-hero__grid,
    .history-cost-public-page .history-cost-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(370px, .86fr);
        gap: 36px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Navigation density steps down again before the established mobile menu breakpoint. */
    .site-header.header-style-2,
    .site-header.header-style-2 .front-header-layout {
        min-height: 74px;
    }

    .site-header.header-style-2 .front-header-logo {
        flex-basis: 160px;
        width: 160px;
    }

    .site-header.header-style-2 .front-header-logo img {
        max-width: 160px;
    }

    .site-header.header-style-2 .front-header-menu > li > a,
    .front-header-menu > li > .public-nav-dropdown-trigger {
        padding-right: 6px;
        padding-left: 6px;
        font-size: 12px;
    }

    .site-header.header-style-2 .front-header-actions .aon-btn-login {
        min-width: 100px;
    }

    /* Narrow laptops retain two useful columns with a smaller fixed decision panel. */
    .about-page .hero-content-row {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 400px);
        gap: 24px;
    }

    .about-page .hero-heading {
        font-size: 42px;
    }

    .about-page .hero-offers-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 992px) and (max-height: 820px) {
    /* Short laptop screens use vertical space deliberately so both sides expose their next action. */
    .about-page .hero-section {
        padding-top: 26px;
        padding-bottom: 32px;
    }

    .about-page .hero-heading {
        margin-bottom: 13px;
        font-size: clamp(38px, 3.5vw, 48px);
    }

    .about-page .hero-subtitle {
        margin-bottom: 15px;
        line-height: 1.45;
    }

    .about-page .hero-offers-row {
        margin-top: 12px;
    }

    .about-page .hero-search-card {
        padding: 20px 22px;
    }

    .about-page .hero-search-header {
        margin-bottom: 12px;
    }

    /* Editorial heroes also expose their primary action on short laptop screens. */
    .page-content .cities-hero-section,
    .service-discovery-page .service-discovery-hero,
    .public-booking-page .public-booking-hero {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .service-discovery-page .service-discovery-hero h1,
    .public-booking-page .public-booking-hero h1,
    .marketplace-city-page .marketplace-city-hero__copy h1,
    .page-content .cities-hero-left h1,
    .page-content .driver-public-page h1,
    .page-content .garage-marketing-page h1 {
        font-size: 43px;
    }

    .service-discovery-page .service-discovery-hero__media > img,
    .public-booking-page .public-booking-hero__image img,
    .marketplace-city-page .marketplace-city-hero__media img {
        height: 330px;
    }

    .driver-public-page .driver-hero {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .garage-marketing-page .garage-hero,
    .garage-marketing-page .garage-hero__inner {
        min-height: 500px;
    }

    .garage-marketing-page .garage-hero__inner {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .garage-marketing-page .garage-demo-hero {
        padding-top: 40px;
        padding-bottom: 46px;
    }

    .provider-showcase-page .provider-hero-content {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .provider-showcase-page .provider-hero-media {
        min-height: 300px;
    }

    .reminder-public-page .reminder-hero,
    .professional-public-page .professional-hero,
    .history-cost-public-page .history-cost-hero {
        padding-top: 42px;
        padding-bottom: 42px;
    }
}

@media (max-width: 991.98px) {
    /* Shared gutters remain consistent when public pages move to their tablet composition. */
    .page-content .container,
    .page-content .container-fluid {
        padding-right: 20px;
        padding-left: 20px;
    }

    .about-page .hero-section {
        padding: 42px 0 50px;
    }

    .about-page .hero-heading {
        max-width: 650px;
        font-size: clamp(38px, 6vw, 48px);
    }

    .about-page .hero-copy {
        margin-bottom: 28px;
    }

    .site-header.header-style-2 .front-header-logo {
        flex-basis: 160px;
        width: 160px;
    }

    .site-header.header-style-2 .front-header-logo img {
        max-width: 160px;
    }

    /* The demonstration page becomes a deliberate two-step story before the form on tablets. */
    .garage-marketing-page .garage-demo-hero {
        padding-top: 44px;
        padding-bottom: 52px;
    }

    .garage-marketing-page .garage-demo-grid {
        gap: 30px;
    }

    .page-content .garage-marketing-page h1 {
        font-size: clamp(36px, 7vw, 44px);
    }

    .page-content .garage-marketing-page h2 {
        font-size: clamp(30px, 5vw, 36px);
    }

    .garage-marketing-page .garage-demo-proof {
        margin-top: 22px;
    }

    .garage-marketing-page .garage-demo-form {
        width: 100%;
        max-width: 680px;
        padding: 26px;
    }

    .garage-marketing-page .garage-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .garage-marketing-page .garage-trust-strip__grid div {
        padding: 20px 22px;
    }

    .garage-marketing-page .garage-marketing-nav__inner {
        min-height: 50px;
        gap: 20px;
    }

    .page-wraper .bmg-front-footer .bmg-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    /* Mobile gutters protect controls without wasting the narrow viewport. */
    .page-content .container,
    .page-content .container-fluid {
        padding-right: 16px;
        padding-left: 16px;
    }

    .about-page .hero-section {
        padding: 34px 0 42px;
    }

    .about-page .hero-heading {
        font-size: clamp(31px, 9vw, 38px);
    }

    .about-page .hero-copy {
        margin-bottom: 24px;
    }

    /* Mobile garage-network content prioritises the proposition and keeps every form control in view. */
    .garage-marketing-page .garage-demo-hero {
        padding-top: 32px;
        padding-bottom: 40px;
    }

    .garage-marketing-page .garage-demo-grid {
        gap: 24px;
    }

    .page-content .garage-marketing-page h1 {
        margin-bottom: 18px;
        font-size: clamp(32px, 9.5vw, 40px);
        line-height: 1.06;
    }

    .page-content .garage-marketing-page h2 {
        font-size: clamp(28px, 7.5vw, 34px);
    }

    .garage-marketing-page .garage-demo-proof {
        gap: 10px;
        margin-top: 18px;
    }

    .garage-marketing-page .garage-demo-proof div {
        gap: 9px;
        font-size: 13px;
    }

    .garage-marketing-page .garage-demo-form {
        max-width: none;
        padding: 20px 18px;
        border-radius: 13px;
    }

    .garage-marketing-page .garage-demo-form h2 {
        font-size: 26px;
    }

    .garage-marketing-page .garage-demo-form .form-control {
        min-height: 46px;
        margin-bottom: 12px;
    }

    .garage-marketing-page .garage-demo-form .garage-button {
        min-height: 48px;
    }

    .garage-marketing-page .garage-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .garage-marketing-page .garage-section-heading {
        margin-bottom: 26px;
    }

    .garage-marketing-page .garage-marketing-nav__inner {
        gap: 16px;
    }

    .garage-marketing-page .garage-marketing-nav a {
        padding-top: 14px;
        padding-bottom: 11px;
        font-size: 12px;
    }

    .page-wraper .bmg-front-footer .bmg-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 575.98px) {
    /* Small mobile headers reserve enough room for account and menu actions. */
    .site-header.header-style-2 .front-header-logo {
        flex-basis: 138px;
        width: 138px;
    }

    .site-header.header-style-2 .front-header-logo img {
        max-width: 138px;
    }

    /* Narrow phones reserve the full form width for fields and the fixed-size verification control. */
    .garage-marketing-page .garage-demo-form {
        padding-right: 12px;
        padding-left: 12px;
    }
}

@media (max-width: 359.98px) {
    /* Google reCAPTCHA has a fixed canvas, so scale only that control on the narrowest supported phones. */
    .garage-marketing-page .garage-demo-form .g-recaptcha {
        width: 116.28%;
        height: 67px;
        transform: scale(.86);
        transform-origin: left top;
    }
}

@media (prefers-reduced-motion: reduce) {
    /* Customers who request reduced motion should not receive decorative movement from primary actions. */
    .about-page .hero-search-btn,
    .site-header.header-style-2 .front-header-actions .aon-btn-login {
        transition: none;
    }
}
