.adc-safety {
    /* Mock product-UI palette used inside the glass panels. The design uses raw values here
       that have no counterpart in colors.css, so they are declared once and reused. */
    --adc-mock-ink: #232931;
    --adc-mock-ink-2: #1e293b;
    --adc-mock-ink-3: #1d212a;
    --adc-mock-muted: #a0aec0;
    --adc-mock-muted-2: #64748b;
    --adc-mock-muted-3: #94a3b8;
    --adc-mock-muted-4: #5f646d;
    --adc-mock-blue: #253cdb;
    --adc-mock-green: #3bbd7f;
    --adc-mock-red: #eb5757;
    --adc-mock-orange: #ff4d26;
    --adc-mock-border: #e2e8f0;
    --adc-mock-surface: #f8fafc;
    --adc-mock-tab-border: #dce3f3;
    --adc-black: #000;
    --adc-glass: color-mix(in srgb, var(--color-bg-white) 65%, transparent);
    --adc-glass-border: color-mix(in srgb, var(--color-bg-white) 80%, transparent);
    --adc-glass-edge: color-mix(in srgb, var(--color-bg-white) 12%, transparent);
    --adc-shadow: color-mix(in srgb, var(--adc-black) 5%, transparent);

    /* No top padding: the gap above the block is the margin-bottom of the shared companies strip. */
    position: relative;
    padding: 0 var(--container-padding) 84px;
}

.adc-safety__inner {
    position: relative;
    z-index: 1;
    max-width: 1324px;
    margin-inline: auto;
}

/* Decor behind the title: concentric circles + two dots, exported from the design.
   Desktop frame: 549px square at (-172, 946); the section starts at ~958. */
.adc-safety__decor {
    position: absolute;
    top: -12px;
    left: -172px;
    z-index: 0;
    pointer-events: none;
}

.adc-safety__decor img {
    display: block;
    width: 549px;
    height: 549px;
}

/* ---------- header ---------- */
.adc-safety__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    text-align: center;
}

.adc-safety__title {
    margin: 0;
    color: var(--color-text-primary);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.56px;
}

.adc-safety__title-accent {
    color: var(--color-primary);
}

.adc-safety__lead {
    max-width: 592px;
    margin: 0;
    color: var(--color-muted-blue-gray);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
}

/* ---------- grid + cards ---------- */
.adc-safety__grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.adc-safety__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.adc-safety__card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 480px;
    padding: 38px;
    overflow: hidden;
    border-radius: 28px;
    background: var(--color-primary-lighter);
}

.adc-safety__card--detection {
    justify-content: center;
}

.adc-safety__text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 497px;
}

.adc-safety__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    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: 0.055px;
}

.adc-safety__tag::before {
    content: "";
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.adc-safety__heading {
    max-width: 430px;
    margin: 0 0 10px;
    color: var(--color-text-primary);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.16px;
}

.adc-safety__copy {
    max-width: 497px;
    margin: 0 0 14px;
    color: color-mix(in srgb, var(--color-text-primary) 70%, transparent);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.adc-safety__card--detection .adc-safety__copy {
    max-width: 415px;
    margin-bottom: 24px;
}

.adc-safety__chips {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.adc-safety__card--detection .adc-safety__chips {
    gap: 12px;
}

.adc-safety__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 48px;
    color: color-mix(in srgb, var(--color-text-primary) 90%, transparent);
    background: var(--color-primary-5);
    font-size: 14px;
    font-weight: 500;
    line-height: 19px;
    white-space: nowrap;
}

.adc-safety__chip-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-primary-20);
}

.adc-safety__chip-icon img {
    display: block;
    width: 8px;
    height: 8px;
}

/* ---------- art layer ----------
   --ka is one design pixel of the desktop frame (shrinks with the card below its design width);
   panels scale with their own --k on top of it, so every panel size is written in em. */
.adc-safety__art {
    --ka: min(1px, calc(100cqw / 654));
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    container-type: inline-size; /* cqw = full card width, padding included */
}

.adc-safety__card--detection .adc-safety__art {
    --ka: min(1px, calc(100cqw / 1324));
}

.adc-safety__scene {
    position: absolute;
    top: calc(-80 * var(--ka));
    right: calc(-362 * var(--ka));
    width: calc(1198 * var(--ka));
    height: calc(675 * var(--ka));
    overflow: hidden;
}

.adc-safety__scene img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adc-safety__scene::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        var(--color-primary-lighter) 3.088%,
        color-mix(in srgb, var(--color-primary-lighter) 0%, transparent) 41.194%
    );
}

/* blurred blue glows, a rotated svg inside a box that is measured after the rotation */
.adc-safety__glow {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(778.757 * var(--ka));
    height: calc(553.848 * var(--ka));
}

.adc-safety__glow > span {
    position: relative;
    flex: none;
    width: calc(501.7 * var(--ka));
    height: calc(744.672 * var(--ka));
    transform: rotate(85.88deg);
}

.adc-safety__glow img {
    position: absolute;
    top: -37.6%;
    left: -55.81%;
    width: 211.62%;
    height: 175.2%;
    max-width: none;
}

.adc-safety__glow--detection {
    top: calc(429.52 * var(--ka));
    left: calc(-173.75 * var(--ka));
}

.adc-safety__glow--capture {
    top: calc(430 * var(--ka));
    left: calc(-77 * var(--ka));
}

.adc-safety__glow--live {
    top: calc(-380 * var(--ka));
    right: calc(-352.5 * var(--ka));
    width: calc(537.496 * var(--ka));
    height: calc(536.489 * var(--ka));
}

.adc-safety__glow--live > span {
    height: calc(502.788 * var(--ka));
}

.adc-safety__glow--live img {
    top: -55.69%;
    height: 211.38%;
}

/* ---------- glass panels ---------- */
.adc-panel {
    position: absolute;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    font-size: calc(var(--k, 1) * var(--ka));
    line-height: 1.21; /* matches the panel heights in the design */
    background: var(--adc-glass);
    -webkit-backdrop-filter: blur(10.848em);
    backdrop-filter: blur(10.848em);
    /* Figma strokes sit inside the frame, so edges are inset shadows and never change the box size */
    box-shadow: inset 0 0 0 var(--edge-w) var(--edge-c), 0 5.786em 17.357em var(--adc-shadow);
}

.adc-panel p,
.adc-panel b,
.adc-panel i {
    margin: 0;
    font-style: normal;
}

.adc-panel img {
    display: block;
    flex: none;
}

.adc-panel__rule {
    position: relative;
    height: 0;
}

.adc-panel__rule::after {
    content: "";
    position: absolute;
    top: -0.723em;
    right: 0;
    left: 0;
    height: 0.723em;
    background: color-mix(in srgb, var(--adc-mock-muted) 7.84%, transparent);
}

/* record panel */
.adc-panel--record {
    top: 28px;
    right: calc(411 * var(--ka));
    width: 371em;
    gap: 14.464em;
    padding: 17.357em;
    --edge-w: 0.723em;
    --edge-c: var(--adc-glass-edge);
    border-radius: 16em;
}

.adc-panel__head {
    display: flex;
    align-items: center;
    gap: 7.232em;
}

.adc-panel__head img {
    width: 11.571em;
    height: 11.571em;
}

.adc-panel__title {
    flex: 1 1 0;
    min-width: 0;
    color: var(--adc-mock-ink);
    font-size: 13.018em;
    font-weight: 600;
}

.adc-panel__status {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.adc-panel__status-info {
    display: flex;
    align-items: center;
    gap: 11.571em;
}

.adc-panel__cam {
    display: grid;
    place-items: center;
    width: 40.499em;
    height: 40.499em;
    box-shadow: inset 0 0 0 1.446em color-mix(in srgb, var(--adc-mock-blue) 10%, transparent);
    border-radius: 20.25em;
}

.adc-panel__cam > span {
    display: grid;
    place-items: center;
    width: 28.928em;
    height: 28.928em;
    border-radius: 14.464em;
    background: color-mix(in srgb, var(--adc-mock-blue) 10%, transparent);
}

.adc-panel__cam img {
    width: 14.464em;
    height: 14.464em;
}

.adc-panel__labels {
    display: flex;
    flex-direction: column;
    gap: 1.446em;
    white-space: nowrap;
}

.adc-panel__labels b {
    color: color-mix(in srgb, var(--adc-mock-ink) 80%, transparent);
    font-size: 11.571em;
    font-weight: 600;
}

.adc-panel__labels i {
    color: var(--adc-mock-muted);
    font-size: 14.464em;
    font-weight: 500;
}

.adc-panel__wave {
    display: flex;
    align-items: center;
    gap: 1.446em;
    height: 23.142em;
}

.adc-panel__wave span {
    flex: none;
    width: 1.446em;
    height: calc(var(--h) * 1em);
    border-radius: 0.723em;
    background: var(--adc-mock-blue);
    opacity: 0.8;
}

.adc-panel__timeline {
    display: flex;
    flex-direction: column;
    gap: 5.786em;
}

.adc-panel__timeline-labels {
    display: flex;
    justify-content: space-between;
    font-size: 8.678em;
    white-space: nowrap;
}

.adc-panel__timeline-labels span {
    color: var(--adc-mock-muted);
    font-weight: 500;
}

.adc-panel__timeline-labels b {
    color: var(--adc-mock-blue);
    font-weight: 600;
}

.adc-panel__track {
    position: relative;
    height: 11.571em;
}

.adc-panel__track::before,
.adc-panel__track-active {
    content: "";
    position: absolute;
    top: 4.34em;
    height: 1.446em;
    border-radius: 0.723em;
}

.adc-panel__track::before {
    right: 0;
    left: 0;
    background: color-mix(in srgb, var(--adc-mock-muted) 20%, transparent);
}

.adc-panel__track-active {
    left: 1.446em;
    width: 166.335em;
    background: var(--adc-mock-blue);
}

.adc-panel__node {
    position: absolute;
    top: 0.969em;
    left: calc(var(--x) * 1em);
    width: 7em;
    height: 7em;
}

.adc-panel__node--head {
    top: -0.031em;
    width: 10em;
    height: 10em;
}

.adc-panel__event {
    display: flex;
    gap: 11.571em;
    padding: 8.678em;
    border-radius: 8em;
    background: color-mix(in srgb, var(--color-bg-white) 50%, transparent);
    box-shadow:
        inset 0 0 0 0.723em color-mix(in srgb, var(--adc-mock-muted-3) 12%, transparent),
        0 4em 4em color-mix(in srgb, var(--adc-black) 2%, transparent);
}

.adc-panel__event-thumb {
    width: 72.32em;
    height: 49.177em;
    border-radius: 5.786em;
    object-fit: cover;
}

.adc-panel__event-info {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.adc-panel__event-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
}

.adc-panel__event-row b {
    color: var(--adc-mock-ink);
    font-size: 10.848em;
    font-weight: 600;
}

.adc-panel__event-row > span:first-of-type {
    color: var(--adc-mock-muted);
    font-size: 8.678em;
    font-weight: 500;
}

.adc-panel__event-row .adc-panel__event-cause {
    font-size: 9.402em;
}

/* font-size lives on this element, so its own lengths are relative to 7.955 */
.adc-panel__saved {
    display: inline-flex;
    align-items: center;
    gap: 0.5454em;
    padding: 0.3637em 0.909em;
    box-shadow: inset 0 0 0 0.0909em color-mix(in srgb, var(--adc-mock-green) 25%, transparent);
    border-radius: 9.09em;
    color: var(--adc-mock-green);
    background: color-mix(in srgb, var(--adc-mock-green) 10%, transparent);
    font-size: 7.955em;
    font-weight: 600;
}

.adc-panel__saved img {
    width: 0.909em;
    height: 0.909em;
}

/* driver alert */
.adc-panel--alert {
    top: 320px;
    right: 0;
    width: 231.081em;
    gap: 10.27em;
    padding: 12.838em 15.405em;
    --edge-w: 0.642em;
    --edge-c: var(--adc-glass-edge);
    border-radius: 12em;
}

.adc-panel__alert-head {
    display: flex;
    align-items: center;
    gap: 7.703em;
}

.adc-panel__alert-head img {
    width: 7.703em;
    height: 7.703em;
}

.adc-panel__alert-head p {
    color: var(--adc-mock-ink-3);
    font-size: 11.554em;
    font-weight: 600;
}

.adc-panel__rule--alert::after {
    top: -0.642em;
    height: 0.642em;
    background: color-mix(in srgb, var(--adc-black) 6%, transparent);
}

.adc-panel__alert-body {
    display: flex;
    align-items: center;
    gap: 10.27em;
}

.adc-panel__warn {
    display: grid;
    flex: none;
    place-items: center;
    width: 34.662em;
    height: 34.662em;
    box-shadow: inset 0 0 0 1.284em color-mix(in srgb, var(--adc-mock-red) 15%, transparent);
    border-radius: 17.331em;
    background: color-mix(in srgb, var(--adc-mock-red) 5%, transparent);
}

.adc-panel__warn img {
    width: 15.405em;
    height: 15.405em;
}

.adc-panel__alert-text {
    display: flex;
    flex-direction: column;
    gap: 2.568em;
    min-width: 0;
}

.adc-panel__alert-text b {
    color: var(--adc-mock-ink-3);
    font-size: 11.554em;
    font-weight: 600;
}

.adc-panel__alert-text span {
    color: var(--adc-mock-muted-4);
    font-size: 10.27em;
    font-weight: 500;
}

/* evidence review */
.adc-panel--evidence {
    top: 346px;
    left: calc(38 * var(--ka));
    width: 360.971em;
    gap: 12.869em;
    padding: 15.443em;
    --edge-w: 0.965em;
    --edge-c: var(--adc-glass-border);
    border-radius: 15.443em;
}

.adc-panel__ev-head {
    display: flex;
    align-items: center;
    gap: 7.721em;
}

.adc-panel__ev-head p {
    flex: 1 1 0;
    min-width: 0;
    color: var(--adc-mock-ink-2);
    font-size: 10.295em;
    font-weight: 600;
}

.adc-panel__badge {
    display: grid;
    flex: none;
    place-items: center;
    width: 23.164em;
    height: 23.164em;
    border-radius: 11.582em;
    background: color-mix(in srgb, var(--adc-mock-blue) 10%, transparent);
}

.adc-panel__badge img {
    width: 11.582em;
    height: 11.582em;
}

.adc-panel__ev-body {
    display: flex;
    gap: 7.721em;
}

.adc-panel__player {
    position: relative;
    display: flex;
    flex: none;
    flex-direction: column;
    justify-content: flex-end;
    width: 160.861em;
    height: 90.082em;
    overflow: hidden;
    border-radius: 7.721em;
}

.adc-panel__player > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adc-panel__player-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5.148em;
    background: color-mix(in srgb, var(--adc-black) 40%, transparent);
}

.adc-panel__player-bar img {
    width: 10.295em;
    height: 10.295em;
}

.adc-panel__player-bar span {
    color: var(--color-bg-white);
    font-size: 7.078em;
    font-weight: 500;
    white-space: nowrap;
}

.adc-panel__details {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 6.434em;
    min-width: 0;
    padding: 7.721em;
    box-shadow: inset 0 0 0 0.643em var(--adc-mock-border);
    border-radius: 7.721em;
    background: var(--adc-mock-surface);
    white-space: nowrap;
}

.adc-panel__details-title {
    color: var(--adc-mock-muted-2);
    font-size: 7.078em;
    font-weight: 700;
    text-transform: uppercase;
}

.adc-panel__details-list {
    display: flex;
    flex-direction: column;
    gap: 1.0908em;
    font-size: 7.078em;
}

.adc-panel__details-list > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.adc-panel__details-list span {
    color: var(--adc-mock-muted-2);
    font-weight: 400;
}

.adc-panel__details-list b {
    color: var(--adc-mock-ink-2);
    font-weight: 600;
}

.adc-panel__stamp {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1818em;
}

.adc-panel__stamp i {
    color: var(--adc-mock-muted-3);
    font-size: 0.818em;
    font-weight: 400;
}

/* event clips */
.adc-panel--clips {
    top: 239px;
    right: calc(-20 * var(--ka));
    width: 319.713em;
    gap: 17.282em;
    padding: 20.738em;
    --edge-w: 1.296em;
    --edge-c: var(--adc-glass-border);
    border-radius: 20.738em;
}

.adc-panel__clips-top {
    display: flex;
    flex-direction: column;
    gap: 12em;
}

.adc-panel__ev-head--clips {
    gap: 10.369em;
}

.adc-panel__ev-head--clips p {
    font-size: 13.825em;
}

.adc-panel__ev-head--clips .adc-panel__badge {
    width: 31.107em;
    height: 31.107em;
    border-radius: 15.554em;
}

.adc-panel__ev-head--clips .adc-panel__badge img {
    width: 15.554em;
    height: 15.554em;
}

.adc-panel__showcase {
    display: flex;
    flex-direction: column;
    gap: 5.185em;
}

.adc-panel__chevron {
    width: 14.69em;
    height: 5.185em;
    margin: 0 auto 8.64em;
}

.adc-panel__chevron--up {
    margin: 6.048em auto 0;
    transform: rotate(180deg);
}

.adc-panel__thumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6.913em;
}

.adc-panel__thumb {
    display: flex;
    flex: none;
    flex-direction: column;
    gap: 5.185em;
    width: 74.312em;
}

.adc-panel__thumb img {
    width: 100%;
    height: 55.302em;
    border-radius: 6.913em;
    object-fit: cover;
}

.adc-panel__thumb span {
    color: var(--adc-mock-muted-2);
    font-size: 9.505em;
    font-weight: 500;
    text-align: center;
}

.adc-panel__thumb--active {
    box-sizing: border-box;
    width: 103.691em;
    padding: 3.456em;
    border-radius: 10.369em;
    background: var(--color-bg-white);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--adc-mock-blue) 50%, transparent);
    filter: drop-shadow(0 3.456em 5.185em color-mix(in srgb, var(--adc-mock-blue) 20%, transparent));
}

.adc-panel__thumb--active img {
    height: 62.215em;
}

.adc-panel__thumb--active span {
    color: var(--adc-mock-blue);
    font-weight: 600;
}

.adc-panel__scrubber {
    display: flex;
    flex-direction: column;
    gap: 3.456em;
}

.adc-panel__scrub-track {
    position: relative;
    height: 3.456em;
    border-radius: 1.728em;
    background: var(--adc-mock-border);
}

.adc-panel__scrub-track span {
    display: block;
    width: 137.39em;
    height: 100%;
    border-radius: 1.728em;
    background: var(--adc-mock-blue);
}

.adc-panel__scrub-track img {
    position: absolute;
    top: -2.59em;
    left: 132.2em;
    width: 8.641em;
    height: 8.641em;
}

.adc-panel__scrub-times {
    display: flex;
    justify-content: space-between;
    font-size: 8.641em;
    white-space: nowrap;
}

.adc-panel__scrub-times span {
    color: var(--adc-mock-muted-3);
    font-weight: 400;
}

.adc-panel__scrub-times b {
    color: var(--adc-mock-blue);
    font-weight: 600;
}

.adc-panel__rule--clips::after {
    top: -0.864em;
    height: 0.864em;
    background: var(--adc-mock-border);
}

.adc-panel__auto {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6.913em;
    padding: 6.913em 13.825em;
    border-radius: 86.409em;
    background: color-mix(in srgb, var(--adc-mock-orange) 5%, transparent);
    box-shadow: inset 0 0 0 0.864em color-mix(in srgb, var(--adc-mock-orange) 15%, transparent);
}

.adc-panel__auto img {
    width: 12.097em;
    height: 12.097em;
}

.adc-panel__auto span {
    color: var(--adc-mock-blue);
    font-size: 11.233em;
    font-weight: 600;
    white-space: nowrap;
}

/* live camera panels */
.adc-panel--live {
    width: 320em;
    gap: 12em;
    padding: 21em;
    --edge-w: 1.3em;
    --edge-c: var(--adc-glass-border);
    border-radius: 21em;
}

.adc-panel--cab {
    top: 226px;
    right: calc(-16.8 * var(--ka));
}

.adc-panel--road {
    top: 346px;
    right: calc(215.65 * var(--ka));
}

.adc-panel__live-head {
    display: flex;
    align-items: center;
    gap: 8em;
}

.adc-panel__live-head img {
    width: 12.831em;
    height: 12.831em;
}

.adc-panel__live-title {
    color: var(--adc-mock-ink-2);
    font-size: 14em;
    font-weight: 600;
    white-space: nowrap;
}

.adc-panel__tabs {
    position: relative;
    display: flex;
    height: 32em;
    overflow: hidden;
    border-radius: 100em;
    filter: drop-shadow(0 0.941em 0.941em color-mix(in srgb, var(--adc-mock-ink-2) 5%, transparent));
}

.adc-panel__tabs::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 0.941em var(--adc-mock-tab-border);
}

.adc-panel__tab {
    display: grid;
    flex: 1 1 0;
    place-items: center;
    color: color-mix(in srgb, var(--color-text-primary) 50%, transparent);
    background: var(--color-bg-white);
    font-size: 13.18em;
    font-weight: 500;
    white-space: nowrap;
}

.adc-panel__tab:first-child {
    border-right: 0.9em solid var(--adc-mock-tab-border);
}

.adc-panel__tab.is-active {
    color: var(--color-text-primary);
    /* DESIGN-DEVIATION: mock reads #EFEFF4; nearest token --color-bg-light is #F2F3F5. Confirm with design. */
    background: var(--color-bg-light);
}

.adc-panel__live-frame {
    box-sizing: border-box;
    padding: 8.554em 8.554em 14em;
    border-radius: 21.385em;
    background: var(--color-bg-white);
    box-shadow: inset 0 0 0 2.138em color-mix(in srgb, var(--adc-mock-blue) 50%, transparent);
    filter: drop-shadow(0 7.399em 11.088em color-mix(in srgb, var(--adc-mock-blue) 20%, transparent));
}

.adc-panel__live-frame img {
    width: 100%;
    height: 132.585em;
    border-radius: 14.969em;
    object-fit: cover;
}

.adc-panel__live-stats {
    display: flex;
    justify-content: space-between;
    color: var(--adc-mock-muted-2);
    font-size: 9em;
    font-weight: 500;
    white-space: nowrap;
}

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
    /* Tablet frame: the same 549px decor centred at (0, 1712); the section starts at ~1444 */
    .adc-safety__decor {
        top: -6px;
        left: -275px;
    }

    .adc-safety {
        padding-inline: var(--container-padding-md);
        padding-bottom: 40px;
    }

    .adc-safety__lead {
        max-width: 544px;
        font-size: 18px;
        line-height: 1.44;
    }

    .adc-safety__row {
        grid-template-columns: minmax(0, 1fr);
    }

    .adc-safety__card {
        min-height: 500px;
    }

    .adc-safety__card--detection {
        justify-content: flex-start;
    }

    .adc-safety__br--desktop {
        display: none;
    }

    .adc-safety__copy {
        max-width: 477px;
        margin-bottom: 24px;
        color: var(--color-text-muted);
        line-height: 1.5;
    }

    .adc-safety__card--detection .adc-safety__copy {
        max-width: 420px;
    }

    .adc-safety__chips {
        flex-direction: row;
        gap: 10px;
    }

    .adc-safety__card--detection .adc-safety__chips {
        gap: 10px;
    }

    .adc-safety__chips--column {
        flex-direction: column;
    }

    .adc-safety__chip {
        line-height: 1.43;
    }

    .adc-safety__art,
    .adc-safety__card--detection .adc-safety__art {
        --ka: 1px;
    }

    .adc-safety__glow {
        display: none;
    }

    .adc-safety__scene {
        top: 292px;
        right: -77px;
        left: -15px;
        width: auto;
        height: 362px;
    }

    .adc-safety__scene img {
        inset: auto;
        top: -29.61%;
        left: 0;
        height: 129.66%;
    }

    .adc-safety__scene::after {
        background: linear-gradient(
            to bottom,
            var(--color-primary-lighter) 2.624%,
            color-mix(in srgb, var(--color-primary-lighter) 0%, transparent) 22.376%
        );
    }

    .adc-panel--record {
        --k: 0.6739;
        top: 301px;
        right: auto;
        left: 23px;
    }

    .adc-panel--alert {
        top: 268px;
        right: min(25px, calc(100cqw - 512px));
    }

    .adc-panel--evidence {
        --k: 1.122;
        top: 355px;
        left: 38px;
    }

    .adc-panel--clips {
        --k: 1.01028;
        top: 277px;
        right: min(-9px, calc(100cqw - 751px));
    }

    .adc-panel--cab {
        top: 138px;
        right: min(-13px, calc(100cqw - 720px));
    }

    .adc-panel--road {
        top: 290px;
        right: min(145px, calc(100cqw - 600px));
    }
}

/* ---------- mobile ---------- */
@media (max-width: 576px) {
    /* The decor is only in the desktop and tablet designs */
    .adc-safety__decor {
        display: none;
    }

    .adc-safety {
        padding: 0 var(--container-padding-sm);
    }

    .adc-safety__header {
        gap: 6px;
        margin-bottom: 32px;
    }

    .adc-safety__title {
        font-size: 32px;
        line-height: 1.18;
        letter-spacing: -0.16px;
    }

    .adc-safety__lead {
        max-width: none;
        font-size: 14px;
        line-height: 1.5;
    }

    .adc-safety__grid,
    .adc-safety__row {
        gap: 24px;
    }

    .adc-safety__card {
        min-height: 0;
        padding: 24px 16px 0;
        border-radius: 14px;
    }

    .adc-safety__tag {
        padding: 8px 16px;
        font-size: 8px;
        letter-spacing: 0.04px;
    }

    .adc-safety__heading {
        max-width: none;
        margin-bottom: 8px;
        font-size: 24px;
        line-height: 1.24;
        letter-spacing: -0.072px;
    }

    .adc-safety__copy,
    .adc-safety__card--detection .adc-safety__copy {
        max-width: none;
        margin-bottom: 14px;
        font-size: 13px;
        line-height: 1.54;
    }

    .adc-safety__br--wide {
        display: none;
    }

    .adc-safety__chips {
        gap: 10px;
    }

    .adc-safety__chip {
        gap: 8px;
        font-size: 12px;
        line-height: 1.5;
    }

    .adc-safety__chip-icon {
        width: 12px;
        height: 12px;
    }

    .adc-safety__chip-icon img {
        width: 7px;
        height: 7px;
    }

    .adc-safety__art,
    .adc-safety__card--detection .adc-safety__art {
        position: relative;
        inset: auto;
        width: calc(100% + 32px);
        margin-inline: -16px;
    }

    .adc-safety__card--detection .adc-safety__art {
        height: 289px;
    }

    .adc-safety__card--capture .adc-safety__art {
        height: 223px;
    }

    .adc-safety__card--live .adc-safety__art {
        height: 195px;
    }

    .adc-safety__scene {
        top: 53px;
        right: -214px;
        left: -6px;
        height: 259px;
    }

    .adc-panel--record {
        --k: 0.5364;
        top: 20px;
        left: 15px;
    }

    .adc-panel--alert {
        --k: 0.5716;
        top: 202px;
        right: 17px;
    }

    .adc-panel--evidence {
        --k: 1.0178;
        top: 73px;
        left: 16px;
    }

    .adc-panel--clips {
        --k: 0.878;
        top: 23px;
        right: -79px;
    }

    .adc-panel--cab {
        --k: 0.6074;
        top: 14px;
        right: 16px;
    }

    .adc-panel--road {
        --k: 0.5855;
        top: 74px;
        right: auto;
        left: 16px;
    }
}
