:root {
    --color-black: #0a0a0a;
    --color-header: #000000;
    --color-white: #ffffff;
    --color-muted: #cfcfcf;
    --color-risk-bg: #e9e9e9;
    --color-risk-text: #4a4a4a;
    --color-primary: #2ee59d;
    --color-primary-hover: #1fd48e;
    --container: 1180px;
    --font: "Inter", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    color: var(--color-white);
    background: var(--color-white);
    min-height: 100vh;
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(100% - 48px, var(--container));
    margin-inline: auto;
}

.risk-banner {
    margin: 0;
    background: var(--color-risk-bg);
    color: var(--color-risk-text);
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    padding: 10px 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-sticky {
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header-bar {
    background: var(--color-header);
}

.site-header {
    background: var(--color-header);
    overflow: visible;
}

.topbar {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 84px;
}

#staking,
#tools,
#trading-24-7 {
    scroll-margin-top: 100px;
}

.brand {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
    flex-shrink: 0;
}

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

.nav__link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-muted);
}

.nav__link:hover,
.nav__link.is-active {
    color: var(--color-white);
}

.topbar__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.btn--ghost {
    color: var(--color-white);
}

.btn--ghost:hover {
    opacity: 0.75;
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-black);
}

.btn--primary:hover {
    background: var(--color-primary-hover);
}

.btn--lg {
    min-height: 50px;
    padding: 0 24px;
    font-size: 16px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 0;
    background: transparent;
    padding: 10px 8px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--color-white);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 440px);
    align-items: end;
    gap: 40px;
    padding: 28px 0 0;
}

.hero__copy {
    padding: 48px 0 88px;
}

.hero__copy h1 {
    margin: 0 0 32px;
    font-size: clamp(32px, 4.4vw, 56px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero__copy h1 span {
    display: block;
}

.hero__media {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    margin-bottom: -160px;
}

.hero__media img {
    width: min(460px, 100%);
    height: auto;
}

.page-body {
    background: var(--color-white);
    min-height: 220px;
    padding-top: 180px;
    padding-bottom: 0;
}

.page-body--plain {
    padding-top: 0;
    padding-bottom: 0;
    color: #111111;
    min-height: calc(100vh - 220px);
}

.legal {
    padding: 72px 0 96px;
    background:
        radial-gradient(ellipse 80% 50% at 10% 0%, rgba(46, 229, 157, 0.08), transparent 55%),
        linear-gradient(180deg, #f7f8f7 0%, #ffffff 48%, #ffffff 100%);
}

.legal__wrap {
    max-width: 820px;
}

.legal__eyebrow {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary-hover);
}

.legal__title {
    margin: 0 0 16px;
    font-size: clamp(40px, 6vw, 56px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.05;
    color: var(--color-black);
}

.legal__intro {
    margin: 0 0 40px;
    max-width: 46ch;
    font-size: 17px;
    line-height: 1.6;
    color: #5a5a5a;
}

.legal__panel {
    border-top: 1px solid #e6e6e6;
    padding-top: 36px;
}

.legal__company {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 36px;
    padding: 24px 28px;
    background: var(--color-black);
    color: var(--color-white);
}

.legal__company-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.legal__company strong {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.legal__grid {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 40px;
}

.legal__item {
    position: relative;
    padding-left: 18px;
}

.legal__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background: var(--color-primary);
}

.legal__item dt {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888888;
}

.legal__item dd {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.45;
    color: var(--color-black);
}

.trust {
    text-align: center;
    color: #111111;
    max-width: 960px;
    margin-inline: auto;
}

.trust__title {
    margin: 0 0 56px;
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.15;
    color: var(--color-black);
}

.trust__stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 72px;
    align-items: start;
}

.trust__stats li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 8px 12px;
}

.trust__stats li + li::before {
    content: "";
    position: absolute;
    left: -36px;
    top: 12%;
    bottom: 12%;
    width: 1px;
    background: #e5e5e5;
}

.trust__stats strong {
    font-size: clamp(30px, 3.4vw, 42px);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--color-primary);
    line-height: 1.05;
}

.trust__stats span {
    font-size: 16px;
    font-weight: 500;
    color: #6b6b6b;
    letter-spacing: 0.01em;
}

.feature {
    margin-top: 96px;
    color: #111111;
}

.feature__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 64px;
}

.feature__grid--reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

.feature__media img {
    width: 100%;
    height: auto;
}

.feature__copy h2 {
    margin: 0 0 20px;
    font-size: clamp(36px, 4.2vw, 52px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--color-black);
}

.feature__grid--reverse .feature__copy h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.15;
}

.feature__copy p {
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 1.65;
    color: #444444;
}

.feature__list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature__list li {
    font-size: 16px;
    line-height: 1.55;
    color: #444444;
}

.feature__list strong {
    color: var(--color-black);
    font-weight: 700;
}

.feature__copy .btn {
    margin-top: 8px;
}

.ticker-row {
    margin-top: 72px;
}

.ticker-row__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px 40px;
}

.ticker-row__inner tv-ticker-tag {
    display: block;
    flex: 0 0 auto;
}

.market-map {
    margin-top: 96px;
}

.market-map tv-economic-map {
    display: block;
    width: 100%;
    min-height: 480px;
}

.cta-join {
    margin-top: 96px;
    padding-bottom: 56px;
    text-align: center;
    color: #111111;
}

.cta-join__title {
    margin: 0 0 12px;
    font-size: clamp(28px, 3.8vw, 42px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.15;
    color: var(--color-black);
}

.cta-join__text {
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.5;
    color: #555555;
}

.cta-join .btn {
    margin-bottom: 40px;
}

.payment-logos__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
}

.payment-logos__list img {
    display: block;
    height: 36px;
    width: auto;
    object-fit: contain;
}

.site-footer {
    background: #2f2f2f;
    color: #d6d6d6;
    padding: 48px 0;
}

.site-footer__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.site-footer__name {
    display: inline-block;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-white);
}

.site-footer__tagline {
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: #a8a8a8;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 28px;
    max-width: 640px;
}

.site-footer__nav a {
    font-size: 14px;
    font-weight: 500;
    color: #cfcfcf;
    transition: color 0.15s ease;
}

.site-footer__nav a:hover {
    color: var(--color-white);
}

.site-footer__bottom {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.site-footer__risk {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    color: #9a9a9a;
    max-width: 820px;
    margin-inline: auto;
}

.site-footer__copy {
    margin: 16px 0 0;
    font-size: 13px;
    color: #8a8a8a;
}

@media (max-width: 900px) {
    .topbar {
        flex-wrap: wrap;
        min-height: 72px;
        gap: 12px;
    }

    .nav-toggle {
        display: block;
    }

    .nav,
    .topbar__actions {
        display: none;
        width: 100%;
    }

    .nav.is-open,
    .topbar__actions.is-open {
        display: flex;
    }

    .nav.is-open {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-bottom: 8px;
    }

    .topbar__actions.is-open {
        margin-left: 0;
        padding-bottom: 16px;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__copy {
        padding: 24px 0 8px;
    }

    .hero__media {
        margin-bottom: -110px;
    }

    .page-body {
        padding-top: 130px;
    }

    .trust__title {
        margin-bottom: 40px;
    }

    .trust__stats {
        column-gap: 40px;
    }

    .trust__stats li + li::before {
        left: -20px;
    }

    .feature {
        margin-top: 72px;
    }

    .ticker-row {
        margin-top: 48px;
    }

    .ticker-row__inner {
        gap: 16px 24px;
    }

    .feature__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .feature__media {
        order: -1;
        max-width: 420px;
        margin-inline: auto;
    }

    .feature__copy {
        text-align: center;
    }

    .feature__list {
        text-align: left;
        max-width: 520px;
        margin-inline: auto;
    }

    .site-footer__inner {
        flex-direction: column;
        gap: 28px;
    }

    .site-footer__nav {
        justify-content: flex-start;
        max-width: none;
    }
}

@media (max-width: 760px) {
    .risk-banner {
        white-space: normal;
        font-size: 11px;
    }

    .container {
        width: min(100% - 32px, var(--container));
    }

    .legal {
        padding: 48px 0 72px;
    }

    .legal__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .legal__company {
        padding: 20px 22px;
    }

    .trust__title {
        margin-bottom: 36px;
    }

    .trust__stats {
        grid-template-columns: 1fr;
        row-gap: 28px;
        max-width: 320px;
        margin-inline: auto;
    }

    .trust__stats li + li::before {
        left: 20%;
        right: 20%;
        top: -14px;
        bottom: auto;
        width: auto;
        height: 1px;
    }
}
