.built-for-road {
    position: relative;
    isolation: isolate;
    overflow-x: clip;
    overflow-y: visible;
    padding-bottom: 60px;
}

.built-for-road::before {
    content: '';

    position: absolute;
    z-index: -1;
    top: -11.208px;
    left: clamp(-172.203px, calc(35.8756vw - 688.812px), 0px);

    width: 549.3px;
    height: 549.3px;

    background: url("../../images/built-for-the-road/section-rings.svg") center / 549.3px 549.3px no-repeat;
    transform: rotate(-90deg);
    transform-origin: center;
    pointer-events: none;
}

.built-for-road__container {
    width: calc(100% - 116px);
    max-width: 1324px;
    margin: 0 auto;
}

.built-for-road__heading {
    max-width: 645px;
    height: 234px;
    margin: 0 auto;
    text-align: center;
}

.built-for-road__heading h1 {
    color: var(--color-text-primary);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -1%;
}

.built-for-road__heading h1 span {
    color: var(--color-primary);
}

.built-for-road__heading p {
    margin-top: 16px;
    color: var(--color-muted-blue-gray);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
}

.built-for-road__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: 520.486px 517px;
    gap: 16px;
    margin-top: 40px;
}

.road-feature {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    padding-top: 38px;
    border-radius: 28px;
    background: var(--color-primary-lighter);
}

.road-feature--hours,
.road-feature--duty {
    grid-column: span 3;
}

.road-feature--documents::before,
.road-feature--duty::before {
    content: "";
    position: absolute;
    top: -310px;
    right: -300px;
    width: 502px;
    height: 502px;
    filter: blur(80px);
    border-radius: 50%;
    background: radial-gradient(circle at center,
    var(--color-primary) 0%,
    transparent 70%);
    opacity: .15;
    pointer-events: none;
}

.road-feature--maintenance::before {
    content: "";
    position: absolute;
    bottom: -380px;
    right: -140px;
    width: 745px;
    height: 502px;
    filter: blur(80px);
    border-radius: 50%;
    background: radial-gradient(circle at center,
    var(--color-primary) 0%,
    transparent 70%);
    opacity: .15;
    pointer-events: none;
}

.road-feature--maintenance,
.road-feature--documents,
.road-feature--dark {
    grid-column: span 2;
}

.road-feature--dark {
    color: var(--color-bg-white);
    background: radial-gradient(ellipse 83% 150% at 30% 20%, #1f2a4d 0%, #0e1830 70%, #08102a 100%);
}

.road-feature__copy {
    position: relative;
    z-index: 1;
    width: auto;
    height: 140px;
    flex: 0 0 140px;
    margin: 0 38px;
}

.road-feature__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--color-primary);
    background: var(--color-primary-5);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .5px;
    white-space: nowrap;
}

.road-feature__tag > span {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: currentColor;
}

.road-feature__text {
    margin-top: 14px;
}

.road-feature__text h2 {
    color: var(--color-text-primary);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.2px;
}

.road-feature__text p {
    margin-top: 10px;
    color: color-mix(in srgb, var(--color-text-primary) 70%, transparent);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    max-width: 497px;
}

.road-feature--dark .road-feature__tag {
    color: var(--color-bg-white);
    background: var(--color-bg-white-15);
}

.road-feature--dark .road-feature__text h2 {
    color: var(--color-bg-white);
}

.road-feature--dark .road-feature__text p {
    color: var(--color-bg-white-80);
}

.road-feature__visual {
    position: relative;
    z-index: 1;
    display: block;
    flex: 0 0 auto;
}

.road-feature__visual img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: fill;
}

.road-feature--hours .road-feature__visual {
    width: 83.333%;
    aspect-ratio: 2180 / 1294;
    margin-top: 19px;
    margin-left: 9.021%;
}

.road-feature--duty .road-feature__visual {
    width: 91.858%;
    aspect-ratio: 2403 / 1250;
    margin-top: 30px;
    margin-left: 5.811%;
}

/* Maintenance: the export includes the cards' drop-shadow padding, so the box is sized
   to the export (not the Figma frame) and pulled up/left by that padding, so the cards
   land exactly on the frame position at every breakpoint. */
.road-feature--maintenance .road-feature__visual {
    width: 90.847%;
    aspect-ratio: 1565 / 1306;
    margin-top: -11px;
    margin-left: 7.546%;
}

.road-feature--documents .road-feature__visual {
    width: 82.198%;
    aspect-ratio: 354 / 309;
    margin-top: 30px;
    margin-left: 8.824%;
}

.road-feature--dark .road-feature__visual {
    width: 100%;
    aspect-ratio: 426 / 313;
    margin-top: auto;
    margin-inline: auto;
}

.road-feature__planet,
.road-feature__orbits {
    position: absolute;
    top: 0;
    bottom: 0;
    display: block;
    pointer-events: none;
}

.road-feature__planet {
    z-index: 0;
    left: 0;
    width: 100%;
}

.road-feature__orbits {
    z-index: 0;
    right: 0;
    width: 81.038%;
}

.road-feature__planet img,
.road-feature__orbits img {
    width: 100%;
    height: 100%;
    max-width: none;
}

.built-for-road__cta {
    display: flex;
    width: 242px;
    height: 62px;
    margin: 64px auto 0;
}

.built-for-road__cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.built-for-road__cta-icon img {
    width: 14px;
    height: 14px;
}

@media (max-width: 1024px) {
    .built-for-road {
        padding-bottom: 40px;
    }

    .built-for-road::before {
        top: 1.792px;
        left: -323.203px;
    }

    .built-for-road__container {
        width: auto;
        max-width: none;
        margin: 0 24px;
    }

    .built-for-road__heading {
        height: 225px;
    }

    .built-for-road__heading p {
        max-width: 544px;
        margin-right: auto;
        margin-left: auto;
        font-size: 18px;
    }

    .built-for-road__grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .road-feature {
        width: 100%;
        height: 500px;
        flex: 0 0 500px;
    }

    .road-feature__copy {
        height: 114px;
        flex-basis: 114px;
    }

    .road-feature--hours .road-feature__copy,
    .road-feature--duty .road-feature__copy {
        height: 136px;
        flex-basis: 136px;
    }

    .road-feature--hours .road-feature__visual {
        width: 68.329%;
        aspect-ratio: 507 / 310;
        margin-top: 16px;
        margin-left: 13.073%;
    }

    .road-feature--duty .road-feature__visual {
        width: 92.62%;
        aspect-ratio: 2749 / 1164;
        margin-top: 35px;
        margin-left: 5.121%;
    }

    .road-feature--maintenance .road-feature__visual {
        width: 83.592%;
        aspect-ratio: 2481 / 1558;
        margin-top: -41px;
        margin-left: 12.635%;
    }

    .road-feature--documents .road-feature__visual {
        width: 47.709%;
        aspect-ratio: 354 / 318;
        margin-top: 30px;
        margin-left: 26.146%;
    }

    .road-feature--documents::before {
        right: -100px;
    }

    .road-feature--documents .road-feature__text p {
        max-width: 555px;
    }

    .road-feature--dark .road-feature__visual {
        width: 82.749%;
        aspect-ratio: 614 / 316;
    }

    .road-feature__orbits {
        width: 86.253%;
    }
}

@media (max-width: 576px) {
    .built-for-road {
        padding: 60px 0 0;
    }

    .built-for-road__container {
        margin: 0 8px;
    }

    .built-for-road__heading {
        width: 100%;
        height: 166px;
    }

    .built-for-road__heading h1 {
        font-size: 32px;
        line-height: 1.18;
        letter-spacing: -.16px;
    }

    .built-for-road__heading p {
        width: 100%;
        margin-top: 6px;
        font-size: 14px;
        line-height: 1.5;
    }

    .built-for-road__grid {
        gap: 24px;
        margin-top: 32px;
    }

    .road-feature {
        padding-top: 24px;
        border-radius: 14px;
    }

    .road-feature--hours {
        height: 425px;
        flex-basis: 425px;
    }

    .road-feature--duty {
        height: 381px;
        flex-basis: 381px;
    }

    .road-feature--maintenance {
        height: 428px;
        flex-basis: 428px;
    }

    .road-feature--documents,
    .road-feature--dark {
        height: 425px;
        flex-basis: 425px;
    }

    .built-for-road::before,
    .road-feature--documents::before,
    .road-feature--duty::before ,
    .road-feature--maintenance::before {
        display: none;
    }

    .road-feature__copy {
        height: 94.091px;
        flex-basis: 94.091px;
        margin: 0 16px;
    }

    .road-feature--hours .road-feature__copy,
    .road-feature--duty .road-feature__copy {
        height: 159px;
        flex-basis: 159px;
    }

    .road-feature--documents .road-feature__copy {
        height: 112.091px;
        flex-basis: 112.091px;
    }

    .road-feature__tag {
        gap: 5px;
        height: 23px;
        padding: 7px 12px;
        font-size: 8px;
        line-height: 1;
        letter-spacing: .79px;
        text-transform: uppercase;
    }

    .road-feature__text {
        margin-top: 14px;
    }

    .road-feature__text h2 {
        font-size: 24px;
        line-height: 1.24;
        letter-spacing: -.072px;
    }

    .road-feature__text p {
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.4;
        max-width: 498px;
    }

    .road-feature--hours .road-feature__visual {
        width: 97.215%;
        aspect-ratio: 1466 / 868;
        margin-top: 20.572px;
        margin-left: 2.122%;
    }

    .road-feature--duty .road-feature__visual {
        width: 95.557%;
        aspect-ratio: 1441 / 712;
        margin-top: 20px;
        margin-left: 3.979%;
    }

    .road-feature--maintenance .road-feature__visual {
        width: 94.164%;
        aspect-ratio: 1420 / 1187;
        margin-top: 5px;
        margin-left: 3.321%;
    }

    .road-feature--documents .road-feature__visual {
        width: 91.512%;
        aspect-ratio: 345 / 268;
        margin-top: 20px;
        margin-left: 4.244%;
    }

    .road-feature--dark .road-feature__visual {
        width: 100%;
        aspect-ratio: 369 / 289;
    }

    .road-feature__orbits {
        width: 85.411%;
    }

    .built-for-road__cta {
        width: 100%;
        height: 52px;
        margin-top: 32px;
        padding: 12px 32px;
        font-size: 14px;
        line-height: 1.4;
    }

    .built-for-road__cta-icon {
        width: 21px;
        height: 21px;
    }

    .built-for-road__cta-icon img {
        width: 12px;
        height: 12px;
    }
}
