:root {
    --landing-bg: #f2f3f5;
    --landing-card: #ffffff;
    --landing-ink: #1a1a1a;
    --landing-muted: #92969d;
    --landing-line: #e4e7eb;
    --landing-accent: #6b46e5;
    --landing-accent-soft: rgba(107, 70, 229, 0.12);
    --landing-shadow: 0 24px 64px rgba(36, 31, 66, 0.08);
    --landing-shadow-soft: 0 18px 40px rgba(36, 31, 66, 0.06);
    --landing-dark: #2e2c52;
    --landing-positive: #22c55e;
    --landing-negative: #ef4444;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.landing-body {
    margin: 0;
    font-family: "Nunito Sans", sans-serif;
    color: var(--landing-ink);
    background:
        radial-gradient(circle at top center, rgba(107, 70, 229, 0.12), transparent 18%),
        linear-gradient(180deg, #f4f5f7 0%, var(--landing-bg) 100%);
}

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

button,
input {
    font: inherit;
}

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

.landing-page {
    min-height: 100vh;
}

.landing-main,
.landing-footer__inner {
    width: min(1280px, calc(100% - 160px));
    margin: 0 auto;
}

.landing-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 40;
    padding: 24px 0 0;
    transition: background-color 260ms ease, box-shadow 260ms ease, backdrop-filter 260ms ease;
}

.landing-header.is-scrolled {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px rgba(36, 31, 66, 0.06);
}

.landing-header__inner {
    width: min(1280px, calc(100% - 160px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 84px;
    padding: 20px 0;
}

.landing-header__right {
    display: flex;
    align-items: center;
    gap: 60px;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: "Sofia Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.landing-brand span {
    white-space: nowrap;
}

.landing-brand img {
    width: 40px;
    height: 40px;
}

.landing-nav {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.landing-nav__pill {
    padding: 12px 16px;
    border-radius: 16px;
    background: #ffffff;
    font-family: "Sofia Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--landing-ink);
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.landing-nav__pill:hover,
.landing-nav__pill.is-active {
    background: rgba(107, 70, 229, 0.16);
    color: var(--landing-accent);
}

.landing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 32px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.landing-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(107, 70, 229, 0.18);
}

.landing-button--compact {
    min-height: 44px;
    padding-inline: 32px;
}

.landing-session-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(228, 231, 235, 0.9);
    box-shadow: var(--landing-shadow-soft);
}

.landing-session-pill__avatar {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ec5e44, #d41e59);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.landing-session-pill__meta {
    display: grid;
    gap: 2px;
}

.landing-session-pill__meta strong {
    font-size: 14px;
    line-height: 1.2;
}

.landing-session-pill__meta small {
    color: var(--landing-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.landing-button--solid {
    background: var(--landing-accent);
    color: #ffffff;
}

.landing-button--outline {
    border-color: rgba(107, 70, 229, 0.28);
    background: transparent;
    color: var(--landing-accent);
}

.landing-main {
    display: grid;
    gap: 96px;
    padding: 148px 0 120px;
}

.landing-hero {
    position: relative;
    display: grid;
    gap: 40px;
    justify-items: center;
    padding-top: 44px;
    scroll-margin-top: 140px;
}

.landing-hero__coin {
    position: absolute;
    z-index: 0;
}

.landing-hero__coin img {
    width: 72px;
    height: 72px;
}

.landing-hero__coin--btc {
    top: 110px;
    left: 60px;
}

.landing-hero__coin--sol {
    top: 230px;
    left: 90px;
}

.landing-hero__coin--bnb {
    top: 112px;
    right: 60px;
}

.landing-hero__coin--xrp {
    top: 230px;
    right: 94px;
}

.landing-hero::before,
.landing-hero::after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.landing-hero::before {
    display: none;
}

.landing-hero::after {
    display: none;
}

.landing-hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 24px;
    width: min(840px, 100%);
    text-align: center;
}

.landing-eyebrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: fit-content;
    margin: 0 auto;
    padding: 0 14px;
    color: var(--landing-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.15;
    text-transform: uppercase;
}

.landing-eyebrow::before,
.landing-eyebrow::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 7px;
}

.landing-eyebrow::before {
    top: -3px;
    right: 0;
    border-top: 2px solid rgba(107, 70, 229, 0.9);
    border-right: 2px solid rgba(107, 70, 229, 0.9);
    border-top-right-radius: 5px;
}

.landing-eyebrow::after {
    left: 0;
    bottom: -3px;
    border-bottom: 2px solid rgba(107, 70, 229, 0.9);
    border-left: 2px solid rgba(107, 70, 229, 0.9);
    border-bottom-left-radius: 5px;
}

.landing-eyebrow__icon {
    display: none;
}

.landing-hero h1 {
    margin: 0;
    max-width: 860px;
    margin-inline: auto;
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    line-height: 1.14;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.landing-section__heading h2 {
    margin: 0;
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.landing-hero p,
.landing-section__heading p,
.landing-benefit-card p,
.landing-feature-card p,
.landing-faq-card p,
.landing-footer p,
.landing-footer span {
    margin: 0;
    color: var(--landing-muted);
    line-height: 1.65;
}

.landing-hero p {
    max-width: 540px;
    margin-inline: auto;
    font-family: "Sofia Sans", sans-serif;
    font-size: 18px;
    text-wrap: pretty;
}

.landing-hero__actions {
    display: inline-flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.landing-convert-card,
.landing-card,
.landing-benefit-card {
    background: var(--landing-card);
    border: 1px solid rgba(228, 231, 235, 0.8);
    box-shadow: var(--landing-shadow);
}

.landing-convert-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    width: min(1280px, 100%);
    padding: 16px 18px;
    border-radius: 28px;
}

.landing-convert-card__field {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 0;
    height: 58px;
    padding: 0 18px 0 22px;
    border-radius: 16px;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
}

.landing-convert-card__label {
    flex: 1 1 auto;
    font-size: 16px;
    font-weight: 600;
    color: var(--landing-ink);
}

.landing-convert-card__field-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    flex-shrink: 0;
    min-width: 132px;
}

.landing-convert-card__selector {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
    min-height: 26px;
    padding: 0;
    border: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    color: inherit;
    cursor: pointer;
}

.landing-convert-card__value {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 24px;
    font-size: 16px;
    font-weight: 700;
}

.landing-convert-card__value img,
.landing-convert-card__option img,
.landing-convert-card__fallback {
    width: 24px;
    height: 24px;
}

.landing-convert-card__currency-meta,
.landing-convert-card__option-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.landing-convert-card__currency-meta strong,
.landing-convert-card__option-copy strong {
    line-height: 1.2;
}

.landing-convert-card__currency-meta small,
.landing-convert-card__option-copy small {
    color: var(--landing-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.landing-convert-card__chevron {
    display: none;
}

.landing-convert-card__menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: auto;
    z-index: 12;
    display: grid;
    gap: 6px;
    width: max-content;
    min-width: 232px;
    max-width: min(280px, calc(100vw - 32px));
    max-height: 280px;
    overflow-y: auto;
    padding: 10px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(228, 231, 235, 0.9);
    box-shadow: var(--landing-shadow);
}

.landing-convert-card__menu[hidden] {
    display: none;
}

.landing-convert-card__option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-radius: 16px;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background-color 160ms ease;
}

.landing-convert-card__option:hover,
.landing-convert-card__option.is-active {
    background: rgba(107, 70, 229, 0.08);
}

.landing-convert-card__option-type {
    margin-left: auto;
    padding-left: 12px;
    color: var(--landing-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-convert-card__fallback {
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(107, 70, 229, 0.12);
    color: var(--landing-accent);
    font-size: 12px;
    font-weight: 800;
}

.landing-convert-card__swap {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    align-self: center;
    justify-self: center;
}

.landing-convert-card__swap img {
    width: 18px;
    height: 18px;
    opacity: 1;
}

.landing-convert-card__submit {
    min-width: 166px;
    min-height: 52px;
    padding-inline: 34px;
    border-radius: 18px;
}

.landing-section {
    display: grid;
    gap: 40px;
    scroll-margin-top: 140px;
}

.landing-section__heading {
    display: grid;
    gap: 16px;
    max-width: 760px;
}

.landing-section--faq {
    gap: 28px;
}

.landing-section__heading--faq {
    max-width: none;
    gap: 12px;
    justify-items: start;
}

.landing-section__heading--faq h2 {
    max-width: none;
    font-size: clamp(1.85rem, 2.95vw, 2.75rem);
    line-height: 1.18;
    white-space: nowrap;
}

.landing-section__heading--faq .landing-eyebrow {
    margin: 0;
    justify-self: start;
}

.landing-section__heading--center {
    justify-items: center;
    max-width: none;
    text-align: center;
}

.landing-section__heading--feature {
    align-content: start;
    max-width: none;
    gap: 18px;
}

.landing-eyebrow--left {
    margin: 0;
}

.landing-market {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 16px;
}

.landing-card {
    border-radius: 24px;
}

.landing-market__list,
.landing-market__featured,
.landing-feature-card,
.landing-faq-card {
    padding: 32px;
}

.landing-market__rows {
    display: grid;
    gap: 12px;
}

.landing-asset-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 12px 16px;
    border: 0;
    border-radius: 20px;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background-color 160ms ease;
}

.landing-asset-row.is-active {
    background: #f3efff;
}

.landing-asset-row__meta,
.landing-asset-row__value,
.landing-market__featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.landing-asset-row__meta img,
.landing-market__featured-badge img {
    width: 40px;
    height: 40px;
}

.landing-asset-badge img {
    width: 24px;
    height: 24px;
}

.landing-asset-row__fallback {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--landing-accent-soft);
    color: var(--landing-accent);
    font-weight: 800;
}

.landing-asset-row__meta strong,
.landing-market__featured-badge strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 1.2;
}

.landing-benefit-card h3,
.landing-feature-card h3,
.landing-faq-card h3 {
    display: block;
    margin-bottom: 4px;
    font-size: 28px;
    line-height: 1.2;
}

.landing-asset-row__meta small,
.landing-market__featured-badge small {
    color: var(--landing-muted);
}

.landing-asset-row__stats {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.landing-asset-row__metric {
    display: grid;
    gap: 4px;
    justify-items: end;
    min-width: 88px;
}

.landing-asset-row__delta-value {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.landing-asset-row__delta {
    min-width: 0;
    font-size: 12px;
    font-weight: 800;
    text-align: right;
}

.landing-asset-row__delta.is-positive {
    color: var(--landing-positive);
}

.landing-asset-row__delta.is-negative {
    color: var(--landing-negative);
}

.landing-asset-row__chart {
    width: 84px;
    height: 26px;
}

.landing-chart-svg {
    width: 100%;
    height: 100%;
}

.landing-market__featured {
    display: grid;
    gap: 24px;
}

.landing-market__featured-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.landing-market__featured-price {
    text-align: right;
}

.landing-market__featured-price strong {
    display: block;
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1;
}

.landing-market__featured-price-meta {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 10px;
}

.landing-market__featured-price span {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: var(--landing-positive);
    font-size: 14px;
    font-weight: 800;
}

.landing-market__featured-price-meta small {
    color: var(--landing-positive);
    font-size: 14px;
    font-weight: 800;
}

.landing-market__featured-price span.is-negative {
    background: rgba(239, 68, 68, 0.12);
    color: var(--landing-negative);
}

.landing-market__featured-price-meta small.is-negative {
    color: var(--landing-negative);
}

.landing-market__featured-plot {
    height: 320px;
}

.landing-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.landing-benefit-card {
    display: grid;
    gap: 20px;
    padding: 32px;
    border-radius: 24px;
    text-align: center;
    justify-items: center;
}

.landing-benefit-card img {
    width: 52px;
    height: 52px;
}

.landing-benefit-card.is-accent {
    background: linear-gradient(135deg, #6b46e5 0%, #7f5bf0 100%);
    color: #ffffff;
}

.landing-benefit-card.is-accent p {
    color: rgba(255, 255, 255, 0.82);
}

.landing-section--features {
    grid-template-columns: 1fr;
    gap: 32px;
}

.landing-feature-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.landing-section__inline-cta {
    flex-shrink: 0;
    width: fit-content;
    min-height: 52px;
    padding-inline: 32px;
}

.landing-section__heading--feature h2 {
    max-width: none;
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    line-height: 1.18;
    white-space: nowrap;
}

.landing-section__heading--feature p {
    flex: 1 1 auto;
    max-width: 66ch;
    font-family: "Sofia Sans", sans-serif;
    font-size: 20px;
    line-height: 1.45;
    text-wrap: pretty;
}

.landing-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.landing-feature-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    align-content: start;
    padding: 32px;
    min-height: 0;
    border: 0;
    box-shadow: none;
}

.landing-feature-card h3 {
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 0;
}

.landing-feature-card p {
    max-width: none;
    font-size: 16px;
    line-height: 1.5;
    grid-column: 2;
}

.landing-feature-card img {
    width: 48px;
    height: 48px;
    padding: 10px;
    background: var(--landing-accent-soft);
    border-radius: 14px;
    grid-row: 1 / 3;
}

.landing-section--ecosystem {
    justify-items: center;
}

.landing-asset-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.landing-asset-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 16px;
    background: #ffffff;
    font-weight: 700;
    font-size: 14px;
}

.landing-section__cta {
    display: flex;
    justify-content: center;
}

.landing-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.landing-faq-card {
    display: grid;
    gap: 14px;
    box-shadow: none;
}

.landing-faq-card h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -0.025em;
    font-weight: 700;
    text-decoration: none;
}

.landing-faq-card p {
    font-size: 14px;
    line-height: 1.55;
}

.landing-empty-card {
    padding: 24px;
    border-radius: 18px;
    background: #f8f8f8;
    color: var(--landing-muted);
}

.landing-footer {
    background: var(--landing-dark);
    color: #ffffff;
}

.landing-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
    gap: 48px;
    padding: 72px 0;
}

.landing-brand--footer {
    color: #ffffff;
}

.landing-footer__brand {
    display: grid;
    gap: 20px;
}

.landing-footer__brand p {
    max-width: 440px;
    color: rgba(255, 255, 255, 0.74);
}

.landing-footer__columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
}

.landing-footer__columns section {
    display: grid;
    align-content: start;
    gap: 12px;
}

.landing-footer__columns h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.landing-footer__columns a,
.landing-footer__columns span {
    color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 1180px) {
    .landing-header__inner,
    .landing-market,
    .landing-footer__inner {
        grid-template-columns: 1fr;
    }

    .landing-header__inner {
        display: grid;
        justify-items: center;
    }

    .landing-convert-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .landing-convert-card__swap {
        justify-self: center;
    }

    .landing-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .landing-header__inner,
    .landing-main,
    .landing-footer__inner {
        width: min(100%, calc(100% - 24px));
    }

    .landing-main {
        gap: 72px;
        padding-top: 152px;
    }

    .landing-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .landing-hero {
        padding-top: 32px;
    }

    .landing-hero__coin {
        display: none;
    }

    .landing-hero::before,
    .landing-hero::after {
        display: none;
    }

    .landing-benefits,
    .landing-feature-grid,
    .landing-faq-grid,
    .landing-footer__columns {
        grid-template-columns: 1fr;
    }

    .landing-market__featured-header,
    .landing-asset-row,
    .landing-asset-row__stats {
        align-items: flex-start;
        flex-direction: column;
    }

    .landing-asset-row__stats {
        width: 100%;
    }

    .landing-asset-row__delta {
        min-width: 0;
        text-align: left;
    }

    .landing-feature-heading-row {
        flex-direction: column;
        gap: 16px;
    }

    .landing-hero p,
    .landing-section__heading--feature h2,
    .landing-section__heading--faq h2 {
        white-space: normal;
    }
}

@media (max-width: 640px) {
    .landing-header__inner {
        gap: 16px;
        padding: 16px;
    }

    .landing-brand {
        font-size: 20px;
    }

    .landing-nav {
        width: 100%;
        justify-content: center;
    }

    .landing-nav__pill {
        flex: 1 1 calc(50% - 8px);
        text-align: center;
    }

    .landing-button,
    .landing-convert-card__submit,
    .landing-session-pill {
        width: 100%;
    }

    .landing-market__list,
    .landing-market__featured,
    .landing-feature-card,
    .landing-faq-card,
    .landing-benefit-card,
    .landing-convert-card {
        padding: 24px;
    }
}
