.marketplace-root-page,
.product-platform-page,
.platform-legal-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;
}

.platform-legal-page .top-bar {
    background: #f5f5f7;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.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;
}

.nav-outer-rail {
    min-width: 0;
    display: flex;
    align-items: center;
}

.nav-outer-rail--left {
    justify-content: flex-start;
}

.nav-outer-rail--right {
    justify-content: flex-end;
}

@media (min-width: 834px) {
    .homepage-root-page .top-nav {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    }

    .homepage-root-page .nav-center {
        width: auto;
        flex: none;
        justify-self: center;
    }
}

.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;
}

.nav-build-hub {
    position: relative;
}

.nav-build-hub-explanation {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    width: max-content;
    max-width: 230px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(15, 18, 32, 0.94);
    color: #ffffff;
    font-size: 11px;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -4px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.nav-build-hub:hover .nav-build-hub-explanation,
.nav-build-hub:focus-visible .nav-build-hub-explanation {
    opacity: 1;
    transform: translate(-50%, 0);
}

.start-hub-roll {
    inline-size: 164px;
    min-block-size: 48px;
    padding-inline: 18px;
    overflow: hidden;
    contain: layout paint;
}

.start-hub-roll-window {
    width: 100%;
    height: 1.25em;
    display: block;
    overflow: hidden;
    line-height: 1.25;
    perspective: 300px;
}

.start-hub-roll-track {
    display: grid;
    grid-template-rows: repeat(2, 1.25em);
    transform-style: preserve-3d;
    animation: start-hub-label-roll 8s cubic-bezier(.22, 1, .36, 1) infinite;
}

.start-hub-roll-track > span {
    display: grid;
    place-items: center;
    height: 1.25em;
    white-space: nowrap;
}

@keyframes start-hub-label-roll {
    0%, 38% { transform: translate3d(0, 0, 0) rotateX(0deg); }
    48%, 87% { transform: translate3d(0, -50%, 0) rotateX(-2deg); }
    97%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg); }
}

.start-hub-roll:hover .start-hub-roll-track,
.start-hub-roll:focus .start-hub-roll-track,
.start-hub-roll:active .start-hub-roll-track {
    animation-play-state: paused;
}

.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-nav-link--build-hub {
    display: grid;
    gap: 4px;
}

.mobile-nav-link--build-hub small {
    color: #b9bdd0;
    font-size: 12px;
    line-height: 1.35;
}

.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);
}

.footer-legal {
    width: 100%;
    max-width: 1120px;
    margin: 44px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    justify-items: center;
    gap: 7px;
    color: inherit;
    font-size: 11px;
    line-height: 1.45;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: inherit;
    text-decoration: none;
    min-height: 28px;
    padding: 4px 0;
    display: inline-flex;
    align-items: center;
}

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

.footer-copyright {
    margin: 0;
    color: inherit;
}

.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 .footer-legal {
    border-top-color: rgba(0, 0, 0, 0.10);
}

.marketplace-root-page .site-footer .footer-legal-links a: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;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 var(--page-gutter) 14px;
    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;
}

.site-footer--compact-utility .footer-legal {
    margin-top: 0;
    padding-top: 10px;
    border-top-color: rgba(0, 0, 0, 0.08);
}

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

.platform-legal-page {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    color: #1d1d1f;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.platform-legal-page *,
.platform-legal-page *::before,
.platform-legal-page *::after {
    box-sizing: border-box;
}

.platform-legal-page .mobile-nav-panel {
    background: #f5f5f7;
}

.platform-skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1100;
    transform: translateY(-160%);
    padding: 10px 14px;
    border-radius: 999px;
    background: #1d1d1f;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.platform-skip-link:focus {
    transform: translateY(0);
}

.platform-legal-main {
    width: 100%;
    flex: 1 0 auto;
    background: #ffffff;
    padding: calc(var(--top-bar-height) + 64px) var(--page-gutter) 88px;
    scroll-margin-top: var(--top-bar-height);
}

.platform-legal-document {
    width: min(100%, 760px);
    margin: 0 auto;
}

.platform-legal-company {
    margin: 0 0 14px;
    color: #6e6e73;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.platform-legal-document h1 {
    margin: 0;
    color: #1d1d1f;
    font-size: clamp(36px, 7vw, 58px);
    font-weight: 650;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.platform-legal-effective {
    margin: 14px 0 0;
    color: #6e6e73;
    font-size: 13px;
}

.platform-legal-introduction {
    margin: 36px 0 0;
    color: #3a3a3c;
    font-size: 17px;
    line-height: 1.65;
}

.platform-legal-section {
    margin-top: 40px;
}

.platform-legal-section h2 {
    margin: 0 0 12px;
    color: #1d1d1f;
    font-size: 20px;
    font-weight: 650;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.platform-legal-section p,
.platform-legal-section li {
    color: #3a3a3c;
    font-size: 15px;
    line-height: 1.7;
}

.platform-legal-section p {
    margin: 0 0 12px;
}

.platform-legal-section ul {
    margin: 0;
    padding-left: 22px;
}

.platform-legal-section li + li {
    margin-top: 8px;
}

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

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

    .nav-center {
        display: none;
    }

    .nav-outer-rail--right {
        margin-left: auto;
    }

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

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

    .platform-legal-main {
        padding-top: calc(var(--top-bar-height) + 44px);
        padding-bottom: 64px;
    }

    .footer-legal-links {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .start-hub-roll-track {
        animation: none;
        transform: none;
    }

    .start-hub-roll-track > span:last-child {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .start-hub-roll-track {
        animation: none;
        transform: none;
    }

    .start-hub-roll-track > span:last-child {
        display: none;
    }
}
