:root {
    --primary: #0052ff;
    --dark: #050505;
    --border: #e5e7eb;
    --text-gray: #667085;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        "Coinbase Display",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background: #fff;
    color: var(--dark);
    overflow-x: hidden;
    padding-top: 220px;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: auto;
    padding-left: 62px;
    padding-right: 48px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 9999;
}

.top-banner {
    height: 33px;
    background: linear-gradient(90deg, #020617 0%, #0052ff 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: underline;
    font-size: 13px;
    font-weight: 500;
}

.navbar {
    height: 66px;
    background: #fff;
    border-bottom: 1px solid #d8dee8;
}

.navbar-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    font-size: 16px;
    font-weight: 800;
    padding: 8px 10px;
    border-radius: 34px;
    color: #050505;
}

.nav-links :hover {
    background: #f5f5f5;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.circle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f1f3f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    color: #000;
}

.circle-btn svg {
    width: 26px;
    height: 26px;
}

.signin-btn {
    height: 44px;
    min-width: 102px;
    border-radius: 34px;
    background: #f1f3f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    padding: 0 24px;
}

.primary-btn {
    height: 44px;
    min-width: 102px;
    border-radius: 34px;
    background: #0052ff;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    padding: 0 24px;
}

.risk-bar {
    height: 70px;
    background: #f4f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 320px;
    font-size: 13px;
    line-height: 1.45;
    border-bottom: 1px solid #eef1f5;
}

.nav-dropdown {
    position: relative;
    height: 36px;
    display: flex;
    border-radius: 28px;
    align-items: center;
}

.nav-dropdown::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 100%;
    width: calc(100% + 40px);
    height: 24px;
}

.nav-dropdown-trigger {
    font-size: 16px;
    font-weight: 800;
    padding: 8px 18px;
    border-radius: 34px;
    color: #050505;
    display: inline-flex;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active {
    background: #f5f5f5;
    border-radius: 54px;
}

.mega-dropdown {
    position: fixed;
    top: 99px;
    left: 0;
    width: 100%;
    height: 280px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #d9dee7;
    z-index: 9998;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: all 0.18s ease;

    overflow-y: auto;
    overflow-x: hidden;
}

.nav-dropdown:hover .mega-dropdown,
.mega-dropdown:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* dropdown scrollbar */
.mega-dropdown::-webkit-scrollbar {
    width: 12px;
}

.mega-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.mega-dropdown::-webkit-scrollbar-thumb {
    background: #8b8b8b;
    border-radius: 20px;
    border: 3px solid #ffffff;
}

.mega-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 44px 0 48px;

    display: grid;
    grid-template-columns: 260px 260px 1fr;
    gap: 70px;
}

.mega-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mega-column h4 {
    font-size: 16px;
    font-weight: 500;
    color: #0a0b0d;
    margin-bottom: 8px;
}

.mega-item {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 18px;
    align-items: flex-start;
    text-decoration: none;
    color: #050505;
}

.mega-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eef1f5;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 15px;
    font-weight: 800;
    color: #050505;
}

.mega-item strong {
    display: block;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
    color: #050505;
    margin-bottom: 5px;
}

.mega-item strong b {
    color: #0052ff;
}

.mega-item p {
    font-size: 14px;
    line-height: 1.32;
    font-weight: 400;
    color: #646464;
}

.mega-feature {
    display: grid;
    grid-template-columns: 144px 1fr;
    gap: 34px;
    padding-top: 0;
    align-items: flex-start;
}

.mega-feature img {
    width: 144px;
    height: 144px;
    border-radius: 24px;
    object-fit: cover;
}

.mega-feature h3 {
    font-size: 24px;
    line-height: 1.12;
    font-weight: 400;
    color: #050505;
    margin: 8px 0 58px;
}

.mega-feature a {
    font-size: 16px;
    font-weight: 500;
    color: #050505;
    text-decoration: underline;
}

.business-dropdown {
    height: 280px;
}

.business-dropdown::after {
    top: 334px;
}

.business-inner {
    grid-template-columns: 280px 280px 1fr;
    gap: 56px;
    padding-top: 28px;
    padding-bottom: 34px;
}

.business-feature {
    grid-template-columns: 160px 1fr;
    gap: 24px;
    align-items: center;
}

.business-feature img {
    width: 160px;
    height: 160px;
    border-radius: 24px;
    object-fit: cover;
}

.business-feature h3 {
    font-size: 24px;
    line-height: 1.12;
    font-weight: 400;
    color: #050505;
    margin: 0 0 28px;
}

.business-feature h3 span {
    color: #4b5563;
}

.business-feature a {
    font-size: 15px;
    font-weight: 800;
    text-decoration: underline;
}
.institutions-dropdown {
    height: 280px;
}

.inst-arrow {
    font-size: 24px;

    margin-top: 25px;
    padding: 20px;
    font-weight: 400;
}
.institutions-inner {
    grid-template-columns: 280px 280px 1fr;
    gap: 56px;
    padding-top: 28px;
    padding-bottom: 34px;
}

.institutions-feature {
    grid-template-columns: 160px 1fr;
    gap: 24px;
    align-items: flex-start;
    padding-top: 2px;
}

.institutions-feature img {
    width: 160px;
    height: 160px;
    border-radius: 24px;
    object-fit: cover;
}

.institutions-feature h3 {
    font-size: 30px;
    line-height: 1.08;
    font-weight: 400;
    color: #050505;
    margin: 12px 0 58px;
    letter-spacing: -0.6px;
}

.institutions-feature h3 span {
    color: #4b5563;
}

.institutions-feature a {
    font-size: 15px;
    font-weight: 800;
    color: #050505;
    text-decoration: underline;
}

.institutions-dropdown .mega-column {
    gap: 34px;
}

.institutions-dropdown .mega-column h4 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 2px;
}

.institutions-dropdown .mega-item {
    grid-template-columns: 42px 1fr;
    gap: 16px;
}

.institutions-dropdown .mega-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #eef1f5;
    font-size: 16px;
}

.institutions-dropdown .mega-item strong {
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 4px;
}

.institutions-dropdown .mega-item p {
    font-size: 16px;
    line-height: 1.38;
    color: #4b5563;
    max-width: 290px;
}

.developers-dropdown {
    height: 280px;
}

.developers-inner {
    grid-template-columns: 280px 280px 1fr;
    gap: 42px;
    padding-top: 46px;
    padding-bottom: 44px;
}

.developers-dropdown .mega-column {
    gap: 28px;
}

.developers-dropdown .mega-column h4 {
    font-size: 14px;
    font-weight: 500;
    color: #050505;
    margin-bottom: 6px;

    display: flex;
    align-items: center;
    gap: 8px;
}

.dev-arrow {
    font-size: 28px;
    line-height: 1;
    font-weight: 400;
    margin-top: -2px;
}

.developers-dropdown .mega-item {
    grid-template-columns: 42px 1fr;
    gap: 16px;
}

.developers-dropdown .mega-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #eef1f5;
    font-size: 16px;
}

.developers-dropdown .mega-item strong {
    display: block;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
    color: #050505;
    margin-bottom: 4px;
}

.developers-dropdown .mega-item p {
    font-size: 16px;
    line-height: 1.38;
    color: #4b5563;
    max-width: 320px;
}

.developers-feature {
    grid-template-columns: 160px 1fr;
    gap: 24px;
    align-items: flex-start;
}

.developers-feature img {
    width: 160px;
    height: 160px;
    border-radius: 34px;
    object-fit: cover;
}

.developers-feature h3 {
    font-size: 31px;
    line-height: 1.06;
    font-weight: 400;
    color: #050505;
    margin: 10px 0 54px;
    letter-spacing: -0.7px;
    max-width: 420px;
}

.developers-feature h3 span {
    color: #4b5563;
}

.developers-feature a {
    font-size: 15px;
    font-weight: 800;
    text-decoration: underline;
}

.company-dropdown {
    height: 280px;
}

.company-inner {
    grid-template-columns: 320px 260px 1fr;
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 42px;
}

.company-dropdown .mega-column {
    gap: 42px;
}

.company-dropdown .mega-item {
    grid-template-columns: 42px 1fr;
    gap: 18px;
}

.company-dropdown .mega-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #eef1f5;
    font-size: 16px;
}

.company-dropdown .mega-item strong {
    display: block;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
    color: #050505;
    margin-bottom: 4px;
}

.company-dropdown .mega-item p {
    font-size: 16px;
    line-height: 1.38;
    color: #4b5563;
    max-width: 280px;
}

.company-feature {
    grid-template-columns: 210px 1fr;
    gap: 32px;
    align-items: flex-start;
}

.company-feature img {
    width: 210px;
    height: 160px;
    border-radius: 34px;
    object-fit: cover;
}

.company-feature h3 {
    font-size: 31px;
    line-height: 1.08;
    font-weight: 400;
    color: #050505;
    margin: 8px 0 40px;
    letter-spacing: -0.7px;
    max-width: 430px;
}

.company-feature h3 span {
    color: #4b5563;
}

.company-feature a {
    font-size: 15px;
    font-weight: 800;
    color: #050505;
    text-decoration: underline;
}

.mobile-menu,
.mobile-menu-btn {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-top: 68px;
    }

    .top-banner {
        height: 30px;
        padding: 0 18px;
        font-size: 10px;
        font-weight: 400;
        line-height: 1.25;
        letter-spacing: 5;
    }

    .container {
        padding-left: 22px;
        padding-right: 22px;
    }

    .navbar {
        height: 68px;
    }

    .navbar-wrapper {
        position: relative;
    }

    .logo {
        width: 58px;
        height: 58px;
    }

    .nav-links {
        display: none;
    }

    .nav-actions {
        gap: 12px;
    }

    .nav-actions .signin-btn,
    .nav-actions .circle-btn:nth-child(2) {
        display: none;
    }

    .circle-btn {
        width: 40px;
        height: 40px;
    }

    .primary-btn {
        height: 40px;
        min-width: 110px;
        font-size: 20px;
        font-weight: 400;
        border-radius: 40px;
    }

    .mobile-menu-btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: none;
        background: #f1f3f6;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .risk-bar {
        height: auto;
        margin: 0;
        padding: 11px 15px;
        justify-content: flex-start;
        text-align: center;
        font-size: 9px;
        line-height: 1.3;
    }



    .mobile-menu {
        position: fixed;
        top: 145px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        z-index: 9998;
        padding: 48px 24px 40px;
        border-radius: 0;
        border: none;
        box-shadow: none;
        overflow-y: auto;
        display: none;
    }


 .mobile-menu.active {
        display: flex;
        flex-direction: column;
    }



    .mobile-menu a {
        width: 100%;
        padding: 22px 0;
        font-size: 32px;
        font-weight: 400;
        color: #050505;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-menu a:not(:first-child)::after {
        content: "›";
        font-size: 42px;
        line-height: 1;
        font-weight: 300;
    }

    .mobile-menu a:hover {
        background: transparent;
    }

     .mobile-primary {
        margin-top: 50px;
        width: fit-content !important;
        min-width: 138px;
        height: 60px;
        padding: 0 32px !important;
        border-radius: 34px !important;
        background: #f1f3f6 !important;
        color: #050505 !important;
        font-size: 24px !important;
        font-weight: 700 !important;
        justify-content: center !important;
    }

        .mobile-primary::after {
        display: none !important;
    }
}




@media (max-width: 768px) {
    .mobile-menu {
        position: fixed;
        top: 145px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        z-index: 9998;
        display: none;
        overflow-y: auto;
        border-top: 1px solid #d9dee7;
    }

    .mobile-menu.active {
        display: block;
    }

    .mobile-main-menu {
        padding: 48px 24px;
    }

    .mobile-main-menu a,
    .mobile-main-menu button {
        width: 100%;
        border: none;
        background: transparent;
        padding: 20px 0;
        font-size: 18px;
        font-weight: 400;
        color: #050505;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-submenu {
        display: none;
        padding: 52px 24px 40px;
    }

    .mobile-menu.sub-open .mobile-main-menu {
        display: none;
    }

    .mobile-submenu.active {
        display: block;
    }

    .mobile-submenu h4 {
        font-size: 20px;
        font-weight: 800;
        margin: 0 0 56px;
    }

    .mobile-sub-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 52px 70px;
        margin-bottom: 58px;
    }

    .mobile-sub-grid a::after {
    display: none !important;
    content: none !important;
}
    .mobile-sub-grid a {
        display: grid;
        grid-template-columns: 46px 1fr;
        gap: 18px;
        color: #050505;
    }

    .mobile-sub-grid span {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        background: #eef1f5;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        font-weight: 800;
    }

    .mobile-sub-grid strong {
        display: block;
        font-size: 20px;
        font-weight: 800;
        margin-bottom: 4px;
    }

    .mobile-sub-grid b {
        color: #0052ff;
    }

    .mobile-sub-grid p {
        font-size: 20px;
        line-height: 1.25;
        color: #475467;
    }
}
.site-footer {
    background: #eef1f5;
    color: #050505;
    padding: 76px 0 58px;
    border-top: 1px solid #d9dee7;
}

.footer-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 70px;
}

.footer-main {
    display: grid;
    grid-template-columns: 220px 1fr 1fr 1fr 1fr;
    gap: 70px;
    align-items: flex-start;
}

.footer-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-column h4 {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
    color: #0a0b0d;
    margin-bottom: 2px;
}

.footer-column a {
    color: #5b616e;
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-subtitle {
    margin-top: 20px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-top: 74px;
    font-size: 17px;
}

.footer-social a {
    color: #050505;
    text-decoration: none;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid #d1d5db;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #344054;
    font-size: 15px;
}

.footer-bottom a {
    color: #344054;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-bottom span {
    margin: 0 6px;
}

.footer-locale {
    display: flex;
    align-items: center;
}

@media (max-width: 1100px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }
}

@media (max-width: 700px) {
    .footer-container {
        padding: 0 24px;
    }

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



