:root {
    --fy-ink-950: #071018;
    --fy-ink-900: #0b151e;
    --fy-ink-800: #142330;
    --fy-line: rgba(201, 220, 235, .22);
    --fy-blue: #0787f8;
    --fy-blue-light: #32a4ff;
    --fy-paper: #f4f7f9;
    --fy-muted: #aebcc7;
}

.fityourself-native {
    min-width: 320px;
    margin: 0;
    background: var(--fy-ink-900);
    color: var(--fy-paper);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.fy-native-header {
    position: sticky;
    z-index: 100;
    top: 0;
    color: var(--fy-paper);
    background: rgba(8, 17, 25, .98);
    border-bottom: 1px solid var(--fy-line);
    box-shadow: 0 8px 26px rgba(0, 0, 0, .24);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fy-native-header * {
    box-sizing: border-box;
}

.fy-native-header a {
    color: inherit;
    text-decoration: none;
}

.fy-native-header__inner {
    display: grid;
    width: min(calc(100% - 48px), 2000px);
    min-height: 76px;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(24px, 3vw, 58px);
    margin: auto;
}

.fy-native-header__brand img {
    display: block;
    width: clamp(210px, 15vw, 255px);
    height: auto;
}

.fy-native-header__nav {
    display: flex;
    align-self: stretch;
    align-items: stretch;
    justify-content: center;
    gap: clamp(8px, 1.2vw, 22px);
}

.fy-native-header__nav > a,
.fy-native-header__dropdown > summary {
    position: relative;
    display: flex;
    min-height: 76px;
    align-items: center;
    padding: 0 7px;
    color: #d6dfe6;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 550;
}

.fy-native-header__dropdown > summary::-webkit-details-marker {
    display: none;
}

.fy-native-header__dropdown > summary::after {
    margin-left: 7px;
    content: "⌄";
    color: #91a1ad;
}

.fy-native-header__nav > a:hover,
.fy-native-header__dropdown > summary:hover {
    color: #fff;
}

.fy-native-header__mega {
    position: fixed;
    top: 76px;
    left: 50%;
    display: grid;
    width: min(calc(100% - 48px), 1950px);
    max-height: calc(100vh - 96px);
    overflow: auto;
    color: var(--fy-paper);
    background: rgba(10, 21, 30, .995);
    border: 1px solid rgba(201, 220, 235, .4);
    border-top: 2px solid var(--fy-blue);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .34);
    transform: translateX(-50%);
}

.fy-native-header__vehicles {
    grid-template-columns: 300px 1fr;
}

.fy-native-header__mega-intro {
    padding: 30px;
    background: linear-gradient(145deg, rgba(7, 135, 248, .13), transparent 68%);
    border-right: 1px solid var(--fy-line);
}

.fy-native-header__mega-intro strong {
    display: block;
    margin-bottom: 12px;
    font-size: 23px;
}

.fy-native-header__mega-intro p {
    margin: 0 0 20px;
    color: var(--fy-muted);
    font-size: 14px;
}

.fy-native-header__mega-intro a {
    color: #64baff;
    font-weight: 700;
}

.fy-native-header__vehicle-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px 22px;
    padding: 28px;
}

.fy-native-header__vehicle-grid section > strong {
    display: block;
    margin-bottom: 7px;
    color: #fff;
    font-size: 13px;
}

.fy-native-header__vehicle-grid a {
    display: block;
    padding: 3px 0;
    color: var(--fy-muted);
    font-size: 13px;
}

.fy-native-header__categories {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    background: var(--fy-line);
}

.fy-native-header__categories > a {
    display: grid;
    min-height: 92px;
    align-content: center;
    gap: 5px;
    padding: 16px;
    background: var(--fy-ink-900);
}

.fy-native-header__categories strong {
    color: #fff;
    font-size: 14px;
}

.fy-native-header__categories span {
    color: var(--fy-muted);
    font-size: 12px;
}

.fy-native-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fy-native-header__account {
    padding: 10px;
    color: #d6dfe6;
    font-size: 13px;
}

.fy-native-header__cta {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 10px 18px;
    color: #fff;
    background: linear-gradient(180deg, #1596ff, #0477e3);
    border: 1px solid #199bff;
    border-radius: 8px;
    box-shadow: 0 9px 24px rgba(0, 123, 238, .22);
    font-weight: 650;
    white-space: nowrap;
}

.fy-native-header__mobile {
    display: none;
}

.fy-native-header__preview {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 7px 24px;
    color: #d9efff;
    background: #092a43;
    border-top: 1px solid rgba(91, 184, 250, .25);
    text-align: center;
    font-size: 13px;
}

.fy-native-header__preview strong {
    color: #79c8ff;
    font-size: 11px;
    letter-spacing: .12em;
}

.fityourself-native #main.bg-white {
    min-height: 360px;
    background: var(--fy-ink-900) !important;
    color: var(--fy-paper);
}

.fityourself-native #main.bg-white [class*="bg-white"] {
    background-color: var(--fy-ink-800) !important;
}

.fityourself-native #main.bg-white :is(h1, h2, h3, h4, strong) {
    color: var(--fy-paper);
}

.fityourself-native #main.bg-white :is(p, li) {
    color: #c4d0d8;
}

.fityourself-native #main.bg-white a {
    color: var(--fy-blue-light);
}

.fy-native-footer {
    position: relative;
    min-height: 535px;
    overflow: hidden;
    color: var(--fy-paper);
    background-color: #08131b;
    background-image: url('../img/footer-road.webp');
    background-position: center bottom;
    background-size: cover;
    border-top: 1px solid var(--fy-line);
}

.fy-native-footer__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 13, 19, .97), rgba(5, 13, 19, .78) 55%, rgba(5, 13, 19, .88)), linear-gradient(0deg, rgba(5, 13, 19, .95), rgba(5, 13, 19, .32));
}

.fy-native-footer__inner {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 48px), 2000px);
    margin: auto;
    padding-top: 58px;
}

.fy-native-footer__brand-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--fy-line);
}

.fy-native-footer__brand-row img {
    display: block;
    width: clamp(250px, 19vw, 320px);
    height: auto;
}

.fy-native-footer__brand-row p {
    margin: 0;
    color: #c4d0d8;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.fy-native-footer__columns {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 30px;
    padding: 38px 0;
}

.fy-native-footer__columns section {
    display: grid;
    align-content: start;
    gap: 9px;
}

.fy-native-footer__columns h2 {
    margin: 0 0 5px;
    color: #7cc5fb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.fy-native-footer__columns a {
    color: #c4cfd7;
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
}

.fy-native-footer__columns a:hover,
.fy-native-footer__columns a:focus-visible {
    color: #fff;
}

.fy-native-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0 30px;
    color: #9eacb6;
    border-top: 1px solid var(--fy-line);
    font-size: 12px;
}

.fy-native-footer__locales {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.fy-native-footer__locales a {
    padding: 7px 10px;
    color: #c4cfd7;
    border: 1px solid var(--fy-line);
    border-radius: 6px;
    text-decoration: none;
}

.fy-native-footer__locales a:hover,
.fy-native-footer__locales a[aria-current="page"] {
    color: #fff;
    background: rgba(7, 135, 248, .18);
    border-color: rgba(81, 174, 246, .58);
}

.fityourself-native :focus-visible {
    outline: 2px solid #6ac0ff;
    outline-offset: 3px;
}

@media (max-width: 1080px) {
    .fy-native-header__inner {
        grid-template-columns: auto 1fr auto;
    }

    .fy-native-header__nav,
    .fy-native-header__actions {
        display: none;
    }

    .fy-native-header__mobile {
        position: relative;
        display: block;
        justify-self: end;
    }

    .fy-native-header__mobile > summary {
        padding: 10px 13px;
        color: #fff;
        border: 1px solid var(--fy-line);
        border-radius: 7px;
        cursor: pointer;
        list-style: none;
    }

    .fy-native-header__mobile > summary::-webkit-details-marker {
        display: none;
    }

    .fy-native-header__mobile nav {
        position: fixed;
        top: 76px;
        right: 0;
        left: 0;
        display: grid;
        padding: 14px 24px 24px;
        background: #0a151e;
        border-bottom: 1px solid var(--fy-line);
        box-shadow: 0 18px 45px rgba(0, 0, 0, .32);
    }

    .fy-native-header__mobile nav a {
        padding: 12px 3px;
        color: #d6dfe6;
        border-bottom: 1px solid var(--fy-line);
    }

    .fy-native-footer__columns {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .fy-native-header__inner {
        width: min(calc(100% - 30px), 2000px);
        min-height: 68px;
    }

    .fy-native-header__brand img {
        width: 205px;
    }

    .fy-native-header__mobile nav {
        top: 68px;
    }

    .fy-native-header__preview {
        min-height: 54px;
        align-items: flex-start;
        flex-direction: column;
        gap: 1px;
        text-align: left;
    }

    .fy-native-footer__inner {
        width: min(calc(100% - 30px), 2000px);
    }

    .fy-native-footer__brand-row,
    .fy-native-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .fy-native-footer__brand-row img {
        width: 260px;
    }

    .fy-native-footer__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
    }

    .fy-native-footer__locales {
        justify-content: flex-start;
    }
}

@media (max-width: 420px) {
    .fy-native-footer__columns {
        grid-template-columns: 1fr;
    }
}
