@font-face {
    font-family: "Nunito";
    src: url("../font/Nunito-Regular.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Nunito";
    src: url("../font/Nunito-Bold.ttf") format("truetype");
    font-weight: 700;
}

:root {
    --navy: #00133d;
    --navy-deep: #000c28;
    --navy-dark: #00071a;
    --blue: #0875ed;
    --red: #e30922;
    --white: #f8faff;
    --muted: #b6c0d3;
    --line: rgba(97, 141, 205, 0.48);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--white);
    background:
        radial-gradient(circle at 18% 20%, rgba(11, 76, 178, 0.28), transparent 30rem),
        radial-gradient(circle at 82% 72%, rgba(0, 63, 163, 0.2), transparent 26rem),
        var(--navy-deep);
    font-family: "Nunito", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    cursor: default;
}

body * {
    cursor: default;
}

a {
    color: inherit;
    cursor: url("../public_assets/autofidex-cursor-checkered.svg") 3 2, pointer;
}

.shell {
    width: min(1120px, calc(100% - 48px));
    margin-inline: auto;
}

.hero {
    position: relative;
    min-height: 670px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 86% 36%, rgba(12, 82, 182, 0.27), transparent 26rem),
        linear-gradient(90deg, rgba(0, 15, 54, 0.98) 0%, rgba(0, 18, 59, 0.92) 48%, rgba(0, 12, 43, 0.54) 100%);
}

.hero::after {
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 150px;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(0, 9, 34, 0.9));
}

.hero-car {
    position: absolute;
    top: 114px;
    right: -70px;
    z-index: -2;
    width: min(69vw, 900px);
    height: 520px;
    opacity: 0.72;
    background:
        linear-gradient(90deg, var(--navy) 0%, rgba(0, 16, 55, 0.58) 18%, rgba(0, 10, 35, 0.08) 48%, rgba(0, 7, 24, 0.62) 100%),
        url("../public_assets/banner-v3-1.jpg") center / cover no-repeat;
    filter: saturate(0.9) contrast(1.12);
    -webkit-mask-image: radial-gradient(ellipse 67% 62% at 55% 48%, #000 26%, rgba(0, 0, 0, 0.72) 53%, rgba(0, 0, 0, 0.22) 72%, transparent 100%);
    mask-image: radial-gradient(ellipse 67% 62% at 55% 48%, #000 26%, rgba(0, 0, 0, 0.72) 53%, rgba(0, 0, 0, 0.22) 72%, transparent 100%);
    mix-blend-mode: screen;
}

.hero-shell {
    padding: 70px 0 64px;
}

.brand {
    width: min(690px, 73%);
    margin-inline: auto;
    text-align: center;
}

.brand img,
.footer-logo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    filter:
        drop-shadow(0 0 1px rgba(255, 255, 255, 0.82))
        drop-shadow(0 0 12px rgba(40, 121, 255, 0.28));
}

.brand p {
    margin: 2px 0 0;
    color: #f7f8ff;
    font-size: 22px;
    letter-spacing: 1px;
    transform: translateY(-14px);
}

.brand span {
    padding-inline: 9px;
    color: var(--red);
}

.hero-copy {
    width: min(720px, 70%);
    margin: 38px auto 0;
    text-align: center;
}

.eyebrow {
    margin: 0 0 10px;
    color: #6da7ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    transform: translateY(-8px);
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 16px;
    font-size: clamp(44px, 5vw, 68px);
    line-height: 0.98;
    letter-spacing: -2.7px;
}

h1 strong {
    color: var(--red);
}

.intro {
    max-width: 700px;
    margin: 0 auto;
    color: #e3e8f3;
    font-size: 19px;
    line-height: 1.45;
}

.button {
    display: inline-flex;
    min-width: 265px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 29px;
    padding: 17px 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: #fff;
    background: linear-gradient(135deg, #d90018, #f02430);
    box-shadow: 0 14px 36px rgba(217, 0, 24, 0.24);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 180ms ease, box-shadow 180ms ease;
    cursor: url("../public_assets/autofidex-cursor-checkered.svg") 3 2, pointer;
}

.button:hover,
.button:focus-visible {
    box-shadow: 0 18px 44px rgba(217, 0, 24, 0.38);
    transform: translateY(-3px);
}

.button svg {
    width: 28px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.content-section,
footer {
    border-top: 1px solid var(--line);
}

.content-section {
    background: rgba(0, 17, 57, 0.42);
}

.launch-grid {
    display: grid;
    grid-template-columns: 245px 1fr;
    gap: 58px;
    align-items: center;
    padding-block: 36px 27px;
}

.line-icon {
    color: rgba(22, 113, 239, 0.67);
}

.line-icon svg {
    display: block;
    width: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.handshake {
    max-width: 205px;
    margin-inline: auto;
}

.handshake img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    opacity: 0.72;
}

h2 {
    margin-bottom: 5px;
    color: #fff;
    font-size: 27px;
    letter-spacing: 2.7px;
    line-height: 1.1;
    text-transform: uppercase;
}

.accent-line,
.tricolor-line {
    display: block;
    height: 4px;
    margin: 8px 0 13px;
}

.accent-line {
    width: 52px;
    background: var(--red);
}

.section-copy p {
    max-width: 760px;
    margin-bottom: 10px;
    color: #e3e8f3;
    font-size: 18px;
    line-height: 1.45;
}

.specialists {
    padding: 34px 0 24px;
    text-align: center;
}

.tricolor-line {
    width: 155px;
    margin: 8px auto 14px;
    background: linear-gradient(90deg, #00a642 0 33.33%, #fff 33.33% 66.66%, #e30922 66.66%);
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
}

.brand-grid span {
    padding: 13px 12px;
    border: 1px solid rgba(159, 185, 225, 0.62);
    color: #f5f7ff;
    background: rgba(2, 19, 60, 0.42);
    font-size: 20px;
    transition: border-color 180ms ease, background 180ms ease;
}

.brand-grid span:hover {
    border-color: rgba(23, 119, 245, 0.94);
    background: rgba(13, 57, 128, 0.56);
}

.contact-grid {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 28px;
    align-items: center;
    padding-block: 25px 23px;
}

.mail-icon {
    width: 94px;
    margin-left: auto;
}

.mail-icon svg {
    stroke-width: 2;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
    margin-top: 11px;
}

.contact-details a,
.contact-details p {
    margin: 0;
    color: #f5f7ff;
    font-size: 19px;
    text-decoration: none;
}

.contact-details a:hover,
.contact-details a:focus-visible {
    color: #69a9ff;
}

.contact-details p {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.contact-details p svg {
    width: 24px;
    fill: rgba(20, 118, 243, 0.22);
    stroke: #1476f3;
    stroke-width: 1.8;
}

.usa-flag {
    width: 22px;
    height: auto;
    border-radius: 2px;
    object-fit: contain;
    vertical-align: middle;
}

.separator {
    width: 1px;
    height: 27px;
    background: var(--line);
}

footer {
    padding: 17px 0 14px;
    background: rgba(0, 8, 28, 0.65);
}

.footer-grid {
    display: grid;
    grid-template-columns: 295px 1fr 210px;
    gap: 25px;
    align-items: center;
}

.footer-company {
    padding: 0 29px;
    border-inline: 1px solid var(--line);
    color: #e0e5ef;
    font-size: 16px;
}

.footer-company p {
    margin-bottom: 2px;
}

.footer-company span {
    color: #f5f7ff;
}

.footer-company b {
    padding-inline: 4px;
    color: var(--red);
}

.footer-location {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0;
    color: #f5f7ff;
    font-size: 16px;
}

.copyright {
    margin: 16px 0 0;
    color: rgba(179, 192, 216, 0.58);
    font-size: 13px;
    text-align: center;
}

@media (max-width: 900px) {
    .hero {
        min-height: 650px;
    }

    .hero-car {
        top: 185px;
        right: -150px;
        width: 820px;
        opacity: 0.52;
    }

    .brand {
        width: min(680px, 90%);
        margin-inline: auto;
    }

    .hero-copy {
        width: min(700px, 92%);
        margin-inline: auto;
    }

    .launch-grid {
        grid-template-columns: 160px 1fr;
        gap: 34px;
    }

    .footer-grid {
        grid-template-columns: 230px 1fr;
    }

    .footer-location {
        display: none;
    }
}

@media (max-width: 640px) {
    .shell {
        width: min(100% - 30px, 570px);
    }

    .hero {
        min-height: 640px;
    }

    .hero-shell {
        padding-top: 42px;
    }

    .hero-car {
        top: 255px;
        right: -230px;
        width: 760px;
        opacity: 0.44;
    }

    .brand {
        width: 100%;
    }

    .brand p {
        font-size: 15px;
        transform: translateY(-2px);
    }

    h1 {
        font-size: clamp(39px, 12vw, 54px);
        letter-spacing: -1.5px;
    }

    .hero-copy {
        width: 100%;
        margin-top: 44px;
    }

    .intro {
        font-size: 16px;
    }

    .eyebrow {
        font-size: 11px;
        letter-spacing: 2.1px;
        transform: translateY(0);
    }

    .button {
        min-width: 230px;
        padding: 14px 22px;
        font-size: 16px;
    }

    .launch-grid {
        display: block;
        padding-block: 30px 23px;
    }

    .handshake {
        display: none;
    }

    h2 {
        font-size: 23px;
        letter-spacing: 2px;
    }

    .section-copy p {
        font-size: 16px;
    }

    .specialists {
        padding-top: 28px;
    }

    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 7px;
    }

    .brand-grid span {
        padding: 10px 7px;
        font-size: 15px;
    }

    .contact-grid {
        display: block;
        padding-block: 25px 22px;
    }

    .mail-icon {
        display: none;
    }

    .contact-details {
        display: block;
    }

    .contact-details a,
    .contact-details p {
        font-size: 17px;
    }

    .contact-details p {
        margin-top: 13px;
    }

    .separator {
        display: none;
    }

    .footer-grid {
        display: block;
    }

    .footer-logo {
        width: min(300px, 88%);
        margin-inline: auto;
    }

    .footer-company {
        margin-top: 12px;
        padding: 11px 0 0;
        border-top: 1px solid var(--line);
        border-inline: 0;
        font-size: 14px;
        text-align: center;
    }

    .copyright {
        margin-top: 14px;
        font-size: 11px;
    }
}
