.mp-page {
    background: var(--lp-bg);
}

.mp-hero {
    position: relative;
    overflow: hidden;
    padding: 22px 0 44px;
    border-bottom: 1px solid var(--lp-border);
    background:
        radial-gradient(circle at 18% 15%, var(--lp-blue-soft), transparent 34%),
        linear-gradient(180deg, var(--lp-bg), var(--lp-bg-strong));
}

.mp-hero > .container {
    max-width: 1360px;
}

.mp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-block-end: 10px;
    color: var(--lp-muted);
    font-size: .76rem;
}

.mp-breadcrumb a {
    color: var(--lp-blue);
    text-decoration: none;
}

.mp-breadcrumb i {
    font-size: .55rem;
}

.mp-hero-grid {
    display: grid;
    /* Give the copy enough room and keep the visual group farther left. */
    grid-template-columns: minmax(330px, .65fr) minmax(590px, 1.35fr);
    align-items: center;
    gap: clamp(24px, 3vw, 48px);
}

.mp-hero h1 {
    max-width: 780px;
    margin: 9px 0 16px;
    color: var(--lp-text);
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -.025em;
}

.mp-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--lp-text-soft);
    font-size: 1rem;
    line-height: 2;
}

.mp-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "prices update" "ratio gold";
    gap: 10px;
    margin-block-start: 24px;
}

.mp-hero-actions .lp-btn {
    width: 100%;
    min-height: 41px;
    padding: 8px 12px;
    font-size: .79rem;
    text-align: center;
}

.mp-hero-action-prices { grid-area: prices; }
.mp-hero-action-ratio { grid-area: ratio; }
.mp-hero-action-gold { grid-area: gold; }

.mp-hero-action-prices,
.mp-hero-action-prices:hover {
    color: #fff;
    border-color: #0a9064;
    background: linear-gradient(135deg, #0c9f6e, #087a58);
}

.mp-hero-action-ratio,
.mp-hero-action-ratio:hover {
    color: #fff;
    border-color: #1769e8;
    background: linear-gradient(135deg, #1769e8, #2e84ff);
}

.mp-hero-action-gold,
.mp-hero-action-gold:hover {
    color: #33240a;
    border-color: #d7a64c;
    background: linear-gradient(135deg, #f6d88b, #e2ac4d);
}

.mp-hero-actions .lp-btn:hover { box-shadow: 0 9px 20px rgba(20, 41, 65, .16); }

.mp-update-card {
    grid-area: update;
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--lp-border);
    border-radius: 17px;
    color: var(--lp-text);
    background: color-mix(in srgb, var(--lp-surface) 90%, transparent);
    box-shadow: var(--lp-shadow-sm);
}

.mp-update-card > i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    border-radius: 9px;
    color: var(--lp-green);
    background: var(--lp-green-soft);
}

.mp-update-card > div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.mp-update-card small {
    color: var(--lp-muted);
    font-size: .67rem;
}

.mp-update-card time,
.mp-update-card strong {
    color: var(--lp-text);
    font-size: .82rem;
    font-weight: 700;
}

.mp-product-stage {
    min-height: 550px;
    display: grid;
    grid-template-columns: 250px minmax(320px, 1fr);
    align-items: center;
    gap: clamp(14px, 1.8vw, 24px);
    padding: 6px 4px 10px;
}

.mp-product-stage::before {
    content: "";
    position: absolute;
    inset: 4% 1% 5%;
    border-radius: 44px;
    background: radial-gradient(circle, var(--lp-blue-soft), transparent 68%);
    filter: blur(12px);
    pointer-events: none;
}

.mp-ratio-demo {
    position: relative;
    z-index: 1;
    width: 110%;
    min-width: 0;
    min-height: 545px;
    display: block;
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    color: inherit;
    text-decoration: none;
    transform: perspective(1300px) rotateY(-4deg) rotate(-1.25deg);
    transform-origin: left center;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.mp-ratio-demo:hover,
.mp-ratio-demo:focus-visible {
    color: inherit;
    text-decoration: none;
    transform: perspective(1300px) rotateY(-2deg) rotate(-.5deg) translateY(-4px);
    border-color: color-mix(in srgb, var(--lp-blue) 46%, var(--lp-border));
    box-shadow: 0 24px 60px color-mix(in srgb, var(--lp-blue) 17%, transparent);
}

.mp-ratio-demo:focus-visible,
.mp-phone-demo:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--lp-blue) 44%, transparent);
    outline-offset: 4px;
}

.mp-ratio-body {
    min-height: 298px;
    display: flex;
    flex-direction: column;
    padding: 18px 2px 6px;
}

.mp-ratio-heading,
.mp-ratio-assets,
.mp-ratio-summary {
    display: flex;
    align-items: center;
}

.mp-ratio-heading {
    justify-content: space-between;
    gap: 16px;
}

.mp-ratio-heading > div {
    display: grid;
    gap: 2px;
}

.mp-ratio-heading small,
.mp-ratio-summary span {
    color: var(--lp-muted);
    font-size: .66rem;
}

.mp-ratio-heading strong {
    color: var(--lp-text);
    font-size: 1rem;
}

.mp-ratio-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--lp-green);
    background: var(--lp-green-soft);
    font-size: .61rem;
    font-weight: 700;
}

.mp-ratio-live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 16%, transparent);
}

.mp-ratio-assets {
    gap: 8px;
    margin-block: 13px 11px;
}

.mp-ratio-assets > span {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    border: 1px solid var(--lp-border);
    border-radius: 9px;
    color: var(--lp-text-soft);
    background: var(--lp-surface-soft);
    font-size: .68rem;
}

.mp-ratio-assets > span i {
    color: var(--lp-blue);
}

.mp-ratio-assets > span b {
    color: var(--lp-text);
    font-size: .63rem;
    font-variant-numeric: tabular-nums;
    unicode-bidi: isolate;
}

.mp-ratio-assets > i {
    color: var(--lp-muted);
    font-size: .65rem;
}

.mp-ratio-summary {
    gap: 7px;
}

.mp-ratio-summary > div {
    min-width: 0;
    display: grid;
    flex: 1;
    gap: 3px;
    padding: 8px 9px;
    border: 1px solid var(--lp-border);
    border-radius: 10px;
    background: var(--lp-surface-soft);
}

.mp-ratio-summary strong {
    overflow: hidden;
    color: var(--lp-text);
    font-size: .75rem;
    font-variant-numeric: tabular-nums;
    text-overflow: ellipsis;
    white-space: nowrap;
    unicode-bidi: isolate;
}

.mp-ratio-chart {
    position: relative;
    min-height: 235px;
    display: flex;
    flex: 1;
    align-items: center;
    margin-block-start: 10px;
    padding: 5px 7px 0;
    border: 1px solid var(--lp-border);
    border-radius: 12px;
    background: var(--lp-surface-soft);
}

.mp-ratio-chart svg {
    width: 95%;
    height: 225px;
    display: block;
    overflow: visible;
}

.mp-chart-grid line {
    stroke: var(--lp-chart-grid);
    stroke-width: 1;
}

.mp-chart-baseline {
    stroke: color-mix(in srgb, var(--lp-muted) 70%, transparent);
    stroke-width: 1.5;
    stroke-dasharray: 6 6;
}

.mp-ratio-area {
    fill: url(#mpRatioArea);
}

.mp-ratio-line {
    fill: none;
    stroke: var(--lp-blue-bright);
    stroke-width: 3.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 4px 5px rgba(36, 124, 255, .22));
}

.mp-ratio-point-halo {
    fill: color-mix(in srgb, var(--lp-blue-bright) 20%, transparent);
}

.mp-ratio-point {
    fill: var(--lp-blue-bright);
    stroke: var(--lp-surface-soft);
    stroke-width: 2;
}

.mp-chart-axis,
.mp-chart-time {
    fill: var(--lp-muted);
    font-family: inherit;
    font-size: 9px;
    font-variant-numeric: tabular-nums;
    direction: ltr;
}

.mp-chart-time {
    font-size: 10px;
}

.mp-chart-mode {
    position: absolute;
    z-index: 2;
    top: 9px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 7px;
    border: 1px solid color-mix(in srgb, var(--lp-blue) 28%, var(--lp-border));
    border-radius: 999px;
    color: var(--lp-blue);
    background: color-mix(in srgb, var(--lp-surface-soft) 90%, transparent);
    font-size: .56rem;
    font-weight: 700;
}

.mp-log-note {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-block-start: 7px;
    color: var(--lp-muted);
    font-size: .59rem;
    line-height: 1.7;
}

.mp-log-note i {
    margin-block-start: 3px;
    color: var(--lp-blue);
}

.mp-ratio-cta,
.mp-phone-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--lp-blue);
    font-size: .67rem;
    font-weight: 500;
}

.mp-ratio-cta {
    margin-block-start: 8px;
}

.mp-phone-demo {
    position: relative;
    z-index: 3;
    right: auto;
    bottom: auto;
    width: 260px;
    min-height: 448px;
    display: flex;
    flex-direction: column;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    justify-self: center;
    padding: 29px 13px 18px;
    overflow: visible;
    border: 8px solid #282d37;
    border-radius: 42px;
    color: #f4f7fb;
    background:
        radial-gradient(circle at 72% 9%, rgba(47, 125, 255, .12), transparent 28%),
        #090d15;
    box-shadow:
        inset 0 0 0 2px rgba(255, 255, 255, .045),
        inset 0 -18px 42px rgba(0, 0, 0, .28),
        0 32px 66px rgba(0, 0, 0, .34);
    text-decoration: none;
    transform: rotate(7.5deg) translate(-8px, 12px);
    transform-origin: center center;
    transition: transform .25s ease, box-shadow .25s ease;
}

.mp-phone-demo::before,
.mp-phone-demo::after {
    content: "";
    position: absolute;
    width: 4px;
    border-radius: 4px 0 0 4px;
    background: #1b2029;
    box-shadow: inset 1px 0 rgba(255, 255, 255, .08);
}

.mp-phone-demo::before {
    top: 105px;
    left: -12px;
    height: 64px;
}

.mp-phone-demo::after {
    top: 130px;
    right: -12px;
    height: 78px;
    border-radius: 0 4px 4px 0;
}

.mp-phone-demo:hover,
.mp-phone-demo:focus-visible {
    color: inherit;
    text-decoration: none;
    transform: rotate(5deg) translate(-10px, 5px);
    box-shadow: 0 30px 68px rgba(0, 0, 0, .34);
}

.mp-phone-speaker {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 76px;
    height: 18px;
    border-radius: 999px;
    background: #020305;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035);
    transform: translateX(-50%);
}

.mp-phone-speaker::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #111b2c;
    box-shadow: inset 0 0 2px rgba(66, 135, 255, .55);
}

.mp-phone-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #778296;
    font-size: .54rem;
}

.mp-watchlist-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-block: 14px 10px;
}

.mp-watchlist-title > span {
    display: grid;
    gap: 1px;
}

.mp-watchlist-title small {
    color: #599bff;
    font-size: .55rem;
    font-weight: 700;
}

.mp-watchlist-title strong {
    color: #f7f9fd;
    font-size: .94rem;
}

.mp-watchlist-title > i {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #f4bf4f;
    background: rgba(244, 191, 79, .12);
    font-size: .72rem;
}

.mp-watch-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin: 0 -2px 11px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 11px;
    color: #8792a5;
    background: rgba(255, 255, 255, .045);
    font-size: .5rem;
    text-align: center;
}

.mp-watch-tabs > * {
    padding: 5px 2px;
    border-radius: 7px;
}

.mp-watch-tabs b {
    color: #fff;
    background: #2b73dc;
}

.mp-watchlist-head,
.mp-watch-row {
    display: grid;
    grid-template-columns: minmax(58px, 1fr) minmax(70px, .95fr) 54px;
    align-items: center;
    gap: 4px;
}

.mp-watchlist-head {
    padding: 0 5px 5px;
    color: #6f7a8d;
    font-size: .5rem;
}

.mp-watchlist {
    display: grid;
    border-block: 1px solid rgba(255, 255, 255, .075);
}

.mp-watch-row {
    min-height: 46px;
    padding: 6px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .065);
}

.mp-watch-row:last-child {
    border-bottom: 0;
}

.mp-watch-asset,
.mp-watch-price,
.mp-watch-changes {
    min-width: 0;
}

.mp-watch-asset {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mp-watch-asset i {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    flex: 0 0 22px;
    border-radius: 7px;
    color: #65a2ff;
    background: rgba(42, 116, 226, .14);
    font-size: .57rem;
}

.mp-watch-asset b {
    overflow-wrap: anywhere;
    color: #f1f4f9;
    font-size: .59rem;
    line-height: 1.45;
}

.mp-watch-price {
    display: grid;
    gap: 1px;
    text-align: start;
}

.mp-watch-price b {
    overflow: hidden;
    color: #f3f6fb;
    font-size: .59rem;
    font-variant-numeric: tabular-nums;
    text-overflow: ellipsis;
    white-space: nowrap;
    unicode-bidi: isolate;
}

.mp-watch-price small {
    color: #747f92;
    font-size: .45rem;
}

.mp-watch-changes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.mp-watch-changes b {
    font-size: .51rem;
    font-variant-numeric: tabular-nums;
    text-align: left;
    unicode-bidi: isolate;
}

.mp-tone-positive {
    color: var(--lp-green) !important;
}

.mp-tone-negative {
    color: var(--lp-red) !important;
}

.mp-tone-neutral {
    color: var(--lp-muted) !important;
}

.mp-phone-cta {
    justify-content: center;
    margin-block-start: auto;
    padding-block-start: 11px;
    color: #68a6ff;
}

.mp-phone-home {
    width: 58px;
    height: 4px;
    margin: 11px auto -7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .42);
}

.mp-market-section,
.mp-source-section {
    padding-block: 78px;
}

.mp-market-section {
    background: var(--lp-bg);
}

.mp-market-card-link {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.mp-market-card-link:hover,
.mp-market-card-link:focus-visible {
    color: inherit;
    text-decoration: none;
    outline: 0;
}

.lp-market-card:focus-within {
    border-color: var(--lp-blue);
    box-shadow: 0 0 0 3px var(--lp-blue-soft), var(--lp-shadow);
}

.mp-market-card-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-block-start: auto;
    padding-block-start: 10px;
    color: var(--lp-blue);
    font-size: .67rem;
    font-weight: 700;
}

.mp-source-section {
    border-block: 1px solid var(--lp-border);
}

.mp-source-section .lp-source-grid {
    max-width: 1040px;
    grid-template-columns: minmax(0, 1fr);
    margin-inline: auto;
}

.lp-source-card {
    scroll-margin-top: 88px;
}

.mp-source-toolbar {
    display: flex;
    justify-content: flex-end;
    padding: 9px 13px;
    border-top: 1px solid var(--lp-border);
    background: var(--lp-surface-soft);
}

.mp-source-toolbar a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border: 1px solid color-mix(in srgb, var(--lp-blue) 35%, var(--lp-border));
    border-radius: 9px;
    color: var(--lp-blue);
    background: var(--lp-blue-soft);
    font-size: .7rem;
    font-weight: 700;
    text-decoration: none;
}

.mp-source-asset-link {
    color: var(--lp-blue);
    font-weight: 700;
    text-underline-offset: 3px;
}

.mp-explainer {
    padding: 70px 0;
    background: var(--lp-bg);
}

.mp-explainer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 36px;
    padding: 32px;
    border: 1px solid var(--lp-border);
    border-radius: 21px;
    background: var(--lp-surface);
    box-shadow: var(--lp-shadow-sm);
}

.mp-explainer h2 {
    margin: 8px 0 10px;
    color: var(--lp-text);
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    font-weight: 700;
}

.mp-explainer p {
    max-width: 790px;
    margin: 0;
    color: var(--lp-text-soft);
    font-size: .9rem;
    line-height: 1.95;
}

.mp-explainer-actions {
    display: grid;
    gap: 9px;
}

.mp-faq {
    padding: 76px 0 96px;
    background: var(--lp-bg-strong);
}

.mp-related { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding-block:20px 32px; }
.mp-related strong { color:var(--lp-muted); font-size:.8rem; }
.mp-related a { padding:7px 11px; border:1px solid var(--lp-border-strong); border-radius:999px; color:var(--lp-text); background:var(--lp-surface); font-size:.78rem; font-weight:700; text-decoration:none; }
.mp-related a:hover { border-color:var(--lp-blue); color:var(--lp-blue); }

.mp-faq-list {
    max-width: 900px;
    display: grid;
    gap: 9px;
    margin-inline: auto;
}

.mp-faq-list details {
    overflow: hidden;
    border: 1px solid var(--lp-border);
    border-radius: 13px;
    background: var(--lp-surface);
}

.mp-faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 19px;
    color: var(--lp-text);
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.mp-faq-list summary::-webkit-details-marker {
    display: none;
}

.mp-faq-list summary i {
    color: var(--lp-muted);
    font-size: .65rem;
    transition: transform .2s ease;
}

.mp-faq-list details[open] summary i {
    transform: rotate(180deg);
}

.mp-faq-list p {
    margin: 0;
    padding: 0 19px 18px;
    color: var(--lp-text-soft);
    font-size: .82rem;
    line-height: 1.95;
}

@media (max-width: 991.98px) {
    .mp-hero-grid {
        grid-template-columns: 1fr;
    }

    .mp-product-stage {
        width: min(100%, 760px);
        margin-inline: auto;
    }

    .mp-explainer-grid {
        grid-template-columns: 1fr;
    }

    .mp-explainer-actions {
        display: flex;
        flex-wrap: wrap;
    }
}

@media (max-width: 767.98px) {
    .mp-hero {
        padding: 18px 0 40px;
    }

    .mp-breadcrumb {
        margin-block-end: 12px;
    }

    .mp-hero h1 {
        font-size: clamp(1.3rem, 5.8vw, 1.75rem);
    }

    .mp-product-stage {
        min-height: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 8px 0 0;
    }

    .mp-phone-demo {
        position: relative;
        right: auto;
        bottom: auto;
        width: min(280px, 92vw);
        min-height: 410px;
        grid-column: 1;
        grid-row: 1;
        margin-inline: auto;
        transform: none;
    }

    .mp-ratio-demo {
        width: 100%;
        min-height: 0;
        grid-column: 1;
        grid-row: 2;
        transform: none;
    }

    .mp-ratio-body {
        min-height: 0;
        padding: 15px;
    }

    .mp-ratio-assets,
    .mp-ratio-summary {
        align-items: stretch;
        flex-direction: column;
    }

    .mp-ratio-assets > i {
        align-self: center;
    }

    .mp-ratio-summary > div {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .mp-ratio-chart {
        min-height: 0;
    }

    .mp-ratio-chart svg {
        height: 122px;
    }

    .mp-hero-actions,
    .mp-explainer-actions {
        display: flex;
        align-items: stretch;
        flex-direction: column;
    }

    .mp-update-card {
        max-width: 430px;
        margin-block-start: 12px;
        padding: 20px;
    }

    .mp-update-card > i {
        width: 45px;
        height: 45px;
        flex-basis: 45px;
        border-radius: 12px;
    }

    .mp-source-section .lp-table-scroll {
        overflow-x: visible;
    }

    .mp-source-section .lp-source-card table {
        width: 100%;
        min-width: 0;
        table-layout: fixed;
    }

    .mp-source-section .lp-source-card th,
    .mp-source-section .lp-source-card td {
        padding: 9px 5px;
        font-size: .64rem;
        overflow-wrap: anywhere;
    }

    .mp-source-section .lp-source-card th:nth-child(1),
    .mp-source-section .lp-source-card td:nth-child(1) { width: 32%; }
    .mp-source-section .lp-source-card th:nth-child(2),
    .mp-source-section .lp-source-card td:nth-child(2) { width: 42%; }
    .mp-source-section .lp-source-card th:nth-child(3),
    .mp-source-section .lp-source-card td:nth-child(3) { width: 26%; }

    .mp-source-section .lp-source-card td:nth-child(2) {
        font-size: .62rem;
        white-space: nowrap;
    }

    .mp-source-section .lp-status {
        min-width: 0;
        padding: 2px 5px;
        font-size: .57rem;
    }

    .mp-market-section,
    .mp-source-section,
    .mp-explainer,
    .mp-faq {
        padding-block: 58px;
    }

    .mp-explainer-grid {
        padding: 22px;
    }
}
