/* Safe Fleet call to action. */

.sf-smarter-safety {
    padding: 60px 16px;

    background: #ffffff;
}

.sf-smarter-safety__panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    display: grid;
    place-items: center;

    width: min(100%, var(--sf-page-width));
    min-height: 697px;
    margin-inline: auto;
    padding: 72px 40px;

    color: #ffffff;
    background:
        radial-gradient(
            circle at 101% -3%,
            rgba(30, 54, 221, 0.95) 0%,
            rgba(30, 54, 221, 0) 31%
        ),
        radial-gradient(
            circle at -3% 103%,
            rgba(27, 52, 225, 0.98) 0%,
            rgba(27, 52, 225, 0) 32%
        ),
        linear-gradient(115deg, #1a2747 0%, #14203e 52%, #0f1b39 100%);
    border-radius: 28px;
}

.sf-smarter-safety__content {
    position: relative;
    z-index: 2;

    width: min(100%, 820px);

    text-align: center;
}

.sf-smarter-safety__title {
    margin: 0 0 20px;

    color: #ffffff;

    font-size: 58px;
    font-weight: 400;
    line-height: 1.16;
    letter-spacing: -0.04em;
}

.sf-smarter-safety__title strong {
    font-weight: 700;
}

.sf-smarter-safety__description {
    margin: 0;

    color: rgba(246, 247, 255, 0.75);

    font-size: 20px;
    line-height: 1.5;
}

.sf-smarter-safety__description strong {
    color: rgba(246, 247, 255, 0.84);
    font-weight: 700;
}

.sf-smarter-safety__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    margin-top: 64px;
}

.sf-smarter-safety__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 62px;
    padding: 16px 27px;

    border-radius: 12px;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;

    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.sf-smarter-safety__button:hover {
    transform: translateY(-2px);
}

.sf-smarter-safety__button--primary {
    min-width: 242px;

    color: #ffffff;
    background: #1738e8;
}

.sf-smarter-safety__button--primary:hover {
    background: #2446f3;
}

.sf-smarter-safety__button--secondary {
    min-width: 226px;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.01);
    border: 1.5px solid rgba(255, 255, 255, 0.75);
}

.sf-smarter-safety__button--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
}

.sf-page .sf-smarter-safety__button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.45);
    outline-offset: 4px;
}

.sf-smarter-safety__orbit {
    position: absolute;
    z-index: 0;

    width: 700px;
    height: 700px;

    background: repeating-radial-gradient(
            circle at center,
            transparent 0 47px,
            rgba(92, 116, 244, 0.25) 48px 49px
        );
    border-radius: 50%;

    pointer-events: none;
}

.sf-smarter-safety__orbit--top {
    top: -370px;
    right: -375px;
}

.sf-smarter-safety__orbit--bottom {
    bottom: -350px;
    left: -406px;
}

.sf-smarter-safety__dot {
    position: absolute;
    z-index: 1;

    width: 8px;
    height: 8px;

    background: #6f8af4;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 14px rgba(111, 138, 244, 0.45);
}

.sf-smarter-safety__dot--top {
    top: 81px;
    right: 139px;
}

.sf-smarter-safety__dot--bottom-one {
    bottom: 156px;
    left: 17px;
}

.sf-smarter-safety__dot--bottom-two {
    bottom: 111px;
    left: 182px;
}

.sf-smarter-safety__dot--bottom-three {
    bottom: 9px;
    left: 299px;
}

@media (max-width: 1200px) {
    .sf-smarter-safety__panel {
        min-height: 620px;
    }
    .sf-smarter-safety__title {
        font-size: 52px;
    }
}

@media (max-width: 900px) {
    .sf-smarter-safety {
        padding-block: 40px;
    }
    .sf-smarter-safety__panel {
        min-height: 600px;
        padding-inline: 32px;
    }
    .sf-smarter-safety__title {
        font-size: 46px;
    }
    .sf-smarter-safety__description {
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    .sf-smarter-safety {
        padding: 14px;
    }
    .sf-smarter-safety__panel {
        min-height: 620px;
        padding: 56px 22px;

        border-radius: 22px;
    }
    .sf-smarter-safety__title {
        margin-bottom: 18px;
        font-size: 40px;
        line-height: 1.12;
    }
    .sf-smarter-safety__description {
        font-size: 16px;
    }
    .sf-smarter-safety__actions {
        align-items: stretch;
        flex-direction: column;

        margin-top: 42px;
    }
    .sf-smarter-safety__button,
    .sf-smarter-safety__button--primary,
    .sf-smarter-safety__button--secondary {
        width: 100%;
        min-width: 0;
    }
    .sf-smarter-safety__orbit--top {
        top: -405px;
        right: -470px;
    }
    .sf-smarter-safety__orbit--bottom {
        bottom: -420px;
        left: -485px;
    }
    .sf-smarter-safety__dot--top {
        right: 42px;
    }
    .sf-smarter-safety__dot--bottom-one {
        left: 10px;
    }
    .sf-smarter-safety__dot--bottom-two {
        left: 105px;
    }
    .sf-smarter-safety__dot--bottom-three {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sf-smarter-safety__button {
        transition: none;
    }
    .sf-smarter-safety__button:hover {
        transform: none;
    }
}

.sf-smarter-safety {
    padding: 60px 16px;

    background: #ffffff;
}

.sf-smarter-safety__panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 697px;
    min-height: 697px;
    margin-inline: auto;
    padding: 120px 0;

    color: #ffffff;
    background-image:
        linear-gradient(
            163.467deg,
            rgba(26, 37, 66, 0.85) 0%,
            rgba(14, 28, 57, 0.95) 100%
        ),
        url("data:image/svg+xml;utf8,<svg viewBox='0 0 1408 697' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><rect x='0' y='0' height='100%25' width='100%25' fill='url(%23grad)' opacity='1'/><defs><radialGradient id='grad' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='10' gradientTransform='matrix(116.4 0 0 104.81 422.4 139.4)'><stop stop-color='rgba(31,42,77,1)' offset='0'/><stop stop-color='rgba(14,24,48,1)' offset='0.7'/><stop stop-color='rgba(8,16,42,1)' offset='1'/></radialGradient></defs></svg>"),
        linear-gradient(90deg, #122ad5 0%, #122ad5 100%);
    background-size: cover;
    border-radius: 28px;
}

.sf-smarter-safety__content {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 64px;

    width: min(100%, 1067px);

    text-align: center;
}

.sf-smarter-safety__copy {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 15px;

    width: 100%;
}

.sf-smarter-safety__title {
    width: min(100%, 704px);
    margin: 0;

    color: #ffffff;

    font-size: 56px;
    font-weight: 500;
    letter-spacing: -0.72px;
    line-height: 1.2;
}

.sf-smarter-safety__title strong {
    font-weight: 700;
}

.sf-smarter-safety__description {
    width: min(100%, 724px);
    margin: 0;

    color: rgba(255, 255, 255, 0.8);
    opacity: 0.9;

    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
}

.sf-smarter-safety__description strong {
    color: inherit;

    font-weight: 700;
}

.sf-smarter-safety__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    margin: 0;
}

.sf-smarter-safety__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    height: 62px;
    min-height: 62px;
    padding: 19px 28px;

    border-radius: 12px;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}

.sf-smarter-safety__button--primary {
    width: 242px;
    min-width: 242px;

    color: #ffffff;
    background: #112ad4;
}

.sf-smarter-safety__button--secondary {
    width: 226px;
    min-width: 226px;

    color: #ffffff;
    background: transparent;
    border: 1.42px solid #ffffff;
}

.sf-smarter-safety__arrow {
    flex: 0 0 24px;

    width: 24px;
    height: 24px;

    transform: rotate(180deg);
}

.sf-smarter-safety__glow {
    position: absolute;
    z-index: 0;

    display: block;

    max-width: none;

    pointer-events: none;
}

.sf-smarter-safety__glow--top {
    top: 0;
    right: 0;

    width: 522px;
    height: 604px;
}

.sf-smarter-safety__glow--bottom {
    top: 0;
    left: 0;

    width: 555px;
    height: 697px;
}

.sf-smarter-safety__lines {
    position: absolute;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 880.11px;
    height: 880.11px;

    pointer-events: none;
}

.sf-smarter-safety__lines img {
    flex: 0 0 auto;

    width: 364.663px;
    height: 880px;
    max-width: none;
}

.sf-smarter-safety__lines--top {
    top: -421.98px;
    right: -359.11px;
}

.sf-smarter-safety__lines--top img {
    transform: rotate(135deg);
}

.sf-smarter-safety__lines--bottom {
    top: 208.02px;
    left: -316px;
}

.sf-smarter-safety__lines--bottom img {
    transform: rotate(-45deg);
}

@media (max-width: 899px) {
    .sf-smarter-safety {
        padding-block: 52px;
    }
    .sf-smarter-safety__panel {
        height: 620px;
        min-height: 620px;
        padding: 96px 32px;
    }
    .sf-smarter-safety__content {
        gap: 52px;
    }
    .sf-smarter-safety__title {
        font-size: 48px;
    }
    .sf-smarter-safety__description {
        font-size: 18px;
    }
}

@media (max-width: 639px) {
    .sf-smarter-safety {
        padding: 48px 14px;
    }
    .sf-smarter-safety__panel {
        height: 600px;
        min-height: 600px;
        padding: 64px 24px;

        border-radius: 24px;
    }
    .sf-smarter-safety__content {
        gap: 40px;
    }
    .sf-smarter-safety__copy {
        gap: 16px;
    }
    .sf-smarter-safety__title {
        font-size: 40px;
        line-height: 1.16;
    }
    .sf-smarter-safety__description {
        font-size: 16px;
        line-height: 1.4;
    }
    .sf-smarter-safety__actions {
        flex-direction: column;
        gap: 12px;

        width: 100%;
    }
    .sf-smarter-safety__button,
    .sf-smarter-safety__button--primary,
    .sf-smarter-safety__button--secondary {
        width: min(100%, 242px);
        min-width: 0;
    }
    .sf-smarter-safety__glow--top {
        right: -110px;
    }
    .sf-smarter-safety__glow--bottom {
        left: -150px;
    }
    .sf-smarter-safety__lines--top {
        right: -510px;
    }
    .sf-smarter-safety__lines--bottom {
        left: -470px;
    }
}
