:root {
    --site-nav-breakpoint: 1024px;
    --site-footer-breakpoint: 900px;
    --site-font-sans: "Space Grotesk", sans-serif;
}

body {
    font-family: var(--site-font-sans) !important;
}

body * {
    font-family: inherit !important;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(13, 26, 43, 0.08);
    box-shadow: 0 10px 30px rgba(13, 26, 43, 0.06);
    backdrop-filter: blur(14px);
}

.site-header .nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(18px, 3vw, 42px);
    min-height: 80px;
}

.site-header .brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}

.site-header .brand-lockup {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.site-header .brand-logo-image {
    height: clamp(50px, 5vw, 60px);
}

.site-header .brand-logo-svg {
    display: block;
    width: auto;
    height: clamp(50px, 5vw, 60px);
    overflow: visible;
}

.site-header .brand-logo-fallback {
    display: none;
    line-height: 0;
}

.site-header .nav-links {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.2vw, 34px);
    min-width: 0;
}

.site-header .nav-links > a,
.site-header .nav-dropdown {
    min-height: 80px;
}

.site-header .nav-links a,
.site-header .nav-trigger {
    white-space: nowrap;
}

.site-header .nav-auth {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: flex-end;
    margin-left: auto;
    min-width: 0;
}

.site-header .nav-contact {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: min(100%, 320px);
    min-width: 0;
    padding: 10px 14px;
    border-radius: 20px;
    border: 1px solid rgba(10, 115, 211, 0.14);
    background: transparent;
    box-shadow: none;
}

.site-header .nav-contact-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    min-width: 0;
}

.site-header .nav-contact-badge {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: transparent;
    color: #0d1a2b;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-header .nav-contact-network {
    color: #0977c9;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-header .nav-contact-number-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    min-width: 0;
    color: #0d1a2b;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

.site-header .nav-contact-number {
    white-space: nowrap;
}

.site-header .nav-contact-divider {
    color: rgba(9, 119, 201, 0.54);
    font-size: 0.82rem;
    font-weight: 800;
    flex-shrink: 0;
}

@media (max-width: 1320px) and (min-width: 1025px) {
    .site-header .nav {
        gap: clamp(14px, 1.8vw, 24px);
    }

    .site-header .nav-links {
        gap: clamp(14px, 1.5vw, 24px);
    }

    .site-header .nav-links a,
    .site-header .nav-trigger {
        font-size: 0.96rem;
    }

    .site-header .nav-contact {
        width: min(100%, 280px);
        padding: 9px 12px;
    }

    .site-header .nav-contact-badge {
        min-height: 32px;
        padding: 0 11px;
        font-size: 0.64rem;
    }

    .site-header .nav-contact-number-list {
        font-size: 0.72rem;
    }

    .site-header .nav-auth-link {
        padding: 0 16px;
        font-size: 0.86rem;
    }
}

.site-header .nav-auth-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(13, 26, 43, 0.12);
    background: rgba(255, 255, 255, 0.8);
    color: #0d1a2b;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.site-header .nav-auth-link:hover {
    transform: translateY(-1px);
    color: #0a73d3;
    border-color: rgba(10, 115, 211, 0.22);
}

.site-header .nav-auth-link.signup {
    color: #ffffff;
    background: linear-gradient(135deg, #0977c9, #07b8ff);
    border-color: transparent;
    box-shadow: 0 14px 26px rgba(7, 119, 201, 0.18);
}

.site-header .nav-auth-link.signup:hover {
    color: #ffffff;
    box-shadow: 0 18px 30px rgba(7, 119, 201, 0.24);
}

.site-header .dropdown-menu {
    top: calc(100% - 1px);
}

.site-header .nav-links a,
.site-header .nav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0d1a2b;
    font-size: 1.02rem;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.site-header .nav-links a.active,
.site-header .nav-links a:hover,
.site-header .nav-trigger:hover,
.site-header .nav-dropdown:hover .nav-trigger,
.site-header .nav-dropdown:focus-within .nav-trigger {
    color: #0a73d3;
}

.site-header .nav-caret {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    opacity: 0.65;
}

.site-header .nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.site-header .nav-trigger {
    appearance: none;
    line-height: 1;
    min-height: 80px;
    padding: 0 2px;
}

.site-header .nav-dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.site-header .dropdown-menu {
    position: absolute;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 356px;
    padding: 10px 14px 12px;
    background: rgba(255, 255, 255, 0.99);
    border: 1px solid rgba(13, 26, 43, 0.12);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 18px 36px rgba(13, 26, 43, 0.14);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    pointer-events: none;
    z-index: 60;
}

.site-header .nav-dropdown:hover .dropdown-menu,
.site-header .nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.site-header .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 58px;
    padding: 0 18px;
    color: #3d4652;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    border-top: 1px solid rgba(13, 26, 43, 0.08);
    border-radius: 12px;
    transition: background 0.18s ease, color 0.18s ease;
    white-space: normal;
}

.site-header .dropdown-item:first-child {
    border-top: 0;
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus-visible {
    background: rgba(7, 184, 255, 0.06);
    color: #0a73d3;
}

.site-header .dropdown-arrow {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-top: 1.5px solid currentColor;
    transform: rotate(45deg);
    flex-shrink: 0;
}

.site-header .dropdown-label {
    min-width: 0;
    flex: 1;
    padding-right: 8px;
}

.footer {
    position: relative;
    padding: 60px 0 30px;
    color: rgba(228, 240, 250, 0.72);
    background:
        radial-gradient(circle at top right, rgba(7, 184, 255, 0.18), transparent 24%),
        radial-gradient(circle at bottom left, rgba(0, 199, 137, 0.12), transparent 28%),
        linear-gradient(180deg, #07131f 0%, #0a1826 100%);
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: 0.2;
    pointer-events: none;
}

.footer-wrap {
    position: relative;
    z-index: 1;
    width: min(var(--max-width), calc(100% - 24px));
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.9fr;
    align-items: start;
    gap: 24px;
    padding-bottom: 28px;
}

.footer-brand,
.footer-column {
    min-width: 0;
}

.footer-brand {
    max-width: 34ch;
}

.footer-logo {
    width: auto;
    height: 54px;
    margin-bottom: 14px;
    object-fit: contain;
}

.footer-brand p {
    margin: 0 0 18px;
    line-height: 1.8;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-badges span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(245, 251, 255, 0.92);
    font-size: 0.82rem;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(245, 251, 255, 0.92);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    transform: translateY(-2px);
    background: rgba(7, 184, 255, 0.16);
    border-color: rgba(7, 184, 255, 0.38);
    color: #ffffff;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
}

.footer-social-link:focus-visible {
    outline: none;
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-column h3 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.footer-list {
    display: grid;
    gap: 12px;
}

.footer-list a,
.footer-list span {
    color: rgba(228, 240, 250, 0.72);
    line-height: 1.6;
    word-break: break-word;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-list a:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-meta {
    color: rgba(228, 240, 250, 0.58);
    width: 100%;
}

@media (max-width: 1024px) {
    .site-header .nav {
        flex-wrap: wrap;
        gap: 14px;
        min-height: 76px;
        padding: 12px 0;
    }

    .site-header .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .site-header .nav-links,
    .site-header .nav-auth {
        display: none;
        width: 100%;
        order: 10;
        padding: 16px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(13, 26, 43, 0.08);
        box-shadow: 0 18px 36px rgba(13, 26, 43, 0.08);
    }

    .site-header.is-nav-open .nav-links,
    .site-header.is-nav-open .nav-auth {
        display: flex;
    }

    .site-header .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .site-header .nav-links > a,
    .site-header .nav-dropdown {
        min-height: auto;
        width: 100%;
    }

    .site-header .nav-links > a,
    .site-header .nav-trigger {
        width: 100%;
        justify-content: space-between;
        padding: 14px 16px;
        border-radius: 16px;
        background: rgba(13, 26, 43, 0.04);
        white-space: normal;
        text-align: left;
    }

    .site-header .nav-dropdown {
        display: block;
    }

    .site-header .dropdown-menu {
        position: static;
        min-width: 0;
        margin-top: 10px;
        padding: 8px;
        border-radius: 18px;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }

    .site-header .nav-dropdown:hover .dropdown-menu,
    .site-header .nav-dropdown:focus-within .dropdown-menu {
        display: none;
    }

    .site-header .nav-dropdown.is-open .dropdown-menu {
        display: flex;
    }

    .site-header .dropdown-item {
        min-height: 52px;
    }

    .site-header .nav-auth {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-top: 0;
        border-top: 0;
        box-shadow: none;
        background: transparent;
    }

    .site-header .nav-contact {
        width: 100%;
        max-width: none;
        justify-content: flex-start;
        border-radius: 18px;
        padding: 14px 16px;
    }

    .site-header .nav-auth-link {
        width: 100%;
        min-height: 48px;
    }
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .site-header .nav {
        min-height: 72px;
    }

    .site-header .nav-toggle {
        width: 46px;
        height: 46px;
    }

    .site-header .nav-links,
    .site-header .nav-auth {
        padding: 14px;
        border-radius: 20px;
    }

    .site-header .nav-contact {
        align-items: stretch;
    }

    .site-header .nav-contact-top,
    .site-header .nav-contact-number-list {
        width: 100%;
    }

    .site-header .nav-contact-number-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .site-header .nav-contact-divider {
        display: none;
    }

    .site-header .nav-contact-number {
        white-space: normal;
    }

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