.built-for-every-seat {
    padding: 60px 48px;
    overflow: hidden;
    background: var(--color-bg-white);
}

.built-for-every-seat,
.built-for-every-seat * {
    box-sizing: border-box;
}

.built-for-every-seat__container {
    width: 100%;
    max-width: 1344px;
    margin: 0 auto;
}

.built-for-every-seat__header {
    height: 170px;
    margin-bottom: 40px;
}

.built-for-every-seat__eyebrow {
    display: inline-flex;
    min-height: 26px;
    padding: 6px 12px;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--color-primary-10);
    border-radius: 50px;
    background: var(--color-primary-5);
    color: var(--color-primary);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.built-for-every-seat__eyebrow > span {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-20);
}

.built-for-every-seat__heading-row {
    display: flex;
    min-height: 128px;
    margin-top: 16px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
}

.built-for-every-seat__heading-row h2,
.built-for-every-seat__heading-row p,
.seat-card__heading h3,
.seat-card__heading p {
    margin: 0;
}

.built-for-every-seat__heading-row h2 {
    color: var(--color-text-dark);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -1%;
}

.built-for-every-seat__heading-row > p {
    width: 260px;
    margin-top: 34px;
    color: var(--color-text-muted);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
}

.built-for-every-seat__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.seat-card {
    --desktop-visual-width: 378px;
    --desktop-visual-column: 388px;
    --desktop-visual-bottom: 0px;
    position: relative;
    display: grid;
    height: 319px;
    grid-template-columns: minmax(0, 1fr) var(--desktop-visual-column);
    overflow: hidden;
    border: 1px solid var(--color-border-soft-20);
    border-radius: 20px;
    background: linear-gradient(160deg, var(--color-bg-white) 0%, var(--color-bg-light) 100%);
}

.seat-card--fleet {
    --desktop-visual-width: 404px;
    --desktop-visual-column: var(--desktop-visual-width);
    --desktop-visual-bottom: 21px;
}

.seat-card--co-driver {
    --desktop-visual-width: 365px;
    --desktop-visual-column: var(--desktop-visual-width);
    --desktop-visual-bottom: 1px;
}

.seat-card--owner {
    --desktop-visual-width: 375px;
    --desktop-visual-column: var(--desktop-visual-width);
    --desktop-visual-bottom: 12px;
}

.seat-card__content {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: 31px 0 0 31px;
}

.seat-card__heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.seat-card__heading > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.seat-card__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 10px;
    background: var(--color-primary-5);
}

.seat-card__icon img {
    display: block;
    width: 23px;
    height: 23px;
}

.seat-card__heading h3 {
    color: var(--color-text-primary);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.056px;
}

.seat-card__heading p {
    color: var(--color-text-muted);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.38;
    white-space: nowrap;
}

.seat-card__features {
    display: flex;
    margin: 24px 0 0;
    padding: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    list-style: none;
}

.seat-card--fleet .seat-card__features {
    margin-top: 16px;
}

.seat-card__features li {
    display: flex;
    min-height: 34px;
    padding: 8px 16px 8px 12px;
    align-items: center;
    gap: 8px;
    border-radius: 120px;
    background: var(--color-text-primary-4);
    /* Figma: Text/Primary at 85% opacity on the label only. color-mix instead of
       opacity, because opacity on the <li> would also fade the pill and check icon. */
    color: color-mix(in srgb, var(--color-text-primary) 85%, transparent);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
}

.seat-card__features img {
    display: block;
    width: 14px;
    height: 14px;
    padding: 3px;
    border-radius: 7px;
    box-sizing: border-box;
    background: var(--color-text-primary-14);
}

.seat-card__visual {
    min-width: 0;
    pointer-events: none;
}

.seat-card__visual--grouped {
    z-index: 0;
    display: block;
    width: var(--desktop-visual-width);
    align-self: end;
    margin-bottom: var(--desktop-visual-bottom);
}

.seat-card__visual--grouped img {
    display: block;
    width: 100%;
    height: auto;
}

.seat-card__visual--tablet {
    display: none;
}

@media (max-width: 1024px) {
    .built-for-every-seat {
        padding: 40px clamp(16px, 4.81vw, 48px);
    }

    .built-for-every-seat__container {
        max-width: 714px;
    }

    .built-for-every-seat__header {
        height: 206px;
        margin-bottom: 40px;
    }

    .built-for-every-seat__eyebrow {
        font-size: 11px;
        letter-spacing: 1.21px;
        line-height: 100%;
    }

    .built-for-every-seat__heading-row {
        min-height: 164px;
        margin-top: 16px;
        flex-direction: column;
        justify-content: flex-start;
        gap: 14px;
    }

    .built-for-every-seat__heading-row h2 {
        font-size: 42px;
        line-height: 1.17;
        letter-spacing: -.21px;
    }

    .built-for-every-seat__heading-row > p {
        width: auto;
        margin-top: 0;
        font-size: 20px;
        line-height: 1.3;
    }

    .built-for-every-seat__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .seat-card {
        --tablet-visual-start: 282px;
        display: grid;
        height: 362px;
        grid-template-columns: var(--tablet-visual-start) minmax(0, 1fr);
    }

    .seat-card--fleet {
        --tablet-visual-start: 268px;
    }

    .seat-card--co-driver {
        --tablet-visual-start: 316px;
    }

    .seat-card--owner {
        --tablet-visual-start: 310px;
    }

    .seat-card__content {
        grid-column: 1;
        grid-row: 1;
        padding: 31px 0 0 31px;
    }

    .seat-card__visual--grouped {
        display: none;
    }

    .seat-card__visual--tablet {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        grid-column: 2;
        grid-row: 1;
    }

    .seat-card__visual--tablet img {
        position: absolute;
        display: block;
        max-width: none;
    }

    .seat-card__company-tablet {
        top: 33px;
        left: 0;
        width: 404px;
        height: 329px;
    }

    .seat-card__fleet-map {
        top: 58px;
        left: 73px;
        width: 373px;
        height: 245px;
    }

    .seat-card__fleet-driver-one {
        top: 42px;
        left: 0;
        width: 214px;
        height: 44px;
    }

    .seat-card__fleet-driver-two {
        top: 278px;
        left: 169px;
        width: 262px;
        height: 54px;
    }

    .seat-card__co-tablet {
        top: 34px;
        left: 0;
        width: 371px;
        height: 328px;
    }

    .seat-card__owner-tablet {
        top: 35px;
        left: 0;
        width: 377px;
        height: 292px;
    }
}

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

    .built-for-every-seat__container {
        max-width: 361px;
    }

    .built-for-every-seat__header {
        height: 161px;
        margin-bottom: 24px;
        text-align: center;
    }

    .built-for-every-seat__eyebrow {
        min-height: 23px;
        padding: 5px 12px;
        font-size: 8px;
        line-height: 1.5;
        letter-spacing: .88px;
    }

    .built-for-every-seat__heading-row {
        min-height: 126px;
        margin-top: 12px;
        align-items: center;
        gap: 8px;
    }

    .built-for-every-seat__heading-row h2 {
        font-size: 32px;
        line-height: 1.18;
        letter-spacing: -.16px;
    }

    .built-for-every-seat__heading-row > p {
        font-size: 14px;
        line-height: 1.5;
    }

    .built-for-every-seat__grid {
        margin: 0 1px;
    }

    .seat-card {
        display: flex;
        height: 400px;
        flex-direction: column;
        border-radius: 16px;
    }

    .seat-card__content {
        flex: none;
        padding: 23px 15px 0;
    }

    .seat-card__heading {
        gap: 8px;
    }

    .seat-card__heading > div {
        gap: 2px;
    }

    .seat-card__icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .seat-card__icon img {
        width: 17.5px;
        height: 17.5px;
    }

    .seat-card__heading h3 {
        font-size: 18px;
        line-height: 1.33;
        letter-spacing: 0;
    }

    .seat-card__heading p {
        font-size: 13px;
        line-height: normal;
    }

    .seat-card__features {
        margin-top: 12px;
        flex-flow: row nowrap;
        gap: 8px;
    }

    .seat-card__features li {
        min-height: 31px;
        padding: 8px 16px 8px 12px;
        gap: 8px;
        font-size: 10px;
        line-height: 1.4;
    }

    .seat-card__features img {
        width: 12px;
        height: 12px;
        padding: 2.667px;
        border-radius: 6px;
    }

    .seat-card__visual--tablet {
        display: none;
    }

    .seat-card__visual--grouped {
        display: block;
        align-self: auto;
        flex: none;
        margin-bottom: 0;
    }

    .seat-card--company .seat-card__content {
        height: 151px;
    }

    .seat-card--company .seat-card__visual--grouped {
        width: 315px;
        margin: 15px 0 0 21px;
    }

    .seat-card--fleet .seat-card__content {
        height: 155px;
    }

    .seat-card--fleet .seat-card__visual--grouped {
        width: 343px;
        margin: 14px 0 0 15px;
    }

    .seat-card--co-driver .seat-card__content {
        height: 188px;
    }

    .seat-card--co-driver .seat-card__features {
        flex-wrap: wrap;
    }

    .seat-card--co-driver .seat-card__visual--grouped {
        width: 325px;
        margin: 5px 0 0 16px;
    }

    .seat-card--owner .seat-card__content {
        height: 151px;
    }

    .seat-card--owner .seat-card__visual--grouped {
        width: 327px;
        margin: 13px 0 0 15px;
    }
}
