/* Dark premium landing — subtle sage green + editorial serif */

.page-home--premium .lp-hero.lp-screen {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    text-align: center;
    padding:
        calc(var(--landing-header-clearance, 146px) + 24px)
        clamp(20px, 4vw, 48px)
        clamp(56px, 10vw, 96px);
}

.page-home--premium .lp-hero.lp-screen .lp-hero__copy {
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ─── Floating hero coins (YeMedia-style scatter) ─── */
.page-home--premium .lp-coin-field {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
}

.page-home--premium .lp-coin {
    --lp-coin-size: 96px;
    --lp-coin-rot: 0deg;
    position: absolute;
    width: var(--lp-coin-size);
    aspect-ratio: 1;
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--lp-coin-rot)) scale(1);
    animation: lpCoinFloat 7s ease-in-out infinite;
}

body.page-home--premium.lp-loaded .lp-coin {
    transition:
        opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-home--premium .lp-coin__card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
        rgba(18, 22, 32, 0.88);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 22px 48px rgba(0, 0, 0, 0.55),
        0 0 40px rgba(var(--accent-rgb), 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.page-home--premium .lp-coin__card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 42%, rgba(var(--accent-rgb), 0.12));
    pointer-events: none;
}

.page-home--premium .lp-coin__img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.page-home--premium .lp-coin__card:has(.lp-coin__img) .lp-coin__placeholder {
    display: none;
}

.page-home--premium .lp-coin__placeholder {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 22%, rgba(var(--accent-rgb), 0.22), transparent 52%),
        radial-gradient(circle at 72% 78%, rgba(255, 255, 255, 0.08), transparent 48%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
}

.page-home--premium .lp-coin__placeholder::after {
    content: "";
    width: 34%;
    height: 34%;
    border-radius: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18) inset;
}

.page-home--premium .lp-coin--1 {
    --lp-coin-size: clamp(72px, 7vw, 88px);
    --lp-coin-rot: -8deg;
    left: 6%;
    top: 16%;
    animation-delay: 0s;
    transition-delay: 0.08s;
}

.page-home--premium .lp-coin--2 {
    --lp-coin-size: clamp(84px, 8vw, 104px);
    --lp-coin-rot: 5deg;
    left: 10%;
    top: 42%;
    animation-delay: -1.4s;
    transition-delay: 0.16s;
}

.page-home--premium .lp-coin--3 {
    --lp-coin-size: clamp(68px, 6.5vw, 80px);
    --lp-coin-rot: -4deg;
    left: 18%;
    top: 66%;
    animation-delay: -2.8s;
    transition-delay: 0.24s;
}

.page-home--premium .lp-coin--4 {
    --lp-coin-size: clamp(76px, 7vw, 92px);
    --lp-coin-rot: 7deg;
    left: 4%;
    bottom: 12%;
    top: auto;
    transform: translate(-50%, 50%) rotate(var(--lp-coin-rot)) scale(0.92);
    animation-delay: -0.8s;
    transition-delay: 0.32s;
}

body.page-home--premium.lp-loaded .lp-coin--4 {
    transform: translate(-50%, 50%) rotate(var(--lp-coin-rot)) scale(1);
}

.page-home--premium .lp-coin--5 {
    --lp-coin-size: clamp(80px, 7.5vw, 96px);
    --lp-coin-rot: 9deg;
    right: 5%;
    left: auto;
    top: 10%;
    transform: translate(50%, -50%) rotate(var(--lp-coin-rot)) scale(0.92);
    animation-delay: -3.6s;
    transition-delay: 0.12s;
}

body.page-home--premium.lp-loaded .lp-coin--5 {
    transform: translate(50%, -50%) rotate(var(--lp-coin-rot)) scale(1);
}

.page-home--premium .lp-coin--6 {
    --lp-coin-size: clamp(96px, 10vw, 128px);
    --lp-coin-rot: -5deg;
    right: 16%;
    left: auto;
    top: 22%;
    transform: translate(50%, -50%) rotate(var(--lp-coin-rot)) scale(0.92);
    animation-delay: -2.1s;
    transition-delay: 0.2s;
}

body.page-home--premium.lp-loaded .lp-coin--6 {
    transform: translate(50%, -50%) rotate(var(--lp-coin-rot)) scale(1);
}

.page-home--premium .lp-coin--7 {
    --lp-coin-size: clamp(72px, 7vw, 88px);
    --lp-coin-rot: 6deg;
    right: 7%;
    left: auto;
    top: 48%;
    transform: translate(50%, -50%) rotate(var(--lp-coin-rot)) scale(0.92);
    animation-delay: -4.2s;
    transition-delay: 0.28s;
}

body.page-home--premium.lp-loaded .lp-coin--7 {
    transform: translate(50%, -50%) rotate(var(--lp-coin-rot)) scale(1);
}

.page-home--premium .lp-coin--8 {
    --lp-coin-size: clamp(84px, 8vw, 104px);
    --lp-coin-rot: -6deg;
    right: 10%;
    left: auto;
    bottom: 14%;
    top: auto;
    transform: translate(50%, 50%) rotate(var(--lp-coin-rot)) scale(0.92);
    animation-delay: -1.8s;
    transition-delay: 0.36s;
}

body.page-home--premium.lp-loaded .lp-coin--8 {
    transform: translate(50%, 50%) rotate(var(--lp-coin-rot)) scale(1);
}

@keyframes lpCoinFloat {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
}

@media (max-width: 1100px) {
    .page-home--premium .lp-coin--3,
    .page-home--premium .lp-coin--4 {
        opacity: 0.72;
        visibility: visible;
    }
}

@media (max-width: 900px) {
    .page-home--premium .lp-coin--3,
    .page-home--premium .lp-coin--4,
    .page-home--premium .lp-coin--7,
    .page-home--premium .lp-coin--8 {
        opacity: 0.72;
        visibility: visible;
    }
}

@media (max-width: 640px) {
    .page-home--premium .lp-hero.lp-screen {
        overflow: hidden;
        padding-inline: 12px;
    }

    .page-home--premium .lp-hero.lp-screen .lp-hero__copy {
        max-width: min(100%, 320px);
        padding-inline: 6px;
    }

    .page-home--premium .lp-coin-field {
        inset: clamp(76px, 12vh, 104px) 0 clamp(20px, 4vh, 32px);
        z-index: 0;
    }

    .page-home--premium .lp-coin {
        --lp-coin-size: clamp(48px, 12.5vw, 58px) !important;
        opacity: 0.94 !important;
        visibility: visible !important;
        animation-duration: 8s;
    }

    .page-home--premium .lp-coin__card {
        border-radius: 14px;
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.06) inset,
            0 10px 24px rgba(0, 0, 0, 0.42);
    }

    /* Keep full coins inside the viewport (no ±50% X shift off-screen). */
    .page-home--premium .lp-coin--1,
    body.page-home--premium.lp-loaded .lp-coin--1 {
        left: 8px;
        right: auto;
        top: 11%;
        bottom: auto;
        transform: translate(0, -50%) rotate(var(--lp-coin-rot)) scale(1) !important;
    }

    .page-home--premium .lp-coin--2,
    body.page-home--premium.lp-loaded .lp-coin--2 {
        left: 10px;
        right: auto;
        top: 24%;
        bottom: auto;
        transform: translate(0, -50%) rotate(var(--lp-coin-rot)) scale(1) !important;
    }

    .page-home--premium .lp-coin--3,
    body.page-home--premium.lp-loaded .lp-coin--3 {
        left: 8px;
        right: auto;
        top: auto;
        bottom: 24%;
        transform: translate(0, 50%) rotate(var(--lp-coin-rot)) scale(1) !important;
    }

    .page-home--premium .lp-coin--4,
    body.page-home--premium.lp-loaded .lp-coin--4 {
        left: 10px;
        right: auto;
        top: auto;
        bottom: 10%;
        transform: translate(0, 50%) rotate(var(--lp-coin-rot)) scale(1) !important;
    }

    .page-home--premium .lp-coin--5,
    body.page-home--premium.lp-loaded .lp-coin--5 {
        right: 8px;
        left: auto;
        top: 11%;
        bottom: auto;
        transform: translate(0, -50%) rotate(var(--lp-coin-rot)) scale(1) !important;
    }

    .page-home--premium .lp-coin--6,
    body.page-home--premium.lp-loaded .lp-coin--6 {
        right: 10px;
        left: auto;
        top: 24%;
        bottom: auto;
        transform: translate(0, -50%) rotate(var(--lp-coin-rot)) scale(1) !important;
    }

    .page-home--premium .lp-coin--7,
    body.page-home--premium.lp-loaded .lp-coin--7 {
        right: 8px;
        left: auto;
        top: auto;
        bottom: 24%;
        transform: translate(0, 50%) rotate(var(--lp-coin-rot)) scale(1) !important;
    }

    .page-home--premium .lp-coin--8,
    body.page-home--premium.lp-loaded .lp-coin--8 {
        right: 10px;
        left: auto;
        top: auto;
        bottom: 10%;
        transform: translate(0, 50%) rotate(var(--lp-coin-rot)) scale(1) !important;
    }
}

@media (max-width: 640px) {
    @keyframes lpCoinFloat {
        0%, 100% { translate: 0 0; }
        50% { translate: 0 -4px; }
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-home--premium .lp-coin {
        animation: none !important;
        opacity: 1 !important;
        transition: none !important;
    }

    @media (min-width: 641px) {
        .page-home--premium .lp-coin {
            transform: translate(-50%, -50%) rotate(var(--lp-coin-rot)) scale(1) !important;
        }

        .page-home--premium .lp-coin--4,
        body.page-home--premium.lp-loaded .lp-coin--4 {
            transform: translate(-50%, 50%) rotate(var(--lp-coin-rot)) scale(1) !important;
        }

        .page-home--premium .lp-coin--5,
        .page-home--premium .lp-coin--6,
        .page-home--premium .lp-coin--7,
        body.page-home--premium.lp-loaded .lp-coin--5,
        body.page-home--premium.lp-loaded .lp-coin--6,
        body.page-home--premium.lp-loaded .lp-coin--7 {
            transform: translate(50%, -50%) rotate(var(--lp-coin-rot)) scale(1) !important;
        }

        .page-home--premium .lp-coin--8,
        body.page-home--premium.lp-loaded .lp-coin--8 {
            transform: translate(50%, 50%) rotate(var(--lp-coin-rot)) scale(1) !important;
        }
    }
}

.landing-nav__icon-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, opacity 0.2s;
}

.landing-nav__icon-btn svg {
    width: 15px;
    height: 15px;
}

.landing-nav__icon-btn:hover {
    color: var(--text-primary);
    background: transparent;
    opacity: 0.92;
}

.page-home--premium .lp-aurora {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 50% 40% at 20% 20%, rgba(var(--accent-rgb), 0.08), transparent 55%),
        radial-gradient(ellipse 45% 35% at 80% 30%, rgba(var(--accent-rgb), 0.05), transparent 50%),
        radial-gradient(ellipse 60% 45% at 50% 90%, rgba(var(--accent-rgb), 0.06), transparent 60%);
    animation: fundAurora 18s ease-in-out infinite alternate;
}

@keyframes fundAurora {
    0% { transform: translate(0, 0) scale(1); opacity: 0.45; }
    100% { transform: translate(-2%, 2%) scale(1.04); opacity: 0.65; }
}

.page-home--premium .lp-orb--1,
.page-home--premium .lp-orb--2 {
    display: block;
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.22;
    pointer-events: none;
}

.page-home--premium .lp-orb--1 {
    width: 420px;
    height: 420px;
    top: 8%;
    left: -8%;
    background: rgba(var(--accent-rgb), 0.18);
}

.page-home--premium .lp-orb--2 {
    width: 360px;
    height: 360px;
    bottom: 12%;
    right: -6%;
    background: rgba(var(--accent-rgb), 0.12);
}

.landing-nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    margin-right: 8px;
}

.landing-nav__link {
    padding: 8px 14px;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease;
}

.landing-nav__link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 720px) {
    .landing-nav__links {
        display: none;
    }
}

.fund-token-ca.lp-ca-strip {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    margin: 0 auto 22px;
    min-height: 40px;
    padding: 6px 7px 6px 8px;
}

.fund-token-ca .lp-ca-strip__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(var(--accent-rgb), 0.28);
    background:
        linear-gradient(180deg, rgba(var(--accent-rgb), 0.28), rgba(var(--accent-rgb), 0.12)),
        rgba(0, 0, 0, 0.18);
    color: var(--accent-light);
    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.fund-token-ca .lp-ca-strip__value {
    font-size: 13px;
    letter-spacing: 0.01em;
}

.fund-token-ca .lp-ca-strip__action {
    min-height: 30px;
    padding: 0 14px;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.fund-token-ca.is-empty {
    cursor: default;
}

.fund-token-ca.is-empty .lp-ca-strip__action {
    display: none;
}

.fund-token-ca.is-empty .lp-ca-strip__value {
    color: rgba(250, 250, 250, 0.55);
    font-weight: 600;
}

.fund-token-ca:disabled:hover {
    transform: none;
    border-color: rgba(var(--accent-rgb), 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        rgba(12, 15, 22, 0.58);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 14px 34px rgba(0, 0, 0, 0.14);
}

.fund-token-ca.is-copied {
    border-color: rgba(74, 222, 128, 0.42);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 0 0 1px rgba(74, 222, 128, 0.12),
        0 14px 34px rgba(0, 0, 0, 0.14);
}

.fund-title__accent {
    background: linear-gradient(135deg, #b8dcc8 0%, var(--accent-light) 42%, #dceee4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.fund-ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        rgba(12, 15, 22, 0.55);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.lp-cta-btn,
.lp-cta-btn:hover,
.lp-cta-btn:focus,
.lp-cta-btn:focus-visible {
    text-decoration: none;
}

.lp-cta-btn .metal-shine-button__label,
.lp-cta-btn .lp-btn-glow__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lp-cta-btn__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.fund-ghost-btn:hover {
    border-color: rgba(var(--accent-rgb), 0.28);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 32px rgba(var(--accent-rgb), 0.08);
}

.metal-card {
    position: relative;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
        rgba(10, 13, 20, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 20px 50px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.metal-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02) 40%, rgba(var(--accent-rgb), 0.16));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.55;
}

.fund-stats {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px) clamp(48px, 6vw, 72px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.fund-stat {
    padding: 26px 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fund-stat:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 0 1px rgba(var(--accent-rgb), 0.1) inset,
        0 24px 56px rgba(0, 0, 0, 0.5),
        0 0 36px rgba(var(--accent-rgb), 0.06);
}

.fund-stat--accent .fund-stat__value {
    color: var(--accent-light);
}

.fund-stat__value {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 3vw, 2.45rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.fund-stat__label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.fund-stat__desc {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.fund-section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px) clamp(56px, 7vw, 88px);
}

.fund-section__title {
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 0 0 12px;
    max-width: 16ch;
}

.fund-section__lead {
    max-width: 54ch;
    margin: 0 0 32px;
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 1.02rem;
    font-family: var(--font-sans);
}

.fund-about {
    text-align: center;
    padding-bottom: clamp(32px, 5vw, 48px);
}

.fund-about .fund-section__title {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.fund-about__copy {
    max-width: 62ch;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    font-family: var(--font-sans);
}

.fund-about__copy strong {
    color: var(--text-primary);
    font-weight: 600;
}

.fund-steps-section .fund-section__title,
.fund-ecosystem .fund-section__title {
    max-width: none;
}

.fund-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.fund-step {
    padding: 24px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fund-step:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 0 1px rgba(var(--accent-rgb), 0.1) inset,
        0 24px 56px rgba(0, 0, 0, 0.5),
        0 0 36px rgba(var(--accent-rgb), 0.06);
}

.fund-step__index {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--accent-light);
    margin-bottom: 12px;
    opacity: 0.85;
}

.fund-step__title {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--text-primary);
}

.fund-step__desc {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.fund-ecosystem__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.fund-eco-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: clamp(22px, 3vw, 28px);
    text-decoration: none;
    color: inherit;
    min-height: 240px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.fund-eco-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 0 0 1px rgba(var(--accent-rgb), 0.12) inset,
        0 28px 60px rgba(0, 0, 0, 0.55),
        0 0 48px rgba(var(--accent-rgb), 0.07);
}

.fund-eco-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    background: rgba(var(--accent-rgb), 0.08);
    color: var(--accent-light);
    margin-bottom: 4px;
}

.fund-eco-card__icon svg {
    width: 20px;
    height: 20px;
}

.fund-eco-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0;
}

.fund-eco-card p {
    margin: 0;
    flex: 1;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.fund-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.fund-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 340px;
    padding: clamp(22px, 3vw, 32px);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fund-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 0 0 1px rgba(var(--accent-rgb), 0.12) inset,
        0 28px 60px rgba(0, 0, 0, 0.55),
        0 0 48px rgba(var(--accent-rgb), 0.07);
}

.fund-card__glow {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.12), transparent 70%);
    pointer-events: none;
}

.fund-card--board {
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)),
        linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(8, 10, 16, 0.92));
}

.fund-card__mock {
    position: relative;
    z-index: 1;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 22px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.fund-mock__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.fund-mock__pill {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    background: rgba(var(--accent-rgb), 0.08);
    color: var(--accent-light);
}

.fund-mock__balance {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 14px;
}

.fund-mock__balance.is-up {
    color: var(--profit);
}

.fund-mock__chart {
    height: 72px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.14), rgba(var(--accent-rgb), 0.02));
    position: relative;
    overflow: hidden;
}

.fund-mock__chart::after {
    content: "";
    position: absolute;
    inset: 16px 10px 10px;
    border-bottom: 2px solid rgba(var(--accent-rgb), 0.45);
    background: rgba(var(--accent-rgb), 0.08);
    clip-path: polygon(0 75%, 15% 58%, 32% 64%, 50% 38%, 68% 48%, 85% 22%, 100% 35%, 100% 100%, 0 100%);
}

.fund-mock__bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 72px;
}

.fund-mock__bars span {
    flex: 1;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.42), rgba(var(--accent-rgb), 0.1));
}

.fund-mock__bars span:nth-child(1) { height: 32%; }
.fund-mock__bars span:nth-child(2) { height: 52%; }
.fund-mock__bars span:nth-child(3) { height: 44%; }
.fund-mock__bars span:nth-child(4) { height: 68%; }
.fund-mock__bars span:nth-child(5) { height: 88%; }

.fund-card__body {
    position: relative;
    z-index: 1;
}

.fund-card__body h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin: 0 0 8px;
}

.fund-card__body p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-secondary);
    font-family: var(--font-sans);
}

.fund-card__link {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent-light);
    font-family: var(--font-sans);
}

.fund-pool {
    text-align: center;
}

.fund-pool__icon-btn {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    padding: 0;
    border-radius: 14px;
    font-size: 1.25rem;
}

.fund-pool__title {
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    margin: 0 0 12px;
}

.fund-pool__lead {
    max-width: 560px;
    margin: 0 auto 28px;
    color: var(--text-secondary);
    line-height: 1.65;
    font-family: var(--font-sans);
}

.fund-pool__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 760px;
    margin: 0 auto;
}

.fund-pool__prize {
    padding: 22px 14px;
}

.fund-pool__prize strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.55rem;
    margin-bottom: 4px;
}

.fund-pool__prize span {
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-family: var(--font-sans);
}

.fund-leaderboard {
    padding-top: 0;
}

.fund-leaderboard__frame {
    border-color: rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
        rgba(8, 11, 18, 0.82);
}

.fund-lb-cta {
    display: inline-flex;
    margin: 18px auto 20px;
    padding: 13px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
}

.page-home--premium .lp-leaderboard__frame {
    text-align: center;
}

.lp-title {
    font-weight: 400;
}

[data-theme="light"] .page-home--premium .metal-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.88)),
        #f8fafc;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .fund-title__accent {
    background: linear-gradient(135deg, #4a8566, var(--accent), #1e293b);
    -webkit-background-clip: text;
    background-clip: text;
}

[data-theme="light"] .fund-card__mock {
    background: rgba(15, 23, 42, 0.04);
}

/* Landing footer */
.fund-footer {
    position: relative;
    z-index: 2;
    margin-top: clamp(72px, 10vw, 132px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 10, 8, 0.72);
    font-family: var(--font-sans);
}

.fund-footer__inner {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) minmax(460px, 1.8fr);
    gap: clamp(56px, 9vw, 140px);
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: clamp(52px, 7vw, 84px) 0 48px;
}

.fund-footer__logo {
    display: inline-flex;
    align-items: center;
}

.fund-footer__logo img {
    display: block;
    width: auto;
    height: 28px;
}

.fund-footer__brand p {
    max-width: 390px;
    margin: 20px 0 24px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.fund-footer__socials {
    display: flex;
    gap: 10px;
}

.fund-footer__socials a {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.fund-footer__socials a:hover {
    color: var(--accent-light);
    border-color: rgba(158, 212, 181, 0.48);
    background: rgba(158, 212, 181, 0.08);
    transform: translateY(-2px);
}

.fund-footer__socials svg {
    width: 16px;
    height: 16px;
}

.fund-footer__nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 5vw, 72px);
}

.fund-footer__column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.fund-footer__column h2 {
    margin: 0 0 7px;
    color: var(--text-accent-muted);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.fund-footer__column a {
    color: var(--text-primary);
    font-size: 0.86rem;
    text-decoration: none;
    transition: color 160ms ease, transform 160ms ease;
}

.fund-footer__column a:hover {
    color: var(--accent-light);
    transform: translateX(2px);
}

.fund-footer__details dl {
    display: grid;
    gap: 12px;
    width: 100%;
    margin: 0;
}

.fund-footer__details dl > div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.fund-footer__details dt,
.fund-footer__details dd {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.35;
}

.fund-footer__details dt {
    color: var(--text-accent-muted);
}

.fund-footer__details dd {
    color: var(--text-primary);
    text-align: right;
}

.fund-footer__bottom {
    display: flex;
    justify-content: space-between;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 20px 0 24px;
    color: var(--text-accent-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.72rem;
}

[data-theme="light"] .fund-footer {
    border-top-color: rgba(15, 23, 42, 0.08);
    background: rgba(248, 250, 249, 0.82);
}

[data-theme="light"] .fund-footer__socials a {
    border-color: rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.55);
}

[data-theme="light"] .fund-footer__bottom {
    border-top-color: rgba(15, 23, 42, 0.07);
}

@media (max-width: 1100px) and (min-width: 901px) {
    .fund-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .fund-stats,
    .fund-cards,
    .fund-pool__grid,
    .fund-steps,
    .fund-ecosystem__grid {
        grid-template-columns: 1fr;
    }

    .lp-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .fund-ghost-btn,
    .page-home--premium .lp-btn-glow {
        width: 100%;
    }

    .fund-footer__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 640px) {
    .fund-section__title,
    .fund-pool__title {
        max-width: none;
    }

    .fund-footer__inner,
    .fund-footer__bottom {
        width: min(100% - 32px, 1180px);
    }

    .fund-footer__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 38px;
    }

    .fund-footer__details {
        grid-column: 1 / -1;
        max-width: 320px;
    }

    .fund-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }
}
