.marketplace-root-page,
.product-platform-page,
.top-bar,
.site-footer {
    --ink: #000000;
    --paper: #ffffff;
    --paper-muted: #f5f5f7;
    --grey-border: #d2d2d7;
    --slate: #6e6e73;
    --accent: #0071e3;
    --page-gutter: clamp(20px, 4vw, 72px);
    --top-bar-height: 44px;
}

.btn-pill,
.platform-cta-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    border: 1px solid transparent;
    font-family: inherit;
    white-space: nowrap;
}

.marketplace-root-page .marketplace-hero .platform-cta-pill {
    min-height: auto;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    line-height: normal;
}

.btn-pill.primary,
.platform-cta-pill--primary {
    background-color: var(--paper);
    color: var(--ink);
}

.marketplace-root-page .marketplace-hero .platform-cta-pill--primary {
    background-color: var(--paper);
    color: var(--ink);
    border-color: transparent;
}

.btn-pill.primary:hover,
.platform-cta-pill--primary:hover {
    background-color: #f0f0f0;
}

.btn-pill.secondary,
.platform-cta-pill--secondary {
    background-color: transparent;
    color: var(--paper);
    border-color: rgba(255, 255, 255, 0.6);
}

.marketplace-root-page .marketplace-hero .platform-cta-pill--secondary {
    background-color: transparent;
    color: var(--paper);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-pill.secondary:hover,
.platform-cta-pill--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--paper);
}

.btn-pill:focus-visible,
.platform-cta-pill:focus-visible,
.top-bar a:focus-visible,
.top-bar button:focus-visible,
.site-footer a:focus-visible,
.site-footer button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.primary-small {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 999px;
}

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--top-bar-height);
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    border-bottom: 0;
    line-height: normal;
}

.marketplace-root-page .top-bar,
.product-platform-page .top-bar {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0;
    color: #1d1d1f;
}

.marketplace-root-page .top-bar .brand,
.marketplace-root-page .top-bar .nav-link,
.marketplace-root-page .top-bar .nav-search,
.marketplace-root-page .top-bar .account-icon-link,
.marketplace-root-page .top-bar .mobile-menu-toggle,
.marketplace-root-page .top-bar .mobile-nav-link,
.product-platform-page .top-bar .brand,
.product-platform-page .top-bar .nav-link,
.product-platform-page .top-bar .nav-search,
.product-platform-page .top-bar .account-icon-link,
.product-platform-page .top-bar .mobile-menu-toggle,
.product-platform-page .top-bar .mobile-nav-link {
    color: #1d1d1f;
}

.marketplace-root-page .top-bar .btn-pill.primary-small,
.product-platform-page .top-bar .btn-pill.primary-small {
    background-color: #1d1d1f;
    color: #ffffff;
}

.marketplace-root-page .top-bar .btn-pill.primary-small:hover,
.product-platform-page .top-bar .btn-pill.primary-small:hover {
    background-color: #000000;
    color: #ffffff;
}

.marketplace-root-page .top-bar .account-icon-link:hover,
.product-platform-page .top-bar .account-icon-link:hover {
    background: rgba(0, 0, 0, 0.08);
}

.top-nav {
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--page-gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand {
    color: var(--paper);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: -0.01em;
    flex-shrink: 0;
}

.brand--logo {
    width: 44px;
    height: var(--top-bar-height);
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

.brand-logo {
    display: block;
    width: 24px;
    height: 24px;
}

.brand--lockup {
    width: 112px;
    height: var(--top-bar-height);
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 112px;
    text-decoration: none;
}

.brand-logo-lockup {
    display: block;
    width: auto;
    height: 25px;
}

.brand--mobile {
    display: none;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-grow: 1;
    justify-content: center;
}

.nav-link,
.nav-search {
    background: none;
    border: none;
    color: #f5f5f7;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
    font-family: inherit;
}

.nav-link:hover,
.nav-search:hover,
.nav-link[aria-current="page"] {
    opacity: 1;
}

.account-icon-link {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f5f5f7;
    opacity: 0.86;
    text-decoration: none;
    border-radius: 999px;
    transition: opacity 0.2s, background-color 0.2s;
}

.account-icon-link:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--paper);
    cursor: pointer;
    padding: 8px;
    align-items: center;
    justify-content: center;
}

.mobile-nav-panel {
    position: fixed;
    top: var(--top-bar-height);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px var(--page-gutter);
    display: none;
    flex-direction: column;
    gap: 12px;
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-panel.open {
    display: flex;
}

.mobile-nav-link {
    color: var(--paper);
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    padding: 12px 0;
    background: none;
    border: none;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
}

.mobile-account-icon-link {
    margin: 4px 0 0;
}

.marketplace-root-page .mobile-nav-panel,
.product-platform-page .mobile-nav-panel {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    color: #1d1d1f;
}

.marketplace-root-page .mobile-nav-panel .mobile-nav-link,
.marketplace-root-page .mobile-nav-panel .account-icon-link,
.product-platform-page .mobile-nav-panel .mobile-nav-link,
.product-platform-page .mobile-nav-panel .account-icon-link {
    color: #1d1d1f;
}

.marketplace-root-page .mobile-nav-panel .btn-pill.primary-small,
.product-platform-page .mobile-nav-panel .btn-pill.primary-small {
    background-color: #1d1d1f;
    color: #ffffff;
}

.marketplace-root-page .mobile-nav-panel .btn-pill.primary-small:hover,
.product-platform-page .mobile-nav-panel .btn-pill.primary-small:hover {
    background-color: #000000;
    color: #ffffff;
}

.site-footer {
    box-sizing: border-box;
    background: var(--ink);
    color: #a1a1a6;
    padding: 80px var(--page-gutter);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-family: inherit;
    line-height: 1.47059;
}

.footer-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 650;
    letter-spacing: -0.03em;
    color: var(--paper);
    margin-top: 0;
    margin-bottom: 12px;
}

.footer-sub {
    font-size: 17px;
    margin-top: 0;
    margin-bottom: 32px;
}

.footer-ctas {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 14px;
    flex-wrap: wrap;
}

.site-footer .footer-title,
.site-footer .footer-sub,
.site-footer .footer-links,
.site-footer .footer-links a,
.site-footer .footer-links button {
    line-height: inherit;
}

.footer-links a,
.footer-links button {
    color: #a1a1a6;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: inherit;
    font-weight: inherit;
    cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
    color: var(--paper);
}

.marketplace-root-page .site-footer {
    background: #f5f5f7;
    color: #6e6e73;
    border-top-color: rgba(0,0,0,0.08);
}

.marketplace-root-page .site-footer .footer-title {
    color: #000000;
}

.marketplace-root-page .site-footer .footer-sub,
.marketplace-root-page .site-footer .footer-links a,
.marketplace-root-page .site-footer .footer-links button {
    color: #6e6e73;
}

.marketplace-root-page .site-footer .footer-links a:hover,
.marketplace-root-page .site-footer .footer-links button:hover {
    color: #000000;
}

.marketplace-root-page .site-footer .btn-pill.primary {
    background-color: #000000;
    color: #ffffff;
}

.marketplace-root-page .site-footer .btn-pill.primary:hover {
    background-color: #1a1a1a;
}

.site-footer--compact-utility {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--page-gutter);
    background: #f5f5f7;
    color: #6e6e73;
    border-top: 0;
    text-align: center;
}

.footer-utility-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 4vw, 34px);
    flex-wrap: wrap;
    min-height: 52px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.footer-utility-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.footer-utility-links a:hover {
    color: #000000;
}

@media (max-width: 833px) {
    .brand--lockup {
        display: none;
    }

    .brand--mobile {
        display: inline-flex;
    }

    .nav-center {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .site-footer--compact-utility {
        min-height: 52px;
    }
}
