:root {
    --l3-bg: #0b0d10;
    --l3-bg-raised: #0f1318;
    --l3-surface: #12161b;
    --l3-surface-strong: #171c22;
    --l3-surface-soft: rgba(255, 255, 255, 0.035);
    --l3-text: #f4f7fb;
    --l3-muted: #9ba6b5;
    --l3-faint: #697586;
    --l3-line: rgba(255, 255, 255, 0.085);
    --l3-line-strong: rgba(255, 255, 255, 0.15);
    --l3-accent: var(--green, #0173e5);
    --l3-accent-hover: var(--green2, #1688f7);
    --l3-accent-active: var(--green-active, #005fc7);
    --l3-accent-soft: rgba(var(--green-rgb), 0.14);
    --l3-accent-glow: rgba(var(--green-rgb), 0.3);
    --l3-positive: #2ecb81;
    --l3-positive-soft: rgba(46, 203, 129, 0.12);
    --l3-negative: #f1595a;
    --l3-negative-soft: rgba(241, 89, 90, 0.12);
    --l3-radius-sm: 10px;
    --l3-radius: 16px;
    --l3-radius-lg: 24px;
    --l3-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    --l3-container: 1240px;
}

html[data-theme="light"] {
    --l3-bg: #f4f7fb;
    --l3-bg-raised: #edf2f7;
    --l3-surface: #ffffff;
    --l3-surface-strong: #f8fafc;
    --l3-surface-soft: rgba(7, 18, 35, 0.035);
    --l3-text: #101722;
    --l3-muted: #5f6c7b;
    --l3-faint: #8490a0;
    --l3-line: rgba(9, 22, 39, 0.1);
    --l3-line-strong: rgba(9, 22, 39, 0.16);
    --l3-accent-soft: rgba(var(--green-rgb), 0.1);
    --l3-accent-glow: rgba(var(--green-rgb), 0.2);
    --l3-shadow: 0 26px 70px rgba(20, 39, 62, 0.13);
}

html {
    scroll-behavior: smooth;
}

body.landing-three {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background: var(--l3-bg);
    color: var(--l3-text);
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
}

.landing-three main {
    display: block;
    overflow: hidden;
}

.landing-three a {
    color: inherit;
}

.landing-three button,
.landing-three input {
    font: inherit;
}

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

.l3-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.l3-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 11px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 750;
    letter-spacing: -0.01em;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.l3-button:hover {
    transform: translateY(-2px);
}

.l3-button:focus-visible,
.l3-inline-link:focus-visible,
.l3-market-row:focus-visible,
.l3-product:focus-visible,
.l3-discover-card a:focus-visible,
.l3-mobile-actions a:focus-visible {
    outline: 3px solid var(--l3-accent-soft);
    outline-offset: 3px;
}

.l3-button--primary {
    background: var(--l3-accent);
    color: #fff !important;
    box-shadow: 0 12px 30px var(--l3-accent-glow);
}

.l3-button--primary:hover {
    background: var(--l3-accent-hover);
    box-shadow: 0 16px 34px var(--l3-accent-glow);
}

.l3-button--quiet {
    border-color: var(--l3-line);
    background: var(--l3-surface-soft);
    color: var(--l3-text);
}

.l3-button--quiet:hover {
    border-color: var(--l3-line-strong);
    background: var(--l3-surface);
}

.l3-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--l3-accent) !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 750;
}

.l3-inline-link span {
    transition: transform 180ms ease;
}

.l3-inline-link:hover span {
    transform: translateX(4px);
}

.l3-eyebrow {
    display: inline-flex;
    margin-bottom: 15px;
    color: var(--l3-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.l3-section {
    position: relative;
    padding: 112px 0;
}

.l3-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.62fr);
    align-items: end;
    gap: 54px;
    margin-bottom: 46px;
}

.l3-section-head h2,
.l3-split__copy h2,
.l3-final-cta h2 {
    margin: 0;
    color: var(--l3-text);
    font-size: clamp(34px, 4.2vw, 52px);
    font-weight: 750;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.l3-section-head > p,
.l3-split__copy > p {
    margin: 0;
    color: var(--l3-muted);
    font-size: 16px;
    line-height: 1.75;
}

/* Hero */
.l3-hero {
    position: relative;
    min-height: 820px;
    padding: 92px 0 52px;
    border-bottom: 1px solid var(--l3-line);
    isolation: isolate;
}

.l3-hero::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    background-image: linear-gradient(var(--l3-line) 1px, transparent 1px), linear-gradient(90deg, var(--l3-line) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), transparent 86%);
    opacity: 0.27;
    content: "";
}

.l3-ambient {
    position: absolute;
    z-index: -1;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(16px);
    pointer-events: none;
}

.l3-ambient--one {
    top: -210px;
    right: 5%;
    background: radial-gradient(circle, var(--l3-accent-soft), transparent 67%);
}

.l3-ambient--two {
    bottom: -300px;
    left: -160px;
    background: radial-gradient(circle, rgba(var(--green-rgb), 0.08), transparent 68%);
}

.l3-hero__layout {
    display: grid;
    grid-template-columns: minmax(340px, 0.76fr) minmax(560px, 1.24fr);
    align-items: center;
    gap: 68px;
}

.l3-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--l3-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.l3-kicker span {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--l3-positive);
    box-shadow: 0 0 0 5px var(--l3-positive-soft);
}

.l3-hero h1 {
    max-width: 620px;
    margin: 0;
    color: var(--l3-text);
    font-size: clamp(48px, 5.4vw, 76px);
    font-weight: 750;
    letter-spacing: -0.06em;
    line-height: 0.99;
}

.l3-hero__copy > p {
    max-width: 600px;
    margin: 27px 0 0;
    color: var(--l3-muted);
    font-size: 17px;
    line-height: 1.75;
}

.l3-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.l3-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 28px;
    color: var(--l3-faint);
    font-size: 12px;
    font-weight: 650;
}

.l3-hero__trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.l3-hero__trust i {
    color: var(--l3-accent);
    font-size: 17px;
}

.l3-terminal,
.l3-pro-terminal {
    border: 1px solid var(--l3-line-strong);
    border-radius: var(--l3-radius-lg);
    background: var(--l3-surface);
    background: color-mix(in srgb, var(--l3-surface) 94%, transparent);
    box-shadow: var(--l3-shadow);
    overflow: hidden;
}

@supports (backdrop-filter: blur(18px)) {
    .l3-terminal,
    .l3-pro-terminal {
        background: color-mix(in srgb, var(--l3-surface) 86%, transparent);
        backdrop-filter: blur(18px);
    }
}

.l3-terminal__bar,
.l3-pro-terminal__head {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--l3-line);
}

.l3-pair {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
}

.l3-pair img,
.l3-coin-fallback {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    object-fit: cover;
}

.l3-coin-fallback {
    display: grid;
    place-items: center;
    background: var(--l3-accent);
    color: #fff;
    font-weight: 800;
}

.l3-pair div {
    display: grid;
    gap: 3px;
}

.l3-pair strong {
    color: var(--l3-text);
    font-size: 13px;
    white-space: nowrap;
}

.l3-pair small {
    color: var(--l3-faint);
    font-size: 10px;
}

.l3-ticker {
    display: grid;
    justify-items: end;
    gap: 3px;
}

.l3-ticker strong {
    color: var(--l3-text);
    font-size: 16px;
}

.l3-ticker span {
    font-size: 11px;
    font-weight: 700;
}

.is-up {
    color: var(--l3-positive) !important;
}

.is-down {
    color: var(--l3-negative) !important;
}

.l3-terminal__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 172px;
    min-height: 405px;
}

.l3-chart-panel {
    position: relative;
    min-width: 0;
    padding: 16px;
    border-right: 1px solid var(--l3-line);
    background-image: linear-gradient(var(--l3-line) 1px, transparent 1px), linear-gradient(90deg, var(--l3-line) 1px, transparent 1px);
    background-size: 58px 58px;
}

.l3-timeframes {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 3px;
}

.l3-timeframes button {
    height: 28px;
    padding: 0 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--l3-faint);
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
}

.l3-timeframes button:hover,
.l3-timeframes button.is-active {
    background: var(--l3-accent-soft);
    color: var(--l3-accent);
}

#heroChart {
    position: absolute;
    inset: 58px 13px 34px;
    width: calc(100% - 26px);
    height: calc(100% - 92px);
}

.l3-chart-legend {
    position: absolute;
    right: 16px;
    bottom: 12px;
    left: 16px;
    display: flex;
    gap: 13px;
    color: var(--l3-faint);
    font-size: 9px;
}

.l3-orderbook {
    padding: 15px 10px;
    background: var(--l3-bg-raised);
}

.l3-pane-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--l3-text);
    font-size: 11px;
    font-weight: 750;
}

.l3-pane-title span {
    color: var(--l3-faint);
    font-size: 9px;
}

.l3-book-head,
.l3-book-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.l3-book-head {
    margin: 16px 4px 6px;
    color: var(--l3-faint);
    font-size: 8px;
}

.l3-book-head span:last-child,
.l3-book-row span:last-child {
    text-align: right;
}

.l3-book-row {
    position: relative;
    isolation: isolate;
    padding: 7px 4px;
    color: var(--l3-muted);
    font-size: 9px;
}

.l3-book-row::before {
    position: absolute;
    z-index: -1;
    top: 1px;
    right: 0;
    bottom: 1px;
    width: var(--depth);
    content: "";
}

.l3-book-row.is-ask span:first-child {
    color: var(--l3-negative);
}

.l3-book-row.is-ask::before {
    background: linear-gradient(90deg, transparent, var(--l3-negative-soft));
}

.l3-book-row.is-bid span:first-child {
    color: var(--l3-positive);
}

.l3-book-row.is-bid::before {
    background: linear-gradient(90deg, transparent, var(--l3-positive-soft));
}

.l3-book-mid {
    margin: 8px 4px;
    color: var(--l3-positive);
    font-size: 12px;
    font-weight: 750;
}

.l3-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 58px;
    border-top: 1px solid var(--l3-line);
    border-bottom: 1px solid var(--l3-line);
}

.l3-stats > div {
    display: grid;
    gap: 4px;
    padding: 23px 26px;
    border-right: 1px solid var(--l3-line);
}

.l3-stats > div:first-child {
    padding-left: 0;
}

.l3-stats > div:last-child {
    border-right: 0;
}

.l3-stats strong {
    color: var(--l3-text);
    font-size: 21px;
    letter-spacing: -0.03em;
}

.l3-stats span {
    color: var(--l3-faint);
    font-size: 11px;
}

/* Markets */
.l3-markets {
    background: var(--l3-bg-raised);
}

.l3-market-card {
    border: 1px solid var(--l3-line);
    border-radius: var(--l3-radius-lg);
    background: var(--l3-surface);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.13);
    overflow: hidden;
}

.l3-market-toolbar {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--l3-line);
}

.l3-market-tabs {
    display: flex;
    gap: 5px;
}

.l3-market-tabs button {
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: var(--l3-muted);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.l3-market-tabs button:hover,
.l3-market-tabs button.is-active {
    border-color: var(--l3-line);
    background: var(--l3-accent-soft);
    color: var(--l3-accent);
}

.l3-market-search {
    display: flex;
    width: 230px;
    height: 40px;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid var(--l3-line);
    border-radius: 9px;
    background: var(--l3-bg-raised);
    color: var(--l3-faint);
}

.l3-market-search:focus-within {
    border-color: var(--l3-accent);
    box-shadow: 0 0 0 3px var(--l3-accent-soft);
}

.l3-market-search i {
    font-size: 18px;
}

.l3-market-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--l3-text);
    font-size: 12px;
}

.l3-market-search input::placeholder {
    color: var(--l3-faint);
}

.l3-market-row {
    display: grid;
    grid-template-columns: minmax(190px, 1.3fr) minmax(110px, 0.8fr) minmax(100px, 0.7fr) minmax(110px, 0.8fr) 80px;
    min-height: 72px;
    align-items: center;
    gap: 18px;
    padding: 0 22px;
    border-bottom: 1px solid var(--l3-line);
    color: var(--l3-text);
    text-decoration: none;
    transition: background 160ms ease;
}

.l3-market-row:last-of-type {
    border-bottom: 0;
}

a.l3-market-row:hover {
    background: var(--l3-surface-soft);
}

.l3-market-row--head {
    min-height: 45px;
    color: var(--l3-faint);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.l3-market-asset {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

.l3-market-asset img {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    object-fit: cover;
}

.l3-market-asset > span {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.l3-market-asset strong,
.l3-market-price {
    font-size: 13px;
    font-weight: 750;
}

.l3-market-asset small {
    color: var(--l3-faint);
    font-size: 10px;
}

.l3-market-change,
.l3-market-volume {
    color: var(--l3-muted);
    font-size: 12px;
    font-weight: 650;
}

.l3-trade-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    color: var(--l3-accent);
    font-size: 12px;
    font-weight: 750;
}

.l3-market-empty {
    padding: 32px 20px;
    color: var(--l3-muted);
    text-align: center;
    font-size: 13px;
}

/* Products */
.l3-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.l3-product {
    position: relative;
    display: flex;
    min-height: 250px;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    border: 1px solid var(--l3-line);
    border-radius: var(--l3-radius);
    background: var(--l3-surface);
    color: var(--l3-text);
    text-decoration: none;
    overflow: hidden;
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.l3-product:hover {
    transform: translateY(-4px);
    border-color: var(--l3-line-strong);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.15);
}

.l3-product--feature {
    min-height: 410px;
    grid-row: span 2;
    justify-content: space-between;
    background: linear-gradient(145deg, var(--l3-surface), var(--l3-bg-raised));
}

.l3-product--feature img {
    position: absolute;
    right: -6%;
    bottom: -3%;
    width: 68%;
    max-height: 260px;
    object-fit: contain;
    object-position: right bottom;
    filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.32));
    transition: transform 300ms ease;
}

.l3-product--feature:hover img {
    transform: translateY(-5px) scale(1.015);
}

.l3-product__copy {
    position: relative;
    z-index: 1;
    max-width: 58%;
}

.l3-product-icon {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 24px;
    place-items: center;
    border: 1px solid rgba(var(--green-rgb), 0.22);
    border-radius: 12px;
    background: var(--l3-accent-soft);
    color: var(--l3-accent);
    font-size: 22px;
}

.l3-product h3,
.l3-discover-card h3 {
    margin: 0;
    color: var(--l3-text);
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -0.025em;
}

.l3-product p,
.l3-discover-card p {
    max-width: 470px;
    margin: 12px 0 24px;
    color: var(--l3-muted);
    font-size: 13px;
    line-height: 1.7;
}

.l3-product > .l3-inline-link,
.l3-product__copy .l3-inline-link {
    margin-top: auto;
    font-size: 12px;
}

/* Experience */
.l3-experience,
.l3-mobile {
    background: var(--l3-bg-raised);
}

.l3-split {
    display: grid;
    grid-template-columns: minmax(320px, 0.72fr) minmax(590px, 1.28fr);
    align-items: center;
    gap: 78px;
}

.l3-split--reverse {
    grid-template-columns: minmax(550px, 1.1fr) minmax(340px, 0.9fr);
}

.l3-split__copy > p {
    margin-top: 23px;
}

.l3-feature-list {
    display: grid;
    gap: 6px;
    margin: 30px 0;
}

.l3-feature-list > div {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--l3-line);
}

.l3-feature-list > div > i {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 10px;
    background: var(--l3-accent-soft);
    color: var(--l3-accent);
    font-size: 19px;
}

.l3-feature-list span {
    display: grid;
    gap: 4px;
}

.l3-feature-list strong {
    color: var(--l3-text);
    font-size: 13px;
}

.l3-feature-list small {
    color: var(--l3-muted);
    font-size: 11px;
    line-height: 1.55;
}

.l3-pro-terminal {
    min-width: 0;
}

.l3-pro-metrics {
    display: flex;
    gap: 28px;
}

.l3-pro-metrics > span {
    display: grid;
    gap: 4px;
}

.l3-pro-metrics small {
    color: var(--l3-faint);
    font-size: 8px;
}

.l3-pro-metrics strong {
    color: var(--l3-text);
    font-size: 10px;
}

.l3-pro-terminal__body {
    display: grid;
    grid-template-columns: 116px minmax(270px, 1fr) 170px;
    min-height: 390px;
}

.l3-watchlist {
    padding: 14px 8px;
    border-right: 1px solid var(--l3-line);
    background: var(--l3-bg-raised);
}

.l3-watchlist .l3-pane-title {
    padding: 2px 7px 12px;
}

.l3-watchlist a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    padding: 0 7px;
    border-radius: 8px;
    color: var(--l3-muted);
    text-decoration: none;
    transition: background 160ms ease;
}

.l3-watchlist a:hover {
    background: var(--l3-surface-soft);
}

.l3-watchlist a > span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.l3-watchlist img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.l3-watchlist b {
    color: var(--l3-text);
    font-size: 9px;
}

.l3-watchlist em {
    font-size: 7px;
    font-style: normal;
}

.l3-pro-chart {
    position: relative;
    min-width: 0;
    padding: 14px;
    background-image: linear-gradient(var(--l3-line) 1px, transparent 1px), linear-gradient(90deg, var(--l3-line) 1px, transparent 1px);
    background-size: 56px 56px;
}

#proChart {
    width: 100%;
    height: 100%;
}

.l3-order-preview {
    display: grid;
    align-content: start;
    gap: 15px;
    padding: 15px 12px;
    border-left: 1px solid var(--l3-line);
    background: var(--l3-bg-raised);
}

.l3-order-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--l3-line);
}

.l3-order-tabs span {
    padding: 8px 0;
    color: var(--l3-faint);
    text-align: center;
    font-size: 9px;
    font-weight: 750;
}

.l3-order-tabs span.is-active {
    border-bottom: 2px solid var(--l3-positive);
    color: var(--l3-positive);
}

.l3-order-preview label {
    display: grid;
    gap: 6px;
    color: var(--l3-faint);
    font-size: 8px;
}

.l3-order-preview label div {
    display: flex;
    height: 38px;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 0 9px;
    border: 1px solid var(--l3-line);
    border-radius: 7px;
    color: var(--l3-muted);
    font-size: 9px;
}

.l3-order-preview label b {
    color: var(--l3-text);
    font-size: 8px;
}

.l3-range {
    height: 3px;
    border-radius: 3px;
    background: var(--l3-line-strong);
}

.l3-range i {
    display: block;
    width: 44%;
    height: 100%;
    border-radius: inherit;
    background: var(--l3-positive);
}

.l3-order-button {
    display: grid;
    min-height: 39px;
    margin-top: 4px;
    place-items: center;
    border-radius: 8px;
    background: var(--l3-positive);
    color: #06170d !important;
    text-decoration: none;
    font-size: 9px;
    font-weight: 800;
}

/* Discover */
.l3-discover-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.l3-discover-card {
    position: relative;
    min-height: 330px;
    padding: 29px;
    border: 1px solid var(--l3-line);
    border-radius: var(--l3-radius);
    background: var(--l3-surface);
    overflow: hidden;
}

.l3-discover-card > span:first-child {
    position: absolute;
    top: 25px;
    right: 26px;
    color: var(--l3-faint);
    font-size: 11px;
    font-weight: 800;
}

.l3-discover-card > i {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 74px;
    place-items: center;
    border-radius: 13px;
    background: var(--l3-accent-soft);
    color: var(--l3-accent);
    font-size: 25px;
}

.l3-discover-card a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--l3-accent);
    text-decoration: none;
    font-size: 12px;
    font-weight: 750;
}

.l3-discover-card--accent {
    background: linear-gradient(145deg, var(--l3-surface), var(--l3-accent-soft));
}

.l3-discover-card--accent > *:not(img) {
    position: relative;
    z-index: 1;
}

.l3-discover-card--accent img {
    position: absolute;
    right: -42px;
    bottom: -38px;
    width: 54%;
    opacity: 0.42;
    pointer-events: none;
}

/* Security */
.l3-security {
    background: var(--l3-bg-raised);
}

.l3-security-visual {
    position: relative;
    display: grid;
    min-height: 510px;
    place-items: center;
    border: 1px solid var(--l3-line);
    border-radius: var(--l3-radius-lg);
    background: radial-gradient(circle at center, var(--l3-accent-soft), transparent 56%), var(--l3-surface);
    overflow: hidden;
}

.l3-shield {
    position: relative;
    z-index: 2;
    display: grid;
    width: 132px;
    height: 132px;
    place-items: center;
    border: 1px solid rgba(var(--green-rgb), 0.38);
    border-radius: 36px;
    background: var(--l3-surface-strong);
    color: var(--l3-accent);
    box-shadow: 0 0 70px var(--l3-accent-glow), inset 0 0 30px var(--l3-accent-soft);
    transform: rotate(45deg);
}

.l3-shield i {
    font-size: 62px;
    transform: rotate(-45deg);
}

.l3-orbit {
    position: absolute;
    border: 1px dashed rgba(var(--green-rgb), 0.27);
    border-radius: 50%;
    animation: l3-spin 28s linear infinite;
}

.l3-orbit--one {
    width: 300px;
    height: 300px;
}

.l3-orbit--two {
    width: 420px;
    height: 420px;
    animation-direction: reverse;
    animation-duration: 42s;
}

@keyframes l3-spin {
    to { transform: rotate(360deg); }
}

.l3-security-chip {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border: 1px solid var(--l3-line-strong);
    border-radius: 10px;
    background: var(--l3-surface-strong);
    color: var(--l3-muted);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    font-size: 10px;
    font-weight: 700;
}

.l3-security-chip i {
    color: var(--l3-positive);
    font-size: 15px;
}

.l3-security-chip--one { top: 17%; left: 9%; }
.l3-security-chip--two { top: 31%; right: 6%; }
.l3-security-chip--three { bottom: 14%; left: 20%; }

/* Mobile */
.l3-mobile-stage {
    position: relative;
    display: grid;
    min-height: 640px;
    place-items: end center;
    overflow: hidden;
}

.l3-mobile-stage img {
    position: relative;
    z-index: 1;
    width: min(100%, 470px);
    max-height: 620px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 28px 45px rgba(0, 0, 0, 0.35));
}

.l3-mobile-glow {
    position: absolute;
    bottom: 4%;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--l3-accent-soft), transparent 68%);
}

.l3-mobile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 31px;
}

.l3-mobile-actions a {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 14px;
    border: 1px solid var(--l3-line);
    border-radius: 12px;
    background: var(--l3-surface);
    color: var(--l3-text);
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease;
}

.l3-mobile-actions a:hover {
    transform: translateY(-2px);
    border-color: var(--l3-line-strong);
}

.l3-mobile-actions i {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 10px;
    background: var(--l3-accent-soft);
    color: var(--l3-accent);
    font-size: 19px;
}

.l3-mobile-actions span {
    display: grid;
    gap: 3px;
}

.l3-mobile-actions strong {
    font-size: 12px;
}

.l3-mobile-actions small {
    color: var(--l3-faint);
    font-size: 9px;
}

/* FAQ */
.l3-faq-list {
    border-top: 1px solid var(--l3-line);
}

.l3-faq-item {
    border-bottom: 1px solid var(--l3-line);
}

.l3-faq-item button {
    display: flex;
    width: 100%;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--l3-text);
    cursor: pointer;
    text-align: left;
    font-size: 15px;
    font-weight: 700;
}

.l3-faq-item button:focus-visible {
    outline: 3px solid var(--l3-accent-soft);
    outline-offset: -3px;
}

.l3-faq-item button i {
    color: var(--l3-faint);
    font-size: 22px;
    transition: transform 200ms ease, color 200ms ease;
}

.l3-faq-item > div {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 240ms ease;
}

.l3-faq-item > div > p {
    min-height: 0;
    margin: 0;
    overflow: hidden;
    color: var(--l3-muted);
    font-size: 13px;
    line-height: 1.7;
}

.l3-faq-item.is-open > div {
    grid-template-rows: 1fr;
}

.l3-faq-item.is-open > div > p {
    padding: 0 52px 25px 0;
}

.l3-faq-item.is-open button i {
    color: var(--l3-accent);
    transform: rotate(45deg);
}

/* Final CTA */
.l3-final-cta {
    padding: 0 0 112px;
}

.l3-final-cta__card {
    position: relative;
    display: flex;
    min-height: 310px;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 56px 60px;
    border: 1px solid rgba(var(--green-rgb), 0.28);
    border-radius: var(--l3-radius-lg);
    background: radial-gradient(circle at 82% 15%, rgba(var(--green-rgb), 0.22), transparent 35%), linear-gradient(145deg, var(--l3-surface), var(--l3-bg-raised));
    overflow: hidden;
}

.l3-final-cta__card::after {
    position: absolute;
    right: -100px;
    bottom: -190px;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(var(--green-rgb), 0.2);
    border-radius: 50%;
    box-shadow: 0 0 0 46px rgba(var(--green-rgb), 0.04), 0 0 0 92px rgba(var(--green-rgb), 0.025);
    content: "";
}

.l3-final-cta__card > div {
    position: relative;
    z-index: 1;
}

.l3-final-cta h2 {
    max-width: 700px;
}

.l3-final-cta p {
    margin: 18px 0 0;
    color: var(--l3-muted);
    font-size: 14px;
}

.l3-final-cta__actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 9px;
}

/* Reveal motion */
.l3-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 650ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.l3-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1120px) {
    .l3-hero__layout {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .l3-hero__copy {
        max-width: 760px;
    }

    .l3-terminal {
        max-width: 850px;
    }

    .l3-split,
    .l3-split--reverse {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .l3-split__copy {
        max-width: 720px;
    }

    .l3-security-visual {
        max-width: 760px;
        order: 2;
    }

    .l3-mobile-stage {
        min-height: 560px;
        order: 2;
    }
}

@media (max-width: 900px) {
    .l3-section {
        padding: 88px 0;
    }

    .l3-section-head {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .l3-section-head > p {
        max-width: 660px;
    }

    .l3-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .l3-stats > div:nth-child(2) {
        border-right: 0;
    }

    .l3-stats > div:nth-child(-n+2) {
        border-bottom: 1px solid var(--l3-line);
    }

    .l3-stats > div:nth-child(3) {
        padding-left: 0;
    }

    .l3-market-row {
        grid-template-columns: minmax(175px, 1.2fr) minmax(100px, 0.8fr) minmax(90px, 0.7fr) 70px;
    }

    .l3-market-volume,
    .l3-market-row--head span:nth-child(4) {
        display: none;
    }

    .l3-product-grid {
        grid-template-columns: 1fr;
    }

    .l3-product--feature {
        grid-row: auto;
    }

    .l3-discover-grid {
        grid-template-columns: 1fr 1fr;
    }

    .l3-discover-card:last-child {
        grid-column: 1 / -1;
    }

    .l3-final-cta__card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .l3-container {
        width: min(calc(100% - 28px), var(--l3-container));
    }

    .l3-hero {
        min-height: 0;
        padding: 64px 0 40px;
    }

    .l3-hero h1 {
        font-size: clamp(42px, 13vw, 60px);
    }

    .l3-hero__copy > p {
        font-size: 15px;
    }

    .l3-hero__actions .l3-button {
        width: 100%;
    }

    .l3-terminal__body {
        grid-template-columns: 1fr;
    }

    .l3-chart-panel {
        min-height: 330px;
        border-right: 0;
        border-bottom: 1px solid var(--l3-line);
    }

    .l3-orderbook {
        display: none;
    }

    .l3-stats > div {
        padding: 18px 15px;
    }

    .l3-stats > div:first-child,
    .l3-stats > div:nth-child(3) {
        padding-left: 0;
    }

    .l3-market-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .l3-market-tabs {
        overflow-x: auto;
    }

    .l3-market-tabs button {
        flex: 0 0 auto;
    }

    .l3-market-search {
        width: 100%;
    }

    .l3-market-row {
        grid-template-columns: minmax(142px, 1fr) minmax(92px, 0.72fr) minmax(76px, 0.62fr);
        gap: 10px;
        padding: 0 14px;
    }

    .l3-market-row--head span:last-child,
    .l3-trade-link {
        display: none;
    }

    .l3-product {
        min-height: 230px;
        padding: 24px;
    }

    .l3-product--feature {
        min-height: 440px;
    }

    .l3-product__copy {
        max-width: 100%;
    }

    .l3-product--feature img {
        right: -8%;
        width: 85%;
        max-height: 220px;
    }

    .l3-pro-terminal__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .l3-pro-metrics {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .l3-pro-terminal__body {
        grid-template-columns: 1fr;
    }

    .l3-watchlist,
    .l3-order-preview {
        display: none;
    }

    .l3-pro-chart {
        min-height: 330px;
    }

    .l3-discover-grid {
        grid-template-columns: 1fr;
    }

    .l3-discover-card:last-child {
        grid-column: auto;
    }

    .l3-security-visual {
        min-height: 430px;
    }

    .l3-security-chip--one { top: 11%; left: 5%; }
    .l3-security-chip--two { top: 27%; right: 4%; }
    .l3-security-chip--three { bottom: 10%; left: 10%; }

    .l3-mobile-stage {
        min-height: 470px;
    }

    .l3-mobile-actions {
        grid-template-columns: 1fr;
    }

    .l3-final-cta {
        padding-bottom: 88px;
    }

    .l3-final-cta__card {
        min-height: 0;
        padding: 38px 25px;
    }

    .l3-final-cta__actions,
    .l3-final-cta__actions .l3-button {
        width: 100%;
    }
}

@media (max-width: 460px) {
    .l3-market-row {
        grid-template-columns: minmax(132px, 1fr) minmax(78px, 0.7fr);
    }

    .l3-market-change,
    .l3-market-row--head span:nth-child(3) {
        display: none;
    }

    .l3-market-asset img {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .l3-stats strong {
        font-size: 17px;
    }

    .l3-security-chip {
        padding: 8px 10px;
        font-size: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .l3-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .l3-orbit {
        animation: none;
    }

    .l3-button,
    .l3-product,
    .l3-mobile-actions a,
    .l3-inline-link span {
        transition: none;
    }
}
